[2026-04-22 00:04:53] local.INFO: TCP Data received {"connection_id":49803,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:04:53] local.INFO: Processing buffer {"connection_id":49803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:04:53] local.INFO: IMEI packet received {"connection_id":49803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":49803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:04:58] local.INFO: TCP Data received {"connection_id":49803,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:04:58] local.INFO: Processing buffer {"connection_id":49803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:04:58] local.INFO: IMEI packet received {"connection_id":49803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":49803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:05:04] local.INFO: TCP Data received {"connection_id":49803,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db14c60d0012d77950005f2f4f0000400ab26..."} 
[2026-04-22 00:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db14c60d0012d77950005f2f4f0000400ab26..."} 
[2026-04-22 00:05:04] local.INFO: Processing buffer {"connection_id":49803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db14c60d0012d77950005f2f4f0000400ab26..."} 
[2026-04-22 00:05:04] local.INFO: Packet analysis {"connection_id":49803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:05:04] local.INFO: Extracted packet for processing {"connection_id":49803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:05:04] local.INFO: GPS Element Parsed {"raw_longitude":762811648,"raw_latitude":99808496,"longitude_deg":76.2811648,"latitude_deg":9.9808496,"altitude":4,"angle":171,"satellites":38,"speed":29,"hex_longitude":"2d779500","hex_latitude":"05f2f4f0","is_valid_coordinates":true} 
[2026-04-22 00:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859789568001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278231400228847616,"note":"Value kept but may cause issues"} 
[2026-04-22 00:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8614893531503863808,"note":"Value kept but may cause issues"} 
[2026-04-22 00:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776796066000,"timestamp_ms":1776796066000,"timestamp_seconds":1776796066,"priority":1,"record_length":96,"hex_timestamp":"0000019db14c60d0"} 
[2026-04-22 00:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 00:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:05: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-22 00:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859789568001,"66":27365,"134":206,"87":13568,"24":29,"16":278231400228847616,"45":8614893531503863808},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-04-22 00:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859789568001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:05:04] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-04-22 00:05:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-22 00:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278231400228847616,"km_value":278231400228847.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8614893531503863808,"description":"Unknown IO ID 45"} 
[2026-04-22 00:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859789568001,"power":27365,"unknown_134":206,"unknown_87":13568,"ignition":29,"odometer":null,"unknown_45":8614893531503863808}} 
[2026-04-22 00:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":49803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:05:04] local.INFO: GPS data processed {"connection_id":49803,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:05:04] local.INFO: Acknowledgment sent {"connection_id":49803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:05:07] local.INFO: TCP Data received {"connection_id":49802,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:05:07] local.INFO: Processing buffer {"connection_id":49802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:05:07] local.INFO: IMEI packet received {"connection_id":49802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":49802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:05:28] local.INFO: TCP Data received {"connection_id":50012,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:05:28] local.INFO: Processing buffer {"connection_id":50012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:05:28] local.INFO: IMEI packet received {"connection_id":50012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":50012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:05:33] local.INFO: TCP Data received {"connection_id":50012,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:05:33] local.INFO: Processing buffer {"connection_id":50012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:05:33] local.INFO: IMEI packet received {"connection_id":50012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":50012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:05:34] local.INFO: TCP Data received {"connection_id":50012,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db14c87e0012d779b0005f2d120000400a827..."} 
[2026-04-22 00:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db14c87e0012d779b0005f2d120000400a827..."} 
[2026-04-22 00:05:34] local.INFO: Processing buffer {"connection_id":50012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db14c87e0012d779b0005f2d120000400a827..."} 
[2026-04-22 00:05:34] local.INFO: Packet analysis {"connection_id":50012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:05:34] local.INFO: Extracted packet for processing {"connection_id":50012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:05:34] local.INFO: GPS Element Parsed {"raw_longitude":762813184,"raw_latitude":99799328,"longitude_deg":76.2813184,"latitude_deg":9.9799328,"altitude":4,"angle":168,"satellites":39,"speed":38,"hex_longitude":"2d779b00","hex_latitude":"05f2d120","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859792896001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278231851200413696,"note":"Value kept but may cause issues"} 
[2026-04-22 00:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8616793487594287104,"note":"Value kept but may cause issues"} 
[2026-04-22 00:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776796076000,"timestamp_ms":1776796076000,"timestamp_seconds":1776796076,"priority":1,"record_length":96,"hex_timestamp":"0000019db14c87e0"} 
[2026-04-22 00: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-22 00:05: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-22 00: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":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:05: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-22 00: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-22 00: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-22 00:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859792896001,"66":27539,"134":206,"87":13568,"24":38,"16":278231851200413696,"45":8616793487594287104},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-04-22 00:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859792896001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:05:34] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-04-22 00:05:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-22 00:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278231851200413696,"km_value":278231851200413.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8616793487594287104,"description":"Unknown IO ID 45"} 
[2026-04-22 00:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859792896001,"power":27539,"unknown_134":206,"unknown_87":13568,"ignition":38,"odometer":null,"unknown_45":8616793487594287104}} 
[2026-04-22 00:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":50012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:05:34] local.INFO: GPS data processed {"connection_id":50012,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:05:34] local.INFO: Acknowledgment sent {"connection_id":50012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:05:38] local.INFO: TCP Data received {"connection_id":50012,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db14cab08012d77a1c005f2aef8000500a927..."} 
[2026-04-22 00:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db14cab08012d77a1c005f2aef8000500a927..."} 
[2026-04-22 00:05:38] local.INFO: Processing buffer {"connection_id":50012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db14cab08012d77a1c005f2aef8000500a927..."} 
[2026-04-22 00:05:38] local.INFO: Packet analysis {"connection_id":50012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:05:38] local.INFO: Extracted packet for processing {"connection_id":50012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:05:38] local.INFO: GPS Element Parsed {"raw_longitude":762814912,"raw_latitude":99790584,"longitude_deg":76.2814912,"latitude_deg":9.9790584,"altitude":5,"angle":169,"satellites":39,"speed":31,"hex_longitude":"2d77a1c0","hex_latitude":"05f2aef8","is_valid_coordinates":true} 
[2026-04-22 00:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859795456001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278232280697143296,"note":"Value kept but may cause issues"} 
[2026-04-22 00:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8618482337452204032,"note":"Value kept but may cause issues"} 
[2026-04-22 00:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776796085000,"timestamp_ms":1776796085000,"timestamp_seconds":1776796085,"priority":1,"record_length":96,"hex_timestamp":"0000019db14cab08"} 
[2026-04-22 00:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:05: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-22 00:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-22 00:05:38] 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-22 00:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859795456001,"66":27821,"134":206,"87":13568,"24":31,"16":278232280697143296,"45":8618482337452204032},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-04-22 00:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859795456001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:05:38] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-04-22 00:05:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-22 00:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278232280697143296,"km_value":278232280697143.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8618482337452204032,"description":"Unknown IO ID 45"} 
[2026-04-22 00:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859795456001,"power":27821,"unknown_134":206,"unknown_87":13568,"ignition":31,"odometer":null,"unknown_45":8618482337452204032}} 
[2026-04-22 00:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":50012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:05:38] local.INFO: GPS data processed {"connection_id":50012,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:05:38] local.INFO: Acknowledgment sent {"connection_id":50012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:05:52] local.INFO: TCP Data received {"connection_id":50170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:05:52] local.INFO: Processing buffer {"connection_id":50170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:05:52] local.INFO: IMEI packet received {"connection_id":50170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":50170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:06:11] local.INFO: TCP Data received {"connection_id":50012,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db14cc660012d77a4c005f29af8000700ae2b..."} 
[2026-04-22 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db14cc660012d77a4c005f29af8000700ae2b..."} 
[2026-04-22 00:06:11] local.INFO: Processing buffer {"connection_id":50012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db14cc660012d77a4c005f29af8000700ae2b..."} 
[2026-04-22 00:06:11] local.INFO: Packet analysis {"connection_id":50012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:06:11] local.INFO: Extracted packet for processing {"connection_id":50012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:06:11] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99785464,"longitude_deg":76.281568,"latitude_deg":9.9785464,"altitude":7,"angle":174,"satellites":43,"speed":29,"hex_longitude":"2d77a4c0","hex_latitude":"05f29af8","is_valid_coordinates":true} 
[2026-04-22 00:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-22 00:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859797760001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278232534100213760,"note":"Value kept but may cause issues"} 
[2026-04-22 00:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620382293542762496,"note":"Value kept but may cause issues"} 
[2026-04-22 00:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776796092000,"timestamp_ms":1776796092000,"timestamp_seconds":1776796092,"priority":1,"record_length":96,"hex_timestamp":"0000019db14cc660"} 
[2026-04-22 00: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-22 00:06: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-22 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 00:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859797760001,"66":27930,"134":206,"87":13568,"24":29,"16":278232534100213760,"45":8620382293542762496},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-04-22 00:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859797760001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:06:11] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-04-22 00:06:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-22 00:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278232534100213760,"km_value":278232534100213.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620382293542762496,"description":"Unknown IO ID 45"} 
[2026-04-22 00:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859797760001,"power":27930,"unknown_134":206,"unknown_87":13568,"ignition":29,"odometer":null,"unknown_45":8620382293542762496}} 
[2026-04-22 00:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":50012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:06:11] local.INFO: GPS data processed {"connection_id":50012,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:06:11] local.INFO: Acknowledgment sent {"connection_id":50012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:06:33] local.INFO: TCP Data received {"connection_id":50014,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:06:33] local.INFO: Processing buffer {"connection_id":50014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:06:33] local.INFO: IMEI packet received {"connection_id":50014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":50014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:06:38] local.INFO: TCP Data received {"connection_id":50014,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:06:38] local.INFO: Processing buffer {"connection_id":50014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:06:38] local.INFO: IMEI packet received {"connection_id":50014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":50014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:06:39] local.INFO: TCP Data received {"connection_id":50014,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db14cc660012d77a4c005f29af8000700ae2b..."} 
[2026-04-22 00:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db14cc660012d77a4c005f29af8000700ae2b..."} 
[2026-04-22 00:06:39] local.INFO: Processing buffer {"connection_id":50014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db14cc660012d77a4c005f29af8000700ae2b..."} 
[2026-04-22 00:06:39] local.INFO: Packet analysis {"connection_id":50014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:06:39] local.INFO: Extracted packet for processing {"connection_id":50014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db14c"} 
[2026-04-22 00:06:39] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99785464,"longitude_deg":76.281568,"latitude_deg":9.9785464,"altitude":7,"angle":174,"satellites":43,"speed":29,"hex_longitude":"2d77a4c0","hex_latitude":"05f29af8","is_valid_coordinates":true} 
[2026-04-22 00:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859797760001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278232534100213760,"note":"Value kept but may cause issues"} 
[2026-04-22 00:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620382293542762496,"note":"Value kept but may cause issues"} 
[2026-04-22 00:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776796092000,"timestamp_ms":1776796092000,"timestamp_seconds":1776796092,"priority":1,"record_length":96,"hex_timestamp":"0000019db14cc660"} 
[2026-04-22 00:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:06: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-22 00:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 00:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:06: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-22 00:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859797760001,"66":27930,"134":206,"87":13568,"24":29,"16":278232534100213760,"45":8620382293542762496},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-04-22 00:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859797760001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:06:39] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-04-22 00:06:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-22 00:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278232534100213760,"km_value":278232534100213.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620382293542762496,"description":"Unknown IO ID 45"} 
[2026-04-22 00:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859797760001,"power":27930,"unknown_134":206,"unknown_87":13568,"ignition":29,"odometer":null,"unknown_45":8620382293542762496}} 
[2026-04-22 00:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":50014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:06:39] local.INFO: GPS data processed {"connection_id":50014,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:06:39] local.INFO: Acknowledgment sent {"connection_id":50014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:07:11] local.INFO: TCP Data received {"connection_id":50014,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15453f8012d77a94005f278c0000e00b228..."} 
[2026-04-22 00:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15453f8012d77a94005f278c0000e00b228..."} 
[2026-04-22 00:07:11] local.INFO: Processing buffer {"connection_id":50014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15453f8012d77a94005f278c0000e00b228..."} 
[2026-04-22 00:07:11] local.INFO: Packet analysis {"connection_id":50014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db154"} 
[2026-04-22 00:07:11] local.INFO: Extracted packet for processing {"connection_id":50014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db154"} 
[2026-04-22 00:07:11] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99776704,"longitude_deg":76.2816832,"latitude_deg":9.9776704,"altitude":14,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f278c0","is_valid_coordinates":true} 
[2026-04-22 00:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-22 00:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859799552001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278232534100213760,"note":"Value kept but may cause issues"} 
[2026-04-22 00:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718471583744,"note":"Value kept but may cause issues"} 
[2026-04-22 00:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776796587000,"timestamp_ms":1776796587000,"timestamp_seconds":1776796587,"priority":1,"record_length":96,"hex_timestamp":"0000019db15453f8"} 
[2026-04-22 00:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:07: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-22 00:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 00:07:11] 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-22 00:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859799552001,"66":25756,"2":206,"9":24832,"24":0,"16":278232534100213760,"45":8621226718471583744},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859799552001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:07:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278232534100213760,"km_value":278232534100213.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718471583744,"description":"Unknown IO ID 45"} 
[2026-04-22 00:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859799552001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718471583744}} 
[2026-04-22 00:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":50014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:07:11] local.INFO: GPS data processed {"connection_id":50014,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:07:11] local.INFO: Acknowledgment sent {"connection_id":50014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:07:28] local.INFO: TCP Data received {"connection_id":50172,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:07:28] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:07:28] local.INFO: IMEI packet received {"connection_id":50172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":50172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:07:30] local.INFO: TCP Data received {"connection_id":50172,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:07:30] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:07:30] local.INFO: IMEI packet received {"connection_id":50172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":50172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:07:33] local.INFO: TCP Data received {"connection_id":50172,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:07:33] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:07:33] local.INFO: IMEI packet received {"connection_id":50172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":50172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:07:34] local.INFO: TCP Data received {"connection_id":50172,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1546398012d77aa4005f271f0000e008b27..."} 
[2026-04-22 00:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1546398012d77aa4005f271f0000e008b27..."} 
[2026-04-22 00:07:34] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1546398012d77aa4005f271f0000e008b27..."} 
[2026-04-22 00:07:34] local.INFO: Packet analysis {"connection_id":50172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db154"} 
[2026-04-22 00:07:34] local.INFO: Extracted packet for processing {"connection_id":50172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db154"} 
[2026-04-22 00:07:34] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99774960,"longitude_deg":76.2817088,"latitude_deg":9.977496,"altitude":14,"angle":139,"satellites":39,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f271f0","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859926272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278232534100213760,"note":"Value kept but may cause issues"} 
[2026-04-22 00:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864539136,"note":"Value kept but may cause issues"} 
[2026-04-22 00:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776796591000,"timestamp_ms":1776796591000,"timestamp_seconds":1776796591,"priority":1,"record_length":96,"hex_timestamp":"0000019db1546398"} 
[2026-04-22 00: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-22 00:07: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-22 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-22 00:07: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-22 00: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-22 00: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-22 00:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859926272001,"66":25756,"2":206,"9":24832,"24":0,"16":278232534100213760,"45":8622493355864539136},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859926272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:07:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278232534100213760,"km_value":278232534100213.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864539136,"description":"Unknown IO ID 45"} 
[2026-04-22 00:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859926272001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864539136}} 
[2026-04-22 00:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":50172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:07:34] local.INFO: GPS data processed {"connection_id":50172,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:07:34] local.INFO: Acknowledgment sent {"connection_id":50172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:08:06] local.INFO: TCP Data received {"connection_id":50172,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db154b5a0012d77aa4005f271f0000e008b26..."} 
[2026-04-22 00:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db154b5a0012d77aa4005f271f0000e008b26..."} 
[2026-04-22 00:08:06] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db154b5a0012d77aa4005f271f0000e008b26..."} 
[2026-04-22 00:08:06] local.INFO: Packet analysis {"connection_id":50172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db154"} 
[2026-04-22 00:08:06] local.INFO: Extracted packet for processing {"connection_id":50172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db154"} 
[2026-04-22 00:08:06] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99774960,"longitude_deg":76.2817088,"latitude_deg":9.977496,"altitude":14,"angle":139,"satellites":38,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f271f0","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859927296001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278232534100213760,"note":"Value kept but may cause issues"} 
[2026-04-22 00:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830840803328,"note":"Value kept but may cause issues"} 
[2026-04-22 00:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776796612000,"timestamp_ms":1776796612000,"timestamp_seconds":1776796612,"priority":1,"record_length":96,"hex_timestamp":"0000019db154b5a0"} 
[2026-04-22 00: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-22 00:08: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-22 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-22 00:08:06] 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-22 00: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-22 00: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-22 00:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859927296001,"66":27234,"2":206,"9":24832,"24":0,"16":278232534100213760,"45":8622774830840803328},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859927296001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:08:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278232534100213760,"km_value":278232534100213.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830840803328,"description":"Unknown IO ID 45"} 
[2026-04-22 00:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859927296001,"power":27234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622774830840803328}} 
[2026-04-22 00:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":50172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:08:06] local.INFO: GPS data processed {"connection_id":50172,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:08:06] local.INFO: Acknowledgment sent {"connection_id":50172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:08:28] local.INFO: TCP Data received {"connection_id":49804,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:08:28] local.INFO: Processing buffer {"connection_id":49804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:08:28] local.INFO: IMEI packet received {"connection_id":49804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":49804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:08:29] local.INFO: TCP Data received {"connection_id":49804,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:08:29] local.INFO: Processing buffer {"connection_id":49804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:08:29] local.INFO: IMEI packet received {"connection_id":49804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":49804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:08:33] local.INFO: TCP Data received {"connection_id":49804,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:08:33] local.INFO: Processing buffer {"connection_id":49804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:08:33] local.INFO: IMEI packet received {"connection_id":49804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":49804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:08:34] local.INFO: TCP Data received {"connection_id":49804,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15507a8012d77aa4005f271f0000e008b24..."} 
[2026-04-22 00:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15507a8012d77aa4005f271f0000e008b24..."} 
[2026-04-22 00:08:34] local.INFO: Processing buffer {"connection_id":49804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15507a8012d77aa4005f271f0000e008b24..."} 
[2026-04-22 00:08:34] local.INFO: Packet analysis {"connection_id":49804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db155"} 
[2026-04-22 00:08:34] local.INFO: Extracted packet for processing {"connection_id":49804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db155"} 
[2026-04-22 00:08:34] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99774960,"longitude_deg":76.2817088,"latitude_deg":9.977496,"altitude":14,"angle":139,"satellites":36,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f271f0","is_valid_coordinates":true} 
[2026-04-22 00:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859932672001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278232534100213760,"note":"Value kept but may cause issues"} 
[2026-04-22 00:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830840803328,"note":"Value kept but may cause issues"} 
[2026-04-22 00:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776796633000,"timestamp_ms":1776796633000,"timestamp_seconds":1776796633,"priority":1,"record_length":96,"hex_timestamp":"0000019db15507a8"} 
[2026-04-22 00:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:08: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-22 00:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 00:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859932672001,"66":27213,"2":206,"9":24832,"24":0,"16":278232534100213760,"45":8622774830840803328},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859932672001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:08:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278232534100213760,"km_value":278232534100213.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830840803328,"description":"Unknown IO ID 45"} 
[2026-04-22 00:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859932672001,"power":27213,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622774830840803328}} 
[2026-04-22 00:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":49804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:08:34] local.INFO: GPS data processed {"connection_id":49804,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:08:34] local.INFO: Acknowledgment sent {"connection_id":49804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:09:06] local.INFO: TCP Data received {"connection_id":49804,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1551f18012d77a98005f270880012009b29..."} 
[2026-04-22 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1551f18012d77a98005f270880012009b29..."} 
[2026-04-22 00:09:06] local.INFO: Processing buffer {"connection_id":49804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1551f18012d77a98005f270880012009b29..."} 
[2026-04-22 00:09:06] local.INFO: Packet analysis {"connection_id":49804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db155"} 
[2026-04-22 00:09:06] local.INFO: Extracted packet for processing {"connection_id":49804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db155"} 
[2026-04-22 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99774600,"longitude_deg":76.2816896,"latitude_deg":9.97746,"altitude":18,"angle":155,"satellites":41,"speed":8,"hex_longitude":"2d77a980","hex_latitude":"05f27088","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859938048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278232551280082944,"note":"Value kept but may cause issues"} 
[2026-04-22 00:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830840803328,"note":"Value kept but may cause issues"} 
[2026-04-22 00:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776796639000,"timestamp_ms":1776796639000,"timestamp_seconds":1776796639,"priority":1,"record_length":96,"hex_timestamp":"0000019db1551f18"} 
[2026-04-22 00: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-22 00: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-22 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 00:09: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-22 00: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-22 00: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-22 00:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":49804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":49804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":49804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859938048001,"66":27343,"2":206,"9":24832,"24":8,"16":278232551280082944,"45":8622774830840803328},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859938048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:09:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278232551280082944,"km_value":278232551280082.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830840803328,"description":"Unknown IO ID 45"} 
[2026-04-22 00:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859938048001,"power":27343,"power_alt":206,"unknown_9":24832,"ignition":8,"odometer":null,"unknown_45":8622774830840803328}} 
[2026-04-22 00:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":49804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:09:06] local.INFO: GPS data processed {"connection_id":49804,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:09:06] local.INFO: Acknowledgment sent {"connection_id":49804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:09:33] local.INFO: TCP Data received {"connection_id":50017,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:09:33] local.INFO: Processing buffer {"connection_id":50017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:09:33] local.INFO: IMEI packet received {"connection_id":50017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":50017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:09:38] local.INFO: TCP Data received {"connection_id":50017,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:09:38] local.INFO: Processing buffer {"connection_id":50017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:09:38] local.INFO: IMEI packet received {"connection_id":50017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":50017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:09:39] local.INFO: TCP Data received {"connection_id":50017,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1564028012d77ad4005f24f98000900502d..."} 
[2026-04-22 00:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1564028012d77ad4005f24f98000900502d..."} 
[2026-04-22 00:09:39] local.INFO: Processing buffer {"connection_id":50017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1564028012d77ad4005f24f98000900502d..."} 
[2026-04-22 00:09:39] local.INFO: Packet analysis {"connection_id":50017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:09:39] local.INFO: Extracted packet for processing {"connection_id":50017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:09:39] local.INFO: GPS Element Parsed {"raw_longitude":762817856,"raw_latitude":99766168,"longitude_deg":76.2817856,"latitude_deg":9.9766168,"altitude":9,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2d77ad40","hex_latitude":"05f24f98","is_valid_coordinates":true} 
[2026-04-22 00:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859953152001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233113920798720,"note":"Value kept but may cause issues"} 
[2026-04-22 00:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8624182205722081280,"note":"Value kept but may cause issues"} 
[2026-04-22 00:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776796713000,"timestamp_ms":1776796713000,"timestamp_seconds":1776796713,"priority":1,"record_length":96,"hex_timestamp":"0000019db1564028"} 
[2026-04-22 00:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 00:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 00:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859953152001,"66":27180,"2":206,"9":24832,"24":0,"16":278233113920798720,"45":8624182205722081280},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859953152001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:09:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233113920798720,"km_value":278233113920798.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8624182205722081280,"description":"Unknown IO ID 45"} 
[2026-04-22 00:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859953152001,"power":27180,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8624182205722081280}} 
[2026-04-22 00:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":50017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:09:39] local.INFO: GPS data processed {"connection_id":50017,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:09:39] local.INFO: Acknowledgment sent {"connection_id":50017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:09:43] local.INFO: TCP Data received {"connection_id":50017,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1564410012d77ad4005f25018000900092b..."} 
[2026-04-22 00:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1564410012d77ad4005f25018000900092b..."} 
[2026-04-22 00:09:43] local.INFO: Processing buffer {"connection_id":50017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1564410012d77ad4005f25018000900092b..."} 
[2026-04-22 00:09:43] local.INFO: Packet analysis {"connection_id":50017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:09:43] local.INFO: Extracted packet for processing {"connection_id":50017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:09:43] local.INFO: GPS Element Parsed {"raw_longitude":762817856,"raw_latitude":99766296,"longitude_deg":76.2817856,"latitude_deg":9.9766296,"altitude":9,"angle":9,"satellites":43,"speed":6,"hex_longitude":"2d77ad40","hex_latitude":"05f25018","is_valid_coordinates":true} 
[2026-04-22 00:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859958528001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233118215766016,"note":"Value kept but may cause issues"} 
[2026-04-22 00:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623619255768684544,"note":"Value kept but may cause issues"} 
[2026-04-22 00:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776796714000,"timestamp_ms":1776796714000,"timestamp_seconds":1776796714,"priority":1,"record_length":96,"hex_timestamp":"0000019db1564410"} 
[2026-04-22 00:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 00:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-22 00:09:43] 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-22 00:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859958528001,"66":27180,"2":206,"9":24832,"24":6,"16":278233118215766016,"45":8623619255768684544},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859958528001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:09:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233118215766016,"km_value":278233118215766.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623619255768684544,"description":"Unknown IO ID 45"} 
[2026-04-22 00:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859958528001,"power":27180,"power_alt":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8623619255768684544}} 
[2026-04-22 00:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":50017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:09:43] local.INFO: GPS data processed {"connection_id":50017,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:09:43] local.INFO: Acknowledgment sent {"connection_id":50017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:10:27] local.INFO: TCP Data received {"connection_id":50018,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:10:27] local.INFO: Processing buffer {"connection_id":50018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:10:27] local.INFO: IMEI packet received {"connection_id":50018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:10:33] local.INFO: TCP Data received {"connection_id":50018,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:10:33] local.INFO: Processing buffer {"connection_id":50018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:10:33] local.INFO: IMEI packet received {"connection_id":50018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":50018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:10:34] local.INFO: TCP Data received {"connection_id":50018,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15647f8012d77ad4005f250c0000a01592b..."} 
[2026-04-22 00:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15647f8012d77ad4005f250c0000a01592b..."} 
[2026-04-22 00:10:34] local.INFO: Processing buffer {"connection_id":50018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15647f8012d77ad4005f250c0000a01592b..."} 
[2026-04-22 00:10:34] local.INFO: Packet analysis {"connection_id":50018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:10:34] local.INFO: Extracted packet for processing {"connection_id":50018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:10:34] local.INFO: GPS Element Parsed {"raw_longitude":762817856,"raw_latitude":99766464,"longitude_deg":76.2817856,"latitude_deg":9.9766464,"altitude":10,"angle":345,"satellites":43,"speed":6,"hex_longitude":"2d77ad40","hex_latitude":"05f250c0","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859958784001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233126805700608,"note":"Value kept but may cause issues"} 
[2026-04-22 00:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623619255768717312,"note":"Value kept but may cause issues"} 
[2026-04-22 00:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776796715000,"timestamp_ms":1776796715000,"timestamp_seconds":1776796715,"priority":1,"record_length":96,"hex_timestamp":"0000019db15647f8"} 
[2026-04-22 00: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-22 00: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-22 00: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":44,"data_length":795,"current_offset":136} 
[2026-04-22 00:10:34] 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-22 00: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-22 00: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-22 00:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859958784001,"66":27332,"2":206,"9":24832,"24":6,"16":278233126805700608,"45":8623619255768717312},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859958784001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:10:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233126805700608,"km_value":278233126805700.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623619255768717312,"description":"Unknown IO ID 45"} 
[2026-04-22 00:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859958784001,"power":27332,"power_alt":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8623619255768717312}} 
[2026-04-22 00:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":50018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:10:34] local.INFO: GPS data processed {"connection_id":50018,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:10:34] local.INFO: Acknowledgment sent {"connection_id":50018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:11:05] local.INFO: TCP Data received {"connection_id":50018,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1564be0012d77ad4005f25160000901432c..."} 
[2026-04-22 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1564be0012d77ad4005f25160000901432c..."} 
[2026-04-22 00:11:05] local.INFO: Processing buffer {"connection_id":50018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1564be0012d77ad4005f25160000901432c..."} 
[2026-04-22 00:11:05] local.INFO: Packet analysis {"connection_id":50018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:11:05] local.INFO: Extracted packet for processing {"connection_id":50018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:11:05] local.INFO: GPS Element Parsed {"raw_longitude":762817856,"raw_latitude":99766624,"longitude_deg":76.2817856,"latitude_deg":9.9766624,"altitude":9,"angle":323,"satellites":44,"speed":6,"hex_longitude":"2d77ad40","hex_latitude":"05f25160","is_valid_coordinates":true} 
[2026-04-22 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-22 00:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859959040001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233135395635200,"note":"Value kept but may cause issues"} 
[2026-04-22 00:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623619255768760320,"note":"Value kept but may cause issues"} 
[2026-04-22 00:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776796716000,"timestamp_ms":1776796716000,"timestamp_seconds":1776796716,"priority":1,"record_length":96,"hex_timestamp":"0000019db1564be0"} 
[2026-04-22 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-22 00:11: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-22 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 00:11: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-22 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-22 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-22 00:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859959040001,"66":27332,"2":206,"9":24832,"24":6,"16":278233135395635200,"45":8623619255768760320},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859959040001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:11:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233135395635200,"km_value":278233135395635.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623619255768760320,"description":"Unknown IO ID 45"} 
[2026-04-22 00:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859959040001,"power":27332,"power_alt":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8623619255768760320}} 
[2026-04-22 00:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":50018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:11:05] local.INFO: GPS data processed {"connection_id":50018,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:11:05] local.INFO: Acknowledgment sent {"connection_id":50018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:11:17] local.INFO: TCP Data received {"connection_id":49805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:11:18] local.INFO: Processing buffer {"connection_id":49805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:11:18] local.INFO: IMEI packet received {"connection_id":49805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":49805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:11:28] local.INFO: TCP Data received {"connection_id":50019,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:11:28] local.INFO: Processing buffer {"connection_id":50019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:11:28] local.INFO: IMEI packet received {"connection_id":50019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":50019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:11:33] local.INFO: TCP Data received {"connection_id":50019,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:11:33] local.INFO: Processing buffer {"connection_id":50019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:11:33] local.INFO: IMEI packet received {"connection_id":50019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":50019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:11:34] local.INFO: TCP Data received {"connection_id":50019,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1566350012d77abc005f254100008014f2d..."} 
[2026-04-22 00:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1566350012d77abc005f254100008014f2d..."} 
[2026-04-22 00:11:34] local.INFO: Processing buffer {"connection_id":50019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1566350012d77abc005f254100008014f2d..."} 
[2026-04-22 00:11:34] local.INFO: Packet analysis {"connection_id":50019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:11:34] local.INFO: Extracted packet for processing {"connection_id":50019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:11:34] local.INFO: GPS Element Parsed {"raw_longitude":762817472,"raw_latitude":99767312,"longitude_deg":76.2817472,"latitude_deg":9.9767312,"altitude":8,"angle":335,"satellites":45,"speed":5,"hex_longitude":"2d77abc0","hex_latitude":"05f25410","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859959296001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233174050340864,"note":"Value kept but may cause issues"} 
[2026-04-22 00:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623619255768801280,"note":"Value kept but may cause issues"} 
[2026-04-22 00:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776796722000,"timestamp_ms":1776796722000,"timestamp_seconds":1776796722,"priority":1,"record_length":96,"hex_timestamp":"0000019db1566350"} 
[2026-04-22 00: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-22 00:11: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-22 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 00:11: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-22 00: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-22 00: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-22 00:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859959296001,"66":27365,"2":206,"9":24832,"24":5,"16":278233174050340864,"45":8623619255768801280},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859959296001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:11:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233174050340864,"km_value":278233174050340.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623619255768801280,"description":"Unknown IO ID 45"} 
[2026-04-22 00:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859959296001,"power":27365,"power_alt":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8623619255768801280}} 
[2026-04-22 00:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":50019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:11:34] local.INFO: GPS data processed {"connection_id":50019,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:11:34] local.INFO: Acknowledgment sent {"connection_id":50019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:11:52] local.INFO: TCP Data received {"connection_id":49806,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:11:52] local.INFO: Processing buffer {"connection_id":49806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:11:52] local.INFO: IMEI packet received {"connection_id":49806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":49806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:12:05] local.INFO: TCP Data received {"connection_id":50019,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1566b20012d77ab8005f255c0000701622c..."} 
[2026-04-22 00:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1566b20012d77ab8005f255c0000701622c..."} 
[2026-04-22 00:12:05] local.INFO: Processing buffer {"connection_id":50019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1566b20012d77ab8005f255c0000701622c..."} 
[2026-04-22 00:12:05] local.INFO: Packet analysis {"connection_id":50019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:12:05] local.INFO: Extracted packet for processing {"connection_id":50019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:12:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99767744,"longitude_deg":76.2817408,"latitude_deg":9.9767744,"altitude":7,"angle":354,"satellites":44,"speed":11,"hex_longitude":"2d77ab80","hex_latitude":"05f255c0","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859960832001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233195525177344,"note":"Value kept but may cause issues"} 
[2026-04-22 00:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623197043303911424,"note":"Value kept but may cause issues"} 
[2026-04-22 00:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776796724000,"timestamp_ms":1776796724000,"timestamp_seconds":1776796724,"priority":1,"record_length":96,"hex_timestamp":"0000019db1566b20"} 
[2026-04-22 00: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-22 00: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-22 00: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":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:12: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-22 00: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-22 00: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-22 00:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859960832001,"66":27310,"2":206,"9":24832,"24":11,"16":278233195525177344,"45":8623197043303911424},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859960832001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:12:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233195525177344,"km_value":278233195525177.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623197043303911424,"description":"Unknown IO ID 45"} 
[2026-04-22 00:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859960832001,"power":27310,"power_alt":206,"unknown_9":24832,"ignition":11,"odometer":null,"unknown_45":8623197043303911424}} 
[2026-04-22 00:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":50019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:12:05] local.INFO: GPS data processed {"connection_id":50019,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:12:05] local.INFO: Acknowledgment sent {"connection_id":50019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:12:28] local.INFO: TCP Data received {"connection_id":49807,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:12:28] local.INFO: Processing buffer {"connection_id":49807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:12:28] local.INFO: IMEI packet received {"connection_id":49807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":49807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:12:32] local.INFO: TCP Data received {"connection_id":49807,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:12:32] local.INFO: Processing buffer {"connection_id":49807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:12:32] local.INFO: IMEI packet received {"connection_id":49807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":49807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:12:33] local.INFO: TCP Data received {"connection_id":49807,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:12:33] local.INFO: Processing buffer {"connection_id":49807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:12:33] local.INFO: Packet analysis {"connection_id":49807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:12:33] local.INFO: Extracted packet for processing {"connection_id":49807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:12:33] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99769112,"longitude_deg":76.2817216,"latitude_deg":9.9769112,"altitude":5,"angle":0,"satellites":43,"speed":14,"hex_longitude":"2d77aac0","hex_latitude":"05f25b18","is_valid_coordinates":true} 
[2026-04-22 00:12: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-22 00:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859961344001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674559844352,"note":"Value kept but may cause issues"} 
[2026-04-22 00:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776796728000,"timestamp_ms":1776796728000,"timestamp_seconds":1776796728,"priority":1,"record_length":96,"hex_timestamp":"0000019db1567ac0"} 
[2026-04-22 00: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-22 00: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-22 00: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":174,"data_length":795,"current_offset":136} 
[2026-04-22 00:12: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-22 00: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-22 00: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-22 00:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859961344001,"66":27365,"2":206,"9":24832,"24":14,"16":278233264244654080,"45":8623126674559844352},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859961344001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:12:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674559844352,"description":"Unknown IO ID 45"} 
[2026-04-22 00:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859961344001,"power":27365,"power_alt":206,"unknown_9":24832,"ignition":14,"odometer":null,"unknown_45":8623126674559844352}} 
[2026-04-22 00:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":49807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:12:33] local.INFO: GPS data processed {"connection_id":49807,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:12:33] local.INFO: Acknowledgment sent {"connection_id":49807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:13:05] local.INFO: TCP Data received {"connection_id":49807,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:13:05] local.INFO: Processing buffer {"connection_id":49807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:13:05] local.INFO: Packet analysis {"connection_id":49807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:13:05] local.INFO: Extracted packet for processing {"connection_id":49807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:13:05] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99769112,"longitude_deg":76.2817216,"latitude_deg":9.9769112,"altitude":5,"angle":0,"satellites":43,"speed":14,"hex_longitude":"2d77aac0","hex_latitude":"05f25b18","is_valid_coordinates":true} 
[2026-04-22 00:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859961344001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674559844352,"note":"Value kept but may cause issues"} 
[2026-04-22 00:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776796728000,"timestamp_ms":1776796728000,"timestamp_seconds":1776796728,"priority":1,"record_length":96,"hex_timestamp":"0000019db1567ac0"} 
[2026-04-22 00: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-22 00:13: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-22 00: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":174,"data_length":795,"current_offset":136} 
[2026-04-22 00:13: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-22 00: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-22 00: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-22 00:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859961344001,"66":27365,"2":206,"9":24832,"24":14,"16":278233264244654080,"45":8623126674559844352},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859961344001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:13:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674559844352,"description":"Unknown IO ID 45"} 
[2026-04-22 00:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859961344001,"power":27365,"power_alt":206,"unknown_9":24832,"ignition":14,"odometer":null,"unknown_45":8623126674559844352}} 
[2026-04-22 00:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":49807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:13:05] local.INFO: GPS data processed {"connection_id":49807,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:13:05] local.INFO: Acknowledgment sent {"connection_id":49807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:13:27] local.INFO: TCP Data received {"connection_id":50175,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:13:27] local.INFO: Processing buffer {"connection_id":50175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:13:27] local.INFO: IMEI packet received {"connection_id":50175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:13:33] local.INFO: TCP Data received {"connection_id":50175,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:13:33] local.INFO: Processing buffer {"connection_id":50175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:13:33] local.INFO: IMEI packet received {"connection_id":50175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":50175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:13:34] local.INFO: TCP Data received {"connection_id":50175,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:13:34] local.INFO: Processing buffer {"connection_id":50175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:13:34] local.INFO: Packet analysis {"connection_id":50175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:13:34] local.INFO: Extracted packet for processing {"connection_id":50175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:13:34] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99769112,"longitude_deg":76.2817216,"latitude_deg":9.9769112,"altitude":5,"angle":0,"satellites":43,"speed":14,"hex_longitude":"2d77aac0","hex_latitude":"05f25b18","is_valid_coordinates":true} 
[2026-04-22 00:13: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-22 00:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859961344001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674559844352,"note":"Value kept but may cause issues"} 
[2026-04-22 00:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776796728000,"timestamp_ms":1776796728000,"timestamp_seconds":1776796728,"priority":1,"record_length":96,"hex_timestamp":"0000019db1567ac0"} 
[2026-04-22 00:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:13: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-22 00:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-22 00:13: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-22 00:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859961344001,"66":27365,"2":206,"9":24832,"24":14,"16":278233264244654080,"45":8623126674559844352},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859961344001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:13:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674559844352,"description":"Unknown IO ID 45"} 
[2026-04-22 00:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859961344001,"power":27365,"power_alt":206,"unknown_9":24832,"ignition":14,"odometer":null,"unknown_45":8623126674559844352}} 
[2026-04-22 00:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":50175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:13:34] local.INFO: GPS data processed {"connection_id":50175,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:13:34] local.INFO: Acknowledgment sent {"connection_id":50175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:14:05] local.INFO: TCP Data received {"connection_id":50175,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:14:05] local.INFO: Processing buffer {"connection_id":50175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1567ac0012d77aac005f25b18000500002b..."} 
[2026-04-22 00:14:05] local.INFO: Packet analysis {"connection_id":50175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:14:05] local.INFO: Extracted packet for processing {"connection_id":50175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db156"} 
[2026-04-22 00:14:05] local.INFO: GPS Element Parsed {"raw_longitude":762817216,"raw_latitude":99769112,"longitude_deg":76.2817216,"latitude_deg":9.9769112,"altitude":5,"angle":0,"satellites":43,"speed":14,"hex_longitude":"2d77aac0","hex_latitude":"05f25b18","is_valid_coordinates":true} 
[2026-04-22 00:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859961344001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674559844352,"note":"Value kept but may cause issues"} 
[2026-04-22 00:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776796728000,"timestamp_ms":1776796728000,"timestamp_seconds":1776796728,"priority":1,"record_length":96,"hex_timestamp":"0000019db1567ac0"} 
[2026-04-22 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-22 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-22 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":174,"data_length":795,"current_offset":136} 
[2026-04-22 00:14: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-22 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-22 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-22 00:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859961344001,"66":27365,"2":206,"9":24832,"24":14,"16":278233264244654080,"45":8623126674559844352},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859961344001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:14:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674559844352,"description":"Unknown IO ID 45"} 
[2026-04-22 00:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859961344001,"power":27365,"power_alt":206,"unknown_9":24832,"ignition":14,"odometer":null,"unknown_45":8623126674559844352}} 
[2026-04-22 00:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":50175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:14:05] local.INFO: GPS data processed {"connection_id":50175,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:14:05] local.INFO: Acknowledgment sent {"connection_id":50175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:14:28] local.INFO: TCP Data received {"connection_id":50021,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:14:28] local.INFO: Processing buffer {"connection_id":50021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:14:28] local.INFO: IMEI packet received {"connection_id":50021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":50021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:14:29] local.INFO: TCP Data received {"connection_id":50021,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:14:29] local.INFO: Processing buffer {"connection_id":50021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:14:29] local.INFO: IMEI packet received {"connection_id":50021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":50021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:14:33] local.INFO: TCP Data received {"connection_id":50021,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:14:33] local.INFO: Processing buffer {"connection_id":50021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:14:33] local.INFO: IMEI packet received {"connection_id":50021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":50021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:14:37] local.INFO: TCP Data received {"connection_id":50021,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:14:37] local.INFO: Processing buffer {"connection_id":50021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:14:37] local.INFO: Packet analysis {"connection_id":50021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:14:37] local.INFO: Extracted packet for processing {"connection_id":50021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:14:37] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859962368001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327661568,"note":"Value kept but may cause issues"} 
[2026-04-22 00:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776797031000,"timestamp_ms":1776797031000,"timestamp_seconds":1776797031,"priority":1,"record_length":96,"hex_timestamp":"0000019db15b1a58"} 
[2026-04-22 00:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:14: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-22 00:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:14: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-22 00:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859962368001,"66":25495,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622915568327661568},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859962368001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:14:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327661568,"description":"Unknown IO ID 45"} 
[2026-04-22 00:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859962368001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568327661568}} 
[2026-04-22 00:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":50021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:14:37] local.INFO: GPS data processed {"connection_id":50021,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:14:37] local.INFO: Acknowledgment sent {"connection_id":50021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:15:28] local.INFO: TCP Data received {"connection_id":50695,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:15:28] local.INFO: Processing buffer {"connection_id":50695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:15:28] local.INFO: IMEI packet received {"connection_id":50695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":50695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:15:33] local.INFO: TCP Data received {"connection_id":50695,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:15:33] local.INFO: Processing buffer {"connection_id":50695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:15:33] local.INFO: IMEI packet received {"connection_id":50695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":50695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:15:34] local.INFO: TCP Data received {"connection_id":50695,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:15:34] local.INFO: Processing buffer {"connection_id":50695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:15:34] local.INFO: Packet analysis {"connection_id":50695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:15:34] local.INFO: Extracted packet for processing {"connection_id":50695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859962368001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327661568,"note":"Value kept but may cause issues"} 
[2026-04-22 00:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797031000,"timestamp_ms":1776797031000,"timestamp_seconds":1776797031,"priority":1,"record_length":96,"hex_timestamp":"0000019db15b1a58"} 
[2026-04-22 00:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:15: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-22 00:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859962368001,"66":25495,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622915568327661568},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859962368001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:15:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327661568,"description":"Unknown IO ID 45"} 
[2026-04-22 00:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859962368001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568327661568}} 
[2026-04-22 00:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":50695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:15:34] local.INFO: GPS data processed {"connection_id":50695,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:15:34] local.INFO: Acknowledgment sent {"connection_id":50695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:16:06] local.INFO: TCP Data received {"connection_id":50695,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:16:06] local.INFO: Processing buffer {"connection_id":50695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:16:06] local.INFO: Packet analysis {"connection_id":50695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:16:06] local.INFO: Extracted packet for processing {"connection_id":50695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859962368001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327661568,"note":"Value kept but may cause issues"} 
[2026-04-22 00:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776797031000,"timestamp_ms":1776797031000,"timestamp_seconds":1776797031,"priority":1,"record_length":96,"hex_timestamp":"0000019db15b1a58"} 
[2026-04-22 00:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:16: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-22 00:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:16: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-22 00:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859962368001,"66":25495,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622915568327661568},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859962368001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:16:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327661568,"description":"Unknown IO ID 45"} 
[2026-04-22 00:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859962368001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568327661568}} 
[2026-04-22 00:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":50695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:16:06] local.INFO: GPS data processed {"connection_id":50695,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:16:06] local.INFO: Acknowledgment sent {"connection_id":50695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:16:27] local.INFO: TCP Data received {"connection_id":50022,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:16:27] local.INFO: Processing buffer {"connection_id":50022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:16:27] local.INFO: IMEI packet received {"connection_id":50022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:16:33] local.INFO: TCP Data received {"connection_id":50022,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:16:33] local.INFO: Processing buffer {"connection_id":50022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:16:33] local.INFO: IMEI packet received {"connection_id":50022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":50022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:16:34] local.INFO: TCP Data received {"connection_id":50022,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:16:34] local.INFO: Processing buffer {"connection_id":50022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:16:34] local.INFO: Packet analysis {"connection_id":50022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:16:34] local.INFO: Extracted packet for processing {"connection_id":50022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859962368001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327661568,"note":"Value kept but may cause issues"} 
[2026-04-22 00:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797031000,"timestamp_ms":1776797031000,"timestamp_seconds":1776797031,"priority":1,"record_length":96,"hex_timestamp":"0000019db15b1a58"} 
[2026-04-22 00: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-22 00:16: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-22 00: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":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:16: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-22 00: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-22 00: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-22 00:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859962368001,"66":25495,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622915568327661568},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859962368001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:16:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327661568,"description":"Unknown IO ID 45"} 
[2026-04-22 00:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859962368001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568327661568}} 
[2026-04-22 00:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":50022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:16:34] local.INFO: GPS data processed {"connection_id":50022,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:16:34] local.INFO: Acknowledgment sent {"connection_id":50022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:17:05] local.INFO: TCP Data received {"connection_id":50022,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:17:05] local.INFO: Processing buffer {"connection_id":50022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:17:05] local.INFO: Packet analysis {"connection_id":50022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:17:05] local.INFO: Extracted packet for processing {"connection_id":50022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:17:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859962368001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327661568,"note":"Value kept but may cause issues"} 
[2026-04-22 00:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776797031000,"timestamp_ms":1776797031000,"timestamp_seconds":1776797031,"priority":1,"record_length":96,"hex_timestamp":"0000019db15b1a58"} 
[2026-04-22 00: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-22 00:17: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-22 00:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:17: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-22 00: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-22 00: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-22 00:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859962368001,"66":25495,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622915568327661568},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859962368001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:17:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327661568,"description":"Unknown IO ID 45"} 
[2026-04-22 00:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859962368001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568327661568}} 
[2026-04-22 00:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":50022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:17:05] local.INFO: GPS data processed {"connection_id":50022,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:17:05] local.INFO: Acknowledgment sent {"connection_id":50022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:17:17] local.INFO: TCP Data received {"connection_id":50178,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:17:17] local.INFO: Processing buffer {"connection_id":50178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:17:17] local.INFO: IMEI packet received {"connection_id":50178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":50178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:17:27] local.INFO: TCP Data received {"connection_id":49808,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:17:27] local.INFO: Processing buffer {"connection_id":49808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:17:27] local.INFO: IMEI packet received {"connection_id":49808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":49808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:17:33] local.INFO: TCP Data received {"connection_id":49808,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:17:33] local.INFO: Processing buffer {"connection_id":49808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:17:33] local.INFO: IMEI packet received {"connection_id":49808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":49808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:17:34] local.INFO: TCP Data received {"connection_id":49808,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:17:34] local.INFO: Processing buffer {"connection_id":49808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:17:34] local.INFO: Packet analysis {"connection_id":49808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:17:34] local.INFO: Extracted packet for processing {"connection_id":49808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:17:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859962368001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327661568,"note":"Value kept but may cause issues"} 
[2026-04-22 00:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797031000,"timestamp_ms":1776797031000,"timestamp_seconds":1776797031,"priority":1,"record_length":96,"hex_timestamp":"0000019db15b1a58"} 
[2026-04-22 00: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-22 00:17: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-22 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:17: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-22 00: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-22 00: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-22 00:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859962368001,"66":25495,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622915568327661568},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859962368001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:17:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327661568,"description":"Unknown IO ID 45"} 
[2026-04-22 00:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859962368001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568327661568}} 
[2026-04-22 00:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":49808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:17:34] local.INFO: GPS data processed {"connection_id":49808,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:17:34] local.INFO: Acknowledgment sent {"connection_id":49808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:17:52] local.INFO: TCP Data received {"connection_id":50696,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:17:52] local.INFO: Processing buffer {"connection_id":50696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:17:52] local.INFO: IMEI packet received {"connection_id":50696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":50696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:18:06] local.INFO: TCP Data received {"connection_id":49808,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:18:06] local.INFO: Processing buffer {"connection_id":49808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:18:06] local.INFO: Packet analysis {"connection_id":49808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:18:06] local.INFO: Extracted packet for processing {"connection_id":49808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:18:06] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859962368001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327661568,"note":"Value kept but may cause issues"} 
[2026-04-22 00:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776797031000,"timestamp_ms":1776797031000,"timestamp_seconds":1776797031,"priority":1,"record_length":96,"hex_timestamp":"0000019db15b1a58"} 
[2026-04-22 00: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-22 00: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-22 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:18: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-22 00: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-22 00: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-22 00:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":49808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":49808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":49808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859962368001,"66":25495,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622915568327661568},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859962368001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:18:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327661568,"description":"Unknown IO ID 45"} 
[2026-04-22 00:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859962368001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568327661568}} 
[2026-04-22 00:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":49808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:18:06] local.INFO: GPS data processed {"connection_id":49808,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:18:06] local.INFO: Acknowledgment sent {"connection_id":49808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:18:32] local.INFO: TCP Data received {"connection_id":50697,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:18:32] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:18:32] local.INFO: IMEI packet received {"connection_id":50697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:18:38] local.INFO: TCP Data received {"connection_id":50697,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:18:38] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:18:38] local.INFO: IMEI packet received {"connection_id":50697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":50697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:18:39] local.INFO: TCP Data received {"connection_id":50697,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:18:39] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:18:39] local.INFO: Packet analysis {"connection_id":50697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:18:39] local.INFO: Extracted packet for processing {"connection_id":50697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:18:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859962368001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327661568,"note":"Value kept but may cause issues"} 
[2026-04-22 00:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776797031000,"timestamp_ms":1776797031000,"timestamp_seconds":1776797031,"priority":1,"record_length":96,"hex_timestamp":"0000019db15b1a58"} 
[2026-04-22 00:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:18: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-22 00:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 00:18: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-22 00:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859962368001,"66":25495,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622915568327661568},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859962368001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:18:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327661568,"description":"Unknown IO ID 45"} 
[2026-04-22 00:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859962368001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568327661568}} 
[2026-04-22 00:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":50697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:18:39] local.INFO: GPS data processed {"connection_id":50697,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:18:39] local.INFO: Acknowledgment sent {"connection_id":50697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:19:10] local.INFO: TCP Data received {"connection_id":50697,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:19:10] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15b1a58012d77aa0005f275f8000601662b..."} 
[2026-04-22 00:19:10] local.INFO: Packet analysis {"connection_id":50697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:19:10] local.INFO: Extracted packet for processing {"connection_id":50697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15b"} 
[2026-04-22 00:19:10] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859962368001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622915568327661568,"note":"Value kept but may cause issues"} 
[2026-04-22 00:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776797031000,"timestamp_ms":1776797031000,"timestamp_seconds":1776797031,"priority":1,"record_length":96,"hex_timestamp":"0000019db15b1a58"} 
[2026-04-22 00:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:19: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-22 00:19:10] local.INFO: IO Element 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-22 00:19: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-22 00:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859962368001,"66":25495,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622915568327661568},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859962368001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:19:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622915568327661568,"description":"Unknown IO ID 45"} 
[2026-04-22 00:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859962368001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622915568327661568}} 
[2026-04-22 00:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":50697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:19:10] local.INFO: GPS data processed {"connection_id":50697,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:19:10] local.INFO: Acknowledgment sent {"connection_id":50697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:19:28] local.INFO: TCP Data received {"connection_id":50024,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:19:28] local.INFO: Processing buffer {"connection_id":50024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:19:28] local.INFO: IMEI packet received {"connection_id":50024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":50024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:19:30] local.INFO: TCP Data received {"connection_id":50024,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:19:30] local.INFO: Processing buffer {"connection_id":50024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:19:30] local.INFO: IMEI packet received {"connection_id":50024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":50024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:19:30] local.INFO: TCP Data received {"connection_id":50024,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:19:30] local.INFO: Processing buffer {"connection_id":50024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:19:30] local.INFO: Packet analysis {"connection_id":50024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:19:30] local.INFO: Extracted packet for processing {"connection_id":50024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:19:30] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 00: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-22 00:19: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-22 00: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 00:19: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-22 00: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-22 00: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-22 00:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":50024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":50024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":50024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:19:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":50024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:19:30] local.INFO: GPS data processed {"connection_id":50024,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:19:30] local.INFO: Acknowledgment sent {"connection_id":50024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:20:02] local.INFO: TCP Data received {"connection_id":50024,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:20:02] local.INFO: Processing buffer {"connection_id":50024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:20:02] local.INFO: Packet analysis {"connection_id":50024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:20:02] local.INFO: Extracted packet for processing {"connection_id":50024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:20:02] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 00:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 00:20: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-22 00:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:20:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":50024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:20:02] local.INFO: GPS data processed {"connection_id":50024,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:20:02] local.INFO: Acknowledgment sent {"connection_id":50024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:20:27] local.INFO: TCP Data received {"connection_id":50026,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:20:27] local.INFO: Processing buffer {"connection_id":50026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:20:27] local.INFO: IMEI packet received {"connection_id":50026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":50026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:20:33] local.INFO: TCP Data received {"connection_id":50026,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:20:33] local.INFO: Processing buffer {"connection_id":50026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:20:33] local.INFO: IMEI packet received {"connection_id":50026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":50026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:20:34] local.INFO: TCP Data received {"connection_id":50026,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:20:34] local.INFO: Processing buffer {"connection_id":50026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:20:34] local.INFO: Packet analysis {"connection_id":50026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:20:34] local.INFO: Extracted packet for processing {"connection_id":50026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:20:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 00:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:20: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-22 00:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 00:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:20:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":50026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:20:34] local.INFO: GPS data processed {"connection_id":50026,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:20:34] local.INFO: Acknowledgment sent {"connection_id":50026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:21:05] local.INFO: TCP Data received {"connection_id":50026,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:21:05] local.INFO: Processing buffer {"connection_id":50026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:21:05] local.INFO: Packet analysis {"connection_id":50026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:21:05] local.INFO: Extracted packet for processing {"connection_id":50026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:21:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 00: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-22 00:21: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-22 00: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-22 00: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-22 00: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-22 00: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-22 00:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:21:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":50026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:21:05] local.INFO: GPS data processed {"connection_id":50026,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:21:05] local.INFO: Acknowledgment sent {"connection_id":50026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:21:27] local.INFO: TCP Data received {"connection_id":50028,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:21:27] local.INFO: Processing buffer {"connection_id":50028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:21:27] local.INFO: IMEI packet received {"connection_id":50028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:21:33] local.INFO: TCP Data received {"connection_id":50028,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:21:33] local.INFO: Processing buffer {"connection_id":50028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:21:33] local.INFO: IMEI packet received {"connection_id":50028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":50028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:21:34] local.INFO: TCP Data received {"connection_id":50028,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:21:34] local.INFO: Processing buffer {"connection_id":50028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:21:34] local.INFO: Packet analysis {"connection_id":50028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:21:34] local.INFO: Extracted packet for processing {"connection_id":50028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:21:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 00:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 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-22 00:21: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-22 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 00:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 00:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:21:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":50028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:21:34] local.INFO: GPS data processed {"connection_id":50028,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:21:34] local.INFO: Acknowledgment sent {"connection_id":50028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:22:05] local.INFO: TCP Data received {"connection_id":50028,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:22:05] local.INFO: Processing buffer {"connection_id":50028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:22:05] local.INFO: Packet analysis {"connection_id":50028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:22:05] local.INFO: Extracted packet for processing {"connection_id":50028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:22:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 00: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-22 00: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-22 00: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 00:22: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-22 00: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-22 00: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-22 00:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:22:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":50028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:22:05] local.INFO: GPS data processed {"connection_id":50028,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:22:05] local.INFO: Acknowledgment sent {"connection_id":50028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:22:27] local.INFO: TCP Data received {"connection_id":49809,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:22:27] local.INFO: Processing buffer {"connection_id":49809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:22:27] local.INFO: IMEI packet received {"connection_id":49809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":49809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:22:33] local.INFO: TCP Data received {"connection_id":49809,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:22:33] local.INFO: Processing buffer {"connection_id":49809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:22:33] local.INFO: IMEI packet received {"connection_id":49809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":49809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:22:34] local.INFO: TCP Data received {"connection_id":49809,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:22:34] local.INFO: Processing buffer {"connection_id":49809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:22:34] local.INFO: Packet analysis {"connection_id":49809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:22:34] local.INFO: Extracted packet for processing {"connection_id":49809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:22:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 00:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:22: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-22 00:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 00:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:22:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":49809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:22:34] local.INFO: GPS data processed {"connection_id":49809,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:22:34] local.INFO: Acknowledgment sent {"connection_id":49809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:23:05] local.INFO: TCP Data received {"connection_id":49809,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:23:05] local.INFO: Processing buffer {"connection_id":49809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:23:05] local.INFO: Packet analysis {"connection_id":49809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:23:05] local.INFO: Extracted packet for processing {"connection_id":49809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:23:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 00: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-22 00: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-22 00: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 00:23: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-22 00: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-22 00: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-22 00:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:23:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":49809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:23:05] local.INFO: GPS data processed {"connection_id":49809,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:23:05] local.INFO: Acknowledgment sent {"connection_id":49809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:23:07] local.INFO: TCP Data received {"connection_id":50698,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:23:07] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:23:07] local.INFO: IMEI packet received {"connection_id":50698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":50698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:23:32] local.INFO: TCP Data received {"connection_id":50029,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:23:32] local.INFO: Processing buffer {"connection_id":50029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:23:32] local.INFO: IMEI packet received {"connection_id":50029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:23:38] local.INFO: TCP Data received {"connection_id":50029,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:23:38] local.INFO: Processing buffer {"connection_id":50029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:23:38] local.INFO: IMEI packet received {"connection_id":50029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":50029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:23:39] local.INFO: TCP Data received {"connection_id":50029,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:23:39] local.INFO: Processing buffer {"connection_id":50029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:23:39] local.INFO: Packet analysis {"connection_id":50029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:23:39] local.INFO: Extracted packet for processing {"connection_id":50029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 00:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 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-22 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 00:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 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-22 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-22 00:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:23:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":50029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:23:39] local.INFO: GPS data processed {"connection_id":50029,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:23:39] local.INFO: Acknowledgment sent {"connection_id":50029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:23:43] local.INFO: TCP Data received {"connection_id":50029,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:23:43] local.INFO: Processing buffer {"connection_id":50029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db15fb220012d77aa0005f275f8000601662a..."} 
[2026-04-22 00:23:43] local.INFO: Packet analysis {"connection_id":50029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:23:43] local.INFO: Extracted packet for processing {"connection_id":50029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db15f"} 
[2026-04-22 00:23:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":6,"angle":358,"satellites":42,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860039936001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776797332000,"timestamp_ms":1776797332000,"timestamp_seconds":1776797332,"priority":1,"record_length":96,"hex_timestamp":"0000019db15fb220"} 
[2026-04-22 00:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 00:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 00:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 00:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860039936001,"66":25147,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860039936001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:23:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860039936001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":50029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:23:43] local.INFO: GPS data processed {"connection_id":50029,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:23:43] local.INFO: Acknowledgment sent {"connection_id":50029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:23:52] local.INFO: TCP Data received {"connection_id":50699,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:23:52] local.INFO: Processing buffer {"connection_id":50699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:23:52] local.INFO: IMEI packet received {"connection_id":50699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":50699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:23:57] local.INFO: TCP Data received {"connection_id":50699,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:23:57] local.INFO: Processing buffer {"connection_id":50699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:23:57] local.INFO: IMEI packet received {"connection_id":50699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 00:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":50699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:23:58] local.INFO: TCP Data received {"connection_id":50699,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db14d9d38012cb29a4007822ea8004300002b..."} 
[2026-04-22 00:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db14d9d38012cb29a4007822ea8004300002b..."} 
[2026-04-22 00:23:58] local.INFO: Processing buffer {"connection_id":50699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db14d9d38012cb29a4007822ea8004300002b..."} 
[2026-04-22 00:23:58] local.INFO: Packet analysis {"connection_id":50699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db14d"} 
[2026-04-22 00:23:58] local.INFO: Extracted packet for processing {"connection_id":50699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db14d"} 
[2026-04-22 00:23:58] local.INFO: GPS Element Parsed {"raw_longitude":749902400,"raw_latitude":125972136,"longitude_deg":74.99024,"latitude_deg":12.5972136,"altitude":67,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2cb29a40","hex_latitude":"07822ea8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454859736576001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577074787551893504,"note":"Value kept but may cause issues"} 
[2026-04-22 00:23:58] local.INFO: IO Element Parsed {"io_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-22 00:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776796147000,"timestamp_ms":1776796147000,"timestamp_seconds":1776796147,"priority":1,"record_length":96,"hex_timestamp":"0000019db14d9d38"} 
[2026-04-22 00: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-22 00:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-22 00:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":50699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":50699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 00:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":50699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 00:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-22 00:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-22 00:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454859736576001,"66":25223,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5577074787551893504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-22 00:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-22 00:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-22 00:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454859736576001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:23:58] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-22 00:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-22 00:23:58] 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-22 00:23:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577074787551893504,"description":"Unknown IO ID 44"} 
[2026-04-22 00:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454859736576001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577074787551893504}} 
[2026-04-22 00:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":50699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:23:58] local.INFO: GPS data processed {"connection_id":50699,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:23:58] local.INFO: Acknowledgment sent {"connection_id":50699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:24:28] local.INFO: TCP Data received {"connection_id":49810,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:24:28] local.INFO: Processing buffer {"connection_id":49810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:24:28] local.INFO: IMEI packet received {"connection_id":49810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":49810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:24:30] local.INFO: TCP Data received {"connection_id":49810,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:24:30] local.INFO: Processing buffer {"connection_id":49810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:24:30] local.INFO: IMEI packet received {"connection_id":49810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":49810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:24:31] local.INFO: TCP Data received {"connection_id":49810,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:24:31] local.INFO: Processing buffer {"connection_id":49810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:24:31] local.INFO: Packet analysis {"connection_id":49810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:24:31] local.INFO: Extracted packet for processing {"connection_id":49810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:24:31] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 00: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-22 00: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-22 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":49810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":49810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":49810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:24:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":49810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:24:31] local.INFO: GPS data processed {"connection_id":49810,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:24:31] local.INFO: Acknowledgment sent {"connection_id":49810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:24:42] local.INFO: TCP Data received {"connection_id":50700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:24:42] local.INFO: Processing buffer {"connection_id":50700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:24:42] local.INFO: IMEI packet received {"connection_id":50700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":50700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:25:02] local.INFO: TCP Data received {"connection_id":49810,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:25:02] local.INFO: Processing buffer {"connection_id":49810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:25:02] local.INFO: Packet analysis {"connection_id":49810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:25:02] local.INFO: Extracted packet for processing {"connection_id":49810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:25:02] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 00:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":49810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":49810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":49810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:25:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":49810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:25:02] local.INFO: GPS data processed {"connection_id":49810,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:25:02] local.INFO: Acknowledgment sent {"connection_id":49810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:25:27] local.INFO: TCP Data received {"connection_id":50030,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:25:27] local.INFO: Processing buffer {"connection_id":50030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:25:27] local.INFO: IMEI packet received {"connection_id":50030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:25:33] local.INFO: TCP Data received {"connection_id":50030,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:25:33] local.INFO: Processing buffer {"connection_id":50030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:25:33] local.INFO: IMEI packet received {"connection_id":50030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":50030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:25:34] local.INFO: TCP Data received {"connection_id":50030,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:25:34] local.INFO: Processing buffer {"connection_id":50030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:25:34] local.INFO: Packet analysis {"connection_id":50030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:25:34] local.INFO: Extracted packet for processing {"connection_id":50030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 00:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:25:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":50030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:25:34] local.INFO: GPS data processed {"connection_id":50030,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:25:34] local.INFO: Acknowledgment sent {"connection_id":50030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:26:05] local.INFO: TCP Data received {"connection_id":50030,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:26:05] local.INFO: Processing buffer {"connection_id":50030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:26:05] local.INFO: Packet analysis {"connection_id":50030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:26:05] local.INFO: Extracted packet for processing {"connection_id":50030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:26:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 00:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:26:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":50030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:26:05] local.INFO: GPS data processed {"connection_id":50030,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:26:05] local.INFO: Acknowledgment sent {"connection_id":50030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:26:27] local.INFO: TCP Data received {"connection_id":50180,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:26:27] local.INFO: Processing buffer {"connection_id":50180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:26:27] local.INFO: IMEI packet received {"connection_id":50180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:26:33] local.INFO: TCP Data received {"connection_id":50180,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:26:33] local.INFO: Processing buffer {"connection_id":50180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:26:33] local.INFO: IMEI packet received {"connection_id":50180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":50180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:26:34] local.INFO: TCP Data received {"connection_id":50180,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:26:34] local.INFO: Processing buffer {"connection_id":50180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:26:34] local.INFO: Packet analysis {"connection_id":50180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:26:34] local.INFO: Extracted packet for processing {"connection_id":50180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:26:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 00: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-22 00:26: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-22 00: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":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:26:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":50180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:26:34] local.INFO: GPS data processed {"connection_id":50180,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:26:34] local.INFO: Acknowledgment sent {"connection_id":50180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:27:05] local.INFO: TCP Data received {"connection_id":50180,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:27:05] local.INFO: Processing buffer {"connection_id":50180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:27:05] local.INFO: Packet analysis {"connection_id":50180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:27:05] local.INFO: Extracted packet for processing {"connection_id":50180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:27:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 00: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-22 00:27: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-22 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:27:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":50180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:27:05] local.INFO: GPS data processed {"connection_id":50180,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:27:05] local.INFO: Acknowledgment sent {"connection_id":50180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:27:32] local.INFO: TCP Data received {"connection_id":50181,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:27:32] local.INFO: Processing buffer {"connection_id":50181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:27:32] local.INFO: IMEI packet received {"connection_id":50181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:27:38] local.INFO: TCP Data received {"connection_id":50181,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:27:38] local.INFO: Processing buffer {"connection_id":50181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:27:38] local.INFO: IMEI packet received {"connection_id":50181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":50181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:27:39] local.INFO: TCP Data received {"connection_id":50181,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:27:39] local.INFO: Processing buffer {"connection_id":50181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:27:39] local.INFO: Packet analysis {"connection_id":50181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:27:39] local.INFO: Extracted packet for processing {"connection_id":50181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:27:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 00:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:27: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-22 00:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:27:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":50181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:27:39] local.INFO: GPS data processed {"connection_id":50181,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:27:39] local.INFO: Acknowledgment sent {"connection_id":50181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:28:10] local.INFO: TCP Data received {"connection_id":50181,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:28:10] local.INFO: Processing buffer {"connection_id":50181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:28:10] local.INFO: Packet analysis {"connection_id":50181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:28:10] local.INFO: Extracted packet for processing {"connection_id":50181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:28:10] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 00: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-22 00:28: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-22 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:28:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":50181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:28:10] local.INFO: GPS data processed {"connection_id":50181,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:28:10] local.INFO: Acknowledgment sent {"connection_id":50181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:28:28] local.INFO: TCP Data received {"connection_id":50701,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:28:28] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:28:28] local.INFO: IMEI packet received {"connection_id":50701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":50701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:28:33] local.INFO: TCP Data received {"connection_id":50701,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:28:33] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:28:33] local.INFO: IMEI packet received {"connection_id":50701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":50701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:28:34] local.INFO: TCP Data received {"connection_id":50701,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:28:34] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:28:34] local.INFO: Packet analysis {"connection_id":50701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:28:34] local.INFO: Extracted packet for processing {"connection_id":50701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:28:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 00:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:28: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-22 00:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:28:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":50701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:28:34] local.INFO: GPS data processed {"connection_id":50701,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:28:34] local.INFO: Acknowledgment sent {"connection_id":50701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:29:05] local.INFO: TCP Data received {"connection_id":50701,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:29:05] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16449e8012d77aa0005f275f80018016628..."} 
[2026-04-22 00:29:05] local.INFO: Packet analysis {"connection_id":50701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:29:05] local.INFO: Extracted packet for processing {"connection_id":50701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db164"} 
[2026-04-22 00:29:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 00:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860116992001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776797633000,"timestamp_ms":1776797633000,"timestamp_seconds":1776797633,"priority":1,"record_length":96,"hex_timestamp":"0000019db16449e8"} 
[2026-04-22 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-22 00:29: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-22 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-22 00:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 00:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860116992001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860116992001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:29:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860116992001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":50701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:29:05] local.INFO: GPS data processed {"connection_id":50701,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:29:05] local.INFO: Acknowledgment sent {"connection_id":50701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:29:27] local.INFO: TCP Data received {"connection_id":50033,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:29:27] local.INFO: Processing buffer {"connection_id":50033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:29:27] local.INFO: IMEI packet received {"connection_id":50033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":50033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:29:32] local.INFO: TCP Data received {"connection_id":50033,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:29:32] local.INFO: Processing buffer {"connection_id":50033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:29:32] local.INFO: IMEI packet received {"connection_id":50033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:29:33] local.INFO: TCP Data received {"connection_id":50033,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:29:33] local.INFO: Processing buffer {"connection_id":50033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:29:33] local.INFO: Packet analysis {"connection_id":50033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:29:33] local.INFO: Extracted packet for processing {"connection_id":50033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:29:33] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00: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-22 00:29: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-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:29:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":50033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:29:33] local.INFO: GPS data processed {"connection_id":50033,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:29:33] local.INFO: Acknowledgment sent {"connection_id":50033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:30:04] local.INFO: TCP Data received {"connection_id":50033,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:30:04] local.INFO: Processing buffer {"connection_id":50033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:30:04] local.INFO: Packet analysis {"connection_id":50033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:30:04] local.INFO: Extracted packet for processing {"connection_id":50033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:30:04] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00: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-22 00: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-22 00:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:30:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":50033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:30:04] local.INFO: GPS data processed {"connection_id":50033,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:30:04] local.INFO: Acknowledgment sent {"connection_id":50033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:30:07] local.INFO: TCP Data received {"connection_id":50034,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:30:07] local.INFO: Processing buffer {"connection_id":50034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:30:07] local.INFO: IMEI packet received {"connection_id":50034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":50034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:30:27] local.INFO: TCP Data received {"connection_id":50702,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:30:27] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:30:27] local.INFO: IMEI packet received {"connection_id":50702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":50702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:30:33] local.INFO: TCP Data received {"connection_id":50702,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:30:33] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:30:33] local.INFO: IMEI packet received {"connection_id":50702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":50702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:30:34] local.INFO: TCP Data received {"connection_id":50702,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:30:34] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:30:34] local.INFO: Packet analysis {"connection_id":50702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:30:34] local.INFO: Extracted packet for processing {"connection_id":50702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:30:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00: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-22 00:30: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-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:30:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":50702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:30:34] local.INFO: GPS data processed {"connection_id":50702,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:30:34] local.INFO: Acknowledgment sent {"connection_id":50702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:30:52] local.INFO: TCP Data received {"connection_id":50183,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:30:52] local.INFO: Processing buffer {"connection_id":50183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:30:52] local.INFO: IMEI packet received {"connection_id":50183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":50183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:31:05] local.INFO: TCP Data received {"connection_id":50702,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:31:05] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:31:05] local.INFO: Packet analysis {"connection_id":50702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:31:05] local.INFO: Extracted packet for processing {"connection_id":50702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:31:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00: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-22 00: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-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:31:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":50702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:31:05] local.INFO: GPS data processed {"connection_id":50702,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:31:05] local.INFO: Acknowledgment sent {"connection_id":50702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:31:33] local.INFO: TCP Data received {"connection_id":50184,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:31:33] local.INFO: Processing buffer {"connection_id":50184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:31:33] local.INFO: IMEI packet received {"connection_id":50184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":50184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:31:38] local.INFO: TCP Data received {"connection_id":50184,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:31:38] local.INFO: Processing buffer {"connection_id":50184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:31:38] local.INFO: IMEI packet received {"connection_id":50184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":50184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:31:39] local.INFO: TCP Data received {"connection_id":50184,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:31:39] local.INFO: Processing buffer {"connection_id":50184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:31:39] local.INFO: Packet analysis {"connection_id":50184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:31:39] local.INFO: Extracted packet for processing {"connection_id":50184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:31:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:31: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-22 00:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:31: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-22 00:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:31:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":50184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:31:39] local.INFO: GPS data processed {"connection_id":50184,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:31:39] local.INFO: Acknowledgment sent {"connection_id":50184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:31:43] local.INFO: TCP Data received {"connection_id":50184,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:31:43] local.INFO: Processing buffer {"connection_id":50184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:31:43] local.INFO: Packet analysis {"connection_id":50184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:31:43] local.INFO: Extracted packet for processing {"connection_id":50184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:31:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00: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-22 00:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:31:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":50184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:31:43] local.INFO: GPS data processed {"connection_id":50184,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:31:43] local.INFO: Acknowledgment sent {"connection_id":50184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:32:28] local.INFO: TCP Data received {"connection_id":50703,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:32:28] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:32:28] local.INFO: IMEI packet received {"connection_id":50703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":50703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:32:33] local.INFO: TCP Data received {"connection_id":50703,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:32:33] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:32:33] local.INFO: IMEI packet received {"connection_id":50703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":50703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:32:34] local.INFO: TCP Data received {"connection_id":50703,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:32:34] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:32:34] local.INFO: Packet analysis {"connection_id":50703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:32:34] local.INFO: Extracted packet for processing {"connection_id":50703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:32:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00: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-22 00:32: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-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:32:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":50703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:32:34] local.INFO: GPS data processed {"connection_id":50703,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:32:34] local.INFO: Acknowledgment sent {"connection_id":50703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:33:06] local.INFO: TCP Data received {"connection_id":50703,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:33:06] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:33:06] local.INFO: Packet analysis {"connection_id":50703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:33:06] local.INFO: Extracted packet for processing {"connection_id":50703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:33:06] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00: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-22 00:33: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-22 00: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":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:33:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":50703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:33:06] local.INFO: GPS data processed {"connection_id":50703,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:33:06] local.INFO: Acknowledgment sent {"connection_id":50703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:33:27] local.INFO: TCP Data received {"connection_id":50036,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:33:27] local.INFO: Processing buffer {"connection_id":50036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:33:27] local.INFO: IMEI packet received {"connection_id":50036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:33:33] local.INFO: TCP Data received {"connection_id":50036,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:33:33] local.INFO: Processing buffer {"connection_id":50036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:33:33] local.INFO: IMEI packet received {"connection_id":50036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":50036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:33:34] local.INFO: TCP Data received {"connection_id":50036,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:33:34] local.INFO: Processing buffer {"connection_id":50036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:33:34] local.INFO: Packet analysis {"connection_id":50036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:33:34] local.INFO: Extracted packet for processing {"connection_id":50036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:33: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-22 00:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:33:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":50036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:33:34] local.INFO: GPS data processed {"connection_id":50036,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:33:34] local.INFO: Acknowledgment sent {"connection_id":50036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:34:05] local.INFO: TCP Data received {"connection_id":50036,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:34:05] local.INFO: Processing buffer {"connection_id":50036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db168e1b0012d77aa0005f275f80018016625..."} 
[2026-04-22 00:34:05] local.INFO: Packet analysis {"connection_id":50036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:34:05] local.INFO: Extracted packet for processing {"connection_id":50036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db168"} 
[2026-04-22 00:34:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860194048001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776797934000,"timestamp_ms":1776797934000,"timestamp_seconds":1776797934,"priority":1,"record_length":96,"hex_timestamp":"0000019db168e1b0"} 
[2026-04-22 00: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-22 00:34: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-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860194048001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860194048001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:34:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860194048001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":50036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:34:05] local.INFO: GPS data processed {"connection_id":50036,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:34:05] local.INFO: Acknowledgment sent {"connection_id":50036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:34:27] local.INFO: TCP Data received {"connection_id":50037,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:34:27] local.INFO: Processing buffer {"connection_id":50037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:34:27] local.INFO: IMEI packet received {"connection_id":50037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:34:33] local.INFO: TCP Data received {"connection_id":50037,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:34:33] local.INFO: Processing buffer {"connection_id":50037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:34:33] local.INFO: IMEI packet received {"connection_id":50037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":50037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:34:34] local.INFO: TCP Data received {"connection_id":50037,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:34:34] local.INFO: Processing buffer {"connection_id":50037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:34:34] local.INFO: Packet analysis {"connection_id":50037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:34:34] local.INFO: Extracted packet for processing {"connection_id":50037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:34:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00: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-22 00:34: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-22 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:34:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":50037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:34:34] local.INFO: GPS data processed {"connection_id":50037,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:34:34] local.INFO: Acknowledgment sent {"connection_id":50037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:35:05] local.INFO: TCP Data received {"connection_id":50037,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:35:05] local.INFO: Processing buffer {"connection_id":50037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:35:05] local.INFO: Packet analysis {"connection_id":50037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:35:05] local.INFO: Extracted packet for processing {"connection_id":50037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:35:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:35: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-22 00:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:35:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":50037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:35:05] local.INFO: GPS data processed {"connection_id":50037,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:35:05] local.INFO: Acknowledgment sent {"connection_id":50037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:35:28] local.INFO: TCP Data received {"connection_id":50038,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:35:28] local.INFO: Processing buffer {"connection_id":50038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:35:28] local.INFO: IMEI packet received {"connection_id":50038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":50038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:35:33] local.INFO: TCP Data received {"connection_id":50038,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:35:33] local.INFO: Processing buffer {"connection_id":50038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:35:33] local.INFO: IMEI packet received {"connection_id":50038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":50038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:35:34] local.INFO: TCP Data received {"connection_id":50038,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:35:34] local.INFO: Processing buffer {"connection_id":50038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:35:34] local.INFO: Packet analysis {"connection_id":50038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:35:34] local.INFO: Extracted packet for processing {"connection_id":50038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:35:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:35: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-22 00:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:35:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":50038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:35:34] local.INFO: GPS data processed {"connection_id":50038,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:35:34] local.INFO: Acknowledgment sent {"connection_id":50038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:36:05] local.INFO: TCP Data received {"connection_id":50038,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:36:05] local.INFO: Processing buffer {"connection_id":50038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:36:05] local.INFO: Packet analysis {"connection_id":50038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:36:05] local.INFO: Extracted packet for processing {"connection_id":50038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00: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-22 00:36: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-22 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:36:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":50038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:36:05] local.INFO: GPS data processed {"connection_id":50038,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:36:05] local.INFO: Acknowledgment sent {"connection_id":50038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:36:17] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:36:17] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:36:17] local.INFO: IMEI packet received {"connection_id":50704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":50704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:36:28] local.INFO: TCP Data received {"connection_id":50705,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:36:28] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:36:28] local.INFO: IMEI packet received {"connection_id":50705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":50705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:36:33] local.INFO: TCP Data received {"connection_id":50705,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:36:33] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:36:33] local.INFO: IMEI packet received {"connection_id":50705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":50705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:36:34] local.INFO: TCP Data received {"connection_id":50705,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:36:34] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:36:34] local.INFO: Packet analysis {"connection_id":50705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:36:34] local.INFO: Extracted packet for processing {"connection_id":50705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:36:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:36: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-22 00:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:36:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":50705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:36:34] local.INFO: GPS data processed {"connection_id":50705,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:36:34] local.INFO: Acknowledgment sent {"connection_id":50705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:36:55] local.INFO: TCP Data received {"connection_id":50186,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:36:55] local.INFO: Processing buffer {"connection_id":50186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:36:55] local.INFO: IMEI packet received {"connection_id":50186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":50186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:37:05] local.INFO: TCP Data received {"connection_id":50705,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:37:05] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:37:05] local.INFO: Packet analysis {"connection_id":50705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:37:05] local.INFO: Extracted packet for processing {"connection_id":50705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:37:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00: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-22 00:37: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-22 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:37:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":50705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:37:05] local.INFO: GPS data processed {"connection_id":50705,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:37:05] local.INFO: Acknowledgment sent {"connection_id":50705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:37:31] local.INFO: TCP Data received {"connection_id":50039,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:37:31] local.INFO: Processing buffer {"connection_id":50039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:37:31] local.INFO: IMEI packet received {"connection_id":50039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":50039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:37:32] local.INFO: TCP Data received {"connection_id":50039,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:37:32] local.INFO: Processing buffer {"connection_id":50039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:37:32] local.INFO: IMEI packet received {"connection_id":50039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:37:38] local.INFO: TCP Data received {"connection_id":50039,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:37:38] local.INFO: Processing buffer {"connection_id":50039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:37:38] local.INFO: IMEI packet received {"connection_id":50039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":50039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:37:39] local.INFO: TCP Data received {"connection_id":50039,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:37:39] local.INFO: Processing buffer {"connection_id":50039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:37:39] local.INFO: Packet analysis {"connection_id":50039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:37:39] local.INFO: Extracted packet for processing {"connection_id":50039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:37:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:37: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-22 00:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:37: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-22 00:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:37: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-22 00:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:37:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":50039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:37:39] local.INFO: GPS data processed {"connection_id":50039,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:37:39] local.INFO: Acknowledgment sent {"connection_id":50039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:38:10] local.INFO: TCP Data received {"connection_id":50039,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:38:10] local.INFO: Processing buffer {"connection_id":50039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:38:10] local.INFO: Packet analysis {"connection_id":50039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:38:10] local.INFO: Extracted packet for processing {"connection_id":50039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:38:10] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00: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-22 00:38: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-22 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:38:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":50039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:38:10] local.INFO: GPS data processed {"connection_id":50039,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:38:10] local.INFO: Acknowledgment sent {"connection_id":50039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:38:27] local.INFO: TCP Data received {"connection_id":49815,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:38:27] local.INFO: Processing buffer {"connection_id":49815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:38:27] local.INFO: IMEI packet received {"connection_id":49815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":49815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:38:33] local.INFO: TCP Data received {"connection_id":49815,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:38:33] local.INFO: Processing buffer {"connection_id":49815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:38:33] local.INFO: IMEI packet received {"connection_id":49815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":49815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:38:34] local.INFO: TCP Data received {"connection_id":49815,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:38:34] local.INFO: Processing buffer {"connection_id":49815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:38:34] local.INFO: Packet analysis {"connection_id":49815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:38:34] local.INFO: Extracted packet for processing {"connection_id":49815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:38:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00: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-22 00:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:38:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":49815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:38:34] local.INFO: GPS data processed {"connection_id":49815,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:38:34] local.INFO: Acknowledgment sent {"connection_id":49815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:39:05] local.INFO: TCP Data received {"connection_id":49815,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:39:05] local.INFO: Processing buffer {"connection_id":49815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:39:05] local.INFO: Packet analysis {"connection_id":49815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:39:05] local.INFO: Extracted packet for processing {"connection_id":49815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:39:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:39: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-22 00:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:39:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":49815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:39:05] local.INFO: GPS data processed {"connection_id":49815,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:39:05] local.INFO: Acknowledgment sent {"connection_id":49815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:39:27] local.INFO: TCP Data received {"connection_id":50706,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:39:27] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:39:27] local.INFO: IMEI packet received {"connection_id":50706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:39:33] local.INFO: TCP Data received {"connection_id":50706,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:39:33] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:39:33] local.INFO: IMEI packet received {"connection_id":50706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":50706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:39:34] local.INFO: TCP Data received {"connection_id":50706,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:39:34] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db16d7978012d77aa0005f275f80018016625..."} 
[2026-04-22 00:39:34] local.INFO: Packet analysis {"connection_id":50706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:39:34] local.INFO: Extracted packet for processing {"connection_id":50706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db16d"} 
[2026-04-22 00:39:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":24,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860271104001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798235000,"timestamp_ms":1776798235000,"timestamp_seconds":1776798235,"priority":1,"record_length":96,"hex_timestamp":"0000019db16d7978"} 
[2026-04-22 00: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-22 00:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 00:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860271104001,"66":25343,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860271104001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:39:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860271104001,"power":25343,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":50706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:39:34] local.INFO: GPS data processed {"connection_id":50706,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:39:34] local.INFO: Acknowledgment sent {"connection_id":50706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:40:05] local.INFO: TCP Data received {"connection_id":50706,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:40:05] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:40:05] local.INFO: Packet analysis {"connection_id":50706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:40:05] local.INFO: Extracted packet for processing {"connection_id":50706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:40:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00: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-22 00:40: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-22 00: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:40: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-22 00: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-22 00: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-22 00:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:40:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":50706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:40:05] local.INFO: GPS data processed {"connection_id":50706,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:40:05] local.INFO: Acknowledgment sent {"connection_id":50706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:40:27] local.INFO: TCP Data received {"connection_id":50040,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:40:27] local.INFO: Processing buffer {"connection_id":50040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:40:27] local.INFO: IMEI packet received {"connection_id":50040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:40:32] local.INFO: TCP Data received {"connection_id":50040,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:40:32] local.INFO: Processing buffer {"connection_id":50040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:40:32] local.INFO: IMEI packet received {"connection_id":50040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:40:33] local.INFO: TCP Data received {"connection_id":50040,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:40:33] local.INFO: Processing buffer {"connection_id":50040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:40:33] local.INFO: Packet analysis {"connection_id":50040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:40:33] local.INFO: Extracted packet for processing {"connection_id":50040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:40:33] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00: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-22 00:40: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-22 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:40: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-22 00: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-22 00: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-22 00:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:40:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:40:33] local.INFO: GPS data processed {"connection_id":50040,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:40:33] local.INFO: Acknowledgment sent {"connection_id":50040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:41:05] local.INFO: TCP Data received {"connection_id":50040,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:41:05] local.INFO: Processing buffer {"connection_id":50040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:41:05] local.INFO: Packet analysis {"connection_id":50040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:41:05] local.INFO: Extracted packet for processing {"connection_id":50040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:41:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00: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-22 00:41: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-22 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:41: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-22 00: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-22 00: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-22 00:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:41:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":50040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:41:05] local.INFO: GPS data processed {"connection_id":50040,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:41:05] local.INFO: Acknowledgment sent {"connection_id":50040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:41:27] local.INFO: TCP Data received {"connection_id":50707,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:41:27] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:41:27] local.INFO: IMEI packet received {"connection_id":50707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":50707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:41:33] local.INFO: TCP Data received {"connection_id":50707,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:41:33] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:41:33] local.INFO: IMEI packet received {"connection_id":50707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":50707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:41:34] local.INFO: TCP Data received {"connection_id":50707,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:41:34] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:41:34] local.INFO: Packet analysis {"connection_id":50707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:41:34] local.INFO: Extracted packet for processing {"connection_id":50707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:41:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:41: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-22 00:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:41: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-22 00:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:41:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":50707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:41:34] local.INFO: GPS data processed {"connection_id":50707,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:41:34] local.INFO: Acknowledgment sent {"connection_id":50707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:42:05] local.INFO: TCP Data received {"connection_id":50707,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:42:05] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:42:05] local.INFO: Packet analysis {"connection_id":50707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:42:05] local.INFO: Extracted packet for processing {"connection_id":50707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:42:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00: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-22 00:42: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-22 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:42: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-22 00: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-22 00: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-22 00:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:42:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":50707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:42:05] local.INFO: GPS data processed {"connection_id":50707,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:42:05] local.INFO: Acknowledgment sent {"connection_id":50707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:42:22] local.INFO: TCP Data received {"connection_id":50041,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:42:22] local.INFO: Processing buffer {"connection_id":50041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:42:22] local.INFO: IMEI packet received {"connection_id":50041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":50041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:42:27] local.INFO: TCP Data received {"connection_id":50708,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:42:27] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:42:27] local.INFO: IMEI packet received {"connection_id":50708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:42:33] local.INFO: TCP Data received {"connection_id":50708,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:42:33] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:42:33] local.INFO: IMEI packet received {"connection_id":50708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":50708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:42:34] local.INFO: TCP Data received {"connection_id":50708,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:42:34] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:42:34] local.INFO: Packet analysis {"connection_id":50708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:42:34] local.INFO: Extracted packet for processing {"connection_id":50708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:42:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:42: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-22 00:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:42: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-22 00:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:42:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":50708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:42:34] local.INFO: GPS data processed {"connection_id":50708,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:42:34] local.INFO: Acknowledgment sent {"connection_id":50708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:42:52] local.INFO: TCP Data received {"connection_id":49818,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:42:52] local.INFO: Processing buffer {"connection_id":49818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:42:52] local.INFO: IMEI packet received {"connection_id":49818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":49818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:43:05] local.INFO: TCP Data received {"connection_id":50708,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:43:05] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:43:05] local.INFO: Packet analysis {"connection_id":50708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:43:05] local.INFO: Extracted packet for processing {"connection_id":50708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:43:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00: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-22 00:43: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-22 00: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:43: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-22 00: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-22 00: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-22 00:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:43:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":50708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:43:05] local.INFO: GPS data processed {"connection_id":50708,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:43:05] local.INFO: Acknowledgment sent {"connection_id":50708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:43:33] local.INFO: TCP Data received {"connection_id":50709,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:43:33] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:43:33] local.INFO: IMEI packet received {"connection_id":50709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":50709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:43:38] local.INFO: TCP Data received {"connection_id":50709,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:43:38] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:43:38] local.INFO: IMEI packet received {"connection_id":50709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":50709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:43:39] local.INFO: TCP Data received {"connection_id":50709,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:43:39] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:43:39] local.INFO: Packet analysis {"connection_id":50709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:43:39] local.INFO: Extracted packet for processing {"connection_id":50709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:43:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:43:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":50709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:43:39] local.INFO: GPS data processed {"connection_id":50709,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:43:39] local.INFO: Acknowledgment sent {"connection_id":50709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:43:43] local.INFO: TCP Data received {"connection_id":50709,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:43:43] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:43:43] local.INFO: Packet analysis {"connection_id":50709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:43:43] local.INFO: Extracted packet for processing {"connection_id":50709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:43:43] 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-22 00:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:43:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":50709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:43:43] local.INFO: GPS data processed {"connection_id":50709,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:43:43] local.INFO: Acknowledgment sent {"connection_id":50709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:44:28] local.INFO: TCP Data received {"connection_id":50189,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:44:28] local.INFO: Processing buffer {"connection_id":50189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:44:28] local.INFO: IMEI packet received {"connection_id":50189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":50189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:44:33] local.INFO: TCP Data received {"connection_id":50189,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:44:33] local.INFO: Processing buffer {"connection_id":50189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:44:33] local.INFO: IMEI packet received {"connection_id":50189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":50189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:44:34] local.INFO: TCP Data received {"connection_id":50189,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:44:34] local.INFO: Processing buffer {"connection_id":50189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1721140012d77aa0005f275f8000e016625..."} 
[2026-04-22 00:44:34] local.INFO: Packet analysis {"connection_id":50189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:44:34] local.INFO: Extracted packet for processing {"connection_id":50189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db172"} 
[2026-04-22 00:44:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860348160001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798536000,"timestamp_ms":1776798536000,"timestamp_seconds":1776798536,"priority":1,"record_length":96,"hex_timestamp":"0000019db1721140"} 
[2026-04-22 00:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:44: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-22 00:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 00:44: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-22 00:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860348160001,"66":25321,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860348160001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:44:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860348160001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":50189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:44:34] local.INFO: GPS data processed {"connection_id":50189,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:44:34] local.INFO: Acknowledgment sent {"connection_id":50189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:45:05] local.INFO: TCP Data received {"connection_id":50189,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:45:05] local.INFO: Processing buffer {"connection_id":50189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:45:05] local.INFO: Packet analysis {"connection_id":50189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:45:05] local.INFO: Extracted packet for processing {"connection_id":50189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:45:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00: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-22 00: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-22 00: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:45: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-22 00: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-22 00: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-22 00:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:45:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":50189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:45:05] local.INFO: GPS data processed {"connection_id":50189,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:45:05] local.INFO: Acknowledgment sent {"connection_id":50189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:45:27] local.INFO: TCP Data received {"connection_id":50043,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:45:27] local.INFO: Processing buffer {"connection_id":50043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:45:27] local.INFO: IMEI packet received {"connection_id":50043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:45:33] local.INFO: TCP Data received {"connection_id":50043,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:45:33] local.INFO: Processing buffer {"connection_id":50043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:45:33] local.INFO: IMEI packet received {"connection_id":50043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":50043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:45:34] local.INFO: TCP Data received {"connection_id":50043,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:45:34] local.INFO: Processing buffer {"connection_id":50043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:45:34] local.INFO: Packet analysis {"connection_id":50043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:45:34] local.INFO: Extracted packet for processing {"connection_id":50043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:45:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00: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-22 00:45: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-22 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:45:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":50043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:45:34] local.INFO: GPS data processed {"connection_id":50043,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:45:34] local.INFO: Acknowledgment sent {"connection_id":50043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:46:05] local.INFO: TCP Data received {"connection_id":50043,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:46:05] local.INFO: Processing buffer {"connection_id":50043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:46:05] local.INFO: Packet analysis {"connection_id":50043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:46:05] local.INFO: Extracted packet for processing {"connection_id":50043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:46:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00: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-22 00: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-22 00: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:46: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-22 00: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-22 00: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-22 00:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:46:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":50043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:46:05] local.INFO: GPS data processed {"connection_id":50043,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:46:05] local.INFO: Acknowledgment sent {"connection_id":50043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:46:27] local.INFO: TCP Data received {"connection_id":50710,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:46:27] local.INFO: Processing buffer {"connection_id":50710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:46:27] local.INFO: IMEI packet received {"connection_id":50710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":50710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:46:34] local.INFO: TCP Data received {"connection_id":50710,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:46:34] local.INFO: Processing buffer {"connection_id":50710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:46:34] local.INFO: IMEI packet received {"connection_id":50710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":50710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:46:35] local.INFO: TCP Data received {"connection_id":50710,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:46:35] local.INFO: Processing buffer {"connection_id":50710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:46:35] local.INFO: Packet analysis {"connection_id":50710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:46:35] local.INFO: Extracted packet for processing {"connection_id":50710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:46:35] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:46: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-22 00:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:46: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-22 00:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:46:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":50710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:46:35] local.INFO: GPS data processed {"connection_id":50710,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:46:35] local.INFO: Acknowledgment sent {"connection_id":50710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:47:06] local.INFO: TCP Data received {"connection_id":50710,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:47:06] local.INFO: Processing buffer {"connection_id":50710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:47:06] local.INFO: Packet analysis {"connection_id":50710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:47:06] local.INFO: Extracted packet for processing {"connection_id":50710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:47:06] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00: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-22 00:47: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-22 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:47: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-22 00: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-22 00: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-22 00:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:47:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":50710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:47:06] local.INFO: GPS data processed {"connection_id":50710,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:47:06] local.INFO: Acknowledgment sent {"connection_id":50710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:47:33] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:47:33] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:47:33] local.INFO: IMEI packet received {"connection_id":50190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":50190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:47:38] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:47:38] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:47:38] local.INFO: IMEI packet received {"connection_id":50190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":50190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:47:39] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:47:39] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:47:39] local.INFO: Packet analysis {"connection_id":50190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:47:39] local.INFO: Extracted packet for processing {"connection_id":50190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:47:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:47: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-22 00:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:47:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":50190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:47:39] local.INFO: GPS data processed {"connection_id":50190,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:47:39] local.INFO: Acknowledgment sent {"connection_id":50190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:47:43] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:47:43] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:47:43] local.INFO: Packet analysis {"connection_id":50190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:47:43] local.INFO: Extracted packet for processing {"connection_id":50190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:47:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:47:43] 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-22 00:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:47:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":50190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:47:43] local.INFO: GPS data processed {"connection_id":50190,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:47:43] local.INFO: Acknowledgment sent {"connection_id":50190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:48:17] local.INFO: TCP Data received {"connection_id":50045,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:48:17] local.INFO: Processing buffer {"connection_id":50045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:48:17] local.INFO: IMEI packet received {"connection_id":50045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":50045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:48:28] local.INFO: TCP Data received {"connection_id":50046,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:48:28] local.INFO: Processing buffer {"connection_id":50046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:48:28] local.INFO: IMEI packet received {"connection_id":50046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":50046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:48:33] local.INFO: TCP Data received {"connection_id":50046,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:48:33] local.INFO: Processing buffer {"connection_id":50046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:48:33] local.INFO: IMEI packet received {"connection_id":50046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":50046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:48:34] local.INFO: TCP Data received {"connection_id":50046,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:48:34] local.INFO: Processing buffer {"connection_id":50046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:48:34] local.INFO: Packet analysis {"connection_id":50046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:48:34] local.INFO: Extracted packet for processing {"connection_id":50046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:48:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":50046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:48:34] local.INFO: GPS data processed {"connection_id":50046,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:48:34] local.INFO: Acknowledgment sent {"connection_id":50046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:48:57] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:48:57] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:48:57] local.INFO: IMEI packet received {"connection_id":50711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":50711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:49:05] local.INFO: TCP Data received {"connection_id":50046,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:49:05] local.INFO: Processing buffer {"connection_id":50046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:49:05] local.INFO: Packet analysis {"connection_id":50046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:49:05] local.INFO: Extracted packet for processing {"connection_id":50046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00: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-22 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:49: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-22 00: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-22 00: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-22 00:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:49:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":50046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:49:05] local.INFO: GPS data processed {"connection_id":50046,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:49:05] local.INFO: Acknowledgment sent {"connection_id":50046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:49:27] local.INFO: TCP Data received {"connection_id":49820,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:49:27] local.INFO: Processing buffer {"connection_id":49820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:49:27] local.INFO: IMEI packet received {"connection_id":49820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":49820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:49:33] local.INFO: TCP Data received {"connection_id":49820,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:49:33] local.INFO: Processing buffer {"connection_id":49820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:49:33] local.INFO: IMEI packet received {"connection_id":49820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":49820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:49:34] local.INFO: TCP Data received {"connection_id":49820,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:49:34] local.INFO: Processing buffer {"connection_id":49820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db176a908012d77aa0005f275f8000e016627..."} 
[2026-04-22 00:49:34] local.INFO: Packet analysis {"connection_id":49820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:49:34] local.INFO: Extracted packet for processing {"connection_id":49820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db176"} 
[2026-04-22 00:49:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860425216001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776798837000,"timestamp_ms":1776798837000,"timestamp_seconds":1776798837,"priority":1,"record_length":96,"hex_timestamp":"0000019db176a908"} 
[2026-04-22 00:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:49: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-22 00:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 00:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860425216001,"66":25212,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860425216001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:49:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860425216001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":49820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:49:34] local.INFO: GPS data processed {"connection_id":49820,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:49:34] local.INFO: Acknowledgment sent {"connection_id":49820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:50:05] local.INFO: TCP Data received {"connection_id":49820,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:50:05] local.INFO: Processing buffer {"connection_id":49820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:50:05] local.INFO: Packet analysis {"connection_id":49820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:50:05] local.INFO: Extracted packet for processing {"connection_id":49820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:50:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 00: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-22 00:50: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-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:50:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":49820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:50:05] local.INFO: GPS data processed {"connection_id":49820,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:50:05] local.INFO: Acknowledgment sent {"connection_id":49820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:50:33] local.INFO: TCP Data received {"connection_id":50191,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:50:33] local.INFO: Processing buffer {"connection_id":50191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:50:33] local.INFO: IMEI packet received {"connection_id":50191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":50191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:50:38] local.INFO: TCP Data received {"connection_id":50191,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:50:38] local.INFO: Processing buffer {"connection_id":50191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:50:38] local.INFO: IMEI packet received {"connection_id":50191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":50191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:50:39] local.INFO: TCP Data received {"connection_id":50191,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:50:39] local.INFO: Processing buffer {"connection_id":50191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:50:39] local.INFO: Packet analysis {"connection_id":50191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:50:39] local.INFO: Extracted packet for processing {"connection_id":50191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:50:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 00: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-22 00:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:50:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":50191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:50:39] local.INFO: GPS data processed {"connection_id":50191,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:50:39] local.INFO: Acknowledgment sent {"connection_id":50191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:50:43] local.INFO: TCP Data received {"connection_id":50191,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:50:43] local.INFO: Processing buffer {"connection_id":50191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:50:43] local.INFO: Packet analysis {"connection_id":50191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:50:43] local.INFO: Extracted packet for processing {"connection_id":50191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:50:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 00:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 00:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:50:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":50191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:50:43] local.INFO: GPS data processed {"connection_id":50191,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:50:43] local.INFO: Acknowledgment sent {"connection_id":50191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:51:28] local.INFO: TCP Data received {"connection_id":50713,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:51:28] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:51:28] local.INFO: IMEI packet received {"connection_id":50713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":50713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:51:33] local.INFO: TCP Data received {"connection_id":50713,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:51:33] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:51:33] local.INFO: IMEI packet received {"connection_id":50713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":50713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:51:34] local.INFO: TCP Data received {"connection_id":50713,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:51:34] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:51:34] local.INFO: Packet analysis {"connection_id":50713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:51:34] local.INFO: Extracted packet for processing {"connection_id":50713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:51:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 00:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:51: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-22 00:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:51:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":50713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:51:34] local.INFO: GPS data processed {"connection_id":50713,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:51:34] local.INFO: Acknowledgment sent {"connection_id":50713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:52:05] local.INFO: TCP Data received {"connection_id":50713,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:52:05] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:52:05] local.INFO: Packet analysis {"connection_id":50713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:52:05] local.INFO: Extracted packet for processing {"connection_id":50713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:52:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 00:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 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-22 00:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 00:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:52:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":50713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:52:05] local.INFO: GPS data processed {"connection_id":50713,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:52:05] local.INFO: Acknowledgment sent {"connection_id":50713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:52:27] local.INFO: TCP Data received {"connection_id":50048,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:52:27] local.INFO: Processing buffer {"connection_id":50048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:52:27] local.INFO: IMEI packet received {"connection_id":50048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":50048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:52:33] local.INFO: TCP Data received {"connection_id":50048,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:52:33] local.INFO: Processing buffer {"connection_id":50048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:52:33] local.INFO: IMEI packet received {"connection_id":50048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":50048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:52:34] local.INFO: TCP Data received {"connection_id":50048,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:52:34] local.INFO: Processing buffer {"connection_id":50048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:52:34] local.INFO: Packet analysis {"connection_id":50048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:52:34] local.INFO: Extracted packet for processing {"connection_id":50048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:52:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 00:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:52: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-22 00:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:52:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":50048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:52:34] local.INFO: GPS data processed {"connection_id":50048,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:52:34] local.INFO: Acknowledgment sent {"connection_id":50048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:53:05] local.INFO: TCP Data received {"connection_id":50048,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:53:05] local.INFO: Processing buffer {"connection_id":50048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:53:05] local.INFO: Packet analysis {"connection_id":50048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:53:05] local.INFO: Extracted packet for processing {"connection_id":50048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:53:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 00: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-22 00:53: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-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:53:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":50048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:53:05] local.INFO: GPS data processed {"connection_id":50048,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:53:05] local.INFO: Acknowledgment sent {"connection_id":50048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:53:27] local.INFO: TCP Data received {"connection_id":50193,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:53:27] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:53:27] local.INFO: IMEI packet received {"connection_id":50193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":50193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:53:33] local.INFO: TCP Data received {"connection_id":50193,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:53:33] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:53:33] local.INFO: IMEI packet received {"connection_id":50193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":50193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:53:34] local.INFO: TCP Data received {"connection_id":50193,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:53:34] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:53:34] local.INFO: Packet analysis {"connection_id":50193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:53:34] local.INFO: Extracted packet for processing {"connection_id":50193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:53:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 00:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 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-22 00:53: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-22 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 00:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:53:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":50193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:53:34] local.INFO: GPS data processed {"connection_id":50193,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:53:34] local.INFO: Acknowledgment sent {"connection_id":50193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:54:05] local.INFO: TCP Data received {"connection_id":50193,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:54:05] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:54:05] local.INFO: Packet analysis {"connection_id":50193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:54:05] local.INFO: Extracted packet for processing {"connection_id":50193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:54:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 00: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-22 00:54: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-22 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00: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-22 00: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-22 00:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:54:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":50193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:54:05] local.INFO: GPS data processed {"connection_id":50193,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:54:05] local.INFO: Acknowledgment sent {"connection_id":50193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:54:27] local.INFO: TCP Data received {"connection_id":49822,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:54:27] local.INFO: Processing buffer {"connection_id":49822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:54:27] local.INFO: IMEI packet received {"connection_id":49822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":49822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:54:27] local.INFO: TCP Data received {"connection_id":50049,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:54:27] local.INFO: Processing buffer {"connection_id":50049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:54:27] local.INFO: IMEI packet received {"connection_id":50049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":50049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:54:33] local.INFO: TCP Data received {"connection_id":50049,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:54:33] local.INFO: Processing buffer {"connection_id":50049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:54:33] local.INFO: IMEI packet received {"connection_id":50049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":50049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:54:34] local.INFO: TCP Data received {"connection_id":50049,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:54:34] local.INFO: Processing buffer {"connection_id":50049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17b40d0012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:54:34] local.INFO: Packet analysis {"connection_id":50049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:54:34] local.INFO: Extracted packet for processing {"connection_id":50049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17b"} 
[2026-04-22 00:54:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860502272001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799138000,"timestamp_ms":1776799138000,"timestamp_seconds":1776799138,"priority":1,"record_length":96,"hex_timestamp":"0000019db17b40d0"} 
[2026-04-22 00:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:54: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-22 00:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 00:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860502272001,"66":25201,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860502272001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:54:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860502272001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":50049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:54:34] local.INFO: GPS data processed {"connection_id":50049,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:54:34] local.INFO: Acknowledgment sent {"connection_id":50049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:54:52] local.INFO: TCP Data received {"connection_id":50050,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:54:52] local.INFO: Processing buffer {"connection_id":50050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 00:54:52] local.INFO: IMEI packet received {"connection_id":50050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 00:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":50050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:55:05] local.INFO: TCP Data received {"connection_id":50049,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:55:05] local.INFO: Processing buffer {"connection_id":50049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:55:05] local.INFO: Packet analysis {"connection_id":50049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:55:05] local.INFO: Extracted packet for processing {"connection_id":50049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:55:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860579328001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799439000,"timestamp_ms":1776799439000,"timestamp_seconds":1776799439,"priority":1,"record_length":96,"hex_timestamp":"0000019db17fd898"} 
[2026-04-22 00: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-22 00:55: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-22 00: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-22 00:55: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-22 00: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-22 00: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-22 00:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860579328001,"66":25191,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860579328001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:55:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860579328001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":50049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:55:05] local.INFO: GPS data processed {"connection_id":50049,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:55:05] local.INFO: Acknowledgment sent {"connection_id":50049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:55:28] local.INFO: TCP Data received {"connection_id":50714,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:55:28] local.INFO: Processing buffer {"connection_id":50714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:55:28] local.INFO: IMEI packet received {"connection_id":50714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":50714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:55:33] local.INFO: TCP Data received {"connection_id":50714,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:55:33] local.INFO: Processing buffer {"connection_id":50714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:55:33] local.INFO: IMEI packet received {"connection_id":50714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":50714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:55:34] local.INFO: TCP Data received {"connection_id":50714,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:55:34] local.INFO: Processing buffer {"connection_id":50714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:55:34] local.INFO: Packet analysis {"connection_id":50714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:55:34] local.INFO: Extracted packet for processing {"connection_id":50714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:55:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860579328001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799439000,"timestamp_ms":1776799439000,"timestamp_seconds":1776799439,"priority":1,"record_length":96,"hex_timestamp":"0000019db17fd898"} 
[2026-04-22 00:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-22 00:55: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-22 00:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860579328001,"66":25191,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860579328001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:55:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860579328001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":50714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:55:34] local.INFO: GPS data processed {"connection_id":50714,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:55:34] local.INFO: Acknowledgment sent {"connection_id":50714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:56:05] local.INFO: TCP Data received {"connection_id":50714,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:56:05] local.INFO: Processing buffer {"connection_id":50714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:56:05] local.INFO: Packet analysis {"connection_id":50714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:56:05] local.INFO: Extracted packet for processing {"connection_id":50714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:56:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860579328001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799439000,"timestamp_ms":1776799439000,"timestamp_seconds":1776799439,"priority":1,"record_length":96,"hex_timestamp":"0000019db17fd898"} 
[2026-04-22 00: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-22 00:56: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-22 00: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":113,"data_length":795,"current_offset":136} 
[2026-04-22 00:56: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-22 00: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-22 00: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-22 00:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860579328001,"66":25191,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860579328001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:56:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860579328001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":50714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:56:05] local.INFO: GPS data processed {"connection_id":50714,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:56:05] local.INFO: Acknowledgment sent {"connection_id":50714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:56:27] local.INFO: TCP Data received {"connection_id":50051,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:56:27] local.INFO: Processing buffer {"connection_id":50051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:56:27] local.INFO: IMEI packet received {"connection_id":50051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":50051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:56:33] local.INFO: TCP Data received {"connection_id":50051,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:56:33] local.INFO: Processing buffer {"connection_id":50051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:56:33] local.INFO: IMEI packet received {"connection_id":50051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":50051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:56:34] local.INFO: TCP Data received {"connection_id":50051,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:56:34] local.INFO: Processing buffer {"connection_id":50051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:56:34] local.INFO: Packet analysis {"connection_id":50051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:56:34] local.INFO: Extracted packet for processing {"connection_id":50051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:56:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 00:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860579328001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799439000,"timestamp_ms":1776799439000,"timestamp_seconds":1776799439,"priority":1,"record_length":96,"hex_timestamp":"0000019db17fd898"} 
[2026-04-22 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-22 00:56: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-22 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-22 00:56: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-22 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-22 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-22 00:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860579328001,"66":25191,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860579328001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:56:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860579328001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":50051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:56:34] local.INFO: GPS data processed {"connection_id":50051,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:56:34] local.INFO: Acknowledgment sent {"connection_id":50051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:57:05] local.INFO: TCP Data received {"connection_id":50051,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:57:05] local.INFO: Processing buffer {"connection_id":50051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:57:05] local.INFO: Packet analysis {"connection_id":50051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:57:05] local.INFO: Extracted packet for processing {"connection_id":50051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:57:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860579328001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799439000,"timestamp_ms":1776799439000,"timestamp_seconds":1776799439,"priority":1,"record_length":96,"hex_timestamp":"0000019db17fd898"} 
[2026-04-22 00: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-22 00:57: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-22 00: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-22 00:57: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-22 00: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-22 00: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-22 00:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860579328001,"66":25191,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860579328001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:57:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860579328001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":50051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:57:05] local.INFO: GPS data processed {"connection_id":50051,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:57:05] local.INFO: Acknowledgment sent {"connection_id":50051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:57:27] local.INFO: TCP Data received {"connection_id":50196,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:57:27] local.INFO: Processing buffer {"connection_id":50196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:57:27] local.INFO: IMEI packet received {"connection_id":50196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":50196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:57:33] local.INFO: TCP Data received {"connection_id":50196,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:57:33] local.INFO: Processing buffer {"connection_id":50196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:57:33] local.INFO: IMEI packet received {"connection_id":50196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":50196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:57:34] local.INFO: TCP Data received {"connection_id":50196,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:57:34] local.INFO: Processing buffer {"connection_id":50196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:57:34] local.INFO: Packet analysis {"connection_id":50196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:57:34] local.INFO: Extracted packet for processing {"connection_id":50196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860579328001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799439000,"timestamp_ms":1776799439000,"timestamp_seconds":1776799439,"priority":1,"record_length":96,"hex_timestamp":"0000019db17fd898"} 
[2026-04-22 00:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:57: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-22 00:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-22 00:57: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-22 00:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860579328001,"66":25191,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860579328001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:57:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860579328001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":50196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:57:34] local.INFO: GPS data processed {"connection_id":50196,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:57:34] local.INFO: Acknowledgment sent {"connection_id":50196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:58:05] local.INFO: TCP Data received {"connection_id":50196,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:58:05] local.INFO: Processing buffer {"connection_id":50196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:58:05] local.INFO: Packet analysis {"connection_id":50196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:58:05] local.INFO: Extracted packet for processing {"connection_id":50196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:58:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860579328001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799439000,"timestamp_ms":1776799439000,"timestamp_seconds":1776799439,"priority":1,"record_length":96,"hex_timestamp":"0000019db17fd898"} 
[2026-04-22 00: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-22 00:58: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-22 00: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":113,"data_length":795,"current_offset":136} 
[2026-04-22 00:58: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-22 00: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-22 00: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-22 00:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860579328001,"66":25191,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860579328001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:58:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860579328001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":50196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:58:05] local.INFO: GPS data processed {"connection_id":50196,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:58:05] local.INFO: Acknowledgment sent {"connection_id":50196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:58:27] local.INFO: TCP Data received {"connection_id":50715,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:58:27] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:58:27] local.INFO: IMEI packet received {"connection_id":50715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:58:33] local.INFO: TCP Data received {"connection_id":50715,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:58:33] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:58:33] local.INFO: IMEI packet received {"connection_id":50715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":50715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:58:34] local.INFO: TCP Data received {"connection_id":50715,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:58:34] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:58:34] local.INFO: Packet analysis {"connection_id":50715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:58:34] local.INFO: Extracted packet for processing {"connection_id":50715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00: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-22 00:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860579328001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799439000,"timestamp_ms":1776799439000,"timestamp_seconds":1776799439,"priority":1,"record_length":96,"hex_timestamp":"0000019db17fd898"} 
[2026-04-22 00: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-22 00:58: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-22 00:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-22 00:58: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-22 00: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-22 00: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-22 00:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860579328001,"66":25191,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860579328001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:58:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860579328001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":50715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:58:34] local.INFO: GPS data processed {"connection_id":50715,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:58:34] local.INFO: Acknowledgment sent {"connection_id":50715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:59:05] local.INFO: TCP Data received {"connection_id":50715,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:59:05] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db17fd898012d77aa0005f275f8000e016628..."} 
[2026-04-22 00:59:05] local.INFO: Packet analysis {"connection_id":50715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:59:05] local.INFO: Extracted packet for processing {"connection_id":50715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db17f"} 
[2026-04-22 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":40,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860579328001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799439000,"timestamp_ms":1776799439000,"timestamp_seconds":1776799439,"priority":1,"record_length":96,"hex_timestamp":"0000019db17fd898"} 
[2026-04-22 00:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:59: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-22 00:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-22 00:59: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-22 00:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860579328001,"66":25191,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860579328001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:59:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860579328001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":50715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:59:05] local.INFO: GPS data processed {"connection_id":50715,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:59:05] local.INFO: Acknowledgment sent {"connection_id":50715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:59:33] local.INFO: TCP Data received {"connection_id":50197,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:59:33] local.INFO: Processing buffer {"connection_id":50197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:59:33] local.INFO: IMEI packet received {"connection_id":50197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 00:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":50197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 00:59:38] local.INFO: TCP Data received {"connection_id":50197,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:59:38] local.INFO: Processing buffer {"connection_id":50197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 00:59:38] local.INFO: IMEI packet received {"connection_id":50197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 00:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":50197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 00:59:39] local.INFO: TCP Data received {"connection_id":50197,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 00:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 00:59:39] local.INFO: Processing buffer {"connection_id":50197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 00:59:39] local.INFO: Packet analysis {"connection_id":50197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 00:59:39] local.INFO: Extracted packet for processing {"connection_id":50197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 00:59:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 00:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 00:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:59:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":50197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:59:39] local.INFO: GPS data processed {"connection_id":50197,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:59:39] local.INFO: Acknowledgment sent {"connection_id":50197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 00:59:39] local.INFO: TCP Data received {"connection_id":50197,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 00:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 00:59:39] local.INFO: Processing buffer {"connection_id":50197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 00:59:39] local.INFO: Packet analysis {"connection_id":50197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 00:59:39] local.INFO: Extracted packet for processing {"connection_id":50197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 00:59:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 00:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 00:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 00:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 00:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 00:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 00:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 00:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 00:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 00:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 00:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 00:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 00:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 00:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 00:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 00:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 00:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 00:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 00:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 00:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 00:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 00:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 00:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 00:59:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 00:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 00:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 00:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 00:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":50197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 00:59:40] local.INFO: GPS data processed {"connection_id":50197,"processed":1,"errors":0,"total":1} 
[2026-04-22 00:59:40] local.INFO: Acknowledgment sent {"connection_id":50197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:00:07] local.INFO: TCP Data received {"connection_id":50716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:00:07] local.INFO: Processing buffer {"connection_id":50716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:00:07] local.INFO: IMEI packet received {"connection_id":50716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":50716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:00:11] local.INFO: TCP Data received {"connection_id":50197,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:00:11] local.INFO: Processing buffer {"connection_id":50197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:00:11] local.INFO: Packet analysis {"connection_id":50197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:00:11] local.INFO: Extracted packet for processing {"connection_id":50197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:00:11] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 01: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-22 01:00: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-22 01: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":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:00:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":50197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:00:11] local.INFO: GPS data processed {"connection_id":50197,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:00:11] local.INFO: Acknowledgment sent {"connection_id":50197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:00:27] local.INFO: TCP Data received {"connection_id":50053,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:00:27] local.INFO: Processing buffer {"connection_id":50053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:00:27] local.INFO: IMEI packet received {"connection_id":50053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:00:33] local.INFO: TCP Data received {"connection_id":50053,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:00:33] local.INFO: Processing buffer {"connection_id":50053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:00:33] local.INFO: IMEI packet received {"connection_id":50053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":50053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:00:34] local.INFO: TCP Data received {"connection_id":50053,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:00:34] local.INFO: Processing buffer {"connection_id":50053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:00:34] local.INFO: Packet analysis {"connection_id":50053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:00:34] local.INFO: Extracted packet for processing {"connection_id":50053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:00:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 01:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:00: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-22 01:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:00:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":50053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:00:34] local.INFO: GPS data processed {"connection_id":50053,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:00:34] local.INFO: Acknowledgment sent {"connection_id":50053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:00:52] local.INFO: TCP Data received {"connection_id":50198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:00:52] local.INFO: Processing buffer {"connection_id":50198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:00:52] local.INFO: IMEI packet received {"connection_id":50198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":50198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:01:05] local.INFO: TCP Data received {"connection_id":50053,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:01:05] local.INFO: Processing buffer {"connection_id":50053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:01:05] local.INFO: Packet analysis {"connection_id":50053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:01:05] local.INFO: Extracted packet for processing {"connection_id":50053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:01:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 01: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-22 01:01: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-22 01: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":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:01:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":50053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:01:05] local.INFO: GPS data processed {"connection_id":50053,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:01:05] local.INFO: Acknowledgment sent {"connection_id":50053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:01:27] local.INFO: TCP Data received {"connection_id":49824,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:01:27] local.INFO: Processing buffer {"connection_id":49824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:01:27] local.INFO: IMEI packet received {"connection_id":49824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":49824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:01:33] local.INFO: TCP Data received {"connection_id":49824,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:01:33] local.INFO: Processing buffer {"connection_id":49824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:01:33] local.INFO: IMEI packet received {"connection_id":49824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":49824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:01:34] local.INFO: TCP Data received {"connection_id":49824,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:01:34] local.INFO: Processing buffer {"connection_id":49824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:01:34] local.INFO: Packet analysis {"connection_id":49824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:01:34] local.INFO: Extracted packet for processing {"connection_id":49824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:01:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 01:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:01: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-22 01:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:01:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":49824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:01:34] local.INFO: GPS data processed {"connection_id":49824,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:01:34] local.INFO: Acknowledgment sent {"connection_id":49824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:02:04] local.INFO: TCP Data received {"connection_id":49824,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:02:04] local.INFO: Processing buffer {"connection_id":49824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:02:04] local.INFO: Packet analysis {"connection_id":49824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:02:04] local.INFO: Extracted packet for processing {"connection_id":49824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:02:04] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 01: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-22 01:02: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-22 01: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:02:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":49824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:02:05] local.INFO: GPS data processed {"connection_id":49824,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:02:05] local.INFO: Acknowledgment sent {"connection_id":49824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:02:27] local.INFO: TCP Data received {"connection_id":50055,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:02:27] local.INFO: Processing buffer {"connection_id":50055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:02:27] local.INFO: IMEI packet received {"connection_id":50055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:02:33] local.INFO: TCP Data received {"connection_id":50055,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:02:33] local.INFO: Processing buffer {"connection_id":50055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:02:33] local.INFO: IMEI packet received {"connection_id":50055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":50055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:02:34] local.INFO: TCP Data received {"connection_id":50055,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:02:34] local.INFO: Processing buffer {"connection_id":50055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:02:34] local.INFO: Packet analysis {"connection_id":50055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:02:34] local.INFO: Extracted packet for processing {"connection_id":50055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:02:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 01: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-22 01:02: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-22 01:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:02:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":50055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:02:34] local.INFO: GPS data processed {"connection_id":50055,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:02:34] local.INFO: Acknowledgment sent {"connection_id":50055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:03:05] local.INFO: TCP Data received {"connection_id":50055,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:03:05] local.INFO: Processing buffer {"connection_id":50055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:03:05] local.INFO: Packet analysis {"connection_id":50055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:03:05] local.INFO: Extracted packet for processing {"connection_id":50055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:03:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 01:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 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-22 01:03: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-22 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:03:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":50055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:03:05] local.INFO: GPS data processed {"connection_id":50055,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:03:05] local.INFO: Acknowledgment sent {"connection_id":50055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:03:33] local.INFO: TCP Data received {"connection_id":50717,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:03:33] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:03:33] local.INFO: IMEI packet received {"connection_id":50717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":50717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:03:38] local.INFO: TCP Data received {"connection_id":50717,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:03:38] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:03:38] local.INFO: IMEI packet received {"connection_id":50717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":50717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:03:39] local.INFO: TCP Data received {"connection_id":50717,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:03:39] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:03:39] local.INFO: Packet analysis {"connection_id":50717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:03:39] local.INFO: Extracted packet for processing {"connection_id":50717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:03:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 01:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:03:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":50717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:03:39] local.INFO: GPS data processed {"connection_id":50717,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:03:39] local.INFO: Acknowledgment sent {"connection_id":50717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:03:43] local.INFO: TCP Data received {"connection_id":50717,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:03:43] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:03:43] local.INFO: Packet analysis {"connection_id":50717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:03:43] local.INFO: Extracted packet for processing {"connection_id":50717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:03:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 01:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:03:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":50717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:03:43] local.INFO: GPS data processed {"connection_id":50717,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:03:43] local.INFO: Acknowledgment sent {"connection_id":50717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:04:28] local.INFO: TCP Data received {"connection_id":49827,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:04:28] local.INFO: Processing buffer {"connection_id":49827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:04:28] local.INFO: IMEI packet received {"connection_id":49827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":49827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:04:33] local.INFO: TCP Data received {"connection_id":49827,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:04:33] local.INFO: Processing buffer {"connection_id":49827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:04:33] local.INFO: IMEI packet received {"connection_id":49827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":49827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:04:34] local.INFO: TCP Data received {"connection_id":49827,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:04:34] local.INFO: Processing buffer {"connection_id":49827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1847060012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:04:34] local.INFO: Packet analysis {"connection_id":49827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:04:34] local.INFO: Extracted packet for processing {"connection_id":49827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db184"} 
[2026-04-22 01:04:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860656384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776799740000,"timestamp_ms":1776799740000,"timestamp_seconds":1776799740,"priority":1,"record_length":96,"hex_timestamp":"0000019db1847060"} 
[2026-04-22 01: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-22 01:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 01:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860656384001,"66":25104,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860656384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:04:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860656384001,"power":25104,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":49827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:04:34] local.INFO: GPS data processed {"connection_id":49827,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:04:34] local.INFO: Acknowledgment sent {"connection_id":49827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:05:05] local.INFO: TCP Data received {"connection_id":49827,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:05:05] local.INFO: Processing buffer {"connection_id":49827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:05:05] local.INFO: Packet analysis {"connection_id":49827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:05:05] local.INFO: Extracted packet for processing {"connection_id":49827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:05:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 01:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 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-22 01:05: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-22 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:05:05] 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-22 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-22 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-22 01:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:05:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":49827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:05:05] local.INFO: GPS data processed {"connection_id":49827,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:05:05] local.INFO: Acknowledgment sent {"connection_id":49827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:05:27] local.INFO: TCP Data received {"connection_id":50718,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:05:27] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:05:27] local.INFO: IMEI packet received {"connection_id":50718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:05:33] local.INFO: TCP Data received {"connection_id":50718,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:05:33] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:05:33] local.INFO: IMEI packet received {"connection_id":50718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":50718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:05:34] local.INFO: TCP Data received {"connection_id":50718,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:05:34] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:05:34] local.INFO: Packet analysis {"connection_id":50718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:05:34] local.INFO: Extracted packet for processing {"connection_id":50718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:05:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 01: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-22 01: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-22 01: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":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:05:34] 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-22 01: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-22 01: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-22 01:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:05:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":50718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:05:34] local.INFO: GPS data processed {"connection_id":50718,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:05:34] local.INFO: Acknowledgment sent {"connection_id":50718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:06:05] local.INFO: TCP Data received {"connection_id":50718,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:06:05] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:06:05] local.INFO: Packet analysis {"connection_id":50718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:06:05] local.INFO: Extracted packet for processing {"connection_id":50718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:06:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 01: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-22 01:06: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-22 01: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:06:05] 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-22 01: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-22 01: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-22 01:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:06:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":50718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:06:05] local.INFO: GPS data processed {"connection_id":50718,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:06:05] local.INFO: Acknowledgment sent {"connection_id":50718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:06:17] local.INFO: TCP Data received {"connection_id":50057,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:06:17] local.INFO: Processing buffer {"connection_id":50057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:06:17] local.INFO: IMEI packet received {"connection_id":50057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":50057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:06:27] local.INFO: TCP Data received {"connection_id":50058,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:06:27] local.INFO: Processing buffer {"connection_id":50058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:06:27] local.INFO: IMEI packet received {"connection_id":50058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:06:33] local.INFO: TCP Data received {"connection_id":50058,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:06:33] local.INFO: Processing buffer {"connection_id":50058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:06:33] local.INFO: IMEI packet received {"connection_id":50058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":50058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:06:34] local.INFO: TCP Data received {"connection_id":50058,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:06:34] local.INFO: Processing buffer {"connection_id":50058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:06:34] local.INFO: Packet analysis {"connection_id":50058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:06:34] local.INFO: Extracted packet for processing {"connection_id":50058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:06:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 01:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:06: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-22 01:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:06:34] 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-22 01:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:06:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":50058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:06:34] local.INFO: GPS data processed {"connection_id":50058,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:06:34] local.INFO: Acknowledgment sent {"connection_id":50058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:06:57] local.INFO: TCP Data received {"connection_id":50202,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:06:57] local.INFO: Processing buffer {"connection_id":50202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:06:57] local.INFO: IMEI packet received {"connection_id":50202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":50202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:07:05] local.INFO: TCP Data received {"connection_id":50058,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:07:05] local.INFO: Processing buffer {"connection_id":50058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:07:05] local.INFO: Packet analysis {"connection_id":50058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:07:05] local.INFO: Extracted packet for processing {"connection_id":50058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:07:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 01: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-22 01: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-22 01: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":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:07:05] 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-22 01: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-22 01: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-22 01:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:07:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":50058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:07:05] local.INFO: GPS data processed {"connection_id":50058,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:07:05] local.INFO: Acknowledgment sent {"connection_id":50058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:07:33] local.INFO: TCP Data received {"connection_id":50719,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:07:33] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:07:33] local.INFO: IMEI packet received {"connection_id":50719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":50719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:07:38] local.INFO: TCP Data received {"connection_id":50719,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:07:38] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:07:38] local.INFO: IMEI packet received {"connection_id":50719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":50719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:07:39] local.INFO: TCP Data received {"connection_id":50719,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:07:39] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:07:39] local.INFO: Packet analysis {"connection_id":50719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:07:39] local.INFO: Extracted packet for processing {"connection_id":50719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:07:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 01:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:07: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-22 01:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:07:39] 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-22 01:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:07:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":50719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:07:39] local.INFO: GPS data processed {"connection_id":50719,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:07:39] local.INFO: Acknowledgment sent {"connection_id":50719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:07:43] local.INFO: TCP Data received {"connection_id":50719,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:07:43] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:07:43] local.INFO: Packet analysis {"connection_id":50719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:07:43] local.INFO: Extracted packet for processing {"connection_id":50719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:07:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:07: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-22 01:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 01:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:07: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:07:43] 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-22 01:07: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-22 01:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:07:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":50719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:07:43] local.INFO: GPS data processed {"connection_id":50719,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:07:43] local.INFO: Acknowledgment sent {"connection_id":50719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:08:28] local.INFO: TCP Data received {"connection_id":50203,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:08:28] local.INFO: Processing buffer {"connection_id":50203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:08:28] local.INFO: IMEI packet received {"connection_id":50203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":50203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:08:33] local.INFO: TCP Data received {"connection_id":50203,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:08:33] local.INFO: Processing buffer {"connection_id":50203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:08:33] local.INFO: IMEI packet received {"connection_id":50203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":50203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:08:39] local.INFO: TCP Data received {"connection_id":50203,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:08:39] local.INFO: Processing buffer {"connection_id":50203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:08:39] local.INFO: Packet analysis {"connection_id":50203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:08:39] local.INFO: Extracted packet for processing {"connection_id":50203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:08:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 01:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:08: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-22 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:08:39] 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-22 01:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:08:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":50203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:08:39] local.INFO: GPS data processed {"connection_id":50203,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:08:39] local.INFO: Acknowledgment sent {"connection_id":50203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:09:17] local.INFO: TCP Data received {"connection_id":50203,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:09:17] local.INFO: Processing buffer {"connection_id":50203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:09:17] local.INFO: Packet analysis {"connection_id":50203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:09:17] local.INFO: Extracted packet for processing {"connection_id":50203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:09:17] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 01:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:09:17] 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-22 01:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":50203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":50203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":50203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:09:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":50203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:09:17] local.INFO: GPS data processed {"connection_id":50203,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:09:17] local.INFO: Acknowledgment sent {"connection_id":50203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:09:27] local.INFO: TCP Data received {"connection_id":50720,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:09:27] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:09:27] local.INFO: IMEI packet received {"connection_id":50720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:09:33] local.INFO: TCP Data received {"connection_id":50720,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:09:33] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:09:33] local.INFO: IMEI packet received {"connection_id":50720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":50720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:09:34] local.INFO: TCP Data received {"connection_id":50720,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:09:34] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1890828012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:09:34] local.INFO: Packet analysis {"connection_id":50720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:09:34] local.INFO: Extracted packet for processing {"connection_id":50720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db189"} 
[2026-04-22 01:09:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860733440001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800041000,"timestamp_ms":1776800041000,"timestamp_seconds":1776800041,"priority":1,"record_length":96,"hex_timestamp":"0000019db1890828"} 
[2026-04-22 01: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-22 01:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 01:09:34] 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-22 01: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-22 01: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-22 01:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860733440001,"66":25093,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860733440001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:09:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860733440001,"power":25093,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":50720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:09:34] local.INFO: GPS data processed {"connection_id":50720,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:09:34] local.INFO: Acknowledgment sent {"connection_id":50720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:10:05] local.INFO: TCP Data received {"connection_id":50720,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:10:05] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:10:05] local.INFO: Packet analysis {"connection_id":50720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:10:05] local.INFO: Extracted packet for processing {"connection_id":50720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:10:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01: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-22 01:10: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-22 01: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":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:10:05] 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-22 01: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-22 01: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-22 01:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:10:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":50720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:10:05] local.INFO: GPS data processed {"connection_id":50720,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:10:05] local.INFO: Acknowledgment sent {"connection_id":50720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:10:33] local.INFO: TCP Data received {"connection_id":49828,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:10:33] local.INFO: Processing buffer {"connection_id":49828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:10:33] local.INFO: IMEI packet received {"connection_id":49828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":49828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:10:38] local.INFO: TCP Data received {"connection_id":49828,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:10:38] local.INFO: Processing buffer {"connection_id":49828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:10:38] local.INFO: IMEI packet received {"connection_id":49828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":49828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:10:39] local.INFO: TCP Data received {"connection_id":49828,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:10:39] local.INFO: Processing buffer {"connection_id":49828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:10:39] local.INFO: Packet analysis {"connection_id":49828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:10:39] local.INFO: Extracted packet for processing {"connection_id":49828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:10:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:10: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-22 01:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:10:39] 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-22 01:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":49828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":49828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":49828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:10:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":49828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:10:39] local.INFO: GPS data processed {"connection_id":49828,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:10:39] local.INFO: Acknowledgment sent {"connection_id":49828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:10:43] local.INFO: TCP Data received {"connection_id":49828,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:10:43] local.INFO: Processing buffer {"connection_id":49828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:10:43] local.INFO: Packet analysis {"connection_id":49828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:10:43] local.INFO: Extracted packet for processing {"connection_id":49828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:10:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:10:43] 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-22 01:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:10:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":49828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:10:43] local.INFO: GPS data processed {"connection_id":49828,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:10:43] local.INFO: Acknowledgment sent {"connection_id":49828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:11:28] local.INFO: TCP Data received {"connection_id":50721,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:11:28] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:11:28] local.INFO: IMEI packet received {"connection_id":50721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":50721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:11:33] local.INFO: TCP Data received {"connection_id":50721,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:11:33] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:11:33] local.INFO: IMEI packet received {"connection_id":50721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":50721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:11:34] local.INFO: TCP Data received {"connection_id":50721,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:11:34] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:11:34] local.INFO: Packet analysis {"connection_id":50721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:11:34] local.INFO: Extracted packet for processing {"connection_id":50721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:11:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:11: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-22 01:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:11:34] 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-22 01:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:11:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":50721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:11:34] local.INFO: GPS data processed {"connection_id":50721,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:11:34] local.INFO: Acknowledgment sent {"connection_id":50721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:12:05] local.INFO: TCP Data received {"connection_id":50721,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:12:05] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:12:05] local.INFO: Packet analysis {"connection_id":50721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:12:05] local.INFO: Extracted packet for processing {"connection_id":50721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:12:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01: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-22 01: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-22 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:12:05] 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-22 01: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-22 01: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-22 01:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:12:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":50721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:12:05] local.INFO: GPS data processed {"connection_id":50721,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:12:05] local.INFO: Acknowledgment sent {"connection_id":50721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:12:27] local.INFO: TCP Data received {"connection_id":50060,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:12:27] local.INFO: Processing buffer {"connection_id":50060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:12:27] local.INFO: IMEI packet received {"connection_id":50060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":50060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:12:28] local.INFO: TCP Data received {"connection_id":49830,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:12:28] local.INFO: Processing buffer {"connection_id":49830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:12:28] local.INFO: IMEI packet received {"connection_id":49830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":49830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:12:33] local.INFO: TCP Data received {"connection_id":49830,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:12:33] local.INFO: Processing buffer {"connection_id":49830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:12:33] local.INFO: IMEI packet received {"connection_id":49830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":49830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:12:34] local.INFO: TCP Data received {"connection_id":49830,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:12:34] local.INFO: Processing buffer {"connection_id":49830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:12:34] local.INFO: Packet analysis {"connection_id":49830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:12:34] local.INFO: Extracted packet for processing {"connection_id":49830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:12:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01: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-22 01: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-22 01:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:12:34] 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-22 01: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-22 01: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-22 01:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:12:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":49830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:12:34] local.INFO: GPS data processed {"connection_id":49830,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:12:34] local.INFO: Acknowledgment sent {"connection_id":49830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:12:52] local.INFO: TCP Data received {"connection_id":50061,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:12:52] local.INFO: Processing buffer {"connection_id":50061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:12:52] local.INFO: IMEI packet received {"connection_id":50061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":50061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:13:05] local.INFO: TCP Data received {"connection_id":49830,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:13:05] local.INFO: Processing buffer {"connection_id":49830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:13:05] local.INFO: Packet analysis {"connection_id":49830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:13:05] local.INFO: Extracted packet for processing {"connection_id":49830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:13:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01: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-22 01:13: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-22 01: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":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:13:05] 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-22 01: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-22 01: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-22 01:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:13:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":49830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:13:05] local.INFO: GPS data processed {"connection_id":49830,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:13:05] local.INFO: Acknowledgment sent {"connection_id":49830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:13:27] local.INFO: TCP Data received {"connection_id":50722,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:13:27] local.INFO: Processing buffer {"connection_id":50722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:13:27] local.INFO: IMEI packet received {"connection_id":50722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:13:33] local.INFO: TCP Data received {"connection_id":50722,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:13:33] local.INFO: Processing buffer {"connection_id":50722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:13:33] local.INFO: IMEI packet received {"connection_id":50722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":50722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:13:34] local.INFO: TCP Data received {"connection_id":50722,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:13:34] local.INFO: Processing buffer {"connection_id":50722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:13:34] local.INFO: Packet analysis {"connection_id":50722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:13:34] local.INFO: Extracted packet for processing {"connection_id":50722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:13:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:13: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-22 01:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:13:34] 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-22 01:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:13:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":50722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:13:34] local.INFO: GPS data processed {"connection_id":50722,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:13:34] local.INFO: Acknowledgment sent {"connection_id":50722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:14:05] local.INFO: TCP Data received {"connection_id":50722,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:14:05] local.INFO: Processing buffer {"connection_id":50722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:14:05] local.INFO: Packet analysis {"connection_id":50722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:14:05] local.INFO: Extracted packet for processing {"connection_id":50722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:14:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:14: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-22 01:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:14:05] 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-22 01:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:14:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":50722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:14:05] local.INFO: GPS data processed {"connection_id":50722,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:14:05] local.INFO: Acknowledgment sent {"connection_id":50722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:14:27] local.INFO: TCP Data received {"connection_id":50206,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:14:27] local.INFO: Processing buffer {"connection_id":50206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:14:27] local.INFO: IMEI packet received {"connection_id":50206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:14:33] local.INFO: TCP Data received {"connection_id":50206,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:14:33] local.INFO: Processing buffer {"connection_id":50206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:14:33] local.INFO: IMEI packet received {"connection_id":50206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":50206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:14:34] local.INFO: TCP Data received {"connection_id":50206,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:14:34] local.INFO: Processing buffer {"connection_id":50206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db18d9ff0012d77aa0005f275f8000e016620..."} 
[2026-04-22 01:14:34] local.INFO: Packet analysis {"connection_id":50206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:14:34] local.INFO: Extracted packet for processing {"connection_id":50206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db18d"} 
[2026-04-22 01:14:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":32,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800342000,"timestamp_ms":1776800342000,"timestamp_seconds":1776800342,"priority":1,"record_length":96,"hex_timestamp":"0000019db18d9ff0"} 
[2026-04-22 01: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-22 01:14: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-22 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 01:14:34] 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-22 01: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-22 01: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-22 01:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860810496001,"66":25071,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:14:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860810496001,"power":25071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":50206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:14:34] local.INFO: GPS data processed {"connection_id":50206,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:14:34] local.INFO: Acknowledgment sent {"connection_id":50206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:15:28] local.INFO: TCP Data received {"connection_id":50063,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:15:28] local.INFO: Processing buffer {"connection_id":50063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:15:28] local.INFO: IMEI packet received {"connection_id":50063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":50063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:15:33] local.INFO: TCP Data received {"connection_id":50063,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:15:33] local.INFO: Processing buffer {"connection_id":50063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:15:33] local.INFO: IMEI packet received {"connection_id":50063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":50063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:15:34] local.INFO: TCP Data received {"connection_id":50063,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:15:34] local.INFO: Processing buffer {"connection_id":50063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:15:34] local.INFO: Packet analysis {"connection_id":50063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:15:34] local.INFO: Extracted packet for processing {"connection_id":50063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860887552001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800643000,"timestamp_ms":1776800643000,"timestamp_seconds":1776800643,"priority":1,"record_length":96,"hex_timestamp":"0000019db19237b8"} 
[2026-04-22 01:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:15: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-22 01:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 01:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860887552001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860887552001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:15:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860887552001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":50063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:15:34] local.INFO: GPS data processed {"connection_id":50063,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:15:34] local.INFO: Acknowledgment sent {"connection_id":50063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:16:05] local.INFO: TCP Data received {"connection_id":50063,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:16:05] local.INFO: Processing buffer {"connection_id":50063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:16:05] local.INFO: Packet analysis {"connection_id":50063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:16:05] local.INFO: Extracted packet for processing {"connection_id":50063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:16:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860887552001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800643000,"timestamp_ms":1776800643000,"timestamp_seconds":1776800643,"priority":1,"record_length":96,"hex_timestamp":"0000019db19237b8"} 
[2026-04-22 01:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:16: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-22 01:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 01:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860887552001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860887552001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:16:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860887552001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":50063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:16:05] local.INFO: GPS data processed {"connection_id":50063,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:16:05] local.INFO: Acknowledgment sent {"connection_id":50063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:16:28] local.INFO: TCP Data received {"connection_id":49832,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:16:28] local.INFO: Processing buffer {"connection_id":49832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:16:28] local.INFO: IMEI packet received {"connection_id":49832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":49832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:16:33] local.INFO: TCP Data received {"connection_id":49832,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:16:33] local.INFO: Processing buffer {"connection_id":49832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:16:33] local.INFO: IMEI packet received {"connection_id":49832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":49832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:16:34] local.INFO: TCP Data received {"connection_id":49832,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:16:34] local.INFO: Processing buffer {"connection_id":49832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:16:34] local.INFO: Packet analysis {"connection_id":49832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:16:34] local.INFO: Extracted packet for processing {"connection_id":49832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 01:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860887552001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800643000,"timestamp_ms":1776800643000,"timestamp_seconds":1776800643,"priority":1,"record_length":96,"hex_timestamp":"0000019db19237b8"} 
[2026-04-22 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-22 01:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 01:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860887552001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860887552001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:16:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860887552001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":49832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:16:34] local.INFO: GPS data processed {"connection_id":49832,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:16:34] local.INFO: Acknowledgment sent {"connection_id":49832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:17:05] local.INFO: TCP Data received {"connection_id":49832,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:17:05] local.INFO: Processing buffer {"connection_id":49832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:17:05] local.INFO: Packet analysis {"connection_id":49832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:17:05] local.INFO: Extracted packet for processing {"connection_id":49832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:17:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860887552001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800643000,"timestamp_ms":1776800643000,"timestamp_seconds":1776800643,"priority":1,"record_length":96,"hex_timestamp":"0000019db19237b8"} 
[2026-04-22 01: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-22 01:17: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-22 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 01:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860887552001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860887552001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:17:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860887552001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":49832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:17:05] local.INFO: GPS data processed {"connection_id":49832,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:17:05] local.INFO: Acknowledgment sent {"connection_id":49832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:17:27] local.INFO: TCP Data received {"connection_id":50208,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:17:27] local.INFO: Processing buffer {"connection_id":50208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:17:27] local.INFO: IMEI packet received {"connection_id":50208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":50208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:17:33] local.INFO: TCP Data received {"connection_id":50208,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:17:33] local.INFO: Processing buffer {"connection_id":50208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:17:33] local.INFO: IMEI packet received {"connection_id":50208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":50208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:17:34] local.INFO: TCP Data received {"connection_id":50208,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:17:34] local.INFO: Processing buffer {"connection_id":50208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:17:34] local.INFO: Packet analysis {"connection_id":50208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:17:34] local.INFO: Extracted packet for processing {"connection_id":50208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:17:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860887552001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800643000,"timestamp_ms":1776800643000,"timestamp_seconds":1776800643,"priority":1,"record_length":96,"hex_timestamp":"0000019db19237b8"} 
[2026-04-22 01: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-22 01:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 01:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860887552001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860887552001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:17:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860887552001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":50208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:17:34] local.INFO: GPS data processed {"connection_id":50208,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:17:34] local.INFO: Acknowledgment sent {"connection_id":50208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:18:05] local.INFO: TCP Data received {"connection_id":50208,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:18:05] local.INFO: Processing buffer {"connection_id":50208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:18:05] local.INFO: Packet analysis {"connection_id":50208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:18:05] local.INFO: Extracted packet for processing {"connection_id":50208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:18:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860887552001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800643000,"timestamp_ms":1776800643000,"timestamp_seconds":1776800643,"priority":1,"record_length":96,"hex_timestamp":"0000019db19237b8"} 
[2026-04-22 01: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-22 01: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-22 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 01:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860887552001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860887552001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:18:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860887552001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":50208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:18:05] local.INFO: GPS data processed {"connection_id":50208,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:18:05] local.INFO: Acknowledgment sent {"connection_id":50208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:18:17] local.INFO: TCP Data received {"connection_id":50064,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:18:17] local.INFO: Processing buffer {"connection_id":50064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:18:17] local.INFO: IMEI packet received {"connection_id":50064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":50064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:18:27] local.INFO: TCP Data received {"connection_id":49833,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:18:27] local.INFO: Processing buffer {"connection_id":49833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:18:27] local.INFO: IMEI packet received {"connection_id":49833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":49833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:18:33] local.INFO: TCP Data received {"connection_id":49833,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:18:33] local.INFO: Processing buffer {"connection_id":49833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:18:33] local.INFO: IMEI packet received {"connection_id":49833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":49833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:18:34] local.INFO: TCP Data received {"connection_id":49833,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:18:34] local.INFO: Processing buffer {"connection_id":49833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:18:34] local.INFO: Packet analysis {"connection_id":49833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:18:34] local.INFO: Extracted packet for processing {"connection_id":49833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:18:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860887552001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800643000,"timestamp_ms":1776800643000,"timestamp_seconds":1776800643,"priority":1,"record_length":96,"hex_timestamp":"0000019db19237b8"} 
[2026-04-22 01:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 01:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860887552001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860887552001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:18:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860887552001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":49833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:18:34] local.INFO: GPS data processed {"connection_id":49833,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:18:34] local.INFO: Acknowledgment sent {"connection_id":49833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:18:52] local.INFO: TCP Data received {"connection_id":50065,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:18:52] local.INFO: Processing buffer {"connection_id":50065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:18:52] local.INFO: IMEI packet received {"connection_id":50065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":50065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:19:05] local.INFO: TCP Data received {"connection_id":49833,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:19:05] local.INFO: Processing buffer {"connection_id":49833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:19:05] local.INFO: Packet analysis {"connection_id":49833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:19:05] local.INFO: Extracted packet for processing {"connection_id":49833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:19:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 01:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860887552001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800643000,"timestamp_ms":1776800643000,"timestamp_seconds":1776800643,"priority":1,"record_length":96,"hex_timestamp":"0000019db19237b8"} 
[2026-04-22 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-22 01:19: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-22 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 01:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860887552001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860887552001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:19:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860887552001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":49833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:19:05] local.INFO: GPS data processed {"connection_id":49833,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:19:05] local.INFO: Acknowledgment sent {"connection_id":49833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:19:28] local.INFO: TCP Data received {"connection_id":50724,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:19:28] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:19:28] local.INFO: IMEI packet received {"connection_id":50724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":50724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:19:33] local.INFO: TCP Data received {"connection_id":50724,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:19:33] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:19:33] local.INFO: IMEI packet received {"connection_id":50724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":50724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:19:34] local.INFO: TCP Data received {"connection_id":50724,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:19:34] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19237b8012d77aa0005f275f8000e016625..."} 
[2026-04-22 01:19:34] local.INFO: Packet analysis {"connection_id":50724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:19:34] local.INFO: Extracted packet for processing {"connection_id":50724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db192"} 
[2026-04-22 01:19:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860887552001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800643000,"timestamp_ms":1776800643000,"timestamp_seconds":1776800643,"priority":1,"record_length":96,"hex_timestamp":"0000019db19237b8"} 
[2026-04-22 01:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 01:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860887552001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860887552001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:19:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860887552001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":50724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:19:34] local.INFO: GPS data processed {"connection_id":50724,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:19:34] local.INFO: Acknowledgment sent {"connection_id":50724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:20:04] local.INFO: TCP Data received {"connection_id":50724,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:20:04] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:20:04] local.INFO: Packet analysis {"connection_id":50724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:20:04] local.INFO: Extracted packet for processing {"connection_id":50724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:20:04] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01: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-22 01:20: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-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:20:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:20:04] local.INFO: GPS data processed {"connection_id":50724,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:20:04] local.INFO: Acknowledgment sent {"connection_id":50724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:20:27] local.INFO: TCP Data received {"connection_id":50209,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:20:27] local.INFO: Processing buffer {"connection_id":50209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:20:27] local.INFO: IMEI packet received {"connection_id":50209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":50209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:20:33] local.INFO: TCP Data received {"connection_id":50209,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:20:33] local.INFO: Processing buffer {"connection_id":50209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:20:33] local.INFO: IMEI packet received {"connection_id":50209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":50209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:20:34] local.INFO: TCP Data received {"connection_id":50209,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:20:34] local.INFO: Processing buffer {"connection_id":50209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:20:34] local.INFO: Packet analysis {"connection_id":50209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:20:34] local.INFO: Extracted packet for processing {"connection_id":50209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:20:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:20:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":50209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:20:34] local.INFO: GPS data processed {"connection_id":50209,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:20:34] local.INFO: Acknowledgment sent {"connection_id":50209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:21:05] local.INFO: TCP Data received {"connection_id":50209,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:21:05] local.INFO: Processing buffer {"connection_id":50209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:21:05] local.INFO: Packet analysis {"connection_id":50209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:21:05] local.INFO: Extracted packet for processing {"connection_id":50209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:21:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01: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-22 01:21: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-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:21:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":50209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:21:05] local.INFO: GPS data processed {"connection_id":50209,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:21:05] local.INFO: Acknowledgment sent {"connection_id":50209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:21:27] local.INFO: TCP Data received {"connection_id":50068,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:21:27] local.INFO: Processing buffer {"connection_id":50068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:21:27] local.INFO: IMEI packet received {"connection_id":50068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:21:33] local.INFO: TCP Data received {"connection_id":50068,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:21:33] local.INFO: Processing buffer {"connection_id":50068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:21:33] local.INFO: IMEI packet received {"connection_id":50068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":50068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:21:34] local.INFO: TCP Data received {"connection_id":50068,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:21:34] local.INFO: Processing buffer {"connection_id":50068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:21:34] local.INFO: Packet analysis {"connection_id":50068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:21:34] local.INFO: Extracted packet for processing {"connection_id":50068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:21:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:21:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":50068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:21:34] local.INFO: GPS data processed {"connection_id":50068,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:21:34] local.INFO: Acknowledgment sent {"connection_id":50068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:22:05] local.INFO: TCP Data received {"connection_id":50068,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:22:05] local.INFO: Processing buffer {"connection_id":50068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:22:05] local.INFO: Packet analysis {"connection_id":50068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:22:05] local.INFO: Extracted packet for processing {"connection_id":50068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:22:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01: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-22 01:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:22:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":50068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:22:05] local.INFO: GPS data processed {"connection_id":50068,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:22:05] local.INFO: Acknowledgment sent {"connection_id":50068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:22:33] local.INFO: TCP Data received {"connection_id":49834,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:22:33] local.INFO: Processing buffer {"connection_id":49834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:22:33] local.INFO: IMEI packet received {"connection_id":49834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":49834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:22:38] local.INFO: TCP Data received {"connection_id":49834,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:22:38] local.INFO: Processing buffer {"connection_id":49834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:22:38] local.INFO: IMEI packet received {"connection_id":49834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":49834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:22:39] local.INFO: TCP Data received {"connection_id":49834,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:22:39] local.INFO: Processing buffer {"connection_id":49834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:22:39] local.INFO: Packet analysis {"connection_id":49834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:22:39] local.INFO: Extracted packet for processing {"connection_id":49834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:22:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01: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-22 01:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":49834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":49834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":49834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:22:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":49834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:22:39] local.INFO: GPS data processed {"connection_id":49834,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:22:39] local.INFO: Acknowledgment sent {"connection_id":49834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:22:43] local.INFO: TCP Data received {"connection_id":49834,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:22:43] local.INFO: Processing buffer {"connection_id":49834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:22:43] local.INFO: Packet analysis {"connection_id":49834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:22:43] local.INFO: Extracted packet for processing {"connection_id":49834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:22:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:22:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":49834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:22:43] local.INFO: GPS data processed {"connection_id":49834,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:22:43] local.INFO: Acknowledgment sent {"connection_id":49834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:23:28] local.INFO: TCP Data received {"connection_id":50210,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:23:28] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:23:28] local.INFO: IMEI packet received {"connection_id":50210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":50210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:23:33] local.INFO: TCP Data received {"connection_id":50210,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:23:33] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:23:33] local.INFO: IMEI packet received {"connection_id":50210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":50210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:23:34] local.INFO: TCP Data received {"connection_id":50210,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:23:34] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:23:34] local.INFO: Packet analysis {"connection_id":50210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:23:34] local.INFO: Extracted packet for processing {"connection_id":50210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:23:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01: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-22 01:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:23:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":50210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:23:34] local.INFO: GPS data processed {"connection_id":50210,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:23:34] local.INFO: Acknowledgment sent {"connection_id":50210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:24:05] local.INFO: TCP Data received {"connection_id":50210,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:24:05] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:24:05] local.INFO: Packet analysis {"connection_id":50210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:24:05] local.INFO: Extracted packet for processing {"connection_id":50210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:24:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01: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-22 01: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-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:24:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":50210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:24:05] local.INFO: GPS data processed {"connection_id":50210,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:24:05] local.INFO: Acknowledgment sent {"connection_id":50210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:24:12] local.INFO: TCP Data received {"connection_id":50069,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:24:12] local.INFO: Processing buffer {"connection_id":50069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:24:12] local.INFO: IMEI packet received {"connection_id":50069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":50069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:24:28] local.INFO: TCP Data received {"connection_id":49835,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:24:28] local.INFO: Processing buffer {"connection_id":49835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:24:28] local.INFO: IMEI packet received {"connection_id":49835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":49835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:24:33] local.INFO: TCP Data received {"connection_id":49835,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:24:33] local.INFO: Processing buffer {"connection_id":49835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:24:33] local.INFO: IMEI packet received {"connection_id":49835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":49835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:24:34] local.INFO: TCP Data received {"connection_id":49835,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:24:34] local.INFO: Processing buffer {"connection_id":49835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db196cf80012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:24:34] local.INFO: Packet analysis {"connection_id":49835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:24:34] local.INFO: Extracted packet for processing {"connection_id":49835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db196"} 
[2026-04-22 01:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454860964608001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776800944000,"timestamp_ms":1776800944000,"timestamp_seconds":1776800944,"priority":1,"record_length":96,"hex_timestamp":"0000019db196cf80"} 
[2026-04-22 01:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454860964608001,"66":25028,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454860964608001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:24:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454860964608001,"power":25028,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":49835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:24:34] local.INFO: GPS data processed {"connection_id":49835,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:24:34] local.INFO: Acknowledgment sent {"connection_id":49835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:24:57] local.INFO: TCP Data received {"connection_id":50211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:24:57] local.INFO: Processing buffer {"connection_id":50211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:24:57] local.INFO: IMEI packet received {"connection_id":50211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":50211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:25:05] local.INFO: TCP Data received {"connection_id":49835,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:25:05] local.INFO: Processing buffer {"connection_id":49835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:25:05] local.INFO: Packet analysis {"connection_id":49835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:25:05] local.INFO: Extracted packet for processing {"connection_id":49835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:25:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 01:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 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-22 01:25: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-22 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:25:05] 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-22 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-22 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-22 01:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:25:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":49835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:25:05] local.INFO: GPS data processed {"connection_id":49835,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:25:05] local.INFO: Acknowledgment sent {"connection_id":49835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:25:27] local.INFO: TCP Data received {"connection_id":50727,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:25:27] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:25:27] local.INFO: IMEI packet received {"connection_id":50727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:25:33] local.INFO: TCP Data received {"connection_id":50727,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:25:33] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:25:33] local.INFO: IMEI packet received {"connection_id":50727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":50727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:25:34] local.INFO: TCP Data received {"connection_id":50727,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:25:34] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:25:34] local.INFO: Packet analysis {"connection_id":50727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:25:34] local.INFO: Extracted packet for processing {"connection_id":50727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 01:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:25: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-22 01:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:25:34] 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-22 01:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:25:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":50727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:25:34] local.INFO: GPS data processed {"connection_id":50727,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:25:34] local.INFO: Acknowledgment sent {"connection_id":50727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:26:05] local.INFO: TCP Data received {"connection_id":50727,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:26:05] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:26:05] local.INFO: Packet analysis {"connection_id":50727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:26:05] local.INFO: Extracted packet for processing {"connection_id":50727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:26:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 01:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:26: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-22 01:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:26:05] 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-22 01:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:26:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":50727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:26:05] local.INFO: GPS data processed {"connection_id":50727,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:26:05] local.INFO: Acknowledgment sent {"connection_id":50727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:26:33] local.INFO: TCP Data received {"connection_id":49836,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:26:33] local.INFO: Processing buffer {"connection_id":49836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:26:33] local.INFO: IMEI packet received {"connection_id":49836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":49836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:26:38] local.INFO: TCP Data received {"connection_id":49836,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:26:38] local.INFO: Processing buffer {"connection_id":49836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:26:38] local.INFO: IMEI packet received {"connection_id":49836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":49836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:26:39] local.INFO: TCP Data received {"connection_id":49836,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:26:39] local.INFO: Processing buffer {"connection_id":49836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:26:39] local.INFO: Packet analysis {"connection_id":49836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:26:39] local.INFO: Extracted packet for processing {"connection_id":49836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:26:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 01:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:26: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-22 01:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:26:39] 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-22 01:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":49836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":49836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":49836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:26:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":49836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:26:39] local.INFO: GPS data processed {"connection_id":49836,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:26:39] local.INFO: Acknowledgment sent {"connection_id":49836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:26:44] local.INFO: TCP Data received {"connection_id":49836,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:26:44] local.INFO: Processing buffer {"connection_id":49836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:26:44] local.INFO: Packet analysis {"connection_id":49836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:26:44] local.INFO: Extracted packet for processing {"connection_id":49836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 01:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:26:44] 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-22 01:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":49836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":49836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":49836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:26:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":49836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:26:44] local.INFO: GPS data processed {"connection_id":49836,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:26:44] local.INFO: Acknowledgment sent {"connection_id":49836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:27:28] local.INFO: TCP Data received {"connection_id":49837,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:27:28] local.INFO: Processing buffer {"connection_id":49837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:27:28] local.INFO: IMEI packet received {"connection_id":49837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":49837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:27:33] local.INFO: TCP Data received {"connection_id":49837,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:27:33] local.INFO: Processing buffer {"connection_id":49837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:27:33] local.INFO: IMEI packet received {"connection_id":49837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":49837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:27:34] local.INFO: TCP Data received {"connection_id":49837,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:27:34] local.INFO: Processing buffer {"connection_id":49837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:27:34] local.INFO: Packet analysis {"connection_id":49837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:27:34] local.INFO: Extracted packet for processing {"connection_id":49837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:27:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 01:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:27: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-22 01:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:27:34] 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-22 01:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:27:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":49837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":41999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:27:34] local.INFO: GPS data processed {"connection_id":49837,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:27:34] local.INFO: Acknowledgment sent {"connection_id":49837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:28:05] local.INFO: TCP Data received {"connection_id":49837,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:28:05] local.INFO: Processing buffer {"connection_id":49837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:28:05] local.INFO: Packet analysis {"connection_id":49837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:28:05] local.INFO: Extracted packet for processing {"connection_id":49837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:28:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 01: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-22 01:28: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-22 01: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:28:05] 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-22 01: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-22 01: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-22 01:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:28:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":49837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:28:05] local.INFO: GPS data processed {"connection_id":49837,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:28:05] local.INFO: Acknowledgment sent {"connection_id":49837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:28:27] local.INFO: TCP Data received {"connection_id":49838,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:28:27] local.INFO: Processing buffer {"connection_id":49838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:28:27] local.INFO: IMEI packet received {"connection_id":49838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":49838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:28:33] local.INFO: TCP Data received {"connection_id":49838,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:28:33] local.INFO: Processing buffer {"connection_id":49838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:28:33] local.INFO: IMEI packet received {"connection_id":49838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":49838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:28:34] local.INFO: TCP Data received {"connection_id":49838,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:28:34] local.INFO: Processing buffer {"connection_id":49838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:28:34] local.INFO: Packet analysis {"connection_id":49838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:28:34] local.INFO: Extracted packet for processing {"connection_id":49838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:28:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 01:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:28: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-22 01:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:28:34] 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-22 01:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:28:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":49838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:28:34] local.INFO: GPS data processed {"connection_id":49838,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:28:34] local.INFO: Acknowledgment sent {"connection_id":49838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:29:05] local.INFO: TCP Data received {"connection_id":49838,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:29:05] local.INFO: Processing buffer {"connection_id":49838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:29:05] local.INFO: Packet analysis {"connection_id":49838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:29:05] local.INFO: Extracted packet for processing {"connection_id":49838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:29:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 01: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-22 01: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-22 01: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:29:05] 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-22 01: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-22 01: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-22 01:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:29:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":49838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:29:05] local.INFO: GPS data processed {"connection_id":49838,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:29:05] local.INFO: Acknowledgment sent {"connection_id":49838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:29:27] local.INFO: TCP Data received {"connection_id":50729,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:29:27] local.INFO: Processing buffer {"connection_id":50729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:29:27] local.INFO: IMEI packet received {"connection_id":50729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":50729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:29:33] local.INFO: TCP Data received {"connection_id":50729,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:29:33] local.INFO: Processing buffer {"connection_id":50729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:29:33] local.INFO: IMEI packet received {"connection_id":50729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":50729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:29:34] local.INFO: TCP Data received {"connection_id":50729,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:29:34] local.INFO: Processing buffer {"connection_id":50729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19b6748012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:29:34] local.INFO: Packet analysis {"connection_id":50729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:29:34] local.INFO: Extracted packet for processing {"connection_id":50729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19b"} 
[2026-04-22 01:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861041664001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801245000,"timestamp_ms":1776801245000,"timestamp_seconds":1776801245,"priority":1,"record_length":96,"hex_timestamp":"0000019db19b6748"} 
[2026-04-22 01: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-22 01:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 01:29:34] 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-22 01: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-22 01: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-22 01:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861041664001,"66":24995,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861041664001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:29:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861041664001,"power":24995,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":50729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:29:34] local.INFO: GPS data processed {"connection_id":50729,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:29:34] local.INFO: Acknowledgment sent {"connection_id":50729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:30:04] local.INFO: TCP Data received {"connection_id":50729,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:30:04] local.INFO: Processing buffer {"connection_id":50729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:30:04] local.INFO: Packet analysis {"connection_id":50729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:30:04] local.INFO: Extracted packet for processing {"connection_id":50729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:30:04] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01: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-22 01: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-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:30:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":50729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:30:05] local.INFO: GPS data processed {"connection_id":50729,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:30:05] local.INFO: Acknowledgment sent {"connection_id":50729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:30:12] local.INFO: TCP Data received {"connection_id":50070,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:30:12] local.INFO: Processing buffer {"connection_id":50070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:30:12] local.INFO: IMEI packet received {"connection_id":50070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":50070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:30:28] local.INFO: TCP Data received {"connection_id":50215,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:30:28] local.INFO: Processing buffer {"connection_id":50215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:30:28] local.INFO: IMEI packet received {"connection_id":50215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":50215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:30:33] local.INFO: TCP Data received {"connection_id":50215,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:30:33] local.INFO: Processing buffer {"connection_id":50215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:30:33] local.INFO: IMEI packet received {"connection_id":50215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":50215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:30:34] local.INFO: TCP Data received {"connection_id":50215,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:30:34] local.INFO: Processing buffer {"connection_id":50215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:30:34] local.INFO: Packet analysis {"connection_id":50215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:30:34] local.INFO: Extracted packet for processing {"connection_id":50215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:30:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:30: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-22 01:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:30:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":50215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:30:34] local.INFO: GPS data processed {"connection_id":50215,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:30:34] local.INFO: Acknowledgment sent {"connection_id":50215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:30:52] local.INFO: TCP Data received {"connection_id":50071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:30:52] local.INFO: Processing buffer {"connection_id":50071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:30:52] local.INFO: IMEI packet received {"connection_id":50071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":50071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:31:05] local.INFO: TCP Data received {"connection_id":50215,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:31:05] local.INFO: Processing buffer {"connection_id":50215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:31:05] local.INFO: Packet analysis {"connection_id":50215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:31:05] local.INFO: Extracted packet for processing {"connection_id":50215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:31:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01: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-22 01: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-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:31:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":50215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:31:05] local.INFO: GPS data processed {"connection_id":50215,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:31:05] local.INFO: Acknowledgment sent {"connection_id":50215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:31:28] local.INFO: TCP Data received {"connection_id":50072,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:31:28] local.INFO: Processing buffer {"connection_id":50072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:31:28] local.INFO: IMEI packet received {"connection_id":50072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":50072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:31:33] local.INFO: TCP Data received {"connection_id":50072,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:31:33] local.INFO: Processing buffer {"connection_id":50072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:31:33] local.INFO: IMEI packet received {"connection_id":50072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":50072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:31:34] local.INFO: TCP Data received {"connection_id":50072,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:31:34] local.INFO: Processing buffer {"connection_id":50072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:31:34] local.INFO: Packet analysis {"connection_id":50072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:31:34] local.INFO: Extracted packet for processing {"connection_id":50072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:31:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01: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-22 01:31: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-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:31:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":50072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:31:34] local.INFO: GPS data processed {"connection_id":50072,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:31:34] local.INFO: Acknowledgment sent {"connection_id":50072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:32:05] local.INFO: TCP Data received {"connection_id":50072,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:32:05] local.INFO: Processing buffer {"connection_id":50072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:32:05] local.INFO: Packet analysis {"connection_id":50072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:32:05] local.INFO: Extracted packet for processing {"connection_id":50072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01: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-22 01:32: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-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:32:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":50072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:32:05] local.INFO: GPS data processed {"connection_id":50072,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:32:05] local.INFO: Acknowledgment sent {"connection_id":50072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:32:27] local.INFO: TCP Data received {"connection_id":50730,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:32:27] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:32:27] local.INFO: IMEI packet received {"connection_id":50730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":50730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:32:33] local.INFO: TCP Data received {"connection_id":50730,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:32:33] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:32:33] local.INFO: IMEI packet received {"connection_id":50730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":50730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:32:34] local.INFO: TCP Data received {"connection_id":50730,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:32:34] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:32:34] local.INFO: Packet analysis {"connection_id":50730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:32:34] local.INFO: Extracted packet for processing {"connection_id":50730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:32:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:32: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-22 01:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:32:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":50730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:32:34] local.INFO: GPS data processed {"connection_id":50730,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:32:34] local.INFO: Acknowledgment sent {"connection_id":50730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:33:05] local.INFO: TCP Data received {"connection_id":50730,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:33:05] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:33:05] local.INFO: Packet analysis {"connection_id":50730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:33:05] local.INFO: Extracted packet for processing {"connection_id":50730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:33:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01: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-22 01:33: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-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:33:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":50730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:33:05] local.INFO: GPS data processed {"connection_id":50730,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:33:05] local.INFO: Acknowledgment sent {"connection_id":50730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:33:27] local.INFO: TCP Data received {"connection_id":49839,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:33:27] local.INFO: Processing buffer {"connection_id":49839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:33:27] local.INFO: IMEI packet received {"connection_id":49839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":49839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:33:33] local.INFO: TCP Data received {"connection_id":49839,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:33:33] local.INFO: Processing buffer {"connection_id":49839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:33:33] local.INFO: IMEI packet received {"connection_id":49839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":49839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:33:34] local.INFO: TCP Data received {"connection_id":49839,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:33:34] local.INFO: Processing buffer {"connection_id":49839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:33:34] local.INFO: Packet analysis {"connection_id":49839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:33:34] local.INFO: Extracted packet for processing {"connection_id":49839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:33: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-22 01:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:33:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":49839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:33:34] local.INFO: GPS data processed {"connection_id":49839,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:33:34] local.INFO: Acknowledgment sent {"connection_id":49839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:34:05] local.INFO: TCP Data received {"connection_id":49839,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:34:05] local.INFO: Processing buffer {"connection_id":49839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:34:05] local.INFO: Packet analysis {"connection_id":49839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:34:05] local.INFO: Extracted packet for processing {"connection_id":49839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:34:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01: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-22 01:34: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-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:34:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":49839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:34:05] local.INFO: GPS data processed {"connection_id":49839,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:34:05] local.INFO: Acknowledgment sent {"connection_id":49839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:34:33] local.INFO: TCP Data received {"connection_id":50074,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:34:33] local.INFO: Processing buffer {"connection_id":50074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:34:33] local.INFO: IMEI packet received {"connection_id":50074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":50074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:34:38] local.INFO: TCP Data received {"connection_id":50074,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:34:38] local.INFO: Processing buffer {"connection_id":50074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:34:38] local.INFO: IMEI packet received {"connection_id":50074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":50074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:34:39] local.INFO: TCP Data received {"connection_id":50074,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:34:39] local.INFO: Processing buffer {"connection_id":50074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:34:39] local.INFO: Packet analysis {"connection_id":50074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:34:39] local.INFO: Extracted packet for processing {"connection_id":50074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:34:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:34: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-22 01:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:34:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":50074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:34:39] local.INFO: GPS data processed {"connection_id":50074,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:34:39] local.INFO: Acknowledgment sent {"connection_id":50074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:34:43] local.INFO: TCP Data received {"connection_id":50074,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:34:43] local.INFO: Processing buffer {"connection_id":50074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db19fff10012d77aa0005f275f8000e016627..."} 
[2026-04-22 01:34:43] local.INFO: Packet analysis {"connection_id":50074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:34:43] local.INFO: Extracted packet for processing {"connection_id":50074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db19f"} 
[2026-04-22 01:34:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":39,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861118720001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776801546000,"timestamp_ms":1776801546000,"timestamp_seconds":1776801546,"priority":1,"record_length":96,"hex_timestamp":"0000019db19fff10"} 
[2026-04-22 01: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-22 01:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 01:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861118720001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861118720001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:34:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861118720001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":50074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:34:43] local.INFO: GPS data processed {"connection_id":50074,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:34:43] local.INFO: Acknowledgment sent {"connection_id":50074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:35:27] local.INFO: TCP Data received {"connection_id":50732,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:35:27] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:35:27] local.INFO: IMEI packet received {"connection_id":50732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:35:33] local.INFO: TCP Data received {"connection_id":50732,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:35:33] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:35:33] local.INFO: IMEI packet received {"connection_id":50732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":50732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:35:34] local.INFO: TCP Data received {"connection_id":50732,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:35:34] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:35:34] local.INFO: Packet analysis {"connection_id":50732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:35:34] local.INFO: Extracted packet for processing {"connection_id":50732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:35:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 01:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861195776001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801847000,"timestamp_ms":1776801847000,"timestamp_seconds":1776801847,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a496d8"} 
[2026-04-22 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-22 01:35: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-22 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861195776001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861195776001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:35:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861195776001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":50732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:35:34] local.INFO: GPS data processed {"connection_id":50732,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:35:34] local.INFO: Acknowledgment sent {"connection_id":50732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:36:05] local.INFO: TCP Data received {"connection_id":50732,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:36:05] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:36:05] local.INFO: Packet analysis {"connection_id":50732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:36:05] local.INFO: Extracted packet for processing {"connection_id":50732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:36:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861195776001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801847000,"timestamp_ms":1776801847000,"timestamp_seconds":1776801847,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a496d8"} 
[2026-04-22 01: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-22 01: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-22 01: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861195776001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861195776001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:36:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861195776001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":50732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:36:05] local.INFO: GPS data processed {"connection_id":50732,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:36:05] local.INFO: Acknowledgment sent {"connection_id":50732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:36:17] local.INFO: TCP Data received {"connection_id":50075,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:36:17] local.INFO: Processing buffer {"connection_id":50075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:36:17] local.INFO: IMEI packet received {"connection_id":50075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":50075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:36:27] local.INFO: TCP Data received {"connection_id":49840,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:36:27] local.INFO: Processing buffer {"connection_id":49840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:36:27] local.INFO: IMEI packet received {"connection_id":49840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":49840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:36:33] local.INFO: TCP Data received {"connection_id":49840,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:36:33] local.INFO: Processing buffer {"connection_id":49840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:36:33] local.INFO: IMEI packet received {"connection_id":49840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":49840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:36:34] local.INFO: TCP Data received {"connection_id":49840,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:36:34] local.INFO: Processing buffer {"connection_id":49840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:36:34] local.INFO: Packet analysis {"connection_id":49840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:36:34] local.INFO: Extracted packet for processing {"connection_id":49840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 01:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861195776001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801847000,"timestamp_ms":1776801847000,"timestamp_seconds":1776801847,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a496d8"} 
[2026-04-22 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-22 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861195776001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861195776001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:36:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861195776001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":49840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:36:34] local.INFO: GPS data processed {"connection_id":49840,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:36:34] local.INFO: Acknowledgment sent {"connection_id":49840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:36:57] local.INFO: TCP Data received {"connection_id":50218,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:36:57] local.INFO: Processing buffer {"connection_id":50218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:36:57] local.INFO: IMEI packet received {"connection_id":50218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":50218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:37:05] local.INFO: TCP Data received {"connection_id":49840,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:37:05] local.INFO: Processing buffer {"connection_id":49840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:37:05] local.INFO: Packet analysis {"connection_id":49840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:37:05] local.INFO: Extracted packet for processing {"connection_id":49840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:37:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 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-22 01:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861195776001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801847000,"timestamp_ms":1776801847000,"timestamp_seconds":1776801847,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a496d8"} 
[2026-04-22 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-22 01:37: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-22 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861195776001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861195776001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:37:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861195776001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":49840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:37:05] local.INFO: GPS data processed {"connection_id":49840,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:37:05] local.INFO: Acknowledgment sent {"connection_id":49840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:37:27] local.INFO: TCP Data received {"connection_id":50219,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:37:27] local.INFO: Processing buffer {"connection_id":50219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:37:27] local.INFO: IMEI packet received {"connection_id":50219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":50219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:37:33] local.INFO: TCP Data received {"connection_id":50219,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:37:33] local.INFO: Processing buffer {"connection_id":50219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:37:33] local.INFO: IMEI packet received {"connection_id":50219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":50219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:37:34] local.INFO: TCP Data received {"connection_id":50219,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:37:34] local.INFO: Processing buffer {"connection_id":50219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:37:34] local.INFO: Packet analysis {"connection_id":50219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:37:34] local.INFO: Extracted packet for processing {"connection_id":50219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:37:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861195776001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801847000,"timestamp_ms":1776801847000,"timestamp_seconds":1776801847,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a496d8"} 
[2026-04-22 01: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-22 01:37: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-22 01: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861195776001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861195776001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:37:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861195776001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":50219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:37:34] local.INFO: GPS data processed {"connection_id":50219,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:37:34] local.INFO: Acknowledgment sent {"connection_id":50219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:38:05] local.INFO: TCP Data received {"connection_id":50219,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:38:05] local.INFO: Processing buffer {"connection_id":50219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:38:05] local.INFO: Packet analysis {"connection_id":50219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:38:05] local.INFO: Extracted packet for processing {"connection_id":50219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:38:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861195776001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776801847000,"timestamp_ms":1776801847000,"timestamp_seconds":1776801847,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a496d8"} 
[2026-04-22 01: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-22 01: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-22 01: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861195776001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861195776001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:38:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861195776001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":50219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:38:05] local.INFO: GPS data processed {"connection_id":50219,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:38:05] local.INFO: Acknowledgment sent {"connection_id":50219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:38:33] local.INFO: TCP Data received {"connection_id":50220,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:38:33] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:38:33] local.INFO: IMEI packet received {"connection_id":50220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":50220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:38:38] local.INFO: TCP Data received {"connection_id":50220,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:38:38] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:38:38] local.INFO: IMEI packet received {"connection_id":50220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":50220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:38:39] local.INFO: TCP Data received {"connection_id":50220,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:38:39] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:38:39] local.INFO: Packet analysis {"connection_id":50220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:38:39] local.INFO: Extracted packet for processing {"connection_id":50220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:38:39] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861195776001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776801847000,"timestamp_ms":1776801847000,"timestamp_seconds":1776801847,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a496d8"} 
[2026-04-22 01:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:38: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-22 01:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861195776001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861195776001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:38:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861195776001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":50220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:38:39] local.INFO: GPS data processed {"connection_id":50220,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:38:39] local.INFO: Acknowledgment sent {"connection_id":50220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:38:43] local.INFO: TCP Data received {"connection_id":50220,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:38:43] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:38:43] local.INFO: Packet analysis {"connection_id":50220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:38:43] local.INFO: Extracted packet for processing {"connection_id":50220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:38:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861195776001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776801847000,"timestamp_ms":1776801847000,"timestamp_seconds":1776801847,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a496d8"} 
[2026-04-22 01:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861195776001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861195776001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:38:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861195776001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":50220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:38:43] local.INFO: GPS data processed {"connection_id":50220,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:38:43] local.INFO: Acknowledgment sent {"connection_id":50220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:39:28] local.INFO: TCP Data received {"connection_id":50077,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:39:28] local.INFO: Processing buffer {"connection_id":50077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:39:28] local.INFO: IMEI packet received {"connection_id":50077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":50077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:39:33] local.INFO: TCP Data received {"connection_id":50077,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:39:33] local.INFO: Processing buffer {"connection_id":50077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:39:33] local.INFO: IMEI packet received {"connection_id":50077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":50077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:39:34] local.INFO: TCP Data received {"connection_id":50077,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:39:34] local.INFO: Processing buffer {"connection_id":50077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a496d8012d77aa0005f275f8000e016624..."} 
[2026-04-22 01:39:34] local.INFO: Packet analysis {"connection_id":50077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:39:34] local.INFO: Extracted packet for processing {"connection_id":50077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a4"} 
[2026-04-22 01:39:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":36,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861195776001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776801847000,"timestamp_ms":1776801847000,"timestamp_seconds":1776801847,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a496d8"} 
[2026-04-22 01: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-22 01:39: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-22 01: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861195776001,"66":24930,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861195776001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:39:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861195776001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":50077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:39:34] local.INFO: GPS data processed {"connection_id":50077,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:39:34] local.INFO: Acknowledgment sent {"connection_id":50077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:40:04] local.INFO: TCP Data received {"connection_id":50077,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:40:04] local.INFO: Processing buffer {"connection_id":50077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:40:04] local.INFO: Packet analysis {"connection_id":50077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:40:04] local.INFO: Extracted packet for processing {"connection_id":50077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:40:04] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861272832001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776802148000,"timestamp_ms":1776802148000,"timestamp_seconds":1776802148,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a92ea0"} 
[2026-04-22 01: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-22 01:40: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-22 01: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861272832001,"66":24973,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861272832001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:40:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861272832001,"power":24973,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":50077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:40:04] local.INFO: GPS data processed {"connection_id":50077,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:40:04] local.INFO: Acknowledgment sent {"connection_id":50077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:40:27] local.INFO: TCP Data received {"connection_id":50734,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:40:27] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:40:27] local.INFO: IMEI packet received {"connection_id":50734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:40:33] local.INFO: TCP Data received {"connection_id":50734,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:40:33] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:40:33] local.INFO: IMEI packet received {"connection_id":50734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":50734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:40:34] local.INFO: TCP Data received {"connection_id":50734,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:40:34] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:40:34] local.INFO: Packet analysis {"connection_id":50734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:40:34] local.INFO: Extracted packet for processing {"connection_id":50734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:40:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861272832001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802148000,"timestamp_ms":1776802148000,"timestamp_seconds":1776802148,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a92ea0"} 
[2026-04-22 01:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861272832001,"66":24973,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861272832001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:40:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861272832001,"power":24973,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":50734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:40:34] local.INFO: GPS data processed {"connection_id":50734,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:40:34] local.INFO: Acknowledgment sent {"connection_id":50734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:41:05] local.INFO: TCP Data received {"connection_id":50734,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:41:05] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:41:05] local.INFO: Packet analysis {"connection_id":50734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:41:05] local.INFO: Extracted packet for processing {"connection_id":50734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:41:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861272832001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776802148000,"timestamp_ms":1776802148000,"timestamp_seconds":1776802148,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a92ea0"} 
[2026-04-22 01: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-22 01:41: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-22 01: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861272832001,"66":24973,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861272832001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:41:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861272832001,"power":24973,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":50734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:41:05] local.INFO: GPS data processed {"connection_id":50734,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:41:05] local.INFO: Acknowledgment sent {"connection_id":50734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:41:33] local.INFO: TCP Data received {"connection_id":49842,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:41:33] local.INFO: Processing buffer {"connection_id":49842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:41:33] local.INFO: IMEI packet received {"connection_id":49842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":49842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:41:37] local.INFO: TCP Data received {"connection_id":49842,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:41:37] local.INFO: Processing buffer {"connection_id":49842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:41:37] local.INFO: IMEI packet received {"connection_id":49842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":49842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:41:38] local.INFO: TCP Data received {"connection_id":49842,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:41:38] local.INFO: Processing buffer {"connection_id":49842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:41:38] local.INFO: Packet analysis {"connection_id":49842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:41:38] local.INFO: Extracted packet for processing {"connection_id":49842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:41:38] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861272832001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776802148000,"timestamp_ms":1776802148000,"timestamp_seconds":1776802148,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a92ea0"} 
[2026-04-22 01:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861272832001,"66":24973,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861272832001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:41:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861272832001,"power":24973,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":49842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:41:38] local.INFO: GPS data processed {"connection_id":49842,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:41:38] local.INFO: Acknowledgment sent {"connection_id":49842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:41:43] local.INFO: TCP Data received {"connection_id":49842,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:41:43] local.INFO: Processing buffer {"connection_id":49842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:41:43] local.INFO: Packet analysis {"connection_id":49842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:41:43] local.INFO: Extracted packet for processing {"connection_id":49842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:41:43] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861272832001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776802148000,"timestamp_ms":1776802148000,"timestamp_seconds":1776802148,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a92ea0"} 
[2026-04-22 01: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-22 01:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861272832001,"66":24973,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861272832001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:41:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861272832001,"power":24973,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":49842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:41:43] local.INFO: GPS data processed {"connection_id":49842,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:41:43] local.INFO: Acknowledgment sent {"connection_id":49842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:42:17] local.INFO: TCP Data received {"connection_id":50735,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:42:17] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:42:17] local.INFO: IMEI packet received {"connection_id":50735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":50735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:42:28] local.INFO: TCP Data received {"connection_id":50736,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:42:28] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:42:28] local.INFO: IMEI packet received {"connection_id":50736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":50736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:42:33] local.INFO: TCP Data received {"connection_id":50736,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:42:33] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:42:33] local.INFO: IMEI packet received {"connection_id":50736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":50736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:42:34] local.INFO: TCP Data received {"connection_id":50736,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:42:34] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:42:34] local.INFO: Packet analysis {"connection_id":50736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:42:34] local.INFO: Extracted packet for processing {"connection_id":50736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:42:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861272832001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802148000,"timestamp_ms":1776802148000,"timestamp_seconds":1776802148,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a92ea0"} 
[2026-04-22 01:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861272832001,"66":24973,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861272832001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:42:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861272832001,"power":24973,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":50736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:42:34] local.INFO: GPS data processed {"connection_id":50736,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:42:34] local.INFO: Acknowledgment sent {"connection_id":50736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:42:52] local.INFO: TCP Data received {"connection_id":50079,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:42:53] local.INFO: Processing buffer {"connection_id":50079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:42:53] local.INFO: IMEI packet received {"connection_id":50079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":50079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:43:05] local.INFO: TCP Data received {"connection_id":50736,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:43:05] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:43:05] local.INFO: Packet analysis {"connection_id":50736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:43:05] local.INFO: Extracted packet for processing {"connection_id":50736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:43:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861272832001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776802148000,"timestamp_ms":1776802148000,"timestamp_seconds":1776802148,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a92ea0"} 
[2026-04-22 01: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-22 01: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-22 01: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861272832001,"66":24973,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861272832001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:43:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861272832001,"power":24973,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":50736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:43:05] local.INFO: GPS data processed {"connection_id":50736,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:43:05] local.INFO: Acknowledgment sent {"connection_id":50736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:43:28] local.INFO: TCP Data received {"connection_id":49843,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:43:28] local.INFO: Processing buffer {"connection_id":49843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:43:28] local.INFO: IMEI packet received {"connection_id":49843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":49843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:43:33] local.INFO: TCP Data received {"connection_id":49843,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:43:33] local.INFO: Processing buffer {"connection_id":49843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:43:33] local.INFO: IMEI packet received {"connection_id":49843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":49843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:43:34] local.INFO: TCP Data received {"connection_id":49843,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:43:34] local.INFO: Processing buffer {"connection_id":49843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1a92ea0012d77aa0005f275f8000e016626..."} 
[2026-04-22 01:43:34] local.INFO: Packet analysis {"connection_id":49843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:43:34] local.INFO: Extracted packet for processing {"connection_id":49843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1a9"} 
[2026-04-22 01:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861272832001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802148000,"timestamp_ms":1776802148000,"timestamp_seconds":1776802148,"priority":1,"record_length":96,"hex_timestamp":"0000019db1a92ea0"} 
[2026-04-22 01:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 01:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861272832001,"66":24973,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861272832001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:43:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861272832001,"power":24973,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":49843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:43:34] local.INFO: GPS data processed {"connection_id":49843,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:43:34] local.INFO: Acknowledgment sent {"connection_id":49843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:44:05] local.INFO: TCP Data received {"connection_id":49843,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1accc68012d77aa0005f275f8000e016622..."} 
[2026-04-22 01:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1accc68012d77aa0005f275f8000e016622..."} 
[2026-04-22 01:44:05] local.INFO: Processing buffer {"connection_id":49843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1accc68012d77aa0005f275f8000e016622..."} 
[2026-04-22 01:44:05] local.INFO: Packet analysis {"connection_id":49843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ac"} 
[2026-04-22 01:44:05] local.INFO: Extracted packet for processing {"connection_id":49843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ac"} 
[2026-04-22 01:44:05] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99775992,"longitude_deg":76.2817024,"latitude_deg":9.9775992,"altitude":14,"angle":358,"satellites":34,"speed":0,"hex_longitude":"2d77aa00","hex_latitude":"05f275f8","is_valid_coordinates":true} 
[2026-04-22 01:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861349888001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776802385000,"timestamp_ms":1776802385000,"timestamp_seconds":1776802385,"priority":1,"record_length":96,"hex_timestamp":"0000019db1accc68"} 
[2026-04-22 01: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-22 01:44: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-22 01: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-22 01:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861349888001,"66":24908,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861349888001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:44:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861349888001,"power":24908,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":49843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:44:05] local.INFO: GPS data processed {"connection_id":49843,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:44:05] local.INFO: Acknowledgment sent {"connection_id":49843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:44:34] local.INFO: TCP Data received {"connection_id":50737,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:44:34] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:44:34] local.INFO: IMEI packet received {"connection_id":50737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":50737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:44:35] local.INFO: TCP Data received {"connection_id":50737,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:44:35] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:44:35] local.INFO: IMEI packet received {"connection_id":50737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":50737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:44:36] local.INFO: TCP Data received {"connection_id":50737,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:44:36] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:44:36] local.INFO: IMEI packet received {"connection_id":50737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":50737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:44:37] local.INFO: TCP Data received {"connection_id":50737,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1acdff0012d77a80005f27a48000e00a823..."} 
[2026-04-22 01:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1acdff0012d77a80005f27a48000e00a823..."} 
[2026-04-22 01:44:37] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1acdff0012d77a80005f27a48000e00a823..."} 
[2026-04-22 01:44:37] local.INFO: Packet analysis {"connection_id":50737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ac"} 
[2026-04-22 01:44:37] local.INFO: Extracted packet for processing {"connection_id":50737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ac"} 
[2026-04-22 01:44:37] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99777096,"longitude_deg":76.2816512,"latitude_deg":9.9777096,"altitude":14,"angle":168,"satellites":35,"speed":0,"hex_longitude":"2d77a800","hex_latitude":"05f27a48","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861410560001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096889856,"note":"Value kept but may cause issues"} 
[2026-04-22 01:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776802390000,"timestamp_ms":1776802390000,"timestamp_seconds":1776802390,"priority":1,"record_length":96,"hex_timestamp":"0000019db1acdff0"} 
[2026-04-22 01: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-22 01:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 01: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-04-22 01:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861410560001,"66":22603,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622704462096889856},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861410560001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:44:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096889856,"description":"Unknown IO ID 45"} 
[2026-04-22 01:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861410560001,"power":22603,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622704462096889856}} 
[2026-04-22 01:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":50737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:44:37] local.INFO: GPS data processed {"connection_id":50737,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:44:37] local.INFO: Acknowledgment sent {"connection_id":50737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:45:09] local.INFO: TCP Data received {"connection_id":50737,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ad31f8012d77a80005f27a48000e00a823..."} 
[2026-04-22 01:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ad31f8012d77a80005f27a48000e00a823..."} 
[2026-04-22 01:45:09] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ad31f8012d77a80005f27a48000e00a823..."} 
[2026-04-22 01:45:09] local.INFO: Packet analysis {"connection_id":50737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:45:09] local.INFO: Extracted packet for processing {"connection_id":50737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:45:09] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99777096,"longitude_deg":76.2816512,"latitude_deg":9.9777096,"altitude":14,"angle":168,"satellites":35,"speed":0,"hex_longitude":"2d77a800","hex_latitude":"05f27a48","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861411840001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512143751168,"note":"Value kept but may cause issues"} 
[2026-04-22 01:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776802411000,"timestamp_ms":1776802411000,"timestamp_seconds":1776802411,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ad31f8"} 
[2026-04-22 01: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-22 01:45: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-22 01: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":88,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 01:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1313,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861411840001,"66":27267,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622141512143751168},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861411840001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:45:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512143751168,"description":"Unknown IO ID 45"} 
[2026-04-22 01:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861411840001,"power":27267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622141512143751168}} 
[2026-04-22 01:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":50737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:45:09] local.INFO: GPS data processed {"connection_id":50737,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:45:09] local.INFO: Acknowledgment sent {"connection_id":50737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:45:27] local.INFO: TCP Data received {"connection_id":49844,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:45:27] local.INFO: Processing buffer {"connection_id":49844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:45:27] local.INFO: IMEI packet received {"connection_id":49844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":49844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:45:33] local.INFO: TCP Data received {"connection_id":49844,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:45:33] local.INFO: Processing buffer {"connection_id":49844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:45:33] local.INFO: IMEI packet received {"connection_id":49844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":49844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:45:40] local.INFO: TCP Data received {"connection_id":49844,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ad87e8012d77a80005f27a48000e00a821..."} 
[2026-04-22 01:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ad87e8012d77a80005f27a48000e00a821..."} 
[2026-04-22 01:45:40] local.INFO: Processing buffer {"connection_id":49844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ad87e8012d77a80005f27a48000e00a821..."} 
[2026-04-22 01:45:40] local.INFO: Packet analysis {"connection_id":49844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:45:40] local.INFO: Extracted packet for processing {"connection_id":49844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:45:40] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99777096,"longitude_deg":76.2816512,"latitude_deg":9.9777096,"altitude":14,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d77a800","hex_latitude":"05f27a48","is_valid_coordinates":true} 
[2026-04-22 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-22 01:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861417216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233264244654080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512143751168,"note":"Value kept but may cause issues"} 
[2026-04-22 01:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776802433000,"timestamp_ms":1776802433000,"timestamp_seconds":1776802433,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ad87e8"} 
[2026-04-22 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-22 01:45: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-22 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":131,"data_length":795,"current_offset":136} 
[2026-04-22 01:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":49844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":49844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":49844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861417216001,"66":26713,"2":206,"9":24832,"24":0,"16":278233264244654080,"45":8622141512143751168},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861417216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:45:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233264244654080,"km_value":278233264244654.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512143751168,"description":"Unknown IO ID 45"} 
[2026-04-22 01:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861417216001,"power":26713,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622141512143751168}} 
[2026-04-22 01:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":49844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:45:40] local.INFO: GPS data processed {"connection_id":49844,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:45:40] local.INFO: Acknowledgment sent {"connection_id":49844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:46:11] local.INFO: TCP Data received {"connection_id":49844,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ad8fb8012d77a78005f27b580015000c23..."} 
[2026-04-22 01:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ad8fb8012d77a78005f27b580015000c23..."} 
[2026-04-22 01:46:11] local.INFO: Processing buffer {"connection_id":49844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ad8fb8012d77a78005f27b580015000c23..."} 
[2026-04-22 01:46:11] local.INFO: Packet analysis {"connection_id":49844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:46:11] local.INFO: Extracted packet for processing {"connection_id":49844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:46:11] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99777368,"longitude_deg":76.2816384,"latitude_deg":9.9777368,"altitude":21,"angle":12,"satellites":35,"speed":5,"hex_longitude":"2d77a780","hex_latitude":"05f27b58","is_valid_coordinates":true} 
[2026-04-22 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861422848001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233281424523264,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512143751168,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776802435000,"timestamp_ms":1776802435000,"timestamp_seconds":1776802435,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ad8fb8"} 
[2026-04-22 01:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:46: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-22 01:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-04-22 01:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":49844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":49844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":49844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861422848001,"66":26299,"2":206,"9":24832,"24":5,"16":278233281424523264,"45":8622141512143751168},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861422848001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:46:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233281424523264,"km_value":278233281424523.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512143751168,"description":"Unknown IO ID 45"} 
[2026-04-22 01:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861422848001,"power":26299,"power_alt":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8622141512143751168}} 
[2026-04-22 01:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":49844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:46:11] local.INFO: GPS data processed {"connection_id":49844,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:46:11] local.INFO: Acknowledgment sent {"connection_id":49844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:46:33] local.INFO: TCP Data received {"connection_id":50082,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:46:33] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:46:33] local.INFO: IMEI packet received {"connection_id":50082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":50082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:46:38] local.INFO: TCP Data received {"connection_id":50082,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:46:38] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:46:38] local.INFO: IMEI packet received {"connection_id":50082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":50082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:46:39] local.INFO: TCP Data received {"connection_id":50082,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ad9f58012d77a7c005f27ee00015016523..."} 
[2026-04-22 01:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ad9f58012d77a7c005f27ee00015016523..."} 
[2026-04-22 01:46:39] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ad9f58012d77a7c005f27ee00015016523..."} 
[2026-04-22 01:46:39] local.INFO: Packet analysis {"connection_id":50082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:46:39] local.INFO: Extracted packet for processing {"connection_id":50082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:46:39] local.INFO: GPS Element Parsed {"raw_longitude":762816448,"raw_latitude":99778272,"longitude_deg":76.2816448,"latitude_deg":9.9778272,"altitude":21,"angle":357,"satellites":35,"speed":12,"hex_longitude":"2d77a7c0","hex_latitude":"05f27ee0","is_valid_coordinates":true} 
[2026-04-22 01:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861423360001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233324374196224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774655465472,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776802439000,"timestamp_ms":1776802439000,"timestamp_seconds":1776802439,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ad9f58"} 
[2026-04-22 01:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:46: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-22 01:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-22 01:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861423360001,"66":26876,"2":206,"9":24832,"24":12,"16":278233324374196224,"45":8622000774655465472},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861423360001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:46:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233324374196224,"km_value":278233324374196.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774655465472,"description":"Unknown IO ID 45"} 
[2026-04-22 01:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861423360001,"power":26876,"power_alt":206,"unknown_9":24832,"ignition":12,"odometer":null,"unknown_45":8622000774655465472}} 
[2026-04-22 01:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":50082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:46:39] local.INFO: GPS data processed {"connection_id":50082,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:46:39] local.INFO: Acknowledgment sent {"connection_id":50082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:46:43] local.INFO: TCP Data received {"connection_id":50082,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1adf160012d77a5c005f298880010016122..."} 
[2026-04-22 01:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1adf160012d77a5c005f298880010016122..."} 
[2026-04-22 01:46:43] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1adf160012d77a5c005f298880010016122..."} 
[2026-04-22 01:46:43] local.INFO: Packet analysis {"connection_id":50082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:46:43] local.INFO: Extracted packet for processing {"connection_id":50082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ad"} 
[2026-04-22 01:46:43] local.INFO: GPS Element Parsed {"raw_longitude":762815936,"raw_latitude":99784840,"longitude_deg":76.2815936,"latitude_deg":9.978484,"altitude":16,"angle":353,"satellites":34,"speed":12,"hex_longitude":"2d77a5c0","hex_latitude":"05f29888","is_valid_coordinates":true} 
[2026-04-22 01:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861424384001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233646496743424,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622071143399874560,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776802460000,"timestamp_ms":1776802460000,"timestamp_seconds":1776802460,"priority":1,"record_length":96,"hex_timestamp":"0000019db1adf160"} 
[2026-04-22 01:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:46: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-22 01:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 01:46:43] 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-22 01:46: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-22 01:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861424384001,"66":27376,"2":206,"9":24832,"24":12,"16":278233646496743424,"45":8622071143399874560},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861424384001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:46:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233646496743424,"km_value":278233646496743.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622071143399874560,"description":"Unknown IO ID 45"} 
[2026-04-22 01:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861424384001,"power":27376,"power_alt":206,"unknown_9":24832,"ignition":12,"odometer":null,"unknown_45":8622071143399874560}} 
[2026-04-22 01:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":50082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:46:43] local.INFO: GPS data processed {"connection_id":50082,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:46:43] local.INFO: Acknowledgment sent {"connection_id":50082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:46:48] local.INFO: TCP Data received {"connection_id":50082,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ae2040012d77a48005f2a4d8000b002125..."} 
[2026-04-22 01:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ae2040012d77a48005f2a4d8000b002125..."} 
[2026-04-22 01:46:48] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ae2040012d77a48005f2a4d8000b002125..."} 
[2026-04-22 01:46:48] local.INFO: Packet analysis {"connection_id":50082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:46:48] local.INFO: Extracted packet for processing {"connection_id":50082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:46:48] local.INFO: GPS Element Parsed {"raw_longitude":762815616,"raw_latitude":99787992,"longitude_deg":76.2815616,"latitude_deg":9.9787992,"altitude":11,"angle":33,"satellites":37,"speed":6,"hex_longitude":"2d77a480","hex_latitude":"05f2a4d8","is_valid_coordinates":true} 
[2026-04-22 01:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861429760001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233801115566080,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621508193448134656,"note":"Value kept but may cause issues"} 
[2026-04-22 01:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776802472000,"timestamp_ms":1776802472000,"timestamp_seconds":1776802472,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ae2040"} 
[2026-04-22 01:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 01:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 01:46:48] 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-22 01:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861429760001,"66":27104,"2":206,"9":24832,"24":6,"16":278233801115566080,"45":8621508193448134656},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861429760001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:46:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233801115566080,"km_value":278233801115566.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621508193448134656,"description":"Unknown IO ID 45"} 
[2026-04-22 01:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861429760001,"power":27104,"power_alt":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8621508193448134656}} 
[2026-04-22 01:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":50082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:46:48] local.INFO: GPS data processed {"connection_id":50082,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:46:48] local.INFO: Acknowledgment sent {"connection_id":50082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:47:28] local.INFO: TCP Data received {"connection_id":50223,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:47:28] local.INFO: Processing buffer {"connection_id":50223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:47:28] local.INFO: IMEI packet received {"connection_id":50223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":50223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:47:33] local.INFO: TCP Data received {"connection_id":50223,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:47:33] local.INFO: Processing buffer {"connection_id":50223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:47:33] local.INFO: IMEI packet received {"connection_id":50223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":50223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:47:34] local.INFO: TCP Data received {"connection_id":50223,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ae2428012d77a54005f2a580000b003323..."} 
[2026-04-22 01:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ae2428012d77a54005f2a580000b003323..."} 
[2026-04-22 01:47:34] local.INFO: Processing buffer {"connection_id":50223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ae2428012d77a54005f2a580000b003323..."} 
[2026-04-22 01:47:34] local.INFO: Packet analysis {"connection_id":50223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:47:34] local.INFO: Extracted packet for processing {"connection_id":50223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:47:34] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99788160,"longitude_deg":76.2815808,"latitude_deg":9.978816,"altitude":11,"angle":51,"satellites":35,"speed":8,"hex_longitude":"2d77a540","hex_latitude":"05f2a580","is_valid_coordinates":true} 
[2026-04-22 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-22 01:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861432832001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233814000467968,"note":"Value kept but may cause issues"} 
[2026-04-22 01:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621156349728053248,"note":"Value kept but may cause issues"} 
[2026-04-22 01:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802473000,"timestamp_ms":1776802473000,"timestamp_seconds":1776802473,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ae2428"} 
[2026-04-22 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-22 01:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 01:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861432832001,"66":27517,"2":206,"9":24832,"24":8,"16":278233814000467968,"45":8621156349728053248},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861432832001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:47:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233814000467968,"km_value":278233814000467.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621156349728053248,"description":"Unknown IO ID 45"} 
[2026-04-22 01:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861432832001,"power":27517,"power_alt":206,"unknown_9":24832,"ignition":8,"odometer":null,"unknown_45":8621156349728053248}} 
[2026-04-22 01:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":50223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:47:34] local.INFO: GPS data processed {"connection_id":50223,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:47:34] local.INFO: Acknowledgment sent {"connection_id":50223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:48:05] local.INFO: TCP Data received {"connection_id":50223,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ae2810012d77a5c005f2a5e0000b004222..."} 
[2026-04-22 01:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ae2810012d77a5c005f2a5e0000b004222..."} 
[2026-04-22 01:48:05] local.INFO: Processing buffer {"connection_id":50223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ae2810012d77a5c005f2a5e0000b004222..."} 
[2026-04-22 01:48:05] local.INFO: Packet analysis {"connection_id":50223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:48:05] local.INFO: Extracted packet for processing {"connection_id":50223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:48:05] local.INFO: GPS Element Parsed {"raw_longitude":762815936,"raw_latitude":99788256,"longitude_deg":76.2815936,"latitude_deg":9.9788256,"altitude":11,"angle":66,"satellites":34,"speed":6,"hex_longitude":"2d77a5c0","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-04-22 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-22 01:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861433088001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233822590402560,"note":"Value kept but may cause issues"} 
[2026-04-22 01:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960629248,"note":"Value kept but may cause issues"} 
[2026-04-22 01:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776802474000,"timestamp_ms":1776802474000,"timestamp_seconds":1776802474,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ae2810"} 
[2026-04-22 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-22 01:48: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-22 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 01:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861433088001,"66":27517,"2":206,"9":24832,"24":6,"16":278233822590402560,"45":8621367455960629248},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861433088001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:48:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233822590402560,"km_value":278233822590402.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960629248,"description":"Unknown IO ID 45"} 
[2026-04-22 01:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861433088001,"power":27517,"power_alt":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8621367455960629248}} 
[2026-04-22 01:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":50223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:48:05] local.INFO: GPS data processed {"connection_id":50223,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:48:05] local.INFO: Acknowledgment sent {"connection_id":50223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:48:22] local.INFO: TCP Data received {"connection_id":49845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:48:22] local.INFO: Processing buffer {"connection_id":49845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:48:22] local.INFO: IMEI packet received {"connection_id":49845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":49845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:48:29] local.INFO: TCP Data received {"connection_id":50083,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:48:29] local.INFO: Processing buffer {"connection_id":50083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:48:29] local.INFO: IMEI packet received {"connection_id":50083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":50083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:48:33] local.INFO: TCP Data received {"connection_id":50083,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:48:33] local.INFO: Processing buffer {"connection_id":50083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:48:33] local.INFO: IMEI packet received {"connection_id":50083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":50083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:48:34] local.INFO: TCP Data received {"connection_id":50083,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ae33c8012d77a74005f2a5f0000a005c22..."} 
[2026-04-22 01:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ae33c8012d77a74005f2a5f0000a005c22..."} 
[2026-04-22 01:48:34] local.INFO: Processing buffer {"connection_id":50083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ae33c8012d77a74005f2a5f0000a005c22..."} 
[2026-04-22 01:48:34] local.INFO: Packet analysis {"connection_id":50083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:48:34] local.INFO: Extracted packet for processing {"connection_id":50083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99788272,"longitude_deg":76.281632,"latitude_deg":9.9788272,"altitude":10,"angle":92,"satellites":34,"speed":5,"hex_longitude":"2d77a740","hex_latitude":"05f2a5f0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861433344001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233839770271744,"note":"Value kept but may cause issues"} 
[2026-04-22 01:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621508193449009152,"note":"Value kept but may cause issues"} 
[2026-04-22 01:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802477000,"timestamp_ms":1776802477000,"timestamp_seconds":1776802477,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ae33c8"} 
[2026-04-22 01:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 01:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 01:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861433344001,"66":27115,"2":206,"9":24832,"24":5,"16":278233839770271744,"45":8621508193449009152},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861433344001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:48:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233839770271744,"km_value":278233839770271.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621508193449009152,"description":"Unknown IO ID 45"} 
[2026-04-22 01:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861433344001,"power":27115,"power_alt":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621508193449009152}} 
[2026-04-22 01:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":50083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:48:34] local.INFO: GPS data processed {"connection_id":50083,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:48:34] local.INFO: Acknowledgment sent {"connection_id":50083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:48:52] local.INFO: TCP Data received {"connection_id":49846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:48:52] local.INFO: Processing buffer {"connection_id":49846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:48:52] local.INFO: IMEI packet received {"connection_id":49846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":49846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:49:12] local.INFO: TCP Data received {"connection_id":50083,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ae3f80012d77a90005f2a6100008005823..."} 
[2026-04-22 01:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ae3f80012d77a90005f2a6100008005823..."} 
[2026-04-22 01:49:12] local.INFO: Processing buffer {"connection_id":50083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ae3f80012d77a90005f2a6100008005823..."} 
[2026-04-22 01:49:12] local.INFO: Packet analysis {"connection_id":50083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:49:12] local.INFO: Extracted packet for processing {"connection_id":50083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:49:12] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99788304,"longitude_deg":76.2816768,"latitude_deg":9.9788304,"altitude":8,"angle":88,"satellites":35,"speed":5,"hex_longitude":"2d77a900","hex_latitude":"05f2a610","is_valid_coordinates":true} 
[2026-04-22 01:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434112001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914079232,"note":"Value kept but may cause issues"} 
[2026-04-22 01:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776802480000,"timestamp_ms":1776802480000,"timestamp_seconds":1776802480,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ae3f80"} 
[2026-04-22 01:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 01:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-04-22 01:49:12] 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-22 01:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434112001,"66":27484,"2":206,"9":24832,"24":5,"16":278233861245108224,"45":8621930405914079232},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434112001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:49:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914079232,"description":"Unknown IO ID 45"} 
[2026-04-22 01:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434112001,"power":27484,"power_alt":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621930405914079232}} 
[2026-04-22 01:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":50083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:49:12] local.INFO: GPS data processed {"connection_id":50083,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:49:12] local.INFO: Acknowledgment sent {"connection_id":50083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:49:27] local.INFO: TCP Data received {"connection_id":49847,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:49:27] local.INFO: Processing buffer {"connection_id":49847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:49:27] local.INFO: IMEI packet received {"connection_id":49847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":49847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:49:33] local.INFO: TCP Data received {"connection_id":49847,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:49:33] local.INFO: Processing buffer {"connection_id":49847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:49:33] local.INFO: IMEI packet received {"connection_id":49847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":49847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:49:34] local.INFO: TCP Data received {"connection_id":49847,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ae3f80012d77a90005f2a6100008005823..."} 
[2026-04-22 01:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ae3f80012d77a90005f2a6100008005823..."} 
[2026-04-22 01:49:34] local.INFO: Processing buffer {"connection_id":49847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ae3f80012d77a90005f2a6100008005823..."} 
[2026-04-22 01:49:34] local.INFO: Packet analysis {"connection_id":49847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:49:34] local.INFO: Extracted packet for processing {"connection_id":49847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:49:34] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99788304,"longitude_deg":76.2816768,"latitude_deg":9.9788304,"altitude":8,"angle":88,"satellites":35,"speed":5,"hex_longitude":"2d77a900","hex_latitude":"05f2a610","is_valid_coordinates":true} 
[2026-04-22 01:49: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-22 01:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434112001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914079232,"note":"Value kept but may cause issues"} 
[2026-04-22 01:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802480000,"timestamp_ms":1776802480000,"timestamp_seconds":1776802480,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ae3f80"} 
[2026-04-22 01:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:49: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-22 01:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-04-22 01:49:34] 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-22 01:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434112001,"66":27484,"2":206,"9":24832,"24":5,"16":278233861245108224,"45":8621930405914079232},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434112001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:49:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914079232,"description":"Unknown IO ID 45"} 
[2026-04-22 01:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434112001,"power":27484,"power_alt":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621930405914079232}} 
[2026-04-22 01:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":49847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:49:34] local.INFO: GPS data processed {"connection_id":49847,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:49:34] local.INFO: Acknowledgment sent {"connection_id":49847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:50:06] local.INFO: TCP Data received {"connection_id":49847,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ae3f80012d77a90005f2a6100008005823..."} 
[2026-04-22 01:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ae3f80012d77a90005f2a6100008005823..."} 
[2026-04-22 01:50:06] local.INFO: Processing buffer {"connection_id":49847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ae3f80012d77a90005f2a6100008005823..."} 
[2026-04-22 01:50:06] local.INFO: Packet analysis {"connection_id":49847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:50:06] local.INFO: Extracted packet for processing {"connection_id":49847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ae"} 
[2026-04-22 01:50:06] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99788304,"longitude_deg":76.2816768,"latitude_deg":9.9788304,"altitude":8,"angle":88,"satellites":35,"speed":5,"hex_longitude":"2d77a900","hex_latitude":"05f2a610","is_valid_coordinates":true} 
[2026-04-22 01:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434112001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405914079232,"note":"Value kept but may cause issues"} 
[2026-04-22 01:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776802480000,"timestamp_ms":1776802480000,"timestamp_seconds":1776802480,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ae3f80"} 
[2026-04-22 01: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-22 01:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 01: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-04-22 01:50:06] 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-22 01: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-22 01: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-22 01:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":49847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":49847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":49847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434112001,"66":27484,"2":206,"9":24832,"24":5,"16":278233861245108224,"45":8621930405914079232},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434112001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:50:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405914079232,"description":"Unknown IO ID 45"} 
[2026-04-22 01:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434112001,"power":27484,"power_alt":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621930405914079232}} 
[2026-04-22 01:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":49847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:50:06] local.INFO: GPS data processed {"connection_id":49847,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:50:06] local.INFO: Acknowledgment sent {"connection_id":49847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:50:27] local.INFO: TCP Data received {"connection_id":50224,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:50:27] local.INFO: Processing buffer {"connection_id":50224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:50:27] local.INFO: IMEI packet received {"connection_id":50224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":50224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:50:33] local.INFO: TCP Data received {"connection_id":50224,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:50:33] local.INFO: Processing buffer {"connection_id":50224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:50:33] local.INFO: IMEI packet received {"connection_id":50224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":50224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:50:34] local.INFO: TCP Data received {"connection_id":50224,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:50:34] local.INFO: Processing buffer {"connection_id":50224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:50:34] local.INFO: Packet analysis {"connection_id":50224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:50:34] local.INFO: Extracted packet for processing {"connection_id":50224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:50:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 01:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:50: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-22 01:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 01:50: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-22 01:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:50:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":50224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:50:34] local.INFO: GPS data processed {"connection_id":50224,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:50:34] local.INFO: Acknowledgment sent {"connection_id":50224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:51:05] local.INFO: TCP Data received {"connection_id":50224,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:51:05] local.INFO: Processing buffer {"connection_id":50224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:51:05] local.INFO: Packet analysis {"connection_id":50224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:51:05] local.INFO: Extracted packet for processing {"connection_id":50224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:51:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 01: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-22 01:51: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-22 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 01:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:51:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":50224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:51:05] local.INFO: GPS data processed {"connection_id":50224,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:51:05] local.INFO: Acknowledgment sent {"connection_id":50224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:51:28] local.INFO: TCP Data received {"connection_id":50225,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:51:28] local.INFO: Processing buffer {"connection_id":50225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:51:28] local.INFO: IMEI packet received {"connection_id":50225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":50225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:51:33] local.INFO: TCP Data received {"connection_id":50225,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:51:33] local.INFO: Processing buffer {"connection_id":50225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:51:33] local.INFO: IMEI packet received {"connection_id":50225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":50225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:51:34] local.INFO: TCP Data received {"connection_id":50225,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:51:34] local.INFO: Processing buffer {"connection_id":50225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:51:34] local.INFO: Packet analysis {"connection_id":50225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:51:34] local.INFO: Extracted packet for processing {"connection_id":50225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:51:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 01:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:51: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-22 01:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 01:51: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-22 01:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:51:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":50225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:51:34] local.INFO: GPS data processed {"connection_id":50225,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:51:34] local.INFO: Acknowledgment sent {"connection_id":50225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:52:05] local.INFO: TCP Data received {"connection_id":50225,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:52:05] local.INFO: Processing buffer {"connection_id":50225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:52:05] local.INFO: Packet analysis {"connection_id":50225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:52:05] local.INFO: Extracted packet for processing {"connection_id":50225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:52:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 01: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-22 01:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 01:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:52:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":50225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:52:05] local.INFO: GPS data processed {"connection_id":50225,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:52:05] local.INFO: Acknowledgment sent {"connection_id":50225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:52:28] local.INFO: TCP Data received {"connection_id":50086,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:52:28] local.INFO: Processing buffer {"connection_id":50086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:52:28] local.INFO: IMEI packet received {"connection_id":50086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":50086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:52:33] local.INFO: TCP Data received {"connection_id":50086,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:52:33] local.INFO: Processing buffer {"connection_id":50086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:52:33] local.INFO: IMEI packet received {"connection_id":50086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":50086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:52:34] local.INFO: TCP Data received {"connection_id":50086,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:52:34] local.INFO: Processing buffer {"connection_id":50086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:52:34] local.INFO: Packet analysis {"connection_id":50086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:52:34] local.INFO: Extracted packet for processing {"connection_id":50086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:52:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 01:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:52: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-22 01:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 01:52: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-22 01:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:52:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":50086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:52:34] local.INFO: GPS data processed {"connection_id":50086,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:52:34] local.INFO: Acknowledgment sent {"connection_id":50086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:53:05] local.INFO: TCP Data received {"connection_id":50086,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:53:05] local.INFO: Processing buffer {"connection_id":50086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:53:05] local.INFO: Packet analysis {"connection_id":50086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:53:05] local.INFO: Extracted packet for processing {"connection_id":50086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:53:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 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-22 01:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 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-22 01:53: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-22 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 01:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 01:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:53:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":50086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:53:05] local.INFO: GPS data processed {"connection_id":50086,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:53:05] local.INFO: Acknowledgment sent {"connection_id":50086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:53:27] local.INFO: TCP Data received {"connection_id":49848,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:53:27] local.INFO: Processing buffer {"connection_id":49848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:53:27] local.INFO: IMEI packet received {"connection_id":49848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":49848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:53:33] local.INFO: TCP Data received {"connection_id":49848,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:53:33] local.INFO: Processing buffer {"connection_id":49848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:53:33] local.INFO: IMEI packet received {"connection_id":49848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":49848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:53:34] local.INFO: TCP Data received {"connection_id":49848,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:53:34] local.INFO: Processing buffer {"connection_id":49848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:53:34] local.INFO: Packet analysis {"connection_id":49848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:53:34] local.INFO: Extracted packet for processing {"connection_id":49848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:53:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 01: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-22 01:53: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-22 01: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-22 01: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-22 01: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-22 01: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-22 01:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:53:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":49848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:53:34] local.INFO: GPS data processed {"connection_id":49848,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:53:34] local.INFO: Acknowledgment sent {"connection_id":49848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:54:05] local.INFO: TCP Data received {"connection_id":49848,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:54:05] local.INFO: Processing buffer {"connection_id":49848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:54:05] local.INFO: Packet analysis {"connection_id":49848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:54:05] local.INFO: Extracted packet for processing {"connection_id":49848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:54:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 01: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-22 01:54: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-22 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 01:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:54:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":49848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:54:05] local.INFO: GPS data processed {"connection_id":49848,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:54:05] local.INFO: Acknowledgment sent {"connection_id":49848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:54:17] local.INFO: TCP Data received {"connection_id":50226,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:54:17] local.INFO: Processing buffer {"connection_id":50226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:54:17] local.INFO: IMEI packet received {"connection_id":50226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":50226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:54:27] local.INFO: TCP Data received {"connection_id":50739,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:54:27] local.INFO: Processing buffer {"connection_id":50739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:54:27] local.INFO: IMEI packet received {"connection_id":50739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":50739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:54:33] local.INFO: TCP Data received {"connection_id":50739,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:54:33] local.INFO: Processing buffer {"connection_id":50739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:54:33] local.INFO: IMEI packet received {"connection_id":50739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":50739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:54:34] local.INFO: TCP Data received {"connection_id":50739,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:54:34] local.INFO: Processing buffer {"connection_id":50739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:54:34] local.INFO: Packet analysis {"connection_id":50739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:54:34] local.INFO: Extracted packet for processing {"connection_id":50739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:54:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 01:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:54: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-22 01:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 01:54: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-22 01:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:54:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":50739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:54:34] local.INFO: GPS data processed {"connection_id":50739,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:54:34] local.INFO: Acknowledgment sent {"connection_id":50739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:54:52] local.INFO: TCP Data received {"connection_id":50227,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:54:52] local.INFO: Processing buffer {"connection_id":50227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 01:54:52] local.INFO: IMEI packet received {"connection_id":50227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 01:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":50227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:55:05] local.INFO: TCP Data received {"connection_id":50739,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:55:05] local.INFO: Processing buffer {"connection_id":50739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b2ead0012d77ab8005f2a7a00006005523..."} 
[2026-04-22 01:55:05] local.INFO: Packet analysis {"connection_id":50739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:55:05] local.INFO: Extracted packet for processing {"connection_id":50739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b2"} 
[2026-04-22 01:55:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861434880001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123331072,"note":"Value kept but may cause issues"} 
[2026-04-22 01:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776802786000,"timestamp_ms":1776802786000,"timestamp_seconds":1776802786,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b2ead0"} 
[2026-04-22 01: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-22 01:55: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-22 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 01:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01: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-22 01: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-22 01:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861434880001,"66":25375,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622422987123331072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861434880001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:55:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123331072,"description":"Unknown IO ID 45"} 
[2026-04-22 01:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861434880001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123331072}} 
[2026-04-22 01:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":50739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:55:05] local.INFO: GPS data processed {"connection_id":50739,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:55:05] local.INFO: Acknowledgment sent {"connection_id":50739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:55:33] local.INFO: TCP Data received {"connection_id":50228,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:55:33] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:55:33] local.INFO: IMEI packet received {"connection_id":50228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":50228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:55:37] local.INFO: TCP Data received {"connection_id":50228,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:55:37] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:55:37] local.INFO: IMEI packet received {"connection_id":50228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":50228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:55:38] local.INFO: TCP Data received {"connection_id":50228,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:55:38] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:55:38] local.INFO: Packet analysis {"connection_id":50228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:55:38] local.INFO: Extracted packet for processing {"connection_id":50228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:55:38] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01: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-22 01:55: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-22 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:55: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-22 01: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-22 01: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-22 01:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:55:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":50228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:55:38] local.INFO: GPS data processed {"connection_id":50228,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:55:38] local.INFO: Acknowledgment sent {"connection_id":50228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:55:43] local.INFO: TCP Data received {"connection_id":50228,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:55:43] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:55:43] local.INFO: Packet analysis {"connection_id":50228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:55:43] local.INFO: Extracted packet for processing {"connection_id":50228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:55:43] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:55:43] 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-22 01:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:55:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":50228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:55:43] local.INFO: GPS data processed {"connection_id":50228,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:55:43] local.INFO: Acknowledgment sent {"connection_id":50228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:56:27] local.INFO: TCP Data received {"connection_id":50229,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:56:27] local.INFO: Processing buffer {"connection_id":50229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:56:27] local.INFO: IMEI packet received {"connection_id":50229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":50229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:56:33] local.INFO: TCP Data received {"connection_id":50229,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:56:33] local.INFO: Processing buffer {"connection_id":50229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:56:33] local.INFO: IMEI packet received {"connection_id":50229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":50229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:56:34] local.INFO: TCP Data received {"connection_id":50229,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:56:34] local.INFO: Processing buffer {"connection_id":50229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:56:34] local.INFO: Packet analysis {"connection_id":50229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:56:34] local.INFO: Extracted packet for processing {"connection_id":50229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:56:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01: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-22 01:56: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-22 01:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:56: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-22 01: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-22 01: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-22 01:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:56:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":50229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:56:34] local.INFO: GPS data processed {"connection_id":50229,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:56:34] local.INFO: Acknowledgment sent {"connection_id":50229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:57:05] local.INFO: TCP Data received {"connection_id":50229,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:57:05] local.INFO: Processing buffer {"connection_id":50229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:57:05] local.INFO: Packet analysis {"connection_id":50229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:57:05] local.INFO: Extracted packet for processing {"connection_id":50229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:57:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01: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-22 01:57: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-22 01: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:57: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-22 01: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-22 01: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-22 01:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:57:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":50229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:57:05] local.INFO: GPS data processed {"connection_id":50229,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:57:05] local.INFO: Acknowledgment sent {"connection_id":50229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:57:27] local.INFO: TCP Data received {"connection_id":50230,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:57:27] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:57:27] local.INFO: IMEI packet received {"connection_id":50230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":50230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:57:33] local.INFO: TCP Data received {"connection_id":50230,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:57:33] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:57:33] local.INFO: IMEI packet received {"connection_id":50230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":50230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:57:34] local.INFO: TCP Data received {"connection_id":50230,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:57:34] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:57:34] local.INFO: Packet analysis {"connection_id":50230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:57:34] local.INFO: Extracted packet for processing {"connection_id":50230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01: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-22 01:57: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-22 01:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:57: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-22 01: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-22 01: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-22 01:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:57:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":50230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:57:34] local.INFO: GPS data processed {"connection_id":50230,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:57:34] local.INFO: Acknowledgment sent {"connection_id":50230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:58:05] local.INFO: TCP Data received {"connection_id":50230,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:58:05] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:58:05] local.INFO: Packet analysis {"connection_id":50230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:58:05] local.INFO: Extracted packet for processing {"connection_id":50230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:58:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01: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-22 01:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01: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-22 01: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-22 01: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:58: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-22 01: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-22 01: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-22 01:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:58:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":50230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:58:05] local.INFO: GPS data processed {"connection_id":50230,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:58:05] local.INFO: Acknowledgment sent {"connection_id":50230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:58:27] local.INFO: TCP Data received {"connection_id":49849,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:58:27] local.INFO: Processing buffer {"connection_id":49849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:58:27] local.INFO: IMEI packet received {"connection_id":49849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":49849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:58:34] local.INFO: TCP Data received {"connection_id":49849,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:58:34] local.INFO: Processing buffer {"connection_id":49849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:58:34] local.INFO: IMEI packet received {"connection_id":49849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":49849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:58:35] local.INFO: TCP Data received {"connection_id":49849,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:58:35] local.INFO: Processing buffer {"connection_id":49849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:58:35] local.INFO: Packet analysis {"connection_id":49849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:58:35] local.INFO: Extracted packet for processing {"connection_id":49849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:58:35] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:58: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-22 01:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 01:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":49849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":49849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":49849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:58:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":49849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:58:35] local.INFO: GPS data processed {"connection_id":49849,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:58:35] local.INFO: Acknowledgment sent {"connection_id":49849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:59:07] local.INFO: TCP Data received {"connection_id":49849,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:59:07] local.INFO: Processing buffer {"connection_id":49849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:59:07] local.INFO: Packet analysis {"connection_id":49849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:59:07] local.INFO: Extracted packet for processing {"connection_id":49849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:59:07] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01:59: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-22 01:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:59: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-22 01:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:59:07] 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-22 01:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":49849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":49849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":49849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:59:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":49849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:59:07] local.INFO: GPS data processed {"connection_id":49849,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:59:07] local.INFO: Acknowledgment sent {"connection_id":49849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:59:33] local.INFO: TCP Data received {"connection_id":49851,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:59:33] local.INFO: Processing buffer {"connection_id":49851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:59:33] local.INFO: IMEI packet received {"connection_id":49851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 01:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":49851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 01:59:37] local.INFO: TCP Data received {"connection_id":49851,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:59:37] local.INFO: Processing buffer {"connection_id":49851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 01:59:37] local.INFO: IMEI packet received {"connection_id":49851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 01:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":49851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 01:59:39] local.INFO: TCP Data received {"connection_id":49851,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:59:39] local.INFO: Processing buffer {"connection_id":49851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:59:39] local.INFO: Packet analysis {"connection_id":49851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:59:39] local.INFO: Extracted packet for processing {"connection_id":49851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:59:39] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:59:39] 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-22 01:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":49851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":49851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":49851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:59:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":49851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:59:39] local.INFO: GPS data processed {"connection_id":49851,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:59:39] local.INFO: Acknowledgment sent {"connection_id":49851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 01:59:43] local.INFO: TCP Data received {"connection_id":49851,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:59:43] local.INFO: Processing buffer {"connection_id":49851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1b78298012d77ab8005f2a7a0000600551c..."} 
[2026-04-22 01:59:43] local.INFO: Packet analysis {"connection_id":49851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:59:43] local.INFO: Extracted packet for processing {"connection_id":49851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1b7"} 
[2026-04-22 01:59:43] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":6,"angle":85,"satellites":28,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 01:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 01:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861513216001,"note":"Value kept but may cause issues"} 
[2026-04-22 01:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 01:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 01:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 01:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776803087000,"timestamp_ms":1776803087000,"timestamp_seconds":1776803087,"priority":1,"record_length":96,"hex_timestamp":"0000019db1b78298"} 
[2026-04-22 01:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 01:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 01:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 01:59:43] 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-22 01:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 01:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 01:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 01:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 01:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 01:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 01:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 01:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 01:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861513216001,"66":24930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 01:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 01:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 01:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861513216001,"description":"Unknown IO ID 0"} 
[2026-04-22 01:59:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 01:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 01:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 01:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861513216001,"power":24930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 01:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":49851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 01:59:43] local.INFO: GPS data processed {"connection_id":49851,"processed":1,"errors":0,"total":1} 
[2026-04-22 01:59:43] local.INFO: Acknowledgment sent {"connection_id":49851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:00:12] local.INFO: TCP Data received {"connection_id":49852,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:00:12] local.INFO: Processing buffer {"connection_id":49852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:00:12] local.INFO: IMEI packet received {"connection_id":49852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":49852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:00:25] local.INFO: TCP Data received {"connection_id":50231,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:00:25] local.INFO: Processing buffer {"connection_id":50231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:00:25] local.INFO: IMEI packet received {"connection_id":50231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":50231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:00:27] local.INFO: TCP Data received {"connection_id":50231,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:00:27] local.INFO: Processing buffer {"connection_id":50231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:00:27] local.INFO: IMEI packet received {"connection_id":50231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:00:33] local.INFO: TCP Data received {"connection_id":50231,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:00:33] local.INFO: Processing buffer {"connection_id":50231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:00:33] local.INFO: IMEI packet received {"connection_id":50231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":50231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:00:34] local.INFO: TCP Data received {"connection_id":50231,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bc1a60012d77ab8005f2a7a00018005520..."} 
[2026-04-22 02:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bc1a60012d77ab8005f2a7a00018005520..."} 
[2026-04-22 02:00:34] local.INFO: Processing buffer {"connection_id":50231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bc1a60012d77ab8005f2a7a00018005520..."} 
[2026-04-22 02:00:34] local.INFO: Packet analysis {"connection_id":50231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1bc"} 
[2026-04-22 02:00:34] local.INFO: Extracted packet for processing {"connection_id":50231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1bc"} 
[2026-04-22 02:00:34] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":24,"angle":85,"satellites":32,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 02:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861590272001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 02:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776803388000,"timestamp_ms":1776803388000,"timestamp_seconds":1776803388,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bc1a60"} 
[2026-04-22 02:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:00: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-22 02:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 02:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861590272001,"66":24788,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861590272001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:00:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 02:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861590272001,"power":24788,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 02:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":50231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:00:34] local.INFO: GPS data processed {"connection_id":50231,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:00:34] local.INFO: Acknowledgment sent {"connection_id":50231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:00:52] local.INFO: TCP Data received {"connection_id":50742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:00:52] local.INFO: Processing buffer {"connection_id":50742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:00:52] local.INFO: IMEI packet received {"connection_id":50742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":50742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:01:05] local.INFO: TCP Data received {"connection_id":50231,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bc1a60012d77ab8005f2a7a00018005520..."} 
[2026-04-22 02:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bc1a60012d77ab8005f2a7a00018005520..."} 
[2026-04-22 02:01:05] local.INFO: Processing buffer {"connection_id":50231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bc1a60012d77ab8005f2a7a00018005520..."} 
[2026-04-22 02:01:05] local.INFO: Packet analysis {"connection_id":50231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1bc"} 
[2026-04-22 02:01:05] local.INFO: Extracted packet for processing {"connection_id":50231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1bc"} 
[2026-04-22 02:01:05] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":24,"angle":85,"satellites":32,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861590272001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 02:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776803388000,"timestamp_ms":1776803388000,"timestamp_seconds":1776803388,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bc1a60"} 
[2026-04-22 02: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-22 02: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-22 02: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 02:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861590272001,"66":24788,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861590272001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:01:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 02:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861590272001,"power":24788,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 02:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":50231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:01:05] local.INFO: GPS data processed {"connection_id":50231,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:01:05] local.INFO: Acknowledgment sent {"connection_id":50231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:01:29] local.INFO: TCP Data received {"connection_id":50232,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:01:29] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:01:29] local.INFO: IMEI packet received {"connection_id":50232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":50232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:01:33] local.INFO: TCP Data received {"connection_id":50232,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:01:33] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:01:33] local.INFO: IMEI packet received {"connection_id":50232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":50232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:01:38] local.INFO: TCP Data received {"connection_id":50232,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:01:38] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:01:38] local.INFO: IMEI packet received {"connection_id":50232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":50232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:01:39] local.INFO: TCP Data received {"connection_id":50232,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bcb2b8012d77ab8005f2a7a00018005523..."} 
[2026-04-22 02:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bcb2b8012d77ab8005f2a7a00018005523..."} 
[2026-04-22 02:01:39] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bcb2b8012d77ab8005f2a7a00018005523..."} 
[2026-04-22 02:01:39] local.INFO: Packet analysis {"connection_id":50232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1bc"} 
[2026-04-22 02:01:39] local.INFO: Extracted packet for processing {"connection_id":50232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1bc"} 
[2026-04-22 02:01:39] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99788704,"longitude_deg":76.2817408,"latitude_deg":9.9788704,"altitude":24,"angle":85,"satellites":35,"speed":0,"hex_longitude":"2d77ab80","hex_latitude":"05f2a7a0","is_valid_coordinates":true} 
[2026-04-22 02:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861667328001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 02:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776803427000,"timestamp_ms":1776803427000,"timestamp_seconds":1776803427,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bcb2b8"} 
[2026-04-22 02:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 02:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-22 02:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861667328001,"66":24875,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861667328001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:01:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 02:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861667328001,"power":24875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 02:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":50232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:01:39] local.INFO: GPS data processed {"connection_id":50232,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:01:39] local.INFO: Acknowledgment sent {"connection_id":50232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:01:43] local.INFO: TCP Data received {"connection_id":50232,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bcbe70012d77a78005f2a8c00018014721..."} 
[2026-04-22 02:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bcbe70012d77a78005f2a8c00018014721..."} 
[2026-04-22 02:01:43] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bcbe70012d77a78005f2a8c00018014721..."} 
[2026-04-22 02:01:43] local.INFO: Packet analysis {"connection_id":50232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1bc"} 
[2026-04-22 02:01:43] local.INFO: Extracted packet for processing {"connection_id":50232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1bc"} 
[2026-04-22 02:01:43] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788992,"longitude_deg":76.2816384,"latitude_deg":9.9788992,"altitude":24,"angle":327,"satellites":33,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f2a8c0","is_valid_coordinates":true} 
[2026-04-22 02:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861677312001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565210112,"note":"Value kept but may cause issues"} 
[2026-04-22 02:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776803430000,"timestamp_ms":1776803430000,"timestamp_seconds":1776803430,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bcbe70"} 
[2026-04-22 02:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:01: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-22 02:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-22 02:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861677312001,"66":22821,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8623126674565210112},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861677312001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:01:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565210112,"description":"Unknown IO ID 45"} 
[2026-04-22 02:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861677312001,"power":22821,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565210112}} 
[2026-04-22 02:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":50232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:01:43] local.INFO: GPS data processed {"connection_id":50232,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:01:43] local.INFO: Acknowledgment sent {"connection_id":50232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:02:27] local.INFO: TCP Data received {"connection_id":50090,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:02:27] local.INFO: Processing buffer {"connection_id":50090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:02:27] local.INFO: IMEI packet received {"connection_id":50090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:02:32] local.INFO: TCP Data received {"connection_id":50090,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:02:32] local.INFO: Processing buffer {"connection_id":50090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:02:32] local.INFO: IMEI packet received {"connection_id":50090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:02:33] local.INFO: TCP Data received {"connection_id":50090,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bd1078012d77a78005f2a8c00018014722..."} 
[2026-04-22 02:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bd1078012d77a78005f2a8c00018014722..."} 
[2026-04-22 02:02:33] local.INFO: Processing buffer {"connection_id":50090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bd1078012d77a78005f2a8c00018014722..."} 
[2026-04-22 02:02:33] local.INFO: Packet analysis {"connection_id":50090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1bd"} 
[2026-04-22 02:02:33] local.INFO: Extracted packet for processing {"connection_id":50090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1bd"} 
[2026-04-22 02:02:33] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788992,"longitude_deg":76.2816384,"latitude_deg":9.9788992,"altitude":24,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f2a8c0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861678080001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774658441216,"note":"Value kept but may cause issues"} 
[2026-04-22 02:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776803451000,"timestamp_ms":1776803451000,"timestamp_seconds":1776803451,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bd1078"} 
[2026-04-22 02: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-22 02: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-22 02: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":89,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 02:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":976,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861678080001,"66":26930,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622000774658441216},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861678080001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:02:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774658441216,"description":"Unknown IO ID 45"} 
[2026-04-22 02:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861678080001,"power":26930,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774658441216}} 
[2026-04-22 02:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:02:33] local.INFO: GPS data processed {"connection_id":50090,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:02:33] local.INFO: Acknowledgment sent {"connection_id":50090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:02:38] local.INFO: TCP Data received {"connection_id":50090,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bd6280012d77a78005f2a8c00018014722..."} 
[2026-04-22 02:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bd6280012d77a78005f2a8c00018014722..."} 
[2026-04-22 02:02:38] local.INFO: Processing buffer {"connection_id":50090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bd6280012d77a78005f2a8c00018014722..."} 
[2026-04-22 02:02:38] local.INFO: Packet analysis {"connection_id":50090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1bd"} 
[2026-04-22 02:02:38] local.INFO: Extracted packet for processing {"connection_id":50090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1bd"} 
[2026-04-22 02:02:38] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788992,"longitude_deg":76.2816384,"latitude_deg":9.9788992,"altitude":24,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f2a8c0","is_valid_coordinates":true} 
[2026-04-22 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-22 02:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861683456001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774658441216,"note":"Value kept but may cause issues"} 
[2026-04-22 02:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776803472000,"timestamp_ms":1776803472000,"timestamp_seconds":1776803472,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bd6280"} 
[2026-04-22 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-22 02:02: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-22 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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-04-22 02:02:38] 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-22 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-22 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-22 02:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861683456001,"66":27169,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622000774658441216},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861683456001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:02:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774658441216,"description":"Unknown IO ID 45"} 
[2026-04-22 02:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861683456001,"power":27169,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774658441216}} 
[2026-04-22 02:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":50090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:02:38] local.INFO: GPS data processed {"connection_id":50090,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:02:38] local.INFO: Acknowledgment sent {"connection_id":50090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:03:09] local.INFO: TCP Data received {"connection_id":50090,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bdb488012d77a78005f2a8c00018014722..."} 
[2026-04-22 02:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bdb488012d77a78005f2a8c00018014722..."} 
[2026-04-22 02:03:09] local.INFO: Processing buffer {"connection_id":50090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bdb488012d77a78005f2a8c00018014722..."} 
[2026-04-22 02:03:09] local.INFO: Packet analysis {"connection_id":50090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1bd"} 
[2026-04-22 02:03:09] local.INFO: Extracted packet for processing {"connection_id":50090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1bd"} 
[2026-04-22 02:03:09] local.INFO: GPS Element Parsed {"raw_longitude":762816384,"raw_latitude":99788992,"longitude_deg":76.2816384,"latitude_deg":9.9788992,"altitude":24,"angle":327,"satellites":34,"speed":0,"hex_longitude":"2d77a780","hex_latitude":"05f2a8c0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861688832001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278233861245108224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622000774658441216,"note":"Value kept but may cause issues"} 
[2026-04-22 02:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776803493000,"timestamp_ms":1776803493000,"timestamp_seconds":1776803493,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bdb488"} 
[2026-04-22 02: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-22 02:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-22 02:03:09] 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-22 02: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-22 02: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-22 02:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861688832001,"66":27376,"2":206,"9":24832,"24":0,"16":278233861245108224,"45":8622000774658441216},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861688832001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:03:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278233861245108224,"km_value":278233861245108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622000774658441216,"description":"Unknown IO ID 45"} 
[2026-04-22 02:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861688832001,"power":27376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622000774658441216}} 
[2026-04-22 02:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":50090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:03:09] local.INFO: GPS data processed {"connection_id":50090,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:03:09] local.INFO: Acknowledgment sent {"connection_id":50090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:03:27] local.INFO: TCP Data received {"connection_id":49853,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:03:27] local.INFO: Processing buffer {"connection_id":49853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:03:27] local.INFO: IMEI packet received {"connection_id":49853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":49853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:03:32] local.INFO: TCP Data received {"connection_id":49853,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:03:32] local.INFO: Processing buffer {"connection_id":49853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:03:32] local.INFO: IMEI packet received {"connection_id":49853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":49853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:03:33] local.INFO: TCP Data received {"connection_id":49853,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bea2d0012d77a5c005f2a7200018012d24..."} 
[2026-04-22 02:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bea2d0012d77a5c005f2a7200018012d24..."} 
[2026-04-22 02:03:33] local.INFO: Processing buffer {"connection_id":49853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bea2d0012d77a5c005f2a7200018012d24..."} 
[2026-04-22 02:03:33] local.INFO: Packet analysis {"connection_id":49853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1be"} 
[2026-04-22 02:03:33] local.INFO: Extracted packet for processing {"connection_id":49853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1be"} 
[2026-04-22 02:03:33] local.INFO: GPS Element Parsed {"raw_longitude":762815936,"raw_latitude":99788576,"longitude_deg":76.2815936,"latitude_deg":9.9788576,"altitude":24,"angle":301,"satellites":36,"speed":0,"hex_longitude":"2d77a5c0","hex_latitude":"05f2a720","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861709568001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234041633734656,"note":"Value kept but may cause issues"} 
[2026-04-22 02:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621578562193262592,"note":"Value kept but may cause issues"} 
[2026-04-22 02:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776803554000,"timestamp_ms":1776803554000,"timestamp_seconds":1776803554,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bea2d0"} 
[2026-04-22 02: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-22 02:03: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-22 02:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 02:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861709568001,"66":27615,"2":206,"9":24832,"24":0,"16":278234041633734656,"45":8621578562193262592},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861709568001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:03:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234041633734656,"km_value":278234041633734.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621578562193262592,"description":"Unknown IO ID 45"} 
[2026-04-22 02:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861709568001,"power":27615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621578562193262592}} 
[2026-04-22 02:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":49853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:03:33] local.INFO: GPS data processed {"connection_id":49853,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:03:33] local.INFO: Acknowledgment sent {"connection_id":49853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:04:05] local.INFO: TCP Data received {"connection_id":49853,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1beae88012d77a58005f2a740001a011a26..."} 
[2026-04-22 02:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1beae88012d77a58005f2a740001a011a26..."} 
[2026-04-22 02:04:05] local.INFO: Processing buffer {"connection_id":49853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1beae88012d77a58005f2a740001a011a26..."} 
[2026-04-22 02:04:05] local.INFO: Packet analysis {"connection_id":49853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1be"} 
[2026-04-22 02:04:05] local.INFO: Extracted packet for processing {"connection_id":49853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1be"} 
[2026-04-22 02:04:05] local.INFO: GPS Element Parsed {"raw_longitude":762815872,"raw_latitude":99788608,"longitude_deg":76.2815872,"latitude_deg":9.9788608,"altitude":26,"angle":282,"satellites":38,"speed":2,"hex_longitude":"2d77a580","hex_latitude":"05f2a740","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861709824001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234045928701952,"note":"Value kept but may cause issues"} 
[2026-04-22 02:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621508193449091072,"note":"Value kept but may cause issues"} 
[2026-04-22 02:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776803557000,"timestamp_ms":1776803557000,"timestamp_seconds":1776803557,"priority":1,"record_length":96,"hex_timestamp":"0000019db1beae88"} 
[2026-04-22 02: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-22 02:04: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-22 02: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-22 02:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861709824001,"66":27647,"2":206,"9":24832,"24":2,"16":278234045928701952,"45":8621508193449091072},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861709824001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:04:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234045928701952,"km_value":278234045928701.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621508193449091072,"description":"Unknown IO ID 45"} 
[2026-04-22 02:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861709824001,"power":27647,"power_alt":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8621508193449091072}} 
[2026-04-22 02:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":49853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:04:05] local.INFO: GPS data processed {"connection_id":49853,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:04:05] local.INFO: Acknowledgment sent {"connection_id":49853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:04:27] local.INFO: TCP Data received {"connection_id":49854,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:04:27] local.INFO: Processing buffer {"connection_id":49854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:04:27] local.INFO: IMEI packet received {"connection_id":49854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":49854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:04:33] local.INFO: TCP Data received {"connection_id":49854,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:04:33] local.INFO: Processing buffer {"connection_id":49854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:04:33] local.INFO: IMEI packet received {"connection_id":49854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":49854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:04:34] local.INFO: TCP Data received {"connection_id":49854,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1beb658012d77a54005f2a768001a012925..."} 
[2026-04-22 02:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1beb658012d77a54005f2a768001a012925..."} 
[2026-04-22 02:04:34] local.INFO: Processing buffer {"connection_id":49854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1beb658012d77a54005f2a768001a012925..."} 
[2026-04-22 02:04:34] local.INFO: Packet analysis {"connection_id":49854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1be"} 
[2026-04-22 02:04:34] local.INFO: Extracted packet for processing {"connection_id":49854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1be"} 
[2026-04-22 02:04:34] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99788648,"longitude_deg":76.2815808,"latitude_deg":9.9788648,"altitude":26,"angle":297,"satellites":37,"speed":1,"hex_longitude":"2d77a540","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861710592001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234050223669248,"note":"Value kept but may cause issues"} 
[2026-04-22 02:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621437824704921600,"note":"Value kept but may cause issues"} 
[2026-04-22 02:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776803559000,"timestamp_ms":1776803559000,"timestamp_seconds":1776803559,"priority":1,"record_length":96,"hex_timestamp":"0000019db1beb658"} 
[2026-04-22 02: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-22 02:04: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-22 02:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 02:04:34] 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-22 02: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-22 02: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-22 02:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861710592001,"66":27321,"2":206,"9":24832,"24":1,"16":278234050223669248,"45":8621437824704921600},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861710592001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:04:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234050223669248,"km_value":278234050223669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621437824704921600,"description":"Unknown IO ID 45"} 
[2026-04-22 02:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861710592001,"power":27321,"power_alt":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8621437824704921600}} 
[2026-04-22 02:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":49854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:04:34] local.INFO: GPS data processed {"connection_id":49854,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:04:34] local.INFO: Acknowledgment sent {"connection_id":49854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:05:05] local.INFO: TCP Data received {"connection_id":49854,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1beed08012d77a4c005f2a768001b012b23..."} 
[2026-04-22 02:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1beed08012d77a4c005f2a768001b012b23..."} 
[2026-04-22 02:05:05] local.INFO: Processing buffer {"connection_id":49854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1beed08012d77a4c005f2a768001b012b23..."} 
[2026-04-22 02:05:05] local.INFO: Packet analysis {"connection_id":49854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1be"} 
[2026-04-22 02:05:05] local.INFO: Extracted packet for processing {"connection_id":49854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1be"} 
[2026-04-22 02:05:05] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":35,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861711104001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960754176,"note":"Value kept but may cause issues"} 
[2026-04-22 02:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776803573000,"timestamp_ms":1776803573000,"timestamp_seconds":1776803573,"priority":1,"record_length":96,"hex_timestamp":"0000019db1beed08"} 
[2026-04-22 02: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-22 02:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861711104001,"66":27680,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621367455960754176},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861711104001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:05:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960754176,"description":"Unknown IO ID 45"} 
[2026-04-22 02:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861711104001,"power":27680,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455960754176}} 
[2026-04-22 02:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":49854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:05:05] local.INFO: GPS data processed {"connection_id":49854,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:05:05] local.INFO: Acknowledgment sent {"connection_id":49854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:05:33] local.INFO: TCP Data received {"connection_id":50743,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:05:33] local.INFO: Processing buffer {"connection_id":50743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:05:33] local.INFO: IMEI packet received {"connection_id":50743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":50743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:05:38] local.INFO: TCP Data received {"connection_id":50743,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:05:38] local.INFO: Processing buffer {"connection_id":50743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:05:38] local.INFO: IMEI packet received {"connection_id":50743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":50743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:05:39] local.INFO: TCP Data received {"connection_id":50743,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bf42f8012d77a54005f2a770001b012b26..."} 
[2026-04-22 02:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bf42f8012d77a54005f2a770001b012b26..."} 
[2026-04-22 02:05:39] local.INFO: Processing buffer {"connection_id":50743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bf42f8012d77a54005f2a770001b012b26..."} 
[2026-04-22 02:05:39] local.INFO: Packet analysis {"connection_id":50743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1bf"} 
[2026-04-22 02:05:39] local.INFO: Extracted packet for processing {"connection_id":50743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1bf"} 
[2026-04-22 02:05:39] local.INFO: GPS Element Parsed {"raw_longitude":762815808,"raw_latitude":99788656,"longitude_deg":76.2815808,"latitude_deg":9.9788656,"altitude":27,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2d77a540","hex_latitude":"05f2a770","is_valid_coordinates":true} 
[2026-04-22 02:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861714688001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776803595000,"timestamp_ms":1776803595000,"timestamp_seconds":1776803595,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bf42f8"} 
[2026-04-22 02:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 02:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-04-22 02:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861714688001,"66":26452,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861714688001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:05:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861714688001,"power":26452,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":50743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:05:39] local.INFO: GPS data processed {"connection_id":50743,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:05:39] local.INFO: Acknowledgment sent {"connection_id":50743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:06:10] local.INFO: TCP Data received {"connection_id":50743,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1bf75c0012d77a4c005f2a768001b012b26..."} 
[2026-04-22 02:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1bf75c0012d77a4c005f2a768001b012b26..."} 
[2026-04-22 02:06:10] local.INFO: Processing buffer {"connection_id":50743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1bf75c0012d77a4c005f2a768001b012b26..."} 
[2026-04-22 02:06:10] local.INFO: Packet analysis {"connection_id":50743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1bf"} 
[2026-04-22 02:06:10] local.INFO: Extracted packet for processing {"connection_id":50743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1bf"} 
[2026-04-22 02:06:10] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861720320001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621367455960756224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776803608000,"timestamp_ms":1776803608000,"timestamp_seconds":1776803608,"priority":1,"record_length":96,"hex_timestamp":"0000019db1bf75c0"} 
[2026-04-22 02:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:06: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-22 02:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-22 02:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861720320001,"66":26963,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621367455960756224},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861720320001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:06:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621367455960756224,"description":"Unknown IO ID 45"} 
[2026-04-22 02:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861720320001,"power":26963,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621367455960756224}} 
[2026-04-22 02:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":50743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:06:10] local.INFO: GPS data processed {"connection_id":50743,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:06:10] local.INFO: Acknowledgment sent {"connection_id":50743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:06:12] local.INFO: TCP Data received {"connection_id":50744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:06:12] local.INFO: Processing buffer {"connection_id":50744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:06:12] local.INFO: IMEI packet received {"connection_id":50744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":50744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:06:27] local.INFO: TCP Data received {"connection_id":49856,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:06:27] local.INFO: Processing buffer {"connection_id":49856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:06:27] local.INFO: IMEI packet received {"connection_id":49856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":49856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:06:33] local.INFO: TCP Data received {"connection_id":49856,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:06:33] local.INFO: Processing buffer {"connection_id":49856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:06:33] local.INFO: IMEI packet received {"connection_id":49856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":49856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:06:39] local.INFO: TCP Data received {"connection_id":49856,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c0e108012d77a48005f2a748001b012b27..."} 
[2026-04-22 02:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c0e108012d77a48005f2a748001b012b27..."} 
[2026-04-22 02:06:39] local.INFO: Processing buffer {"connection_id":49856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c0e108012d77a48005f2a748001b012b27..."} 
[2026-04-22 02:06:39] local.INFO: Packet analysis {"connection_id":49856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c0"} 
[2026-04-22 02:06:39] local.INFO: Extracted packet for processing {"connection_id":49856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c0"} 
[2026-04-22 02:06:39] local.INFO: GPS Element Parsed {"raw_longitude":762815616,"raw_latitude":99788616,"longitude_deg":76.2815616,"latitude_deg":9.9788616,"altitude":27,"angle":299,"satellites":39,"speed":0,"hex_longitude":"2d77a480","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-04-22 02:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861723648001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776803701000,"timestamp_ms":1776803701000,"timestamp_seconds":1776803701,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c0e108"} 
[2026-04-22 02:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 02:06: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-22 02:06:39] 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-22 02:06: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-22 02:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":49856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":49856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":49856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861723648001,"66":25756,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861723648001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:06:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861723648001,"power":25756,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":49856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:06:39] local.INFO: GPS data processed {"connection_id":49856,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:06:39] local.INFO: Acknowledgment sent {"connection_id":49856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:06:52] local.INFO: TCP Data received {"connection_id":50093,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:06:52] local.INFO: Processing buffer {"connection_id":50093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:06:52] local.INFO: IMEI packet received {"connection_id":50093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":50093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:07:11] local.INFO: TCP Data received {"connection_id":49856,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c13ec8012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c13ec8012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:07:11] local.INFO: Processing buffer {"connection_id":49856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c13ec8012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:07:11] local.INFO: Packet analysis {"connection_id":49856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:07:11] local.INFO: Extracted packet for processing {"connection_id":49856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:07:11] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":41,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861747456001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621156349728212992,"note":"Value kept but may cause issues"} 
[2026-04-22 02:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776803725000,"timestamp_ms":1776803725000,"timestamp_seconds":1776803725,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c13ec8"} 
[2026-04-22 02:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:07: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-22 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-22 02:07:11] 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-22 02:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":49856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":49856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":49856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861747456001,"66":27745,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621156349728212992},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861747456001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:07:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621156349728212992,"description":"Unknown IO ID 45"} 
[2026-04-22 02:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861747456001,"power":27745,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621156349728212992}} 
[2026-04-22 02:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":49856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:07:11] local.INFO: GPS data processed {"connection_id":49856,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:07:11] local.INFO: Acknowledgment sent {"connection_id":49856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:07:27] local.INFO: TCP Data received {"connection_id":50094,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:07:27] local.INFO: Processing buffer {"connection_id":50094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:07:27] local.INFO: IMEI packet received {"connection_id":50094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:07:33] local.INFO: TCP Data received {"connection_id":50094,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:07:33] local.INFO: Processing buffer {"connection_id":50094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:07:33] local.INFO: IMEI packet received {"connection_id":50094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":50094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:07:34] local.INFO: TCP Data received {"connection_id":50094,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:07:34] local.INFO: Processing buffer {"connection_id":50094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:07:34] local.INFO: Packet analysis {"connection_id":50094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:07:34] local.INFO: Extracted packet for processing {"connection_id":50094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:07:34] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":41,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02:07: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-22 02:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861753600001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776803733000,"timestamp_ms":1776803733000,"timestamp_seconds":1776803733,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c15e08"} 
[2026-04-22 02: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-22 02: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-22 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 02:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861753600001,"66":27767,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861753600001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:07:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861753600001,"power":27767,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":50094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:07:34] local.INFO: GPS data processed {"connection_id":50094,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:07:34] local.INFO: Acknowledgment sent {"connection_id":50094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:08:05] local.INFO: TCP Data received {"connection_id":50094,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:08:05] local.INFO: Processing buffer {"connection_id":50094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:08:05] local.INFO: Packet analysis {"connection_id":50094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:08:05] local.INFO: Extracted packet for processing {"connection_id":50094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:08:05] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":41,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861753600001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776803733000,"timestamp_ms":1776803733000,"timestamp_seconds":1776803733,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c15e08"} 
[2026-04-22 02:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:08: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-22 02:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 02:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861753600001,"66":27767,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861753600001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:08:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861753600001,"power":27767,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":50094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:08:05] local.INFO: GPS data processed {"connection_id":50094,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:08:05] local.INFO: Acknowledgment sent {"connection_id":50094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:08:32] local.INFO: TCP Data received {"connection_id":49857,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:08:32] local.INFO: Processing buffer {"connection_id":49857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:08:32] local.INFO: IMEI packet received {"connection_id":49857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":49857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:08:38] local.INFO: TCP Data received {"connection_id":49857,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:08:38] local.INFO: Processing buffer {"connection_id":49857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:08:38] local.INFO: IMEI packet received {"connection_id":49857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":49857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:08:39] local.INFO: TCP Data received {"connection_id":49857,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:08:39] local.INFO: Processing buffer {"connection_id":49857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:08:39] local.INFO: Packet analysis {"connection_id":49857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:08:39] local.INFO: Extracted packet for processing {"connection_id":49857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:08:39] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":41,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861753600001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776803733000,"timestamp_ms":1776803733000,"timestamp_seconds":1776803733,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c15e08"} 
[2026-04-22 02:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:08: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-22 02:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 02:08: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-22 02:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":49857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":49857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":49857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861753600001,"66":27767,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861753600001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:08:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861753600001,"power":27767,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":49857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:08:39] local.INFO: GPS data processed {"connection_id":49857,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:08:39] local.INFO: Acknowledgment sent {"connection_id":49857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:08:43] local.INFO: TCP Data received {"connection_id":49857,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:08:43] local.INFO: Processing buffer {"connection_id":49857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:08:43] local.INFO: Packet analysis {"connection_id":49857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:08:43] local.INFO: Extracted packet for processing {"connection_id":49857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:08:43] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":41,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-22 02:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861753600001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776803733000,"timestamp_ms":1776803733000,"timestamp_seconds":1776803733,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c15e08"} 
[2026-04-22 02:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:08: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-22 02:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 02:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861753600001,"66":27767,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861753600001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:08:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861753600001,"power":27767,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":49857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:08:43] local.INFO: GPS data processed {"connection_id":49857,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:08:43] local.INFO: Acknowledgment sent {"connection_id":49857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:09:27] local.INFO: TCP Data received {"connection_id":50234,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:09:27] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:09:27] local.INFO: IMEI packet received {"connection_id":50234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:09:36] local.INFO: TCP Data received {"connection_id":50234,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:09:36] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:09:36] local.INFO: IMEI packet received {"connection_id":50234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":50234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:09:37] local.INFO: TCP Data received {"connection_id":50234,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:09:37] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c15e08012d77a4c005f2a768001b012b29..."} 
[2026-04-22 02:09:37] local.INFO: Packet analysis {"connection_id":50234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:09:37] local.INFO: Extracted packet for processing {"connection_id":50234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c1"} 
[2026-04-22 02:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":41,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02:09: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-22 02:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861753600001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776803733000,"timestamp_ms":1776803733000,"timestamp_seconds":1776803733,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c15e08"} 
[2026-04-22 02: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-22 02:09: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-22 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 02:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861753600001,"66":27767,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861753600001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:09:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861753600001,"power":27767,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":50234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:09:37] local.INFO: GPS data processed {"connection_id":50234,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:09:37] local.INFO: Acknowledgment sent {"connection_id":50234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:10:20] local.INFO: TCP Data received {"connection_id":50234,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c48e70012d77a48005f2a748001b012b25..."} 
[2026-04-22 02:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c48e70012d77a48005f2a748001b012b25..."} 
[2026-04-22 02:10:20] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c48e70012d77a48005f2a748001b012b25..."} 
[2026-04-22 02:10:20] local.INFO: Packet analysis {"connection_id":50234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c4"} 
[2026-04-22 02:10:20] local.INFO: Extracted packet for processing {"connection_id":50234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c4"} 
[2026-04-22 02:10:20] local.INFO: GPS Element Parsed {"raw_longitude":762815616,"raw_latitude":99788616,"longitude_deg":76.2815616,"latitude_deg":9.9788616,"altitude":27,"angle":299,"satellites":37,"speed":0,"hex_longitude":"2d77a480","hex_latitude":"05f2a748","is_valid_coordinates":true} 
[2026-04-22 02:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861755648001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776803942000,"timestamp_ms":1776803942000,"timestamp_seconds":1776803942,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c48e70"} 
[2026-04-22 02: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-22 02:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 02:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-22 02:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861755648001,"66":25604,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861755648001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861755648001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":50234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:10:20] local.INFO: GPS data processed {"connection_id":50234,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:10:20] local.INFO: Acknowledgment sent {"connection_id":50234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:10:31] local.INFO: TCP Data received {"connection_id":50235,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:10:31] local.INFO: Processing buffer {"connection_id":50235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:10:31] local.INFO: IMEI packet received {"connection_id":50235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":50235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:10:32] local.INFO: TCP Data received {"connection_id":50235,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:10:32] local.INFO: Processing buffer {"connection_id":50235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:10:32] local.INFO: IMEI packet received {"connection_id":50235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:10:33] local.INFO: TCP Data received {"connection_id":50235,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c4ec30012d77a4c005f2a768001b012b28..."} 
[2026-04-22 02:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c4ec30012d77a4c005f2a768001b012b28..."} 
[2026-04-22 02:10:33] local.INFO: Processing buffer {"connection_id":50235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c4ec30012d77a4c005f2a768001b012b28..."} 
[2026-04-22 02:10:33] local.INFO: Packet analysis {"connection_id":50235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c4"} 
[2026-04-22 02:10:33] local.INFO: Extracted packet for processing {"connection_id":50235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c4"} 
[2026-04-22 02:10:33] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":40,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861809152001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621156349728212992,"note":"Value kept but may cause issues"} 
[2026-04-22 02:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776803966000,"timestamp_ms":1776803966000,"timestamp_seconds":1776803966,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c4ec30"} 
[2026-04-22 02: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-22 02:10: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-22 02: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 02:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 02: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-22 02: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-22 02:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861809152001,"66":27691,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621156349728212992},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861809152001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:10:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621156349728212992,"description":"Unknown IO ID 45"} 
[2026-04-22 02:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861809152001,"power":27691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621156349728212992}} 
[2026-04-22 02:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":50235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:10:33] local.INFO: GPS data processed {"connection_id":50235,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:10:33] local.INFO: Acknowledgment sent {"connection_id":50235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:10:38] local.INFO: TCP Data received {"connection_id":50235,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c53a50012d77a4c005f2a768001b012b27..."} 
[2026-04-22 02:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c53a50012d77a4c005f2a768001b012b27..."} 
[2026-04-22 02:10:38] local.INFO: Processing buffer {"connection_id":50235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c53a50012d77a4c005f2a768001b012b27..."} 
[2026-04-22 02:10:38] local.INFO: Packet analysis {"connection_id":50235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c5"} 
[2026-04-22 02:10:38] local.INFO: Extracted packet for processing {"connection_id":50235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c5"} 
[2026-04-22 02:10:38] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":39,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861815296001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776803986000,"timestamp_ms":1776803986000,"timestamp_seconds":1776803986,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c53a50"} 
[2026-04-22 02: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-22 02:10: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-22 02: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-22 02:10:38] 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-22 02: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-22 02: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-22 02:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861815296001,"66":27332,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861815296001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:10:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861815296001,"power":27332,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":50235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:10:38] local.INFO: GPS data processed {"connection_id":50235,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:10:38] local.INFO: Acknowledgment sent {"connection_id":50235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:11:09] local.INFO: TCP Data received {"connection_id":50235,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c58c58012d77a4c005f2a768001b012b26..."} 
[2026-04-22 02:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c58c58012d77a4c005f2a768001b012b26..."} 
[2026-04-22 02:11:09] local.INFO: Processing buffer {"connection_id":50235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c58c58012d77a4c005f2a768001b012b26..."} 
[2026-04-22 02:11:09] local.INFO: Packet analysis {"connection_id":50235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c5"} 
[2026-04-22 02:11:09] local.INFO: Extracted packet for processing {"connection_id":50235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c5"} 
[2026-04-22 02:11:09] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788648,"longitude_deg":76.281568,"latitude_deg":9.9788648,"altitude":27,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a768","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861820416001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278234054518636544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472398848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776804007000,"timestamp_ms":1776804007000,"timestamp_seconds":1776804007,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c58c58"} 
[2026-04-22 02: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-22 02:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:11: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-22 02: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-22 02: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-22 02:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861820416001,"66":27300,"2":206,"9":24832,"24":0,"16":278234054518636544,"45":8621226718472398848},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861820416001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:11:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278234054518636544,"km_value":278234054518636.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472398848,"description":"Unknown IO ID 45"} 
[2026-04-22 02:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861820416001,"power":27300,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621226718472398848}} 
[2026-04-22 02:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":50235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:11:09] local.INFO: GPS data processed {"connection_id":50235,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:11:09] local.INFO: Acknowledgment sent {"connection_id":50235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:12:02] local.INFO: TCP Data received {"connection_id":49859,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:02] local.INFO: Processing buffer {"connection_id":49859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:02] local.INFO: IMEI packet received {"connection_id":49859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":49859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:12:07] local.INFO: TCP Data received {"connection_id":49858,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:12:07] local.INFO: Processing buffer {"connection_id":49858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:12:07] local.INFO: IMEI packet received {"connection_id":49858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":49858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:12:08] local.INFO: TCP Data received {"connection_id":49859,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:08] local.INFO: Processing buffer {"connection_id":49859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:08] local.INFO: IMEI packet received {"connection_id":49859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":49859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:12:09] local.INFO: TCP Data received {"connection_id":49859,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c65b60012d77a94005f25f40000a00b729..."} 
[2026-04-22 02:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c65b60012d77a94005f25f40000a00b729..."} 
[2026-04-22 02:12:09] local.INFO: Processing buffer {"connection_id":49859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c65b60012d77a94005f25f40000a00b729..."} 
[2026-04-22 02:12:09] local.INFO: Packet analysis {"connection_id":49859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c6"} 
[2026-04-22 02:12:09] local.INFO: Extracted packet for processing {"connection_id":49859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c6"} 
[2026-04-22 02:12:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99770176,"longitude_deg":76.2816832,"latitude_deg":9.9770176,"altitude":10,"angle":183,"satellites":41,"speed":9,"hex_longitude":"2d77a940","hex_latitude":"05f25f40","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861839104001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278235008001376256,"note":"Value kept but may cause issues"} 
[2026-04-22 02:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724607100928,"note":"Value kept but may cause issues"} 
[2026-04-22 02:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776804060000,"timestamp_ms":1776804060000,"timestamp_seconds":1776804060,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c65b60"} 
[2026-04-22 02: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-22 02:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:12: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-22 02: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-22 02: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-22 02:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":49859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":49859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":49859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861839104001,"66":27365,"2":206,"9":24832,"24":9,"16":278235008001376256,"45":8622563724607100928},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861839104001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:12:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278235008001376256,"km_value":278235008001376.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724607100928,"description":"Unknown IO ID 45"} 
[2026-04-22 02:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861839104001,"power":27365,"power_alt":206,"unknown_9":24832,"ignition":9,"odometer":null,"unknown_45":8622563724607100928}} 
[2026-04-22 02:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":49859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:12:09] local.INFO: GPS data processed {"connection_id":49859,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:12:09] local.INFO: Acknowledgment sent {"connection_id":49859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:12:32] local.INFO: TCP Data received {"connection_id":50746,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:32] local.INFO: Processing buffer {"connection_id":50746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:32] local.INFO: IMEI packet received {"connection_id":50746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:12:38] local.INFO: TCP Data received {"connection_id":50746,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:38] local.INFO: Processing buffer {"connection_id":50746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:12:38] local.INFO: IMEI packet received {"connection_id":50746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":50746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:12:39] local.INFO: TCP Data received {"connection_id":50746,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c66330012d77a98005f25cd0000a00ac29..."} 
[2026-04-22 02:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c66330012d77a98005f25cd0000a00ac29..."} 
[2026-04-22 02:12:39] local.INFO: Processing buffer {"connection_id":50746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c66330012d77a98005f25cd0000a00ac29..."} 
[2026-04-22 02:12:39] local.INFO: Packet analysis {"connection_id":50746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c6"} 
[2026-04-22 02:12:39] local.INFO: Extracted packet for processing {"connection_id":50746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c6"} 
[2026-04-22 02:12:39] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99769552,"longitude_deg":76.2816896,"latitude_deg":9.9769552,"altitude":10,"angle":172,"satellites":41,"speed":13,"hex_longitude":"2d77a980","hex_latitude":"05f25cd0","is_valid_coordinates":true} 
[2026-04-22 02:12: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-22 02:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861839360001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278235038066147328,"note":"Value kept but may cause issues"} 
[2026-04-22 02:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355862867968,"note":"Value kept but may cause issues"} 
[2026-04-22 02:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776804062000,"timestamp_ms":1776804062000,"timestamp_seconds":1776804062,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c66330"} 
[2026-04-22 02:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:12: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-22 02:12: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-22 02:12: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-22 02:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861839360001,"66":27463,"2":206,"9":24832,"24":13,"16":278235038066147328,"45":8622493355862867968},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 02:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861839360001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:12:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278235038066147328,"km_value":278235038066147.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355862867968,"description":"Unknown IO ID 45"} 
[2026-04-22 02:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861839360001,"power":27463,"power_alt":206,"unknown_9":24832,"ignition":13,"odometer":null,"unknown_45":8622493355862867968}} 
[2026-04-22 02:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":50746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:12:39] local.INFO: GPS data processed {"connection_id":50746,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:12:39] local.INFO: Acknowledgment sent {"connection_id":50746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:12:52] local.INFO: TCP Data received {"connection_id":50237,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:12:52] local.INFO: Processing buffer {"connection_id":50237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:12:52] local.INFO: IMEI packet received {"connection_id":50237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":50237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:13:10] local.INFO: TCP Data received {"connection_id":50746,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c6a980012d77af0005f23e50000d009f29..."} 
[2026-04-22 02:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c6a980012d77af0005f23e50000d009f29..."} 
[2026-04-22 02:13:10] local.INFO: Processing buffer {"connection_id":50746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c6a980012d77af0005f23e50000d009f29..."} 
[2026-04-22 02:13:10] local.INFO: Packet analysis {"connection_id":50746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c6"} 
[2026-04-22 02:13:10] local.INFO: Extracted packet for processing {"connection_id":50746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c6"} 
[2026-04-22 02:13:10] local.INFO: GPS Element Parsed {"raw_longitude":762818304,"raw_latitude":99761744,"longitude_deg":76.2818304,"latitude_deg":9.9761744,"altitude":13,"angle":159,"satellites":41,"speed":21,"hex_longitude":"2d77af00","hex_latitude":"05f23e50","is_valid_coordinates":true} 
[2026-04-22 02:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861839872001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278235424613203968,"note":"Value kept but may cause issues"} 
[2026-04-22 02:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724606885888,"note":"Value kept but may cause issues"} 
[2026-04-22 02:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776804080000,"timestamp_ms":1776804080000,"timestamp_seconds":1776804080,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c6a980"} 
[2026-04-22 02:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 02:13: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-22 02:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861839872001,"66":27571,"3":206,"9":24832,"24":21,"16":278235424613203968,"45":8622563724606885888},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-04-22 02:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861839872001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:13:10] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-04-22 02:13:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278235424613203968,"km_value":278235424613203.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724606885888,"description":"Unknown IO ID 45"} 
[2026-04-22 02:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861839872001,"power":27571,"unknown_3":206,"unknown_9":24832,"ignition":21,"odometer":null,"unknown_45":8622563724606885888}} 
[2026-04-22 02:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":50746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:13:10] local.INFO: GPS data processed {"connection_id":50746,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:13:10] local.INFO: Acknowledgment sent {"connection_id":50746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:13:32] local.INFO: TCP Data received {"connection_id":50097,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:13:32] local.INFO: Processing buffer {"connection_id":50097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:13:32] local.INFO: IMEI packet received {"connection_id":50097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:13:32] local.INFO: TCP Data received {"connection_id":50097,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:13:32] local.INFO: Processing buffer {"connection_id":50097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:13:32] local.INFO: IMEI packet received {"connection_id":50097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:13:38] local.INFO: TCP Data received {"connection_id":50097,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:13:38] local.INFO: Processing buffer {"connection_id":50097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:13:38] local.INFO: IMEI packet received {"connection_id":50097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":50097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:13:39] local.INFO: TCP Data received {"connection_id":50097,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c6e030012d77ba8005f21bc8000a009f26..."} 
[2026-04-22 02:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c6e030012d77ba8005f21bc8000a009f26..."} 
[2026-04-22 02:13:39] local.INFO: Processing buffer {"connection_id":50097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c6e030012d77ba8005f21bc8000a009f26..."} 
[2026-04-22 02:13:39] local.INFO: Packet analysis {"connection_id":50097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c6"} 
[2026-04-22 02:13:39] local.INFO: Extracted packet for processing {"connection_id":50097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c6"} 
[2026-04-22 02:13:39] local.INFO: GPS Element Parsed {"raw_longitude":762821248,"raw_latitude":99752904,"longitude_deg":76.2821248,"latitude_deg":9.9752904,"altitude":10,"angle":159,"satellites":38,"speed":28,"hex_longitude":"2d77ba80","hex_latitude":"05f21bc8","is_valid_coordinates":true} 
[2026-04-22 02:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861844480001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278235875584770048,"note":"Value kept but may cause issues"} 
[2026-04-22 02:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8624111836976795648,"note":"Value kept but may cause issues"} 
[2026-04-22 02:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776804094000,"timestamp_ms":1776804094000,"timestamp_seconds":1776804094,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c6e030"} 
[2026-04-22 02:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-22 02:13:39] 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-22 02:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861844480001,"66":27376,"204":206,"9":24832,"24":28,"16":278235875584770048,"45":8624111836976795648},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,9,24,16,45]} 
[2026-04-22 02:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861844480001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:13:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278235875584770048,"km_value":278235875584770.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8624111836976795648,"description":"Unknown IO ID 45"} 
[2026-04-22 02:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861844480001,"power":27376,"lac":206,"unknown_9":24832,"ignition":28,"odometer":null,"unknown_45":8624111836976795648}} 
[2026-04-22 02:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":50097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:13:39] local.INFO: GPS data processed {"connection_id":50097,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:13:39] local.INFO: Acknowledgment sent {"connection_id":50097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:13:39] local.INFO: TCP Data received {"connection_id":50097,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c70f10012d77c68005f1fb00000500a421..."} 
[2026-04-22 02:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c70f10012d77c68005f1fb00000500a421..."} 
[2026-04-22 02:13:39] local.INFO: Processing buffer {"connection_id":50097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c70f10012d77c68005f1fb00000500a421..."} 
[2026-04-22 02:13:39] local.INFO: Packet analysis {"connection_id":50097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c7"} 
[2026-04-22 02:13:39] local.INFO: Extracted packet for processing {"connection_id":50097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c7"} 
[2026-04-22 02:13:39] local.INFO: GPS Element Parsed {"raw_longitude":762824320,"raw_latitude":99744512,"longitude_deg":76.282432,"latitude_deg":9.9744512,"altitude":5,"angle":164,"satellites":33,"speed":28,"hex_longitude":"2d77c680","hex_latitude":"05f1fb00","is_valid_coordinates":true} 
[2026-04-22 02:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861848064001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278236309376466944,"note":"Value kept but may cause issues"} 
[2026-04-22 02:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8627348799206705152,"note":"Value kept but may cause issues"} 
[2026-04-22 02:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776804106000,"timestamp_ms":1776804106000,"timestamp_seconds":1776804106,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c70f10"} 
[2026-04-22 02:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:13: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-22 02:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 02:13: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-22 02:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861848064001,"66":26452,"204":206,"9":24832,"24":28,"16":278236309376466944,"45":8627348799206705152},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,9,24,16,45]} 
[2026-04-22 02:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861848064001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:13:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278236309376466944,"km_value":278236309376466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8627348799206705152,"description":"Unknown IO ID 45"} 
[2026-04-22 02:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861848064001,"power":26452,"lac":206,"unknown_9":24832,"ignition":28,"odometer":null,"unknown_45":8627348799206705152}} 
[2026-04-22 02:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":50097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:13:39] local.INFO: GPS data processed {"connection_id":50097,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:13:39] local.INFO: Acknowledgment sent {"connection_id":50097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:14:11] local.INFO: TCP Data received {"connection_id":50097,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c76118012d77ce4005f1dac8000500a82a..."} 
[2026-04-22 02:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c76118012d77ce4005f1dac8000500a82a..."} 
[2026-04-22 02:14:11] local.INFO: Processing buffer {"connection_id":50097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c76118012d77ce4005f1dac8000500a82a..."} 
[2026-04-22 02:14:11] local.INFO: Packet analysis {"connection_id":50097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c7"} 
[2026-04-22 02:14:11] local.INFO: Extracted packet for processing {"connection_id":50097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c7"} 
[2026-04-22 02:14:11] local.INFO: GPS Element Parsed {"raw_longitude":762826304,"raw_latitude":99736264,"longitude_deg":76.2826304,"latitude_deg":9.9736264,"altitude":5,"angle":168,"satellites":42,"speed":6,"hex_longitude":"2d77ce40","hex_latitude":"05f1dac8","is_valid_coordinates":true} 
[2026-04-22 02:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861851136001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278236721693327360,"note":"Value kept but may cause issues"} 
[2026-04-22 02:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8630726498925084672,"note":"Value kept but may cause issues"} 
[2026-04-22 02:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776804127000,"timestamp_ms":1776804127000,"timestamp_seconds":1776804127,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c76118"} 
[2026-04-22 02:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:14: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-22 02:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-22 02:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861851136001,"66":27463,"204":206,"9":24832,"24":6,"16":278236721693327360,"45":8630726498925084672},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,9,24,16,45]} 
[2026-04-22 02:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861851136001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:14:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278236721693327360,"km_value":278236721693327.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8630726498925084672,"description":"Unknown IO ID 45"} 
[2026-04-22 02:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861851136001,"power":27463,"lac":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8630726498925084672}} 
[2026-04-22 02:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":50097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:14:11] local.INFO: GPS data processed {"connection_id":50097,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:14:11] local.INFO: Acknowledgment sent {"connection_id":50097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:14:27] local.INFO: TCP Data received {"connection_id":50238,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:14:27] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:14:27] local.INFO: IMEI packet received {"connection_id":50238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:14:33] local.INFO: TCP Data received {"connection_id":50238,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:14:33] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:14:33] local.INFO: IMEI packet received {"connection_id":50238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":50238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:14:36] local.INFO: TCP Data received {"connection_id":50238,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c7b320012d77cfc005f1d090000800ab2a..."} 
[2026-04-22 02:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c7b320012d77cfc005f1d090000800ab2a..."} 
[2026-04-22 02:14:36] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c7b320012d77cfc005f1d090000800ab2a..."} 
[2026-04-22 02:14:36] local.INFO: Packet analysis {"connection_id":50238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c7"} 
[2026-04-22 02:14:36] local.INFO: Extracted packet for processing {"connection_id":50238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c7"} 
[2026-04-22 02:14:36] local.INFO: GPS Element Parsed {"raw_longitude":762826688,"raw_latitude":99733648,"longitude_deg":76.2826688,"latitude_deg":9.9733648,"altitude":8,"angle":171,"satellites":42,"speed":16,"hex_longitude":"2d77cfc0","hex_latitude":"05f1d090","is_valid_coordinates":true} 
[2026-04-22 02:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861856512001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278236859132280832,"note":"Value kept but may cause issues"} 
[2026-04-22 02:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8632907929992480768,"note":"Value kept but may cause issues"} 
[2026-04-22 02:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776804148000,"timestamp_ms":1776804148000,"timestamp_seconds":1776804148,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c7b320"} 
[2026-04-22 02:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:14: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-22 02:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 02:14: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-22 02:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861856512001,"66":27397,"204":206,"9":24832,"24":16,"16":278236859132280832,"45":8632907929992480768},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,9,24,16,45]} 
[2026-04-22 02:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861856512001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:14:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278236859132280832,"km_value":278236859132280.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8632907929992480768,"description":"Unknown IO ID 45"} 
[2026-04-22 02:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861856512001,"power":27397,"lac":206,"unknown_9":24832,"ignition":16,"odometer":null,"unknown_45":8632907929992480768}} 
[2026-04-22 02:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":50238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:14:36] local.INFO: GPS data processed {"connection_id":50238,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:14:36] local.INFO: Acknowledgment sent {"connection_id":50238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:14:37] local.INFO: TCP Data received {"connection_id":50238,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c7e9d0012d77d60005f1ad20000800b127..."} 
[2026-04-22 02:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c7e9d0012d77d60005f1ad20000800b127..."} 
[2026-04-22 02:14:37] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c7e9d0012d77d60005f1ad20000800b127..."} 
[2026-04-22 02:14:37] local.INFO: Packet analysis {"connection_id":50238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c7"} 
[2026-04-22 02:14:37] local.INFO: Extracted packet for processing {"connection_id":50238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c7"} 
[2026-04-22 02:14:37] local.INFO: GPS Element Parsed {"raw_longitude":762828288,"raw_latitude":99724576,"longitude_deg":76.2828288,"latitude_deg":9.9724576,"altitude":8,"angle":177,"satellites":39,"speed":29,"hex_longitude":"2d77d600","hex_latitude":"05f1ad20","is_valid_coordinates":true} 
[2026-04-22 02:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861861888001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278237305808879616,"note":"Value kept but may cause issues"} 
[2026-04-22 02:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8633330142456877056,"note":"Value kept but may cause issues"} 
[2026-04-22 02:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776804162000,"timestamp_ms":1776804162000,"timestamp_seconds":1776804162,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c7e9d0"} 
[2026-04-22 02:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:14: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-22 02:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 02:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861861888001,"66":27397,"204":206,"9":24832,"24":29,"16":278237305808879616,"45":8633330142456877056},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,9,24,16,45]} 
[2026-04-22 02:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861861888001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:14:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278237305808879616,"km_value":278237305808879.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8633330142456877056,"description":"Unknown IO ID 45"} 
[2026-04-22 02:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861861888001,"power":27397,"lac":206,"unknown_9":24832,"ignition":29,"odometer":null,"unknown_45":8633330142456877056}} 
[2026-04-22 02:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":50238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:14:37] local.INFO: GPS data processed {"connection_id":50238,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:14:37] local.INFO: Acknowledgment sent {"connection_id":50238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:15:12] local.INFO: TCP Data received {"connection_id":50238,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c814c8012d77d70005f19860000700a126..."} 
[2026-04-22 02:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c814c8012d77d70005f19860000700a126..."} 
[2026-04-22 02:15:12] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c814c8012d77d70005f19860000700a126..."} 
[2026-04-22 02:15:12] local.INFO: Packet analysis {"connection_id":50238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c8"} 
[2026-04-22 02:15:12] local.INFO: Extracted packet for processing {"connection_id":50238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c8"} 
[2026-04-22 02:15:12] local.INFO: GPS Element Parsed {"raw_longitude":762828544,"raw_latitude":99719264,"longitude_deg":76.2828544,"latitude_deg":9.9719264,"altitude":7,"angle":161,"satellites":38,"speed":6,"hex_longitude":"2d77d700","hex_latitude":"05f19860","is_valid_coordinates":true} 
[2026-04-22 02:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861865472001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278237563506917376,"note":"Value kept but may cause issues"} 
[2026-04-22 02:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8635089361058996224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776804173000,"timestamp_ms":1776804173000,"timestamp_seconds":1776804173,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c814c8"} 
[2026-04-22 02:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 02:15:12] 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-22 02:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861865472001,"66":27213,"204":206,"9":24832,"24":6,"16":278237563506917376,"45":8635089361058996224},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,9,24,16,45]} 
[2026-04-22 02:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861865472001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:15:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278237563506917376,"km_value":278237563506917.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8635089361058996224,"description":"Unknown IO ID 45"} 
[2026-04-22 02:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861865472001,"power":27213,"lac":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8635089361058996224}} 
[2026-04-22 02:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":50238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:15:12] local.INFO: GPS data processed {"connection_id":50238,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:15:12] local.INFO: Acknowledgment sent {"connection_id":50238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:16:27] local.INFO: TCP Data received {"connection_id":50747,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:16:27] local.INFO: Processing buffer {"connection_id":50747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:16:27] local.INFO: IMEI packet received {"connection_id":50747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:16:28] local.INFO: TCP Data received {"connection_id":50747,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:16:28] local.INFO: Processing buffer {"connection_id":50747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:16:28] local.INFO: IMEI packet received {"connection_id":50747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":50747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:16:33] local.INFO: TCP Data received {"connection_id":50747,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:16:33] local.INFO: Processing buffer {"connection_id":50747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:16:33] local.INFO: IMEI packet received {"connection_id":50747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":50747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:16:34] local.INFO: TCP Data received {"connection_id":50747,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1caa508012d78674005f0af30000c00ae29..."} 
[2026-04-22 02:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1caa508012d78674005f0af30000c00ae29..."} 
[2026-04-22 02:16:34] local.INFO: Processing buffer {"connection_id":50747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1caa508012d78674005f0af30000c00ae29..."} 
[2026-04-22 02:16:34] local.INFO: Packet analysis {"connection_id":50747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ca"} 
[2026-04-22 02:16:34] local.INFO: Extracted packet for processing {"connection_id":50747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ca"} 
[2026-04-22 02:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762865472,"raw_latitude":99659568,"longitude_deg":76.2865472,"latitude_deg":9.9659568,"altitude":12,"angle":174,"satellites":41,"speed":38,"hex_longitude":"2d786740","hex_latitude":"05f0af30","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861908992001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278241832704409600,"note":"Value kept but may cause issues"} 
[2026-04-22 02:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8674495857784207360,"note":"Value kept but may cause issues"} 
[2026-04-22 02:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776804341000,"timestamp_ms":1776804341000,"timestamp_seconds":1776804341,"priority":1,"record_length":96,"hex_timestamp":"0000019db1caa508"} 
[2026-04-22 02: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-22 02:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":87,"data_length":795,"current_offset":136} 
[2026-04-22 02:16:34] 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-22 02: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-22 02: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-22 02:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861908992001,"66":27463,"72":206,"9":24832,"24":38,"16":278241832704409600,"45":8674495857784207360},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,9,24,16,45]} 
[2026-04-22 02:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861908992001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:16:34] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-22 02:16:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278241832704409600,"km_value":278241832704409.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8674495857784207360,"description":"Unknown IO ID 45"} 
[2026-04-22 02:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861908992001,"power":27463,"unknown_72":206,"unknown_9":24832,"ignition":38,"odometer":null,"unknown_45":8674495857784207360}} 
[2026-04-22 02:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":50747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:16:34] local.INFO: GPS data processed {"connection_id":50747,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:16:34] local.INFO: Acknowledgment sent {"connection_id":50747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:17:05] local.INFO: TCP Data received {"connection_id":50747,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1cabc78012d786a4005f09938000c009f25..."} 
[2026-04-22 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1cabc78012d786a4005f09938000c009f25..."} 
[2026-04-22 02:17:06] local.INFO: Processing buffer {"connection_id":50747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1cabc78012d786a4005f09938000c009f25..."} 
[2026-04-22 02:17:06] local.INFO: Packet analysis {"connection_id":50747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ca"} 
[2026-04-22 02:17:06] local.INFO: Extracted packet for processing {"connection_id":50747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ca"} 
[2026-04-22 02:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762866240,"raw_latitude":99653944,"longitude_deg":76.286624,"latitude_deg":9.9653944,"altitude":12,"angle":159,"satellites":37,"speed":36,"hex_longitude":"2d786a40","hex_latitude":"05f09938","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861911296001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278242107582316544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8675973601409576960,"note":"Value kept but may cause issues"} 
[2026-04-22 02:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776804347000,"timestamp_ms":1776804347000,"timestamp_seconds":1776804347,"priority":1,"record_length":96,"hex_timestamp":"0000019db1cabc78"} 
[2026-04-22 02: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-22 02:17: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-22 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 02:17: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-22 02: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-22 02: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-22 02:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861911296001,"66":27223,"72":206,"9":24832,"24":36,"16":278242107582316544,"45":8675973601409576960},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,9,24,16,45]} 
[2026-04-22 02:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861911296001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:17:06] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-22 02:17:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278242107582316544,"km_value":278242107582316.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8675973601409576960,"description":"Unknown IO ID 45"} 
[2026-04-22 02:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861911296001,"power":27223,"unknown_72":206,"unknown_9":24832,"ignition":36,"odometer":null,"unknown_45":8675973601409576960}} 
[2026-04-22 02:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":50747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:17:06] local.INFO: GPS data processed {"connection_id":50747,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:17:06] local.INFO: Acknowledgment sent {"connection_id":50747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:17:32] local.INFO: TCP Data received {"connection_id":49862,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:32] local.INFO: Processing buffer {"connection_id":49862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:32] local.INFO: IMEI packet received {"connection_id":49862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":49862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:17:33] local.INFO: TCP Data received {"connection_id":49862,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:33] local.INFO: Processing buffer {"connection_id":49862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:33] local.INFO: IMEI packet received {"connection_id":49862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":49862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:17:34] local.INFO: TCP Data received {"connection_id":49862,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:34] local.INFO: Processing buffer {"connection_id":49862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:34] local.INFO: IMEI packet received {"connection_id":49862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":49862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:17:36] local.INFO: TCP Data received {"connection_id":49862,"ip":"117.225.192.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:36] local.INFO: Processing buffer {"connection_id":49862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:17:36] local.INFO: IMEI packet received {"connection_id":49862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":49862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:17:38] local.INFO: TCP Data received {"connection_id":49862,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1cac830012d786f8005f08f88000b009122..."} 
[2026-04-22 02:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1cac830012d786f8005f08f88000b009122..."} 
[2026-04-22 02:17:38] local.INFO: Processing buffer {"connection_id":49862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1cac830012d786f8005f08f88000b009122..."} 
[2026-04-22 02:17:38] local.INFO: Packet analysis {"connection_id":49862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ca"} 
[2026-04-22 02:17:38] local.INFO: Extracted packet for processing {"connection_id":49862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ca"} 
[2026-04-22 02:17:38] local.INFO: GPS Element Parsed {"raw_longitude":762867584,"raw_latitude":99651464,"longitude_deg":76.2867584,"latitude_deg":9.9651464,"altitude":11,"angle":145,"satellites":34,"speed":38,"hex_longitude":"2d786f80","hex_latitude":"05f08f88","is_valid_coordinates":true} 
[2026-04-22 02:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861912832001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278242245021270016,"note":"Value kept but may cause issues"} 
[2026-04-22 02:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676818026338269184,"note":"Value kept but may cause issues"} 
[2026-04-22 02:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776804350000,"timestamp_ms":1776804350000,"timestamp_seconds":1776804350,"priority":1,"record_length":96,"hex_timestamp":"0000019db1cac830"} 
[2026-04-22 02:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:17: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-22 02:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-04-22 02:17:38] 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-22 02:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861912832001,"66":27463,"72":206,"9":24832,"24":38,"16":278242245021270016,"45":8676818026338269184},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,9,24,16,45]} 
[2026-04-22 02:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861912832001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:17:38] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-22 02:17:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278242245021270016,"km_value":278242245021270.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676818026338269184,"description":"Unknown IO ID 45"} 
[2026-04-22 02:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861912832001,"power":27463,"unknown_72":206,"unknown_9":24832,"ignition":38,"odometer":null,"unknown_45":8676818026338269184}} 
[2026-04-22 02:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":49862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:17:38] local.INFO: GPS data processed {"connection_id":49862,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:17:38] local.INFO: Acknowledgment sent {"connection_id":49862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:18:09] local.INFO: TCP Data received {"connection_id":49862,"ip":"117.225.192.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db1cb1a38012d7882c005f074a0000d009326..."} 
[2026-04-22 02:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1cb1a38012d7882c005f074a0000d009326..."} 
[2026-04-22 02:18:09] local.INFO: Processing buffer {"connection_id":49862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1cb1a38012d7882c005f074a0000d009326..."} 
[2026-04-22 02:18:09] local.INFO: Packet analysis {"connection_id":49862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1cb"} 
[2026-04-22 02:18:09] local.INFO: Extracted packet for processing {"connection_id":49862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1cb"} 
[2026-04-22 02:18:09] local.INFO: GPS Element Parsed {"raw_longitude":762872512,"raw_latitude":99644576,"longitude_deg":76.2872512,"latitude_deg":9.9644576,"altitude":13,"angle":147,"satellites":38,"speed":0,"hex_longitude":"2d7882c0","hex_latitude":"05f074a0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861913600001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278242657338130432,"note":"Value kept but may cause issues"} 
[2026-04-22 02:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8678295769965365248,"note":"Value kept but may cause issues"} 
[2026-04-22 02:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776804371000,"timestamp_ms":1776804371000,"timestamp_seconds":1776804371,"priority":1,"record_length":96,"hex_timestamp":"0000019db1cb1a38"} 
[2026-04-22 02: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-22 02:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 02:18: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-22 02: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-22 02: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-22 02:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":49862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":49862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":49862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.192.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861913600001,"66":27365,"72":206,"9":24832,"24":0,"16":278242657338130432,"45":8678295769965365248},"client_ip":"117.225.192.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,9,24,16,45]} 
[2026-04-22 02:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861913600001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:18:09] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-22 02:18:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 02:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278242657338130432,"km_value":278242657338130.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8678295769965365248,"description":"Unknown IO ID 45"} 
[2026-04-22 02:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861913600001,"power":27365,"unknown_72":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8678295769965365248}} 
[2026-04-22 02:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":49862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:18:09] local.INFO: GPS data processed {"connection_id":49862,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:18:09] local.INFO: Acknowledgment sent {"connection_id":49862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:18:12] local.INFO: TCP Data received {"connection_id":50241,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:18:12] local.INFO: Processing buffer {"connection_id":50241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:18:12] local.INFO: IMEI packet received {"connection_id":50241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":50241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:18:57] local.INFO: TCP Data received {"connection_id":50099,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:18:57] local.INFO: Processing buffer {"connection_id":50099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:18:57] local.INFO: IMEI packet received {"connection_id":50099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":50099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:21:37] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:21:37] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:21:37] local.INFO: IMEI packet received {"connection_id":50748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":50748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:21:43] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:21:43] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:21:43] local.INFO: IMEI packet received {"connection_id":50748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":50748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:21:44] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:21:44] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:21:44] local.INFO: IMEI packet received {"connection_id":50748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":50748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:21:45] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1cea090012d78ecc005ede128000900f32b..."} 
[2026-04-22 02:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1cea090012d78ecc005ede128000900f32b..."} 
[2026-04-22 02:21:45] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1cea090012d78ecc005ede128000900f32b..."} 
[2026-04-22 02:21:45] local.INFO: Packet analysis {"connection_id":50748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ce"} 
[2026-04-22 02:21:45] local.INFO: Extracted packet for processing {"connection_id":50748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ce"} 
[2026-04-22 02:21:45] local.INFO: GPS Element Parsed {"raw_longitude":762899648,"raw_latitude":99475752,"longitude_deg":76.2899648,"latitude_deg":9.9475752,"altitude":9,"angle":243,"satellites":43,"speed":18,"hex_longitude":"2d78ecc0","hex_latitude":"05ede128","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861974272001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278252398323957760,"note":"Value kept but may cause issues"} 
[2026-04-22 02:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8722276235032569856,"note":"Value kept but may cause issues"} 
[2026-04-22 02:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776804602000,"timestamp_ms":1776804602000,"timestamp_seconds":1776804602,"priority":1,"record_length":96,"hex_timestamp":"0000019db1cea090"} 
[2026-04-22 02: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-22 02:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:21:45] 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-22 02:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02: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-22 02:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":50748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":50748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":50748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861974272001,"66":27376,"131":206,"9":25088,"24":18,"16":278252398323957760,"45":8722276235032569856},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,45]} 
[2026-04-22 02:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861974272001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:21:45] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 02:21:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-22 02:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278252398323957760,"km_value":278252398323957.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8722276235032569856,"description":"Unknown IO ID 45"} 
[2026-04-22 02:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861974272001,"power":27376,"unknown_131":206,"unknown_9":25088,"ignition":18,"odometer":null,"unknown_45":8722276235032569856}} 
[2026-04-22 02:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":50748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:21:45] local.INFO: GPS data processed {"connection_id":50748,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:21:45] local.INFO: Acknowledgment sent {"connection_id":50748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:21:50] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1cee2f8012d78cb4005edd098000b00f22b..."} 
[2026-04-22 02:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1cee2f8012d78cb4005edd098000b00f22b..."} 
[2026-04-22 02:21:50] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1cee2f8012d78cb4005edd098000b00f22b..."} 
[2026-04-22 02:21:50] local.INFO: Packet analysis {"connection_id":50748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ce"} 
[2026-04-22 02:21:50] local.INFO: Extracted packet for processing {"connection_id":50748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ce"} 
[2026-04-22 02:21:50] local.INFO: GPS Element Parsed {"raw_longitude":762891072,"raw_latitude":99471512,"longitude_deg":76.2891072,"latitude_deg":9.9471512,"altitude":11,"angle":242,"satellites":43,"speed":24,"hex_longitude":"2d78cb40","hex_latitude":"05edd098","is_valid_coordinates":true} 
[2026-04-22 02:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861978112001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278252853590491136,"note":"Value kept but may cause issues"} 
[2026-04-22 02:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713550510753392640,"note":"Value kept but may cause issues"} 
[2026-04-22 02:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776804619000,"timestamp_ms":1776804619000,"timestamp_seconds":1776804619,"priority":1,"record_length":96,"hex_timestamp":"0000019db1cee2f8"} 
[2026-04-22 02:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 02:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":50748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":50748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":50748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861978112001,"66":27321,"131":206,"9":25088,"24":24,"16":278252853590491136,"45":8713550510753392640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,45]} 
[2026-04-22 02:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861978112001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:21:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 02:21:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-04-22 02:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278252853590491136,"km_value":278252853590491.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713550510753392640,"description":"Unknown IO ID 45"} 
[2026-04-22 02:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861978112001,"power":27321,"unknown_131":206,"unknown_9":25088,"ignition":24,"odometer":null,"unknown_45":8713550510753392640}} 
[2026-04-22 02:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":50748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:21:50] local.INFO: GPS data processed {"connection_id":50748,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:21:50] local.INFO: Acknowledgment sent {"connection_id":50748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:22:27] local.INFO: TCP Data received {"connection_id":50749,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:22:27] local.INFO: Processing buffer {"connection_id":50749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:22:27] local.INFO: IMEI packet received {"connection_id":50749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:22:30] local.INFO: TCP Data received {"connection_id":50749,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:22:30] local.INFO: Processing buffer {"connection_id":50749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:22:30] local.INFO: IMEI packet received {"connection_id":50749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":50749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:22:41] local.INFO: TCP Data received {"connection_id":50749,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1cf2178012d78aac005edc060000d00f32a..."} 
[2026-04-22 02:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1cf2178012d78aac005edc060000d00f32a..."} 
[2026-04-22 02:22:41] local.INFO: Processing buffer {"connection_id":50749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1cf2178012d78aac005edc060000d00f32a..."} 
[2026-04-22 02:22:41] local.INFO: Packet analysis {"connection_id":50749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1cf"} 
[2026-04-22 02:22:41] local.INFO: Extracted packet for processing {"connection_id":50749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1cf"} 
[2026-04-22 02:22:41] local.INFO: GPS Element Parsed {"raw_longitude":762882752,"raw_latitude":99467360,"longitude_deg":76.2882752,"latitude_deg":9.946736,"altitude":13,"angle":243,"satellites":42,"speed":24,"hex_longitude":"2d78aac0","hex_latitude":"05edc060","is_valid_coordinates":true} 
[2026-04-22 02:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861982464001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278253300267089920,"note":"Value kept but may cause issues"} 
[2026-04-22 02:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704121099032500224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776804635000,"timestamp_ms":1776804635000,"timestamp_seconds":1776804635,"priority":1,"record_length":96,"hex_timestamp":"0000019db1cf2178"} 
[2026-04-22 02:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02: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-22 02:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:22: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-22 02:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:22:41] 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-22 02:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861982464001,"66":26723,"124":206,"87":13824,"24":24,"16":278253300267089920,"45":8704121099032500224},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,87,24,16,45]} 
[2026-04-22 02:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861982464001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:22:41] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-04-22 02:22:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278253300267089920,"km_value":278253300267089.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704121099032500224,"description":"Unknown IO ID 45"} 
[2026-04-22 02:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861982464001,"power":26723,"unknown_124":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8704121099032500224}} 
[2026-04-22 02:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":50749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:22:41] local.INFO: GPS data processed {"connection_id":50749,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:22:41] local.INFO: Acknowledgment sent {"connection_id":50749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:24:02] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:02] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:02] local.INFO: IMEI packet received {"connection_id":50242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":50242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:24:06] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:06] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:06] local.INFO: IMEI packet received {"connection_id":50242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":50242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:24:08] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d0afe8012d77944005ecd040000700d02b..."} 
[2026-04-22 02:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d0afe8012d77944005ecd040000700d02b..."} 
[2026-04-22 02:24:08] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d0afe8012d77944005ecd040000700d02b..."} 
[2026-04-22 02:24:08] local.INFO: Packet analysis {"connection_id":50242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d0"} 
[2026-04-22 02:24:08] local.INFO: Extracted packet for processing {"connection_id":50242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d0"} 
[2026-04-22 02:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762811456,"raw_latitude":99405888,"longitude_deg":76.2811456,"latitude_deg":9.9405888,"altitude":7,"angle":208,"satellites":43,"speed":45,"hex_longitude":"2d779440","hex_latitude":"05ecd040","is_valid_coordinates":true} 
[2026-04-22 02:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862010624001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278257981781442560,"note":"Value kept but may cause issues"} 
[2026-04-22 02:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621156349632268288,"note":"Value kept but may cause issues"} 
[2026-04-22 02:24: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-22 02:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776804737000,"timestamp_ms":1776804737000,"timestamp_seconds":1776804737,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d0afe8"} 
[2026-04-22 02:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:24: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-22 02:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 02:24:08] 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-22 02:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:24:08] 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-22 02:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862010624001,"66":27300,"157":206,"87":12288,"24":45,"16":278257981781442560,"45":8621156349632268288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-22 02:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862010624001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:24:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-22 02:24:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278257981781442560,"km_value":278257981781442.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621156349632268288,"description":"Unknown IO ID 45"} 
[2026-04-22 02:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862010624001,"power":27300,"unknown_157":206,"unknown_87":12288,"ignition":45,"odometer":null,"unknown_45":8621156349632268288}} 
[2026-04-22 02:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":50242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:24:08] local.INFO: GPS data processed {"connection_id":50242,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:24:08] local.INFO: Acknowledgment sent {"connection_id":50242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:24:08] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d0cf28012d77828005ecb000000500d02a..."} 
[2026-04-22 02:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d0cf28012d77828005ecb000000500d02a..."} 
[2026-04-22 02:24:08] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d0cf28012d77828005ecb000000500d02a..."} 
[2026-04-22 02:24:08] local.INFO: Packet analysis {"connection_id":50242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d0"} 
[2026-04-22 02:24:08] local.INFO: Extracted packet for processing {"connection_id":50242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d0"} 
[2026-04-22 02:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762806912,"raw_latitude":99397632,"longitude_deg":76.2806912,"latitude_deg":9.9397632,"altitude":5,"angle":208,"satellites":42,"speed":45,"hex_longitude":"2d778280","hex_latitude":"05ecb000","is_valid_coordinates":true} 
[2026-04-22 02:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862012672001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278258437047975936,"note":"Value kept but may cause issues"} 
[2026-04-22 02:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8616582381258686464,"note":"Value kept but may cause issues"} 
[2026-04-22 02:24: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-22 02:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776804745000,"timestamp_ms":1776804745000,"timestamp_seconds":1776804745,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d0cf28"} 
[2026-04-22 02:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:24: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-22 02:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 02:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:24:08] 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-22 02:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862012672001,"66":27332,"157":206,"87":12288,"24":45,"16":278258437047975936,"45":8616582381258686464},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-04-22 02:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862012672001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:24:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-22 02:24:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278258437047975936,"km_value":278258437047975.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8616582381258686464,"description":"Unknown IO ID 45"} 
[2026-04-22 02:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862012672001,"power":27332,"unknown_157":206,"unknown_87":12288,"ignition":45,"odometer":null,"unknown_45":8616582381258686464}} 
[2026-04-22 02:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":50242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:24:08] local.INFO: GPS data processed {"connection_id":50242,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:24:08] local.INFO: Acknowledgment sent {"connection_id":50242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:24:27] local.INFO: TCP Data received {"connection_id":49864,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:24:27] local.INFO: Processing buffer {"connection_id":49864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:24:27] local.INFO: IMEI packet received {"connection_id":49864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":49864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:24:31] local.INFO: TCP Data received {"connection_id":49865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:31] local.INFO: Processing buffer {"connection_id":49865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:31] local.INFO: IMEI packet received {"connection_id":49865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":49865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:24:32] local.INFO: TCP Data received {"connection_id":49865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:32] local.INFO: Processing buffer {"connection_id":49865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:32] local.INFO: IMEI packet received {"connection_id":49865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":49865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:24:37] local.INFO: TCP Data received {"connection_id":49865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:37] local.INFO: Processing buffer {"connection_id":49865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:24:37] local.INFO: IMEI packet received {"connection_id":49865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":49865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:24:38] local.INFO: TCP Data received {"connection_id":49865,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d1d4e0012d76b0c005ec3700000700f22c..."} 
[2026-04-22 02:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d1d4e0012d76b0c005ec3700000700f22c..."} 
[2026-04-22 02:24:38] local.INFO: Processing buffer {"connection_id":49865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d1d4e0012d76b0c005ec3700000700f22c..."} 
[2026-04-22 02:24:38] local.INFO: Packet analysis {"connection_id":49865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d1"} 
[2026-04-22 02:24:38] local.INFO: Extracted packet for processing {"connection_id":49865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d1"} 
[2026-04-22 02:24:38] local.INFO: GPS Element Parsed {"raw_longitude":762753216,"raw_latitude":99366656,"longitude_deg":76.2753216,"latitude_deg":9.9366656,"altitude":7,"angle":242,"satellites":44,"speed":16,"hex_longitude":"2d76b0c0","hex_latitude":"05ec3700","is_valid_coordinates":true} 
[2026-04-22 02:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862031104001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278261791417434112,"note":"Value kept but may cause issues"} 
[2026-04-22 02:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8554235673907384320,"note":"Value kept but may cause issues"} 
[2026-04-22 02:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776804812000,"timestamp_ms":1776804812000,"timestamp_seconds":1776804812,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d1d4e0"} 
[2026-04-22 02:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:24: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-22 02:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:24: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-22 02:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862031104001,"66":27267,"191":206,"87":12288,"24":16,"16":278261791417434112,"45":8554235673907384320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-04-22 02:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862031104001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:24:38] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-22 02:24:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278261791417434112,"km_value":278261791417434.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8554235673907384320,"description":"Unknown IO ID 45"} 
[2026-04-22 02:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862031104001,"power":27267,"unknown_191":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8554235673907384320}} 
[2026-04-22 02:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":49865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:24:38] local.INFO: GPS data processed {"connection_id":49865,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:24:38] local.INFO: Acknowledgment sent {"connection_id":49865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:24:52] local.INFO: TCP Data received {"connection_id":50103,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:24:52] local.INFO: Processing buffer {"connection_id":50103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:24:52] local.INFO: IMEI packet received {"connection_id":50103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":50103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:25:08] local.INFO: TCP Data received {"connection_id":49865,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d1e098012d76ac8005ec3510000701032c..."} 
[2026-04-22 02:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d1e098012d76ac8005ec3510000701032c..."} 
[2026-04-22 02:25:08] local.INFO: Processing buffer {"connection_id":49865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d1e098012d76ac8005ec3510000701032c..."} 
[2026-04-22 02:25:08] local.INFO: Packet analysis {"connection_id":49865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d1"} 
[2026-04-22 02:25:08] local.INFO: Extracted packet for processing {"connection_id":49865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d1"} 
[2026-04-22 02:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762752128,"raw_latitude":99366160,"longitude_deg":76.2752128,"latitude_deg":9.936616,"altitude":7,"angle":259,"satellites":44,"speed":17,"hex_longitude":"2d76ac80","hex_latitude":"05ec3510","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862031872001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278261847252008960,"note":"Value kept but may cause issues"} 
[2026-04-22 02:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8552546824046968832,"note":"Value kept but may cause issues"} 
[2026-04-22 02:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776804815000,"timestamp_ms":1776804815000,"timestamp_seconds":1776804815,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d1e098"} 
[2026-04-22 02: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-22 02: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-22 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 02:25: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-22 02: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-22 02: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-22 02:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":49865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":49865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":49865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:25:08] 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-22 02:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862031872001,"66":27300,"191":206,"87":12288,"24":17,"16":278261847252008960,"45":8552546824046968832},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-04-22 02:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862031872001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:25:08] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-22 02:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278261847252008960,"km_value":278261847252008.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8552546824046968832,"description":"Unknown IO ID 45"} 
[2026-04-22 02:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862031872001,"power":27300,"unknown_191":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8552546824046968832}} 
[2026-04-22 02:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":49865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:25:08] local.INFO: GPS data processed {"connection_id":49865,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:25:08] local.INFO: Acknowledgment sent {"connection_id":49865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:25:27] local.INFO: TCP Data received {"connection_id":50750,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:25:27] local.INFO: Processing buffer {"connection_id":50750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:25:27] local.INFO: IMEI packet received {"connection_id":50750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:25:34] local.INFO: TCP Data received {"connection_id":50750,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:25:34] local.INFO: Processing buffer {"connection_id":50750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:25:34] local.INFO: IMEI packet received {"connection_id":50750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":50750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:25:35] local.INFO: TCP Data received {"connection_id":50750,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d1e868012d76a8c005ec3508000601162c..."} 
[2026-04-22 02:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d1e868012d76a8c005ec3508000601162c..."} 
[2026-04-22 02:25:35] local.INFO: Processing buffer {"connection_id":50750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d1e868012d76a8c005ec3508000601162c..."} 
[2026-04-22 02:25:35] local.INFO: Packet analysis {"connection_id":50750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d1"} 
[2026-04-22 02:25:35] local.INFO: Extracted packet for processing {"connection_id":50750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d1"} 
[2026-04-22 02:25:35] local.INFO: GPS Element Parsed {"raw_longitude":762751168,"raw_latitude":99366152,"longitude_deg":76.2751168,"latitude_deg":9.9366152,"altitude":6,"angle":278,"satellites":44,"speed":21,"hex_longitude":"2d76a8c0","hex_latitude":"05ec3508","is_valid_coordinates":true} 
[2026-04-22 02:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862032640001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278261894496649216,"note":"Value kept but may cause issues"} 
[2026-04-22 02:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8551350555395821568,"note":"Value kept but may cause issues"} 
[2026-04-22 02:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776804817000,"timestamp_ms":1776804817000,"timestamp_seconds":1776804817,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d1e868"} 
[2026-04-22 02:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:25: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-22 02:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 02:25:35] 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-22 02:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862032640001,"66":27180,"191":206,"87":12288,"24":21,"16":278261894496649216,"45":8551350555395821568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-04-22 02:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862032640001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:25:35] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-22 02:25:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278261894496649216,"km_value":278261894496649.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8551350555395821568,"description":"Unknown IO ID 45"} 
[2026-04-22 02:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862032640001,"power":27180,"unknown_191":206,"unknown_87":12288,"ignition":21,"odometer":null,"unknown_45":8551350555395821568}} 
[2026-04-22 02:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":50750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:25:35] local.INFO: GPS data processed {"connection_id":50750,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:25:35] local.INFO: Acknowledgment sent {"connection_id":50750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:26:06] local.INFO: TCP Data received {"connection_id":50750,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d1f808012d769f8005ec37c8000601222c..."} 
[2026-04-22 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d1f808012d769f8005ec37c8000601222c..."} 
[2026-04-22 02:26:06] local.INFO: Processing buffer {"connection_id":50750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d1f808012d769f8005ec37c8000601222c..."} 
[2026-04-22 02:26:06] local.INFO: Packet analysis {"connection_id":50750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d1"} 
[2026-04-22 02:26:06] local.INFO: Extracted packet for processing {"connection_id":50750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d1"} 
[2026-04-22 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":762748800,"raw_latitude":99366856,"longitude_deg":76.27488,"latitude_deg":9.9366856,"altitude":6,"angle":290,"satellites":44,"speed":29,"hex_longitude":"2d769f80","hex_latitude":"05ec37c8","is_valid_coordinates":true} 
[2026-04-22 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862033152001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278262014755733504,"note":"Value kept but may cause issues"} 
[2026-04-22 02:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8550295024233154560,"note":"Value kept but may cause issues"} 
[2026-04-22 02:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776804821000,"timestamp_ms":1776804821000,"timestamp_seconds":1776804821,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d1f808"} 
[2026-04-22 02:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:26: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-22 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-22 02:26:06] 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-22 02:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862033152001,"66":27310,"191":206,"87":12288,"24":29,"16":278262014755733504,"45":8550295024233154560},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-04-22 02:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862033152001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:26:06] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-22 02:26:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278262014755733504,"km_value":278262014755733.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8550295024233154560,"description":"Unknown IO ID 45"} 
[2026-04-22 02:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862033152001,"power":27310,"unknown_191":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8550295024233154560}} 
[2026-04-22 02:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":50750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:26:06] local.INFO: GPS data processed {"connection_id":50750,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:26:06] local.INFO: Acknowledgment sent {"connection_id":50750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:26:27] local.INFO: TCP Data received {"connection_id":50104,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:26:27] local.INFO: Processing buffer {"connection_id":50104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:26:27] local.INFO: IMEI packet received {"connection_id":50104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:26:29] local.INFO: TCP Data received {"connection_id":50104,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:26:29] local.INFO: Processing buffer {"connection_id":50104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:26:29] local.INFO: IMEI packet received {"connection_id":50104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":50104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:26:32] local.INFO: TCP Data received {"connection_id":50104,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:26:32] local.INFO: Processing buffer {"connection_id":50104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:26:32] local.INFO: IMEI packet received {"connection_id":50104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:26:34] local.INFO: TCP Data received {"connection_id":50104,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d38678012d76200005ec0d58000800de2d..."} 
[2026-04-22 02:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d38678012d76200005ec0d58000800de2d..."} 
[2026-04-22 02:26:34] local.INFO: Processing buffer {"connection_id":50104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d38678012d76200005ec0d58000800de2d..."} 
[2026-04-22 02:26:34] local.INFO: Packet analysis {"connection_id":50104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d3"} 
[2026-04-22 02:26:34] local.INFO: Extracted packet for processing {"connection_id":50104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d3"} 
[2026-04-22 02:26:34] local.INFO: GPS Element Parsed {"raw_longitude":762716160,"raw_latitude":99355992,"longitude_deg":76.271616,"latitude_deg":9.9355992,"altitude":8,"angle":222,"satellites":45,"speed":14,"hex_longitude":"2d762000","hex_latitude":"05ec0d58","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862054912001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278264089224937472,"note":"Value kept but may cause issues"} 
[2026-04-22 02:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8512366271118995456,"note":"Value kept but may cause issues"} 
[2026-04-22 02:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776804923000,"timestamp_ms":1776804923000,"timestamp_seconds":1776804923,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d38678"} 
[2026-04-22 02: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-22 02:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 02:26: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-22 02: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-22 02: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-22 02:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:26: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-22 02:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862054912001,"66":27365,"33":206,"87":12288,"24":14,"16":278264089224937472,"45":8512366271118995456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-04-22 02:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862054912001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:26:34] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-22 02:26:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278264089224937472,"km_value":278264089224937.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8512366271118995456,"description":"Unknown IO ID 45"} 
[2026-04-22 02:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862054912001,"power":27365,"unknown_33":206,"unknown_87":12288,"ignition":14,"odometer":null,"unknown_45":8512366271118995456}} 
[2026-04-22 02:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":50104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:26:34] local.INFO: GPS data processed {"connection_id":50104,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:26:34] local.INFO: Acknowledgment sent {"connection_id":50104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:27:05] local.INFO: TCP Data received {"connection_id":50104,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d3c8e0012d76078005ebf1a8000a00da2c..."} 
[2026-04-22 02:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d3c8e0012d76078005ebf1a8000a00da2c..."} 
[2026-04-22 02:27:05] local.INFO: Processing buffer {"connection_id":50104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d3c8e0012d76078005ebf1a8000a00da2c..."} 
[2026-04-22 02:27:05] local.INFO: Packet analysis {"connection_id":50104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d3"} 
[2026-04-22 02:27:05] local.INFO: Extracted packet for processing {"connection_id":50104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d3"} 
[2026-04-22 02:27:05] local.INFO: GPS Element Parsed {"raw_longitude":762709888,"raw_latitude":99348904,"longitude_deg":76.2709888,"latitude_deg":9.9348904,"altitude":10,"angle":218,"satellites":44,"speed":28,"hex_longitude":"2d760780","hex_latitude":"05ebf1a8","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862060288001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278264544491470848,"note":"Value kept but may cause issues"} 
[2026-04-22 02:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8511803321165371392,"note":"Value kept but may cause issues"} 
[2026-04-22 02:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776804940000,"timestamp_ms":1776804940000,"timestamp_seconds":1776804940,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d3c8e0"} 
[2026-04-22 02: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-22 02:27: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-22 02: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":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:27: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-22 02: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-22 02: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-22 02:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862060288001,"66":27234,"33":206,"87":12288,"24":28,"16":278264544491470848,"45":8511803321165371392},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-04-22 02:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862060288001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:27:05] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-22 02:27:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278264544491470848,"km_value":278264544491470.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8511803321165371392,"description":"Unknown IO ID 45"} 
[2026-04-22 02:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862060288001,"power":27234,"unknown_33":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8511803321165371392}} 
[2026-04-22 02:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":50104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:27:05] local.INFO: GPS data processed {"connection_id":50104,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:27:05] local.INFO: Acknowledgment sent {"connection_id":50104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:27:27] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:27:27] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:27:27] local.INFO: IMEI packet received {"connection_id":50244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":50244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:27:31] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:27:31] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:27:31] local.INFO: IMEI packet received {"connection_id":50244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":50244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:27:32] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:27:32] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:27:32] local.INFO: IMEI packet received {"connection_id":50244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:27:33] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d3f3d8012d75efc005ebd648000d00dd2d..."} 
[2026-04-22 02:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d3f3d8012d75efc005ebd648000d00dd2d..."} 
[2026-04-22 02:27:33] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d3f3d8012d75efc005ebd648000d00dd2d..."} 
[2026-04-22 02:27:33] local.INFO: Packet analysis {"connection_id":50244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d3"} 
[2026-04-22 02:27:33] local.INFO: Extracted packet for processing {"connection_id":50244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d3"} 
[2026-04-22 02:27:33] local.INFO: GPS Element Parsed {"raw_longitude":762703808,"raw_latitude":99341896,"longitude_deg":76.2703808,"latitude_deg":9.9341896,"altitude":13,"angle":221,"satellites":45,"speed":37,"hex_longitude":"2d75efc0","hex_latitude":"05ebd648","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862064640001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278264995463036928,"note":"Value kept but may cause issues"} 
[2026-04-22 02:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8504907184234145792,"note":"Value kept but may cause issues"} 
[2026-04-22 02:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776804951000,"timestamp_ms":1776804951000,"timestamp_seconds":1776804951,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d3f3d8"} 
[2026-04-22 02: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-22 02:27: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-22 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 02:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862064640001,"66":27300,"186":206,"87":12288,"24":37,"16":278264995463036928,"45":8504907184234145792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-22 02:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862064640001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:27:33] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-22 02:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278264995463036928,"km_value":278264995463036.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8504907184234145792,"description":"Unknown IO ID 45"} 
[2026-04-22 02:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862064640001,"power":27300,"unknown_186":206,"unknown_87":12288,"ignition":37,"odometer":null,"unknown_45":8504907184234145792}} 
[2026-04-22 02:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":50244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:27:33] local.INFO: GPS data processed {"connection_id":50244,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:27:33] local.INFO: Acknowledgment sent {"connection_id":50244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:27:38] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d41ae8012d75d78005ebbab0001000dc2c..."} 
[2026-04-22 02:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d41ae8012d75d78005ebbab0001000dc2c..."} 
[2026-04-22 02:27:38] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d41ae8012d75d78005ebbab0001000dc2c..."} 
[2026-04-22 02:27:38] local.INFO: Packet analysis {"connection_id":50244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d4"} 
[2026-04-22 02:27:38] local.INFO: Extracted packet for processing {"connection_id":50244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d4"} 
[2026-04-22 02:27:38] local.INFO: GPS Element Parsed {"raw_longitude":762697600,"raw_latitude":99334832,"longitude_deg":76.26976,"latitude_deg":9.9334832,"altitude":16,"angle":220,"satellites":44,"speed":38,"hex_longitude":"2d75d780","hex_latitude":"05ebbab0","is_valid_coordinates":true} 
[2026-04-22 02:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862067456001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278265446434603008,"note":"Value kept but may cause issues"} 
[2026-04-22 02:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8498222153535473664,"note":"Value kept but may cause issues"} 
[2026-04-22 02:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776804961000,"timestamp_ms":1776804961000,"timestamp_seconds":1776804961,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d41ae8"} 
[2026-04-22 02:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:27: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-22 02:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 02:27:38] 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-22 02:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862067456001,"66":27484,"186":206,"87":12288,"24":38,"16":278265446434603008,"45":8498222153535473664},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-22 02:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862067456001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:27:38] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-22 02:27:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278265446434603008,"km_value":278265446434603.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8498222153535473664,"description":"Unknown IO ID 45"} 
[2026-04-22 02:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862067456001,"power":27484,"unknown_186":206,"unknown_87":12288,"ignition":38,"odometer":null,"unknown_45":8498222153535473664}} 
[2026-04-22 02:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":50244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:27:38] local.INFO: GPS data processed {"connection_id":50244,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:27:38] local.INFO: Acknowledgment sent {"connection_id":50244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:28:09] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d54b98012d75dd4005eb0f480009009d29..."} 
[2026-04-22 02:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d54b98012d75dd4005eb0f480009009d29..."} 
[2026-04-22 02:28:09] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d54b98012d75dd4005eb0f480009009d29..."} 
[2026-04-22 02:28:09] local.INFO: Packet analysis {"connection_id":50244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:28:09] local.INFO: Extracted packet for processing {"connection_id":50244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:28:09] local.INFO: GPS Element Parsed {"raw_longitude":762699072,"raw_latitude":99290952,"longitude_deg":76.2699072,"latitude_deg":9.9290952,"altitude":9,"angle":157,"satellites":41,"speed":27,"hex_longitude":"2d75dd40","hex_latitude":"05eb0f48","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862087680001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:28:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 02:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278268616120467456,"note":"Value kept but may cause issues"} 
[2026-04-22 02:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8489637166734280704,"note":"Value kept but may cause issues"} 
[2026-04-22 02:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 02:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776805039000,"timestamp_ms":1776805039000,"timestamp_seconds":1776805039,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d54b98"} 
[2026-04-22 02: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-22 02:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 02:28:09] 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-22 02: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-22 02: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-22 02:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862087680001,"66":27397,"200":0,"87":12288,"24":27,"16":278268616120467456,"45":8489637166734280704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,87,24,16,45]} 
[2026-04-22 02:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862087680001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:28:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278268616120467456,"km_value":278268616120467.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8489637166734280704,"description":"Unknown IO ID 45"} 
[2026-04-22 02:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862087680001,"power":27397,"gsm_signal":0,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8489637166734280704}} 
[2026-04-22 02:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":50244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:28:09] local.INFO: GPS data processed {"connection_id":50244,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:28:09] local.INFO: Acknowledgment sent {"connection_id":50244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:28:27] local.INFO: TCP Data received {"connection_id":50751,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:28:27] local.INFO: Processing buffer {"connection_id":50751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:28:27] local.INFO: IMEI packet received {"connection_id":50751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":50751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:28:32] local.INFO: TCP Data received {"connection_id":50751,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:28:32] local.INFO: Processing buffer {"connection_id":50751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:28:32] local.INFO: IMEI packet received {"connection_id":50751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:28:32] local.INFO: TCP Data received {"connection_id":50751,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:28:32] local.INFO: Processing buffer {"connection_id":50751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:28:32] local.INFO: IMEI packet received {"connection_id":50751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:28:33] local.INFO: TCP Data received {"connection_id":50751,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d566f0012d75e6c005eafc18000a008d29..."} 
[2026-04-22 02:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d566f0012d75e6c005eafc18000a008d29..."} 
[2026-04-22 02:28:33] local.INFO: Processing buffer {"connection_id":50751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d566f0012d75e6c005eafc18000a008d29..."} 
[2026-04-22 02:28:33] local.INFO: Packet analysis {"connection_id":50751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:28:33] local.INFO: Extracted packet for processing {"connection_id":50751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:28:33] local.INFO: GPS Element Parsed {"raw_longitude":762701504,"raw_latitude":99286040,"longitude_deg":76.2701504,"latitude_deg":9.928604,"altitude":10,"angle":141,"satellites":41,"speed":34,"hex_longitude":"2d75e6c0","hex_latitude":"05eafc18","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862089984001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:28:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 02:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278268882408439808,"note":"Value kept but may cause issues"} 
[2026-04-22 02:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8493014866453284864,"note":"Value kept but may cause issues"} 
[2026-04-22 02:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 02:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776805046000,"timestamp_ms":1776805046000,"timestamp_seconds":1776805046,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d566f0"} 
[2026-04-22 02: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-22 02:28: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-22 02: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":5,"data_length":795,"current_offset":136} 
[2026-04-22 02:28: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-22 02: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-22 02: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-22 02:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862089984001,"66":27376,"200":0,"87":12288,"24":34,"16":278268882408439808,"45":8493014866453284864},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,87,24,16,45]} 
[2026-04-22 02:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862089984001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278268882408439808,"km_value":278268882408439.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8493014866453284864,"description":"Unknown IO ID 45"} 
[2026-04-22 02:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862089984001,"power":27376,"gsm_signal":0,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8493014866453284864}} 
[2026-04-22 02:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:28:33] local.INFO: GPS data processed {"connection_id":50751,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:28:33] local.INFO: Acknowledgment sent {"connection_id":50751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:28:38] local.INFO: TCP Data received {"connection_id":50751,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d56ec0012d75ec0005eaf798000a007b2b..."} 
[2026-04-22 02:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d56ec0012d75ec0005eaf798000a007b2b..."} 
[2026-04-22 02:28:38] local.INFO: Processing buffer {"connection_id":50751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d56ec0012d75ec0005eaf798000a007b2b..."} 
[2026-04-22 02:28:38] local.INFO: Packet analysis {"connection_id":50751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:28:38] local.INFO: Extracted packet for processing {"connection_id":50751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:28:38] local.INFO: GPS Element Parsed {"raw_longitude":762702848,"raw_latitude":99284888,"longitude_deg":76.2702848,"latitude_deg":9.9284888,"altitude":10,"angle":123,"satellites":43,"speed":36,"hex_longitude":"2d75ec00","hex_latitude":"05eaf798","is_valid_coordinates":true} 
[2026-04-22 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-22 02:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862091776001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:28:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 02:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278268968307785728,"note":"Value kept but may cause issues"} 
[2026-04-22 02:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8495688878730778624,"note":"Value kept but may cause issues"} 
[2026-04-22 02:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 02:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776805048000,"timestamp_ms":1776805048000,"timestamp_seconds":1776805048,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d56ec0"} 
[2026-04-22 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-22 02:28: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-22 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 02:28: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-22 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-22 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-22 02:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862091776001,"66":27332,"200":0,"87":12288,"24":36,"16":278268968307785728,"45":8495688878730778624},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,87,24,16,45]} 
[2026-04-22 02:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862091776001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:28:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278268968307785728,"km_value":278268968307785.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8495688878730778624,"description":"Unknown IO ID 45"} 
[2026-04-22 02:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862091776001,"power":27332,"gsm_signal":0,"unknown_87":12288,"ignition":36,"odometer":null,"unknown_45":8495688878730778624}} 
[2026-04-22 02:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":50751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:28:38] local.INFO: GPS data processed {"connection_id":50751,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:28:38] local.INFO: Acknowledgment sent {"connection_id":50751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:29:10] local.INFO: TCP Data received {"connection_id":50751,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d58e00012d76044005eae850000b00882c..."} 
[2026-04-22 02:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d58e00012d76044005eae850000b00882c..."} 
[2026-04-22 02:29:10] local.INFO: Processing buffer {"connection_id":50751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d58e00012d76044005eae850000b00882c..."} 
[2026-04-22 02:29:10] local.INFO: Packet analysis {"connection_id":50751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:29:10] local.INFO: Extracted packet for processing {"connection_id":50751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:29:10] local.INFO: GPS Element Parsed {"raw_longitude":762709056,"raw_latitude":99280976,"longitude_deg":76.2709056,"latitude_deg":9.9280976,"altitude":11,"angle":136,"satellites":44,"speed":34,"hex_longitude":"2d760440","hex_latitude":"05eae850","is_valid_coordinates":true} 
[2026-04-22 02:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862092288001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278269320495104000,"note":"Value kept but may cause issues"} 
[2026-04-22 02:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8497166622358214656,"note":"Value kept but may cause issues"} 
[2026-04-22 02:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776805056000,"timestamp_ms":1776805056000,"timestamp_seconds":1776805056,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d58e00"} 
[2026-04-22 02:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:29: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-22 02:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:29: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-22 02:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:29:10] 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-22 02:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862092288001,"66":27343,"185":206,"87":12288,"24":34,"16":278269320495104000,"45":8497166622358214656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-22 02:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862092288001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:29:10] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 02:29:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278269320495104000,"km_value":278269320495104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8497166622358214656,"description":"Unknown IO ID 45"} 
[2026-04-22 02:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862092288001,"power":27343,"unknown_185":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8497166622358214656}} 
[2026-04-22 02:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":50751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:29:10] local.INFO: GPS data processed {"connection_id":50751,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:29:10] local.INFO: Acknowledgment sent {"connection_id":50751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:29:31] local.INFO: TCP Data received {"connection_id":50106,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:29:31] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:29:31] local.INFO: IMEI packet received {"connection_id":50106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":50106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:29:32] local.INFO: TCP Data received {"connection_id":50106,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:29:32] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:29:32] local.INFO: IMEI packet received {"connection_id":50106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:29:42] local.INFO: TCP Data received {"connection_id":50106,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:29:42] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:29:42] local.INFO: IMEI packet received {"connection_id":50106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":50106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:29:43] local.INFO: TCP Data received {"connection_id":50106,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d595d0012d76088005eae248000b00982b..."} 
[2026-04-22 02:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d595d0012d76088005eae248000b00982b..."} 
[2026-04-22 02:29:43] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d595d0012d76088005eae248000b00982b..."} 
[2026-04-22 02:29:43] local.INFO: Packet analysis {"connection_id":50106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:29:43] local.INFO: Extracted packet for processing {"connection_id":50106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:29:43] local.INFO: GPS Element Parsed {"raw_longitude":762710144,"raw_latitude":99279432,"longitude_deg":76.2710144,"latitude_deg":9.9279432,"altitude":11,"angle":152,"satellites":43,"speed":38,"hex_longitude":"2d760880","hex_latitude":"05eae248","is_valid_coordinates":true} 
[2026-04-22 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862094336001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278269410689417216,"note":"Value kept but may cause issues"} 
[2026-04-22 02:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8503992390542446592,"note":"Value kept but may cause issues"} 
[2026-04-22 02:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776805058000,"timestamp_ms":1776805058000,"timestamp_seconds":1776805058,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d595d0"} 
[2026-04-22 02:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:29: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-22 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:29:43] 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-22 02:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862094336001,"66":27376,"185":206,"87":12288,"24":38,"16":278269410689417216,"45":8503992390542446592},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-22 02:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862094336001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:29:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 02:29:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278269410689417216,"km_value":278269410689417.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8503992390542446592,"description":"Unknown IO ID 45"} 
[2026-04-22 02:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862094336001,"power":27376,"unknown_185":206,"unknown_87":12288,"ignition":38,"odometer":null,"unknown_45":8503992390542446592}} 
[2026-04-22 02:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":50106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:29:43] local.INFO: GPS data processed {"connection_id":50106,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:29:43] local.INFO: Acknowledgment sent {"connection_id":50106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:29:43] local.INFO: TCP Data received {"connection_id":50106,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d5b128012d76138005eac978000b00a529..."} 
[2026-04-22 02:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d5b128012d76138005eac978000b00a529..."} 
[2026-04-22 02:29:43] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d5b128012d76138005eac978000b00a529..."} 
[2026-04-22 02:29:43] local.INFO: Packet analysis {"connection_id":50106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:29:43] local.INFO: Extracted packet for processing {"connection_id":50106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d5"} 
[2026-04-22 02:29:43] local.INFO: GPS Element Parsed {"raw_longitude":762712960,"raw_latitude":99273080,"longitude_deg":76.271296,"latitude_deg":9.927308,"altitude":11,"angle":165,"satellites":41,"speed":39,"hex_longitude":"2d761380","hex_latitude":"05eac978","is_valid_coordinates":true} 
[2026-04-22 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862094848001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278269749991833600,"note":"Value kept but may cause issues"} 
[2026-04-22 02:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8505188659193071616,"note":"Value kept but may cause issues"} 
[2026-04-22 02:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776805065000,"timestamp_ms":1776805065000,"timestamp_seconds":1776805065,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d5b128"} 
[2026-04-22 02:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:29: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-22 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 02:29: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-22 02:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:29:43] 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-22 02:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862094848001,"66":27463,"185":206,"87":12288,"24":39,"16":278269749991833600,"45":8505188659193071616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-22 02:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862094848001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:29:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 02:29:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278269749991833600,"km_value":278269749991833.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8505188659193071616,"description":"Unknown IO ID 45"} 
[2026-04-22 02:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862094848001,"power":27463,"unknown_185":206,"unknown_87":12288,"ignition":39,"odometer":null,"unknown_45":8505188659193071616}} 
[2026-04-22 02:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":50106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:29:43] local.INFO: GPS data processed {"connection_id":50106,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:29:43] local.INFO: Acknowledgment sent {"connection_id":50106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:30:17] local.INFO: TCP Data received {"connection_id":50245,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:30:17] local.INFO: Processing buffer {"connection_id":50245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:30:17] local.INFO: IMEI packet received {"connection_id":50245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":50245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:30:33] local.INFO: TCP Data received {"connection_id":50752,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:30:33] local.INFO: Processing buffer {"connection_id":50752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:30:33] local.INFO: IMEI packet received {"connection_id":50752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":50752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:30:33] local.INFO: TCP Data received {"connection_id":50752,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:30:33] local.INFO: Processing buffer {"connection_id":50752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:30:33] local.INFO: IMEI packet received {"connection_id":50752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":50752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:30:37] local.INFO: TCP Data received {"connection_id":50752,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:30:37] local.INFO: Processing buffer {"connection_id":50752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:30:37] local.INFO: IMEI packet received {"connection_id":50752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":50752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:30:38] local.INFO: TCP Data received {"connection_id":50752,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d714a0012d7696c005e98558000a009e26..."} 
[2026-04-22 02:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d714a0012d7696c005e98558000a009e26..."} 
[2026-04-22 02:30:38] local.INFO: Processing buffer {"connection_id":50752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d714a0012d7696c005e98558000a009e26..."} 
[2026-04-22 02:30:38] local.INFO: Packet analysis {"connection_id":50752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d7"} 
[2026-04-22 02:30:38] local.INFO: Extracted packet for processing {"connection_id":50752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d7"} 
[2026-04-22 02:30:38] local.INFO: GPS Element Parsed {"raw_longitude":762746560,"raw_latitude":99190104,"longitude_deg":76.274656,"latitude_deg":9.9190104,"altitude":10,"angle":158,"satellites":38,"speed":48,"hex_longitude":"2d7696c0","hex_latitude":"05e98558","is_valid_coordinates":true} 
[2026-04-22 02:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862117888001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278274100793704448,"note":"Value kept but may cause issues"} 
[2026-04-22 02:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8541217456191475712,"note":"Value kept but may cause issues"} 
[2026-04-22 02:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776805156000,"timestamp_ms":1776805156000,"timestamp_seconds":1776805156,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d714a0"} 
[2026-04-22 02:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:30: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-22 02:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:30:38] 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-22 02:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862117888001,"66":26713,"131":206,"87":12288,"24":48,"16":278274100793704448,"45":8541217456191475712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-04-22 02:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862117888001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:30:38] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 02:30:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278274100793704448,"km_value":278274100793704.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8541217456191475712,"description":"Unknown IO ID 45"} 
[2026-04-22 02:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862117888001,"power":26713,"unknown_131":206,"unknown_87":12288,"ignition":48,"odometer":null,"unknown_45":8541217456191475712}} 
[2026-04-22 02:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":50752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:30:38] local.INFO: GPS data processed {"connection_id":50752,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:30:38] local.INFO: Acknowledgment sent {"connection_id":50752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:30:43] local.INFO: TCP Data received {"connection_id":50752,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d72ff8012d76a34005e964e0000b009d28..."} 
[2026-04-22 02:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d72ff8012d76a34005e964e0000b009d28..."} 
[2026-04-22 02:30:43] local.INFO: Processing buffer {"connection_id":50752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d72ff8012d76a34005e964e0000b009d28..."} 
[2026-04-22 02:30:43] local.INFO: Packet analysis {"connection_id":50752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d7"} 
[2026-04-22 02:30:43] local.INFO: Extracted packet for processing {"connection_id":50752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d7"} 
[2026-04-22 02:30:43] local.INFO: GPS Element Parsed {"raw_longitude":762749760,"raw_latitude":99181792,"longitude_deg":76.274976,"latitude_deg":9.9181792,"altitude":11,"angle":157,"satellites":40,"speed":50,"hex_longitude":"2d76a340","hex_latitude":"05e964e0","is_valid_coordinates":true} 
[2026-04-22 02:30: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-22 02:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862119936001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278274530290434048,"note":"Value kept but may cause issues"} 
[2026-04-22 02:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8545228474607294464,"note":"Value kept but may cause issues"} 
[2026-04-22 02:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776805163000,"timestamp_ms":1776805163000,"timestamp_seconds":1776805163,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d72ff8"} 
[2026-04-22 02:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:30: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-22 02:30: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":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-04-22 02:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:30: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-22 02:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:30:43] 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-22 02:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862119936001,"66":27180,"131":206,"87":12288,"24":50,"16":278274530290434048,"45":8545228474607294464},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-04-22 02:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862119936001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:30:43] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 02:30:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278274530290434048,"km_value":278274530290434.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8545228474607294464,"description":"Unknown IO ID 45"} 
[2026-04-22 02:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862119936001,"power":27180,"unknown_131":206,"unknown_87":12288,"ignition":50,"odometer":null,"unknown_45":8545228474607294464}} 
[2026-04-22 02:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":50752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:30:43] local.INFO: GPS data processed {"connection_id":50752,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:30:43] local.INFO: Acknowledgment sent {"connection_id":50752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:30:57] local.INFO: TCP Data received {"connection_id":49868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:30:57] local.INFO: Processing buffer {"connection_id":49868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:30:57] local.INFO: IMEI packet received {"connection_id":49868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":49868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:31:37] local.INFO: TCP Data received {"connection_id":50753,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:31:37] local.INFO: Processing buffer {"connection_id":50753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:31:37] local.INFO: IMEI packet received {"connection_id":50753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":50753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:31:42] local.INFO: TCP Data received {"connection_id":50753,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:31:42] local.INFO: Processing buffer {"connection_id":50753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:31:42] local.INFO: IMEI packet received {"connection_id":50753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":50753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:31:42] local.INFO: TCP Data received {"connection_id":50753,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d84d20012d77458005e8be60000a00562a..."} 
[2026-04-22 02:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d84d20012d77458005e8be60000a00562a..."} 
[2026-04-22 02:31:42] local.INFO: Processing buffer {"connection_id":50753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d84d20012d77458005e8be60000a00562a..."} 
[2026-04-22 02:31:42] local.INFO: Packet analysis {"connection_id":50753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d8"} 
[2026-04-22 02:31:42] local.INFO: Extracted packet for processing {"connection_id":50753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d8"} 
[2026-04-22 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":762791296,"raw_latitude":99139168,"longitude_deg":76.2791296,"latitude_deg":9.9139168,"altitude":10,"angle":86,"satellites":42,"speed":34,"hex_longitude":"2d774580","hex_latitude":"05e8be60","is_valid_coordinates":true} 
[2026-04-22 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862137600001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278277961969303552,"note":"Value kept but may cause issues"} 
[2026-04-22 02:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8583790546403416064,"note":"Value kept but may cause issues"} 
[2026-04-22 02:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776805236000,"timestamp_ms":1776805236000,"timestamp_seconds":1776805236,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d84d20"} 
[2026-04-22 02:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:31: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-22 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 02:31:42] 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-22 02:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:31:42] 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-22 02:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862137600001,"66":27267,"129":206,"87":12288,"24":34,"16":278277961969303552,"45":8583790546403416064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-04-22 02:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862137600001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:31:42] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 02:31:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278277961969303552,"km_value":278277961969303.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8583790546403416064,"description":"Unknown IO ID 45"} 
[2026-04-22 02:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862137600001,"power":27267,"unknown_129":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8583790546403416064}} 
[2026-04-22 02:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":50753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:31:42] local.INFO: GPS data processed {"connection_id":50753,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:31:42] local.INFO: Acknowledgment sent {"connection_id":50753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:32:33] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:32:33] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:32:33] local.INFO: IMEI packet received {"connection_id":50247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":50247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:32:37] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:32:37] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:32:37] local.INFO: IMEI packet received {"connection_id":50247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":50247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:32:39] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d87430012d776c8005e8c0180008005b2b..."} 
[2026-04-22 02:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d87430012d776c8005e8c0180008005b2b..."} 
[2026-04-22 02:32:39] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d87430012d776c8005e8c0180008005b2b..."} 
[2026-04-22 02:32:39] local.INFO: Packet analysis {"connection_id":50247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d8"} 
[2026-04-22 02:32:39] local.INFO: Extracted packet for processing {"connection_id":50247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d8"} 
[2026-04-22 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":762801280,"raw_latitude":99139608,"longitude_deg":76.280128,"latitude_deg":9.9139608,"altitude":8,"angle":91,"satellites":43,"speed":43,"hex_longitude":"2d776c80","hex_latitude":"05e8c018","is_valid_coordinates":true} 
[2026-04-22 02:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862140416001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278278438710673408,"note":"Value kept but may cause issues"} 
[2026-04-22 02:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8594416226774441984,"note":"Value kept but may cause issues"} 
[2026-04-22 02:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776805246000,"timestamp_ms":1776805246000,"timestamp_seconds":1776805246,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d87430"} 
[2026-04-22 02:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 02:32:39] 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-22 02:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862140416001,"66":27365,"164":206,"87":12288,"24":43,"16":278278438710673408,"45":8594416226774441984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-04-22 02:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862140416001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:32:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-04-22 02:32:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278278438710673408,"km_value":278278438710673.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8594416226774441984,"description":"Unknown IO ID 45"} 
[2026-04-22 02:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862140416001,"power":27365,"unknown_164":206,"unknown_87":12288,"ignition":43,"odometer":null,"unknown_45":8594416226774441984}} 
[2026-04-22 02:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":50247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:32:39] local.INFO: GPS data processed {"connection_id":50247,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:32:39] local.INFO: Acknowledgment sent {"connection_id":50247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:32:40] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d89758012d77938005e8bb88000700642a..."} 
[2026-04-22 02:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d89758012d77938005e8bb88000700642a..."} 
[2026-04-22 02:32:40] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d89758012d77938005e8bb88000700642a..."} 
[2026-04-22 02:32:40] local.INFO: Packet analysis {"connection_id":50247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d8"} 
[2026-04-22 02:32:40] local.INFO: Extracted packet for processing {"connection_id":50247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d8"} 
[2026-04-22 02:32:40] local.INFO: GPS Element Parsed {"raw_longitude":762811264,"raw_latitude":99138440,"longitude_deg":76.2811264,"latitude_deg":9.913844,"altitude":7,"angle":100,"satellites":42,"speed":44,"hex_longitude":"2d779380","hex_latitude":"05e8bb88","is_valid_coordinates":true} 
[2026-04-22 02:32: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-22 02:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862142976001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278278919747010560,"note":"Value kept but may cause issues"} 
[2026-04-22 02:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8605393750866270208,"note":"Value kept but may cause issues"} 
[2026-04-22 02:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776805255000,"timestamp_ms":1776805255000,"timestamp_seconds":1776805255,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d89758"} 
[2026-04-22 02:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:32: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-22 02:32: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":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:32:40] 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-22 02:32: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-22 02:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:32:40] 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-22 02:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862142976001,"66":26832,"164":206,"87":12288,"24":44,"16":278278919747010560,"45":8605393750866270208},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-04-22 02:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862142976001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:32:40] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-04-22 02:32:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 02:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278278919747010560,"km_value":278278919747010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8605393750866270208,"description":"Unknown IO ID 45"} 
[2026-04-22 02:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862142976001,"power":26832,"unknown_164":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8605393750866270208}} 
[2026-04-22 02:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":50247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:32:40] local.INFO: GPS data processed {"connection_id":50247,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:32:40] local.INFO: Acknowledgment sent {"connection_id":50247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:33:11] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1d8b698012d77b74005e8b2b80006006829..."} 
[2026-04-22 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1d8b698012d77b74005e8b2b80006006829..."} 
[2026-04-22 02:33:11] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1d8b698012d77b74005e8b2b80006006829..."} 
[2026-04-22 02:33:11] local.INFO: Packet analysis {"connection_id":50247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1d8"} 
[2026-04-22 02:33:11] local.INFO: Extracted packet for processing {"connection_id":50247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1d8"} 
[2026-04-22 02:33:11] local.INFO: GPS Element Parsed {"raw_longitude":762820416,"raw_latitude":99136184,"longitude_deg":76.2820416,"latitude_deg":9.9136184,"altitude":6,"angle":104,"satellites":41,"speed":47,"hex_longitude":"2d77b740","hex_latitude":"05e8b2b8","is_valid_coordinates":true} 
[2026-04-22 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862145280001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278279370718576640,"note":"Value kept but may cause issues"} 
[2026-04-22 02:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8616371274957686784,"note":"Value kept but may cause issues"} 
[2026-04-22 02:33:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,87,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 02:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776805263000,"timestamp_ms":1776805263000,"timestamp_seconds":1776805263,"priority":1,"record_length":96,"hex_timestamp":"0000019db1d8b698"} 
[2026-04-22 02:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:33: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-22 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-04-22 02:33:11] 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-22 02:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:33:11] 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-22 02:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862145280001,"66":27376,"24":47,"87":13824,"16":278279370718576640,"45":8616371274957686784},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,87,16,45]} 
[2026-04-22 02:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862145280001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:33:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278279370718576640,"km_value":278279370718576.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8616371274957686784,"description":"Unknown IO ID 45"} 
[2026-04-22 02:33:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454862145280001,"power":27376,"ignition":47,"unknown_87":13824,"odometer":null,"unknown_45":8616371274957686784}} 
[2026-04-22 02:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":50247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:33:11] local.INFO: GPS data processed {"connection_id":50247,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:33:11] local.INFO: Acknowledgment sent {"connection_id":50247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:33:28] local.INFO: TCP Data received {"connection_id":49869,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:33:28] local.INFO: Processing buffer {"connection_id":49869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:33:28] local.INFO: IMEI packet received {"connection_id":49869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":49869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:33:34] local.INFO: TCP Data received {"connection_id":49869,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:33:34] local.INFO: Processing buffer {"connection_id":49869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:33:34] local.INFO: IMEI packet received {"connection_id":49869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":49869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:33:35] local.INFO: TCP Data received {"connection_id":49869,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1da02a0012d79184005e89e10000600722b..."} 
[2026-04-22 02:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1da02a0012d79184005e89e10000600722b..."} 
[2026-04-22 02:33:35] local.INFO: Processing buffer {"connection_id":49869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1da02a0012d79184005e89e10000600722b..."} 
[2026-04-22 02:33:35] local.INFO: Packet analysis {"connection_id":49869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1da"} 
[2026-04-22 02:33:35] local.INFO: Extracted packet for processing {"connection_id":49869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1da"} 
[2026-04-22 02:33:35] local.INFO: GPS Element Parsed {"raw_longitude":762910784,"raw_latitude":99130896,"longitude_deg":76.2910784,"latitude_deg":9.9130896,"altitude":6,"angle":114,"satellites":43,"speed":37,"hex_longitude":"2d791840","hex_latitude":"05e89e10","is_valid_coordinates":true} 
[2026-04-22 02:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862167552001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278283773060055040,"note":"Value kept but may cause issues"} 
[2026-04-22 02:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8720235541362421760,"note":"Value kept but may cause issues"} 
[2026-04-22 02:33:35] 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-22 02:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776805348000,"timestamp_ms":1776805348000,"timestamp_seconds":1776805348,"priority":1,"record_length":96,"hex_timestamp":"0000019db1da02a0"} 
[2026-04-22 02:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 02:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":49869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":49869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":49869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862167552001,"66":27343,"203":206,"87":13824,"24":37,"16":278283773060055040,"45":8720235541362421760},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-04-22 02:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862167552001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:33:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278283773060055040,"km_value":278283773060055.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8720235541362421760,"description":"Unknown IO ID 45"} 
[2026-04-22 02:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862167552001,"power":27343,"mnc":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8720235541362421760}} 
[2026-04-22 02:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":49869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:33:35] local.INFO: GPS data processed {"connection_id":49869,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:33:35] local.INFO: Acknowledgment sent {"connection_id":49869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:34:06] local.INFO: TCP Data received {"connection_id":49869,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1da1df8012d79304005e893f0000700652a..."} 
[2026-04-22 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1da1df8012d79304005e893f0000700652a..."} 
[2026-04-22 02:34:06] local.INFO: Processing buffer {"connection_id":49869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1da1df8012d79304005e893f0000700652a..."} 
[2026-04-22 02:34:06] local.INFO: Packet analysis {"connection_id":49869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1da"} 
[2026-04-22 02:34:06] local.INFO: Extracted packet for processing {"connection_id":49869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1da"} 
[2026-04-22 02:34:06] local.INFO: GPS Element Parsed {"raw_longitude":762916928,"raw_latitude":99128304,"longitude_deg":76.2916928,"latitude_deg":9.9128304,"altitude":7,"angle":101,"satellites":42,"speed":36,"hex_longitude":"2d793040","hex_latitude":"05e893f0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862169088001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278284095182602240,"note":"Value kept but may cause issues"} 
[2026-04-22 02:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8725794672152023040,"note":"Value kept but may cause issues"} 
[2026-04-22 02:34:06] 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-22 02:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776805355000,"timestamp_ms":1776805355000,"timestamp_seconds":1776805355,"priority":1,"record_length":96,"hex_timestamp":"0000019db1da1df8"} 
[2026-04-22 02: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-22 02:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:34: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-22 02: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-22 02: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-22 02:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":49869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":49869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":49869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862169088001,"66":27365,"203":206,"87":13824,"24":36,"16":278284095182602240,"45":8725794672152023040},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-04-22 02:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862169088001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:34:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278284095182602240,"km_value":278284095182602.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8725794672152023040,"description":"Unknown IO ID 45"} 
[2026-04-22 02:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862169088001,"power":27365,"mnc":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8725794672152023040}} 
[2026-04-22 02:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":49869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:34:06] local.INFO: GPS data processed {"connection_id":49869,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:34:06] local.INFO: Acknowledgment sent {"connection_id":49869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:34:27] local.INFO: TCP Data received {"connection_id":50107,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:34:27] local.INFO: Processing buffer {"connection_id":50107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:34:27] local.INFO: IMEI packet received {"connection_id":50107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:34:28] local.INFO: TCP Data received {"connection_id":50107,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:34:28] local.INFO: Processing buffer {"connection_id":50107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:34:28] local.INFO: IMEI packet received {"connection_id":50107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":50107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:34:32] local.INFO: TCP Data received {"connection_id":50107,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:34:32] local.INFO: Processing buffer {"connection_id":50107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:34:32] local.INFO: IMEI packet received {"connection_id":50107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:34:33] local.INFO: TCP Data received {"connection_id":50107,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1da4508012d79530005e88a900007006d2c..."} 
[2026-04-22 02:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1da4508012d79530005e88a900007006d2c..."} 
[2026-04-22 02:34:33] local.INFO: Processing buffer {"connection_id":50107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1da4508012d79530005e88a900007006d2c..."} 
[2026-04-22 02:34:33] local.INFO: Packet analysis {"connection_id":50107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1da"} 
[2026-04-22 02:34:33] local.INFO: Extracted packet for processing {"connection_id":50107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1da"} 
[2026-04-22 02:34:33] local.INFO: GPS Element Parsed {"raw_longitude":762925824,"raw_latitude":99125904,"longitude_deg":76.2925824,"latitude_deg":9.9125904,"altitude":7,"angle":109,"satellites":44,"speed":38,"hex_longitude":"2d795300","hex_latitude":"05e88a90","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862170880001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278284533269266432,"note":"Value kept but may cause issues"} 
[2026-04-22 02:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8732550071592415232,"note":"Value kept but may cause issues"} 
[2026-04-22 02:34:33] 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-22 02:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776805365000,"timestamp_ms":1776805365000,"timestamp_seconds":1776805365,"priority":1,"record_length":96,"hex_timestamp":"0000019db1da4508"} 
[2026-04-22 02: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-22 02:34: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-22 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862170880001,"66":27267,"202":206,"87":13824,"24":38,"16":278284533269266432,"45":8732550071592415232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-22 02:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862170880001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:34:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278284533269266432,"km_value":278284533269266.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8732550071592415232,"description":"Unknown IO ID 45"} 
[2026-04-22 02:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862170880001,"power":27267,"mcc":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8732550071592415232}} 
[2026-04-22 02:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:34:33] local.INFO: GPS data processed {"connection_id":50107,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:34:33] local.INFO: Acknowledgment sent {"connection_id":50107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:35:04] local.INFO: TCP Data received {"connection_id":50107,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1db6a00012d79b8c005e7b080000400b028..."} 
[2026-04-22 02:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1db6a00012d79b8c005e7b080000400b028..."} 
[2026-04-22 02:35:04] local.INFO: Processing buffer {"connection_id":50107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1db6a00012d79b8c005e7b080000400b028..."} 
[2026-04-22 02:35:04] local.INFO: Packet analysis {"connection_id":50107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1db"} 
[2026-04-22 02:35:04] local.INFO: Extracted packet for processing {"connection_id":50107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1db"} 
[2026-04-22 02:35:04] local.INFO: GPS Element Parsed {"raw_longitude":762951872,"raw_latitude":99070080,"longitude_deg":76.2951872,"latitude_deg":9.907008,"altitude":4,"angle":176,"satellites":40,"speed":37,"hex_longitude":"2d79b8c0","hex_latitude":"05e7b080","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862190080001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278287745904803840,"note":"Value kept but may cause issues"} 
[2026-04-22 02:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769141818552283136,"note":"Value kept but may cause issues"} 
[2026-04-22 02:35:04] 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-22 02:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776805440000,"timestamp_ms":1776805440000,"timestamp_seconds":1776805440,"priority":1,"record_length":96,"hex_timestamp":"0000019db1db6a00"} 
[2026-04-22 02: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-22 02:35: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-22 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:35: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-22 02: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-22 02: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-22 02:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862190080001,"66":27365,"202":206,"87":13824,"24":37,"16":278287745904803840,"45":8769141818552283136},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-22 02:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862190080001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:35:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278287745904803840,"km_value":278287745904803.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769141818552283136,"description":"Unknown IO ID 45"} 
[2026-04-22 02:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862190080001,"power":27365,"mcc":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8769141818552283136}} 
[2026-04-22 02:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:35:04] local.INFO: GPS data processed {"connection_id":50107,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:35:04] local.INFO: Acknowledgment sent {"connection_id":50107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:35:27] local.INFO: TCP Data received {"connection_id":50756,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:35:27] local.INFO: Processing buffer {"connection_id":50756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:35:27] local.INFO: IMEI packet received {"connection_id":50756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:35:32] local.INFO: TCP Data received {"connection_id":50756,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:35:32] local.INFO: Processing buffer {"connection_id":50756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:35:32] local.INFO: IMEI packet received {"connection_id":50756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:35:33] local.INFO: TCP Data received {"connection_id":50756,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1db9110012d79b88005e78ad8000500b72a..."} 
[2026-04-22 02:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1db9110012d79b88005e78ad8000500b72a..."} 
[2026-04-22 02:35:33] local.INFO: Processing buffer {"connection_id":50756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1db9110012d79b88005e78ad8000500b72a..."} 
[2026-04-22 02:35:33] local.INFO: Packet analysis {"connection_id":50756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1db"} 
[2026-04-22 02:35:33] local.INFO: Extracted packet for processing {"connection_id":50756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1db"} 
[2026-04-22 02:35:33] local.INFO: GPS Element Parsed {"raw_longitude":762951808,"raw_latitude":99060440,"longitude_deg":76.2951808,"latitude_deg":9.906044,"altitude":5,"angle":183,"satellites":42,"speed":37,"hex_longitude":"2d79b880","hex_latitude":"05e78ad8","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862192640001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278288214056239104,"note":"Value kept but may cause issues"} 
[2026-04-22 02:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770971405898514432,"note":"Value kept but may cause issues"} 
[2026-04-22 02:35:33] 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-22 02:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776805450000,"timestamp_ms":1776805450000,"timestamp_seconds":1776805450,"priority":1,"record_length":96,"hex_timestamp":"0000019db1db9110"} 
[2026-04-22 02: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-22 02: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-22 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862192640001,"66":27365,"202":206,"87":13824,"24":37,"16":278288214056239104,"45":8770971405898514432},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-22 02:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862192640001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:35:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278288214056239104,"km_value":278288214056239.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770971405898514432,"description":"Unknown IO ID 45"} 
[2026-04-22 02:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862192640001,"power":27365,"mcc":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8770971405898514432}} 
[2026-04-22 02:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:35:33] local.INFO: GPS data processed {"connection_id":50756,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:35:33] local.INFO: Acknowledgment sent {"connection_id":50756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:36:04] local.INFO: TCP Data received {"connection_id":50756,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1dbbc08012d79b58005e765d0000600b723..."} 
[2026-04-22 02:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1dbbc08012d79b58005e765d0000600b723..."} 
[2026-04-22 02:36:04] local.INFO: Processing buffer {"connection_id":50756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1dbbc08012d79b58005e765d0000600b723..."} 
[2026-04-22 02:36:04] local.INFO: Packet analysis {"connection_id":50756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1db"} 
[2026-04-22 02:36:04] local.INFO: Extracted packet for processing {"connection_id":50756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1db"} 
[2026-04-22 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":762951040,"raw_latitude":99050960,"longitude_deg":76.295104,"latitude_deg":9.905096,"altitude":6,"angle":183,"satellites":35,"speed":29,"hex_longitude":"2d79b580","hex_latitude":"05e765d0","is_valid_coordinates":true} 
[2026-04-22 02:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862195200001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278288677912707072,"note":"Value kept but may cause issues"} 
[2026-04-22 02:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770901037151868928,"note":"Value kept but may cause issues"} 
[2026-04-22 02:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776805461000,"timestamp_ms":1776805461000,"timestamp_seconds":1776805461,"priority":1,"record_length":96,"hex_timestamp":"0000019db1dbbc08"} 
[2026-04-22 02:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02: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-22 02:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:36: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-22 02:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862195200001,"66":27365,"181":206,"87":13824,"24":29,"16":278288677912707072,"45":8770901037151868928},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-04-22 02:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862195200001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:36:04] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-22 02:36:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278288677912707072,"km_value":278288677912707.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770901037151868928,"description":"Unknown IO ID 45"} 
[2026-04-22 02:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862195200001,"power":27365,"unknown_181":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8770901037151868928}} 
[2026-04-22 02:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":50756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:36:04] local.INFO: GPS data processed {"connection_id":50756,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:36:04] local.INFO: Acknowledgment sent {"connection_id":50756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:36:27] local.INFO: TCP Data received {"connection_id":49870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:36:27] local.INFO: Processing buffer {"connection_id":49870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:36:27] local.INFO: IMEI packet received {"connection_id":49870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":49870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:36:32] local.INFO: TCP Data received {"connection_id":50757,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:36:32] local.INFO: Processing buffer {"connection_id":50757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:36:32] local.INFO: IMEI packet received {"connection_id":50757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:36:35] local.INFO: TCP Data received {"connection_id":50757,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:36:35] local.INFO: Processing buffer {"connection_id":50757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:36:35] local.INFO: IMEI packet received {"connection_id":50757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":50757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:36:36] local.INFO: TCP Data received {"connection_id":50757,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1dbeed0012d79b28005e74328000700b72a..."} 
[2026-04-22 02:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1dbeed0012d79b28005e74328000700b72a..."} 
[2026-04-22 02:36:36] local.INFO: Processing buffer {"connection_id":50757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1dbeed0012d79b28005e74328000700b72a..."} 
[2026-04-22 02:36:36] local.INFO: Packet analysis {"connection_id":50757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1db"} 
[2026-04-22 02:36:36] local.INFO: Extracted packet for processing {"connection_id":50757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1db"} 
[2026-04-22 02:36:36] local.INFO: GPS Element Parsed {"raw_longitude":762950272,"raw_latitude":99042088,"longitude_deg":76.2950272,"latitude_deg":9.9042088,"altitude":7,"angle":183,"satellites":42,"speed":28,"hex_longitude":"2d79b280","hex_latitude":"05e74328","is_valid_coordinates":true} 
[2026-04-22 02:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862198016001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278289107409436672,"note":"Value kept but may cause issues"} 
[2026-04-22 02:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770056612219310080,"note":"Value kept but may cause issues"} 
[2026-04-22 02:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776805474000,"timestamp_ms":1776805474000,"timestamp_seconds":1776805474,"priority":1,"record_length":96,"hex_timestamp":"0000019db1dbeed0"} 
[2026-04-22 02:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:36: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-22 02:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862198016001,"66":27332,"181":206,"87":13824,"24":28,"16":278289107409436672,"45":8770056612219310080},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-04-22 02:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862198016001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:36:36] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-22 02:36:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278289107409436672,"km_value":278289107409436.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770056612219310080,"description":"Unknown IO ID 45"} 
[2026-04-22 02:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862198016001,"power":27332,"unknown_181":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8770056612219310080}} 
[2026-04-22 02:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":50757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:36:36] local.INFO: GPS data processed {"connection_id":50757,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:36:36] local.INFO: Acknowledgment sent {"connection_id":50757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:36:37] local.INFO: TCP Data received {"connection_id":50757,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1dc1db0012d79b2c005e71fb8000400b32a..."} 
[2026-04-22 02:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1dc1db0012d79b2c005e71fb8000400b32a..."} 
[2026-04-22 02:36:37] local.INFO: Processing buffer {"connection_id":50757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1dc1db0012d79b2c005e71fb8000400b32a..."} 
[2026-04-22 02:36:37] local.INFO: Packet analysis {"connection_id":50757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:36:37] local.INFO: Extracted packet for processing {"connection_id":50757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:36:37] local.INFO: GPS Element Parsed {"raw_longitude":762950336,"raw_latitude":99033016,"longitude_deg":76.2950336,"latitude_deg":9.9033016,"altitude":4,"angle":179,"satellites":42,"speed":27,"hex_longitude":"2d79b2c0","hex_latitude":"05e71fb8","is_valid_coordinates":true} 
[2026-04-22 02:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862201344001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278289549791068160,"note":"Value kept but may cause issues"} 
[2026-04-22 02:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769212187286906880,"note":"Value kept but may cause issues"} 
[2026-04-22 02:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776805486000,"timestamp_ms":1776805486000,"timestamp_seconds":1776805486,"priority":1,"record_length":96,"hex_timestamp":"0000019db1dc1db0"} 
[2026-04-22 02:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:36: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-22 02:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:36: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-22 02:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:36:37] 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-22 02:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862201344001,"66":27343,"181":206,"87":13824,"24":27,"16":278289549791068160,"45":8769212187286906880},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-04-22 02:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862201344001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:36:37] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-22 02:36:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278289549791068160,"km_value":278289549791068.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769212187286906880,"description":"Unknown IO ID 45"} 
[2026-04-22 02:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862201344001,"power":27343,"unknown_181":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8769212187286906880}} 
[2026-04-22 02:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":50757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:36:37] local.INFO: GPS data processed {"connection_id":50757,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:36:37] local.INFO: Acknowledgment sent {"connection_id":50757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:36:52] local.INFO: TCP Data received {"connection_id":50108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:36:52] local.INFO: Processing buffer {"connection_id":50108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:36:52] local.INFO: IMEI packet received {"connection_id":50108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":50108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:37:09] local.INFO: TCP Data received {"connection_id":50757,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1dc48a8012d79b44005e6fcb0000400af29..."} 
[2026-04-22 02:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1dc48a8012d79b44005e6fcb0000400af29..."} 
[2026-04-22 02:37:09] local.INFO: Processing buffer {"connection_id":50757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1dc48a8012d79b44005e6fcb0000400af29..."} 
[2026-04-22 02:37:09] local.INFO: Packet analysis {"connection_id":50757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:37:09] local.INFO: Extracted packet for processing {"connection_id":50757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:37:09] local.INFO: GPS Element Parsed {"raw_longitude":762950720,"raw_latitude":99024048,"longitude_deg":76.295072,"latitude_deg":9.9024048,"altitude":4,"angle":175,"satellites":41,"speed":34,"hex_longitude":"2d79b440","hex_latitude":"05e6fcb0","is_valid_coordinates":true} 
[2026-04-22 02:37: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-22 02:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862204416001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278289983582765056,"note":"Value kept but may cause issues"} 
[2026-04-22 02:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769282556028762112,"note":"Value kept but may cause issues"} 
[2026-04-22 02:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776805497000,"timestamp_ms":1776805497000,"timestamp_seconds":1776805497,"priority":1,"record_length":96,"hex_timestamp":"0000019db1dc48a8"} 
[2026-04-22 02:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:37: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-22 02:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:37: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-22 02:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862204416001,"66":27343,"181":206,"87":13824,"24":34,"16":278289983582765056,"45":8769282556028762112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-04-22 02:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862204416001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:37:09] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-22 02:37:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278289983582765056,"km_value":278289983582765.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769282556028762112,"description":"Unknown IO ID 45"} 
[2026-04-22 02:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862204416001,"power":27343,"unknown_181":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8769282556028762112}} 
[2026-04-22 02:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":50757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:37:09] local.INFO: GPS data processed {"connection_id":50757,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:37:09] local.INFO: Acknowledgment sent {"connection_id":50757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:37:24] local.INFO: TCP Data received {"connection_id":50249,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:24] local.INFO: Processing buffer {"connection_id":50249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:24] local.INFO: IMEI packet received {"connection_id":50249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":50249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:37:25] local.INFO: TCP Data received {"connection_id":50249,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:25] local.INFO: Processing buffer {"connection_id":50249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:25] local.INFO: IMEI packet received {"connection_id":50249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":50249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:37:28] local.INFO: TCP Data received {"connection_id":50249,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:28] local.INFO: Processing buffer {"connection_id":50249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:28] local.INFO: IMEI packet received {"connection_id":50249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":50249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:37:33] local.INFO: TCP Data received {"connection_id":50249,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:33] local.INFO: Processing buffer {"connection_id":50249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:37:33] local.INFO: IMEI packet received {"connection_id":50249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":50249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:37:34] local.INFO: TCP Data received {"connection_id":50249,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1dc73a0012d79b78005e6d710000500ae2a..."} 
[2026-04-22 02:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1dc73a0012d79b78005e6d710000500ae2a..."} 
[2026-04-22 02:37:34] local.INFO: Processing buffer {"connection_id":50249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1dc73a0012d79b78005e6d710000500ae2a..."} 
[2026-04-22 02:37:34] local.INFO: Packet analysis {"connection_id":50249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:37:34] local.INFO: Extracted packet for processing {"connection_id":50249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:37:34] local.INFO: GPS Element Parsed {"raw_longitude":762951552,"raw_latitude":99014416,"longitude_deg":76.2951552,"latitude_deg":9.9014416,"altitude":5,"angle":174,"satellites":42,"speed":34,"hex_longitude":"2d79b780","hex_latitude":"05e6d710","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862207232001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278290451734200320,"note":"Value kept but may cause issues"} 
[2026-04-22 02:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769704768491532288,"note":"Value kept but may cause issues"} 
[2026-04-22 02:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776805508000,"timestamp_ms":1776805508000,"timestamp_seconds":1776805508,"priority":1,"record_length":96,"hex_timestamp":"0000019db1dc73a0"} 
[2026-04-22 02: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-22 02:37: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-22 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:37: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-22 02: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-22 02: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-22 02:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:37: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-22 02:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862207232001,"66":27343,"181":206,"87":13824,"24":34,"16":278290451734200320,"45":8769704768491532288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-04-22 02:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862207232001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:37:34] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-22 02:37:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278290451734200320,"km_value":278290451734200.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769704768491532288,"description":"Unknown IO ID 45"} 
[2026-04-22 02:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862207232001,"power":27343,"unknown_181":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8769704768491532288}} 
[2026-04-22 02:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":50249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:37:34] local.INFO: GPS data processed {"connection_id":50249,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:37:34] local.INFO: Acknowledgment sent {"connection_id":50249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:37:36] local.INFO: TCP Data received {"connection_id":50249,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1dc9e98012d79bb4005e6b290000500af25..."} 
[2026-04-22 02:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1dc9e98012d79bb4005e6b290000500af25..."} 
[2026-04-22 02:37:36] local.INFO: Processing buffer {"connection_id":50249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1dc9e98012d79bb4005e6b290000500af25..."} 
[2026-04-22 02:37:36] local.INFO: Packet analysis {"connection_id":50249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:37:36] local.INFO: Extracted packet for processing {"connection_id":50249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:37:36] local.INFO: GPS Element Parsed {"raw_longitude":762952512,"raw_latitude":99005072,"longitude_deg":76.2952512,"latitude_deg":9.9005072,"altitude":5,"angle":175,"satellites":37,"speed":36,"hex_longitude":"2d79bb40","hex_latitude":"05e6b290","is_valid_coordinates":true} 
[2026-04-22 02:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862210048001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278290907000733696,"note":"Value kept but may cause issues"} 
[2026-04-22 02:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770619562163376128,"note":"Value kept but may cause issues"} 
[2026-04-22 02:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776805519000,"timestamp_ms":1776805519000,"timestamp_seconds":1776805519,"priority":1,"record_length":96,"hex_timestamp":"0000019db1dc9e98"} 
[2026-04-22 02:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:37: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-22 02:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:37: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-22 02:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862210048001,"66":27332,"181":206,"87":13824,"24":36,"16":278290907000733696,"45":8770619562163376128},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-04-22 02:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862210048001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:37:36] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-22 02:37:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278290907000733696,"km_value":278290907000733.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770619562163376128,"description":"Unknown IO ID 45"} 
[2026-04-22 02:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862210048001,"power":27332,"unknown_181":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8770619562163376128}} 
[2026-04-22 02:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":50249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:37:36] local.INFO: GPS data processed {"connection_id":50249,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:37:36] local.INFO: Acknowledgment sent {"connection_id":50249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:38:08] local.INFO: TCP Data received {"connection_id":50249,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1dcc5a8012d79be4005e68e88000600ac22..."} 
[2026-04-22 02:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1dcc5a8012d79be4005e68e88000600ac22..."} 
[2026-04-22 02:38:08] local.INFO: Processing buffer {"connection_id":50249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1dcc5a8012d79be4005e68e88000600ac22..."} 
[2026-04-22 02:38:08] local.INFO: Packet analysis {"connection_id":50249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:38:08] local.INFO: Extracted packet for processing {"connection_id":50249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1dc"} 
[2026-04-22 02:38:08] local.INFO: GPS Element Parsed {"raw_longitude":762953280,"raw_latitude":98995848,"longitude_deg":76.295328,"latitude_deg":9.8995848,"altitude":6,"angle":172,"satellites":34,"speed":34,"hex_longitude":"2d79be40","hex_latitude":"05e68e88","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862212864001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278291357972299776,"note":"Value kept but may cause issues"} 
[2026-04-22 02:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771675093323649024,"note":"Value kept but may cause issues"} 
[2026-04-22 02:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776805529000,"timestamp_ms":1776805529000,"timestamp_seconds":1776805529,"priority":1,"record_length":96,"hex_timestamp":"0000019db1dcc5a8"} 
[2026-04-22 02: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-22 02: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-22 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:38:08] 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-22 02: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-22 02: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-22 02:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:38:08] 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-22 02:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862212864001,"66":26658,"181":206,"87":13824,"24":34,"16":278291357972299776,"45":8771675093323649024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-04-22 02:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862212864001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:38:08] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-04-22 02:38:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278291357972299776,"km_value":278291357972299.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771675093323649024,"description":"Unknown IO ID 45"} 
[2026-04-22 02:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862212864001,"power":26658,"unknown_181":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8771675093323649024}} 
[2026-04-22 02:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":50249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:38:08] local.INFO: GPS data processed {"connection_id":50249,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:38:08] local.INFO: Acknowledgment sent {"connection_id":50249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:38:27] local.INFO: TCP Data received {"connection_id":50758,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:38:27] local.INFO: Processing buffer {"connection_id":50758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:38:27] local.INFO: IMEI packet received {"connection_id":50758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":50758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:38:28] local.INFO: TCP Data received {"connection_id":50758,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:38:28] local.INFO: Processing buffer {"connection_id":50758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:38:28] local.INFO: IMEI packet received {"connection_id":50758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":50758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:38:31] local.INFO: TCP Data received {"connection_id":50758,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:38:31] local.INFO: Processing buffer {"connection_id":50758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:38:31] local.INFO: IMEI packet received {"connection_id":50758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":50758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:38:32] local.INFO: TCP Data received {"connection_id":50758,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1de7f10012d79eb0005e54328000800a82a..."} 
[2026-04-22 02:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1de7f10012d79eb0005e54328000800a82a..."} 
[2026-04-22 02:38:32] local.INFO: Processing buffer {"connection_id":50758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1de7f10012d79eb0005e54328000800a82a..."} 
[2026-04-22 02:38:32] local.INFO: Packet analysis {"connection_id":50758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1de"} 
[2026-04-22 02:38:32] local.INFO: Extracted packet for processing {"connection_id":50758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1de"} 
[2026-04-22 02:38:32] local.INFO: GPS Element Parsed {"raw_longitude":762964736,"raw_latitude":98911016,"longitude_deg":76.2964736,"latitude_deg":9.8911016,"altitude":8,"angle":168,"satellites":42,"speed":32,"hex_longitude":"2d79eb00","hex_latitude":"05e54328","is_valid_coordinates":true} 
[2026-04-22 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-22 02:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862241024001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278295545565413376,"note":"Value kept but may cause issues"} 
[2026-04-22 02:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782934092370395136,"note":"Value kept but may cause issues"} 
[2026-04-22 02:38:32] 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-22 02:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776805642000,"timestamp_ms":1776805642000,"timestamp_seconds":1776805642,"priority":1,"record_length":96,"hex_timestamp":"0000019db1de7f10"} 
[2026-04-22 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-22 02:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 02:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 02:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:38:32] 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-22 02:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862241024001,"66":27321,"90":206,"87":13824,"24":32,"16":278295545565413376,"45":8782934092370395136},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-04-22 02:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862241024001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:38:32] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-22 02:38:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278295545565413376,"km_value":278295545565413.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782934092370395136,"description":"Unknown IO ID 45"} 
[2026-04-22 02:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862241024001,"power":27321,"unknown_90":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8782934092370395136}} 
[2026-04-22 02:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":50758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:38:32] local.INFO: GPS data processed {"connection_id":50758,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:38:32] local.INFO: Acknowledgment sent {"connection_id":50758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:39:04] local.INFO: TCP Data received {"connection_id":50758,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1deb1d8012d79f20005e520d8000400a72b..."} 
[2026-04-22 02:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1deb1d8012d79f20005e520d8000400a72b..."} 
[2026-04-22 02:39:04] local.INFO: Processing buffer {"connection_id":50758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1deb1d8012d79f20005e520d8000400a72b..."} 
[2026-04-22 02:39:04] local.INFO: Packet analysis {"connection_id":50758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1de"} 
[2026-04-22 02:39:04] local.INFO: Extracted packet for processing {"connection_id":50758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1de"} 
[2026-04-22 02:39:04] local.INFO: GPS Element Parsed {"raw_longitude":762966528,"raw_latitude":98902232,"longitude_deg":76.2966528,"latitude_deg":9.8902232,"altitude":4,"angle":167,"satellites":43,"speed":14,"hex_longitude":"2d79f200","hex_latitude":"05e520d8","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862244352001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278295979357110272,"note":"Value kept but may cause issues"} 
[2026-04-22 02:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785115523437504512,"note":"Value kept but may cause issues"} 
[2026-04-22 02:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776805655000,"timestamp_ms":1776805655000,"timestamp_seconds":1776805655,"priority":1,"record_length":96,"hex_timestamp":"0000019db1deb1d8"} 
[2026-04-22 02: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-22 02:39: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-22 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:39: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-22 02: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-22 02: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-22 02:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862244352001,"66":27332,"95":206,"87":13824,"24":14,"16":278295979357110272,"45":8785115523437504512},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-04-22 02:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862244352001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:39:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-22 02:39:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278295979357110272,"km_value":278295979357110.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785115523437504512,"description":"Unknown IO ID 45"} 
[2026-04-22 02:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862244352001,"power":27332,"unknown_95":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8785115523437504512}} 
[2026-04-22 02:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":50758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:39:04] local.INFO: GPS data processed {"connection_id":50758,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:39:04] local.INFO: Acknowledgment sent {"connection_id":50758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:39:27] local.INFO: TCP Data received {"connection_id":49871,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:39:27] local.INFO: Processing buffer {"connection_id":49871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:39:27] local.INFO: IMEI packet received {"connection_id":49871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":49871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:39:32] local.INFO: TCP Data received {"connection_id":49871,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:39:32] local.INFO: Processing buffer {"connection_id":49871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:39:32] local.INFO: IMEI packet received {"connection_id":49871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":49871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:39:32] local.INFO: TCP Data received {"connection_id":49871,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1dee888012d79f9c005e4fc98000300a22a..."} 
[2026-04-22 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1dee888012d79f9c005e4fc98000300a22a..."} 
[2026-04-22 02:39:32] local.INFO: Processing buffer {"connection_id":49871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1dee888012d79f9c005e4fc98000300a22a..."} 
[2026-04-22 02:39:32] local.INFO: Packet analysis {"connection_id":49871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1de"} 
[2026-04-22 02:39:32] local.INFO: Extracted packet for processing {"connection_id":49871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1de"} 
[2026-04-22 02:39:32] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":98892952,"longitude_deg":76.2968512,"latitude_deg":9.8892952,"altitude":3,"angle":162,"satellites":42,"speed":35,"hex_longitude":"2d79f9c0","hex_latitude":"05e4fc98","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862247680001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278296438918610944,"note":"Value kept but may cause issues"} 
[2026-04-22 02:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787085848272230400,"note":"Value kept but may cause issues"} 
[2026-04-22 02:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776805669000,"timestamp_ms":1776805669000,"timestamp_seconds":1776805669,"priority":1,"record_length":96,"hex_timestamp":"0000019db1dee888"} 
[2026-04-22 02: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-22 02:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:39: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-22 02: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-22 02: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-22 02:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":49871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":49871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":49871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:39:32] 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-22 02:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862247680001,"66":27267,"95":206,"87":13824,"24":35,"16":278296438918610944,"45":8787085848272230400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-04-22 02:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862247680001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:39:32] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-22 02:39:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278296438918610944,"km_value":278296438918610.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787085848272230400,"description":"Unknown IO ID 45"} 
[2026-04-22 02:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862247680001,"power":27267,"unknown_95":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8787085848272230400}} 
[2026-04-22 02:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":49871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:39:32] local.INFO: GPS data processed {"connection_id":49871,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:39:32] local.INFO: Acknowledgment sent {"connection_id":49871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:40:03] local.INFO: TCP Data received {"connection_id":49871,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1def828012d7a000005e4ef40000400962a..."} 
[2026-04-22 02:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1def828012d7a000005e4ef40000400962a..."} 
[2026-04-22 02:40:03] local.INFO: Processing buffer {"connection_id":49871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1def828012d7a000005e4ef40000400962a..."} 
[2026-04-22 02:40:03] local.INFO: Packet analysis {"connection_id":49871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1de"} 
[2026-04-22 02:40:03] local.INFO: Extracted packet for processing {"connection_id":49871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1de"} 
[2026-04-22 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762970112,"raw_latitude":98889536,"longitude_deg":76.2970112,"latitude_deg":9.8889536,"altitude":4,"angle":150,"satellites":42,"speed":39,"hex_longitude":"2d7a0000","hex_latitude":"05e4ef40","is_valid_coordinates":true} 
[2026-04-22 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-22 02:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862251264001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278296623602204672,"note":"Value kept but may cause issues"} 
[2026-04-22 02:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279339362304,"note":"Value kept but may cause issues"} 
[2026-04-22 02:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776805673000,"timestamp_ms":1776805673000,"timestamp_seconds":1776805673,"priority":1,"record_length":96,"hex_timestamp":"0000019db1def828"} 
[2026-04-22 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-22 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-22 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 02:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 02:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":49871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":49871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":49871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:40: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-22 02:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862251264001,"66":27332,"95":206,"87":13824,"24":39,"16":278296623602204672,"45":8789267279339362304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-04-22 02:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862251264001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:40:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-22 02:40:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 02:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278296623602204672,"km_value":278296623602204.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279339362304,"description":"Unknown IO ID 45"} 
[2026-04-22 02:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862251264001,"power":27332,"unknown_95":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8789267279339362304}} 
[2026-04-22 02:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":49871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:40:03] local.INFO: GPS data processed {"connection_id":49871,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:40:03] local.INFO: Acknowledgment sent {"connection_id":49871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:40:27] local.INFO: TCP Data received {"connection_id":50759,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:40:27] local.INFO: Processing buffer {"connection_id":50759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:40:27] local.INFO: IMEI packet received {"connection_id":50759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:40:32] local.INFO: TCP Data received {"connection_id":50759,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:40:32] local.INFO: Processing buffer {"connection_id":50759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:40:32] local.INFO: IMEI packet received {"connection_id":50759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:40:33] local.INFO: TCP Data received {"connection_id":50759,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e053d0012d7ad78005e3e518000700a828..."} 
[2026-04-22 02:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e053d0012d7ad78005e3e518000700a828..."} 
[2026-04-22 02:40:33] local.INFO: Processing buffer {"connection_id":50759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e053d0012d7ad78005e3e518000700a828..."} 
[2026-04-22 02:40:33] local.INFO: Packet analysis {"connection_id":50759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e0"} 
[2026-04-22 02:40:33] local.INFO: Extracted packet for processing {"connection_id":50759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e0"} 
[2026-04-22 02:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98821400,"longitude_deg":76.302528,"latitude_deg":9.88214,"altitude":7,"angle":168,"satellites":40,"speed":37,"hex_longitude":"2d7ad780","hex_latitude":"05e3e518","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862272256001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278300952929239040,"note":"Value kept but may cause issues"} 
[2026-04-22 02:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849643661827870720,"note":"Value kept but may cause issues"} 
[2026-04-22 02:40: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-22 02:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776805762000,"timestamp_ms":1776805762000,"timestamp_seconds":1776805762,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e053d0"} 
[2026-04-22 02: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-22 02:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862272256001,"66":27343,"97":206,"85":15104,"24":37,"16":278300952929239040,"45":8849643661827870720},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-22 02:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862272256001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 02:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278300952929239040,"km_value":278300952929239.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849643661827870720,"description":"Unknown IO ID 45"} 
[2026-04-22 02:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862272256001,"power":27343,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8849643661827870720}} 
[2026-04-22 02:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:40:33] local.INFO: GPS data processed {"connection_id":50759,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:40:33] local.INFO: Acknowledgment sent {"connection_id":50759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:41:04] local.INFO: TCP Data received {"connection_id":50759,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e07ae0012d7ae10005e3c298000800a529..."} 
[2026-04-22 02:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e07ae0012d7ae10005e3c298000800a529..."} 
[2026-04-22 02:41:04] local.INFO: Processing buffer {"connection_id":50759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e07ae0012d7ae10005e3c298000800a529..."} 
[2026-04-22 02:41:04] local.INFO: Packet analysis {"connection_id":50759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e0"} 
[2026-04-22 02:41:04] local.INFO: Extracted packet for processing {"connection_id":50759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e0"} 
[2026-04-22 02:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763027712,"raw_latitude":98812568,"longitude_deg":76.3027712,"latitude_deg":9.8812568,"altitude":8,"angle":165,"satellites":41,"speed":37,"hex_longitude":"2d7ae100","hex_latitude":"05e3c298","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862275072001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278301399605837824,"note":"Value kept but may cause issues"} 
[2026-04-22 02:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851684355406632960,"note":"Value kept but may cause issues"} 
[2026-04-22 02:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776805772000,"timestamp_ms":1776805772000,"timestamp_seconds":1776805772,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e07ae0"} 
[2026-04-22 02: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-22 02:41: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-22 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:41:04] 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-22 02: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-22 02: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-22 02:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862275072001,"66":27321,"97":206,"85":15104,"24":37,"16":278301399605837824,"45":8851684355406632960},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-22 02:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862275072001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 02:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278301399605837824,"km_value":278301399605837.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851684355406632960,"description":"Unknown IO ID 45"} 
[2026-04-22 02:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862275072001,"power":27321,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8851684355406632960}} 
[2026-04-22 02:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":50759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:41:04] local.INFO: GPS data processed {"connection_id":50759,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:41:04] local.INFO: Acknowledgment sent {"connection_id":50759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:41:27] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:41:27] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:41:27] local.INFO: IMEI packet received {"connection_id":50760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":50760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:41:38] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:41:38] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:41:38] local.INFO: IMEI packet received {"connection_id":50760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":50760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:41:40] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e09e08012d7aebc005e3a130000800a129..."} 
[2026-04-22 02:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e09e08012d7aebc005e3a130000800a129..."} 
[2026-04-22 02:41:40] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e09e08012d7aebc005e3a130000800a129..."} 
[2026-04-22 02:41:40] local.INFO: Packet analysis {"connection_id":50760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e0"} 
[2026-04-22 02:41:40] local.INFO: Extracted packet for processing {"connection_id":50760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e0"} 
[2026-04-22 02:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763030464,"raw_latitude":98804016,"longitude_deg":76.3030464,"latitude_deg":9.8804016,"altitude":8,"angle":161,"satellites":41,"speed":37,"hex_longitude":"2d7aebc0","hex_latitude":"05e3a130","is_valid_coordinates":true} 
[2026-04-22 02:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862277632001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278301833397534720,"note":"Value kept but may cause issues"} 
[2026-04-22 02:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854358367683123200,"note":"Value kept but may cause issues"} 
[2026-04-22 02:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776805781000,"timestamp_ms":1776805781000,"timestamp_seconds":1776805781,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e09e08"} 
[2026-04-22 02:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:41: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-22 02:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:41:40] 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-22 02:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:41:40] 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-22 02:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862277632001,"66":27484,"97":206,"85":15104,"24":37,"16":278301833397534720,"45":8854358367683123200},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-22 02:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862277632001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 02:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278301833397534720,"km_value":278301833397534.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854358367683123200,"description":"Unknown IO ID 45"} 
[2026-04-22 02:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862277632001,"power":27484,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8854358367683123200}} 
[2026-04-22 02:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":50760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:41:40] local.INFO: GPS data processed {"connection_id":50760,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:41:40] local.INFO: Acknowledgment sent {"connection_id":50760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:42:11] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e1cad0012d7b124005e30f00000800ac22..."} 
[2026-04-22 02:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e1cad0012d7b124005e30f00000800ac22..."} 
[2026-04-22 02:42:11] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e1cad0012d7b124005e30f00000800ac22..."} 
[2026-04-22 02:42:11] local.INFO: Packet analysis {"connection_id":50760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e1"} 
[2026-04-22 02:42:11] local.INFO: Extracted packet for processing {"connection_id":50760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e1"} 
[2026-04-22 02:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98766592,"longitude_deg":76.304032,"latitude_deg":9.8766592,"altitude":8,"angle":172,"satellites":34,"speed":20,"hex_longitude":"2d7b1240","hex_latitude":"05e30f00","is_valid_coordinates":true} 
[2026-04-22 02:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862295808001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278303766132817920,"note":"Value kept but may cause issues"} 
[2026-04-22 02:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897904781312,"note":"Value kept but may cause issues"} 
[2026-04-22 02:42:11] 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-22 02:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776805858000,"timestamp_ms":1776805858000,"timestamp_seconds":1776805858,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e1cad0"} 
[2026-04-22 02:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 02:42:11] 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-22 02:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:42:11] 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-22 02:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862295808001,"66":27267,"96":206,"85":15104,"24":20,"16":278303766132817920,"45":8866672897904781312},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-22 02:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862295808001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:42:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 02:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278303766132817920,"km_value":278303766132817.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897904781312,"description":"Unknown IO ID 45"} 
[2026-04-22 02:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862295808001,"power":27267,"unknown_96":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8866672897904781312}} 
[2026-04-22 02:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":50760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:42:11] local.INFO: GPS data processed {"connection_id":50760,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:42:11] local.INFO: Acknowledgment sent {"connection_id":50760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:42:17] local.INFO: TCP Data received {"connection_id":50112,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:42:17] local.INFO: Processing buffer {"connection_id":50112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:42:17] local.INFO: IMEI packet received {"connection_id":50112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":50112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:42:27] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:42:27] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:42:27] local.INFO: IMEI packet received {"connection_id":50251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:42:32] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:42:32] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:42:32] local.INFO: IMEI packet received {"connection_id":50251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:42:33] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e1e240012d7b160005e2ffe0000700a024..."} 
[2026-04-22 02:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e1e240012d7b160005e2ffe0000700a024..."} 
[2026-04-22 02:42:33] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e1e240012d7b160005e2ffe0000700a024..."} 
[2026-04-22 02:42:33] local.INFO: Packet analysis {"connection_id":50251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e1"} 
[2026-04-22 02:42:33] local.INFO: Extracted packet for processing {"connection_id":50251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e1"} 
[2026-04-22 02:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763041280,"raw_latitude":98762720,"longitude_deg":76.304128,"latitude_deg":9.876272,"altitude":7,"angle":160,"satellites":36,"speed":33,"hex_longitude":"2d7b1600","hex_latitude":"05e2ffe0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862299648001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278303963701313536,"note":"Value kept but may cause issues"} 
[2026-04-22 02:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010274353152,"note":"Value kept but may cause issues"} 
[2026-04-22 02:42:33] 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-22 02:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776805864000,"timestamp_ms":1776805864000,"timestamp_seconds":1776805864,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e1e240"} 
[2026-04-22 02: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-22 02: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-22 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 02:42: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-22 02: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-22 02: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-22 02:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862299648001,"66":27321,"96":206,"85":15104,"24":33,"16":278303963701313536,"45":8868221010274353152},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-22 02:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862299648001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:42:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 02:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278303963701313536,"km_value":278303963701313.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010274353152,"description":"Unknown IO ID 45"} 
[2026-04-22 02:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862299648001,"power":27321,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8868221010274353152}} 
[2026-04-22 02:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:42:33] local.INFO: GPS data processed {"connection_id":50251,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:42:33] local.INFO: Acknowledgment sent {"connection_id":50251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:42:52] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:42:52] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:42:52] local.INFO: IMEI packet received {"connection_id":50761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":50761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:43:04] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e20d38012d7b1d0005e2dd70000800aa22..."} 
[2026-04-22 02:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e20d38012d7b1d0005e2dd70000800aa22..."} 
[2026-04-22 02:43:04] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e20d38012d7b1d0005e2dd70000800aa22..."} 
[2026-04-22 02:43:04] local.INFO: Packet analysis {"connection_id":50251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:43:04] local.INFO: Extracted packet for processing {"connection_id":50251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763043072,"raw_latitude":98753904,"longitude_deg":76.3043072,"latitude_deg":9.8753904,"altitude":8,"angle":170,"satellites":34,"speed":33,"hex_longitude":"2d7b1d00","hex_latitude":"05e2dd70","is_valid_coordinates":true} 
[2026-04-22 02:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862301184001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278304397493010432,"note":"Value kept but may cause issues"} 
[2026-04-22 02:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869276541436026880,"note":"Value kept but may cause issues"} 
[2026-04-22 02:43:04] 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-22 02:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776805875000,"timestamp_ms":1776805875000,"timestamp_seconds":1776805875,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e20d38"} 
[2026-04-22 02:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:43: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-22 02:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:43: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-22 02:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862301184001,"66":27289,"96":206,"85":15104,"24":33,"16":278304397493010432,"45":8869276541436026880},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-22 02:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862301184001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:43:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 02:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278304397493010432,"km_value":278304397493010.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869276541436026880,"description":"Unknown IO ID 45"} 
[2026-04-22 02:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862301184001,"power":27289,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8869276541436026880}} 
[2026-04-22 02:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:43:04] local.INFO: GPS data processed {"connection_id":50251,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:43:04] local.INFO: Acknowledgment sent {"connection_id":50251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:43:31] local.INFO: TCP Data received {"connection_id":49872,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:43:31] local.INFO: Processing buffer {"connection_id":49872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:43:31] local.INFO: IMEI packet received {"connection_id":49872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":49872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:43:32] local.INFO: TCP Data received {"connection_id":49872,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:43:32] local.INFO: Processing buffer {"connection_id":49872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:43:32] local.INFO: IMEI packet received {"connection_id":49872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":49872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:43:37] local.INFO: TCP Data received {"connection_id":49872,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:43:37] local.INFO: Processing buffer {"connection_id":49872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:43:37] local.INFO: IMEI packet received {"connection_id":49872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":49872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:43:38] local.INFO: TCP Data received {"connection_id":49872,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e24fa0012d7b224005e2ba58000900ad20..."} 
[2026-04-22 02:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e24fa0012d7b224005e2ba58000900ad20..."} 
[2026-04-22 02:43:38] local.INFO: Processing buffer {"connection_id":49872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e24fa0012d7b224005e2ba58000900ad20..."} 
[2026-04-22 02:43:38] local.INFO: Packet analysis {"connection_id":49872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:43:38] local.INFO: Extracted packet for processing {"connection_id":49872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763044416,"raw_latitude":98744920,"longitude_deg":76.3044416,"latitude_deg":9.874492,"altitude":9,"angle":173,"satellites":32,"speed":17,"hex_longitude":"2d7b2240","hex_latitude":"05e2ba58","is_valid_coordinates":true} 
[2026-04-22 02:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862304000001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278304839874641920,"note":"Value kept but may cause issues"} 
[2026-04-22 02:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871246866270744576,"note":"Value kept but may cause issues"} 
[2026-04-22 02:43:38] 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-22 02:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776805892000,"timestamp_ms":1776805892000,"timestamp_seconds":1776805892,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e24fa0"} 
[2026-04-22 02:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:43: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-22 02:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-22 02:43:38] 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-22 02:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862304000001,"66":27234,"96":206,"85":15104,"24":17,"16":278304839874641920,"45":8871246866270744576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-22 02:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862304000001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:43:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 02:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278304839874641920,"km_value":278304839874641.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871246866270744576,"description":"Unknown IO ID 45"} 
[2026-04-22 02:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862304000001,"power":27234,"unknown_96":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8871246866270744576}} 
[2026-04-22 02:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":49872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:43:38] local.INFO: GPS data processed {"connection_id":49872,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:43:38] local.INFO: Acknowledgment sent {"connection_id":49872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:44:09] local.INFO: TCP Data received {"connection_id":49872,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e28268012d7b270005e296b0000800ab23..."} 
[2026-04-22 02:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e28268012d7b270005e296b0000800ab23..."} 
[2026-04-22 02:44:09] local.INFO: Processing buffer {"connection_id":49872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e28268012d7b270005e296b0000800ab23..."} 
[2026-04-22 02:44:09] local.INFO: Packet analysis {"connection_id":49872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:44:09] local.INFO: Extracted packet for processing {"connection_id":49872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763045632,"raw_latitude":98735792,"longitude_deg":76.3045632,"latitude_deg":9.8735792,"altitude":8,"angle":171,"satellites":35,"speed":36,"hex_longitude":"2d7b2700","hex_latitude":"05e296b0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862308352001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278305286551240704,"note":"Value kept but may cause issues"} 
[2026-04-22 02:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872724609896175616,"note":"Value kept but may cause issues"} 
[2026-04-22 02:44:09] 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-22 02:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776805905000,"timestamp_ms":1776805905000,"timestamp_seconds":1776805905,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e28268"} 
[2026-04-22 02: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-22 02:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":98,"data_length":795,"current_offset":136} 
[2026-04-22 02:44:09] 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-22 02: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-22 02: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-22 02:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":49872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":49872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":49872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862308352001,"66":27343,"96":206,"85":15104,"24":36,"16":278305286551240704,"45":8872724609896175616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-22 02:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862308352001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:44:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 02:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278305286551240704,"km_value":278305286551240.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872724609896175616,"description":"Unknown IO ID 45"} 
[2026-04-22 02:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862308352001,"power":27343,"unknown_96":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8872724609896175616}} 
[2026-04-22 02:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":49872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:44:09] local.INFO: GPS data processed {"connection_id":49872,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:44:09] local.INFO: Acknowledgment sent {"connection_id":49872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:44:27] local.INFO: TCP Data received {"connection_id":50114,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:44:27] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:44:27] local.INFO: IMEI packet received {"connection_id":50114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":50114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:44:28] local.INFO: TCP Data received {"connection_id":50114,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:44:28] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:44:28] local.INFO: IMEI packet received {"connection_id":50114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":50114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:44:32] local.INFO: TCP Data received {"connection_id":50114,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:44:32] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:44:32] local.INFO: IMEI packet received {"connection_id":50114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:44:33] local.INFO: TCP Data received {"connection_id":50114,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e2a978012d7b2bc005e27330000500ad23..."} 
[2026-04-22 02:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e2a978012d7b2bc005e27330000500ad23..."} 
[2026-04-22 02:44:33] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e2a978012d7b2bc005e27330000500ad23..."} 
[2026-04-22 02:44:33] local.INFO: Packet analysis {"connection_id":50114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:44:33] local.INFO: Extracted packet for processing {"connection_id":50114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763046848,"raw_latitude":98726704,"longitude_deg":76.3046848,"latitude_deg":9.8726704,"altitude":5,"angle":173,"satellites":35,"speed":32,"hex_longitude":"2d7b2bc0","hex_latitude":"05e27330","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862311680001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278305733227839488,"note":"Value kept but may cause issues"} 
[2026-04-22 02:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874061616033214464,"note":"Value kept but may cause issues"} 
[2026-04-22 02:44:33] 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-22 02:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776805915000,"timestamp_ms":1776805915000,"timestamp_seconds":1776805915,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e2a978"} 
[2026-04-22 02: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-22 02:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:44:33] 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-22 02: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-22 02: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-22 02:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862311680001,"66":27321,"96":206,"85":15104,"24":32,"16":278305733227839488,"45":8874061616033214464},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-22 02:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862311680001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:44:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 02:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278305733227839488,"km_value":278305733227839.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874061616033214464,"description":"Unknown IO ID 45"} 
[2026-04-22 02:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862311680001,"power":27321,"unknown_96":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8874061616033214464}} 
[2026-04-22 02:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":50114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:44:33] local.INFO: GPS data processed {"connection_id":50114,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:44:33] local.INFO: Acknowledgment sent {"connection_id":50114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:44:37] local.INFO: TCP Data received {"connection_id":50114,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e2e028012d7b314005e24fe8000600b021..."} 
[2026-04-22 02:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e2e028012d7b314005e24fe8000600b021..."} 
[2026-04-22 02:44:37] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e2e028012d7b314005e24fe8000600b021..."} 
[2026-04-22 02:44:37] local.INFO: Packet analysis {"connection_id":50114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:44:37] local.INFO: Extracted packet for processing {"connection_id":50114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e2"} 
[2026-04-22 02:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763048256,"raw_latitude":98717672,"longitude_deg":76.3048256,"latitude_deg":9.8717672,"altitude":6,"angle":176,"satellites":33,"speed":25,"hex_longitude":"2d7b3140","hex_latitude":"05e24fe8","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862314240001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278306175609470976,"note":"Value kept but may cause issues"} 
[2026-04-22 02:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875398622170263552,"note":"Value kept but may cause issues"} 
[2026-04-22 02:44:37] 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-22 02:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776805929000,"timestamp_ms":1776805929000,"timestamp_seconds":1776805929,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e2e028"} 
[2026-04-22 02: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-22 02:44: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-22 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:44:37] 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-22 02:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862314240001,"66":27213,"96":206,"85":15104,"24":25,"16":278306175609470976,"45":8875398622170263552},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-22 02:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862314240001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:44:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 02:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278306175609470976,"km_value":278306175609470.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875398622170263552,"description":"Unknown IO ID 45"} 
[2026-04-22 02:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862314240001,"power":27213,"unknown_96":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8875398622170263552}} 
[2026-04-22 02:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":50114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:44:37] local.INFO: GPS data processed {"connection_id":50114,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:44:37] local.INFO: Acknowledgment sent {"connection_id":50114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:45:09] local.INFO: TCP Data received {"connection_id":50114,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e30b20012d7b348005e22bb8000a00ab26..."} 
[2026-04-22 02:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e30b20012d7b348005e22bb8000a00ab26..."} 
[2026-04-22 02:45:09] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e30b20012d7b348005e22bb8000a00ab26..."} 
[2026-04-22 02:45:09] local.INFO: Packet analysis {"connection_id":50114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e3"} 
[2026-04-22 02:45:09] local.INFO: Extracted packet for processing {"connection_id":50114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e3"} 
[2026-04-22 02:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763049088,"raw_latitude":98708408,"longitude_deg":76.3049088,"latitude_deg":9.8708408,"altitude":10,"angle":171,"satellites":38,"speed":37,"hex_longitude":"2d7b3480","hex_latitude":"05e22bb8","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862317824001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278306626581037056,"note":"Value kept but may cause issues"} 
[2026-04-22 02:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876946734539859968,"note":"Value kept but may cause issues"} 
[2026-04-22 02:45:09] 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-22 02:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776805940000,"timestamp_ms":1776805940000,"timestamp_seconds":1776805940,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e30b20"} 
[2026-04-22 02: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-22 02:45: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-22 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 02:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862317824001,"66":27245,"96":206,"85":15104,"24":37,"16":278306626581037056,"45":8876946734539859968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-22 02:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862317824001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:45:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 02:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278306626581037056,"km_value":278306626581037.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876946734539859968,"description":"Unknown IO ID 45"} 
[2026-04-22 02:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862317824001,"power":27245,"unknown_96":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8876946734539859968}} 
[2026-04-22 02:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":50114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:45:09] local.INFO: GPS data processed {"connection_id":50114,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:45:09] local.INFO: Acknowledgment sent {"connection_id":50114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:45:27] local.INFO: TCP Data received {"connection_id":50252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:45:27] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:45:27] local.INFO: IMEI packet received {"connection_id":50252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:45:27] local.INFO: TCP Data received {"connection_id":50252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:45:27] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:45:27] local.INFO: IMEI packet received {"connection_id":50252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:45:32] local.INFO: TCP Data received {"connection_id":50252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:45:32] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:45:32] local.INFO: IMEI packet received {"connection_id":50252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":50252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:45:33] local.INFO: TCP Data received {"connection_id":50252,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e4e7b0012d7b6a8005e0a0c8000400ac22..."} 
[2026-04-22 02:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e4e7b0012d7b6a8005e0a0c8000400ac22..."} 
[2026-04-22 02:45:33] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e4e7b0012d7b6a8005e0a0c8000400ac22..."} 
[2026-04-22 02:45:33] local.INFO: Packet analysis {"connection_id":50252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e4"} 
[2026-04-22 02:45:33] local.INFO: Extracted packet for processing {"connection_id":50252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e4"} 
[2026-04-22 02:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763062912,"raw_latitude":98607304,"longitude_deg":76.3062912,"latitude_deg":9.8607304,"altitude":4,"angle":172,"satellites":34,"speed":44,"hex_longitude":"2d7b6a80","hex_latitude":"05e0a0c8","is_valid_coordinates":true} 
[2026-04-22 02:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862349824001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278311578678329344,"note":"Value kept but may cause issues"} 
[2026-04-22 02:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891442695814545408,"note":"Value kept but may cause issues"} 
[2026-04-22 02:45:33] 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-22 02:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776806062000,"timestamp_ms":1776806062000,"timestamp_seconds":1776806062,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e4e7b0"} 
[2026-04-22 02:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-22 02:45: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-22 02:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862349824001,"66":27365,"35":206,"85":15104,"24":44,"16":278311578678329344,"45":8891442695814545408},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 02:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862349824001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:45:33] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 02:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278311578678329344,"km_value":278311578678329.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891442695814545408,"description":"Unknown IO ID 45"} 
[2026-04-22 02:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862349824001,"power":27365,"unknown_35":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8891442695814545408}} 
[2026-04-22 02:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":50252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:45:33] local.INFO: GPS data processed {"connection_id":50252,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:45:33] local.INFO: Acknowledgment sent {"connection_id":50252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:46:04] local.INFO: TCP Data received {"connection_id":50252,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e506f0012d7b708005e07a08000500ab1e..."} 
[2026-04-22 02:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e506f0012d7b708005e07a08000500ab1e..."} 
[2026-04-22 02:46:04] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e506f0012d7b708005e07a08000500ab1e..."} 
[2026-04-22 02:46:04] local.INFO: Packet analysis {"connection_id":50252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:46:04] local.INFO: Extracted packet for processing {"connection_id":50252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763064448,"raw_latitude":98597384,"longitude_deg":76.3064448,"latitude_deg":9.8597384,"altitude":5,"angle":171,"satellites":30,"speed":52,"hex_longitude":"2d7b7080","hex_latitude":"05e07a08","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862351872001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278312064009633792,"note":"Value kept but may cause issues"} 
[2026-04-22 02:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893061176928290816,"note":"Value kept but may cause issues"} 
[2026-04-22 02:46:04] 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-22 02:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776806070000,"timestamp_ms":1776806070000,"timestamp_seconds":1776806070,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e506f0"} 
[2026-04-22 02: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-22 02:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:46: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-22 02: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-22 02: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-22 02:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862351872001,"66":27082,"35":206,"85":15104,"24":52,"16":278312064009633792,"45":8893061176928290816},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 02:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862351872001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:46:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 02:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278312064009633792,"km_value":278312064009633.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893061176928290816,"description":"Unknown IO ID 45"} 
[2026-04-22 02:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862351872001,"power":27082,"unknown_35":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8893061176928290816}} 
[2026-04-22 02:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":50252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:46:04] local.INFO: GPS data processed {"connection_id":50252,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:46:04] local.INFO: Acknowledgment sent {"connection_id":50252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:46:27] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:46:28] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:46:28] local.INFO: IMEI packet received {"connection_id":50763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":50763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:46:31] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:46:31] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:46:31] local.INFO: IMEI packet received {"connection_id":50763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":50763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:46:32] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e52a18012d7b754005e05448000500af1e..."} 
[2026-04-22 02:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e52a18012d7b754005e05448000500af1e..."} 
[2026-04-22 02:46:32] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e52a18012d7b754005e05448000500af1e..."} 
[2026-04-22 02:46:32] local.INFO: Packet analysis {"connection_id":50763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:46:32] local.INFO: Extracted packet for processing {"connection_id":50763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":98587720,"longitude_deg":76.3065664,"latitude_deg":9.858772,"altitude":5,"angle":175,"satellites":30,"speed":39,"hex_longitude":"2d7b7540","hex_latitude":"05e05448","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862353920001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278312536456036352,"note":"Value kept but may cause issues"} 
[2026-04-22 02:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894750026786015232,"note":"Value kept but may cause issues"} 
[2026-04-22 02:46:32] 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-22 02:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776806079000,"timestamp_ms":1776806079000,"timestamp_seconds":1776806079,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e52a18"} 
[2026-04-22 02: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-22 02:46: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-22 02:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-22 02:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:46:32] 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-22 02:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862353920001,"66":27267,"36":206,"85":15104,"24":39,"16":278312536456036352,"45":8894750026786015232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 02:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862353920001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:46:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 02:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278312536456036352,"km_value":278312536456036.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894750026786015232,"description":"Unknown IO ID 45"} 
[2026-04-22 02:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862353920001,"power":27267,"unknown_36":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8894750026786015232}} 
[2026-04-22 02:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":50763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:46:32] local.INFO: GPS data processed {"connection_id":50763,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:46:32] local.INFO: Acknowledgment sent {"connection_id":50763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:47:03] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e54d40012d7b790005e030c0000400aa23..."} 
[2026-04-22 02:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e54d40012d7b790005e030c0000400aa23..."} 
[2026-04-22 02:47:03] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e54d40012d7b790005e030c0000400aa23..."} 
[2026-04-22 02:47:03] local.INFO: Packet analysis {"connection_id":50763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:47:03] local.INFO: Extracted packet for processing {"connection_id":50763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763066624,"raw_latitude":98578624,"longitude_deg":76.3066624,"latitude_deg":9.8578624,"altitude":4,"angle":170,"satellites":35,"speed":39,"hex_longitude":"2d7b7900","hex_latitude":"05e030c0","is_valid_coordinates":true} 
[2026-04-22 02:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862356224001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278312983132635136,"note":"Value kept but may cause issues"} 
[2026-04-22 02:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896087032922916864,"note":"Value kept but may cause issues"} 
[2026-04-22 02:47:03] 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-22 02:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776806088000,"timestamp_ms":1776806088000,"timestamp_seconds":1776806088,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e54d40"} 
[2026-04-22 02:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:47: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-22 02:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 02:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:47: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-22 02:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862356224001,"66":27267,"36":206,"85":15104,"24":39,"16":278312983132635136,"45":8896087032922916864},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 02:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862356224001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:47:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 02:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278312983132635136,"km_value":278312983132635.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896087032922916864,"description":"Unknown IO ID 45"} 
[2026-04-22 02:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862356224001,"power":27267,"unknown_36":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8896087032922916864}} 
[2026-04-22 02:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":50763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:47:03] local.INFO: GPS data processed {"connection_id":50763,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:47:03] local.INFO: Acknowledgment sent {"connection_id":50763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:47:27] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:47:27] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:47:27] local.INFO: IMEI packet received {"connection_id":50253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:47:31] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:47:31] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:47:31] local.INFO: IMEI packet received {"connection_id":50253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":50253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:47:32] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:47:32] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:47:32] local.INFO: IMEI packet received {"connection_id":50253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:47:33] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e57068012d7b7d8005e00b28000500ac23..."} 
[2026-04-22 02:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e57068012d7b7d8005e00b28000500ac23..."} 
[2026-04-22 02:47:33] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e57068012d7b7d8005e00b28000500ac23..."} 
[2026-04-22 02:47:33] local.INFO: Packet analysis {"connection_id":50253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:47:33] local.INFO: Extracted packet for processing {"connection_id":50253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763067776,"raw_latitude":98569000,"longitude_deg":76.3067776,"latitude_deg":9.8569,"altitude":5,"angle":172,"satellites":35,"speed":43,"hex_longitude":"2d7b7d80","hex_latitude":"05e00b28","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862358528001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278313451284070400,"note":"Value kept but may cause issues"} 
[2026-04-22 02:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897142564083253248,"note":"Value kept but may cause issues"} 
[2026-04-22 02:47:33] 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-22 02:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776806097000,"timestamp_ms":1776806097000,"timestamp_seconds":1776806097,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e57068"} 
[2026-04-22 02: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-22 02:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 02:47: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-22 02: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-22 02: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-22 02:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862358528001,"66":27321,"36":206,"85":15104,"24":43,"16":278313451284070400,"45":8897142564083253248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 02:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862358528001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:47:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 02:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278313451284070400,"km_value":278313451284070.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897142564083253248,"description":"Unknown IO ID 45"} 
[2026-04-22 02:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862358528001,"power":27321,"unknown_36":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8897142564083253248}} 
[2026-04-22 02:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:47:33] local.INFO: GPS data processed {"connection_id":50253,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:47:33] local.INFO: Acknowledgment sent {"connection_id":50253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:47:38] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e59b60012d7b830005dfe658000400a926..."} 
[2026-04-22 02:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e59b60012d7b830005dfe658000400a926..."} 
[2026-04-22 02:47:38] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e59b60012d7b830005dfe658000400a926..."} 
[2026-04-22 02:47:38] local.INFO: Packet analysis {"connection_id":50253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:47:38] local.INFO: Extracted packet for processing {"connection_id":50253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":98559576,"longitude_deg":76.3069184,"latitude_deg":9.8559576,"altitude":4,"angle":169,"satellites":38,"speed":33,"hex_longitude":"2d7b8300","hex_latitude":"05dfe658","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862360832001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278313915140538368,"note":"Value kept but may cause issues"} 
[2026-04-22 02:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898409201475987456,"note":"Value kept but may cause issues"} 
[2026-04-22 02:47:38] 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-22 02:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776806108000,"timestamp_ms":1776806108000,"timestamp_seconds":1776806108,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e59b60"} 
[2026-04-22 02: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-22 02:47: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-22 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:47: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-22 02: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-22 02: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-22 02:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862360832001,"66":27365,"36":206,"85":15104,"24":33,"16":278313915140538368,"45":8898409201475987456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 02:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862360832001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:47:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 02:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278313915140538368,"km_value":278313915140538.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898409201475987456,"description":"Unknown IO ID 45"} 
[2026-04-22 02:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862360832001,"power":27365,"unknown_36":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8898409201475987456}} 
[2026-04-22 02:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":50253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:47:38] local.INFO: GPS data processed {"connection_id":50253,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:47:38] local.INFO: Acknowledgment sent {"connection_id":50253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:48:09] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e5ce28012d7b870005dfc348000400af22..."} 
[2026-04-22 02:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e5ce28012d7b870005dfc348000400af22..."} 
[2026-04-22 02:48:09] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e5ce28012d7b870005dfc348000400af22..."} 
[2026-04-22 02:48:09] local.INFO: Packet analysis {"connection_id":50253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:48:09] local.INFO: Extracted packet for processing {"connection_id":50253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e5"} 
[2026-04-22 02:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":98550600,"longitude_deg":76.3070208,"latitude_deg":9.85506,"altitude":4,"angle":175,"satellites":34,"speed":35,"hex_longitude":"2d7b8700","hex_latitude":"05dfc348","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862363648001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278314353227202560,"note":"Value kept but may cause issues"} 
[2026-04-22 02:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957313845483520,"note":"Value kept but may cause issues"} 
[2026-04-22 02:48:09] 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-22 02:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776806121000,"timestamp_ms":1776806121000,"timestamp_seconds":1776806121,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e5ce28"} 
[2026-04-22 02: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-22 02:48: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-22 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 02:48: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-22 02: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-22 02: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-22 02:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862363648001,"66":27213,"36":206,"85":15104,"24":35,"16":278314353227202560,"45":8899957313845483520},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 02:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862363648001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:48:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 02:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278314353227202560,"km_value":278314353227202.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957313845483520,"description":"Unknown IO ID 45"} 
[2026-04-22 02:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862363648001,"power":27213,"unknown_36":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8899957313845483520}} 
[2026-04-22 02:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":50253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:48:09] local.INFO: GPS data processed {"connection_id":50253,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:48:09] local.INFO: Acknowledgment sent {"connection_id":50253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:48:17] local.INFO: TCP Data received {"connection_id":49873,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:48:17] local.INFO: Processing buffer {"connection_id":49873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:48:17] local.INFO: IMEI packet received {"connection_id":49873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":49873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:48:27] local.INFO: TCP Data received {"connection_id":50254,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:48:27] local.INFO: Processing buffer {"connection_id":50254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:48:27] local.INFO: IMEI packet received {"connection_id":50254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":50254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:48:28] local.INFO: TCP Data received {"connection_id":50254,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:48:28] local.INFO: Processing buffer {"connection_id":50254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:48:28] local.INFO: IMEI packet received {"connection_id":50254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":50254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:48:32] local.INFO: TCP Data received {"connection_id":50254,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:48:32] local.INFO: Processing buffer {"connection_id":50254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:48:32] local.INFO: IMEI packet received {"connection_id":50254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:48:33] local.INFO: TCP Data received {"connection_id":50254,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e7be40012d7bb10005de35f0000000a823..."} 
[2026-04-22 02:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e7be40012d7bb10005de35f0000000a823..."} 
[2026-04-22 02:48:33] local.INFO: Processing buffer {"connection_id":50254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e7be40012d7bb10005de35f0000000a823..."} 
[2026-04-22 02:48:33] local.INFO: Packet analysis {"connection_id":50254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e7"} 
[2026-04-22 02:48:33] local.INFO: Extracted packet for processing {"connection_id":50254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e7"} 
[2026-04-22 02:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763080960,"raw_latitude":98448880,"longitude_deg":76.308096,"latitude_deg":9.844888,"altitude":0,"angle":168,"satellites":35,"speed":42,"hex_longitude":"2d7bb100","hex_latitude":"05de35f0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862397184001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278319318209396736,"note":"Value kept but may cause issues"} 
[2026-04-22 02:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911005206655492096,"note":"Value kept but may cause issues"} 
[2026-04-22 02:48:33] 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-22 02:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776806248000,"timestamp_ms":1776806248000,"timestamp_seconds":1776806248,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e7be40"} 
[2026-04-22 02: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-22 02: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-22 02: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":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:48:33] 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-22 02: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-22 02: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-22 02:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862397184001,"66":27343,"50":206,"85":15104,"24":42,"16":278319318209396736,"45":8911005206655492096},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 02:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862397184001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:48:33] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 02:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278319318209396736,"km_value":278319318209396.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911005206655492096,"description":"Unknown IO ID 45"} 
[2026-04-22 02:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862397184001,"power":27343,"unknown_50":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8911005206655492096}} 
[2026-04-22 02:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":50254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:48:33] local.INFO: GPS data processed {"connection_id":50254,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:48:33] local.INFO: Acknowledgment sent {"connection_id":50254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:48:52] local.INFO: TCP Data received {"connection_id":50255,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:48:52] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:48:52] local.INFO: IMEI packet received {"connection_id":50255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":50255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:48:57] local.INFO: TCP Data received {"connection_id":50255,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:48:57] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:48:57] local.INFO: IMEI packet received {"connection_id":50255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 02:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":50255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:48:58] local.INFO: TCP Data received {"connection_id":50255,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db1c06fc0012cb29a4007822ea8004300002b..."} 
[2026-04-22 02:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1c06fc0012cb29a4007822ea8004300002b..."} 
[2026-04-22 02:48:58] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1c06fc0012cb29a4007822ea8004300002b..."} 
[2026-04-22 02:48:58] local.INFO: Packet analysis {"connection_id":50255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1c0"} 
[2026-04-22 02:48:58] local.INFO: Extracted packet for processing {"connection_id":50255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1c0"} 
[2026-04-22 02:48:58] local.INFO: GPS Element Parsed {"raw_longitude":749902400,"raw_latitude":125972136,"longitude_deg":74.99024,"latitude_deg":12.5972136,"altitude":67,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2cb29a40","hex_latitude":"07822ea8","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454861662976001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-22 02:48:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577074787551893504,"note":"Value kept but may cause issues"} 
[2026-04-22 02:48:58] local.INFO: IO Element Parsed {"io_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-22 02:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776803672000,"timestamp_ms":1776803672000,"timestamp_seconds":1776803672,"priority":1,"record_length":96,"hex_timestamp":"0000019db1c06fc0"} 
[2026-04-22 02: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-22 02:48:58] 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-22 02: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-22 02:48:58] 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-22 02: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-22 02: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-22 02:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":50255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":50255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 02:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":50255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 02:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-22 02:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-22 02:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454861662976001,"66":25245,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5577074787551893504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-22 02:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-22 02:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-22 02:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454861662976001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:48:58] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-22 02:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-22 02:48:58] 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-22 02:48:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577074787551893504,"description":"Unknown IO ID 44"} 
[2026-04-22 02:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454861662976001,"power":25245,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577074787551893504}} 
[2026-04-22 02:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":50255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:48:58] local.INFO: GPS data processed {"connection_id":50255,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:48:58] local.INFO: Acknowledgment sent {"connection_id":50255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:49:03] local.INFO: TCP Data received {"connection_id":50254,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e7e168012d7bb84005de11f0000000a820..."} 
[2026-04-22 02:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e7e168012d7bb84005de11f0000000a820..."} 
[2026-04-22 02:49:03] local.INFO: Processing buffer {"connection_id":50254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e7e168012d7bb84005de11f0000000a820..."} 
[2026-04-22 02:49:03] local.INFO: Packet analysis {"connection_id":50254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e7"} 
[2026-04-22 02:49:03] local.INFO: Extracted packet for processing {"connection_id":50254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e7"} 
[2026-04-22 02:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763082816,"raw_latitude":98439664,"longitude_deg":76.3082816,"latitude_deg":9.8439664,"altitude":0,"angle":168,"satellites":32,"speed":34,"hex_longitude":"2d7bb840","hex_latitude":"05de11f0","is_valid_coordinates":true} 
[2026-04-22 02:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862399488001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278319773475930112,"note":"Value kept but may cause issues"} 
[2026-04-22 02:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912905162745835520,"note":"Value kept but may cause issues"} 
[2026-04-22 02:49:03] 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-22 02:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776806257000,"timestamp_ms":1776806257000,"timestamp_seconds":1776806257,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e7e168"} 
[2026-04-22 02:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:49: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-22 02:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:49: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-22 02:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:49: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-22 02:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862399488001,"66":27343,"50":206,"85":15104,"24":34,"16":278319773475930112,"45":8912905162745835520},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 02:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862399488001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:49:03] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 02:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278319773475930112,"km_value":278319773475930.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912905162745835520,"description":"Unknown IO ID 45"} 
[2026-04-22 02:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862399488001,"power":27343,"unknown_50":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8912905162745835520}} 
[2026-04-22 02:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":50254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:49:03] local.INFO: GPS data processed {"connection_id":50254,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:49:03] local.INFO: Acknowledgment sent {"connection_id":50254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:49:27] local.INFO: TCP Data received {"connection_id":49874,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:49:27] local.INFO: Processing buffer {"connection_id":49874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:49:27] local.INFO: IMEI packet received {"connection_id":49874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":49874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:49:31] local.INFO: TCP Data received {"connection_id":49874,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:49:31] local.INFO: Processing buffer {"connection_id":49874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:49:31] local.INFO: IMEI packet received {"connection_id":49874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":49874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:49:32] local.INFO: TCP Data received {"connection_id":49874,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:49:32] local.INFO: Processing buffer {"connection_id":49874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:49:32] local.INFO: IMEI packet received {"connection_id":49874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":49874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:49:33] local.INFO: TCP Data received {"connection_id":49874,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e81430012d7bc08005ddeff0000000a51d..."} 
[2026-04-22 02:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e81430012d7bc08005ddeff0000000a51d..."} 
[2026-04-22 02:49:33] local.INFO: Processing buffer {"connection_id":49874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e81430012d7bc08005ddeff0000000a51d..."} 
[2026-04-22 02:49:33] local.INFO: Packet analysis {"connection_id":49874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:49:33] local.INFO: Extracted packet for processing {"connection_id":49874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763084928,"raw_latitude":98430960,"longitude_deg":76.3084928,"latitude_deg":9.843096,"altitude":0,"angle":165,"satellites":29,"speed":33,"hex_longitude":"2d7bc080","hex_latitude":"05ddeff0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862401792001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278320211562594304,"note":"Value kept but may cause issues"} 
[2026-04-22 02:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914945856324628480,"note":"Value kept but may cause issues"} 
[2026-04-22 02:49:33] 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-22 02:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776806270000,"timestamp_ms":1776806270000,"timestamp_seconds":1776806270,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e81430"} 
[2026-04-22 02: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-22 02:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:49:33] 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-22 02: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-22 02: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-22 02:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862401792001,"66":27234,"169":206,"85":15104,"24":33,"16":278320211562594304,"45":8914945856324628480},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 02:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862401792001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:49:33] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 02:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278320211562594304,"km_value":278320211562594.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914945856324628480,"description":"Unknown IO ID 45"} 
[2026-04-22 02:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862401792001,"power":27234,"unknown_169":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8914945856324628480}} 
[2026-04-22 02:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":49874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:49:33] local.INFO: GPS data processed {"connection_id":49874,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:49:33] local.INFO: Acknowledgment sent {"connection_id":49874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:49:42] local.INFO: TCP Data received {"connection_id":50256,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:49:42] local.INFO: Processing buffer {"connection_id":50256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:49:42] local.INFO: IMEI packet received {"connection_id":50256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":50256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:50:04] local.INFO: TCP Data received {"connection_id":49874,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e83f28012d7bc80005ddcc60000300a922..."} 
[2026-04-22 02:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e83f28012d7bc80005ddcc60000300a922..."} 
[2026-04-22 02:50:04] local.INFO: Processing buffer {"connection_id":49874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e83f28012d7bc80005ddcc60000300a922..."} 
[2026-04-22 02:50:04] local.INFO: Packet analysis {"connection_id":49874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:50:04] local.INFO: Extracted packet for processing {"connection_id":49874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763086848,"raw_latitude":98421856,"longitude_deg":76.3086848,"latitude_deg":9.8421856,"altitude":3,"angle":169,"satellites":34,"speed":34,"hex_longitude":"2d7bc800","hex_latitude":"05ddcc60","is_valid_coordinates":true} 
[2026-04-22 02:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862405120001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278320662534160384,"note":"Value kept but may cause issues"} 
[2026-04-22 02:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917268024880263168,"note":"Value kept but may cause issues"} 
[2026-04-22 02:50:04] 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-22 02:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776806281000,"timestamp_ms":1776806281000,"timestamp_seconds":1776806281,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e83f28"} 
[2026-04-22 02:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 02:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862405120001,"66":27180,"169":206,"85":15104,"24":34,"16":278320662534160384,"45":8917268024880263168},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 02:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862405120001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:50:04] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 02:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278320662534160384,"km_value":278320662534160.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917268024880263168,"description":"Unknown IO ID 45"} 
[2026-04-22 02:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862405120001,"power":27180,"unknown_169":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8917268024880263168}} 
[2026-04-22 02:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":49874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:50:04] local.INFO: GPS data processed {"connection_id":49874,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:50:04] local.INFO: Acknowledgment sent {"connection_id":49874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:50:32] local.INFO: TCP Data received {"connection_id":50257,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:50:32] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:50:32] local.INFO: IMEI packet received {"connection_id":50257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":50257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:50:37] local.INFO: TCP Data received {"connection_id":50257,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:50:37] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:50:37] local.INFO: IMEI packet received {"connection_id":50257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":50257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:50:38] local.INFO: TCP Data received {"connection_id":50257,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e86a20012d7bce8005dda7a0000400ac22..."} 
[2026-04-22 02:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e86a20012d7bce8005dda7a0000400ac22..."} 
[2026-04-22 02:50:38] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e86a20012d7bce8005dda7a0000400ac22..."} 
[2026-04-22 02:50:38] local.INFO: Packet analysis {"connection_id":50257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:50:38] local.INFO: Extracted packet for processing {"connection_id":50257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763088512,"raw_latitude":98412448,"longitude_deg":76.3088512,"latitude_deg":9.8412448,"altitude":4,"angle":172,"satellites":34,"speed":33,"hex_longitude":"2d7bce80","hex_latitude":"05dda7a0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862407936001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278321122095661056,"note":"Value kept but may cause issues"} 
[2026-04-22 02:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919379087203262464,"note":"Value kept but may cause issues"} 
[2026-04-22 02:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776806292000,"timestamp_ms":1776806292000,"timestamp_seconds":1776806292,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e86a20"} 
[2026-04-22 02: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-22 02: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-22 02: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":44,"data_length":795,"current_offset":136} 
[2026-04-22 02:50:38] 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-22 02: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-22 02: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-22 02:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862407936001,"66":27397,"169":206,"85":15104,"24":33,"16":278321122095661056,"45":8919379087203262464},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 02:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862407936001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:50:38] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 02:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278321122095661056,"km_value":278321122095661.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919379087203262464,"description":"Unknown IO ID 45"} 
[2026-04-22 02:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862407936001,"power":27397,"unknown_169":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8919379087203262464}} 
[2026-04-22 02:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":50257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:50:38] local.INFO: GPS data processed {"connection_id":50257,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:50:38] local.INFO: Acknowledgment sent {"connection_id":50257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:50:39] local.INFO: TCP Data received {"connection_id":50257,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e89900012d7bd4c005dd83d0000400ac1e..."} 
[2026-04-22 02:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e89900012d7bd4c005dd83d0000400ac1e..."} 
[2026-04-22 02:50:39] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e89900012d7bd4c005dd83d0000400ac1e..."} 
[2026-04-22 02:50:39] local.INFO: Packet analysis {"connection_id":50257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:50:39] local.INFO: Extracted packet for processing {"connection_id":50257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763090112,"raw_latitude":98403280,"longitude_deg":76.3090112,"latitude_deg":9.840328,"altitude":4,"angle":172,"satellites":30,"speed":33,"hex_longitude":"2d7bd4c0","hex_latitude":"05dd83d0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862410752001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278321577362194432,"note":"Value kept but may cause issues"} 
[2026-04-22 02:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921208674549473280,"note":"Value kept but may cause issues"} 
[2026-04-22 02:50:39] 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-22 02:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776806304000,"timestamp_ms":1776806304000,"timestamp_seconds":1776806304,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e89900"} 
[2026-04-22 02: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-22 02:50: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-22 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 02:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02: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-22 02: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-22 02:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862410752001,"66":27321,"169":206,"85":15104,"24":33,"16":278321577362194432,"45":8921208674549473280},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 02:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862410752001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:50:39] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 02:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278321577362194432,"km_value":278321577362194.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921208674549473280,"description":"Unknown IO ID 45"} 
[2026-04-22 02:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862410752001,"power":27321,"unknown_169":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8921208674549473280}} 
[2026-04-22 02:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":50257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:50:39] local.INFO: GPS data processed {"connection_id":50257,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:50:39] local.INFO: Acknowledgment sent {"connection_id":50257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:51:10] local.INFO: TCP Data received {"connection_id":50257,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1e8c010012d7bd98005dd6080000300a721..."} 
[2026-04-22 02:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1e8c010012d7bd98005dd6080000300a721..."} 
[2026-04-22 02:51:10] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1e8c010012d7bd98005dd6080000300a721..."} 
[2026-04-22 02:51:10] local.INFO: Packet analysis {"connection_id":50257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:51:10] local.INFO: Extracted packet for processing {"connection_id":50257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1e8"} 
[2026-04-22 02:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763091328,"raw_latitude":98394240,"longitude_deg":76.3091328,"latitude_deg":9.839424,"altitude":3,"angle":167,"satellites":33,"speed":37,"hex_longitude":"2d7bd980","hex_latitude":"05dd6080","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862413824001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278322019743825920,"note":"Value kept but may cause issues"} 
[2026-04-22 02:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922967893151567872,"note":"Value kept but may cause issues"} 
[2026-04-22 02:51:10] 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-22 02:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776806314000,"timestamp_ms":1776806314000,"timestamp_seconds":1776806314,"priority":1,"record_length":96,"hex_timestamp":"0000019db1e8c010"} 
[2026-04-22 02: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-22 02:51: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-22 02: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":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:51: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-22 02: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-22 02: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-22 02:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:51:10] 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-22 02:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862413824001,"66":27213,"169":206,"85":15104,"24":37,"16":278322019743825920,"45":8922967893151567872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 02:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862413824001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:51:10] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 02:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278322019743825920,"km_value":278322019743825.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922967893151567872,"description":"Unknown IO ID 45"} 
[2026-04-22 02:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862413824001,"power":27213,"unknown_169":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8922967893151567872}} 
[2026-04-22 02:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":50257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:51:10] local.INFO: GPS data processed {"connection_id":50257,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:51:10] local.INFO: Acknowledgment sent {"connection_id":50257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:51:24] local.INFO: TCP Data received {"connection_id":49876,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:51:24] local.INFO: Processing buffer {"connection_id":49876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:51:24] local.INFO: IMEI packet received {"connection_id":49876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":49876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:51:27] local.INFO: TCP Data received {"connection_id":49876,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:51:27] local.INFO: Processing buffer {"connection_id":49876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:51:27] local.INFO: IMEI packet received {"connection_id":49876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":49876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:51:32] local.INFO: TCP Data received {"connection_id":49876,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:51:32] local.INFO: Processing buffer {"connection_id":49876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:51:32] local.INFO: IMEI packet received {"connection_id":49876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":49876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:51:53] local.INFO: TCP Data received {"connection_id":49876,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ea7d60012d7bedc005dc0878000200b021..."} 
[2026-04-22 02:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ea7d60012d7bedc005dc0878000200b021..."} 
[2026-04-22 02:51:53] local.INFO: Processing buffer {"connection_id":49876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ea7d60012d7bedc005dc0878000200b021..."} 
[2026-04-22 02:51:53] local.INFO: Packet analysis {"connection_id":49876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ea"} 
[2026-04-22 02:51:53] local.INFO: Extracted packet for processing {"connection_id":49876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ea"} 
[2026-04-22 02:51:53] local.INFO: GPS Element Parsed {"raw_longitude":763096512,"raw_latitude":98306168,"longitude_deg":76.3096512,"latitude_deg":9.8306168,"altitude":2,"angle":176,"satellites":33,"speed":42,"hex_longitude":"2d7bedc0","hex_latitude":"05dc0878","is_valid_coordinates":true} 
[2026-04-22 02:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862443264001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278326301826220032,"note":"Value kept but may cause issues"} 
[2026-04-22 02:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186337615872,"note":"Value kept but may cause issues"} 
[2026-04-22 02:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776806428000,"timestamp_ms":1776806428000,"timestamp_seconds":1776806428,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ea7d60"} 
[2026-04-22 02:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 02:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":49876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":49876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":49876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862443264001,"66":27321,"185":206,"85":15104,"24":42,"16":278326301826220032,"45":8929512186337615872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-22 02:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862443264001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:51:53] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 02:51:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278326301826220032,"km_value":278326301826220.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186337615872,"description":"Unknown IO ID 45"} 
[2026-04-22 02:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862443264001,"power":27321,"unknown_185":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8929512186337615872}} 
[2026-04-22 02:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":49876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:51:53] local.INFO: GPS data processed {"connection_id":49876,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:51:53] local.INFO: Acknowledgment sent {"connection_id":49876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:52:27] local.INFO: TCP Data received {"connection_id":50118,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:52:27] local.INFO: Processing buffer {"connection_id":50118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:52:27] local.INFO: IMEI packet received {"connection_id":50118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":50118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:52:31] local.INFO: TCP Data received {"connection_id":50118,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:52:31] local.INFO: Processing buffer {"connection_id":50118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:52:31] local.INFO: IMEI packet received {"connection_id":50118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":50118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:52:31] local.INFO: TCP Data received {"connection_id":50118,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1eaa088012d7bf2c005dbe310000200aa1e..."} 
[2026-04-22 02:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1eaa088012d7bf2c005dbe310000200aa1e..."} 
[2026-04-22 02:52:31] local.INFO: Processing buffer {"connection_id":50118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1eaa088012d7bf2c005dbe310000200aa1e..."} 
[2026-04-22 02:52:31] local.INFO: Packet analysis {"connection_id":50118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ea"} 
[2026-04-22 02:52:31] local.INFO: Extracted packet for processing {"connection_id":50118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ea"} 
[2026-04-22 02:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763097792,"raw_latitude":98296592,"longitude_deg":76.3097792,"latitude_deg":9.8296592,"altitude":2,"angle":170,"satellites":30,"speed":44,"hex_longitude":"2d7bf2c0","hex_latitude":"05dbe310","is_valid_coordinates":true} 
[2026-04-22 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-22 02:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862445568001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278326769977655296,"note":"Value kept but may cause issues"} 
[2026-04-22 02:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930004767544473600,"note":"Value kept but may cause issues"} 
[2026-04-22 02:52:31] 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-22 02:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776806437000,"timestamp_ms":1776806437000,"timestamp_seconds":1776806437,"priority":1,"record_length":96,"hex_timestamp":"0000019db1eaa088"} 
[2026-04-22 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-22 02:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:52: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-22 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-22 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-22 02:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862445568001,"66":27245,"185":206,"85":15104,"24":44,"16":278326769977655296,"45":8930004767544473600},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-22 02:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862445568001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:52:31] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 02:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278326769977655296,"km_value":278326769977655.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930004767544473600,"description":"Unknown IO ID 45"} 
[2026-04-22 02:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862445568001,"power":27245,"unknown_185":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8930004767544473600}} 
[2026-04-22 02:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":50118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:52:31] local.INFO: GPS data processed {"connection_id":50118,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:52:31] local.INFO: Acknowledgment sent {"connection_id":50118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:53:02] local.INFO: TCP Data received {"connection_id":50118,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1eac3b0012d7bf90005dbbe90000200aa22..."} 
[2026-04-22 02:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1eac3b0012d7bf90005dbbe90000200aa22..."} 
[2026-04-22 02:53:02] local.INFO: Processing buffer {"connection_id":50118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1eac3b0012d7bf90005dbbe90000200aa22..."} 
[2026-04-22 02:53:02] local.INFO: Packet analysis {"connection_id":50118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ea"} 
[2026-04-22 02:53:02] local.INFO: Extracted packet for processing {"connection_id":50118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ea"} 
[2026-04-22 02:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763099392,"raw_latitude":98287248,"longitude_deg":76.3099392,"latitude_deg":9.8287248,"altitude":2,"angle":170,"satellites":34,"speed":42,"hex_longitude":"2d7bf900","hex_latitude":"05dbbe90","is_valid_coordinates":true} 
[2026-04-22 02:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862447872001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278327229539155968,"note":"Value kept but may cause issues"} 
[2026-04-22 02:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931412142425575424,"note":"Value kept but may cause issues"} 
[2026-04-22 02:53:02] 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-22 02:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776806446000,"timestamp_ms":1776806446000,"timestamp_seconds":1776806446,"priority":1,"record_length":96,"hex_timestamp":"0000019db1eac3b0"} 
[2026-04-22 02:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02: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-22 02:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 02:53: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-22 02:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862447872001,"66":27234,"185":206,"85":15104,"24":42,"16":278327229539155968,"45":8931412142425575424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-22 02:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862447872001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:53:02] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 02:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278327229539155968,"km_value":278327229539155.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931412142425575424,"description":"Unknown IO ID 45"} 
[2026-04-22 02:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862447872001,"power":27234,"unknown_185":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8931412142425575424}} 
[2026-04-22 02:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":50118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:53:02] local.INFO: GPS data processed {"connection_id":50118,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:53:02] local.INFO: Acknowledgment sent {"connection_id":50118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:53:27] local.INFO: TCP Data received {"connection_id":49877,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:53:27] local.INFO: Processing buffer {"connection_id":49877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:53:27] local.INFO: IMEI packet received {"connection_id":49877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":49877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:53:31] local.INFO: TCP Data received {"connection_id":49877,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:53:31] local.INFO: Processing buffer {"connection_id":49877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:53:31] local.INFO: IMEI packet received {"connection_id":49877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":49877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:53:31] local.INFO: TCP Data received {"connection_id":49877,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ec59f0012d7c67c005da3420000500a320..."} 
[2026-04-22 02:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ec59f0012d7c67c005da3420000500a320..."} 
[2026-04-22 02:53:31] local.INFO: Processing buffer {"connection_id":49877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ec59f0012d7c67c005da3420000500a320..."} 
[2026-04-22 02:53:31] local.INFO: Packet analysis {"connection_id":49877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:53:31] local.INFO: Extracted packet for processing {"connection_id":49877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763127744,"raw_latitude":98186272,"longitude_deg":76.3127744,"latitude_deg":9.8186272,"altitude":5,"angle":163,"satellites":32,"speed":36,"hex_longitude":"2d7c67c0","hex_latitude":"05da3420","is_valid_coordinates":true} 
[2026-04-22 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-22 02:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862474240001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278332319075401728,"note":"Value kept but may cause issues"} 
[2026-04-22 02:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960896646210146304,"note":"Value kept but may cause issues"} 
[2026-04-22 02:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776806550000,"timestamp_ms":1776806550000,"timestamp_seconds":1776806550,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ec59f0"} 
[2026-04-22 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-22 02: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-22 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":98,"data_length":795,"current_offset":136} 
[2026-04-22 02:53: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-22 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-22 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-22 02:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":49877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":49877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":49877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862474240001,"66":27321,"245":206,"85":15104,"24":36,"16":278332319075401728,"45":8960896646210146304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 02:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862474240001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278332319075401728,"km_value":278332319075401.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960896646210146304,"description":"Unknown IO ID 45"} 
[2026-04-22 02:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862474240001,"power":27321,"geofence_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8960896646210146304}} 
[2026-04-22 02:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":49877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:53:31] local.INFO: GPS data processed {"connection_id":49877,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:53:31] local.INFO: Acknowledgment sent {"connection_id":49877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:54:02] local.INFO: TCP Data received {"connection_id":49877,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ec84e8012d7c720005da0f50000300a222..."} 
[2026-04-22 02:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ec84e8012d7c720005da0f50000300a222..."} 
[2026-04-22 02:54:02] local.INFO: Processing buffer {"connection_id":49877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ec84e8012d7c720005da0f50000300a222..."} 
[2026-04-22 02:54:02] local.INFO: Packet analysis {"connection_id":49877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:54:02] local.INFO: Extracted packet for processing {"connection_id":49877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763130368,"raw_latitude":98176848,"longitude_deg":76.3130368,"latitude_deg":9.8176848,"altitude":3,"angle":162,"satellites":34,"speed":36,"hex_longitude":"2d7c7200","hex_latitude":"05da0f50","is_valid_coordinates":true} 
[2026-04-22 02:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862476800001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278332791521804288,"note":"Value kept but may cause issues"} 
[2026-04-22 02:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964344714672480256,"note":"Value kept but may cause issues"} 
[2026-04-22 02:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776806561000,"timestamp_ms":1776806561000,"timestamp_seconds":1776806561,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ec84e8"} 
[2026-04-22 02:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:54: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-22 02:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:54: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-22 02:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":49877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":49877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":49877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862476800001,"66":27300,"245":206,"85":15104,"24":36,"16":278332791521804288,"45":8964344714672480256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 02:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862476800001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278332791521804288,"km_value":278332791521804.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964344714672480256,"description":"Unknown IO ID 45"} 
[2026-04-22 02:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862476800001,"power":27300,"geofence_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8964344714672480256}} 
[2026-04-22 02:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":49877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:54:02] local.INFO: GPS data processed {"connection_id":49877,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:54:02] local.INFO: Acknowledgment sent {"connection_id":49877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:54:28] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:54:28] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:54:28] local.INFO: IMEI packet received {"connection_id":50765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":50765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:54:31] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:54:31] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:54:31] local.INFO: IMEI packet received {"connection_id":50765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:54:32] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ecafe0012d7c794005d9eaf0000100a91d..."} 
[2026-04-22 02:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ecafe0012d7c794005d9eaf0000100a91d..."} 
[2026-04-22 02:54:32] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ecafe0012d7c794005d9eaf0000100a91d..."} 
[2026-04-22 02:54:32] local.INFO: Packet analysis {"connection_id":50765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:54:32] local.INFO: Extracted packet for processing {"connection_id":50765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763132224,"raw_latitude":98167536,"longitude_deg":76.3132224,"latitude_deg":9.8167536,"altitude":1,"angle":169,"satellites":29,"speed":33,"hex_longitude":"2d7c7940","hex_latitude":"05d9eaf0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862479616001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278333255378272256,"note":"Value kept but may cause issues"} 
[2026-04-22 02:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967229833181351936,"note":"Value kept but may cause issues"} 
[2026-04-22 02:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776806572000,"timestamp_ms":1776806572000,"timestamp_seconds":1776806572,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ecafe0"} 
[2026-04-22 02: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-22 02: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-22 02: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":164,"data_length":795,"current_offset":136} 
[2026-04-22 02:54: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-22 02: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-22 02: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-22 02:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:54:32] 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-22 02:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862479616001,"66":27343,"245":206,"85":15104,"24":33,"16":278333255378272256,"45":8967229833181351936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 02:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862479616001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278333255378272256,"km_value":278333255378272.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967229833181351936,"description":"Unknown IO ID 45"} 
[2026-04-22 02:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862479616001,"power":27343,"geofence_id":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8967229833181351936}} 
[2026-04-22 02:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":50765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:54:32] local.INFO: GPS data processed {"connection_id":50765,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:54:32] local.INFO: Acknowledgment sent {"connection_id":50765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:55:04] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ecdad8012d7c7f4005d9c880000200a523..."} 
[2026-04-22 02:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ecdad8012d7c7f4005d9c880000200a523..."} 
[2026-04-22 02:55:04] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ecdad8012d7c7f4005d9c880000200a523..."} 
[2026-04-22 02:55:04] local.INFO: Packet analysis {"connection_id":50765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:55:04] local.INFO: Extracted packet for processing {"connection_id":50765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763133760,"raw_latitude":98158720,"longitude_deg":76.313376,"latitude_deg":9.815872,"altitude":2,"angle":165,"satellites":35,"speed":32,"hex_longitude":"2d7c7f40","hex_latitude":"05d9c880","is_valid_coordinates":true} 
[2026-04-22 02:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862482432001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278333689169969152,"note":"Value kept but may cause issues"} 
[2026-04-22 02:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969270526760120320,"note":"Value kept but may cause issues"} 
[2026-04-22 02:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776806583000,"timestamp_ms":1776806583000,"timestamp_seconds":1776806583,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ecdad8"} 
[2026-04-22 02:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:55:04] 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-22 02:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862482432001,"66":27343,"245":206,"85":15104,"24":32,"16":278333689169969152,"45":8969270526760120320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 02:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862482432001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278333689169969152,"km_value":278333689169969.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969270526760120320,"description":"Unknown IO ID 45"} 
[2026-04-22 02:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862482432001,"power":27343,"geofence_id":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8969270526760120320}} 
[2026-04-22 02:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":50765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:55:04] local.INFO: GPS data processed {"connection_id":50765,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:55:04] local.INFO: Acknowledgment sent {"connection_id":50765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:55:12] local.INFO: TCP Data received {"connection_id":50258,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:55:12] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:55:12] local.INFO: IMEI packet received {"connection_id":50258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":50258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:55:27] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:55:27] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:55:27] local.INFO: IMEI packet received {"connection_id":50259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":50259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:55:31] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:55:31] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:55:31] local.INFO: IMEI packet received {"connection_id":50259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":50259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:55:32] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:55:32] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:55:32] local.INFO: IMEI packet received {"connection_id":50259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:55:33] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ecf630012d7c81c005d9b2f8000200b022..."} 
[2026-04-22 02:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ecf630012d7c81c005d9b2f8000200b022..."} 
[2026-04-22 02:55:33] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ecf630012d7c81c005d9b2f8000200b022..."} 
[2026-04-22 02:55:33] local.INFO: Packet analysis {"connection_id":50259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:55:33] local.INFO: Extracted packet for processing {"connection_id":50259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ec"} 
[2026-04-22 02:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763134400,"raw_latitude":98153208,"longitude_deg":76.31344,"latitude_deg":9.8153208,"altitude":2,"angle":176,"satellites":34,"speed":33,"hex_longitude":"2d7c81c0","hex_latitude":"05d9b2f8","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862485248001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278333955457941504,"note":"Value kept but may cause issues"} 
[2026-04-22 02:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970959376618127360,"note":"Value kept but may cause issues"} 
[2026-04-22 02:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776806590000,"timestamp_ms":1776806590000,"timestamp_seconds":1776806590,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ecf630"} 
[2026-04-22 02: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-22 02:55: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-22 02:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:55:33] 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-22 02: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-22 02: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-22 02:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862485248001,"66":27234,"245":206,"85":15104,"24":33,"16":278333955457941504,"45":8970959376618127360},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 02:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862485248001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278333955457941504,"km_value":278333955457941.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970959376618127360,"description":"Unknown IO ID 45"} 
[2026-04-22 02:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862485248001,"power":27234,"geofence_id":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8970959376618127360}} 
[2026-04-22 02:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:55:33] local.INFO: GPS data processed {"connection_id":50259,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:55:33] local.INFO: Acknowledgment sent {"connection_id":50259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:55:52] local.INFO: TCP Data received {"connection_id":49878,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:55:52] local.INFO: Processing buffer {"connection_id":49878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 02:55:52] local.INFO: IMEI packet received {"connection_id":49878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 02:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":49878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:56:04] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1eeabb0012d7c9f4005d82320000700af26..."} 
[2026-04-22 02:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1eeabb0012d7c9f4005d82320000700af26..."} 
[2026-04-22 02:56:04] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1eeabb0012d7c9f4005d82320000700af26..."} 
[2026-04-22 02:56:04] local.INFO: Packet analysis {"connection_id":50259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ee"} 
[2026-04-22 02:56:04] local.INFO: Extracted packet for processing {"connection_id":50259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ee"} 
[2026-04-22 02:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763141952,"raw_latitude":98050848,"longitude_deg":76.3141952,"latitude_deg":9.8050848,"altitude":7,"angle":175,"satellites":38,"speed":38,"hex_longitude":"2d7c9f40","hex_latitude":"05d82320","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278338937620004864,"note":"Value kept but may cause issues"} 
[2026-04-22 02:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979614732126826496,"note":"Value kept but may cause issues"} 
[2026-04-22 02:56:04] 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-22 02:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776806702000,"timestamp_ms":1776806702000,"timestamp_seconds":1776806702,"priority":1,"record_length":96,"hex_timestamp":"0000019db1eeabb0"} 
[2026-04-22 02: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-22 02:56: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-22 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:56: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-22 02: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-22 02: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-22 02:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862513152001,"66":27332,"195":206,"85":15104,"24":38,"16":278338937620004864,"45":8979614732126826496},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-22 02:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:56:04] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-22 02:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278338937620004864,"km_value":278338937620004.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979614732126826496,"description":"Unknown IO ID 45"} 
[2026-04-22 02:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862513152001,"power":27332,"unknown_195":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8979614732126826496}} 
[2026-04-22 02:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":50259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:56:04] local.INFO: GPS data processed {"connection_id":50259,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:56:04] local.INFO: Acknowledgment sent {"connection_id":50259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:56:31] local.INFO: TCP Data received {"connection_id":50260,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:56:31] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:56:31] local.INFO: IMEI packet received {"connection_id":50260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":50260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:56:32] local.INFO: TCP Data received {"connection_id":50260,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:56:32] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:56:32] local.INFO: IMEI packet received {"connection_id":50260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:56:37] local.INFO: TCP Data received {"connection_id":50260,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:56:37] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:56:37] local.INFO: IMEI packet received {"connection_id":50260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":50260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:56:38] local.INFO: TCP Data received {"connection_id":50260,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1eed2c0012d7ca10005d7fd38000900b228..."} 
[2026-04-22 02:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1eed2c0012d7ca10005d7fd38000900b228..."} 
[2026-04-22 02:56:38] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1eed2c0012d7ca10005d7fd38000900b228..."} 
[2026-04-22 02:56:38] local.INFO: Packet analysis {"connection_id":50260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ee"} 
[2026-04-22 02:56:38] local.INFO: Extracted packet for processing {"connection_id":50260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ee"} 
[2026-04-22 02:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763142400,"raw_latitude":98041144,"longitude_deg":76.31424,"latitude_deg":9.8041144,"altitude":9,"angle":178,"satellites":40,"speed":37,"hex_longitude":"2d7ca100","hex_latitude":"05d7fd38","is_valid_coordinates":true} 
[2026-04-22 02:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862515712001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278339410066407424,"note":"Value kept but may cause issues"} 
[2026-04-22 02:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979966575845253120,"note":"Value kept but may cause issues"} 
[2026-04-22 02:56:38] 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-22 02:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776806712000,"timestamp_ms":1776806712000,"timestamp_seconds":1776806712,"priority":1,"record_length":96,"hex_timestamp":"0000019db1eed2c0"} 
[2026-04-22 02:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:56:38] 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-22 02:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862515712001,"66":27321,"195":206,"85":15104,"24":37,"16":278339410066407424,"45":8979966575845253120},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-22 02:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862515712001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:56:38] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-22 02:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278339410066407424,"km_value":278339410066407.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979966575845253120,"description":"Unknown IO ID 45"} 
[2026-04-22 02:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862515712001,"power":27321,"unknown_195":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8979966575845253120}} 
[2026-04-22 02:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":50260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:56:38] local.INFO: GPS data processed {"connection_id":50260,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:56:38] local.INFO: Acknowledgment sent {"connection_id":50260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:56:43] local.INFO: TCP Data received {"connection_id":50260,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1eefdb8012d7ca2c005d7da70000900ac26..."} 
[2026-04-22 02:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1eefdb8012d7ca2c005d7da70000900ac26..."} 
[2026-04-22 02:56:43] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1eefdb8012d7ca2c005d7da70000900ac26..."} 
[2026-04-22 02:56:43] local.INFO: Packet analysis {"connection_id":50260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ee"} 
[2026-04-22 02:56:43] local.INFO: Extracted packet for processing {"connection_id":50260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ee"} 
[2026-04-22 02:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763142848,"raw_latitude":98032240,"longitude_deg":76.3142848,"latitude_deg":9.803224,"altitude":9,"angle":172,"satellites":38,"speed":28,"hex_longitude":"2d7ca2c0","hex_latitude":"05d7da70","is_valid_coordinates":true} 
[2026-04-22 02:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862518272001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278339843858104320,"note":"Value kept but may cause issues"} 
[2026-04-22 02:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980459157052012544,"note":"Value kept but may cause issues"} 
[2026-04-22 02:56:43] 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-22 02:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776806723000,"timestamp_ms":1776806723000,"timestamp_seconds":1776806723,"priority":1,"record_length":96,"hex_timestamp":"0000019db1eefdb8"} 
[2026-04-22 02:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 02:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 02:56: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-22 02:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:56:43] 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-22 02:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862518272001,"66":27300,"195":206,"85":15104,"24":28,"16":278339843858104320,"45":8980459157052012544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-22 02:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862518272001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:56:43] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-22 02:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278339843858104320,"km_value":278339843858104.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980459157052012544,"description":"Unknown IO ID 45"} 
[2026-04-22 02:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862518272001,"power":27300,"unknown_195":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8980459157052012544}} 
[2026-04-22 02:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":50260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:56:43] local.INFO: GPS data processed {"connection_id":50260,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:56:43] local.INFO: Acknowledgment sent {"connection_id":50260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:57:23] local.INFO: TCP Data received {"connection_id":49879,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:57:23] local.INFO: Processing buffer {"connection_id":49879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:57:23] local.INFO: IMEI packet received {"connection_id":49879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":49879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:57:27] local.INFO: TCP Data received {"connection_id":49879,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:57:27] local.INFO: Processing buffer {"connection_id":49879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:57:27] local.INFO: IMEI packet received {"connection_id":49879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":49879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:57:32] local.INFO: TCP Data received {"connection_id":49879,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:57:32] local.INFO: Processing buffer {"connection_id":49879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:57:32] local.INFO: IMEI packet received {"connection_id":49879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":49879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:57:33] local.INFO: TCP Data received {"connection_id":49879,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ef3c38012d7ca74005d7b670000900ae27..."} 
[2026-04-22 02:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ef3c38012d7ca74005d7b670000900ae27..."} 
[2026-04-22 02:57:33] local.INFO: Processing buffer {"connection_id":49879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ef3c38012d7ca74005d7b670000900ae27..."} 
[2026-04-22 02:57:33] local.INFO: Packet analysis {"connection_id":49879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ef"} 
[2026-04-22 02:57:33] local.INFO: Extracted packet for processing {"connection_id":49879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ef"} 
[2026-04-22 02:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763144000,"raw_latitude":98023024,"longitude_deg":76.3144,"latitude_deg":9.8023024,"altitude":9,"angle":174,"satellites":39,"speed":22,"hex_longitude":"2d7ca740","hex_latitude":"05d7b670","is_valid_coordinates":true} 
[2026-04-22 02:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862521088001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278340294829670400,"note":"Value kept but may cause issues"} 
[2026-04-22 02:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980951738258976768,"note":"Value kept but may cause issues"} 
[2026-04-22 02:57:33] 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-22 02:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776806739000,"timestamp_ms":1776806739000,"timestamp_seconds":1776806739,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ef3c38"} 
[2026-04-22 02:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:57: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-22 02:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 02:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862521088001,"66":27300,"195":206,"85":15104,"24":22,"16":278340294829670400,"45":8980951738258976768},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-22 02:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862521088001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:57:33] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-22 02:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278340294829670400,"km_value":278340294829670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980951738258976768,"description":"Unknown IO ID 45"} 
[2026-04-22 02:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862521088001,"power":27300,"unknown_195":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8980951738258976768}} 
[2026-04-22 02:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":49879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:57:33] local.INFO: GPS data processed {"connection_id":49879,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:57:33] local.INFO: Acknowledgment sent {"connection_id":49879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:58:04] local.INFO: TCP Data received {"connection_id":49879,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ef72e8012d7cad0005d79220000900ad23..."} 
[2026-04-22 02:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ef72e8012d7cad0005d79220000900ad23..."} 
[2026-04-22 02:58:04] local.INFO: Processing buffer {"connection_id":49879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ef72e8012d7cad0005d79220000900ad23..."} 
[2026-04-22 02:58:04] local.INFO: Packet analysis {"connection_id":49879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ef"} 
[2026-04-22 02:58:04] local.INFO: Extracted packet for processing {"connection_id":49879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ef"} 
[2026-04-22 02:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763145472,"raw_latitude":98013728,"longitude_deg":76.3145472,"latitude_deg":9.8013728,"altitude":9,"angle":173,"satellites":35,"speed":24,"hex_longitude":"2d7cad00","hex_latitude":"05d79220","is_valid_coordinates":true} 
[2026-04-22 02:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862525184001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278340750096203776,"note":"Value kept but may cause issues"} 
[2026-04-22 02:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982218375651815424,"note":"Value kept but may cause issues"} 
[2026-04-22 02:58:04] 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-22 02:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776806753000,"timestamp_ms":1776806753000,"timestamp_seconds":1776806753,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ef72e8"} 
[2026-04-22 02:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:58: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-22 02:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 02:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 02:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862525184001,"66":27343,"195":206,"85":15104,"24":24,"16":278340750096203776,"45":8982218375651815424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-22 02:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862525184001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:58:04] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-22 02:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278340750096203776,"km_value":278340750096203.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982218375651815424,"description":"Unknown IO ID 45"} 
[2026-04-22 02:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862525184001,"power":27343,"unknown_195":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8982218375651815424}} 
[2026-04-22 02:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":49879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:58:04] local.INFO: GPS data processed {"connection_id":49879,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:58:04] local.INFO: Acknowledgment sent {"connection_id":49879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:58:27] local.INFO: TCP Data received {"connection_id":50767,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:58:27] local.INFO: Processing buffer {"connection_id":50767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:58:27] local.INFO: IMEI packet received {"connection_id":50767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:58:32] local.INFO: TCP Data received {"connection_id":50767,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:58:32] local.INFO: Processing buffer {"connection_id":50767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:58:32] local.INFO: IMEI packet received {"connection_id":50767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:58:33] local.INFO: TCP Data received {"connection_id":50767,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1efa5b0012d7cb20005d76df0000900a924..."} 
[2026-04-22 02:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1efa5b0012d7cb20005d76df0000900a924..."} 
[2026-04-22 02:58:33] local.INFO: Processing buffer {"connection_id":50767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1efa5b0012d7cb20005d76df0000900a924..."} 
[2026-04-22 02:58:33] local.INFO: Packet analysis {"connection_id":50767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ef"} 
[2026-04-22 02:58:33] local.INFO: Extracted packet for processing {"connection_id":50767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ef"} 
[2026-04-22 02:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763146752,"raw_latitude":98004464,"longitude_deg":76.3146752,"latitude_deg":9.8004464,"altitude":9,"angle":169,"satellites":36,"speed":38,"hex_longitude":"2d7cb200","hex_latitude":"05d76df0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862528768001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278341205362737152,"note":"Value kept but may cause issues"} 
[2026-04-22 02:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983836856765521920,"note":"Value kept but may cause issues"} 
[2026-04-22 02:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 02:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776806766000,"timestamp_ms":1776806766000,"timestamp_seconds":1776806766,"priority":1,"record_length":96,"hex_timestamp":"0000019db1efa5b0"} 
[2026-04-22 02: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-22 02:58: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-22 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 02:58:33] 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-22 02: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-22 02: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-22 02:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862528768001,"66":27267,"31":206,"85":15104,"24":38,"16":278341205362737152,"45":8983836856765521920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-04-22 02:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862528768001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:58:33] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-22 02:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278341205362737152,"km_value":278341205362737.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983836856765521920,"description":"Unknown IO ID 45"} 
[2026-04-22 02:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862528768001,"power":27267,"unknown_31":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8983836856765521920}} 
[2026-04-22 02:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:58:33] local.INFO: GPS data processed {"connection_id":50767,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:58:33] local.INFO: Acknowledgment sent {"connection_id":50767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:59:04] local.INFO: TCP Data received {"connection_id":50767,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1efc8d8012d7cbb4005d74a10000900a527..."} 
[2026-04-22 02:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1efc8d8012d7cbb4005d74a10000900a527..."} 
[2026-04-22 02:59:04] local.INFO: Processing buffer {"connection_id":50767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1efc8d8012d7cbb4005d74a10000900a527..."} 
[2026-04-22 02:59:04] local.INFO: Packet analysis {"connection_id":50767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ef"} 
[2026-04-22 02:59:04] local.INFO: Extracted packet for processing {"connection_id":50767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ef"} 
[2026-04-22 02:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763149120,"raw_latitude":97995280,"longitude_deg":76.314912,"latitude_deg":9.799528,"altitude":9,"angle":165,"satellites":39,"speed":44,"hex_longitude":"2d7cbb40","hex_latitude":"05d74a10","is_valid_coordinates":true} 
[2026-04-22 02:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 02:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862532096001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278341664924237824,"note":"Value kept but may cause issues"} 
[2026-04-22 02:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985244231646703616,"note":"Value kept but may cause issues"} 
[2026-04-22 02:59:04] 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-22 02:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776806775000,"timestamp_ms":1776806775000,"timestamp_seconds":1776806775,"priority":1,"record_length":96,"hex_timestamp":"0000019db1efc8d8"} 
[2026-04-22 02:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 02:59: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-22 02:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 02:59: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-22 02:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 02:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 02:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 02:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862532096001,"66":27245,"31":206,"85":15104,"24":44,"16":278341664924237824,"45":8985244231646703616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-04-22 02:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862532096001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:59:04] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-22 02:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278341664924237824,"km_value":278341664924237.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985244231646703616,"description":"Unknown IO ID 45"} 
[2026-04-22 02:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862532096001,"power":27245,"unknown_31":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8985244231646703616}} 
[2026-04-22 02:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":50767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:59:04] local.INFO: GPS data processed {"connection_id":50767,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:59:04] local.INFO: Acknowledgment sent {"connection_id":50767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 02:59:27] local.INFO: TCP Data received {"connection_id":49880,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:59:27] local.INFO: Processing buffer {"connection_id":49880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:59:27] local.INFO: IMEI packet received {"connection_id":49880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 02:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":49880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 02:59:31] local.INFO: TCP Data received {"connection_id":49880,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:59:31] local.INFO: Processing buffer {"connection_id":49880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 02:59:31] local.INFO: IMEI packet received {"connection_id":49880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 02:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":49880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 02:59:32] local.INFO: TCP Data received {"connection_id":49880,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f1ad38012d7d0e0005d5c6b00006009d22..."} 
[2026-04-22 02:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f1ad38012d7d0e0005d5c6b00006009d22..."} 
[2026-04-22 02:59:32] local.INFO: Processing buffer {"connection_id":49880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f1ad38012d7d0e0005d5c6b00006009d22..."} 
[2026-04-22 02:59:32] local.INFO: Packet analysis {"connection_id":49880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f1"} 
[2026-04-22 02:59:32] local.INFO: Extracted packet for processing {"connection_id":49880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f1"} 
[2026-04-22 02:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763170304,"raw_latitude":97896112,"longitude_deg":76.3170304,"latitude_deg":9.7896112,"altitude":6,"angle":157,"satellites":34,"speed":34,"hex_longitude":"2d7d0e00","hex_latitude":"05d5c6b0","is_valid_coordinates":true} 
[2026-04-22 02: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-22 02:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862563328001,"note":"Value kept but may cause issues"} 
[2026-04-22 02:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278346604136628224,"note":"Value kept but may cause issues"} 
[2026-04-22 02:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007691861013954560,"note":"Value kept but may cause issues"} 
[2026-04-22 02:59:32] 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-22 02:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776806899000,"timestamp_ms":1776806899000,"timestamp_seconds":1776806899,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f1ad38"} 
[2026-04-22 02: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-22 02: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-22 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 02:59: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-22 02: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-22 02: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-22 02:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 02:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":49880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 02:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":49880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":49880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 02:59:32] 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-22 02:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 02:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 02:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862563328001,"66":27376,"253":206,"85":15104,"24":34,"16":278346604136628224,"45":9007691861013954560},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-04-22 02:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 02:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 02:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862563328001,"description":"Unknown IO ID 0"} 
[2026-04-22 02:59:32] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-22 02:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 02:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278346604136628224,"km_value":278346604136628.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 02:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007691861013954560,"description":"Unknown IO ID 45"} 
[2026-04-22 02:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862563328001,"power":27376,"unknown_253":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9007691861013954560}} 
[2026-04-22 02:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":49880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 02:59:32] local.INFO: GPS data processed {"connection_id":49880,"processed":1,"errors":0,"total":1} 
[2026-04-22 02:59:32] local.INFO: Acknowledgment sent {"connection_id":49880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:00:03] local.INFO: TCP Data received {"connection_id":49880,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f1d830012d7d1b8005d5a5100008009f23..."} 
[2026-04-22 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f1d830012d7d1b8005d5a5100008009f23..."} 
[2026-04-22 03:00:03] local.INFO: Processing buffer {"connection_id":49880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f1d830012d7d1b8005d5a5100008009f23..."} 
[2026-04-22 03:00:03] local.INFO: Packet analysis {"connection_id":49880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f1"} 
[2026-04-22 03:00:03] local.INFO: Extracted packet for processing {"connection_id":49880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f1"} 
[2026-04-22 03:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":97887504,"longitude_deg":76.317376,"latitude_deg":9.7887504,"altitude":8,"angle":159,"satellites":35,"speed":32,"hex_longitude":"2d7d1b80","hex_latitude":"05d5a510","is_valid_coordinates":true} 
[2026-04-22 03:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862566144001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278347050813227008,"note":"Value kept but may cause issues"} 
[2026-04-22 03:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011139929476345856,"note":"Value kept but may cause issues"} 
[2026-04-22 03:00:03] 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-22 03:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776806910000,"timestamp_ms":1776806910000,"timestamp_seconds":1776806910,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f1d830"} 
[2026-04-22 03:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:00: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-22 03:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 03:00: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-22 03:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":49880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":49880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":49880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:00: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-22 03:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862566144001,"66":27332,"253":206,"85":15104,"24":32,"16":278347050813227008,"45":9011139929476345856},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-04-22 03:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862566144001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:00:03] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-22 03:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278347050813227008,"km_value":278347050813227.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011139929476345856,"description":"Unknown IO ID 45"} 
[2026-04-22 03:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862566144001,"power":27332,"unknown_253":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9011139929476345856}} 
[2026-04-22 03:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":49880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:00:03] local.INFO: GPS data processed {"connection_id":49880,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:00:03] local.INFO: Acknowledgment sent {"connection_id":49880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:00:27] local.INFO: TCP Data received {"connection_id":50261,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:00:27] local.INFO: Processing buffer {"connection_id":50261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:00:27] local.INFO: IMEI packet received {"connection_id":50261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:00:32] local.INFO: TCP Data received {"connection_id":50261,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:00:32] local.INFO: Processing buffer {"connection_id":50261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:00:32] local.INFO: IMEI packet received {"connection_id":50261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:00:33] local.INFO: TCP Data received {"connection_id":50261,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f20328012d7d254005d58398000900a722..."} 
[2026-04-22 03:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f20328012d7d254005d58398000900a722..."} 
[2026-04-22 03:00:33] local.INFO: Processing buffer {"connection_id":50261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f20328012d7d254005d58398000900a722..."} 
[2026-04-22 03:00:33] local.INFO: Packet analysis {"connection_id":50261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f2"} 
[2026-04-22 03:00:33] local.INFO: Extracted packet for processing {"connection_id":50261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f2"} 
[2026-04-22 03:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":97878936,"longitude_deg":76.3176256,"latitude_deg":9.7878936,"altitude":9,"angle":167,"satellites":34,"speed":31,"hex_longitude":"2d7d2540","hex_latitude":"05d58398","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862568960001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278347484604923904,"note":"Value kept but may cause issues"} 
[2026-04-22 03:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939841659736064,"note":"Value kept but may cause issues"} 
[2026-04-22 03:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776806921000,"timestamp_ms":1776806921000,"timestamp_seconds":1776806921,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f20328"} 
[2026-04-22 03: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-22 03:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 03:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862568960001,"66":27332,"253":206,"85":15104,"24":31,"16":278347484604923904,"45":9014939841659736064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-04-22 03:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862568960001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:00:33] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-22 03:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278347484604923904,"km_value":278347484604923.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939841659736064,"description":"Unknown IO ID 45"} 
[2026-04-22 03:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862568960001,"power":27332,"unknown_253":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9014939841659736064}} 
[2026-04-22 03:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:00:33] local.INFO: GPS data processed {"connection_id":50261,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:00:33] local.INFO: Acknowledgment sent {"connection_id":50261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:01:04] local.INFO: TCP Data received {"connection_id":50261,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f23208012d7d2b0005d55fb8000900ae1e..."} 
[2026-04-22 03:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f23208012d7d2b0005d55fb8000900ae1e..."} 
[2026-04-22 03:01:04] local.INFO: Processing buffer {"connection_id":50261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f23208012d7d2b0005d55fb8000900ae1e..."} 
[2026-04-22 03:01:04] local.INFO: Packet analysis {"connection_id":50261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f2"} 
[2026-04-22 03:01:04] local.INFO: Extracted packet for processing {"connection_id":50261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f2"} 
[2026-04-22 03:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763177728,"raw_latitude":97869752,"longitude_deg":76.3177728,"latitude_deg":9.7869752,"altitude":9,"angle":174,"satellites":30,"speed":32,"hex_longitude":"2d7d2b00","hex_latitude":"05d55fb8","is_valid_coordinates":true} 
[2026-04-22 03:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862571776001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278347935576489984,"note":"Value kept but may cause issues"} 
[2026-04-22 03:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222680471552,"note":"Value kept but may cause issues"} 
[2026-04-22 03:01:04] 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-22 03:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776806933000,"timestamp_ms":1776806933000,"timestamp_seconds":1776806933,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f23208"} 
[2026-04-22 03:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:01: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-22 03:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 03:01: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-22 03:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862571776001,"66":27343,"254":206,"85":15104,"24":32,"16":278347935576489984,"45":9017684222680471552},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-22 03:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862571776001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:01:04] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-22 03:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278347935576489984,"km_value":278347935576489.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222680471552,"description":"Unknown IO ID 45"} 
[2026-04-22 03:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862571776001,"power":27343,"unknown_254":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9017684222680471552}} 
[2026-04-22 03:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:01:04] local.INFO: GPS data processed {"connection_id":50261,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:01:04] local.INFO: Acknowledgment sent {"connection_id":50261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:01:17] local.INFO: TCP Data received {"connection_id":49881,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:01:17] local.INFO: Processing buffer {"connection_id":49881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:01:17] local.INFO: IMEI packet received {"connection_id":49881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":49881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:01:32] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:01:32] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:01:32] local.INFO: IMEI packet received {"connection_id":50769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":50769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:01:33] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:01:33] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:01:33] local.INFO: IMEI packet received {"connection_id":50769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":50769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:01:35] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f25d00012d7d2c8005d53c80000600b320..."} 
[2026-04-22 03:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f25d00012d7d2c8005d53c80000600b320..."} 
[2026-04-22 03:01:35] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f25d00012d7d2c8005d53c80000600b320..."} 
[2026-04-22 03:01:35] local.INFO: Packet analysis {"connection_id":50769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f2"} 
[2026-04-22 03:01:35] local.INFO: Extracted packet for processing {"connection_id":50769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f2"} 
[2026-04-22 03:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763178112,"raw_latitude":97860736,"longitude_deg":76.3178112,"latitude_deg":9.7860736,"altitude":6,"angle":179,"satellites":32,"speed":33,"hex_longitude":"2d7d2c80","hex_latitude":"05d53c80","is_valid_coordinates":true} 
[2026-04-22 03:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862574848001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278348373663154176,"note":"Value kept but may cause issues"} 
[2026-04-22 03:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019302703794206720,"note":"Value kept but may cause issues"} 
[2026-04-22 03:01:35] 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-22 03:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776806944000,"timestamp_ms":1776806944000,"timestamp_seconds":1776806944,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f25d00"} 
[2026-04-22 03:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03:01: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-22 03:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862574848001,"66":27321,"254":206,"85":15104,"24":33,"16":278348373663154176,"45":9019302703794206720},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-22 03:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862574848001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:01:35] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-22 03:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278348373663154176,"km_value":278348373663154.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019302703794206720,"description":"Unknown IO ID 45"} 
[2026-04-22 03:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862574848001,"power":27321,"unknown_254":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9019302703794206720}} 
[2026-04-22 03:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":50769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:01:35] local.INFO: GPS data processed {"connection_id":50769,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:01:35] local.INFO: Acknowledgment sent {"connection_id":50769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:01:38] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f28410012d7d2cc005d519d8000500b222..."} 
[2026-04-22 03:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f28410012d7d2cc005d519d8000500b222..."} 
[2026-04-22 03:01:38] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f28410012d7d2cc005d519d8000500b222..."} 
[2026-04-22 03:01:38] local.INFO: Packet analysis {"connection_id":50769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f2"} 
[2026-04-22 03:01:38] local.INFO: Extracted packet for processing {"connection_id":50769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f2"} 
[2026-04-22 03:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":97851864,"longitude_deg":76.3178176,"latitude_deg":9.7851864,"altitude":5,"angle":178,"satellites":34,"speed":36,"hex_longitude":"2d7d2cc0","hex_latitude":"05d519d8","is_valid_coordinates":true} 
[2026-04-22 03:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862577664001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278348807454851072,"note":"Value kept but may cause issues"} 
[2026-04-22 03:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019724916256964608,"note":"Value kept but may cause issues"} 
[2026-04-22 03:01:38] 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-22 03:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776806954000,"timestamp_ms":1776806954000,"timestamp_seconds":1776806954,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f28410"} 
[2026-04-22 03:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:01: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-22 03:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862577664001,"66":27234,"254":206,"85":15104,"24":36,"16":278348807454851072,"45":9019724916256964608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-22 03:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862577664001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:01:38] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-22 03:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278348807454851072,"km_value":278348807454851.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019724916256964608,"description":"Unknown IO ID 45"} 
[2026-04-22 03:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862577664001,"power":27234,"unknown_254":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9019724916256964608}} 
[2026-04-22 03:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":50769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:01:38] local.INFO: GPS data processed {"connection_id":50769,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:01:38] local.INFO: Acknowledgment sent {"connection_id":50769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:01:52] local.INFO: TCP Data received {"connection_id":49882,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:01:52] local.INFO: Processing buffer {"connection_id":49882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:01:52] local.INFO: IMEI packet received {"connection_id":49882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":49882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:02:09] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f44160012d7d390005d3a498000500b322..."} 
[2026-04-22 03:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f44160012d7d390005d3a498000500b322..."} 
[2026-04-22 03:02:09] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f44160012d7d390005d3a498000500b322..."} 
[2026-04-22 03:02:09] local.INFO: Packet analysis {"connection_id":50769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:02:09] local.INFO: Extracted packet for processing {"connection_id":50769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97756312,"longitude_deg":76.3181312,"latitude_deg":9.7756312,"altitude":5,"angle":179,"satellites":34,"speed":30,"hex_longitude":"2d7d3900","hex_latitude":"05d3a498","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862606080001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278353467494367232,"note":"Value kept but may cause issues"} 
[2026-04-22 03:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409627451392,"note":"Value kept but may cause issues"} 
[2026-04-22 03:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776807068000,"timestamp_ms":1776807068000,"timestamp_seconds":1776807068,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f44160"} 
[2026-04-22 03: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-22 03: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-22 03: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":98,"data_length":795,"current_offset":136} 
[2026-04-22 03:02:09] 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-22 03: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-22 03: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-22 03:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862606080001,"66":27332,"81":206,"85":15104,"24":30,"16":278353467494367232,"45":9024017409627451392},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-22 03:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862606080001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-22 03:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278353467494367232,"km_value":278353467494367.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409627451392,"description":"Unknown IO ID 45"} 
[2026-04-22 03:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862606080001,"power":27332,"unknown_81":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9024017409627451392}} 
[2026-04-22 03:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":50769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:02:09] local.INFO: GPS data processed {"connection_id":50769,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:02:09] local.INFO: Acknowledgment sent {"connection_id":50769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:02:24] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:02:24] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:02:24] local.INFO: IMEI packet received {"connection_id":50262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":50262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:02:28] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:02:28] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:02:28] local.INFO: IMEI packet received {"connection_id":50262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":50262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:02:32] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:02:32] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:02:32] local.INFO: IMEI packet received {"connection_id":50262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:03:03] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.45","data_length":1348,"data_hex":"000000000000030f8e0a0000019db1f46870012d7d388005d381e8000700b620..."} 
[2026-04-22 03:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019db1f46870012d7d388005d381e8000700b620..."} 
[2026-04-22 03:03:03] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019db1f46870012d7d388005d381e8000700b620..."} 
[2026-04-22 03:03:03] local.INFO: Packet analysis {"connection_id":50262,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:03] local.INFO: Extracted packet for processing {"connection_id":50262,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":97747432,"longitude_deg":76.3181184,"latitude_deg":9.7747432,"altitude":7,"angle":182,"satellites":32,"speed":38,"hex_longitude":"2d7d3880","hex_latitude":"05d381e8","is_valid_coordinates":true} 
[2026-04-22 03:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862609408001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278353896991096832,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353439115264,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776807078000,"timestamp_ms":1776807078000,"timestamp_seconds":1776807078,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f46870"} 
[2026-04-22 03:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:03: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-22 03:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 03:03:03] 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-22 03:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03: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-22 03:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862609408001,"66":27267,"115":206,"85":15104,"24":38,"16":278353896991096832,"45":9023243353439115264},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-04-22 03:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862609408001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:03:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-22 03:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278353896991096832,"km_value":278353896991096.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353439115264,"description":"Unknown IO ID 45"} 
[2026-04-22 03:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862609408001,"power":27267,"unknown_115":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9023243353439115264}} 
[2026-04-22 03:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":50262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:03:03] local.INFO: GPS data processed {"connection_id":50262,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:03:03] local.INFO: Acknowledgment sent {"connection_id":50262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:03:03] local.INFO: Packet analysis {"connection_id":50262,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:03] local.INFO: Incomplete packet, waiting for more data {"connection_id":50262,"needed":795,"available":553} 
[2026-04-22 03:03:04] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.45","data_length":242,"data_hex":"0000000000019db1f34760012d7d424005d45a68000400ae2500240000000a00..."} 
[2026-04-22 03:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":242,"packet_hex":"0000000000019db1f34760012d7d424005d45a68000400ae2500240000000a00..."} 
[2026-04-22 03:03:04] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f48f80012d7d390005d35b80000800b01f..."} 
[2026-04-22 03:03:04] local.INFO: Packet analysis {"connection_id":50262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:04] local.INFO: Extracted packet for processing {"connection_id":50262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97737600,"longitude_deg":76.3181312,"latitude_deg":9.77376,"altitude":8,"angle":176,"satellites":31,"speed":42,"hex_longitude":"2d7d3900","hex_latitude":"05d35b80","is_valid_coordinates":true} 
[2026-04-22 03:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862611968001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278354373732466688,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615948486656,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776807088000,"timestamp_ms":1776807088000,"timestamp_seconds":1776807088,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f48f80"} 
[2026-04-22 03:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:03: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-22 03:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:03: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-22 03:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862611968001,"66":27365,"115":206,"85":15104,"24":42,"16":278354373732466688,"45":9023102615948486656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-04-22 03:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862611968001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:03:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-22 03:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278354373732466688,"km_value":278354373732466.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615948486656,"description":"Unknown IO ID 45"} 
[2026-04-22 03:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862611968001,"power":27365,"unknown_115":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9023102615948486656}} 
[2026-04-22 03:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:03:04] local.INFO: GPS data processed {"connection_id":50262,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:03:04] local.INFO: Acknowledgment sent {"connection_id":50262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:03:12] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f4b2a8012d7d3a8005d33510000900b222..."} 
[2026-04-22 03:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f4b2a8012d7d3a8005d33510000900b222..."} 
[2026-04-22 03:03:12] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f4b2a8012d7d3a8005d33510000900b222..."} 
[2026-04-22 03:03:12] local.INFO: Packet analysis {"connection_id":50262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:12] local.INFO: Extracted packet for processing {"connection_id":50262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":97727760,"longitude_deg":76.3181696,"latitude_deg":9.772776,"altitude":9,"angle":178,"satellites":34,"speed":40,"hex_longitude":"2d7d3a80","hex_latitude":"05d33510","is_valid_coordinates":true} 
[2026-04-22 03:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862614528001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278354850473836544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353434324992,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776807097000,"timestamp_ms":1776807097000,"timestamp_seconds":1776807097,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f4b2a8"} 
[2026-04-22 03:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:03: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-22 03:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:03: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-22 03:03: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-22 03:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03:12] 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-22 03:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862614528001,"66":27332,"115":206,"85":15104,"24":40,"16":278354850473836544,"45":9023243353434324992},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-04-22 03:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862614528001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:03:12] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-22 03:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278354850473836544,"km_value":278354850473836.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353434324992,"description":"Unknown IO ID 45"} 
[2026-04-22 03:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862614528001,"power":27332,"unknown_115":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9023243353434324992}} 
[2026-04-22 03:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":50262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:03:12] local.INFO: GPS data processed {"connection_id":50262,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:03:12] local.INFO: Acknowledgment sent {"connection_id":50262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:03:27] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:03:27] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:03:27] local.INFO: IMEI packet received {"connection_id":50770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:03:30] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:03:30] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:03:30] local.INFO: IMEI packet received {"connection_id":50770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":50770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:03:32] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:03:32] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:03:32] local.INFO: IMEI packet received {"connection_id":50770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:03:44] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f4d5d0012d7d3c0005d30f28000800b321..."} 
[2026-04-22 03:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f4d5d0012d7d3c0005d30f28000800b321..."} 
[2026-04-22 03:03:44] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f4d5d0012d7d3c0005d30f28000800b321..."} 
[2026-04-22 03:03:44] local.INFO: Packet analysis {"connection_id":50770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:44] local.INFO: Extracted packet for processing {"connection_id":50770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:44] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":97718056,"longitude_deg":76.318208,"latitude_deg":9.7718056,"altitude":8,"angle":179,"satellites":33,"speed":46,"hex_longitude":"2d7d3c00","hex_latitude":"05d30f28","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862616832001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278355322920239104,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665565896871936,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:44] 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-22 03:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776807106000,"timestamp_ms":1776807106000,"timestamp_seconds":1776807106,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f4d5d0"} 
[2026-04-22 03: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-22 03:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 03:03:44] 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-22 03: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-22 03: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-22 03:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03:44] 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-22 03:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862616832001,"66":27234,"117":206,"85":15104,"24":46,"16":278355322920239104,"45":9023665565896871936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-22 03:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862616832001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:03:44] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-22 03:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278355322920239104,"km_value":278355322920239.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665565896871936,"description":"Unknown IO ID 45"} 
[2026-04-22 03:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862616832001,"power":27234,"unknown_117":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9023665565896871936}} 
[2026-04-22 03:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":50770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:03:44] local.INFO: GPS data processed {"connection_id":50770,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:03:44] local.INFO: Acknowledgment sent {"connection_id":50770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:03:46] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f4f128012d7d3dc005d2eb98000700af1f..."} 
[2026-04-22 03:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f4f128012d7d3dc005d2eb98000700af1f..."} 
[2026-04-22 03:03:46] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f4f128012d7d3dc005d2eb98000700af1f..."} 
[2026-04-22 03:03:46] local.INFO: Packet analysis {"connection_id":50770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:46] local.INFO: Extracted packet for processing {"connection_id":50770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f4"} 
[2026-04-22 03:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97708952,"longitude_deg":76.3182528,"latitude_deg":9.7708952,"altitude":7,"angle":175,"satellites":31,"speed":54,"hex_longitude":"2d7d3dc0","hex_latitude":"05d2eb98","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862619136001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278355765301870592,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778359453696,"note":"Value kept but may cause issues"} 
[2026-04-22 03:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776807113000,"timestamp_ms":1776807113000,"timestamp_seconds":1776807113,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f4f128"} 
[2026-04-22 03: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-22 03:03: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-22 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 03:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862619136001,"66":27234,"117":206,"85":15104,"24":54,"16":278355765301870592,"45":9024087778359453696},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-22 03:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862619136001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:03:46] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-22 03:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278355765301870592,"km_value":278355765301870.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778359453696,"description":"Unknown IO ID 45"} 
[2026-04-22 03:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862619136001,"power":27234,"unknown_117":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9024087778359453696}} 
[2026-04-22 03:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":50770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:03:46] local.INFO: GPS data processed {"connection_id":50770,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:03:46] local.INFO: Acknowledgment sent {"connection_id":50770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:04:37] local.INFO: TCP Data received {"connection_id":50124,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:04:37] local.INFO: Processing buffer {"connection_id":50124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:04:37] local.INFO: IMEI packet received {"connection_id":50124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":50124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:04:39] local.INFO: TCP Data received {"connection_id":50124,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:04:39] local.INFO: Processing buffer {"connection_id":50124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:04:39] local.INFO: IMEI packet received {"connection_id":50124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":50124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:04:44] local.INFO: TCP Data received {"connection_id":50124,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:04:44] local.INFO: Processing buffer {"connection_id":50124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:04:44] local.INFO: IMEI packet received {"connection_id":50124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":50124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:04:46] local.INFO: TCP Data received {"connection_id":50124,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f63d30012d7d340005d18380000700af27..."} 
[2026-04-22 03:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f63d30012d7d340005d18380000700af27..."} 
[2026-04-22 03:04:46] local.INFO: Processing buffer {"connection_id":50124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f63d30012d7d340005d18380000700af27..."} 
[2026-04-22 03:04:46] local.INFO: Packet analysis {"connection_id":50124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f6"} 
[2026-04-22 03:04:46] local.INFO: Extracted packet for processing {"connection_id":50124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f6"} 
[2026-04-22 03:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":97616768,"longitude_deg":76.3180032,"latitude_deg":9.7616768,"altitude":7,"angle":175,"satellites":39,"speed":46,"hex_longitude":"2d7d3400","hex_latitude":"05d18380","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862640640001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278360283607465984,"note":"Value kept but may cause issues"} 
[2026-04-22 03:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484134801242112,"note":"Value kept but may cause issues"} 
[2026-04-22 03: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-22 03:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776807198000,"timestamp_ms":1776807198000,"timestamp_seconds":1776807198,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f63d30"} 
[2026-04-22 03: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-22 03: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-22 03: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":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:04:46] 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-22 03: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-22 03: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-22 03:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862640640001,"66":27343,"24":46,"85":15104,"16":278360283607465984,"45":9021484134801242112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-22 03:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862640640001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278360283607465984,"km_value":278360283607465.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484134801242112,"description":"Unknown IO ID 45"} 
[2026-04-22 03:04:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454862640640001,"power":27343,"ignition":46,"unknown_85":15104,"odometer":null,"unknown_45":9021484134801242112}} 
[2026-04-22 03:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":50124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:04:46] local.INFO: GPS data processed {"connection_id":50124,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:04:46] local.INFO: Acknowledgment sent {"connection_id":50124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:05:34] local.INFO: TCP Data received {"connection_id":50125,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:05:34] local.INFO: Processing buffer {"connection_id":50125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:05:34] local.INFO: IMEI packet received {"connection_id":50125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":50125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:05:37] local.INFO: TCP Data received {"connection_id":50125,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:05:37] local.INFO: Processing buffer {"connection_id":50125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:05:37] local.INFO: IMEI packet received {"connection_id":50125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":50125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:05:42] local.INFO: TCP Data received {"connection_id":50125,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:05:42] local.INFO: Processing buffer {"connection_id":50125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:05:42] local.INFO: IMEI packet received {"connection_id":50125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":50125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:05:42] local.INFO: TCP Data received {"connection_id":50125,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f775b0012d7d4e8005cfdf98000700b329..."} 
[2026-04-22 03:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f775b0012d7d4e8005cfdf98000700b329..."} 
[2026-04-22 03:05:42] local.INFO: Processing buffer {"connection_id":50125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f775b0012d7d4e8005cfdf98000700b329..."} 
[2026-04-22 03:05:42] local.INFO: Packet analysis {"connection_id":50125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f7"} 
[2026-04-22 03:05:42] local.INFO: Extracted packet for processing {"connection_id":50125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f7"} 
[2026-04-22 03:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97509272,"longitude_deg":76.3186816,"latitude_deg":9.7509272,"altitude":7,"angle":179,"satellites":41,"speed":59,"hex_longitude":"2d7d4e80","hex_latitude":"05cfdf98","is_valid_coordinates":true} 
[2026-04-22 03:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862661632001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278365506287697920,"note":"Value kept but may cause issues"} 
[2026-04-22 03:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029083959144919040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776807278000,"timestamp_ms":1776807278000,"timestamp_seconds":1776807278,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f775b0"} 
[2026-04-22 03:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:05: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-22 03:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-22 03:05:42] 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-22 03:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:05:42] 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-22 03:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862661632001,"66":27321,"198":206,"85":15104,"24":59,"16":278365506287697920,"45":9029083959144919040},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-04-22 03:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862661632001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:05:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-22 03:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278365506287697920,"km_value":278365506287697.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029083959144919040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862661632001,"power":27321,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029083959144919040}} 
[2026-04-22 03:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":50125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:05:42] local.INFO: GPS data processed {"connection_id":50125,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:05:42] local.INFO: Acknowledgment sent {"connection_id":50125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:06:27] local.INFO: TCP Data received {"connection_id":50263,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:06:27] local.INFO: Processing buffer {"connection_id":50263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:06:27] local.INFO: IMEI packet received {"connection_id":50263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:06:32] local.INFO: TCP Data received {"connection_id":50263,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:06:32] local.INFO: Processing buffer {"connection_id":50263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:06:32] local.INFO: IMEI packet received {"connection_id":50263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:06:33] local.INFO: TCP Data received {"connection_id":50263,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f78d20012d7d4e8005cfbbd8000700b429..."} 
[2026-04-22 03:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f78d20012d7d4e8005cfbbd8000700b429..."} 
[2026-04-22 03:06:33] local.INFO: Processing buffer {"connection_id":50263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f78d20012d7d4e8005cfbbd8000700b429..."} 
[2026-04-22 03:06:33] local.INFO: Packet analysis {"connection_id":50263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f7"} 
[2026-04-22 03:06:33] local.INFO: Extracted packet for processing {"connection_id":50263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f7"} 
[2026-04-22 03:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97500120,"longitude_deg":76.3186816,"latitude_deg":9.750012,"altitude":7,"angle":180,"satellites":41,"speed":59,"hex_longitude":"2d7d4e80","hex_latitude":"05cfbbd8","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862663168001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278365948669329408,"note":"Value kept but may cause issues"} 
[2026-04-22 03:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065375152128,"note":"Value kept but may cause issues"} 
[2026-04-22 03:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776807284000,"timestamp_ms":1776807284000,"timestamp_seconds":1776807284,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f78d20"} 
[2026-04-22 03: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-22 03:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:06: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-22 03: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-22 03: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-22 03:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862663168001,"66":27267,"198":206,"85":15104,"24":59,"16":278365948669329408,"45":9029295065375152128},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-04-22 03:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862663168001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:06:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-22 03:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278365948669329408,"km_value":278365948669329.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065375152128,"description":"Unknown IO ID 45"} 
[2026-04-22 03:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862663168001,"power":27267,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029295065375152128}} 
[2026-04-22 03:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:06:33] local.INFO: GPS data processed {"connection_id":50263,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:06:33] local.INFO: Acknowledgment sent {"connection_id":50263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:07:04] local.INFO: TCP Data received {"connection_id":50263,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f7a490012d7d4ec005cf9880000700b329..."} 
[2026-04-22 03:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f7a490012d7d4ec005cf9880000700b329..."} 
[2026-04-22 03:07:04] local.INFO: Processing buffer {"connection_id":50263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f7a490012d7d4ec005cf9880000700b329..."} 
[2026-04-22 03:07:04] local.INFO: Packet analysis {"connection_id":50263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f7"} 
[2026-04-22 03:07:04] local.INFO: Extracted packet for processing {"connection_id":50263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f7"} 
[2026-04-22 03:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763186880,"raw_latitude":97491072,"longitude_deg":76.318688,"latitude_deg":9.7491072,"altitude":7,"angle":179,"satellites":41,"speed":59,"hex_longitude":"2d7d4ec0","hex_latitude":"05cf9880","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862664704001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278366386755993600,"note":"Value kept but may cause issues"} 
[2026-04-22 03:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065372809216,"note":"Value kept but may cause issues"} 
[2026-04-22 03:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776807290000,"timestamp_ms":1776807290000,"timestamp_seconds":1776807290,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f7a490"} 
[2026-04-22 03: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-22 03:07: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-22 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:07: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-22 03: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-22 03: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-22 03:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862664704001,"66":27332,"198":206,"85":15104,"24":59,"16":278366386755993600,"45":9029295065372809216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-04-22 03:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862664704001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:07:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-22 03:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278366386755993600,"km_value":278366386755993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065372809216,"description":"Unknown IO ID 45"} 
[2026-04-22 03:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862664704001,"power":27332,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029295065372809216}} 
[2026-04-22 03:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:07:04] local.INFO: GPS data processed {"connection_id":50263,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:07:04] local.INFO: Acknowledgment sent {"connection_id":50263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:07:17] local.INFO: TCP Data received {"connection_id":50264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:07:17] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:07:17] local.INFO: IMEI packet received {"connection_id":50264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":50264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:07:28] local.INFO: TCP Data received {"connection_id":49885,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:07:28] local.INFO: Processing buffer {"connection_id":49885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:07:28] local.INFO: IMEI packet received {"connection_id":49885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":49885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:07:28] local.INFO: TCP Data received {"connection_id":49885,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:07:28] local.INFO: Processing buffer {"connection_id":49885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:07:28] local.INFO: IMEI packet received {"connection_id":49885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":49885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:07:32] local.INFO: TCP Data received {"connection_id":49885,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:07:32] local.INFO: Processing buffer {"connection_id":49885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:07:32] local.INFO: IMEI packet received {"connection_id":49885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":49885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:07:33] local.INFO: TCP Data received {"connection_id":49885,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f7bc00012d7d4ec005cf7590000600b329..."} 
[2026-04-22 03:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f7bc00012d7d4ec005cf7590000600b329..."} 
[2026-04-22 03:07:33] local.INFO: Processing buffer {"connection_id":49885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f7bc00012d7d4ec005cf7590000600b329..."} 
[2026-04-22 03:07:33] local.INFO: Packet analysis {"connection_id":49885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f7"} 
[2026-04-22 03:07:33] local.INFO: Extracted packet for processing {"connection_id":49885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f7"} 
[2026-04-22 03:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763186880,"raw_latitude":97482128,"longitude_deg":76.318688,"latitude_deg":9.7482128,"altitude":6,"angle":179,"satellites":41,"speed":57,"hex_longitude":"2d7d4ec0","hex_latitude":"05cf7590","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862666240001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278366820547690496,"note":"Value kept but may cause issues"} 
[2026-04-22 03:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029365434114670592,"note":"Value kept but may cause issues"} 
[2026-04-22 03:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776807296000,"timestamp_ms":1776807296000,"timestamp_seconds":1776807296,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f7bc00"} 
[2026-04-22 03: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-22 03:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 03:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862666240001,"66":27180,"198":206,"85":15104,"24":57,"16":278366820547690496,"45":9029365434114670592},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-04-22 03:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862666240001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:07:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-22 03:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278366820547690496,"km_value":278366820547690.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029365434114670592,"description":"Unknown IO ID 45"} 
[2026-04-22 03:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862666240001,"power":27180,"unknown_198":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9029365434114670592}} 
[2026-04-22 03:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":49885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:07:33] local.INFO: GPS data processed {"connection_id":49885,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:07:33] local.INFO: Acknowledgment sent {"connection_id":49885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:07:52] local.INFO: TCP Data received {"connection_id":50126,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:07:52] local.INFO: Processing buffer {"connection_id":50126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:07:52] local.INFO: IMEI packet received {"connection_id":50126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":50126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:08:06] local.INFO: TCP Data received {"connection_id":49885,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f99c78012d7d46c005cdc258000500b127..."} 
[2026-04-22 03:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f99c78012d7d46c005cdc258000500b127..."} 
[2026-04-22 03:08:06] local.INFO: Processing buffer {"connection_id":49885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f99c78012d7d46c005cdc258000500b127..."} 
[2026-04-22 03:08:06] local.INFO: Packet analysis {"connection_id":49885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f9"} 
[2026-04-22 03:08:06] local.INFO: Extracted packet for processing {"connection_id":49885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f9"} 
[2026-04-22 03:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763184832,"raw_latitude":97370712,"longitude_deg":76.3184832,"latitude_deg":9.7370712,"altitude":5,"angle":177,"satellites":39,"speed":24,"hex_longitude":"2d7d46c0","hex_latitude":"05cdc258","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862696704001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278372236501450752,"note":"Value kept but may cause issues"} 
[2026-04-22 03:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902528040028160,"note":"Value kept but may cause issues"} 
[2026-04-22 03:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776807419000,"timestamp_ms":1776807419000,"timestamp_seconds":1776807419,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f99c78"} 
[2026-04-22 03: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-22 03:08: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-22 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 03:08: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-22 03: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-22 03: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-22 03:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":49885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":49885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":49885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862696704001,"66":27343,"129":206,"85":15104,"24":24,"16":278372236501450752,"45":9026902528040028160},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 03:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862696704001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:08:06] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 03:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278372236501450752,"km_value":278372236501450.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902528040028160,"description":"Unknown IO ID 45"} 
[2026-04-22 03:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862696704001,"power":27343,"unknown_129":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9026902528040028160}} 
[2026-04-22 03:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":49885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:08:06] local.INFO: GPS data processed {"connection_id":49885,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:08:06] local.INFO: Acknowledgment sent {"connection_id":49885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:08:27] local.INFO: TCP Data received {"connection_id":50265,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:08:27] local.INFO: Processing buffer {"connection_id":50265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:08:27] local.INFO: IMEI packet received {"connection_id":50265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":50265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:08:32] local.INFO: TCP Data received {"connection_id":50265,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:08:32] local.INFO: Processing buffer {"connection_id":50265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:08:32] local.INFO: IMEI packet received {"connection_id":50265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:08:33] local.INFO: TCP Data received {"connection_id":50265,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f9cf40012d7d468005cd9e88000700b72a..."} 
[2026-04-22 03:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f9cf40012d7d468005cd9e88000700b72a..."} 
[2026-04-22 03:08:33] local.INFO: Processing buffer {"connection_id":50265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f9cf40012d7d468005cd9e88000700b72a..."} 
[2026-04-22 03:08:33] local.INFO: Packet analysis {"connection_id":50265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f9"} 
[2026-04-22 03:08:33] local.INFO: Extracted packet for processing {"connection_id":50265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f9"} 
[2026-04-22 03:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":97361544,"longitude_deg":76.3184768,"latitude_deg":9.7361544,"altitude":7,"angle":183,"satellites":42,"speed":34,"hex_longitude":"2d7d4680","hex_latitude":"05cd9e88","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862699264001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278372683178049536,"note":"Value kept but may cause issues"} 
[2026-04-22 03:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634270173184,"note":"Value kept but may cause issues"} 
[2026-04-22 03:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776807432000,"timestamp_ms":1776807432000,"timestamp_seconds":1776807432,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f9cf40"} 
[2026-04-22 03: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-22 03:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03:08:33] 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-22 03: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-22 03: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-22 03:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862699264001,"66":27300,"129":206,"85":15104,"24":34,"16":278372683178049536,"45":9027113634270173184},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 03:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862699264001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:08:33] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 03:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278372683178049536,"km_value":278372683178049.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634270173184,"description":"Unknown IO ID 45"} 
[2026-04-22 03:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862699264001,"power":27300,"unknown_129":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9027113634270173184}} 
[2026-04-22 03:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":50265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:08:33] local.INFO: GPS data processed {"connection_id":50265,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:08:33] local.INFO: Acknowledgment sent {"connection_id":50265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:09:04] local.INFO: TCP Data received {"connection_id":50265,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1f9f268012d7d48c005cd7a30000800af29..."} 
[2026-04-22 03:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1f9f268012d7d48c005cd7a30000800af29..."} 
[2026-04-22 03:09:04] local.INFO: Processing buffer {"connection_id":50265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1f9f268012d7d48c005cd7a30000800af29..."} 
[2026-04-22 03:09:04] local.INFO: Packet analysis {"connection_id":50265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1f9"} 
[2026-04-22 03:09:04] local.INFO: Extracted packet for processing {"connection_id":50265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1f9"} 
[2026-04-22 03:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763185344,"raw_latitude":97352240,"longitude_deg":76.3185344,"latitude_deg":9.735224,"altitude":8,"angle":175,"satellites":41,"speed":45,"hex_longitude":"2d7d48c0","hex_latitude":"05cd7a30","is_valid_coordinates":true} 
[2026-04-22 03:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862702592001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278373134149615616,"note":"Value kept but may cause issues"} 
[2026-04-22 03:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265523648512,"note":"Value kept but may cause issues"} 
[2026-04-22 03:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776807441000,"timestamp_ms":1776807441000,"timestamp_seconds":1776807441,"priority":1,"record_length":96,"hex_timestamp":"0000019db1f9f268"} 
[2026-04-22 03:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:09: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-22 03:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 03:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862702592001,"66":27332,"129":206,"85":15104,"24":45,"16":278373134149615616,"45":9027043265523648512},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 03:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862702592001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:09:04] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 03:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278373134149615616,"km_value":278373134149615.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265523648512,"description":"Unknown IO ID 45"} 
[2026-04-22 03:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862702592001,"power":27332,"unknown_129":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9027043265523648512}} 
[2026-04-22 03:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":50265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:09:04] local.INFO: GPS data processed {"connection_id":50265,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:09:04] local.INFO: Acknowledgment sent {"connection_id":50265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:09:27] local.INFO: TCP Data received {"connection_id":50772,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:09:27] local.INFO: Processing buffer {"connection_id":50772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:09:27] local.INFO: IMEI packet received {"connection_id":50772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:09:27] local.INFO: TCP Data received {"connection_id":50772,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:09:27] local.INFO: Processing buffer {"connection_id":50772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:09:27] local.INFO: IMEI packet received {"connection_id":50772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:09:32] local.INFO: TCP Data received {"connection_id":50772,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:09:32] local.INFO: Processing buffer {"connection_id":50772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:09:32] local.INFO: IMEI packet received {"connection_id":50772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:09:33] local.INFO: TCP Data received {"connection_id":50772,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fa11a8012d7d4c0005cd5460000800ac29..."} 
[2026-04-22 03:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fa11a8012d7d4c0005cd5460000800ac29..."} 
[2026-04-22 03:09:33] local.INFO: Processing buffer {"connection_id":50772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fa11a8012d7d4c0005cd5460000800ac29..."} 
[2026-04-22 03:09:33] local.INFO: Packet analysis {"connection_id":50772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fa"} 
[2026-04-22 03:09:33] local.INFO: Extracted packet for processing {"connection_id":50772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fa"} 
[2026-04-22 03:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763186176,"raw_latitude":97342560,"longitude_deg":76.3186176,"latitude_deg":9.734256,"altitude":8,"angle":172,"satellites":41,"speed":52,"hex_longitude":"2d7d4c00","hex_latitude":"05cd5460","is_valid_coordinates":true} 
[2026-04-22 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-22 03:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862704896001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278373606596018176,"note":"Value kept but may cause issues"} 
[2026-04-22 03:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584218865664,"note":"Value kept but may cause issues"} 
[2026-04-22 03:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776807449000,"timestamp_ms":1776807449000,"timestamp_seconds":1776807449,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fa11a8"} 
[2026-04-22 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-22 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-22 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 03:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 03:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862704896001,"66":27343,"129":206,"85":15104,"24":52,"16":278373606596018176,"45":9027676584218865664},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 03:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862704896001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:09:33] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 03:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278373606596018176,"km_value":278373606596018.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584218865664,"description":"Unknown IO ID 45"} 
[2026-04-22 03:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862704896001,"power":27343,"unknown_129":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9027676584218865664}} 
[2026-04-22 03:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":50772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:09:33] local.INFO: GPS data processed {"connection_id":50772,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:09:33] local.INFO: Acknowledgment sent {"connection_id":50772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:10:04] local.INFO: TCP Data received {"connection_id":50772,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fb80d8012d7d3c4005cba490000300ba28..."} 
[2026-04-22 03:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fb80d8012d7d3c4005cba490000300ba28..."} 
[2026-04-22 03:10:04] local.INFO: Processing buffer {"connection_id":50772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fb80d8012d7d3c4005cba490000300ba28..."} 
[2026-04-22 03:10:04] local.INFO: Packet analysis {"connection_id":50772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fb"} 
[2026-04-22 03:10:04] local.INFO: Extracted packet for processing {"connection_id":50772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fb"} 
[2026-04-22 03:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":97232016,"longitude_deg":76.3182144,"latitude_deg":9.7232016,"altitude":3,"angle":186,"satellites":40,"speed":31,"hex_longitude":"2d7d3c40","hex_latitude":"05cba490","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862727424001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278378996779974656,"note":"Value kept but may cause issues"} 
[2026-04-22 03:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415632541696,"note":"Value kept but may cause issues"} 
[2026-04-22 03:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776807543000,"timestamp_ms":1776807543000,"timestamp_seconds":1776807543,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fb80d8"} 
[2026-04-22 03: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-22 03:10: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-22 03: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":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:10: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-22 03: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-22 03: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-22 03:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862727424001,"66":27245,"131":206,"85":15104,"24":31,"16":278378996779974656,"45":9025354415632541696},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 03:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862727424001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:10:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 03:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278378996779974656,"km_value":278378996779974.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415632541696,"description":"Unknown IO ID 45"} 
[2026-04-22 03:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862727424001,"power":27245,"unknown_131":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9025354415632541696}} 
[2026-04-22 03:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":50772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:10:04] local.INFO: GPS data processed {"connection_id":50772,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:10:04] local.INFO: Acknowledgment sent {"connection_id":50772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:10:32] local.INFO: TCP Data received {"connection_id":50128,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:10:32] local.INFO: Processing buffer {"connection_id":50128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:10:32] local.INFO: IMEI packet received {"connection_id":50128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:10:33] local.INFO: TCP Data received {"connection_id":50128,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:10:33] local.INFO: Processing buffer {"connection_id":50128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:10:33] local.INFO: IMEI packet received {"connection_id":50128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":50128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:10:34] local.INFO: TCP Data received {"connection_id":50128,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fbabd0012d7d398005cb8190000300b729..."} 
[2026-04-22 03:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fbabd0012d7d398005cb8190000300b729..."} 
[2026-04-22 03:10:34] local.INFO: Processing buffer {"connection_id":50128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fbabd0012d7d398005cb8190000300b729..."} 
[2026-04-22 03:10:34] local.INFO: Packet analysis {"connection_id":50128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fb"} 
[2026-04-22 03:10:34] local.INFO: Extracted packet for processing {"connection_id":50128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fb"} 
[2026-04-22 03:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97223056,"longitude_deg":76.318144,"latitude_deg":9.7223056,"altitude":3,"angle":183,"satellites":41,"speed":30,"hex_longitude":"2d7d3980","hex_latitude":"05cb8190","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862731008001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278379430571671552,"note":"Value kept but may cause issues"} 
[2026-04-22 03:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158146979205120,"note":"Value kept but may cause issues"} 
[2026-04-22 03:10: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-22 03:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776807554000,"timestamp_ms":1776807554000,"timestamp_seconds":1776807554,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fbabd0"} 
[2026-04-22 03: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-22 03:10: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-22 03: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":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:10:34] 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-22 03: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-22 03: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-22 03:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:10: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-22 03:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862731008001,"66":27180,"131":206,"85":15104,"24":30,"16":278379430571671552,"45":9024158146979205120},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 03:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862731008001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:10:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 03:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278379430571671552,"km_value":278379430571671.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158146979205120,"description":"Unknown IO ID 45"} 
[2026-04-22 03:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862731008001,"power":27180,"unknown_131":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9024158146979205120}} 
[2026-04-22 03:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":50128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:10:34] local.INFO: GPS data processed {"connection_id":50128,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:10:34] local.INFO: Acknowledgment sent {"connection_id":50128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:10:37] local.INFO: TCP Data received {"connection_id":50128,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fbd6c8012d7d370005cb5c50000300b92a..."} 
[2026-04-22 03:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fbd6c8012d7d370005cb5c50000300b92a..."} 
[2026-04-22 03:10:37] local.INFO: Processing buffer {"connection_id":50128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fbd6c8012d7d370005cb5c50000300b92a..."} 
[2026-04-22 03:10:37] local.INFO: Packet analysis {"connection_id":50128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fb"} 
[2026-04-22 03:10:37] local.INFO: Extracted packet for processing {"connection_id":50128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fb"} 
[2026-04-22 03:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97213520,"longitude_deg":76.31808,"latitude_deg":9.721352,"altitude":3,"angle":185,"satellites":42,"speed":37,"hex_longitude":"2d7d3700","hex_latitude":"05cb5c50","is_valid_coordinates":true} 
[2026-04-22 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-22 03:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862733824001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278379894428139520,"note":"Value kept but may cause issues"} 
[2026-04-22 03:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090790957056,"note":"Value kept but may cause issues"} 
[2026-04-22 03:10:37] 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-22 03:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776807565000,"timestamp_ms":1776807565000,"timestamp_seconds":1776807565,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fbd6c8"} 
[2026-04-22 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-22 03:10: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-22 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-22 03:10:37] 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-22 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-22 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-22 03:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:10:37] 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-22 03:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862733824001,"66":27267,"131":206,"85":15104,"24":37,"16":278379894428139520,"45":9023384090790957056},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 03:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862733824001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:10:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 03:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278379894428139520,"km_value":278379894428139.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090790957056,"description":"Unknown IO ID 45"} 
[2026-04-22 03:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862733824001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9023384090790957056}} 
[2026-04-22 03:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":50128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:10:37] local.INFO: GPS data processed {"connection_id":50128,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:10:37] local.INFO: Acknowledgment sent {"connection_id":50128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:11:08] local.INFO: TCP Data received {"connection_id":50128,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fc01c0012d7d328005cb37b0000400bc29..."} 
[2026-04-22 03:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fc01c0012d7d328005cb37b0000400bc29..."} 
[2026-04-22 03:11:08] local.INFO: Processing buffer {"connection_id":50128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fc01c0012d7d328005cb37b0000400bc29..."} 
[2026-04-22 03:11:08] local.INFO: Packet analysis {"connection_id":50128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fc"} 
[2026-04-22 03:11:08] local.INFO: Extracted packet for processing {"connection_id":50128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fc"} 
[2026-04-22 03:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763179648,"raw_latitude":97204144,"longitude_deg":76.3179648,"latitude_deg":9.7204144,"altitude":4,"angle":188,"satellites":41,"speed":33,"hex_longitude":"2d7d3280","hex_latitude":"05cb37b0","is_valid_coordinates":true} 
[2026-04-22 03:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862736640001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278380353989640192,"note":"Value kept but may cause issues"} 
[2026-04-22 03:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403346739200,"note":"Value kept but may cause issues"} 
[2026-04-22 03:11:08] 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-22 03:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776807576000,"timestamp_ms":1776807576000,"timestamp_seconds":1776807576,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fc01c0"} 
[2026-04-22 03:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:11: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-22 03:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:11:08] 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-22 03:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862736640001,"66":27300,"131":206,"85":15104,"24":33,"16":278380353989640192,"45":9022680403346739200},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 03:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862736640001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:11:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 03:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278380353989640192,"km_value":278380353989640.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403346739200,"description":"Unknown IO ID 45"} 
[2026-04-22 03:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862736640001,"power":27300,"unknown_131":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9022680403346739200}} 
[2026-04-22 03:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":50128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:11:08] local.INFO: GPS data processed {"connection_id":50128,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:11:08] local.INFO: Acknowledgment sent {"connection_id":50128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:11:27] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:11:27] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:11:27] local.INFO: IMEI packet received {"connection_id":50773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":50773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:11:30] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:11:30] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:11:30] local.INFO: IMEI packet received {"connection_id":50773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":50773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:11:31] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fc28d0012d7d2e8005cb1210000400ba2a..."} 
[2026-04-22 03:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fc28d0012d7d2e8005cb1210000400ba2a..."} 
[2026-04-22 03:11:31] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fc28d0012d7d2e8005cb1210000400ba2a..."} 
[2026-04-22 03:11:31] local.INFO: Packet analysis {"connection_id":50773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fc"} 
[2026-04-22 03:11:31] local.INFO: Extracted packet for processing {"connection_id":50773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fc"} 
[2026-04-22 03:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763178624,"raw_latitude":97194512,"longitude_deg":76.3178624,"latitude_deg":9.7194512,"altitude":4,"angle":186,"satellites":42,"speed":40,"hex_longitude":"2d7d2e80","hex_latitude":"05cb1210","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862739456001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278380826436042752,"note":"Value kept but may cause issues"} 
[2026-04-22 03:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021413765949140992,"note":"Value kept but may cause issues"} 
[2026-04-22 03:11:31] 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-22 03:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776807586000,"timestamp_ms":1776807586000,"timestamp_seconds":1776807586,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fc28d0"} 
[2026-04-22 03: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-22 03:11: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-22 03: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":164,"data_length":795,"current_offset":136} 
[2026-04-22 03:11: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-22 03: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-22 03: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-22 03:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862739456001,"66":27310,"131":206,"85":15104,"24":40,"16":278380826436042752,"45":9021413765949140992},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 03:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862739456001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:11:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 03:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 03:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278380826436042752,"km_value":278380826436042.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021413765949140992,"description":"Unknown IO ID 45"} 
[2026-04-22 03:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862739456001,"power":27310,"unknown_131":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9021413765949140992}} 
[2026-04-22 03:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":50773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:11:31] local.INFO: GPS data processed {"connection_id":50773,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:11:31] local.INFO: Acknowledgment sent {"connection_id":50773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:12:02] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fd6150012d7d0bc005c97920000200b52a..."} 
[2026-04-22 03:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fd6150012d7d0bc005c97920000200b52a..."} 
[2026-04-22 03:12:02] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fd6150012d7d0bc005c97920000200b52a..."} 
[2026-04-22 03:12:02] local.INFO: Packet analysis {"connection_id":50773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:12:02] local.INFO: Extracted packet for processing {"connection_id":50773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763169728,"raw_latitude":97089824,"longitude_deg":76.3169728,"latitude_deg":9.7089824,"altitude":2,"angle":181,"satellites":42,"speed":53,"hex_longitude":"2d7d0bc0","hex_latitude":"05c97920","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862760704001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278385920267255808,"note":"Value kept but may cause issues"} 
[2026-04-22 03:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011069560528207872,"note":"Value kept but may cause issues"} 
[2026-04-22 03:12: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-22 03:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776807666000,"timestamp_ms":1776807666000,"timestamp_seconds":1776807666,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fd6150"} 
[2026-04-22 03: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-22 03: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-22 03: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":98,"data_length":795,"current_offset":136} 
[2026-04-22 03:12: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-22 03: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-22 03: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-22 03:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862760704001,"66":27267,"205":206,"85":12288,"24":53,"16":278385920267255808,"45":9011069560528207872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-22 03:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862760704001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278385920267255808,"km_value":278385920267255.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011069560528207872,"description":"Unknown IO ID 45"} 
[2026-04-22 03:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862760704001,"power":27267,"cell_id":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":9011069560528207872}} 
[2026-04-22 03:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":50773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:12:02] local.INFO: GPS data processed {"connection_id":50773,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:12:02] local.INFO: Acknowledgment sent {"connection_id":50773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:12:28] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:12:28] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:12:28] local.INFO: IMEI packet received {"connection_id":50267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":50267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:12:31] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:12:31] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:12:31] local.INFO: IMEI packet received {"connection_id":50267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":50267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:12:32] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:12:32] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:12:32] local.INFO: IMEI packet received {"connection_id":50267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:12:33] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fd8090012d7d0c4005c95320000300ad2a..."} 
[2026-04-22 03:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fd8090012d7d0c4005c95320000300ad2a..."} 
[2026-04-22 03:12:33] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fd8090012d7d0c4005c95320000300ad2a..."} 
[2026-04-22 03:12:33] local.INFO: Packet analysis {"connection_id":50267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:12:33] local.INFO: Extracted packet for processing {"connection_id":50267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763169856,"raw_latitude":97080096,"longitude_deg":76.3169856,"latitude_deg":9.7080096,"altitude":3,"angle":173,"satellites":42,"speed":42,"hex_longitude":"2d7d0c40","hex_latitude":"05c95320","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862762496001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278386392713658368,"note":"Value kept but may cause issues"} 
[2026-04-22 03:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010506610572337152,"note":"Value kept but may cause issues"} 
[2026-04-22 03:12:33] 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-22 03:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776807674000,"timestamp_ms":1776807674000,"timestamp_seconds":1776807674,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fd8090"} 
[2026-04-22 03: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-22 03:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03: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":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:12: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-22 03: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-22 03: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-22 03:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862762496001,"66":27300,"205":206,"85":12288,"24":42,"16":278386392713658368,"45":9010506610572337152},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-22 03:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862762496001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278386392713658368,"km_value":278386392713658.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010506610572337152,"description":"Unknown IO ID 45"} 
[2026-04-22 03:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862762496001,"power":27300,"cell_id":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9010506610572337152}} 
[2026-04-22 03:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":50267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:12:33] local.INFO: GPS data processed {"connection_id":50267,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:12:33] local.INFO: Acknowledgment sent {"connection_id":50267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:12:37] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fda3b8012d7d10c005c92d50000400b02a..."} 
[2026-04-22 03:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fda3b8012d7d10c005c92d50000400b02a..."} 
[2026-04-22 03:12:37] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fda3b8012d7d10c005c92d50000400b02a..."} 
[2026-04-22 03:12:37] local.INFO: Packet analysis {"connection_id":50267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:12:37] local.INFO: Extracted packet for processing {"connection_id":50267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763171008,"raw_latitude":97070416,"longitude_deg":76.3171008,"latitude_deg":9.7070416,"altitude":4,"angle":176,"satellites":42,"speed":47,"hex_longitude":"2d7d10c0","hex_latitude":"05c92d50","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862764544001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278386865160060928,"note":"Value kept but may cause issues"} 
[2026-04-22 03:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010647348058202112,"note":"Value kept but may cause issues"} 
[2026-04-22 03:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776807683000,"timestamp_ms":1776807683000,"timestamp_seconds":1776807683,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fda3b8"} 
[2026-04-22 03: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-22 03:12: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-22 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 03:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:12:37] 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-22 03:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862764544001,"66":27321,"205":206,"85":12288,"24":47,"16":278386865160060928,"45":9010647348058202112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-22 03:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862764544001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278386865160060928,"km_value":278386865160060.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010647348058202112,"description":"Unknown IO ID 45"} 
[2026-04-22 03:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862764544001,"power":27321,"cell_id":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9010647348058202112}} 
[2026-04-22 03:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":50267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:12:37] local.INFO: GPS data processed {"connection_id":50267,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:12:37] local.INFO: Acknowledgment sent {"connection_id":50267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:13:09] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fdceb0012d7d130005c90a58000400b02b..."} 
[2026-04-22 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fdceb0012d7d130005c90a58000400b02b..."} 
[2026-04-22 03:13:10] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fdceb0012d7d130005c90a58000400b02b..."} 
[2026-04-22 03:13:10] local.INFO: Packet analysis {"connection_id":50267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:13:10] local.INFO: Extracted packet for processing {"connection_id":50267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763171584,"raw_latitude":97061464,"longitude_deg":76.3171584,"latitude_deg":9.7061464,"altitude":4,"angle":176,"satellites":43,"speed":33,"hex_longitude":"2d7d1300","hex_latitude":"05c90a58","is_valid_coordinates":true} 
[2026-04-22 03:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862766848001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278387298951757824,"note":"Value kept but may cause issues"} 
[2026-04-22 03:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011913985450921984,"note":"Value kept but may cause issues"} 
[2026-04-22 03:13:10] 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-22 03:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776807694000,"timestamp_ms":1776807694000,"timestamp_seconds":1776807694,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fdceb0"} 
[2026-04-22 03:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:13: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-22 03:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:13: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-22 03:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:13:10] 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-22 03:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862766848001,"66":27267,"205":206,"85":12288,"24":33,"16":278387298951757824,"45":9011913985450921984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-22 03:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862766848001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278387298951757824,"km_value":278387298951757.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011913985450921984,"description":"Unknown IO ID 45"} 
[2026-04-22 03:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862766848001,"power":27267,"cell_id":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9011913985450921984}} 
[2026-04-22 03:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":50267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:13:10] local.INFO: GPS data processed {"connection_id":50267,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:13:10] local.INFO: Acknowledgment sent {"connection_id":50267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:13:22] local.INFO: TCP Data received {"connection_id":50774,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:13:22] local.INFO: Processing buffer {"connection_id":50774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:13:22] local.INFO: IMEI packet received {"connection_id":50774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":50774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:13:27] local.INFO: TCP Data received {"connection_id":49887,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:13:27] local.INFO: Processing buffer {"connection_id":49887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:13:27] local.INFO: IMEI packet received {"connection_id":49887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":49887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:13:27] local.INFO: TCP Data received {"connection_id":49887,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:13:27] local.INFO: Processing buffer {"connection_id":49887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:13:27] local.INFO: IMEI packet received {"connection_id":49887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":49887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:13:32] local.INFO: TCP Data received {"connection_id":49887,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:13:32] local.INFO: Processing buffer {"connection_id":49887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:13:32] local.INFO: IMEI packet received {"connection_id":49887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":49887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:13:33] local.INFO: TCP Data received {"connection_id":49887,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fdf5c0012d7d15c005c8e3d8000300b22b..."} 
[2026-04-22 03:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fdf5c0012d7d15c005c8e3d8000300b22b..."} 
[2026-04-22 03:13:33] local.INFO: Processing buffer {"connection_id":49887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fdf5c0012d7d15c005c8e3d8000300b22b..."} 
[2026-04-22 03:13:33] local.INFO: Packet analysis {"connection_id":49887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:13:33] local.INFO: Extracted packet for processing {"connection_id":49887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fd"} 
[2026-04-22 03:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":97051608,"longitude_deg":76.3172288,"latitude_deg":9.7051608,"altitude":3,"angle":178,"satellites":43,"speed":43,"hex_longitude":"2d7d15c0","hex_latitude":"05c8e3d8","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862769664001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278387779988094976,"note":"Value kept but may cause issues"} 
[2026-04-22 03:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012547304146229248,"note":"Value kept but may cause issues"} 
[2026-04-22 03:13:33] 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-22 03:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776807704000,"timestamp_ms":1776807704000,"timestamp_seconds":1776807704,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fdf5c0"} 
[2026-04-22 03: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-22 03: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-22 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:13: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-22 03: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-22 03: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-22 03:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862769664001,"66":27267,"199":206,"85":12288,"24":43,"16":278387779988094976,"45":9012547304146229248},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-22 03:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862769664001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:13:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-22 03:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278387779988094976,"km_value":278387779988094.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012547304146229248,"description":"Unknown IO ID 45"} 
[2026-04-22 03:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862769664001,"power":27267,"trip_odometer":0.206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9012547304146229248}} 
[2026-04-22 03:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":49887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:13:33] local.INFO: GPS data processed {"connection_id":49887,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:13:33] local.INFO: Acknowledgment sent {"connection_id":49887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:13:52] local.INFO: TCP Data received {"connection_id":49888,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:13:52] local.INFO: Processing buffer {"connection_id":49888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:13:52] local.INFO: IMEI packet received {"connection_id":49888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":49888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:14:04] local.INFO: TCP Data received {"connection_id":49887,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1fe1500012d7d170005c8c0a8000400b02a..."} 
[2026-04-22 03:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1fe1500012d7d170005c8c0a8000400b02a..."} 
[2026-04-22 03:14:04] local.INFO: Processing buffer {"connection_id":49887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1fe1500012d7d170005c8c0a8000400b02a..."} 
[2026-04-22 03:14:04] local.INFO: Packet analysis {"connection_id":49887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1fe"} 
[2026-04-22 03:14:04] local.INFO: Extracted packet for processing {"connection_id":49887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1fe"} 
[2026-04-22 03:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763172608,"raw_latitude":97042600,"longitude_deg":76.3172608,"latitude_deg":9.70426,"altitude":4,"angle":176,"satellites":42,"speed":44,"hex_longitude":"2d7d1700","hex_latitude":"05c8c0a8","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862772224001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278388218074759168,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360329660416,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14: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-22 03:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776807712000,"timestamp_ms":1776807712000,"timestamp_seconds":1776807712,"priority":1,"record_length":96,"hex_timestamp":"0000019db1fe1500"} 
[2026-04-22 03: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-22 03:14: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-22 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:14: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-22 03: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-22 03: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-22 03:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862772224001,"66":27267,"199":206,"85":12288,"24":44,"16":278388218074759168,"45":9013321360329660416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-22 03:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862772224001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:14:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-22 03:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278388218074759168,"km_value":278388218074759.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360329660416,"description":"Unknown IO ID 45"} 
[2026-04-22 03:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862772224001,"power":27267,"trip_odometer":0.206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":9013321360329660416}} 
[2026-04-22 03:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":49887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:14:04] local.INFO: GPS data processed {"connection_id":49887,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:14:04] local.INFO: Acknowledgment sent {"connection_id":49887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:14:32] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:14:32] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:14:32] local.INFO: IMEI packet received {"connection_id":50775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:14:33] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:14:33] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:14:33] local.INFO: IMEI packet received {"connection_id":50775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":50775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:14:37] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:14:37] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:14:37] local.INFO: IMEI packet received {"connection_id":50775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":50775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:14:38] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.45","data_length":1348,"data_hex":"000000000000030f8e0a0000019db1ffa370012d7db04005c758f80008007a2a..."} 
[2026-04-22 03:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019db1ffa370012d7db04005c758f80008007a2a..."} 
[2026-04-22 03:14:38] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019db1ffa370012d7db04005c758f80008007a2a..."} 
[2026-04-22 03:14:38] local.INFO: Packet analysis {"connection_id":50775,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019db1ff"} 
[2026-04-22 03:14:38] local.INFO: Extracted packet for processing {"connection_id":50775,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019db1ff"} 
[2026-04-22 03:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763211840,"raw_latitude":96950520,"longitude_deg":76.321184,"latitude_deg":9.695052,"altitude":8,"angle":122,"satellites":42,"speed":41,"hex_longitude":"2d7db040","hex_latitude":"05c758f8","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862798080001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 03:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278393290431135744,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9048576101138120704,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:38] 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-22 03:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776807814000,"timestamp_ms":1776807814000,"timestamp_seconds":1776807814,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ffa370"} 
[2026-04-22 03: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-22 03:14: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-22 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 03:14: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-22 03: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-22 03: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-22 03:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862798080001,"66":27245,"200":0,"85":12288,"24":41,"16":278393290431135744,"45":9048576101138120704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 03:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862798080001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278393290431135744,"km_value":278393290431135.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9048576101138120704,"description":"Unknown IO ID 45"} 
[2026-04-22 03:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862798080001,"power":27245,"gsm_signal":0,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9048576101138120704}} 
[2026-04-22 03:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":50775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:14:38] local.INFO: GPS data processed {"connection_id":50775,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:14:38] local.INFO: Acknowledgment sent {"connection_id":50775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:14:38] local.INFO: Packet analysis {"connection_id":50775,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019db1ff"} 
[2026-04-22 03:14:38] local.INFO: Incomplete packet, waiting for more data {"connection_id":50775,"needed":795,"available":553} 
[2026-04-22 03:14:39] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.45","data_length":242,"data_hex":"0000000000019db1feb910012d7d2fc005c805b8000600a62900320000000a00..."} 
[2026-04-22 03:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":242,"packet_hex":"0000000000019db1feb910012d7d2fc005c805b8000600a62900320000000a00..."} 
[2026-04-22 03:14:39] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ffaf28012d7dba4005c751900008008629..."} 
[2026-04-22 03:14:39] local.INFO: Packet analysis {"connection_id":50775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ff"} 
[2026-04-22 03:14:39] local.INFO: Extracted packet for processing {"connection_id":50775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ff"} 
[2026-04-22 03:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763214400,"raw_latitude":96948624,"longitude_deg":76.32144,"latitude_deg":9.6948624,"altitude":8,"angle":134,"satellites":41,"speed":43,"hex_longitude":"2d7dba40","hex_latitude":"05c75190","is_valid_coordinates":true} 
[2026-04-22 03:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862800384001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 03:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278393445049958400,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9056809244205578240,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 03:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776807817000,"timestamp_ms":1776807817000,"timestamp_seconds":1776807817,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ffaf28"} 
[2026-04-22 03:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:14: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-22 03:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:14:39] 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-22 03:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862800384001,"66":27223,"200":0,"85":12288,"24":43,"16":278393445049958400,"45":9056809244205578240},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 03:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862800384001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278393445049958400,"km_value":278393445049958.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9056809244205578240,"description":"Unknown IO ID 45"} 
[2026-04-22 03:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862800384001,"power":27223,"gsm_signal":0,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9056809244205578240}} 
[2026-04-22 03:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":50775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:14:39] local.INFO: GPS data processed {"connection_id":50775,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:14:39] local.INFO: Acknowledgment sent {"connection_id":50775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:14:44] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ffce68012d7dd60005c73a900008007c28..."} 
[2026-04-22 03:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ffce68012d7dd60005c73a900008007c28..."} 
[2026-04-22 03:14:44] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ffce68012d7dd60005c73a900008007c28..."} 
[2026-04-22 03:14:44] local.INFO: Packet analysis {"connection_id":50775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ff"} 
[2026-04-22 03:14:44] local.INFO: Extracted packet for processing {"connection_id":50775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ff"} 
[2026-04-22 03:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763221504,"raw_latitude":96942736,"longitude_deg":76.3221504,"latitude_deg":9.6942736,"altitude":8,"angle":124,"satellites":40,"speed":48,"hex_longitude":"2d7dd600","hex_latitude":"05c73a90","is_valid_coordinates":true} 
[2026-04-22 03:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862801152001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 03:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278393891726557184,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059623993972199424,"note":"Value kept but may cause issues"} 
[2026-04-22 03:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 03:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776807825000,"timestamp_ms":1776807825000,"timestamp_seconds":1776807825,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ffce68"} 
[2026-04-22 03:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:14: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-22 03:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-04-22 03:14:44] 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-22 03:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:14:44] 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-22 03:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862801152001,"66":27343,"200":0,"85":12288,"24":48,"16":278393891726557184,"45":9059623993972199424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 03:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862801152001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278393891726557184,"km_value":278393891726557.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059623993972199424,"description":"Unknown IO ID 45"} 
[2026-04-22 03:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862801152001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":9059623993972199424}} 
[2026-04-22 03:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":50775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:14:44] local.INFO: GPS data processed {"connection_id":50775,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:14:44] local.INFO: Acknowledgment sent {"connection_id":50775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:15:27] local.INFO: TCP Data received {"connection_id":50268,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:15:27] local.INFO: Processing buffer {"connection_id":50268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:15:27] local.INFO: IMEI packet received {"connection_id":50268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:15:31] local.INFO: TCP Data received {"connection_id":50268,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:15:31] local.INFO: Processing buffer {"connection_id":50268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:15:31] local.INFO: IMEI packet received {"connection_id":50268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":50268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:15:32] local.INFO: TCP Data received {"connection_id":50268,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db1ffe9c0012d7df38005c725b00007007e29..."} 
[2026-04-22 03:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db1ffe9c0012d7df38005c725b00007007e29..."} 
[2026-04-22 03:15:32] local.INFO: Processing buffer {"connection_id":50268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db1ffe9c0012d7df38005c725b00007007e29..."} 
[2026-04-22 03:15:32] local.INFO: Packet analysis {"connection_id":50268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db1ff"} 
[2026-04-22 03:15:32] local.INFO: Extracted packet for processing {"connection_id":50268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db1ff"} 
[2026-04-22 03:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763229056,"raw_latitude":96937392,"longitude_deg":76.3229056,"latitude_deg":9.6937392,"altitude":7,"angle":126,"satellites":41,"speed":55,"hex_longitude":"2d7df380","hex_latitude":"05c725b0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862803200001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:15:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 03:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278394334108188672,"note":"Value kept but may cause issues"} 
[2026-04-22 03:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9067434924574412800,"note":"Value kept but may cause issues"} 
[2026-04-22 03:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 03:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776807832000,"timestamp_ms":1776807832000,"timestamp_seconds":1776807832,"priority":1,"record_length":96,"hex_timestamp":"0000019db1ffe9c0"} 
[2026-04-22 03: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-22 03:15: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-22 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03:15: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-22 03: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-22 03: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-22 03:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:15:32] 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-22 03:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862803200001,"66":27343,"200":0,"85":12288,"24":55,"16":278394334108188672,"45":9067434924574412800},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 03:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862803200001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278394334108188672,"km_value":278394334108188.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9067434924574412800,"description":"Unknown IO ID 45"} 
[2026-04-22 03:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862803200001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9067434924574412800}} 
[2026-04-22 03:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":50268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:15:32] local.INFO: GPS data processed {"connection_id":50268,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:15:32] local.INFO: Acknowledgment sent {"connection_id":50268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:16:03] local.INFO: TCP Data received {"connection_id":50268,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2000518012d7e124005c70f680007007d29..."} 
[2026-04-22 03:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2000518012d7e124005c70f680007007d29..."} 
[2026-04-22 03:16:03] local.INFO: Processing buffer {"connection_id":50268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2000518012d7e124005c70f680007007d29..."} 
[2026-04-22 03:16:03] local.INFO: Packet analysis {"connection_id":50268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db200"} 
[2026-04-22 03:16:03] local.INFO: Extracted packet for processing {"connection_id":50268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db200"} 
[2026-04-22 03:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763236928,"raw_latitude":96931688,"longitude_deg":76.3236928,"latitude_deg":9.6931688,"altitude":7,"angle":125,"satellites":41,"speed":55,"hex_longitude":"2d7e1240","hex_latitude":"05c70f68","is_valid_coordinates":true} 
[2026-04-22 03:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862804992001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278394802259623936,"note":"Value kept but may cause issues"} 
[2026-04-22 03:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9075738436386009088,"note":"Value kept but may cause issues"} 
[2026-04-22 03: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-22 03:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776807839000,"timestamp_ms":1776807839000,"timestamp_seconds":1776807839,"priority":1,"record_length":96,"hex_timestamp":"0000019db2000518"} 
[2026-04-22 03:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:16: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-22 03:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03: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-22 03:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:16: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-22 03:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862804992001,"66":27245,"244":206,"85":12288,"24":55,"16":278394802259623936,"45":9075738436386009088},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-22 03:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862804992001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:16:03] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-22 03:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278394802259623936,"km_value":278394802259623.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9075738436386009088,"description":"Unknown IO ID 45"} 
[2026-04-22 03:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862804992001,"power":27245,"unknown_244":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9075738436386009088}} 
[2026-04-22 03:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":50268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:16:03] local.INFO: GPS data processed {"connection_id":50268,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:16:03] local.INFO: Acknowledgment sent {"connection_id":50268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:16:27] local.INFO: TCP Data received {"connection_id":50131,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:16:27] local.INFO: Processing buffer {"connection_id":50131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:16:27] local.INFO: IMEI packet received {"connection_id":50131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:16:32] local.INFO: TCP Data received {"connection_id":50131,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:16:32] local.INFO: Processing buffer {"connection_id":50131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:16:32] local.INFO: IMEI packet received {"connection_id":50131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":50131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:16:33] local.INFO: TCP Data received {"connection_id":50131,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2002070012d7e314005c6f9780007007e29..."} 
[2026-04-22 03:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2002070012d7e314005c6f9780007007e29..."} 
[2026-04-22 03:16:33] local.INFO: Processing buffer {"connection_id":50131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2002070012d7e314005c6f9780007007e29..."} 
[2026-04-22 03:16:33] local.INFO: Packet analysis {"connection_id":50131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db200"} 
[2026-04-22 03:16:33] local.INFO: Extracted packet for processing {"connection_id":50131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db200"} 
[2026-04-22 03:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":96926072,"longitude_deg":76.3244864,"latitude_deg":9.6926072,"altitude":7,"angle":126,"satellites":41,"speed":54,"hex_longitude":"2d7e3140","hex_latitude":"05c6f978","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862806784001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278395266116091904,"note":"Value kept but may cause issues"} 
[2026-04-22 03:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084393791918401536,"note":"Value kept but may cause issues"} 
[2026-04-22 03:16:33] 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-22 03:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776807846000,"timestamp_ms":1776807846000,"timestamp_seconds":1776807846,"priority":1,"record_length":96,"hex_timestamp":"0000019db2002070"} 
[2026-04-22 03: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-22 03:16: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-22 03:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:16:33] 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-22 03: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-22 03: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-22 03:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862806784001,"66":27071,"244":206,"85":12288,"24":54,"16":278395266116091904,"45":9084393791918401536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-22 03:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862806784001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:16:33] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-22 03:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278395266116091904,"km_value":278395266116091.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084393791918401536,"description":"Unknown IO ID 45"} 
[2026-04-22 03:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862806784001,"power":27071,"unknown_244":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9084393791918401536}} 
[2026-04-22 03:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":50131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:16:33] local.INFO: GPS data processed {"connection_id":50131,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:16:33] local.INFO: Acknowledgment sent {"connection_id":50131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:17:04] local.INFO: TCP Data received {"connection_id":50131,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2003bc8012d7e4f4005c6e3e00009007e29..."} 
[2026-04-22 03:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2003bc8012d7e4f4005c6e3e00009007e29..."} 
[2026-04-22 03:17:04] local.INFO: Processing buffer {"connection_id":50131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2003bc8012d7e4f4005c6e3e00009007e29..."} 
[2026-04-22 03:17:04] local.INFO: Packet analysis {"connection_id":50131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db200"} 
[2026-04-22 03:17:04] local.INFO: Extracted packet for processing {"connection_id":50131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db200"} 
[2026-04-22 03:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763252544,"raw_latitude":96920544,"longitude_deg":76.3252544,"latitude_deg":9.6920544,"altitude":9,"angle":126,"satellites":41,"speed":52,"hex_longitude":"2d7e4f40","hex_latitude":"05c6e3e0","is_valid_coordinates":true} 
[2026-04-22 03:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862808576001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278395721382625280,"note":"Value kept but may cause issues"} 
[2026-04-22 03:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516194994176,"note":"Value kept but may cause issues"} 
[2026-04-22 03:17: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-22 03:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776807853000,"timestamp_ms":1776807853000,"timestamp_seconds":1776807853,"priority":1,"record_length":96,"hex_timestamp":"0000019db2003bc8"} 
[2026-04-22 03:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:17: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-22 03:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-04-22 03:17:04] 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-22 03:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862808576001,"66":27343,"244":206,"85":12288,"24":52,"16":278395721382625280,"45":9093119516194994176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-22 03:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862808576001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:17:04] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-22 03:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278395721382625280,"km_value":278395721382625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516194994176,"description":"Unknown IO ID 45"} 
[2026-04-22 03:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862808576001,"power":27343,"unknown_244":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9093119516194994176}} 
[2026-04-22 03:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":50131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:17:04] local.INFO: GPS data processed {"connection_id":50131,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:17:04] local.INFO: Acknowledgment sent {"connection_id":50131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:17:28] local.INFO: TCP Data received {"connection_id":49889,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:17:28] local.INFO: Processing buffer {"connection_id":49889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:17:28] local.INFO: IMEI packet received {"connection_id":49889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":49889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:17:32] local.INFO: TCP Data received {"connection_id":49889,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:17:32] local.INFO: Processing buffer {"connection_id":49889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:17:32] local.INFO: IMEI packet received {"connection_id":49889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":49889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:17:33] local.INFO: TCP Data received {"connection_id":49889,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2022410012d7f5f0005c5ec180007008e2b..."} 
[2026-04-22 03:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2022410012d7f5f0005c5ec180007008e2b..."} 
[2026-04-22 03:17:33] local.INFO: Processing buffer {"connection_id":49889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2022410012d7f5f0005c5ec180007008e2b..."} 
[2026-04-22 03:17:33] local.INFO: Packet analysis {"connection_id":49889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db202"} 
[2026-04-22 03:17:33] local.INFO: Extracted packet for processing {"connection_id":49889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db202"} 
[2026-04-22 03:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763322112,"raw_latitude":96857112,"longitude_deg":76.3322112,"latitude_deg":9.6857112,"altitude":7,"angle":142,"satellites":43,"speed":23,"hex_longitude":"2d7f5f00","hex_latitude":"05c5ec18","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862837760001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278400312702664704,"note":"Value kept but may cause issues"} 
[2026-04-22 03:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171932509658273792,"note":"Value kept but may cause issues"} 
[2026-04-22 03:17:33] 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-22 03:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776807978000,"timestamp_ms":1776807978000,"timestamp_seconds":1776807978,"priority":1,"record_length":96,"hex_timestamp":"0000019db2022410"} 
[2026-04-22 03: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-22 03:17: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-22 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862837760001,"66":27343,"95":206,"85":12288,"24":23,"16":278400312702664704,"45":9171932509658273792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-22 03:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862837760001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:17:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-22 03:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278400312702664704,"km_value":278400312702664.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171932509658273792,"description":"Unknown IO ID 45"} 
[2026-04-22 03:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862837760001,"power":27343,"unknown_95":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9171932509658273792}} 
[2026-04-22 03:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":49889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:17:33] local.INFO: GPS data processed {"connection_id":49889,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:17:33] local.INFO: Acknowledgment sent {"connection_id":49889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:18:04] local.INFO: TCP Data received {"connection_id":49889,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2025ac0012d7f73c005c5d008000700912a..."} 
[2026-04-22 03:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2025ac0012d7f73c005c5d008000700912a..."} 
[2026-04-22 03:18:04] local.INFO: Processing buffer {"connection_id":49889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2025ac0012d7f73c005c5d008000700912a..."} 
[2026-04-22 03:18:04] local.INFO: Packet analysis {"connection_id":49889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db202"} 
[2026-04-22 03:18:04] local.INFO: Extracted packet for processing {"connection_id":49889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db202"} 
[2026-04-22 03:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763327424,"raw_latitude":96849928,"longitude_deg":76.3327424,"latitude_deg":9.6849928,"altitude":7,"angle":145,"satellites":42,"speed":29,"hex_longitude":"2d7f73c0","hex_latitude":"05c5d008","is_valid_coordinates":true} 
[2026-04-22 03:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862842368001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278400746494361600,"note":"Value kept but may cause issues"} 
[2026-04-22 03:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178054590399780864,"note":"Value kept but may cause issues"} 
[2026-04-22 03:18:04] 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-22 03:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776807992000,"timestamp_ms":1776807992000,"timestamp_seconds":1776807992,"priority":1,"record_length":96,"hex_timestamp":"0000019db2025ac0"} 
[2026-04-22 03:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03:18:04] 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-22 03:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862842368001,"66":27267,"95":206,"85":12288,"24":29,"16":278400746494361600,"45":9178054590399780864},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-22 03:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862842368001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:18:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-22 03:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278400746494361600,"km_value":278400746494361.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178054590399780864,"description":"Unknown IO ID 45"} 
[2026-04-22 03:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862842368001,"power":27267,"unknown_95":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9178054590399780864}} 
[2026-04-22 03:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":49889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:18:04] local.INFO: GPS data processed {"connection_id":49889,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:18:04] local.INFO: Acknowledgment sent {"connection_id":49889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:18:27] local.INFO: TCP Data received {"connection_id":50777,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:18:27] local.INFO: Processing buffer {"connection_id":50777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:18:27] local.INFO: IMEI packet received {"connection_id":50777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:18:32] local.INFO: TCP Data received {"connection_id":50777,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:18:32] local.INFO: Processing buffer {"connection_id":50777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:18:32] local.INFO: IMEI packet received {"connection_id":50777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:18:40] local.INFO: TCP Data received {"connection_id":50777,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20285b8012d7f898005c5b2880006009129..."} 
[2026-04-22 03:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20285b8012d7f898005c5b2880006009129..."} 
[2026-04-22 03:18:40] local.INFO: Processing buffer {"connection_id":50777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20285b8012d7f898005c5b2880006009129..."} 
[2026-04-22 03:18:40] local.INFO: Packet analysis {"connection_id":50777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db202"} 
[2026-04-22 03:18:40] local.INFO: Extracted packet for processing {"connection_id":50777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db202"} 
[2026-04-22 03:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":96842376,"longitude_deg":76.3332992,"latitude_deg":9.6842376,"altitude":6,"angle":145,"satellites":41,"speed":36,"hex_longitude":"2d7f8980","hex_latitude":"05c5b288","is_valid_coordinates":true} 
[2026-04-22 03:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862845952001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278401197465927680,"note":"Value kept but may cause issues"} 
[2026-04-22 03:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183895196164687872,"note":"Value kept but may cause issues"} 
[2026-04-22 03:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776808003000,"timestamp_ms":1776808003000,"timestamp_seconds":1776808003,"priority":1,"record_length":96,"hex_timestamp":"0000019db20285b8"} 
[2026-04-22 03:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:18: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-22 03:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:18:40] 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-22 03:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862845952001,"66":27321,"93":206,"85":12288,"24":36,"16":278401197465927680,"45":9183895196164687872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 03:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862845952001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:18:40] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 03:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278401197465927680,"km_value":278401197465927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183895196164687872,"description":"Unknown IO ID 45"} 
[2026-04-22 03:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862845952001,"power":27321,"unknown_93":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9183895196164687872}} 
[2026-04-22 03:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":50777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:18:40] local.INFO: GPS data processed {"connection_id":50777,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:18:40] local.INFO: Acknowledgment sent {"connection_id":50777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:19:11] local.INFO: TCP Data received {"connection_id":50777,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db202b0b0012d7f9f8005c59420000700902a..."} 
[2026-04-22 03:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db202b0b0012d7f9f8005c59420000700902a..."} 
[2026-04-22 03:19:11] local.INFO: Processing buffer {"connection_id":50777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db202b0b0012d7f9f8005c59420000700902a..."} 
[2026-04-22 03:19:11] local.INFO: Packet analysis {"connection_id":50777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db202"} 
[2026-04-22 03:19:11] local.INFO: Extracted packet for processing {"connection_id":50777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db202"} 
[2026-04-22 03:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763338624,"raw_latitude":96834592,"longitude_deg":76.3338624,"latitude_deg":9.6834592,"altitude":7,"angle":144,"satellites":42,"speed":31,"hex_longitude":"2d7f9f80","hex_latitude":"05c59420","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862848768001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278401661322395648,"note":"Value kept but may cause issues"} 
[2026-04-22 03:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276906211328,"note":"Value kept but may cause issues"} 
[2026-04-22 03:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776808014000,"timestamp_ms":1776808014000,"timestamp_seconds":1776808014,"priority":1,"record_length":96,"hex_timestamp":"0000019db202b0b0"} 
[2026-04-22 03: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-22 03:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:19:11] 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-22 03: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-22 03: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-22 03:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:19:11] 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-22 03:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862848768001,"66":27343,"93":206,"85":12288,"24":31,"16":278401661322395648,"45":9190017276906211328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 03:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862848768001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:19:11] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 03:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278401661322395648,"km_value":278401661322395.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276906211328,"description":"Unknown IO ID 45"} 
[2026-04-22 03:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862848768001,"power":27343,"unknown_93":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9190017276906211328}} 
[2026-04-22 03:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":50777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:19:11] local.INFO: GPS data processed {"connection_id":50777,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:19:11] local.INFO: Acknowledgment sent {"connection_id":50777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:19:22] local.INFO: TCP Data received {"connection_id":50132,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:19:22] local.INFO: Processing buffer {"connection_id":50132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:19:22] local.INFO: IMEI packet received {"connection_id":50132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":50132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:19:27] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:19:27] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:19:27] local.INFO: IMEI packet received {"connection_id":50778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:19:32] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:19:32] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:19:32] local.INFO: IMEI packet received {"connection_id":50778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:19:33] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2041bf8012d804dc005c49b40000600912a..."} 
[2026-04-22 03:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2041bf8012d804dc005c49b40000600912a..."} 
[2026-04-22 03:19:33] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2041bf8012d804dc005c49b40000600912a..."} 
[2026-04-22 03:19:33] local.INFO: Packet analysis {"connection_id":50778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db204"} 
[2026-04-22 03:19:33] local.INFO: Extracted packet for processing {"connection_id":50778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db204"} 
[2026-04-22 03:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763383232,"raw_latitude":96770880,"longitude_deg":76.3383232,"latitude_deg":9.677088,"altitude":6,"angle":145,"satellites":42,"speed":41,"hex_longitude":"2d804dc0","hex_latitude":"05c49b40","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862873088001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278405440893616128,"note":"Value kept but may cause issues"} 
[2026-04-22 03:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207327938406912000,"note":"Value kept but may cause issues"} 
[2026-04-22 03:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808107000,"timestamp_ms":1776808107000,"timestamp_seconds":1776808107,"priority":1,"record_length":96,"hex_timestamp":"0000019db2041bf8"} 
[2026-04-22 03: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-22 03:19: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-22 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:19: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-22 03: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-22 03: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-22 03:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862873088001,"66":27310,"93":206,"85":12288,"24":41,"16":278405440893616128,"45":-9207327938406912000},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 03:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862873088001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:19:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 03:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278405440893616128,"km_value":278405440893616.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207327938406912000,"description":"Unknown IO ID 45"} 
[2026-04-22 03:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862873088001,"power":27310,"unknown_93":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":-9207327938406912000}} 
[2026-04-22 03:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:19:33] local.INFO: GPS data processed {"connection_id":50778,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:19:33] local.INFO: Acknowledgment sent {"connection_id":50778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:19:57] local.INFO: TCP Data received {"connection_id":50779,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:19:57] local.INFO: Processing buffer {"connection_id":50779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:19:57] local.INFO: IMEI packet received {"connection_id":50779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":50779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:20:04] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2043f20012d80630005c47b60000700952a..."} 
[2026-04-22 03:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2043f20012d80630005c47b60000700952a..."} 
[2026-04-22 03:20:04] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2043f20012d80630005c47b60000700952a..."} 
[2026-04-22 03:20:04] local.INFO: Packet analysis {"connection_id":50778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db204"} 
[2026-04-22 03:20:04] local.INFO: Extracted packet for processing {"connection_id":50778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db204"} 
[2026-04-22 03:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763388672,"raw_latitude":96762720,"longitude_deg":76.3388672,"latitude_deg":9.676272,"altitude":7,"angle":149,"satellites":42,"speed":46,"hex_longitude":"2d806300","hex_latitude":"05c47b60","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862875392001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278405913340018688,"note":"Value kept but may cause issues"} 
[2026-04-22 03:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201487332642177024,"note":"Value kept but may cause issues"} 
[2026-04-22 03:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776808116000,"timestamp_ms":1776808116000,"timestamp_seconds":1776808116,"priority":1,"record_length":96,"hex_timestamp":"0000019db2043f20"} 
[2026-04-22 03: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-22 03:20: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-22 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-22 03:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862875392001,"66":27321,"93":206,"85":12288,"24":46,"16":278405913340018688,"45":-9201487332642177024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 03:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862875392001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:20:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 03:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278405913340018688,"km_value":278405913340018.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201487332642177024,"description":"Unknown IO ID 45"} 
[2026-04-22 03:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862875392001,"power":27321,"unknown_93":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":-9201487332642177024}} 
[2026-04-22 03:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:20:04] local.INFO: GPS data processed {"connection_id":50778,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:20:04] local.INFO: Acknowledgment sent {"connection_id":50778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:20:32] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:20:32] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:20:32] local.INFO: IMEI packet received {"connection_id":50270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:20:32] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:20:32] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:20:32] local.INFO: IMEI packet received {"connection_id":50270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:20:38] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:20:38] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:20:38] local.INFO: IMEI packet received {"connection_id":50270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":50270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:20:39] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2046630012d80764005c45e90000800922a..."} 
[2026-04-22 03:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2046630012d80764005c45e90000800922a..."} 
[2026-04-22 03:20:39] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2046630012d80764005c45e90000800922a..."} 
[2026-04-22 03:20:39] local.INFO: Packet analysis {"connection_id":50270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db204"} 
[2026-04-22 03:20:39] local.INFO: Extracted packet for processing {"connection_id":50270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db204"} 
[2026-04-22 03:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763393600,"raw_latitude":96755344,"longitude_deg":76.33936,"latitude_deg":9.6755344,"altitude":8,"angle":146,"satellites":42,"speed":26,"hex_longitude":"2d807640","hex_latitude":"05c45e90","is_valid_coordinates":true} 
[2026-04-22 03:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278406342836748288,"note":"Value kept but may cause issues"} 
[2026-04-22 03:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195505989389164544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776808126000,"timestamp_ms":1776808126000,"timestamp_seconds":1776808126,"priority":1,"record_length":96,"hex_timestamp":"0000019db2046630"} 
[2026-04-22 03:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:20: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-22 03:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:20: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-22 03:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862877696001,"66":27321,"93":206,"85":12288,"24":26,"16":278406342836748288,"45":-9195505989389164544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 03:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:20:39] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 03:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278406342836748288,"km_value":278406342836748.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195505989389164544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862877696001,"power":27321,"unknown_93":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9195505989389164544}} 
[2026-04-22 03:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":50270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:20:39] local.INFO: GPS data processed {"connection_id":50270,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:20:39] local.INFO: Acknowledgment sent {"connection_id":50270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:20:40] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2049128012d80888005c440880007009b2a..."} 
[2026-04-22 03:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2049128012d80888005c440880007009b2a..."} 
[2026-04-22 03:20:40] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2049128012d80888005c440880007009b2a..."} 
[2026-04-22 03:20:40] local.INFO: Packet analysis {"connection_id":50270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db204"} 
[2026-04-22 03:20:40] local.INFO: Extracted packet for processing {"connection_id":50270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db204"} 
[2026-04-22 03:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763398272,"raw_latitude":96747656,"longitude_deg":76.3398272,"latitude_deg":9.6747656,"altitude":7,"angle":155,"satellites":42,"speed":36,"hex_longitude":"2d808880","hex_latitude":"05c44088","is_valid_coordinates":true} 
[2026-04-22 03:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862880256001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278406776628445184,"note":"Value kept but may cause issues"} 
[2026-04-22 03:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190087596089372672,"note":"Value kept but may cause issues"} 
[2026-04-22 03:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776808137000,"timestamp_ms":1776808137000,"timestamp_seconds":1776808137,"priority":1,"record_length":96,"hex_timestamp":"0000019db2049128"} 
[2026-04-22 03:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:20: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-22 03:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:20:40] 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-22 03:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:20:40] 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-22 03:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862880256001,"66":27213,"156":206,"85":12288,"24":36,"16":278406776628445184,"45":-9190087596089372672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-04-22 03:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862880256001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:20:40] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-22 03:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278406776628445184,"km_value":278406776628445.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190087596089372672,"description":"Unknown IO ID 45"} 
[2026-04-22 03:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862880256001,"power":27213,"unknown_156":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":-9190087596089372672}} 
[2026-04-22 03:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":50270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:20:41] local.INFO: GPS data processed {"connection_id":50270,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:20:41] local.INFO: Acknowledgment sent {"connection_id":50270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:21:12] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db205bdf0012d8070c005c319d0000700be2a..."} 
[2026-04-22 03:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db205bdf0012d8070c005c319d0000700be2a..."} 
[2026-04-22 03:21:12] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db205bdf0012d8070c005c319d0000700be2a..."} 
[2026-04-22 03:21:12] local.INFO: Packet analysis {"connection_id":50270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db205"} 
[2026-04-22 03:21:12] local.INFO: Extracted packet for processing {"connection_id":50270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db205"} 
[2026-04-22 03:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763392192,"raw_latitude":96672208,"longitude_deg":76.3392192,"latitude_deg":9.6672208,"altitude":7,"angle":190,"satellites":42,"speed":53,"hex_longitude":"2d8070c0","hex_latitude":"05c319d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862900736001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278410517544960000,"note":"Value kept but may cause issues"} 
[2026-04-22 03:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189946858619738112,"note":"Value kept but may cause issues"} 
[2026-04-22 03:21:12] 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-22 03:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776808214000,"timestamp_ms":1776808214000,"timestamp_seconds":1776808214,"priority":1,"record_length":96,"hex_timestamp":"0000019db205bdf0"} 
[2026-04-22 03: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-22 03:21: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-22 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:21: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-22 03: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-22 03: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-22 03:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:21:12] 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-22 03:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862900736001,"66":27397,"179":206,"85":12288,"24":53,"16":278410517544960000,"45":-9189946858619738112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 03:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862900736001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:21:12] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 03:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278410517544960000,"km_value":278410517544960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189946858619738112,"description":"Unknown IO ID 45"} 
[2026-04-22 03:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862900736001,"power":27397,"unknown_179":206,"unknown_85":12288,"ignition":53,"odometer":null,"unknown_45":-9189946858619738112}} 
[2026-04-22 03:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":50270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:21:12] local.INFO: GPS data processed {"connection_id":50270,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:21:12] local.INFO: Acknowledgment sent {"connection_id":50270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:21:24] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:21:24] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:21:24] local.INFO: IMEI packet received {"connection_id":50271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":50271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:21:27] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:21:27] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:21:27] local.INFO: IMEI packet received {"connection_id":50271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:21:30] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:21:30] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:21:30] local.INFO: IMEI packet received {"connection_id":50271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":50271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:21:31] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db205d948012d806a4005c2f450000800bc2b..."} 
[2026-04-22 03:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db205d948012d806a4005c2f450000800bc2b..."} 
[2026-04-22 03:21:31] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db205d948012d806a4005c2f450000800bc2b..."} 
[2026-04-22 03:21:31] local.INFO: Packet analysis {"connection_id":50271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db205"} 
[2026-04-22 03:21:31] local.INFO: Extracted packet for processing {"connection_id":50271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db205"} 
[2026-04-22 03:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763390528,"raw_latitude":96662608,"longitude_deg":76.3390528,"latitude_deg":9.6662608,"altitude":8,"angle":188,"satellites":43,"speed":56,"hex_longitude":"2d806a40","hex_latitude":"05c2f450","is_valid_coordinates":true} 
[2026-04-22 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-22 03:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862902784001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278410989991362560,"note":"Value kept but may cause issues"} 
[2026-04-22 03:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191635708482564096,"note":"Value kept but may cause issues"} 
[2026-04-22 03:21:31] 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-22 03:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776808221000,"timestamp_ms":1776808221000,"timestamp_seconds":1776808221,"priority":1,"record_length":96,"hex_timestamp":"0000019db205d948"} 
[2026-04-22 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-22 03:21: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-22 03:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 03:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 03:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862902784001,"66":27321,"179":206,"85":12288,"24":56,"16":278410989991362560,"45":-9191635708482564096},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 03:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862902784001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:21:31] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 03:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278410989991362560,"km_value":278410989991362.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191635708482564096,"description":"Unknown IO ID 45"} 
[2026-04-22 03:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862902784001,"power":27321,"unknown_179":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":-9191635708482564096}} 
[2026-04-22 03:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":50271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:21:31] local.INFO: GPS data processed {"connection_id":50271,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:21:31] local.INFO: Acknowledgment sent {"connection_id":50271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:22:02] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db205f4a0012d80648005c2cd78000800bb2a..."} 
[2026-04-22 03:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db205f4a0012d80648005c2cd78000800bb2a..."} 
[2026-04-22 03:22:02] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db205f4a0012d80648005c2cd78000800bb2a..."} 
[2026-04-22 03:22:02] local.INFO: Packet analysis {"connection_id":50271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db205"} 
[2026-04-22 03:22:02] local.INFO: Extracted packet for processing {"connection_id":50271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db205"} 
[2026-04-22 03:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763389056,"raw_latitude":96652664,"longitude_deg":76.3389056,"latitude_deg":9.6652664,"altitude":8,"angle":187,"satellites":42,"speed":58,"hex_longitude":"2d806480","hex_latitude":"05c2cd78","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862904576001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278411479617634304,"note":"Value kept but may cause issues"} 
[2026-04-22 03:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193465295833640960,"note":"Value kept but may cause issues"} 
[2026-04-22 03:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776808228000,"timestamp_ms":1776808228000,"timestamp_seconds":1776808228,"priority":1,"record_length":96,"hex_timestamp":"0000019db205f4a0"} 
[2026-04-22 03: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-22 03:22: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-22 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:22: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-22 03: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-22 03: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-22 03:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862904576001,"66":27343,"179":206,"85":12288,"24":58,"16":278411479617634304,"45":-9193465295833640960},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 03:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862904576001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:22:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 03:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278411479617634304,"km_value":278411479617634.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193465295833640960,"description":"Unknown IO ID 45"} 
[2026-04-22 03:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862904576001,"power":27343,"unknown_179":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":-9193465295833640960}} 
[2026-04-22 03:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":50271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:22:02] local.INFO: GPS data processed {"connection_id":50271,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:22:02] local.INFO: Acknowledgment sent {"connection_id":50271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:22:25] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:22:25] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:22:25] local.INFO: IMEI packet received {"connection_id":50782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":50782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:22:27] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:22:27] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:22:27] local.INFO: IMEI packet received {"connection_id":50782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:22:32] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:22:32] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:22:32] local.INFO: IMEI packet received {"connection_id":50782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:22:33] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2060c10012d805fc005c2aa38000800bb2b..."} 
[2026-04-22 03:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2060c10012d805fc005c2aa38000800bb2b..."} 
[2026-04-22 03:22:33] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2060c10012d805fc005c2aa38000800bb2b..."} 
[2026-04-22 03:22:33] local.INFO: Packet analysis {"connection_id":50782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db206"} 
[2026-04-22 03:22:33] local.INFO: Extracted packet for processing {"connection_id":50782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db206"} 
[2026-04-22 03:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763387840,"raw_latitude":96643640,"longitude_deg":76.338784,"latitude_deg":9.664364,"altitude":8,"angle":187,"satellites":43,"speed":61,"hex_longitude":"2d805fc0","hex_latitude":"05c2aa38","is_valid_coordinates":true} 
[2026-04-22 03:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862906368001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278411921999265792,"note":"Value kept but may cause issues"} 
[2026-04-22 03:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195083776952272896,"note":"Value kept but may cause issues"} 
[2026-04-22 03:22:33] 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-22 03:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808234000,"timestamp_ms":1776808234000,"timestamp_seconds":1776808234,"priority":1,"record_length":96,"hex_timestamp":"0000019db2060c10"} 
[2026-04-22 03:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03:22:33] 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-22 03:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862906368001,"66":27213,"179":206,"85":12288,"24":61,"16":278411921999265792,"45":-9195083776952272896},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 03:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862906368001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:22:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 03:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278411921999265792,"km_value":278411921999265.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195083776952272896,"description":"Unknown IO ID 45"} 
[2026-04-22 03:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862906368001,"power":27213,"unknown_179":206,"unknown_85":12288,"ignition":61,"odometer":null,"unknown_45":-9195083776952272896}} 
[2026-04-22 03:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":50782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:22:33] local.INFO: GPS data processed {"connection_id":50782,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:22:33] local.INFO: Acknowledgment sent {"connection_id":50782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:23:04] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2075fe8012d802e0005c13cb8000500b62b..."} 
[2026-04-22 03:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2075fe8012d802e0005c13cb8000500b62b..."} 
[2026-04-22 03:23:04] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2075fe8012d802e0005c13cb8000500b62b..."} 
[2026-04-22 03:23:04] local.INFO: Packet analysis {"connection_id":50782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db207"} 
[2026-04-22 03:23:04] local.INFO: Extracted packet for processing {"connection_id":50782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db207"} 
[2026-04-22 03:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763375104,"raw_latitude":96550072,"longitude_deg":76.3375104,"latitude_deg":9.6550072,"altitude":5,"angle":182,"satellites":43,"speed":26,"hex_longitude":"2d802e00","hex_latitude":"05c13cb8","is_valid_coordinates":true} 
[2026-04-22 03:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862926592001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278416504729370624,"note":"Value kept but may cause issues"} 
[2026-04-22 03:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209087157067530240,"note":"Value kept but may cause issues"} 
[2026-04-22 03:23:04] 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-22 03:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776808321000,"timestamp_ms":1776808321000,"timestamp_seconds":1776808321,"priority":1,"record_length":96,"hex_timestamp":"0000019db2075fe8"} 
[2026-04-22 03:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:23: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-22 03:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862926592001,"66":27267,"225":206,"85":12288,"24":26,"16":278416504729370624,"45":-9209087157067530240},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-22 03:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862926592001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:23:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-22 03:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278416504729370624,"km_value":278416504729370.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209087157067530240,"description":"Unknown IO ID 45"} 
[2026-04-22 03:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862926592001,"power":27267,"unknown_225":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9209087157067530240}} 
[2026-04-22 03:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":50782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:23:04] local.INFO: GPS data processed {"connection_id":50782,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:23:04] local.INFO: Acknowledgment sent {"connection_id":50782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:23:32] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:23:32] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:23:32] local.INFO: IMEI packet received {"connection_id":50272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:23:34] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:23:34] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:23:34] local.INFO: IMEI packet received {"connection_id":50272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":50272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:23:37] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:23:37] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:23:37] local.INFO: IMEI packet received {"connection_id":50272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":50272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:23:38] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2078ec8012d802ac005c11760000500ba2b..."} 
[2026-04-22 03:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2078ec8012d802ac005c11760000500ba2b..."} 
[2026-04-22 03:23:38] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2078ec8012d802ac005c11760000500ba2b..."} 
[2026-04-22 03:23:38] local.INFO: Packet analysis {"connection_id":50272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db207"} 
[2026-04-22 03:23:38] local.INFO: Extracted packet for processing {"connection_id":50272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db207"} 
[2026-04-22 03:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763374272,"raw_latitude":96540512,"longitude_deg":76.3374272,"latitude_deg":9.6540512,"altitude":5,"angle":186,"satellites":43,"speed":35,"hex_longitude":"2d802ac0","hex_latitude":"05c11760","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862930176001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278416968585838592,"note":"Value kept but may cause issues"} 
[2026-04-22 03:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9210424163209267200,"note":"Value kept but may cause issues"} 
[2026-04-22 03:23:38] 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-22 03:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776808333000,"timestamp_ms":1776808333000,"timestamp_seconds":1776808333,"priority":1,"record_length":96,"hex_timestamp":"0000019db2078ec8"} 
[2026-04-22 03: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-22 03:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862930176001,"66":27365,"225":206,"85":12288,"24":35,"16":278416968585838592,"45":-9210424163209267200},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-22 03:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862930176001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:23:38] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-22 03:23:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278416968585838592,"km_value":278416968585838.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9210424163209267200,"description":"Unknown IO ID 45"} 
[2026-04-22 03:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862930176001,"power":27365,"unknown_225":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":-9210424163209267200}} 
[2026-04-22 03:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":50272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:23:38] local.INFO: GPS data processed {"connection_id":50272,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:23:38] local.INFO: Acknowledgment sent {"connection_id":50272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:24:09] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db207b5d8012d80264005c0f3f8000600bc2c..."} 
[2026-04-22 03:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db207b5d8012d80264005c0f3f8000600bc2c..."} 
[2026-04-22 03:24:09] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db207b5d8012d80264005c0f3f8000600bc2c..."} 
[2026-04-22 03:24:09] local.INFO: Packet analysis {"connection_id":50272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db207"} 
[2026-04-22 03:24:09] local.INFO: Extracted packet for processing {"connection_id":50272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db207"} 
[2026-04-22 03:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763373120,"raw_latitude":96531448,"longitude_deg":76.337312,"latitude_deg":9.6531448,"altitude":6,"angle":188,"satellites":44,"speed":38,"hex_longitude":"2d802640","hex_latitude":"05c0f3f8","is_valid_coordinates":true} 
[2026-04-22 03:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862933248001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278417410967470080,"note":"Value kept but may cause issues"} 
[2026-04-22 03:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9211338956886024192,"note":"Value kept but may cause issues"} 
[2026-04-22 03:24:09] 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-22 03:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776808343000,"timestamp_ms":1776808343000,"timestamp_seconds":1776808343,"priority":1,"record_length":96,"hex_timestamp":"0000019db207b5d8"} 
[2026-04-22 03:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:24: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-22 03:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:24: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-22 03:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862933248001,"66":27332,"225":206,"85":12288,"24":38,"16":278417410967470080,"45":-9211338956886024192},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-22 03:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862933248001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:24:09] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-22 03:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278417410967470080,"km_value":278417410967470.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9211338956886024192,"description":"Unknown IO ID 45"} 
[2026-04-22 03:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862933248001,"power":27332,"unknown_225":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":-9211338956886024192}} 
[2026-04-22 03:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":50272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:24:09] local.INFO: GPS data processed {"connection_id":50272,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:24:09] local.INFO: Acknowledgment sent {"connection_id":50272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:24:27] local.INFO: TCP Data received {"connection_id":50783,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:24:27] local.INFO: Processing buffer {"connection_id":50783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:24:27] local.INFO: IMEI packet received {"connection_id":50783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":50783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:24:32] local.INFO: TCP Data received {"connection_id":50783,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:24:32] local.INFO: Processing buffer {"connection_id":50783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:24:32] local.INFO: IMEI packet received {"connection_id":50783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:24:33] local.INFO: TCP Data received {"connection_id":50783,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db207d900012d80214005c0d100000700bc2d..."} 
[2026-04-22 03:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db207d900012d80214005c0d100000700bc2d..."} 
[2026-04-22 03:24:33] local.INFO: Processing buffer {"connection_id":50783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db207d900012d80214005c0d100000700bc2d..."} 
[2026-04-22 03:24:33] local.INFO: Packet analysis {"connection_id":50783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db207"} 
[2026-04-22 03:24:33] local.INFO: Extracted packet for processing {"connection_id":50783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db207"} 
[2026-04-22 03:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763371840,"raw_latitude":96522496,"longitude_deg":76.337184,"latitude_deg":9.6522496,"altitude":7,"angle":188,"satellites":45,"speed":39,"hex_longitude":"2d802140","hex_latitude":"05c0d100","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862935808001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278417849054134272,"note":"Value kept but may cause issues"} 
[2026-04-22 03:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212605594283542528,"note":"Value kept but may cause issues"} 
[2026-04-22 03:24:33] 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-22 03:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808352000,"timestamp_ms":1776808352000,"timestamp_seconds":1776808352,"priority":1,"record_length":96,"hex_timestamp":"0000019db207d900"} 
[2026-04-22 03: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-22 03:24: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-22 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 03:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862935808001,"66":27321,"225":206,"85":12288,"24":39,"16":278417849054134272,"45":-9212605594283542528},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-22 03:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862935808001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:24:33] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-22 03:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 03:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278417849054134272,"km_value":278417849054134.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212605594283542528,"description":"Unknown IO ID 45"} 
[2026-04-22 03:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862935808001,"power":27321,"unknown_225":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-9212605594283542528}} 
[2026-04-22 03:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":50783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:24:33] local.INFO: GPS data processed {"connection_id":50783,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:24:33] local.INFO: Acknowledgment sent {"connection_id":50783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:25:04] local.INFO: TCP Data received {"connection_id":50783,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20953e8012d7fd90005bf1538000800bc2d..."} 
[2026-04-22 03:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20953e8012d7fd90005bf1538000800bc2d..."} 
[2026-04-22 03:25:04] local.INFO: Processing buffer {"connection_id":50783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20953e8012d7fd90005bf1538000800bc2d..."} 
[2026-04-22 03:25:04] local.INFO: Packet analysis {"connection_id":50783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:25:04] local.INFO: Extracted packet for processing {"connection_id":50783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763353344,"raw_latitude":96408888,"longitude_deg":76.3353344,"latitude_deg":9.6408888,"altitude":8,"angle":188,"satellites":45,"speed":43,"hex_longitude":"2d7fd900","hex_latitude":"05bf1538","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862960640001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278423436806586368,"note":"Value kept but may cause issues"} 
[2026-04-22 03:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214083387306317824,"note":"Value kept but may cause issues"} 
[2026-04-22 03:25: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-22 03:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776808449000,"timestamp_ms":1776808449000,"timestamp_seconds":1776808449,"priority":1,"record_length":96,"hex_timestamp":"0000019db20953e8"} 
[2026-04-22 03: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-22 03:25: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-22 03: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":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862960640001,"66":27365,"119":206,"85":12544,"24":43,"16":278423436806586368,"45":9214083387306317824},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 03:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862960640001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:25:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 03:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278423436806586368,"km_value":278423436806586.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214083387306317824,"description":"Unknown IO ID 45"} 
[2026-04-22 03:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862960640001,"power":27365,"unknown_119":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9214083387306317824}} 
[2026-04-22 03:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":50783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:25:04] local.INFO: GPS data processed {"connection_id":50783,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:25:04] local.INFO: Acknowledgment sent {"connection_id":50783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:25:27] local.INFO: TCP Data received {"connection_id":50273,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:25:27] local.INFO: Processing buffer {"connection_id":50273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:25:27] local.INFO: IMEI packet received {"connection_id":50273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:25:27] local.INFO: TCP Data received {"connection_id":49891,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:25:27] local.INFO: Processing buffer {"connection_id":49891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:25:27] local.INFO: IMEI packet received {"connection_id":49891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":49891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:25:32] local.INFO: TCP Data received {"connection_id":50273,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:25:32] local.INFO: Processing buffer {"connection_id":50273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:25:32] local.INFO: IMEI packet received {"connection_id":50273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:25:33] local.INFO: TCP Data received {"connection_id":50273,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2097328012d7fd3c005bef090000800bc2d..."} 
[2026-04-22 03:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2097328012d7fd3c005bef090000800bc2d..."} 
[2026-04-22 03:25:33] local.INFO: Processing buffer {"connection_id":50273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2097328012d7fd3c005bef090000800bc2d..."} 
[2026-04-22 03:25:33] local.INFO: Packet analysis {"connection_id":50273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:25:33] local.INFO: Extracted packet for processing {"connection_id":50273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763352000,"raw_latitude":96399504,"longitude_deg":76.3352,"latitude_deg":9.6399504,"altitude":8,"angle":188,"satellites":45,"speed":50,"hex_longitude":"2d7fd3c0","hex_latitude":"05bef090","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862962944001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278423896368087040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212394537443735552,"note":"Value kept but may cause issues"} 
[2026-04-22 03:25:33] 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-22 03:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808457000,"timestamp_ms":1776808457000,"timestamp_seconds":1776808457,"priority":1,"record_length":96,"hex_timestamp":"0000019db2097328"} 
[2026-04-22 03: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-22 03:25: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-22 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862962944001,"66":27213,"119":206,"85":12544,"24":50,"16":278423896368087040,"45":9212394537443735552},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 03:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862962944001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:25:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 03:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278423896368087040,"km_value":278423896368087.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212394537443735552,"description":"Unknown IO ID 45"} 
[2026-04-22 03:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862962944001,"power":27213,"unknown_119":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9212394537443735552}} 
[2026-04-22 03:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":50273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:25:33] local.INFO: GPS data processed {"connection_id":50273,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:25:33] local.INFO: Acknowledgment sent {"connection_id":50273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:25:52] local.INFO: TCP Data received {"connection_id":50274,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:25:52] local.INFO: Processing buffer {"connection_id":50274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:25:52] local.INFO: IMEI packet received {"connection_id":50274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":50274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:26:04] local.INFO: TCP Data received {"connection_id":50273,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2098e80012d7fce8005becd30000700bc2d..."} 
[2026-04-22 03:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2098e80012d7fce8005becd30000700bc2d..."} 
[2026-04-22 03:26:04] local.INFO: Processing buffer {"connection_id":50273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2098e80012d7fce8005becd30000700bc2d..."} 
[2026-04-22 03:26:04] local.INFO: Packet analysis {"connection_id":50273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:26:04] local.INFO: Extracted packet for processing {"connection_id":50273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763350656,"raw_latitude":96390448,"longitude_deg":76.3350656,"latitude_deg":9.6390448,"altitude":7,"angle":188,"satellites":45,"speed":52,"hex_longitude":"2d7fce80","hex_latitude":"05becd30","is_valid_coordinates":true} 
[2026-04-22 03:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862964992001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278424338749718528,"note":"Value kept but may cause issues"} 
[2026-04-22 03:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9210916793813602304,"note":"Value kept but may cause issues"} 
[2026-04-22 03:26: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-22 03:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776808464000,"timestamp_ms":1776808464000,"timestamp_seconds":1776808464,"priority":1,"record_length":96,"hex_timestamp":"0000019db2098e80"} 
[2026-04-22 03:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:26: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-22 03:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 03:26: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-22 03:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862964992001,"66":27289,"119":206,"85":12544,"24":52,"16":278424338749718528,"45":9210916793813602304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 03:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862964992001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:26:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 03:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278424338749718528,"km_value":278424338749718.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9210916793813602304,"description":"Unknown IO ID 45"} 
[2026-04-22 03:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862964992001,"power":27289,"unknown_119":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9210916793813602304}} 
[2026-04-22 03:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":50273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:26:04] local.INFO: GPS data processed {"connection_id":50273,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:26:04] local.INFO: Acknowledgment sent {"connection_id":50273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:26:27] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:26:27] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:26:27] local.INFO: IMEI packet received {"connection_id":50275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:26:30] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:26:30] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:26:30] local.INFO: IMEI packet received {"connection_id":50275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":50275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:26:32] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:26:32] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:26:32] local.INFO: IMEI packet received {"connection_id":50275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:26:33] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db209adc0012d7fc84005bea710000800bd2d..."} 
[2026-04-22 03:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db209adc0012d7fc84005bea710000800bd2d..."} 
[2026-04-22 03:26:33] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db209adc0012d7fc84005bea710000800bd2d..."} 
[2026-04-22 03:26:33] local.INFO: Packet analysis {"connection_id":50275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:26:33] local.INFO: Extracted packet for processing {"connection_id":50275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763349056,"raw_latitude":96380688,"longitude_deg":76.3349056,"latitude_deg":9.6380688,"altitude":8,"angle":189,"satellites":45,"speed":44,"hex_longitude":"2d7fc840","hex_latitude":"05bea710","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862966784001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278424819786055680,"note":"Value kept but may cause issues"} 
[2026-04-22 03:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9209439050183553024,"note":"Value kept but may cause issues"} 
[2026-04-22 03:26:33] 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-22 03:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808472000,"timestamp_ms":1776808472000,"timestamp_seconds":1776808472,"priority":1,"record_length":96,"hex_timestamp":"0000019db209adc0"} 
[2026-04-22 03: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-22 03:26: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-22 03: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-22 03:26:33] 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-22 03: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-22 03: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-22 03:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862966784001,"66":27343,"119":206,"85":12544,"24":44,"16":278424819786055680,"45":9209439050183553024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 03:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862966784001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:26:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 03:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278424819786055680,"km_value":278424819786055.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9209439050183553024,"description":"Unknown IO ID 45"} 
[2026-04-22 03:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862966784001,"power":27343,"unknown_119":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9209439050183553024}} 
[2026-04-22 03:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:26:33] local.INFO: GPS data processed {"connection_id":50275,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:26:33] local.INFO: Acknowledgment sent {"connection_id":50275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:27:04] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db209e858012d7fc2c005be8418000600be2b..."} 
[2026-04-22 03:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db209e858012d7fc2c005be8418000600be2b..."} 
[2026-04-22 03:27:04] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db209e858012d7fc2c005be8418000600be2b..."} 
[2026-04-22 03:27:04] local.INFO: Packet analysis {"connection_id":50275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:27:04] local.INFO: Extracted packet for processing {"connection_id":50275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db209"} 
[2026-04-22 03:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763347648,"raw_latitude":96371736,"longitude_deg":76.3347648,"latitude_deg":9.6371736,"altitude":6,"angle":190,"satellites":43,"speed":26,"hex_longitude":"2d7fc2c0","hex_latitude":"05be8418","is_valid_coordinates":true} 
[2026-04-22 03:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862968832001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278425262167687168,"note":"Value kept but may cause issues"} 
[2026-04-22 03:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207679831576612864,"note":"Value kept but may cause issues"} 
[2026-04-22 03:27: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-22 03:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776808487000,"timestamp_ms":1776808487000,"timestamp_seconds":1776808487,"priority":1,"record_length":96,"hex_timestamp":"0000019db209e858"} 
[2026-04-22 03:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:27: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-22 03:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03:27:04] 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-22 03:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862968832001,"66":27343,"119":206,"85":12544,"24":26,"16":278425262167687168,"45":9207679831576612864},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 03:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862968832001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:27:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 03:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278425262167687168,"km_value":278425262167687.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207679831576612864,"description":"Unknown IO ID 45"} 
[2026-04-22 03:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862968832001,"power":27343,"unknown_119":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9207679831576612864}} 
[2026-04-22 03:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:27:04] local.INFO: GPS data processed {"connection_id":50275,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:27:04] local.INFO: Acknowledgment sent {"connection_id":50275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:27:32] local.INFO: TCP Data received {"connection_id":50784,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:27:32] local.INFO: Processing buffer {"connection_id":50784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:27:32] local.INFO: IMEI packet received {"connection_id":50784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:27:37] local.INFO: TCP Data received {"connection_id":50784,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:27:37] local.INFO: Processing buffer {"connection_id":50784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:27:37] local.INFO: IMEI packet received {"connection_id":50784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":50784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:27:38] local.INFO: TCP Data received {"connection_id":50784,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20a1b20012d7fbbc005be60f8000500bf2c..."} 
[2026-04-22 03:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20a1b20012d7fbbc005be60f8000500bf2c..."} 
[2026-04-22 03:27:38] local.INFO: Processing buffer {"connection_id":50784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20a1b20012d7fbbc005be60f8000500bf2c..."} 
[2026-04-22 03:27:38] local.INFO: Packet analysis {"connection_id":50784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20a"} 
[2026-04-22 03:27:38] local.INFO: Extracted packet for processing {"connection_id":50784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20a"} 
[2026-04-22 03:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763345856,"raw_latitude":96362744,"longitude_deg":76.3345856,"latitude_deg":9.6362744,"altitude":5,"angle":191,"satellites":44,"speed":27,"hex_longitude":"2d7fbbc0","hex_latitude":"05be60f8","is_valid_coordinates":true} 
[2026-04-22 03:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862972672001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278425704549318656,"note":"Value kept but may cause issues"} 
[2026-04-22 03:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206131719202412544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:27:38] 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-22 03:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776808500000,"timestamp_ms":1776808500000,"timestamp_seconds":1776808500,"priority":1,"record_length":96,"hex_timestamp":"0000019db20a1b20"} 
[2026-04-22 03:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:27: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-22 03:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03:27: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-22 03:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862972672001,"66":27245,"119":206,"85":12544,"24":27,"16":278425704549318656,"45":9206131719202412544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 03:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862972672001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:27:38] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 03:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278425704549318656,"km_value":278425704549318.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206131719202412544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862972672001,"power":27245,"unknown_119":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9206131719202412544}} 
[2026-04-22 03:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":50784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:27:38] local.INFO: GPS data processed {"connection_id":50784,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:27:38] local.INFO: Acknowledgment sent {"connection_id":50784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:27:42] local.INFO: TCP Data received {"connection_id":50784,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20a4618012d7fb4c005be3d18000500be2c..."} 
[2026-04-22 03:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20a4618012d7fb4c005be3d18000500be2c..."} 
[2026-04-22 03:27:42] local.INFO: Processing buffer {"connection_id":50784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20a4618012d7fb4c005be3d18000500be2c..."} 
[2026-04-22 03:27:42] local.INFO: Packet analysis {"connection_id":50784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20a"} 
[2026-04-22 03:27:42] local.INFO: Extracted packet for processing {"connection_id":50784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20a"} 
[2026-04-22 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763344064,"raw_latitude":96353560,"longitude_deg":76.3344064,"latitude_deg":9.635356,"altitude":5,"angle":190,"satellites":44,"speed":37,"hex_longitude":"2d7fb4c0","hex_latitude":"05be3d18","is_valid_coordinates":true} 
[2026-04-22 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862976000001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278426159815852032,"note":"Value kept but may cause issues"} 
[2026-04-22 03:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204161394363136000,"note":"Value kept but may cause issues"} 
[2026-04-22 03:27:42] 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-22 03:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776808511000,"timestamp_ms":1776808511000,"timestamp_seconds":1776808511,"priority":1,"record_length":96,"hex_timestamp":"0000019db20a4618"} 
[2026-04-22 03:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:27:42] 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-22 03:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:27:42] 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-22 03:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862976000001,"66":27376,"119":206,"85":12544,"24":37,"16":278426159815852032,"45":9204161394363136000},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 03:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862976000001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:27:42] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 03:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278426159815852032,"km_value":278426159815852.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204161394363136000,"description":"Unknown IO ID 45"} 
[2026-04-22 03:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862976000001,"power":27376,"unknown_119":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9204161394363136000}} 
[2026-04-22 03:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":50784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:27:42] local.INFO: GPS data processed {"connection_id":50784,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:27:42] local.INFO: Acknowledgment sent {"connection_id":50784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:28:13] local.INFO: TCP Data received {"connection_id":50784,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20a6d28012d7fae0005be1ad8000600bc2c..."} 
[2026-04-22 03:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20a6d28012d7fae0005be1ad8000600bc2c..."} 
[2026-04-22 03:28:13] local.INFO: Processing buffer {"connection_id":50784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20a6d28012d7fae0005be1ad8000600bc2c..."} 
[2026-04-22 03:28:13] local.INFO: Packet analysis {"connection_id":50784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20a"} 
[2026-04-22 03:28:13] local.INFO: Extracted packet for processing {"connection_id":50784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20a"} 
[2026-04-22 03:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763342336,"raw_latitude":96344792,"longitude_deg":76.3342336,"latitude_deg":9.6344792,"altitude":6,"angle":188,"satellites":44,"speed":35,"hex_longitude":"2d7fae00","hex_latitude":"05be1ad8","is_valid_coordinates":true} 
[2026-04-22 03:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862978816001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278426589312581632,"note":"Value kept but may cause issues"} 
[2026-04-22 03:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9202191069523810304,"note":"Value kept but may cause issues"} 
[2026-04-22 03:28:13] 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-22 03:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776808521000,"timestamp_ms":1776808521000,"timestamp_seconds":1776808521,"priority":1,"record_length":96,"hex_timestamp":"0000019db20a6d28"} 
[2026-04-22 03:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:28: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-22 03:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 03:28:13] 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-22 03:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:28:13] 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-22 03:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862978816001,"66":27365,"119":206,"85":12544,"24":35,"16":278426589312581632,"45":9202191069523810304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 03:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862978816001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:28:13] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 03:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278426589312581632,"km_value":278426589312581.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9202191069523810304,"description":"Unknown IO ID 45"} 
[2026-04-22 03:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862978816001,"power":27365,"unknown_119":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9202191069523810304}} 
[2026-04-22 03:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":50784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:28:13] local.INFO: GPS data processed {"connection_id":50784,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:28:13] local.INFO: Acknowledgment sent {"connection_id":50784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:28:23] local.INFO: TCP Data received {"connection_id":49892,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:28:23] local.INFO: Processing buffer {"connection_id":49892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:28:23] local.INFO: IMEI packet received {"connection_id":49892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":49892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:28:27] local.INFO: TCP Data received {"connection_id":49892,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:28:27] local.INFO: Processing buffer {"connection_id":49892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:28:27] local.INFO: IMEI packet received {"connection_id":49892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":49892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:28:32] local.INFO: TCP Data received {"connection_id":49892,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:28:32] local.INFO: Processing buffer {"connection_id":49892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:28:32] local.INFO: IMEI packet received {"connection_id":49892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":49892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:28:33] local.INFO: TCP Data received {"connection_id":49892,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20a9438012d7fa84005bdf720000700bc2a..."} 
[2026-04-22 03:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20a9438012d7fa84005bdf720000700bc2a..."} 
[2026-04-22 03:28:33] local.INFO: Processing buffer {"connection_id":49892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20a9438012d7fa84005bdf720000700bc2a..."} 
[2026-04-22 03:28:33] local.INFO: Packet analysis {"connection_id":49892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20a"} 
[2026-04-22 03:28:33] local.INFO: Extracted packet for processing {"connection_id":49892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20a"} 
[2026-04-22 03:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763340864,"raw_latitude":96335648,"longitude_deg":76.3340864,"latitude_deg":9.6335648,"altitude":7,"angle":188,"satellites":42,"speed":37,"hex_longitude":"2d7fa840","hex_latitude":"05bdf720","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454862981376001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278427040284147712,"note":"Value kept but may cause issues"} 
[2026-04-22 03:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200291113428768768,"note":"Value kept but may cause issues"} 
[2026-04-22 03:28:33] 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-22 03:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808531000,"timestamp_ms":1776808531000,"timestamp_seconds":1776808531,"priority":1,"record_length":96,"hex_timestamp":"0000019db20a9438"} 
[2026-04-22 03: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-22 03:28: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-22 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454862981376001,"66":27300,"119":206,"85":12544,"24":37,"16":278427040284147712,"45":9200291113428768768},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 03:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454862981376001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:28:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 03:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278427040284147712,"km_value":278427040284147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200291113428768768,"description":"Unknown IO ID 45"} 
[2026-04-22 03:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454862981376001,"power":27300,"unknown_119":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9200291113428768768}} 
[2026-04-22 03:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":49892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:28:33] local.INFO: GPS data processed {"connection_id":49892,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:28:33] local.INFO: Acknowledgment sent {"connection_id":49892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:29:04] local.INFO: TCP Data received {"connection_id":49892,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20d0920012d7f4a0005bc1d98000800bf2b..."} 
[2026-04-22 03:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20d0920012d7f4a0005bc1d98000800bf2b..."} 
[2026-04-22 03:29:04] local.INFO: Processing buffer {"connection_id":49892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20d0920012d7f4a0005bc1d98000800bf2b..."} 
[2026-04-22 03:29:04] local.INFO: Packet analysis {"connection_id":49892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20d"} 
[2026-04-22 03:29:04] local.INFO: Extracted packet for processing {"connection_id":49892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20d"} 
[2026-04-22 03:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763316736,"raw_latitude":96214424,"longitude_deg":76.3316736,"latitude_deg":9.6214424,"altitude":8,"angle":191,"satellites":43,"speed":49,"hex_longitude":"2d7f4a00","hex_latitude":"05bc1d98","is_valid_coordinates":true} 
[2026-04-22 03:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863023104001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278433040353460224,"note":"Value kept but may cause issues"} 
[2026-04-22 03:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174043571819425792,"note":"Value kept but may cause issues"} 
[2026-04-22 03:29:04] 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-22 03:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776808692000,"timestamp_ms":1776808692000,"timestamp_seconds":1776808692,"priority":1,"record_length":96,"hex_timestamp":"0000019db20d0920"} 
[2026-04-22 03:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:29: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-22 03:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:29: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-22 03:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863023104001,"66":27343,"121":206,"85":12544,"24":49,"16":278433040353460224,"45":9174043571819425792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863023104001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:29:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278433040353460224,"km_value":278433040353460.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174043571819425792,"description":"Unknown IO ID 45"} 
[2026-04-22 03:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863023104001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9174043571819425792}} 
[2026-04-22 03:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":49892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:29:04] local.INFO: GPS data processed {"connection_id":49892,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:29:04] local.INFO: Acknowledgment sent {"connection_id":49892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:29:25] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:29:25] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:29:25] local.INFO: IMEI packet received {"connection_id":50277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":50277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:29:27] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:29:27] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:29:27] local.INFO: IMEI packet received {"connection_id":50277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":50277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:29:32] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:29:32] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:29:32] local.INFO: IMEI packet received {"connection_id":50277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:29:33] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20d2478012d7f444005bbfa08000800bd2b..."} 
[2026-04-22 03:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20d2478012d7f444005bbfa08000800bd2b..."} 
[2026-04-22 03:29:33] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20d2478012d7f444005bbfa08000800bd2b..."} 
[2026-04-22 03:29:33] local.INFO: Packet analysis {"connection_id":50277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20d"} 
[2026-04-22 03:29:33] local.INFO: Extracted packet for processing {"connection_id":50277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20d"} 
[2026-04-22 03:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763315264,"raw_latitude":96205320,"longitude_deg":76.3315264,"latitude_deg":9.620532,"altitude":8,"angle":189,"satellites":43,"speed":56,"hex_longitude":"2d7f4440","hex_latitude":"05bbfa08","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863025152001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278433487030059008,"note":"Value kept but may cause issues"} 
[2026-04-22 03:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172143615724328960,"note":"Value kept but may cause issues"} 
[2026-04-22 03:29:33] 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-22 03:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808699000,"timestamp_ms":1776808699000,"timestamp_seconds":1776808699,"priority":1,"record_length":96,"hex_timestamp":"0000019db20d2478"} 
[2026-04-22 03: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-22 03:29: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-22 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03:29:33] 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-22 03: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-22 03: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-22 03:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863025152001,"66":27484,"121":206,"85":12544,"24":56,"16":278433487030059008,"45":9172143615724328960},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863025152001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:29:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278433487030059008,"km_value":278433487030059.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172143615724328960,"description":"Unknown IO ID 45"} 
[2026-04-22 03:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863025152001,"power":27484,"unknown_121":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9172143615724328960}} 
[2026-04-22 03:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":50277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:29:33] local.INFO: GPS data processed {"connection_id":50277,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:29:33] local.INFO: Acknowledgment sent {"connection_id":50277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:30:04] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20d3be8012d7f3e4005bbd7d8000700bd2b..."} 
[2026-04-22 03:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20d3be8012d7f3e4005bbd7d8000700bd2b..."} 
[2026-04-22 03:30:04] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20d3be8012d7f3e4005bbd7d8000700bd2b..."} 
[2026-04-22 03:30:04] local.INFO: Packet analysis {"connection_id":50277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20d"} 
[2026-04-22 03:30:04] local.INFO: Extracted packet for processing {"connection_id":50277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20d"} 
[2026-04-22 03:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763313728,"raw_latitude":96196568,"longitude_deg":76.3313728,"latitude_deg":9.6196568,"altitude":7,"angle":189,"satellites":43,"speed":60,"hex_longitude":"2d7f3e40","hex_latitude":"05bbd7d8","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863026944001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278433916526788608,"note":"Value kept but may cause issues"} 
[2026-04-22 03:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170525134605912064,"note":"Value kept but may cause issues"} 
[2026-04-22 03:30:04] 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-22 03:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776808705000,"timestamp_ms":1776808705000,"timestamp_seconds":1776808705,"priority":1,"record_length":96,"hex_timestamp":"0000019db20d3be8"} 
[2026-04-22 03: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-22 03:30: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-22 03:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 03:30: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-22 03: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-22 03: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-22 03:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863026944001,"66":27245,"121":206,"85":12544,"24":60,"16":278433916526788608,"45":9170525134605912064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863026944001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:30:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278433916526788608,"km_value":278433916526788.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170525134605912064,"description":"Unknown IO ID 45"} 
[2026-04-22 03:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863026944001,"power":27245,"unknown_121":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9170525134605912064}} 
[2026-04-22 03:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":50277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:30:04] local.INFO: GPS data processed {"connection_id":50277,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:30:04] local.INFO: Acknowledgment sent {"connection_id":50277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:30:28] local.INFO: TCP Data received {"connection_id":49894,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:30:28] local.INFO: Processing buffer {"connection_id":49894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:30:28] local.INFO: IMEI packet received {"connection_id":49894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":49894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:30:32] local.INFO: TCP Data received {"connection_id":49894,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:30:32] local.INFO: Processing buffer {"connection_id":49894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:30:32] local.INFO: IMEI packet received {"connection_id":49894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":49894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:30:33] local.INFO: TCP Data received {"connection_id":49894,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20d5358012d7f380005bbb498000600c02b..."} 
[2026-04-22 03:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20d5358012d7f380005bbb498000600c02b..."} 
[2026-04-22 03:30:33] local.INFO: Processing buffer {"connection_id":49894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20d5358012d7f380005bbb498000600c02b..."} 
[2026-04-22 03:30:33] local.INFO: Packet analysis {"connection_id":49894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20d"} 
[2026-04-22 03:30:33] local.INFO: Extracted packet for processing {"connection_id":49894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20d"} 
[2026-04-22 03:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763312128,"raw_latitude":96187544,"longitude_deg":76.3312128,"latitude_deg":9.6187544,"altitude":6,"angle":192,"satellites":43,"speed":60,"hex_longitude":"2d7f3800","hex_latitude":"05bbb498","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863028480001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278434363203387392,"note":"Value kept but may cause issues"} 
[2026-04-22 03:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168836284743407616,"note":"Value kept but may cause issues"} 
[2026-04-22 03:30:33] 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-22 03:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808711000,"timestamp_ms":1776808711000,"timestamp_seconds":1776808711,"priority":1,"record_length":96,"hex_timestamp":"0000019db20d5358"} 
[2026-04-22 03: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-22 03:30: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-22 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:30:33] 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-22 03: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-22 03: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-22 03:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863028480001,"66":27343,"121":206,"85":12544,"24":60,"16":278434363203387392,"45":9168836284743407616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863028480001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:30:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278434363203387392,"km_value":278434363203387.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168836284743407616,"description":"Unknown IO ID 45"} 
[2026-04-22 03:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863028480001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9168836284743407616}} 
[2026-04-22 03:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":49894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:30:33] local.INFO: GPS data processed {"connection_id":49894,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:30:33] local.INFO: Acknowledgment sent {"connection_id":49894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:31:04] local.INFO: TCP Data received {"connection_id":49894,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20ebea0012d7eff4005ba2b10000700bc28..."} 
[2026-04-22 03:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20ebea0012d7eff4005ba2b10000700bc28..."} 
[2026-04-22 03:31:04] local.INFO: Processing buffer {"connection_id":49894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20ebea0012d7eff4005ba2b10000700bc28..."} 
[2026-04-22 03:31:04] local.INFO: Packet analysis {"connection_id":49894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20e"} 
[2026-04-22 03:31:04] local.INFO: Extracted packet for processing {"connection_id":49894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20e"} 
[2026-04-22 03:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763297600,"raw_latitude":96086800,"longitude_deg":76.32976,"latitude_deg":9.60868,"altitude":7,"angle":188,"satellites":40,"speed":42,"hex_longitude":"2d7eff40","hex_latitude":"05ba2b10","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863051520001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278439311005712384,"note":"Value kept but may cause issues"} 
[2026-04-22 03:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152721842301052928,"note":"Value kept but may cause issues"} 
[2026-04-22 03:31:04] 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-22 03:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776808804000,"timestamp_ms":1776808804000,"timestamp_seconds":1776808804,"priority":1,"record_length":96,"hex_timestamp":"0000019db20ebea0"} 
[2026-04-22 03: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-22 03:31: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-22 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 03:31:04] 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-22 03: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-22 03: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-22 03:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863051520001,"66":27267,"121":206,"85":12544,"24":42,"16":278439311005712384,"45":9152721842301052928},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863051520001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:31:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278439311005712384,"km_value":278439311005712.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152721842301052928,"description":"Unknown IO ID 45"} 
[2026-04-22 03:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863051520001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9152721842301052928}} 
[2026-04-22 03:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":49894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:31:04] local.INFO: GPS data processed {"connection_id":49894,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:31:04] local.INFO: Acknowledgment sent {"connection_id":49894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:31:22] local.INFO: TCP Data received {"connection_id":50278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:31:22] local.INFO: Processing buffer {"connection_id":50278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:31:22] local.INFO: IMEI packet received {"connection_id":50278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":50278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:31:26] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:31:26] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:31:26] local.INFO: IMEI packet received {"connection_id":50279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":50279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:31:27] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:31:27] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:31:27] local.INFO: IMEI packet received {"connection_id":50279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":50279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:31:32] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:31:32] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:31:32] local.INFO: IMEI packet received {"connection_id":50279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:31:33] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20edde0012d7ef94005ba0698000700be27..."} 
[2026-04-22 03:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20edde0012d7ef94005ba0698000700be27..."} 
[2026-04-22 03:31:33] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20edde0012d7ef94005ba0698000700be27..."} 
[2026-04-22 03:31:33] local.INFO: Packet analysis {"connection_id":50279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20e"} 
[2026-04-22 03:31:33] local.INFO: Extracted packet for processing {"connection_id":50279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20e"} 
[2026-04-22 03:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763296064,"raw_latitude":96077464,"longitude_deg":76.3296064,"latitude_deg":9.6077464,"altitude":7,"angle":190,"satellites":39,"speed":51,"hex_longitude":"2d7ef940","hex_latitude":"05ba0698","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863053824001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278439770567213056,"note":"Value kept but may cause issues"} 
[2026-04-22 03:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151103361182535680,"note":"Value kept but may cause issues"} 
[2026-04-22 03:31:33] 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-22 03:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808812000,"timestamp_ms":1776808812000,"timestamp_seconds":1776808812,"priority":1,"record_length":96,"hex_timestamp":"0000019db20edde0"} 
[2026-04-22 03: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-22 03:31: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-22 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:31: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-22 03: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-22 03: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-22 03:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863053824001,"66":27213,"121":206,"85":12544,"24":51,"16":278439770567213056,"45":9151103361182535680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863053824001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:31:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278439770567213056,"km_value":278439770567213.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151103361182535680,"description":"Unknown IO ID 45"} 
[2026-04-22 03:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863053824001,"power":27213,"unknown_121":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9151103361182535680}} 
[2026-04-22 03:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":50279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:31:33] local.INFO: GPS data processed {"connection_id":50279,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:31:33] local.INFO: Acknowledgment sent {"connection_id":50279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:31:52] local.INFO: TCP Data received {"connection_id":50136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:31:52] local.INFO: Processing buffer {"connection_id":50136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:31:52] local.INFO: IMEI packet received {"connection_id":50136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":50136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:32:05] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20ef938012d7ef30005b9e328000600bd27..."} 
[2026-04-22 03:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20ef938012d7ef30005b9e328000600bd27..."} 
[2026-04-22 03:32:05] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20ef938012d7ef30005b9e328000600bd27..."} 
[2026-04-22 03:32:05] local.INFO: Packet analysis {"connection_id":50279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20e"} 
[2026-04-22 03:32:05] local.INFO: Extracted packet for processing {"connection_id":50279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20e"} 
[2026-04-22 03:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763294464,"raw_latitude":96068392,"longitude_deg":76.3294464,"latitude_deg":9.6068392,"altitude":6,"angle":189,"satellites":39,"speed":52,"hex_longitude":"2d7ef300","hex_latitude":"05b9e328","is_valid_coordinates":true} 
[2026-04-22 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-22 03:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863055872001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278440217243811840,"note":"Value kept but may cause issues"} 
[2026-04-22 03:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149414511319881728,"note":"Value kept but may cause issues"} 
[2026-04-22 03:32:05] 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-22 03:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776808819000,"timestamp_ms":1776808819000,"timestamp_seconds":1776808819,"priority":1,"record_length":96,"hex_timestamp":"0000019db20ef938"} 
[2026-04-22 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-22 03:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":77,"data_length":795,"current_offset":136} 
[2026-04-22 03:32: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-22 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-22 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-22 03:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863055872001,"66":27343,"121":206,"85":12544,"24":52,"16":278440217243811840,"45":9149414511319881728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863055872001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278440217243811840,"km_value":278440217243811.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149414511319881728,"description":"Unknown IO ID 45"} 
[2026-04-22 03:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863055872001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9149414511319881728}} 
[2026-04-22 03:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":50279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:32:05] local.INFO: GPS data processed {"connection_id":50279,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:32:05] local.INFO: Acknowledgment sent {"connection_id":50279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:32:32] local.INFO: TCP Data received {"connection_id":50137,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:32:32] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:32:32] local.INFO: IMEI packet received {"connection_id":50137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:32:32] local.INFO: TCP Data received {"connection_id":50137,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:32:32] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:32:32] local.INFO: IMEI packet received {"connection_id":50137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:32:37] local.INFO: TCP Data received {"connection_id":50137,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:32:37] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:32:37] local.INFO: IMEI packet received {"connection_id":50137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":50137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:32:38] local.INFO: TCP Data received {"connection_id":50137,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20f1490012d7eecc005b9bf10000600bd27..."} 
[2026-04-22 03:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20f1490012d7eecc005b9bf10000600bd27..."} 
[2026-04-22 03:32:38] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20f1490012d7eecc005b9bf10000600bd27..."} 
[2026-04-22 03:32:38] local.INFO: Packet analysis {"connection_id":50137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20f"} 
[2026-04-22 03:32:38] local.INFO: Extracted packet for processing {"connection_id":50137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20f"} 
[2026-04-22 03:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763292864,"raw_latitude":96059152,"longitude_deg":76.3292864,"latitude_deg":9.6059152,"altitude":6,"angle":189,"satellites":39,"speed":53,"hex_longitude":"2d7eecc0","hex_latitude":"05b9bf10","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863057664001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278440668215377920,"note":"Value kept but may cause issues"} 
[2026-04-22 03:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147655292713117696,"note":"Value kept but may cause issues"} 
[2026-04-22 03:32:38] 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-22 03:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776808826000,"timestamp_ms":1776808826000,"timestamp_seconds":1776808826,"priority":1,"record_length":96,"hex_timestamp":"0000019db20f1490"} 
[2026-04-22 03: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-22 03:32: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-22 03: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-22 03: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-22 03: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-22 03: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-22 03:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863057664001,"66":27321,"121":206,"85":12544,"24":53,"16":278440668215377920,"45":9147655292713117696},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863057664001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:32:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278440668215377920,"km_value":278440668215377.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147655292713117696,"description":"Unknown IO ID 45"} 
[2026-04-22 03:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863057664001,"power":27321,"unknown_121":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9147655292713117696}} 
[2026-04-22 03:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":50137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:32:38] local.INFO: GPS data processed {"connection_id":50137,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:32:38] local.INFO: Acknowledgment sent {"connection_id":50137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:32:39] local.INFO: TCP Data received {"connection_id":50137,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db20f2fe8012d7ee68005b99aa8000600be26..."} 
[2026-04-22 03:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db20f2fe8012d7ee68005b99aa8000600be26..."} 
[2026-04-22 03:32:39] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db20f2fe8012d7ee68005b99aa8000600be26..."} 
[2026-04-22 03:32:39] local.INFO: Packet analysis {"connection_id":50137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db20f"} 
[2026-04-22 03:32:39] local.INFO: Extracted packet for processing {"connection_id":50137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db20f"} 
[2026-04-22 03:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763291264,"raw_latitude":96049832,"longitude_deg":76.3291264,"latitude_deg":9.6049832,"altitude":6,"angle":190,"satellites":38,"speed":53,"hex_longitude":"2d7ee680","hex_latitude":"05b99aa8","is_valid_coordinates":true} 
[2026-04-22 03:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863059456001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278441127776878592,"note":"Value kept but may cause issues"} 
[2026-04-22 03:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145896074106310656,"note":"Value kept but may cause issues"} 
[2026-04-22 03:32:39] 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-22 03:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776808833000,"timestamp_ms":1776808833000,"timestamp_seconds":1776808833,"priority":1,"record_length":96,"hex_timestamp":"0000019db20f2fe8"} 
[2026-04-22 03:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:32: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-22 03:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863059456001,"66":27376,"121":206,"85":12544,"24":53,"16":278441127776878592,"45":9145896074106310656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863059456001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:32:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278441127776878592,"km_value":278441127776878.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145896074106310656,"description":"Unknown IO ID 45"} 
[2026-04-22 03:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863059456001,"power":27376,"unknown_121":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9145896074106310656}} 
[2026-04-22 03:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":50137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:32:39] local.INFO: GPS data processed {"connection_id":50137,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:32:39] local.INFO: Acknowledgment sent {"connection_id":50137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:33:12] local.INFO: TCP Data received {"connection_id":50137,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db210a6e8012d7eba8005b81c50000700af29..."} 
[2026-04-22 03:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db210a6e8012d7eba8005b81c50000700af29..."} 
[2026-04-22 03:33:12] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db210a6e8012d7eba8005b81c50000700af29..."} 
[2026-04-22 03:33:12] local.INFO: Packet analysis {"connection_id":50137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db210"} 
[2026-04-22 03:33:12] local.INFO: Extracted packet for processing {"connection_id":50137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db210"} 
[2026-04-22 03:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763280000,"raw_latitude":95951952,"longitude_deg":76.328,"latitude_deg":9.5951952,"altitude":7,"angle":175,"satellites":41,"speed":46,"hex_longitude":"2d7eba80","hex_latitude":"05b81c50","is_valid_coordinates":true} 
[2026-04-22 03:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863083776001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278445938140250112,"note":"Value kept but may cause issues"} 
[2026-04-22 03:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131681587757459456,"note":"Value kept but may cause issues"} 
[2026-04-22 03:33:12] 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-22 03:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776808929000,"timestamp_ms":1776808929000,"timestamp_seconds":1776808929,"priority":1,"record_length":96,"hex_timestamp":"0000019db210a6e8"} 
[2026-04-22 03:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:33: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-22 03:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:33:12] 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-22 03:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:33:12] 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-22 03:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863083776001,"66":27365,"121":206,"85":12544,"24":46,"16":278445938140250112,"45":9131681587757459456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863083776001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:33:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278445938140250112,"km_value":278445938140250.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131681587757459456,"description":"Unknown IO ID 45"} 
[2026-04-22 03:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863083776001,"power":27365,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9131681587757459456}} 
[2026-04-22 03:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":50137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:33:12] local.INFO: GPS data processed {"connection_id":50137,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:33:12] local.INFO: Acknowledgment sent {"connection_id":50137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:33:27] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:33:27] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:33:27] local.INFO: IMEI packet received {"connection_id":50280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:33:28] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:33:28] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:33:28] local.INFO: IMEI packet received {"connection_id":50280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":50280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:33:32] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:33:32] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:33:32] local.INFO: IMEI packet received {"connection_id":50280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:33:33] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db210c628012d7ebb8005b7f910000700b629..."} 
[2026-04-22 03:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db210c628012d7ebb8005b7f910000700b629..."} 
[2026-04-22 03:33:33] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db210c628012d7ebb8005b7f910000700b629..."} 
[2026-04-22 03:33:33] local.INFO: Packet analysis {"connection_id":50280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db210"} 
[2026-04-22 03:33:33] local.INFO: Extracted packet for processing {"connection_id":50280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db210"} 
[2026-04-22 03:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763280256,"raw_latitude":95942928,"longitude_deg":76.3280256,"latitude_deg":9.5942928,"altitude":7,"angle":182,"satellites":41,"speed":46,"hex_longitude":"2d7ebb80","hex_latitude":"05b7f910","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863085824001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278446376226914304,"note":"Value kept but may cause issues"} 
[2026-04-22 03:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131751956499156992,"note":"Value kept but may cause issues"} 
[2026-04-22 03:33:33] 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-22 03:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776808937000,"timestamp_ms":1776808937000,"timestamp_seconds":1776808937,"priority":1,"record_length":96,"hex_timestamp":"0000019db210c628"} 
[2026-04-22 03: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-22 03:33: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-22 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863085824001,"66":27169,"121":206,"85":12544,"24":46,"16":278446376226914304,"45":9131751956499156992},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863085824001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:33:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278446376226914304,"km_value":278446376226914.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131751956499156992,"description":"Unknown IO ID 45"} 
[2026-04-22 03:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863085824001,"power":27169,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9131751956499156992}} 
[2026-04-22 03:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":50280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:33:33] local.INFO: GPS data processed {"connection_id":50280,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:33:33] local.INFO: Acknowledgment sent {"connection_id":50280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:33:38] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db210e568012d7eb9c005b7d320000600b62a..."} 
[2026-04-22 03:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db210e568012d7eb9c005b7d320000600b62a..."} 
[2026-04-22 03:33:38] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db210e568012d7eb9c005b7d320000600b62a..."} 
[2026-04-22 03:33:38] local.INFO: Packet analysis {"connection_id":50280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db210"} 
[2026-04-22 03:33:38] local.INFO: Extracted packet for processing {"connection_id":50280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db210"} 
[2026-04-22 03:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763279808,"raw_latitude":95933216,"longitude_deg":76.3279808,"latitude_deg":9.5933216,"altitude":6,"angle":182,"satellites":42,"speed":49,"hex_longitude":"2d7eb9c0","hex_latitude":"05b7d320","is_valid_coordinates":true} 
[2026-04-22 03:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863087872001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278446844378349568,"note":"Value kept but may cause issues"} 
[2026-04-22 03:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132033431473557504,"note":"Value kept but may cause issues"} 
[2026-04-22 03:33:38] 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-22 03:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776808945000,"timestamp_ms":1776808945000,"timestamp_seconds":1776808945,"priority":1,"record_length":96,"hex_timestamp":"0000019db210e568"} 
[2026-04-22 03:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:33: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-22 03:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-22 03:33:38] 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-22 03:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863087872001,"66":27310,"121":206,"85":12544,"24":49,"16":278446844378349568,"45":9132033431473557504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863087872001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:33:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278446844378349568,"km_value":278446844378349.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132033431473557504,"description":"Unknown IO ID 45"} 
[2026-04-22 03:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863087872001,"power":27310,"unknown_121":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9132033431473557504}} 
[2026-04-22 03:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":50280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:33:38] local.INFO: GPS data processed {"connection_id":50280,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:33:38] local.INFO: Acknowledgment sent {"connection_id":50280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:34:09] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db21104a8012d7eb88005b7ad58000600b42a..."} 
[2026-04-22 03:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21104a8012d7eb88005b7ad58000600b42a..."} 
[2026-04-22 03:34:09] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21104a8012d7eb88005b7ad58000600b42a..."} 
[2026-04-22 03:34:09] local.INFO: Packet analysis {"connection_id":50280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db211"} 
[2026-04-22 03:34:09] local.INFO: Extracted packet for processing {"connection_id":50280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db211"} 
[2026-04-22 03:34:09] local.INFO: GPS Element Parsed {"raw_longitude":763279488,"raw_latitude":95923544,"longitude_deg":76.3279488,"latitude_deg":9.5923544,"altitude":6,"angle":180,"satellites":42,"speed":46,"hex_longitude":"2d7eb880","hex_latitude":"05b7ad58","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863089920001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278447316824752128,"note":"Value kept but may cause issues"} 
[2026-04-22 03:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131540850261827584,"note":"Value kept but may cause issues"} 
[2026-04-22 03:34:09] 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-22 03:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776808953000,"timestamp_ms":1776808953000,"timestamp_seconds":1776808953,"priority":1,"record_length":96,"hex_timestamp":"0000019db21104a8"} 
[2026-04-22 03: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-22 03:34: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-22 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-22 03:34: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-22 03: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-22 03: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-22 03:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863089920001,"66":27321,"121":206,"85":12544,"24":46,"16":278447316824752128,"45":9131540850261827584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863089920001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:34:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278447316824752128,"km_value":278447316824752.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131540850261827584,"description":"Unknown IO ID 45"} 
[2026-04-22 03:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863089920001,"power":27321,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9131540850261827584}} 
[2026-04-22 03:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":50280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:34:09] local.INFO: GPS data processed {"connection_id":50280,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:34:09] local.INFO: Acknowledgment sent {"connection_id":50280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:34:27] local.INFO: TCP Data received {"connection_id":49895,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:34:27] local.INFO: Processing buffer {"connection_id":49895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:34:27] local.INFO: IMEI packet received {"connection_id":49895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":49895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:34:29] local.INFO: TCP Data received {"connection_id":49895,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:34:29] local.INFO: Processing buffer {"connection_id":49895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:34:29] local.INFO: IMEI packet received {"connection_id":49895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":49895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:34:30] local.INFO: TCP Data received {"connection_id":49895,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db21123e8012d7eb80005b787e0000700b529..."} 
[2026-04-22 03:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21123e8012d7eb80005b787e0000700b529..."} 
[2026-04-22 03:34:30] local.INFO: Processing buffer {"connection_id":49895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21123e8012d7eb80005b787e0000700b529..."} 
[2026-04-22 03:34:30] local.INFO: Packet analysis {"connection_id":49895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db211"} 
[2026-04-22 03:34:30] local.INFO: Extracted packet for processing {"connection_id":49895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db211"} 
[2026-04-22 03:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763279360,"raw_latitude":95913952,"longitude_deg":76.327936,"latitude_deg":9.5913952,"altitude":7,"angle":181,"satellites":41,"speed":47,"hex_longitude":"2d7eb800","hex_latitude":"05b787e0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863091968001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278447780681220096,"note":"Value kept but may cause issues"} 
[2026-04-22 03:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131189006538463232,"note":"Value kept but may cause issues"} 
[2026-04-22 03:34: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-22 03:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776808961000,"timestamp_ms":1776808961000,"timestamp_seconds":1776808961,"priority":1,"record_length":96,"hex_timestamp":"0000019db21123e8"} 
[2026-04-22 03: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-22 03: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-22 03: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":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:34: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-22 03: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-22 03: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-22 03:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":49895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":49895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":49895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:34: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-22 03:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863091968001,"66":27267,"121":206,"85":12544,"24":47,"16":278447780681220096,"45":9131189006538463232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 03:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863091968001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:34:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 03:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278447780681220096,"km_value":278447780681220.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131189006538463232,"description":"Unknown IO ID 45"} 
[2026-04-22 03:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863091968001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9131189006538463232}} 
[2026-04-22 03:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":49895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:34:30] local.INFO: GPS data processed {"connection_id":49895,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:34:30] local.INFO: Acknowledgment sent {"connection_id":49895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:35:01] local.INFO: TCP Data received {"connection_id":49895,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2114328012d7eb6c005b76418000600b428..."} 
[2026-04-22 03:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2114328012d7eb6c005b76418000600b428..."} 
[2026-04-22 03:35:01] local.INFO: Processing buffer {"connection_id":49895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2114328012d7eb6c005b76418000600b428..."} 
[2026-04-22 03:35:01] local.INFO: Packet analysis {"connection_id":49895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db211"} 
[2026-04-22 03:35:01] local.INFO: Extracted packet for processing {"connection_id":49895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db211"} 
[2026-04-22 03:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95904792,"longitude_deg":76.327904,"latitude_deg":9.5904792,"altitude":6,"angle":180,"satellites":40,"speed":36,"hex_longitude":"2d7eb6c0","hex_latitude":"05b76418","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863094016001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278448227357818880,"note":"Value kept but may cause issues"} 
[2026-04-22 03:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131048269047652352,"note":"Value kept but may cause issues"} 
[2026-04-22 03:35:01] 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-22 03:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776808969000,"timestamp_ms":1776808969000,"timestamp_seconds":1776808969,"priority":1,"record_length":96,"hex_timestamp":"0000019db2114328"} 
[2026-04-22 03: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-22 03:35: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-22 03:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":49895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":49895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":49895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863094016001,"66":27213,"59":206,"85":12544,"24":36,"16":278448227357818880,"45":9131048269047652352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 03:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863094016001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:35:01] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 03:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278448227357818880,"km_value":278448227357818.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131048269047652352,"description":"Unknown IO ID 45"} 
[2026-04-22 03:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863094016001,"power":27213,"unknown_59":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9131048269047652352}} 
[2026-04-22 03:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":49895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:35:01] local.INFO: GPS data processed {"connection_id":49895,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:35:01] local.INFO: Acknowledgment sent {"connection_id":49895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:35:27] local.INFO: TCP Data received {"connection_id":50139,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:35:27] local.INFO: Processing buffer {"connection_id":50139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:35:27] local.INFO: IMEI packet received {"connection_id":50139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:35:28] local.INFO: TCP Data received {"connection_id":50139,"ip":"42.106.6.45","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-22 03:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50139,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-22 03:35:28] local.INFO: Processing buffer {"connection_id":50139,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-22 03:35:28] local.INFO: IMEI packet received {"connection_id":50139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":50139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:35:32] local.INFO: TCP Data received {"connection_id":50139,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:35:32] local.INFO: Processing buffer {"connection_id":50139,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-22 03:35:32] local.INFO: IMEI packet received {"connection_id":50139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:35:33] local.INFO: TCP Data received {"connection_id":50139,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db212f4c0012d7ea84005b5cc60000600b62a..."} 
[2026-04-22 03:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db212f4c0012d7ea84005b5cc60000600b62a..."} 
[2026-04-22 03:35:33] local.INFO: Processing buffer {"connection_id":50139,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019db2..."} 
[2026-04-22 03:35:33] local.INFO: IMEI packet received {"connection_id":50139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":50139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:35:34] local.INFO: TCP Data received {"connection_id":50139,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db21317e8012d7ea84005b5a8e0000600aa2a..."} 
[2026-04-22 03:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21317e8012d7ea84005b5a8e0000600aa2a..."} 
[2026-04-22 03:35:34] local.INFO: Processing buffer {"connection_id":50139,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019db212f4c0012d7ea84005b5cc60000600b62a..."} 
[2026-04-22 03:35:34] local.INFO: Packet analysis {"connection_id":50139,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019db212"} 
[2026-04-22 03:35:34] local.INFO: Extracted packet for processing {"connection_id":50139,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db212"} 
[2026-04-22 03:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95800416,"longitude_deg":76.3275328,"latitude_deg":9.5800416,"altitude":6,"angle":182,"satellites":42,"speed":39,"hex_longitude":"2d7ea840","hex_latitude":"05b5cc60","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863121920001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278453299714195456,"note":"Value kept but may cause issues"} 
[2026-04-22 03:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619347130368,"note":"Value kept but may cause issues"} 
[2026-04-22 03:35:34] 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-22 03:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776809080000,"timestamp_ms":1776809080000,"timestamp_seconds":1776809080,"priority":1,"record_length":96,"hex_timestamp":"0000019db212f4c0"} 
[2026-04-22 03: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-22 03:35: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-22 03: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":77,"data_length":795,"current_offset":136} 
[2026-04-22 03:35:34] 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-22 03: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-22 03: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-22 03:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:35: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-22 03:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863121920001,"66":27310,"59":206,"85":12544,"24":39,"16":278453299714195456,"45":9127107619347130368},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 03:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863121920001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:35:34] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 03:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278453299714195456,"km_value":278453299714195.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619347130368,"description":"Unknown IO ID 45"} 
[2026-04-22 03:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863121920001,"power":27310,"unknown_59":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9127107619347130368}} 
[2026-04-22 03:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":50139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:35:34] local.INFO: GPS data processed {"connection_id":50139,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:35:34] local.INFO: Acknowledgment sent {"connection_id":50139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:35:34] local.INFO: Packet analysis {"connection_id":50139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db213"} 
[2026-04-22 03:35:34] local.INFO: Extracted packet for processing {"connection_id":50139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db213"} 
[2026-04-22 03:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95791328,"longitude_deg":76.3275328,"latitude_deg":9.5791328,"altitude":6,"angle":170,"satellites":42,"speed":34,"hex_longitude":"2d7ea840","hex_latitude":"05b5a8e0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863124480001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278453737800859648,"note":"Value kept but may cause issues"} 
[2026-04-22 03:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615038135394304,"note":"Value kept but may cause issues"} 
[2026-04-22 03:35:34] 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-22 03:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776809089000,"timestamp_ms":1776809089000,"timestamp_seconds":1776809089,"priority":1,"record_length":96,"hex_timestamp":"0000019db21317e8"} 
[2026-04-22 03: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-22 03:35: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-22 03: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":174,"data_length":795,"current_offset":136} 
[2026-04-22 03:35: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-22 03: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-22 03: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-22 03:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:35: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-22 03:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863124480001,"66":27180,"59":206,"85":12544,"24":34,"16":278453737800859648,"45":9126615038135394304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 03:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863124480001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:35:34] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 03:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278453737800859648,"km_value":278453737800859.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615038135394304,"description":"Unknown IO ID 45"} 
[2026-04-22 03:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863124480001,"power":27180,"unknown_59":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9126615038135394304}} 
[2026-04-22 03:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":50139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:35:34] local.INFO: GPS data processed {"connection_id":50139,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:35:34] local.INFO: Acknowledgment sent {"connection_id":50139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:36:05] local.INFO: TCP Data received {"connection_id":50139,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db21317e8012d7ea84005b5a8e0000600aa2a..."} 
[2026-04-22 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21317e8012d7ea84005b5a8e0000600aa2a..."} 
[2026-04-22 03:36:05] local.INFO: Processing buffer {"connection_id":50139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21317e8012d7ea84005b5a8e0000600aa2a..."} 
[2026-04-22 03:36:05] local.INFO: Packet analysis {"connection_id":50139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db213"} 
[2026-04-22 03:36:05] local.INFO: Extracted packet for processing {"connection_id":50139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db213"} 
[2026-04-22 03:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95791328,"longitude_deg":76.3275328,"latitude_deg":9.5791328,"altitude":6,"angle":170,"satellites":42,"speed":34,"hex_longitude":"2d7ea840","hex_latitude":"05b5a8e0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863126784001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278453737800859648,"note":"Value kept but may cause issues"} 
[2026-04-22 03:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615038133067776,"note":"Value kept but may cause issues"} 
[2026-04-22 03:36:05] 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-22 03:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776809089000,"timestamp_ms":1776809089000,"timestamp_seconds":1776809089,"priority":1,"record_length":96,"hex_timestamp":"0000019db21317e8"} 
[2026-04-22 03: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-22 03:36: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-22 03: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-22 03:36: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-22 03: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-22 03: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-22 03:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863126784001,"66":27180,"59":206,"85":12544,"24":34,"16":278453737800859648,"45":9126615038133067776},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 03:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863126784001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:36:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 03:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278453737800859648,"km_value":278453737800859.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615038133067776,"description":"Unknown IO ID 45"} 
[2026-04-22 03:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863126784001,"power":27180,"unknown_59":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9126615038133067776}} 
[2026-04-22 03:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":50139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:36:05] local.INFO: GPS data processed {"connection_id":50139,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:36:05] local.INFO: Acknowledgment sent {"connection_id":50139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:36:27] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:36:27] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:36:27] local.INFO: IMEI packet received {"connection_id":50786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":50786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:36:32] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:36:32] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:36:32] local.INFO: IMEI packet received {"connection_id":50786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:36:33] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2133340012d7eac0005b59108000500b82a..."} 
[2026-04-22 03:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2133340012d7eac0005b59108000500b82a..."} 
[2026-04-22 03:36:33] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2133340012d7eac0005b59108000500b82a..."} 
[2026-04-22 03:36:33] local.INFO: Packet analysis {"connection_id":50786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db213"} 
[2026-04-22 03:36:33] local.INFO: Extracted packet for processing {"connection_id":50786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db213"} 
[2026-04-22 03:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763276288,"raw_latitude":95785224,"longitude_deg":76.3276288,"latitude_deg":9.5785224,"altitude":5,"angle":184,"satellites":42,"speed":38,"hex_longitude":"2d7eac00","hex_latitude":"05b59108","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863126784001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278454042743537664,"note":"Value kept but may cause issues"} 
[2026-04-22 03:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126615038133067776,"note":"Value kept but may cause issues"} 
[2026-04-22 03:36:33] 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-22 03:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809096000,"timestamp_ms":1776809096000,"timestamp_seconds":1776809096,"priority":1,"record_length":96,"hex_timestamp":"0000019db2133340"} 
[2026-04-22 03: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-22 03:36: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-22 03: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-22 03:36: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-22 03: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-22 03: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-22 03:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863126784001,"66":27017,"59":206,"85":12544,"24":38,"16":278454042743537664,"45":9126615038133067776},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 03:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863126784001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:36:33] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 03:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278454042743537664,"km_value":278454042743537.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126615038133067776,"description":"Unknown IO ID 45"} 
[2026-04-22 03:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863126784001,"power":27017,"unknown_59":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9126615038133067776}} 
[2026-04-22 03:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":50786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:36:33] local.INFO: GPS data processed {"connection_id":50786,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:36:33] local.INFO: Acknowledgment sent {"connection_id":50786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:37:05] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2135668012d7ea94005b56b78000500b42a..."} 
[2026-04-22 03:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2135668012d7ea94005b56b78000500b42a..."} 
[2026-04-22 03:37:05] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2135668012d7ea94005b56b78000500b42a..."} 
[2026-04-22 03:37:05] local.INFO: Packet analysis {"connection_id":50786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db213"} 
[2026-04-22 03:37:05] local.INFO: Extracted packet for processing {"connection_id":50786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db213"} 
[2026-04-22 03:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763275584,"raw_latitude":95775608,"longitude_deg":76.3275584,"latitude_deg":9.5775608,"altitude":5,"angle":180,"satellites":42,"speed":46,"hex_longitude":"2d7ea940","hex_latitude":"05b56b78","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863128576001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278454510894972928,"note":"Value kept but may cause issues"} 
[2026-04-22 03:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127670569294170112,"note":"Value kept but may cause issues"} 
[2026-04-22 03:37:05] 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-22 03:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776809105000,"timestamp_ms":1776809105000,"timestamp_seconds":1776809105,"priority":1,"record_length":96,"hex_timestamp":"0000019db2135668"} 
[2026-04-22 03: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-22 03:37: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-22 03: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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 03:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863128576001,"66":27267,"59":206,"85":12544,"24":46,"16":278454510894972928,"45":9127670569294170112},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 03:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863128576001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:37:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 03:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278454510894972928,"km_value":278454510894972.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127670569294170112,"description":"Unknown IO ID 45"} 
[2026-04-22 03:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863128576001,"power":27267,"unknown_59":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9127670569294170112}} 
[2026-04-22 03:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":50786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:37:05] local.INFO: GPS data processed {"connection_id":50786,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:37:05] local.INFO: Acknowledgment sent {"connection_id":50786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:37:32] local.INFO: TCP Data received {"connection_id":50140,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:37:32] local.INFO: Processing buffer {"connection_id":50140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:37:32] local.INFO: IMEI packet received {"connection_id":50140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:37:34] local.INFO: TCP Data received {"connection_id":50140,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:37:34] local.INFO: Processing buffer {"connection_id":50140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:37:34] local.INFO: IMEI packet received {"connection_id":50140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":50140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:37:35] local.INFO: TCP Data received {"connection_id":50140,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db214c980012d7eb98005b3d740000900b12a..."} 
[2026-04-22 03:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db214c980012d7eb98005b3d740000900b12a..."} 
[2026-04-22 03:37:35] local.INFO: Processing buffer {"connection_id":50140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db214c980012d7eb98005b3d740000900b12a..."} 
[2026-04-22 03:37:35] local.INFO: Packet analysis {"connection_id":50140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db214"} 
[2026-04-22 03:37:35] local.INFO: Extracted packet for processing {"connection_id":50140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db214"} 
[2026-04-22 03:37:35] local.INFO: GPS Element Parsed {"raw_longitude":763279744,"raw_latitude":95672128,"longitude_deg":76.3279744,"latitude_deg":9.5672128,"altitude":9,"angle":177,"satellites":42,"speed":42,"hex_longitude":"2d7eb980","hex_latitude":"05b3d740","is_valid_coordinates":true} 
[2026-04-22 03:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863152896001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278459536006709248,"note":"Value kept but may cause issues"} 
[2026-04-22 03:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131329743964995584,"note":"Value kept but may cause issues"} 
[2026-04-22 03:37:35] 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-22 03:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776809200000,"timestamp_ms":1776809200000,"timestamp_seconds":1776809200,"priority":1,"record_length":96,"hex_timestamp":"0000019db214c980"} 
[2026-04-22 03:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:37: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-22 03:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 03:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863152896001,"66":27343,"58":206,"85":12544,"24":42,"16":278459536006709248,"45":9131329743964995584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 03:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863152896001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:37:35] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 03:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278459536006709248,"km_value":278459536006709.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131329743964995584,"description":"Unknown IO ID 45"} 
[2026-04-22 03:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863152896001,"power":27343,"unknown_58":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9131329743964995584}} 
[2026-04-22 03:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":50140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:37:35] local.INFO: GPS data processed {"connection_id":50140,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:37:35] local.INFO: Acknowledgment sent {"connection_id":50140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:37:39] local.INFO: TCP Data received {"connection_id":50140,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db214e8c0012d7eb84005b3b5b8000800bc29..."} 
[2026-04-22 03:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db214e8c0012d7eb84005b3b5b8000800bc29..."} 
[2026-04-22 03:37:39] local.INFO: Processing buffer {"connection_id":50140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db214e8c0012d7eb84005b3b5b8000800bc29..."} 
[2026-04-22 03:37:39] local.INFO: Packet analysis {"connection_id":50140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db214"} 
[2026-04-22 03:37:39] local.INFO: Extracted packet for processing {"connection_id":50140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db214"} 
[2026-04-22 03:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763279424,"raw_latitude":95663544,"longitude_deg":76.3279424,"latitude_deg":9.5663544,"altitude":8,"angle":188,"satellites":41,"speed":45,"hex_longitude":"2d7eb840","hex_latitude":"05b3b5b8","is_valid_coordinates":true} 
[2026-04-22 03:37: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-22 03:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863155200001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278459952618536960,"note":"Value kept but may cause issues"} 
[2026-04-22 03:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131470481450811392,"note":"Value kept but may cause issues"} 
[2026-04-22 03:37:39] 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-22 03:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776809208000,"timestamp_ms":1776809208000,"timestamp_seconds":1776809208,"priority":1,"record_length":96,"hex_timestamp":"0000019db214e8c0"} 
[2026-04-22 03:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:37: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-22 03:37: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-22 03:37: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-22 03:37: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-22 03:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863155200001,"66":27365,"58":206,"85":12544,"24":45,"16":278459952618536960,"45":9131470481450811392},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 03:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863155200001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:37:39] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 03:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278459952618536960,"km_value":278459952618536.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131470481450811392,"description":"Unknown IO ID 45"} 
[2026-04-22 03:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863155200001,"power":27365,"unknown_58":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9131470481450811392}} 
[2026-04-22 03:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":50140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:37:39] local.INFO: GPS data processed {"connection_id":50140,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:37:39] local.INFO: Acknowledgment sent {"connection_id":50140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:37:52] local.INFO: TCP Data received {"connection_id":50787,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:37:52] local.INFO: Processing buffer {"connection_id":50787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:37:52] local.INFO: IMEI packet received {"connection_id":50787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":50787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:38:10] local.INFO: TCP Data received {"connection_id":50140,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2150800012d7eb7c005b38e88000700b32a..."} 
[2026-04-22 03:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2150800012d7eb7c005b38e88000700b32a..."} 
[2026-04-22 03:38:10] local.INFO: Processing buffer {"connection_id":50140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2150800012d7eb7c005b38e88000700b32a..."} 
[2026-04-22 03:38:10] local.INFO: Packet analysis {"connection_id":50140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db215"} 
[2026-04-22 03:38:10] local.INFO: Extracted packet for processing {"connection_id":50140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db215"} 
[2026-04-22 03:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":95653512,"longitude_deg":76.3279296,"latitude_deg":9.5653512,"altitude":7,"angle":179,"satellites":42,"speed":53,"hex_longitude":"2d7eb7c0","hex_latitude":"05b38e88","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863157248001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278460442244808704,"note":"Value kept but may cause issues"} 
[2026-04-22 03:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131118637727725568,"note":"Value kept but may cause issues"} 
[2026-04-22 03:38:10] 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-22 03:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776809216000,"timestamp_ms":1776809216000,"timestamp_seconds":1776809216,"priority":1,"record_length":96,"hex_timestamp":"0000019db2150800"} 
[2026-04-22 03: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-22 03:38: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-22 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:38: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-22 03: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-22 03: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-22 03:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:38:10] 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-22 03:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863157248001,"66":27213,"58":206,"85":12544,"24":53,"16":278460442244808704,"45":9131118637727725568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 03:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863157248001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:38:10] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 03:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278460442244808704,"km_value":278460442244808.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131118637727725568,"description":"Unknown IO ID 45"} 
[2026-04-22 03:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863157248001,"power":27213,"unknown_58":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9131118637727725568}} 
[2026-04-22 03:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":50140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:38:10] local.INFO: GPS data processed {"connection_id":50140,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:38:10] local.INFO: Acknowledgment sent {"connection_id":50140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:38:25] local.INFO: TCP Data received {"connection_id":50788,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:38:25] local.INFO: Processing buffer {"connection_id":50788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:38:25] local.INFO: IMEI packet received {"connection_id":50788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":50788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:38:27] local.INFO: TCP Data received {"connection_id":50788,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:38:27] local.INFO: Processing buffer {"connection_id":50788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:38:27] local.INFO: IMEI packet received {"connection_id":50788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":50788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:38:32] local.INFO: TCP Data received {"connection_id":50788,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:38:32] local.INFO: Processing buffer {"connection_id":50788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:38:32] local.INFO: IMEI packet received {"connection_id":50788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:38:33] local.INFO: TCP Data received {"connection_id":50788,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2152358012d7eb80005b36760000700b42a..."} 
[2026-04-22 03:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2152358012d7eb80005b36760000700b42a..."} 
[2026-04-22 03:38:33] local.INFO: Processing buffer {"connection_id":50788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2152358012d7eb80005b36760000700b42a..."} 
[2026-04-22 03:38:33] local.INFO: Packet analysis {"connection_id":50788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db215"} 
[2026-04-22 03:38:33] local.INFO: Extracted packet for processing {"connection_id":50788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db215"} 
[2026-04-22 03:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763279360,"raw_latitude":95643488,"longitude_deg":76.327936,"latitude_deg":9.5643488,"altitude":7,"angle":180,"satellites":42,"speed":59,"hex_longitude":"2d7eb800","hex_latitude":"05b36760","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863159296001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278460927576113152,"note":"Value kept but may cause issues"} 
[2026-04-22 03:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130977900236802048,"note":"Value kept but may cause issues"} 
[2026-04-22 03:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809223000,"timestamp_ms":1776809223000,"timestamp_seconds":1776809223,"priority":1,"record_length":96,"hex_timestamp":"0000019db2152358"} 
[2026-04-22 03: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-22 03:38: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-22 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 03:38:33] 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-22 03: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-22 03: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-22 03:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863159296001,"66":27463,"93":206,"85":12544,"24":59,"16":278460927576113152,"45":9130977900236802048},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 03:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863159296001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:38:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 03:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278460927576113152,"km_value":278460927576113.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130977900236802048,"description":"Unknown IO ID 45"} 
[2026-04-22 03:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863159296001,"power":27463,"unknown_93":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9130977900236802048}} 
[2026-04-22 03:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":50788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:38:33] local.INFO: GPS data processed {"connection_id":50788,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:38:33] local.INFO: Acknowledgment sent {"connection_id":50788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:39:05] local.INFO: TCP Data received {"connection_id":50788,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2153ac8012d7eb88005b34390000800b12a..."} 
[2026-04-22 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2153ac8012d7eb88005b34390000800b12a..."} 
[2026-04-22 03:39:05] local.INFO: Processing buffer {"connection_id":50788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2153ac8012d7eb88005b34390000800b12a..."} 
[2026-04-22 03:39:05] local.INFO: Packet analysis {"connection_id":50788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db215"} 
[2026-04-22 03:39:05] local.INFO: Extracted packet for processing {"connection_id":50788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db215"} 
[2026-04-22 03:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763279488,"raw_latitude":95634320,"longitude_deg":76.3279488,"latitude_deg":9.563432,"altitude":8,"angle":177,"satellites":42,"speed":60,"hex_longitude":"2d7eb880","hex_latitude":"05b34390","is_valid_coordinates":true} 
[2026-04-22 03:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863161088001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278461369957744640,"note":"Value kept but may cause issues"} 
[2026-04-22 03:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131048268978413568,"note":"Value kept but may cause issues"} 
[2026-04-22 03:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 03:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776809229000,"timestamp_ms":1776809229000,"timestamp_seconds":1776809229,"priority":1,"record_length":96,"hex_timestamp":"0000019db2153ac8"} 
[2026-04-22 03:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:39: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-22 03:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 03:39: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-22 03:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863161088001,"66":27343,"93":206,"85":12544,"24":60,"16":278461369957744640,"45":9131048268978413568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 03:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863161088001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:39:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 03:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278461369957744640,"km_value":278461369957744.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131048268978413568,"description":"Unknown IO ID 45"} 
[2026-04-22 03:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863161088001,"power":27343,"unknown_93":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9131048268978413568}} 
[2026-04-22 03:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":50788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:39:05] local.INFO: GPS data processed {"connection_id":50788,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:39:05] local.INFO: Acknowledgment sent {"connection_id":50788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:39:27] local.INFO: TCP Data received {"connection_id":49896,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:39:27] local.INFO: Processing buffer {"connection_id":49896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:39:27] local.INFO: IMEI packet received {"connection_id":49896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":49896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:39:28] local.INFO: TCP Data received {"connection_id":49896,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:39:28] local.INFO: Processing buffer {"connection_id":49896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:39:28] local.INFO: IMEI packet received {"connection_id":49896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":49896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:39:32] local.INFO: TCP Data received {"connection_id":49896,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:39:32] local.INFO: Processing buffer {"connection_id":49896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:39:32] local.INFO: IMEI packet received {"connection_id":49896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":49896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:39:33] local.INFO: TCP Data received {"connection_id":49896,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2167348012d7eb24005b1b898000700b92b..."} 
[2026-04-22 03:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2167348012d7eb24005b1b898000700b92b..."} 
[2026-04-22 03:39:33] local.INFO: Processing buffer {"connection_id":49896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2167348012d7eb24005b1b898000700b92b..."} 
[2026-04-22 03:39:33] local.INFO: Packet analysis {"connection_id":49896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db216"} 
[2026-04-22 03:39:33] local.INFO: Extracted packet for processing {"connection_id":49896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db216"} 
[2026-04-22 03:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763277888,"raw_latitude":95533208,"longitude_deg":76.3277888,"latitude_deg":9.5533208,"altitude":7,"angle":185,"satellites":43,"speed":37,"hex_longitude":"2d7eb240","hex_latitude":"05b1b898","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863180544001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278466283400331264,"note":"Value kept but may cause issues"} 
[2026-04-22 03:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130344581510883328,"note":"Value kept but may cause issues"} 
[2026-04-22 03:39:33] 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-22 03:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809309000,"timestamp_ms":1776809309000,"timestamp_seconds":1776809309,"priority":1,"record_length":96,"hex_timestamp":"0000019db2167348"} 
[2026-04-22 03: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-22 03:39: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-22 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:39: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-22 03: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-22 03: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-22 03:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863180544001,"66":27245,"251":206,"85":12544,"24":37,"16":278466283400331264,"45":9130344581510883328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-04-22 03:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863180544001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:39:33] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 03:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278466283400331264,"km_value":278466283400331.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130344581510883328,"description":"Unknown IO ID 45"} 
[2026-04-22 03:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863180544001,"power":27245,"unknown_251":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9130344581510883328}} 
[2026-04-22 03:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":49896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:39:33] local.INFO: GPS data processed {"connection_id":49896,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:39:33] local.INFO: Acknowledgment sent {"connection_id":49896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:40:04] local.INFO: TCP Data received {"connection_id":49896,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2169a58012d7eaf0005b194e0000600b828..."} 
[2026-04-22 03:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2169a58012d7eaf0005b194e0000600b828..."} 
[2026-04-22 03:40:04] local.INFO: Processing buffer {"connection_id":49896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2169a58012d7eaf0005b194e0000600b828..."} 
[2026-04-22 03:40:04] local.INFO: Packet analysis {"connection_id":49896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db216"} 
[2026-04-22 03:40:04] local.INFO: Extracted packet for processing {"connection_id":49896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db216"} 
[2026-04-22 03:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763277056,"raw_latitude":95524064,"longitude_deg":76.3277056,"latitude_deg":9.5524064,"altitude":6,"angle":184,"satellites":40,"speed":38,"hex_longitude":"2d7eaf00","hex_latitude":"05b194e0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863183104001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278466730076930048,"note":"Value kept but may cause issues"} 
[2026-04-22 03:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129429787834095616,"note":"Value kept but may cause issues"} 
[2026-04-22 03:40:04] 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-22 03:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809319000,"timestamp_ms":1776809319000,"timestamp_seconds":1776809319,"priority":1,"record_length":96,"hex_timestamp":"0000019db2169a58"} 
[2026-04-22 03: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-22 03:40: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-22 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863183104001,"66":27267,"251":206,"85":12544,"24":38,"16":278466730076930048,"45":9129429787834095616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-04-22 03:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863183104001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:40:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 03:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278466730076930048,"km_value":278466730076930.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129429787834095616,"description":"Unknown IO ID 45"} 
[2026-04-22 03:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863183104001,"power":27267,"unknown_251":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9129429787834095616}} 
[2026-04-22 03:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":49896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:40:04] local.INFO: GPS data processed {"connection_id":49896,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:40:04] local.INFO: Acknowledgment sent {"connection_id":49896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:40:27] local.INFO: TCP Data received {"connection_id":50142,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:40:27] local.INFO: Processing buffer {"connection_id":50142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:40:27] local.INFO: IMEI packet received {"connection_id":50142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:40:28] local.INFO: TCP Data received {"connection_id":50142,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:40:28] local.INFO: Processing buffer {"connection_id":50142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:40:28] local.INFO: IMEI packet received {"connection_id":50142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":50142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:40:32] local.INFO: TCP Data received {"connection_id":50142,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:40:32] local.INFO: Processing buffer {"connection_id":50142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:40:32] local.INFO: IMEI packet received {"connection_id":50142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:40:33] local.INFO: TCP Data received {"connection_id":50142,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db216c168012d7eac4005b16fa8000600b429..."} 
[2026-04-22 03:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db216c168012d7eac4005b16fa8000600b429..."} 
[2026-04-22 03:40:33] local.INFO: Processing buffer {"connection_id":50142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db216c168012d7eac4005b16fa8000600b429..."} 
[2026-04-22 03:40:33] local.INFO: Packet analysis {"connection_id":50142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db216"} 
[2026-04-22 03:40:33] local.INFO: Extracted packet for processing {"connection_id":50142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db216"} 
[2026-04-22 03:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763276352,"raw_latitude":95514536,"longitude_deg":76.3276352,"latitude_deg":9.5514536,"altitude":6,"angle":180,"satellites":41,"speed":40,"hex_longitude":"2d7eac40","hex_latitude":"05b16fa8","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863185664001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278467193933398016,"note":"Value kept but may cause issues"} 
[2026-04-22 03:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128514994157445120,"note":"Value kept but may cause issues"} 
[2026-04-22 03:40:33] 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-22 03:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809329000,"timestamp_ms":1776809329000,"timestamp_seconds":1776809329,"priority":1,"record_length":96,"hex_timestamp":"0000019db216c168"} 
[2026-04-22 03: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-22 03:40: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-22 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:40: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-22 03: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-22 03: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-22 03:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863185664001,"66":27365,"251":206,"85":12544,"24":40,"16":278467193933398016,"45":9128514994157445120},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-04-22 03:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863185664001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:40:33] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 03:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278467193933398016,"km_value":278467193933398.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128514994157445120,"description":"Unknown IO ID 45"} 
[2026-04-22 03:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863185664001,"power":27365,"unknown_251":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9128514994157445120}} 
[2026-04-22 03:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:40:33] local.INFO: GPS data processed {"connection_id":50142,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:40:33] local.INFO: Acknowledgment sent {"connection_id":50142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:41:04] local.INFO: TCP Data received {"connection_id":50142,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db216e490012d7eaac005b148b0000600b42a..."} 
[2026-04-22 03:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db216e490012d7eaac005b148b0000600b42a..."} 
[2026-04-22 03:41:04] local.INFO: Processing buffer {"connection_id":50142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db216e490012d7eaac005b148b0000600b42a..."} 
[2026-04-22 03:41:04] local.INFO: Packet analysis {"connection_id":50142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db216"} 
[2026-04-22 03:41:04] local.INFO: Extracted packet for processing {"connection_id":50142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db216"} 
[2026-04-22 03:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95504560,"longitude_deg":76.3275968,"latitude_deg":9.550456,"altitude":6,"angle":180,"satellites":42,"speed":47,"hex_longitude":"2d7eaac0","hex_latitude":"05b148b0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863188224001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278467674969735168,"note":"Value kept but may cause issues"} 
[2026-04-22 03:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127740937969051648,"note":"Value kept but may cause issues"} 
[2026-04-22 03:41:04] 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-22 03:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809338000,"timestamp_ms":1776809338000,"timestamp_seconds":1776809338,"priority":1,"record_length":96,"hex_timestamp":"0000019db216e490"} 
[2026-04-22 03: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-22 03:41: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-22 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:41: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-22 03: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-22 03: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-22 03:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863188224001,"66":27245,"251":206,"85":12544,"24":47,"16":278467674969735168,"45":9127740937969051648},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-04-22 03:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863188224001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:41:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 03:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278467674969735168,"km_value":278467674969735.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127740937969051648,"description":"Unknown IO ID 45"} 
[2026-04-22 03:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863188224001,"power":27245,"unknown_251":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9127740937969051648}} 
[2026-04-22 03:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":50142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:41:04] local.INFO: GPS data processed {"connection_id":50142,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:41:04] local.INFO: Acknowledgment sent {"connection_id":50142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:41:27] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:41:27] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:41:27] local.INFO: IMEI packet received {"connection_id":50285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":50285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:41:28] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:41:28] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:41:28] local.INFO: IMEI packet received {"connection_id":50285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":50285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:41:32] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:41:32] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:41:32] local.INFO: IMEI packet received {"connection_id":50285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:41:33] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db21703d0012d7ea9c005b124a0000600b42a..."} 
[2026-04-22 03:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21703d0012d7ea9c005b124a0000600b42a..."} 
[2026-04-22 03:41:33] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21703d0012d7ea9c005b124a0000600b42a..."} 
[2026-04-22 03:41:33] local.INFO: Packet analysis {"connection_id":50285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db217"} 
[2026-04-22 03:41:33] local.INFO: Extracted packet for processing {"connection_id":50285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db217"} 
[2026-04-22 03:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763275712,"raw_latitude":95495328,"longitude_deg":76.3275712,"latitude_deg":9.5495328,"altitude":6,"angle":180,"satellites":42,"speed":46,"hex_longitude":"2d7ea9c0","hex_latitude":"05b124a0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863190528001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278468125941301248,"note":"Value kept but may cause issues"} 
[2026-04-22 03:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725501431808,"note":"Value kept but may cause issues"} 
[2026-04-22 03:41:33] 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-22 03:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809346000,"timestamp_ms":1776809346000,"timestamp_seconds":1776809346,"priority":1,"record_length":96,"hex_timestamp":"0000019db21703d0"} 
[2026-04-22 03: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-22 03:41: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-22 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:41:33] 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-22 03: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-22 03: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-22 03:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863190528001,"66":27343,"251":206,"85":12544,"24":46,"16":278468125941301248,"45":9127318725501431808},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-04-22 03:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863190528001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:41:33] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 03:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278468125941301248,"km_value":278468125941301.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725501431808,"description":"Unknown IO ID 45"} 
[2026-04-22 03:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863190528001,"power":27343,"unknown_251":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9127318725501431808}} 
[2026-04-22 03:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":50285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:41:33] local.INFO: GPS data processed {"connection_id":50285,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:41:33] local.INFO: Acknowledgment sent {"connection_id":50285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:42:04] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db218e060012d7ea34005af7430000700532a..."} 
[2026-04-22 03:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db218e060012d7ea34005af7430000700532a..."} 
[2026-04-22 03:42:04] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db218e060012d7ea34005af7430000700532a..."} 
[2026-04-22 03:42:04] local.INFO: Packet analysis {"connection_id":50285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db218"} 
[2026-04-22 03:42:04] local.INFO: Extracted packet for processing {"connection_id":50285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db218"} 
[2026-04-22 03:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763274048,"raw_latitude":95384624,"longitude_deg":76.3274048,"latitude_deg":9.5384624,"altitude":7,"angle":83,"satellites":42,"speed":9,"hex_longitude":"2d7ea340","hex_latitude":"05af7430","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863223552001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278473524715192320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124996556912861184,"note":"Value kept but may cause issues"} 
[2026-04-22 03:42:04] 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-22 03:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809468000,"timestamp_ms":1776809468000,"timestamp_seconds":1776809468,"priority":1,"record_length":96,"hex_timestamp":"0000019db218e060"} 
[2026-04-22 03: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-22 03: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-22 03: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":131,"data_length":795,"current_offset":136} 
[2026-04-22 03:42: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-22 03: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-22 03: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-22 03:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863223552001,"66":27365,"27":206,"85":12544,"24":9,"16":278473524715192320,"45":9124996556912861184},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 03:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863223552001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:42:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 03:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278473524715192320,"km_value":278473524715192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124996556912861184,"description":"Unknown IO ID 45"} 
[2026-04-22 03:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863223552001,"power":27365,"unknown_27":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9124996556912861184}} 
[2026-04-22 03:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":50285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:42:04] local.INFO: GPS data processed {"connection_id":50285,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:42:04] local.INFO: Acknowledgment sent {"connection_id":50285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:42:27] local.INFO: TCP Data received {"connection_id":49898,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:27] local.INFO: Processing buffer {"connection_id":49898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:27] local.INFO: IMEI packet received {"connection_id":49898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":49898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:42:27] local.INFO: TCP Data received {"connection_id":49898,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:27] local.INFO: Processing buffer {"connection_id":49898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:27] local.INFO: IMEI packet received {"connection_id":49898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":49898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:42:30] local.INFO: TCP Data received {"connection_id":49898,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:30] local.INFO: Processing buffer {"connection_id":49898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:30] local.INFO: IMEI packet received {"connection_id":49898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":49898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:42:32] local.INFO: TCP Data received {"connection_id":49898,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:32] local.INFO: Processing buffer {"connection_id":49898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:42:32] local.INFO: IMEI packet received {"connection_id":49898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":49898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:42:33] local.INFO: TCP Data received {"connection_id":49898,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db218e448012d7ea44005af7480000700452a..."} 
[2026-04-22 03:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db218e448012d7ea44005af7480000700452a..."} 
[2026-04-22 03:42:33] local.INFO: Processing buffer {"connection_id":49898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db218e448012d7ea44005af7480000700452a..."} 
[2026-04-22 03:42:33] local.INFO: Packet analysis {"connection_id":49898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db218"} 
[2026-04-22 03:42:33] local.INFO: Extracted packet for processing {"connection_id":49898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db218"} 
[2026-04-22 03:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95384704,"longitude_deg":76.3274304,"latitude_deg":9.5384704,"altitude":7,"angle":69,"satellites":42,"speed":9,"hex_longitude":"2d7ea440","hex_latitude":"05af7480","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278473533305126912,"note":"Value kept but may cause issues"} 
[2026-04-22 03:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125207663145398272,"note":"Value kept but may cause issues"} 
[2026-04-22 03:42:33] 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-22 03:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809469000,"timestamp_ms":1776809469000,"timestamp_seconds":1776809469,"priority":1,"record_length":96,"hex_timestamp":"0000019db218e448"} 
[2026-04-22 03: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-22 03:42: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-22 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863223808001,"66":27365,"27":206,"85":12544,"24":9,"16":278473533305126912,"45":9125207663145398272},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 03:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:42:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 03:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278473533305126912,"km_value":278473533305126.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125207663145398272,"description":"Unknown IO ID 45"} 
[2026-04-22 03:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863223808001,"power":27365,"unknown_27":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9125207663145398272}} 
[2026-04-22 03:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":49898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:42:33] local.INFO: GPS data processed {"connection_id":49898,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:42:33] local.INFO: Acknowledgment sent {"connection_id":49898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:43:04] local.INFO: TCP Data received {"connection_id":49898,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db219b738012d7f32c005af59b80004000e2a..."} 
[2026-04-22 03:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db219b738012d7f32c005af59b80004000e2a..."} 
[2026-04-22 03:43:04] local.INFO: Processing buffer {"connection_id":49898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db219b738012d7f32c005af59b80004000e2a..."} 
[2026-04-22 03:43:04] local.INFO: Packet analysis {"connection_id":49898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db219"} 
[2026-04-22 03:43:04] local.INFO: Extracted packet for processing {"connection_id":49898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db219"} 
[2026-04-22 03:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763310784,"raw_latitude":95377848,"longitude_deg":76.3310784,"latitude_deg":9.5377848,"altitude":4,"angle":14,"satellites":42,"speed":18,"hex_longitude":"2d7f32c0","hex_latitude":"05af59b8","is_valid_coordinates":true} 
[2026-04-22 03:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863237632001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278475564824657920,"note":"Value kept but may cause issues"} 
[2026-04-22 03:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165317847324823552,"note":"Value kept but may cause issues"} 
[2026-04-22 03:43: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-22 03:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809523000,"timestamp_ms":1776809523000,"timestamp_seconds":1776809523,"priority":1,"record_length":96,"hex_timestamp":"0000019db219b738"} 
[2026-04-22 03:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:43: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-22 03:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:43: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-22 03:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863237632001,"66":27365,"250":206,"85":12544,"24":18,"16":278475564824657920,"45":9165317847324823552},"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-22 03:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863237632001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:43:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278475564824657920,"km_value":278475564824657.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165317847324823552,"description":"Unknown IO ID 45"} 
[2026-04-22 03:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863237632001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9165317847324823552}} 
[2026-04-22 03:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":49898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:43:04] local.INFO: GPS data processed {"connection_id":49898,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:43:04] local.INFO: Acknowledgment sent {"connection_id":49898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:43:17] local.INFO: TCP Data received {"connection_id":49899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:43:17] local.INFO: Processing buffer {"connection_id":49899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:43:17] local.INFO: IMEI packet received {"connection_id":49899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":49899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:43:27] local.INFO: TCP Data received {"connection_id":50286,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:43:27] local.INFO: Processing buffer {"connection_id":50286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:43:27] local.INFO: IMEI packet received {"connection_id":50286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":50286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:43:27] local.INFO: TCP Data received {"connection_id":50286,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:43:27] local.INFO: Processing buffer {"connection_id":50286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:43:27] local.INFO: IMEI packet received {"connection_id":50286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":50286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:43:33] local.INFO: TCP Data received {"connection_id":50286,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:43:33] local.INFO: Processing buffer {"connection_id":50286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:43:33] local.INFO: IMEI packet received {"connection_id":50286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":50286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:43:34] local.INFO: TCP Data received {"connection_id":50286,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db219bf08012d7f334005af5d70000500002a..."} 
[2026-04-22 03:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db219bf08012d7f334005af5d70000500002a..."} 
[2026-04-22 03:43:34] local.INFO: Processing buffer {"connection_id":50286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db219bf08012d7f334005af5d70000500002a..."} 
[2026-04-22 03:43:34] local.INFO: Packet analysis {"connection_id":50286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db219"} 
[2026-04-22 03:43:34] local.INFO: Extracted packet for processing {"connection_id":50286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db219"} 
[2026-04-22 03:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763310912,"raw_latitude":95378800,"longitude_deg":76.3310912,"latitude_deg":9.53788,"altitude":5,"angle":0,"satellites":42,"speed":20,"hex_longitude":"2d7f3340","hex_latitude":"05af5d70","is_valid_coordinates":true} 
[2026-04-22 03:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863237888001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278475612069298176,"note":"Value kept but may cause issues"} 
[2026-04-22 03:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165599322301642752,"note":"Value kept but may cause issues"} 
[2026-04-22 03:43: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-22 03:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776809525000,"timestamp_ms":1776809525000,"timestamp_seconds":1776809525,"priority":1,"record_length":96,"hex_timestamp":"0000019db219bf08"} 
[2026-04-22 03:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:43: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-22 03:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 03:43: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-22 03:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:43: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-22 03:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863237888001,"66":27245,"250":206,"85":12544,"24":20,"16":278475612069298176,"45":9165599322301642752},"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-22 03:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863237888001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:43:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278475612069298176,"km_value":278475612069298.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165599322301642752,"description":"Unknown IO ID 45"} 
[2026-04-22 03:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863237888001,"power":27245,"unknown_250":206,"unknown_85":12544,"ignition":20,"odometer":null,"unknown_45":9165599322301642752}} 
[2026-04-22 03:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":50286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:43:34] local.INFO: GPS data processed {"connection_id":50286,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:43:34] local.INFO: Acknowledgment sent {"connection_id":50286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:43:57] local.INFO: TCP Data received {"connection_id":50287,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:43:57] local.INFO: Processing buffer {"connection_id":50287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:43:57] local.INFO: IMEI packet received {"connection_id":50287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":50287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:44:05] local.INFO: TCP Data received {"connection_id":50286,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db219ede8012d7f358005af80300007000228..."} 
[2026-04-22 03:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db219ede8012d7f358005af80300007000228..."} 
[2026-04-22 03:44:05] local.INFO: Processing buffer {"connection_id":50286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db219ede8012d7f358005af80300007000228..."} 
[2026-04-22 03:44:05] local.INFO: Packet analysis {"connection_id":50286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db219"} 
[2026-04-22 03:44:05] local.INFO: Extracted packet for processing {"connection_id":50286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db219"} 
[2026-04-22 03:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763311488,"raw_latitude":95387696,"longitude_deg":76.3311488,"latitude_deg":9.5387696,"altitude":7,"angle":2,"satellites":40,"speed":36,"hex_longitude":"2d7f3580","hex_latitude":"05af8030","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863238400001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278476041566027776,"note":"Value kept but may cause issues"} 
[2026-04-22 03:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165740059790241792,"note":"Value kept but may cause issues"} 
[2026-04-22 03:44:05] 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-22 03:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776809537000,"timestamp_ms":1776809537000,"timestamp_seconds":1776809537,"priority":1,"record_length":96,"hex_timestamp":"0000019db219ede8"} 
[2026-04-22 03: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-22 03:44: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-22 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 03:44: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-22 03: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-22 03: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-22 03:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863238400001,"66":27343,"250":206,"85":12544,"24":36,"16":278476041566027776,"45":9165740059790241792},"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-22 03:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863238400001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:44:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278476041566027776,"km_value":278476041566027.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165740059790241792,"description":"Unknown IO ID 45"} 
[2026-04-22 03:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863238400001,"power":27343,"unknown_250":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9165740059790241792}} 
[2026-04-22 03:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":50286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:44:05] local.INFO: GPS data processed {"connection_id":50286,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:44:05] local.INFO: Acknowledgment sent {"connection_id":50286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:44:32] local.INFO: TCP Data received {"connection_id":50790,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:44:32] local.INFO: Processing buffer {"connection_id":50790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:44:32] local.INFO: IMEI packet received {"connection_id":50790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:44:34] local.INFO: TCP Data received {"connection_id":50790,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:44:34] local.INFO: Processing buffer {"connection_id":50790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:44:34] local.INFO: IMEI packet received {"connection_id":50790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":50790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:44:35] local.INFO: TCP Data received {"connection_id":50790,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db21acc90012d7fa08005afbac80008000b29..."} 
[2026-04-22 03:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21acc90012d7fa08005afbac80008000b29..."} 
[2026-04-22 03:44:35] local.INFO: Processing buffer {"connection_id":50790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21acc90012d7fa08005afbac80008000b29..."} 
[2026-04-22 03:44:35] local.INFO: Packet analysis {"connection_id":50790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21a"} 
[2026-04-22 03:44:35] local.INFO: Extracted packet for processing {"connection_id":50790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21a"} 
[2026-04-22 03:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":95402696,"longitude_deg":76.333888,"latitude_deg":9.5402696,"altitude":8,"angle":11,"satellites":41,"speed":9,"hex_longitude":"2d7fa080","hex_latitude":"05afbac8","is_valid_coordinates":true} 
[2026-04-22 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-22 03:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863255808001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478008661049344,"note":"Value kept but may cause issues"} 
[2026-04-22 03:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201001934848,"note":"Value kept but may cause issues"} 
[2026-04-22 03:44: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-22 03:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776809594000,"timestamp_ms":1776809594000,"timestamp_seconds":1776809594,"priority":1,"record_length":96,"hex_timestamp":"0000019db21acc90"} 
[2026-04-22 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-22 03:44: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-22 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-22 03:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 03:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863255808001,"66":27104,"250":206,"85":12544,"24":9,"16":278478008661049344,"45":9196491201001934848},"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-22 03:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863255808001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:44:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478008661049344,"km_value":278478008661049.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201001934848,"description":"Unknown IO ID 45"} 
[2026-04-22 03:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863255808001,"power":27104,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9196491201001934848}} 
[2026-04-22 03:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":50790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:44:35] local.INFO: GPS data processed {"connection_id":50790,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:44:35] local.INFO: Acknowledgment sent {"connection_id":50790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:45:06] local.INFO: TCP Data received {"connection_id":50790,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db21b1e98012d7fa0c005afbb880008000b29..."} 
[2026-04-22 03:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21b1e98012d7fa0c005afbb880008000b29..."} 
[2026-04-22 03:45:06] local.INFO: Processing buffer {"connection_id":50790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21b1e98012d7fa0c005afbb880008000b29..."} 
[2026-04-22 03:45:06] local.INFO: Packet analysis {"connection_id":50790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21b"} 
[2026-04-22 03:45:06] local.INFO: Extracted packet for processing {"connection_id":50790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21b"} 
[2026-04-22 03:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95402888,"longitude_deg":76.3338944,"latitude_deg":9.5402888,"altitude":8,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbb88","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863256064001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478017250983936,"note":"Value kept but may cause issues"} 
[2026-04-22 03:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201001998336,"note":"Value kept but may cause issues"} 
[2026-04-22 03:45:06] 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-22 03:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776809615000,"timestamp_ms":1776809615000,"timestamp_seconds":1776809615,"priority":1,"record_length":96,"hex_timestamp":"0000019db21b1e98"} 
[2026-04-22 03: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-22 03:45: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-22 03: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 03:45: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-22 03: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-22 03: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-22 03:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863256064001,"66":27234,"250":206,"85":12544,"24":0,"16":278478017250983936,"45":9196491201001998336},"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-22 03:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863256064001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:45:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478017250983936,"km_value":278478017250983.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201001998336,"description":"Unknown IO ID 45"} 
[2026-04-22 03:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863256064001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196491201001998336}} 
[2026-04-22 03:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":50790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:45:06] local.INFO: GPS data processed {"connection_id":50790,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:45:06] local.INFO: Acknowledgment sent {"connection_id":50790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:45:27] local.INFO: TCP Data received {"connection_id":49901,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:45:27] local.INFO: Processing buffer {"connection_id":49901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:45:27] local.INFO: IMEI packet received {"connection_id":49901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":49901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:45:32] local.INFO: TCP Data received {"connection_id":49901,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:45:32] local.INFO: Processing buffer {"connection_id":49901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:45:32] local.INFO: IMEI packet received {"connection_id":49901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":49901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:45:33] local.INFO: TCP Data received {"connection_id":49901,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db21b70a0012d7fa0c005afbb880008000b29..."} 
[2026-04-22 03:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21b70a0012d7fa0c005afbb880008000b29..."} 
[2026-04-22 03:45:33] local.INFO: Processing buffer {"connection_id":49901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21b70a0012d7fa0c005afbb880008000b29..."} 
[2026-04-22 03:45:33] local.INFO: Packet analysis {"connection_id":49901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21b"} 
[2026-04-22 03:45:33] local.INFO: Extracted packet for processing {"connection_id":49901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21b"} 
[2026-04-22 03:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763338944,"raw_latitude":95402888,"longitude_deg":76.3338944,"latitude_deg":9.5402888,"altitude":8,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d7fa0c0","hex_latitude":"05afbb88","is_valid_coordinates":true} 
[2026-04-22 03:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863261440001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478017250983936,"note":"Value kept but may cause issues"} 
[2026-04-22 03:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746225152,"note":"Value kept but may cause issues"} 
[2026-04-22 03:45:33] 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-22 03:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809636000,"timestamp_ms":1776809636000,"timestamp_seconds":1776809636,"priority":1,"record_length":96,"hex_timestamp":"0000019db21b70a0"} 
[2026-04-22 03:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:45: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-22 03:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 03:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863261440001,"66":27376,"250":206,"85":12544,"24":0,"16":278478017250983936,"45":9196561569746225152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863261440001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478017250983936,"km_value":278478017250983.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746225152,"description":"Unknown IO ID 45"} 
[2026-04-22 03:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863261440001,"power":27376,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196561569746225152}} 
[2026-04-22 03:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":49901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:45:33] local.INFO: GPS data processed {"connection_id":49901,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:45:33] local.INFO: Acknowledgment sent {"connection_id":49901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:46:04] local.INFO: TCP Data received {"connection_id":49901,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db21bb6f0012d7fa24005afbe58000c00172b..."} 
[2026-04-22 03:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21bb6f0012d7fa24005afbe58000c00172b..."} 
[2026-04-22 03:46:04] local.INFO: Processing buffer {"connection_id":49901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21bb6f0012d7fa24005afbe58000c00172b..."} 
[2026-04-22 03:46:04] local.INFO: Packet analysis {"connection_id":49901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21b"} 
[2026-04-22 03:46:04] local.INFO: Extracted packet for processing {"connection_id":49901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21b"} 
[2026-04-22 03:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95403608,"longitude_deg":76.3339328,"latitude_deg":9.5403608,"altitude":12,"angle":23,"satellites":43,"speed":8,"hex_longitude":"2d7fa240","hex_latitude":"05afbe58","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863266816001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478055905689600,"note":"Value kept but may cause issues"} 
[2026-04-22 03:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746225152,"note":"Value kept but may cause issues"} 
[2026-04-22 03:46: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-22 03:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809654000,"timestamp_ms":1776809654000,"timestamp_seconds":1776809654,"priority":1,"record_length":96,"hex_timestamp":"0000019db21bb6f0"} 
[2026-04-22 03: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-22 03: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-22 03: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-22 03: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-22 03: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-22 03: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-22 03:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863266816001,"66":26789,"250":206,"85":12544,"24":8,"16":278478055905689600,"45":9196561569746225152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863266816001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:46:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478055905689600,"km_value":278478055905689.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746225152,"description":"Unknown IO ID 45"} 
[2026-04-22 03:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863266816001,"power":26789,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9196561569746225152}} 
[2026-04-22 03:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":49901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:46:04] local.INFO: GPS data processed {"connection_id":49901,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:46:04] local.INFO: Acknowledgment sent {"connection_id":49901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:46:27] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:46:27] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:46:27] local.INFO: IMEI packet received {"connection_id":50791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":50791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:46:32] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:46:32] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:46:32] local.INFO: IMEI packet received {"connection_id":50791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:46:33] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db21bbad8012d7fa24005afbf30000c00072a..."} 
[2026-04-22 03:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21bbad8012d7fa24005afbf30000c00072a..."} 
[2026-04-22 03:46:33] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21bbad8012d7fa24005afbf30000c00072a..."} 
[2026-04-22 03:46:33] local.INFO: Packet analysis {"connection_id":50791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21b"} 
[2026-04-22 03:46:33] local.INFO: Extracted packet for processing {"connection_id":50791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21b"} 
[2026-04-22 03:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95403824,"longitude_deg":76.3339328,"latitude_deg":9.5403824,"altitude":12,"angle":7,"satellites":42,"speed":11,"hex_longitude":"2d7fa240","hex_latitude":"05afbf30","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863271424001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478068790591488,"note":"Value kept but may cause issues"} 
[2026-04-22 03:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211475456,"note":"Value kept but may cause issues"} 
[2026-04-22 03:46:33] 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-22 03:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809655000,"timestamp_ms":1776809655000,"timestamp_seconds":1776809655,"priority":1,"record_length":96,"hex_timestamp":"0000019db21bbad8"} 
[2026-04-22 03: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-22 03:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 03: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-04-22 03:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863271424001,"66":26789,"250":206,"85":12544,"24":11,"16":278478068790591488,"45":9196983782211475456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863271424001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:46:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478068790591488,"km_value":278478068790591.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211475456,"description":"Unknown IO ID 45"} 
[2026-04-22 03:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863271424001,"power":26789,"unknown_250":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9196983782211475456}} 
[2026-04-22 03:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":50791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:46:33] local.INFO: GPS data processed {"connection_id":50791,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:46:33] local.INFO: Acknowledgment sent {"connection_id":50791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:47:04] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db21c0128012d7fa54005afd618000900032c..."} 
[2026-04-22 03:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21c0128012d7fa54005afd618000900032c..."} 
[2026-04-22 03:47:04] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21c0128012d7fa54005afd618000900032c..."} 
[2026-04-22 03:47:04] local.INFO: Packet analysis {"connection_id":50791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:47:04] local.INFO: Extracted packet for processing {"connection_id":50791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763340096,"raw_latitude":95409688,"longitude_deg":76.3340096,"latitude_deg":9.5409688,"altitude":9,"angle":3,"satellites":44,"speed":9,"hex_longitude":"2d7fa540","hex_latitude":"05afd618","is_valid_coordinates":true} 
[2026-04-22 03:47: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-22 03:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863271680001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782211530752,"note":"Value kept but may cause issues"} 
[2026-04-22 03:47: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-22 03:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809673000,"timestamp_ms":1776809673000,"timestamp_seconds":1776809673,"priority":1,"record_length":96,"hex_timestamp":"0000019db21c0128"} 
[2026-04-22 03: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-22 03: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-22 03: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-04-22 03:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 03: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-22 03: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-22 03:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863271680001,"66":27821,"250":206,"85":12544,"24":9,"16":278478356553400320,"45":9196983782211530752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863271680001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:47:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782211530752,"description":"Unknown IO ID 45"} 
[2026-04-22 03:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863271680001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9196983782211530752}} 
[2026-04-22 03:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":50791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:47:04] local.INFO: GPS data processed {"connection_id":50791,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:47:04] local.INFO: Acknowledgment sent {"connection_id":50791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:47:27] local.INFO: TCP Data received {"connection_id":50143,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:47:27] local.INFO: Processing buffer {"connection_id":50143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:47:27] local.INFO: IMEI packet received {"connection_id":50143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:47:32] local.INFO: TCP Data received {"connection_id":50143,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:47:32] local.INFO: Processing buffer {"connection_id":50143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:47:32] local.INFO: IMEI packet received {"connection_id":50143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:47:33] local.INFO: TCP Data received {"connection_id":50143,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:47:33] local.INFO: Processing buffer {"connection_id":50143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:47:33] local.INFO: Packet analysis {"connection_id":50143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:47:33] local.INFO: Extracted packet for processing {"connection_id":50143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410016,"longitude_deg":76.3339968,"latitude_deg":9.5410016,"altitude":9,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd760","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276288001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207143163904,"note":"Value kept but may cause issues"} 
[2026-04-22 03:47:33] 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-22 03:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809675000,"timestamp_ms":1776809675000,"timestamp_seconds":1776809675,"priority":1,"record_length":96,"hex_timestamp":"0000019db21c08f8"} 
[2026-04-22 03: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-22 03:47: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-22 03:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:47: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-22 03: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-22 03: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-22 03:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:47:33] 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-22 03:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276288001,"66":27821,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197828207143163904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276288001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207143163904,"description":"Unknown IO ID 45"} 
[2026-04-22 03:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276288001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197828207143163904}} 
[2026-04-22 03:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:47:33] local.INFO: GPS data processed {"connection_id":50143,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:47:33] local.INFO: Acknowledgment sent {"connection_id":50143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:48:04] local.INFO: TCP Data received {"connection_id":50143,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:48:04] local.INFO: Processing buffer {"connection_id":50143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:48:04] local.INFO: Packet analysis {"connection_id":50143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:48:04] local.INFO: Extracted packet for processing {"connection_id":50143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410016,"longitude_deg":76.3339968,"latitude_deg":9.5410016,"altitude":9,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd760","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276288001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207143163904,"note":"Value kept but may cause issues"} 
[2026-04-22 03:48: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-22 03:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809675000,"timestamp_ms":1776809675000,"timestamp_seconds":1776809675,"priority":1,"record_length":96,"hex_timestamp":"0000019db21c08f8"} 
[2026-04-22 03: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-22 03:48: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-22 03:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:48:04] 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-22 03: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-22 03: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-22 03:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276288001,"66":27821,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197828207143163904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276288001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:48:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207143163904,"description":"Unknown IO ID 45"} 
[2026-04-22 03:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276288001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197828207143163904}} 
[2026-04-22 03:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":50143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:48:04] local.INFO: GPS data processed {"connection_id":50143,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:48:04] local.INFO: Acknowledgment sent {"connection_id":50143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:48:27] local.INFO: TCP Data received {"connection_id":49905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:48:27] local.INFO: Processing buffer {"connection_id":49905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:48:27] local.INFO: IMEI packet received {"connection_id":49905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":49905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:48:32] local.INFO: TCP Data received {"connection_id":49905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:48:32] local.INFO: Processing buffer {"connection_id":49905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:48:32] local.INFO: IMEI packet received {"connection_id":49905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":49905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:48:33] local.INFO: TCP Data received {"connection_id":49905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:48:33] local.INFO: Processing buffer {"connection_id":49905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:48:33] local.INFO: Packet analysis {"connection_id":49905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:48:33] local.INFO: Extracted packet for processing {"connection_id":49905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410016,"longitude_deg":76.3339968,"latitude_deg":9.5410016,"altitude":9,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd760","is_valid_coordinates":true} 
[2026-04-22 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-22 03:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276288001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207143163904,"note":"Value kept but may cause issues"} 
[2026-04-22 03:48:33] 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-22 03:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809675000,"timestamp_ms":1776809675000,"timestamp_seconds":1776809675,"priority":1,"record_length":96,"hex_timestamp":"0000019db21c08f8"} 
[2026-04-22 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-22 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03: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-22 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-22 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-22 03:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276288001,"66":27821,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197828207143163904},"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-22 03:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276288001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:48:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207143163904,"description":"Unknown IO ID 45"} 
[2026-04-22 03:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276288001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197828207143163904}} 
[2026-04-22 03:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":49905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:48:33] local.INFO: GPS data processed {"connection_id":49905,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:48:33] local.INFO: Acknowledgment sent {"connection_id":49905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:49:04] local.INFO: TCP Data received {"connection_id":49905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:49:04] local.INFO: Processing buffer {"connection_id":49905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:49:04] local.INFO: Packet analysis {"connection_id":49905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:49:04] local.INFO: Extracted packet for processing {"connection_id":49905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410016,"longitude_deg":76.3339968,"latitude_deg":9.5410016,"altitude":9,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd760","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276288001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207143163904,"note":"Value kept but may cause issues"} 
[2026-04-22 03:49: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-22 03:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809675000,"timestamp_ms":1776809675000,"timestamp_seconds":1776809675,"priority":1,"record_length":96,"hex_timestamp":"0000019db21c08f8"} 
[2026-04-22 03: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-22 03:49: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-22 03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:49:04] 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-22 03: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-22 03: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-22 03:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:49: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-22 03:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276288001,"66":27821,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197828207143163904},"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-22 03:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276288001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:49:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207143163904,"description":"Unknown IO ID 45"} 
[2026-04-22 03:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276288001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197828207143163904}} 
[2026-04-22 03:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":49905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:49:04] local.INFO: GPS data processed {"connection_id":49905,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:49:04] local.INFO: Acknowledgment sent {"connection_id":49905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:49:27] local.INFO: TCP Data received {"connection_id":50793,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:49:27] local.INFO: Processing buffer {"connection_id":50793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:49:27] local.INFO: IMEI packet received {"connection_id":50793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:49:27] local.INFO: TCP Data received {"connection_id":50792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:49:27] local.INFO: Processing buffer {"connection_id":50792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:49:27] local.INFO: IMEI packet received {"connection_id":50792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:49:32] local.INFO: TCP Data received {"connection_id":50793,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:49:32] local.INFO: Processing buffer {"connection_id":50793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:49:32] local.INFO: IMEI packet received {"connection_id":50793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:49:33] local.INFO: TCP Data received {"connection_id":50793,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:49:33] local.INFO: Processing buffer {"connection_id":50793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:49:33] local.INFO: Packet analysis {"connection_id":50793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:49:33] local.INFO: Extracted packet for processing {"connection_id":50793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410016,"longitude_deg":76.3339968,"latitude_deg":9.5410016,"altitude":9,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd760","is_valid_coordinates":true} 
[2026-04-22 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-22 03:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276288001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207143163904,"note":"Value kept but may cause issues"} 
[2026-04-22 03:49:33] 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-22 03:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809675000,"timestamp_ms":1776809675000,"timestamp_seconds":1776809675,"priority":1,"record_length":96,"hex_timestamp":"0000019db21c08f8"} 
[2026-04-22 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-22 03:49: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-22 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:49: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-22 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-22 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-22 03:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 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-22 03:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276288001,"66":27821,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197828207143163904},"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-22 03:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276288001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:49:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207143163904,"description":"Unknown IO ID 45"} 
[2026-04-22 03:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276288001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197828207143163904}} 
[2026-04-22 03:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":50793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:49:33] local.INFO: GPS data processed {"connection_id":50793,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:49:33] local.INFO: Acknowledgment sent {"connection_id":50793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:49:52] local.INFO: TCP Data received {"connection_id":50794,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:49:52] local.INFO: Processing buffer {"connection_id":50794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:49:52] local.INFO: IMEI packet received {"connection_id":50794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":50794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:50:04] local.INFO: TCP Data received {"connection_id":50793,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:50:04] local.INFO: Processing buffer {"connection_id":50793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db21c08f8012d7fa4c005afd760000901562c..."} 
[2026-04-22 03:50:04] local.INFO: Packet analysis {"connection_id":50793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:50:04] local.INFO: Extracted packet for processing {"connection_id":50793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db21c"} 
[2026-04-22 03:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410016,"longitude_deg":76.3339968,"latitude_deg":9.5410016,"altitude":9,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd760","is_valid_coordinates":true} 
[2026-04-22 03:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276288001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197828207143163904,"note":"Value kept but may cause issues"} 
[2026-04-22 03:50: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-22 03:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809675000,"timestamp_ms":1776809675000,"timestamp_seconds":1776809675,"priority":1,"record_length":96,"hex_timestamp":"0000019db21c08f8"} 
[2026-04-22 03:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:50: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-22 03:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:50:04] 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-22 03:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:50: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-22 03:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276288001,"66":27821,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197828207143163904},"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-22 03:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276288001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:50:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197828207143163904,"description":"Unknown IO ID 45"} 
[2026-04-22 03:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276288001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197828207143163904}} 
[2026-04-22 03:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":50793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:50:04] local.INFO: GPS data processed {"connection_id":50793,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:50:04] local.INFO: Acknowledgment sent {"connection_id":50793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:50:32] local.INFO: TCP Data received {"connection_id":49906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:50:32] local.INFO: Processing buffer {"connection_id":49906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:50:32] local.INFO: IMEI packet received {"connection_id":49906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":49906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:50:37] local.INFO: TCP Data received {"connection_id":49906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:50:37] local.INFO: Processing buffer {"connection_id":49906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:50:37] local.INFO: IMEI packet received {"connection_id":49906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":49906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:50:38] local.INFO: TCP Data received {"connection_id":49906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:50:38] local.INFO: Processing buffer {"connection_id":49906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:50:38] local.INFO: Packet analysis {"connection_id":49906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:50:38] local.INFO: Extracted packet for processing {"connection_id":49906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:50:38] 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-22 03:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03: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-22 03:50: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-22 03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:50:38] 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-22 03: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-22 03: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-22 03:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:50: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-22 03:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"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-22 03:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:50:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":49906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:50:38] local.INFO: GPS data processed {"connection_id":49906,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:50:38] local.INFO: Acknowledgment sent {"connection_id":49906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:50:42] local.INFO: TCP Data received {"connection_id":49906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:50:43] local.INFO: Processing buffer {"connection_id":49906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:50:43] local.INFO: Packet analysis {"connection_id":49906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:50:43] local.INFO: Extracted packet for processing {"connection_id":49906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:50:43] 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-22 03:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 03:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:50:43] 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-22 03:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:50: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-22 03:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"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-22 03:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:50:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":49906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:50:43] local.INFO: GPS data processed {"connection_id":49906,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:50:43] local.INFO: Acknowledgment sent {"connection_id":49906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:51:27] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:51:27] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:51:27] local.INFO: IMEI packet received {"connection_id":50796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":50796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:51:32] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:51:32] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:51:32] local.INFO: IMEI packet received {"connection_id":50796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:51:33] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:51:33] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:51:33] local.INFO: Packet analysis {"connection_id":50796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:51:33] local.INFO: Extracted packet for processing {"connection_id":50796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:51:33] 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-22 03:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03: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-22 03:51: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-22 03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:51: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-22 03: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-22 03: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-22 03:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"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-22 03:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:51:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:51:33] local.INFO: GPS data processed {"connection_id":50796,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:51:33] local.INFO: Acknowledgment sent {"connection_id":50796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:52:04] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:52:04] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:52:04] local.INFO: Packet analysis {"connection_id":50796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:52:04] local.INFO: Extracted packet for processing {"connection_id":50796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:52: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-22 03:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03: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-22 03:52: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-22 03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:52:04] 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-22 03: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-22 03: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-22 03:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:52: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-22 03:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"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-22 03:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:52:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":50796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:52:04] local.INFO: GPS data processed {"connection_id":50796,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:52:04] local.INFO: Acknowledgment sent {"connection_id":50796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:52:27] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:52:27] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:52:27] local.INFO: IMEI packet received {"connection_id":50288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":50288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:52:32] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:52:32] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:52:32] local.INFO: IMEI packet received {"connection_id":50288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":50288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:52:33] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:52:33] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:52:33] local.INFO: Packet analysis {"connection_id":50288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:52:33] local.INFO: Extracted packet for processing {"connection_id":50288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:52:33] 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-22 03:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03: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-22 03:52: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-22 03: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":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:52: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-22 03: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-22 03: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-22 03:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"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-22 03:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:52:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":50288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:52:33] local.INFO: GPS data processed {"connection_id":50288,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:52:33] local.INFO: Acknowledgment sent {"connection_id":50288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:53:04] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:53:04] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:53:04] local.INFO: Packet analysis {"connection_id":50288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:53:04] local.INFO: Extracted packet for processing {"connection_id":50288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:53: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-22 03:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 03:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:53:04] 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-22 03:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:53: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-22 03:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"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-22 03:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:53:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":50288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:53:04] local.INFO: GPS data processed {"connection_id":50288,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:53:04] local.INFO: Acknowledgment sent {"connection_id":50288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:53:27] local.INFO: TCP Data received {"connection_id":50797,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:53:27] local.INFO: Processing buffer {"connection_id":50797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:53:27] local.INFO: IMEI packet received {"connection_id":50797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":50797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:53:32] local.INFO: TCP Data received {"connection_id":50797,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:53:32] local.INFO: Processing buffer {"connection_id":50797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:53:32] local.INFO: IMEI packet received {"connection_id":50797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:53:33] local.INFO: TCP Data received {"connection_id":50797,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:53:33] local.INFO: Processing buffer {"connection_id":50797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:53:33] local.INFO: Packet analysis {"connection_id":50797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:53:33] local.INFO: Extracted packet for processing {"connection_id":50797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:53:33] 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-22 03:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03: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-22 03:53: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-22 03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:53: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-22 03: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-22 03: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-22 03:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:53:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":50797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:53:33] local.INFO: GPS data processed {"connection_id":50797,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:53:33] local.INFO: Acknowledgment sent {"connection_id":50797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:54:04] local.INFO: TCP Data received {"connection_id":50797,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:54:04] local.INFO: Processing buffer {"connection_id":50797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:54:04] local.INFO: Packet analysis {"connection_id":50797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:54:04] local.INFO: Extracted packet for processing {"connection_id":50797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:54: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-22 03:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03: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-22 03: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-22 03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:54:04] 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-22 03: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-22 03: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-22 03:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:54:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":50797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:54:04] local.INFO: GPS data processed {"connection_id":50797,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:54:04] local.INFO: Acknowledgment sent {"connection_id":50797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:54:27] local.INFO: TCP Data received {"connection_id":49908,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:54:27] local.INFO: Processing buffer {"connection_id":49908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:54:27] local.INFO: IMEI packet received {"connection_id":49908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":49908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:54:32] local.INFO: TCP Data received {"connection_id":49908,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:54:32] local.INFO: Processing buffer {"connection_id":49908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:54:32] local.INFO: IMEI packet received {"connection_id":49908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":49908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:54:33] local.INFO: TCP Data received {"connection_id":49908,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:54:33] local.INFO: Processing buffer {"connection_id":49908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:54:33] local.INFO: Packet analysis {"connection_id":49908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:54:33] local.INFO: Extracted packet for processing {"connection_id":49908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:54:33] 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-22 03:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03: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-22 03:54: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-22 03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:54: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-22 03: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-22 03: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-22 03:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:54: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-22 03:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:54:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":49908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:54:33] local.INFO: GPS data processed {"connection_id":49908,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:54:33] local.INFO: Acknowledgment sent {"connection_id":49908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:55:04] local.INFO: TCP Data received {"connection_id":49908,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:55:04] local.INFO: Processing buffer {"connection_id":49908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db220a0c0012d7f960005afd7d00006015621..."} 
[2026-04-22 03:55:04] local.INFO: Packet analysis {"connection_id":49908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:55:04] local.INFO: Extracted packet for processing {"connection_id":49908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db220"} 
[2026-04-22 03:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":6,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654892544,"note":"Value kept but may cause issues"} 
[2026-04-22 03:55: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-22 03:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776809976000,"timestamp_ms":1776809976000,"timestamp_seconds":1776809976,"priority":1,"record_length":96,"hex_timestamp":"0000019db220a0c0"} 
[2026-04-22 03:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:55: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-22 03:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 03:55:04] 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-22 03:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:55: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-22 03:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863276800001,"66":26006,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9197687469654892544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:55:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654892544,"description":"Unknown IO ID 45"} 
[2026-04-22 03:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863276800001,"power":26006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654892544}} 
[2026-04-22 03:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":49908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:55:04] local.INFO: GPS data processed {"connection_id":49908,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:55:04] local.INFO: Acknowledgment sent {"connection_id":49908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:55:22] local.INFO: TCP Data received {"connection_id":49909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:55:22] local.INFO: Processing buffer {"connection_id":49909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:55:22] local.INFO: IMEI packet received {"connection_id":49909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":49909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:55:27] local.INFO: TCP Data received {"connection_id":50798,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:55:27] local.INFO: Processing buffer {"connection_id":50798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:55:27] local.INFO: IMEI packet received {"connection_id":50798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":50798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:55:32] local.INFO: TCP Data received {"connection_id":50798,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:55:32] local.INFO: Processing buffer {"connection_id":50798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:55:32] local.INFO: IMEI packet received {"connection_id":50798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:55:33] local.INFO: TCP Data received {"connection_id":50798,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:55:33] local.INFO: Processing buffer {"connection_id":50798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:55:33] local.INFO: Packet analysis {"connection_id":50798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:55:33] local.INFO: Extracted packet for processing {"connection_id":50798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:55:33] 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-22 03:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 03: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-22 03: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-22 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 03:55:33] 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-22 03: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-22 03: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-22 03:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:55:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 03:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:55:33] local.INFO: GPS data processed {"connection_id":50798,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:55:33] local.INFO: Acknowledgment sent {"connection_id":50798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:55:52] local.INFO: TCP Data received {"connection_id":50146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:55:52] local.INFO: Processing buffer {"connection_id":50146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 03:55:52] local.INFO: IMEI packet received {"connection_id":50146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 03:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":50146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:56:04] local.INFO: TCP Data received {"connection_id":50798,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:56:04] local.INFO: Processing buffer {"connection_id":50798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:56:04] local.INFO: Packet analysis {"connection_id":50798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:56:04] local.INFO: Extracted packet for processing {"connection_id":50798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:56: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-22 03:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 03: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-22 03:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 03:56: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-22 03: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-22 03: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-22 03:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:56:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 03:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":50798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:56:04] local.INFO: GPS data processed {"connection_id":50798,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:56:04] local.INFO: Acknowledgment sent {"connection_id":50798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:56:27] local.INFO: TCP Data received {"connection_id":50147,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:56:27] local.INFO: Processing buffer {"connection_id":50147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:56:27] local.INFO: IMEI packet received {"connection_id":50147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":50147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:56:32] local.INFO: TCP Data received {"connection_id":50147,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:56:32] local.INFO: Processing buffer {"connection_id":50147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:56:32] local.INFO: IMEI packet received {"connection_id":50147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:56:38] local.INFO: TCP Data received {"connection_id":50147,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:56:38] local.INFO: Processing buffer {"connection_id":50147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:56:38] local.INFO: Packet analysis {"connection_id":50147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:56:38] local.INFO: Extracted packet for processing {"connection_id":50147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:56:38] 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-22 03:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 03:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 03:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 03:56:38] 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-22 03:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 03:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:56:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 03:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":50147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:56:38] local.INFO: GPS data processed {"connection_id":50147,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:56:38] local.INFO: Acknowledgment sent {"connection_id":50147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:57:09] local.INFO: TCP Data received {"connection_id":50147,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:57:09] local.INFO: Processing buffer {"connection_id":50147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:57:09] local.INFO: Packet analysis {"connection_id":50147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:57:09] local.INFO: Extracted packet for processing {"connection_id":50147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:57: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-22 03:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 03: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-22 03: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-22 03:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 03:57:09] 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-22 03: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-22 03: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-22 03:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:57:09] local.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-22 03:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 03:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:57:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 03:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":50147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:57:09] local.INFO: GPS data processed {"connection_id":50147,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:57:09] local.INFO: Acknowledgment sent {"connection_id":50147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:57:27] local.INFO: TCP Data received {"connection_id":50800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:57:27] local.INFO: Processing buffer {"connection_id":50800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:57:27] local.INFO: IMEI packet received {"connection_id":50800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":50800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:57:32] local.INFO: TCP Data received {"connection_id":50800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:57:32] local.INFO: Processing buffer {"connection_id":50800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:57:32] local.INFO: IMEI packet received {"connection_id":50800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:57:33] local.INFO: TCP Data received {"connection_id":50800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:57:33] local.INFO: Processing buffer {"connection_id":50800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:57:33] local.INFO: Packet analysis {"connection_id":50800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:57:33] local.INFO: Extracted packet for processing {"connection_id":50800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:57:33] 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-22 03:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 03:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:57: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-22 03:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 03:57:33] 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-22 03:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 03:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:57:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 03:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:57:33] local.INFO: GPS data processed {"connection_id":50800,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:57:33] local.INFO: Acknowledgment sent {"connection_id":50800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:58:04] local.INFO: TCP Data received {"connection_id":50800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:58:04] local.INFO: Processing buffer {"connection_id":50800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:58:04] local.INFO: Packet analysis {"connection_id":50800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:58:04] local.INFO: Extracted packet for processing {"connection_id":50800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:58: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-22 03:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 03:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:58: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-22 03:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 03:58: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-22 03:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:58: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-22 03:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 03:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:58:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 03:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":50800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:58:04] local.INFO: GPS data processed {"connection_id":50800,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:58:04] local.INFO: Acknowledgment sent {"connection_id":50800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:58:27] local.INFO: TCP Data received {"connection_id":50148,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:58:27] local.INFO: Processing buffer {"connection_id":50148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:58:27] local.INFO: IMEI packet received {"connection_id":50148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:58:32] local.INFO: TCP Data received {"connection_id":50148,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:58:32] local.INFO: Processing buffer {"connection_id":50148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:58:32] local.INFO: IMEI packet received {"connection_id":50148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:58:33] local.INFO: TCP Data received {"connection_id":50148,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:58:33] local.INFO: Processing buffer {"connection_id":50148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:58:33] local.INFO: Packet analysis {"connection_id":50148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:58:33] local.INFO: Extracted packet for processing {"connection_id":50148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:58:33] 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-22 03:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 03: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-22 03: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-22 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 03:58:33] 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-22 03: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-22 03: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-22 03:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:58:33] 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-22 03:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:58:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 03:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:58:33] local.INFO: GPS data processed {"connection_id":50148,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:58:33] local.INFO: Acknowledgment sent {"connection_id":50148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:59:04] local.INFO: TCP Data received {"connection_id":50148,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:59:04] local.INFO: Processing buffer {"connection_id":50148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:59:04] local.INFO: Packet analysis {"connection_id":50148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:59:04] local.INFO: Extracted packet for processing {"connection_id":50148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 03:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:59: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-22 03:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 03:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 03:59: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-22 03:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 03:59: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-22 03:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 03:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 03:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:59:04] 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-22 03:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 03:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:59:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 03:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":50148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:59:04] local.INFO: GPS data processed {"connection_id":50148,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:59:04] local.INFO: Acknowledgment sent {"connection_id":50148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 03:59:27] local.INFO: TCP Data received {"connection_id":49912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:59:27] local.INFO: Processing buffer {"connection_id":49912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:59:27] local.INFO: IMEI packet received {"connection_id":49912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 03:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":49912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 03:59:32] local.INFO: TCP Data received {"connection_id":49912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:59:32] local.INFO: Processing buffer {"connection_id":49912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 03:59:32] local.INFO: IMEI packet received {"connection_id":49912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 03:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":49912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 03:59:33] local.INFO: TCP Data received {"connection_id":49912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:59:33] local.INFO: Processing buffer {"connection_id":49912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 03:59:33] local.INFO: Packet analysis {"connection_id":49912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:59:33] local.INFO: Extracted packet for processing {"connection_id":49912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 03:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 03: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-22 03:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 03:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 03:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 03:59:33] 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-22 03:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 03: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-22 03: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-22 03: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 03:59:33] 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-22 03: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-22 03: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-22 03:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 03:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 03:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 03:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 03:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 03:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 03:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 03:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 03:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 03:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 03:59:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 03:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 03:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 03:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 03:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 03:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":49912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 03:59:33] local.INFO: GPS data processed {"connection_id":49912,"processed":1,"errors":0,"total":1} 
[2026-04-22 03:59:33] local.INFO: Acknowledgment sent {"connection_id":49912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:00:03] local.INFO: TCP Data received {"connection_id":49912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 04:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 04:00:03] local.INFO: Processing buffer {"connection_id":49912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2253888012d7f960005afd7d00005015627..."} 
[2026-04-22 04:00:03] local.INFO: Packet analysis {"connection_id":49912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 04:00:03] local.INFO: Extracted packet for processing {"connection_id":49912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db225"} 
[2026-04-22 04:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863353856001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:00: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-22 04:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776810277000,"timestamp_ms":1776810277000,"timestamp_seconds":1776810277,"priority":1,"record_length":96,"hex_timestamp":"0000019db2253888"} 
[2026-04-22 04: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-22 04: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-22 04: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 04:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":49912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":49912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":49912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:00: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-22 04:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863353856001,"66":25778,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863353856001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:00:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863353856001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":49912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:00:03] local.INFO: GPS data processed {"connection_id":49912,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:00:03] local.INFO: Acknowledgment sent {"connection_id":49912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:00:27] local.INFO: TCP Data received {"connection_id":50149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:00:27] local.INFO: Processing buffer {"connection_id":50149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:00:27] local.INFO: IMEI packet received {"connection_id":50149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:00:32] local.INFO: TCP Data received {"connection_id":50149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:00:32] local.INFO: Processing buffer {"connection_id":50149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:00:32] local.INFO: IMEI packet received {"connection_id":50149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:00:33] local.INFO: TCP Data received {"connection_id":50149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:00:33] local.INFO: Processing buffer {"connection_id":50149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:00:33] local.INFO: Packet analysis {"connection_id":50149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:00:33] local.INFO: Extracted packet for processing {"connection_id":50149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:00:33] 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-22 04:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:00: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-22 04: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-22 04: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-22 04:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:00:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:00:33] local.INFO: GPS data processed {"connection_id":50149,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:00:33] local.INFO: Acknowledgment sent {"connection_id":50149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:01:04] local.INFO: TCP Data received {"connection_id":50149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:01:04] local.INFO: Processing buffer {"connection_id":50149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:01:04] local.INFO: Packet analysis {"connection_id":50149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:01:04] local.INFO: Extracted packet for processing {"connection_id":50149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:01: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-22 04:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04: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-22 04:01: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-22 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:01:04] 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-22 04: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-22 04: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-22 04:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:01: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-22 04:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:01:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:01:04] local.INFO: GPS data processed {"connection_id":50149,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:01:04] local.INFO: Acknowledgment sent {"connection_id":50149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:01:27] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:01:27] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:01:27] local.INFO: IMEI packet received {"connection_id":50801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":50801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:01:32] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:01:32] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:01:32] local.INFO: IMEI packet received {"connection_id":50801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":50801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:01:33] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:01:33] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:01:33] local.INFO: Packet analysis {"connection_id":50801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:01:33] local.INFO: Extracted packet for processing {"connection_id":50801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:01:33] 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-22 04:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04: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-22 04: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-22 04: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":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:01: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-22 04: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-22 04: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-22 04:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:01:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":50801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:01:33] local.INFO: GPS data processed {"connection_id":50801,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:01:33] local.INFO: Acknowledgment sent {"connection_id":50801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:01:52] local.INFO: TCP Data received {"connection_id":50290,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:01:52] local.INFO: Processing buffer {"connection_id":50290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:01:52] local.INFO: IMEI packet received {"connection_id":50290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":50290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:02:04] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:02:04] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:02:04] local.INFO: Packet analysis {"connection_id":50801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:02:04] local.INFO: Extracted packet for processing {"connection_id":50801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:02: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-22 04:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04: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-22 04:02: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-22 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:02:04] 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-22 04: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-22 04: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-22 04:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:02:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":50801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:02:04] local.INFO: GPS data processed {"connection_id":50801,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:02:04] local.INFO: Acknowledgment sent {"connection_id":50801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:02:27] local.INFO: TCP Data received {"connection_id":50291,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:02:27] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:02:27] local.INFO: IMEI packet received {"connection_id":50291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:02:32] local.INFO: TCP Data received {"connection_id":50291,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:02:32] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:02:32] local.INFO: IMEI packet received {"connection_id":50291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:02:33] local.INFO: TCP Data received {"connection_id":50291,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:02:33] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:02:33] local.INFO: Packet analysis {"connection_id":50291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:02:33] local.INFO: Extracted packet for processing {"connection_id":50291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:02:33] 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-22 04:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04: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-22 04:02: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-22 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:02: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-22 04: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-22 04: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-22 04:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:02:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:02:33] local.INFO: GPS data processed {"connection_id":50291,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:02:33] local.INFO: Acknowledgment sent {"connection_id":50291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:03:04] local.INFO: TCP Data received {"connection_id":50291,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:03:04] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:03:04] local.INFO: Packet analysis {"connection_id":50291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:03:04] local.INFO: Extracted packet for processing {"connection_id":50291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:03: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-22 04:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:03: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-22 04:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:03:04] 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-22 04:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:03:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":50291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:03:05] local.INFO: GPS data processed {"connection_id":50291,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:03:05] local.INFO: Acknowledgment sent {"connection_id":50291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:03:27] local.INFO: TCP Data received {"connection_id":50803,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:03:27] local.INFO: Processing buffer {"connection_id":50803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:03:27] local.INFO: IMEI packet received {"connection_id":50803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:03:32] local.INFO: TCP Data received {"connection_id":50803,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:03:32] local.INFO: Processing buffer {"connection_id":50803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:03:32] local.INFO: IMEI packet received {"connection_id":50803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:03:33] local.INFO: TCP Data received {"connection_id":50803,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:03:33] local.INFO: Processing buffer {"connection_id":50803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:03:33] local.INFO: Packet analysis {"connection_id":50803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:03:33] local.INFO: Extracted packet for processing {"connection_id":50803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:03:33] 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-22 04:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04: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-22 04:03: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-22 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:03: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-22 04: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-22 04: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-22 04:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:03:33] 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-22 04:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:03:33] local.INFO: GPS data processed {"connection_id":50803,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:03:33] local.INFO: Acknowledgment sent {"connection_id":50803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:04:04] local.INFO: TCP Data received {"connection_id":50803,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:04:04] local.INFO: Processing buffer {"connection_id":50803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:04:04] local.INFO: Packet analysis {"connection_id":50803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:04:04] local.INFO: Extracted packet for processing {"connection_id":50803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:04: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-22 04:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04: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-22 04:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:04:04] 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-22 04:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:04:04] 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-22 04:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:04:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:04:04] local.INFO: GPS data processed {"connection_id":50803,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:04:04] local.INFO: Acknowledgment sent {"connection_id":50803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:04:27] local.INFO: TCP Data received {"connection_id":49914,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:04:27] local.INFO: Processing buffer {"connection_id":49914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:04:27] local.INFO: IMEI packet received {"connection_id":49914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":49914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:04:32] local.INFO: TCP Data received {"connection_id":49914,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:04:32] local.INFO: Processing buffer {"connection_id":49914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:04:32] local.INFO: IMEI packet received {"connection_id":49914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":49914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:04:33] local.INFO: TCP Data received {"connection_id":49914,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:04:33] local.INFO: Processing buffer {"connection_id":49914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:04:33] local.INFO: Packet analysis {"connection_id":49914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:04:33] local.INFO: Extracted packet for processing {"connection_id":49914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:04:33] 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-22 04:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04: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-22 04:04: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-22 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:04: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-22 04: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-22 04: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-22 04:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:04:33] 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-22 04:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":49914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:04:33] local.INFO: GPS data processed {"connection_id":49914,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:04:33] local.INFO: Acknowledgment sent {"connection_id":49914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:05:04] local.INFO: TCP Data received {"connection_id":49914,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:05:04] local.INFO: Processing buffer {"connection_id":49914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db229d050012d7f960005afd7d00005015628..."} 
[2026-04-22 04:05:04] local.INFO: Packet analysis {"connection_id":49914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:05:04] local.INFO: Extracted packet for processing {"connection_id":49914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db229"} 
[2026-04-22 04:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":5,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863430912001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:05: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-22 04:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810578000,"timestamp_ms":1776810578000,"timestamp_seconds":1776810578,"priority":1,"record_length":96,"hex_timestamp":"0000019db229d050"} 
[2026-04-22 04:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:05: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-22 04:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 04:05:04] 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-22 04:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:05: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-22 04:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863430912001,"66":25680,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863430912001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:05:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863430912001,"power":25680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":49914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:05:04] local.INFO: GPS data processed {"connection_id":49914,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:05:04] local.INFO: Acknowledgment sent {"connection_id":49914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:05:27] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:05:27] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:05:27] local.INFO: IMEI packet received {"connection_id":50292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:05:32] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:05:32] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:05:32] local.INFO: IMEI packet received {"connection_id":50292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:05:33] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:05:33] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:05:33] local.INFO: Packet analysis {"connection_id":50292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:05:33] local.INFO: Extracted packet for processing {"connection_id":50292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:05:33] 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-22 04:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04: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-22 04:05: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-22 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:05: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-22 04: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-22 04: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-22 04:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:05: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-22 04:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:05:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":50292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:05:33] local.INFO: GPS data processed {"connection_id":50292,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:05:33] local.INFO: Acknowledgment sent {"connection_id":50292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:06:04] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:06:04] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:06:04] local.INFO: Packet analysis {"connection_id":50292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:06:04] local.INFO: Extracted packet for processing {"connection_id":50292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:06: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-22 04:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:06: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-22 04:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:06: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-22 04:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:06:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":50292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:06:04] local.INFO: GPS data processed {"connection_id":50292,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:06:04] local.INFO: Acknowledgment sent {"connection_id":50292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:06:27] local.INFO: TCP Data received {"connection_id":49915,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:06:27] local.INFO: Processing buffer {"connection_id":49915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:06:27] local.INFO: IMEI packet received {"connection_id":49915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":49915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:06:32] local.INFO: TCP Data received {"connection_id":49915,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:06:32] local.INFO: Processing buffer {"connection_id":49915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:06:32] local.INFO: IMEI packet received {"connection_id":49915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":49915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:06:33] local.INFO: TCP Data received {"connection_id":49915,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:06:33] local.INFO: Processing buffer {"connection_id":49915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:06:33] local.INFO: Packet analysis {"connection_id":49915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:06:33] local.INFO: Extracted packet for processing {"connection_id":49915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:06:33] 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-22 04:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04: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-22 04:06: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-22 04:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:06: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-22 04: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-22 04: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-22 04:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:06:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":49915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:06:33] local.INFO: GPS data processed {"connection_id":49915,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:06:33] local.INFO: Acknowledgment sent {"connection_id":49915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:07:04] local.INFO: TCP Data received {"connection_id":49915,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:07:04] local.INFO: Processing buffer {"connection_id":49915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:07:04] local.INFO: Packet analysis {"connection_id":49915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:07:04] local.INFO: Extracted packet for processing {"connection_id":49915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:07: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-22 04:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04: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-22 04:07: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-22 04:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04: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-22 04: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-22 04:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:07:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":49915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:07:04] local.INFO: GPS data processed {"connection_id":49915,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:07:04] local.INFO: Acknowledgment sent {"connection_id":49915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:07:17] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:07:17] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:07:17] local.INFO: IMEI packet received {"connection_id":50805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":50805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:07:27] local.INFO: TCP Data received {"connection_id":50151,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:07:27] local.INFO: Processing buffer {"connection_id":50151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:07:27] local.INFO: IMEI packet received {"connection_id":50151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:07:32] local.INFO: TCP Data received {"connection_id":50151,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:07:32] local.INFO: Processing buffer {"connection_id":50151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:07:32] local.INFO: IMEI packet received {"connection_id":50151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:07:33] local.INFO: TCP Data received {"connection_id":50151,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:07:33] local.INFO: Processing buffer {"connection_id":50151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:07:33] local.INFO: Packet analysis {"connection_id":50151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:07:33] local.INFO: Extracted packet for processing {"connection_id":50151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:07:33] 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-22 04:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04: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-22 04:07: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-22 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:07: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-22 04: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-22 04: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-22 04:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:07:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:07:33] local.INFO: GPS data processed {"connection_id":50151,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:07:33] local.INFO: Acknowledgment sent {"connection_id":50151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:07:57] local.INFO: TCP Data received {"connection_id":50806,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:07:57] local.INFO: Processing buffer {"connection_id":50806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:07:57] local.INFO: IMEI packet received {"connection_id":50806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":50806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:08:04] local.INFO: TCP Data received {"connection_id":50151,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:08:04] local.INFO: Processing buffer {"connection_id":50151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:08:04] local.INFO: Packet analysis {"connection_id":50151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:08:04] local.INFO: Extracted packet for processing {"connection_id":50151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:08: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-22 04:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04: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-22 04:08: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-22 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04: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-22 04: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-22 04:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:08:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:08:04] local.INFO: GPS data processed {"connection_id":50151,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:08:04] local.INFO: Acknowledgment sent {"connection_id":50151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:08:27] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:08:27] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:08:27] local.INFO: IMEI packet received {"connection_id":50807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":50807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:08:32] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:08:32] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:08:32] local.INFO: IMEI packet received {"connection_id":50807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:08:33] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:08:33] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:08:33] local.INFO: Packet analysis {"connection_id":50807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:08:33] local.INFO: Extracted packet for processing {"connection_id":50807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:08:33] 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-22 04:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04: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-22 04: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-22 04: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":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:08: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-22 04: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-22 04: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-22 04:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:08: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-22 04:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:08:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":50807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:08:33] local.INFO: GPS data processed {"connection_id":50807,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:08:33] local.INFO: Acknowledgment sent {"connection_id":50807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:09:04] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:09:04] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:09:04] local.INFO: Packet analysis {"connection_id":50807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:09:04] local.INFO: Extracted packet for processing {"connection_id":50807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:09: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-22 04:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:09: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-22 04:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:09: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-22 04:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:09:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":50807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:09:04] local.INFO: GPS data processed {"connection_id":50807,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:09:04] local.INFO: Acknowledgment sent {"connection_id":50807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:09:27] local.INFO: TCP Data received {"connection_id":50152,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:09:27] local.INFO: Processing buffer {"connection_id":50152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:09:27] local.INFO: IMEI packet received {"connection_id":50152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:09:33] local.INFO: TCP Data received {"connection_id":50152,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:09:33] local.INFO: Processing buffer {"connection_id":50152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:09:33] local.INFO: IMEI packet received {"connection_id":50152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":50152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:09:33] local.INFO: TCP Data received {"connection_id":50152,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:09:33] local.INFO: Processing buffer {"connection_id":50152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:09:33] local.INFO: Packet analysis {"connection_id":50152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:09:33] local.INFO: Extracted packet for processing {"connection_id":50152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:09:33] 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-22 04:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04: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-22 04: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-22 04: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":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:09: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-22 04: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-22 04: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-22 04:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:09:33] 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-22 04:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:09:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":50152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:09:33] local.INFO: GPS data processed {"connection_id":50152,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:09:33] local.INFO: Acknowledgment sent {"connection_id":50152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:10:04] local.INFO: TCP Data received {"connection_id":50152,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:10:04] local.INFO: Processing buffer {"connection_id":50152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db22e6818012d7f960005afd7d00003015625..."} 
[2026-04-22 04:10:04] local.INFO: Packet analysis {"connection_id":50152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:10:04] local.INFO: Extracted packet for processing {"connection_id":50152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db22e"} 
[2026-04-22 04:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:10: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-22 04:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776810879000,"timestamp_ms":1776810879000,"timestamp_seconds":1776810879,"priority":1,"record_length":96,"hex_timestamp":"0000019db22e6818"} 
[2026-04-22 04: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-22 04:10: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-22 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 04:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04: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-22 04: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-22 04:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:10:04] 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-22 04:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863507968001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:10:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863507968001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":50152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:10:04] local.INFO: GPS data processed {"connection_id":50152,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:10:04] local.INFO: Acknowledgment sent {"connection_id":50152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:10:27] local.INFO: TCP Data received {"connection_id":50808,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:10:27] local.INFO: Processing buffer {"connection_id":50808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:10:27] local.INFO: IMEI packet received {"connection_id":50808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:10:32] local.INFO: TCP Data received {"connection_id":50808,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:10:32] local.INFO: Processing buffer {"connection_id":50808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:10:32] local.INFO: IMEI packet received {"connection_id":50808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:10:33] local.INFO: TCP Data received {"connection_id":50808,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:10:33] local.INFO: Processing buffer {"connection_id":50808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:10:33] local.INFO: Packet analysis {"connection_id":50808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:10:33] local.INFO: Extracted packet for processing {"connection_id":50808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:10:33] 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-22 04:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 04:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04: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-22 04:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:10: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-22 04:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":50808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:10:33] local.INFO: GPS data processed {"connection_id":50808,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:10:33] local.INFO: Acknowledgment sent {"connection_id":50808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:11:04] local.INFO: TCP Data received {"connection_id":50808,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:11:04] local.INFO: Processing buffer {"connection_id":50808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:11:04] local.INFO: Packet analysis {"connection_id":50808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:11:04] local.INFO: Extracted packet for processing {"connection_id":50808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:11: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-22 04:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 04: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-22 04:11: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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:11: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-22 04: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-22 04: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-22 04:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:11:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":50808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:11:04] local.INFO: GPS data processed {"connection_id":50808,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:11:04] local.INFO: Acknowledgment sent {"connection_id":50808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:11:27] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:11:27] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:11:27] local.INFO: IMEI packet received {"connection_id":50809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":50809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:11:32] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:11:32] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:11:32] local.INFO: IMEI packet received {"connection_id":50809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:11:33] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:11:33] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:11:33] local.INFO: Packet analysis {"connection_id":50809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:11:33] local.INFO: Extracted packet for processing {"connection_id":50809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:11:33] 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-22 04:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 04:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:11: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-22 04:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:11:33] local.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-22 04:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:11:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":50809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:11:33] local.INFO: GPS data processed {"connection_id":50809,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:11:33] local.INFO: Acknowledgment sent {"connection_id":50809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:12:04] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:12:04] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:12:04] local.INFO: Packet analysis {"connection_id":50809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:12:04] local.INFO: Extracted packet for processing {"connection_id":50809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:12: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-22 04:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 04: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-22 04:12: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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:12: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-22 04: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-22 04: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-22 04:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:12:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":50809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:12:04] local.INFO: GPS data processed {"connection_id":50809,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:12:04] local.INFO: Acknowledgment sent {"connection_id":50809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:12:27] local.INFO: TCP Data received {"connection_id":50156,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:12:27] local.INFO: Processing buffer {"connection_id":50156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:12:27] local.INFO: IMEI packet received {"connection_id":50156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":50156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:12:32] local.INFO: TCP Data received {"connection_id":50156,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:12:32] local.INFO: Processing buffer {"connection_id":50156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:12:32] local.INFO: IMEI packet received {"connection_id":50156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:12:33] local.INFO: TCP Data received {"connection_id":50156,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:12:33] local.INFO: Processing buffer {"connection_id":50156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:12:33] local.INFO: Packet analysis {"connection_id":50156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:12:33] local.INFO: Extracted packet for processing {"connection_id":50156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:12:33] 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-22 04:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 04: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-22 04:12: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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:12: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-22 04: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-22 04: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-22 04:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:12:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":50156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:12:33] local.INFO: GPS data processed {"connection_id":50156,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:12:33] local.INFO: Acknowledgment sent {"connection_id":50156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:13:04] local.INFO: TCP Data received {"connection_id":50156,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:13:04] local.INFO: Processing buffer {"connection_id":50156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:13:04] local.INFO: Packet analysis {"connection_id":50156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:13:04] local.INFO: Extracted packet for processing {"connection_id":50156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04: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-22 04:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 04:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:13: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-22 04:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:13: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-22 04:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:13: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-22 04:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:13:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":50156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:13:04] local.INFO: GPS data processed {"connection_id":50156,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:13:04] local.INFO: Acknowledgment sent {"connection_id":50156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:13:12] local.INFO: TCP Data received {"connection_id":49917,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:13:12] local.INFO: Processing buffer {"connection_id":49917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:13:12] local.INFO: IMEI packet received {"connection_id":49917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":49917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:13:27] local.INFO: TCP Data received {"connection_id":50294,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:13:27] local.INFO: Processing buffer {"connection_id":50294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:13:27] local.INFO: IMEI packet received {"connection_id":50294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:13:32] local.INFO: TCP Data received {"connection_id":50294,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:13:32] local.INFO: Processing buffer {"connection_id":50294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:13:32] local.INFO: IMEI packet received {"connection_id":50294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:13:33] local.INFO: TCP Data received {"connection_id":50294,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:13:33] local.INFO: Processing buffer {"connection_id":50294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:13:33] local.INFO: Packet analysis {"connection_id":50294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:13:33] local.INFO: Extracted packet for processing {"connection_id":50294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:13:33] 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-22 04:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 04: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-22 04:13: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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:13: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-22 04: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-22 04: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-22 04:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":50294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:13:33] local.INFO: GPS data processed {"connection_id":50294,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:13:33] local.INFO: Acknowledgment sent {"connection_id":50294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:13:52] local.INFO: TCP Data received {"connection_id":50295,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:13:52] local.INFO: Processing buffer {"connection_id":50295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:13:52] local.INFO: IMEI packet received {"connection_id":50295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":50295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:14:04] local.INFO: TCP Data received {"connection_id":50294,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:14:04] local.INFO: Processing buffer {"connection_id":50294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:14:04] local.INFO: Packet analysis {"connection_id":50294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:14:04] local.INFO: Extracted packet for processing {"connection_id":50294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:14: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-22 04:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:14: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-22 04: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-22 04: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-22 04:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:14:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":50294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:14:04] local.INFO: GPS data processed {"connection_id":50294,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:14:04] local.INFO: Acknowledgment sent {"connection_id":50294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:14:27] local.INFO: TCP Data received {"connection_id":49918,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:14:27] local.INFO: Processing buffer {"connection_id":49918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:14:27] local.INFO: IMEI packet received {"connection_id":49918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":49918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:14:33] local.INFO: TCP Data received {"connection_id":49918,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:14:33] local.INFO: Processing buffer {"connection_id":49918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:14:33] local.INFO: IMEI packet received {"connection_id":49918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":49918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:14:34] local.INFO: TCP Data received {"connection_id":49918,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:14:34] local.INFO: Processing buffer {"connection_id":49918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:14:34] local.INFO: Packet analysis {"connection_id":49918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:14:34] local.INFO: Extracted packet for processing {"connection_id":49918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 04:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:14: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-22 04:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 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-22 04:14: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-22 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:14: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-22 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-22 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-22 04:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:14:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":49918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:14:34] local.INFO: GPS data processed {"connection_id":49918,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:14:34] local.INFO: Acknowledgment sent {"connection_id":49918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:15:05] local.INFO: TCP Data received {"connection_id":49918,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:15:05] local.INFO: Processing buffer {"connection_id":49918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db232ffe0012d7f960005afd7d00003015628..."} 
[2026-04-22 04:15:05] local.INFO: Packet analysis {"connection_id":49918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:15:05] local.INFO: Extracted packet for processing {"connection_id":49918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db232"} 
[2026-04-22 04:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":3,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863585024001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:15:05] 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-22 04:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776811180000,"timestamp_ms":1776811180000,"timestamp_seconds":1776811180,"priority":1,"record_length":96,"hex_timestamp":"0000019db232ffe0"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:15: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-22 04: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-22 04: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-22 04:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863585024001,"66":25647,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863585024001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:15:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863585024001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":49918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:15:05] local.INFO: GPS data processed {"connection_id":49918,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:15:05] local.INFO: Acknowledgment sent {"connection_id":49918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:15:32] local.INFO: TCP Data received {"connection_id":49919,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:15:32] local.INFO: Processing buffer {"connection_id":49919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:15:32] local.INFO: IMEI packet received {"connection_id":49919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":49919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:15:37] local.INFO: TCP Data received {"connection_id":49919,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:15:37] local.INFO: Processing buffer {"connection_id":49919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:15:37] local.INFO: IMEI packet received {"connection_id":49919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":49919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:15:38] local.INFO: TCP Data received {"connection_id":49919,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:15:38] local.INFO: Processing buffer {"connection_id":49919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:15:38] local.INFO: Packet analysis {"connection_id":49919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:15:38] local.INFO: Extracted packet for processing {"connection_id":49919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:15:38] 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-22 04:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:15:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":49919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:15:38] local.INFO: GPS data processed {"connection_id":49919,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:15:38] local.INFO: Acknowledgment sent {"connection_id":49919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:15:43] local.INFO: TCP Data received {"connection_id":49919,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:15:43] local.INFO: Processing buffer {"connection_id":49919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:15:43] local.INFO: Packet analysis {"connection_id":49919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:15:43] local.INFO: Extracted packet for processing {"connection_id":49919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:15:43] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:15: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-22 04:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:15:43] 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-22 04:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04:15: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-22 04:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:15:43] 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-22 04:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:15:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":49919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:15:43] local.INFO: GPS data processed {"connection_id":49919,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:15:43] local.INFO: Acknowledgment sent {"connection_id":49919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:16:27] local.INFO: TCP Data received {"connection_id":50159,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:16:27] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:16:27] local.INFO: IMEI packet received {"connection_id":50159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:16:32] local.INFO: TCP Data received {"connection_id":50159,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:16:32] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:16:32] local.INFO: IMEI packet received {"connection_id":50159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":50159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:16:33] local.INFO: TCP Data received {"connection_id":50159,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:16:33] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:16:33] local.INFO: Packet analysis {"connection_id":50159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:16:33] local.INFO: Extracted packet for processing {"connection_id":50159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:16:33] 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-22 04:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04: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-22 04:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:16: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-22 04:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:16:33] 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-22 04:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:16:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":50159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:16:33] local.INFO: GPS data processed {"connection_id":50159,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:16:33] local.INFO: Acknowledgment sent {"connection_id":50159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:17:04] local.INFO: TCP Data received {"connection_id":50159,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:17:04] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:17:04] local.INFO: Packet analysis {"connection_id":50159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:17:04] local.INFO: Extracted packet for processing {"connection_id":50159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:17: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-22 04:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:17: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-22 04:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:17: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-22 04:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:17:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":50159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:17:04] local.INFO: GPS data processed {"connection_id":50159,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:17:04] local.INFO: Acknowledgment sent {"connection_id":50159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:17:27] local.INFO: TCP Data received {"connection_id":50160,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:17:27] local.INFO: Processing buffer {"connection_id":50160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:17:27] local.INFO: IMEI packet received {"connection_id":50160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":50160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:17:32] local.INFO: TCP Data received {"connection_id":50160,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:17:32] local.INFO: Processing buffer {"connection_id":50160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:17:32] local.INFO: IMEI packet received {"connection_id":50160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:17:33] local.INFO: TCP Data received {"connection_id":50160,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:17:33] local.INFO: Processing buffer {"connection_id":50160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:17:33] local.INFO: Packet analysis {"connection_id":50160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:17:33] local.INFO: Extracted packet for processing {"connection_id":50160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:17:33] 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-22 04:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:17: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-22 04: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-22 04: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-22 04:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:17:33] 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-22 04:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:17:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:17:33] local.INFO: GPS data processed {"connection_id":50160,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:17:33] local.INFO: Acknowledgment sent {"connection_id":50160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:18:04] local.INFO: TCP Data received {"connection_id":50160,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:18:04] local.INFO: Processing buffer {"connection_id":50160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:18:04] local.INFO: Packet analysis {"connection_id":50160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:18:04] local.INFO: Extracted packet for processing {"connection_id":50160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:18: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-22 04:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:18: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-22 04:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:18:04] 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-22 04:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:18:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:18:04] local.INFO: GPS data processed {"connection_id":50160,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:18:04] local.INFO: Acknowledgment sent {"connection_id":50160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:18:27] local.INFO: TCP Data received {"connection_id":50296,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:18:27] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:18:27] local.INFO: IMEI packet received {"connection_id":50296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:18:32] local.INFO: TCP Data received {"connection_id":50296,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:18:32] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:18:32] local.INFO: IMEI packet received {"connection_id":50296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:18:33] local.INFO: TCP Data received {"connection_id":50296,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:18:33] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:18:33] local.INFO: Packet analysis {"connection_id":50296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:18:33] local.INFO: Extracted packet for processing {"connection_id":50296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:18:33] 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-22 04:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04: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-22 04:18: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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:18: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-22 04: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-22 04: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-22 04:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:18:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":50296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:18:33] local.INFO: GPS data processed {"connection_id":50296,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:18:33] local.INFO: Acknowledgment sent {"connection_id":50296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:19:04] local.INFO: TCP Data received {"connection_id":50296,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:19:04] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:19:04] local.INFO: Packet analysis {"connection_id":50296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:19:04] local.INFO: Extracted packet for processing {"connection_id":50296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:19: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-22 04:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:19: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-22 04: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-22 04: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-22 04:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:19:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":50296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:19:04] local.INFO: GPS data processed {"connection_id":50296,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:19:04] local.INFO: Acknowledgment sent {"connection_id":50296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:19:07] local.INFO: TCP Data received {"connection_id":50810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:19:07] local.INFO: Processing buffer {"connection_id":50810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:19:07] local.INFO: IMEI packet received {"connection_id":50810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":50810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:19:32] local.INFO: TCP Data received {"connection_id":50161,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:19:32] local.INFO: Processing buffer {"connection_id":50161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:19:32] local.INFO: IMEI packet received {"connection_id":50161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:19:37] local.INFO: TCP Data received {"connection_id":50161,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:19:37] local.INFO: Processing buffer {"connection_id":50161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:19:37] local.INFO: IMEI packet received {"connection_id":50161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":50161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:19:38] local.INFO: TCP Data received {"connection_id":50161,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:19:38] local.INFO: Processing buffer {"connection_id":50161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:19:38] local.INFO: Packet analysis {"connection_id":50161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:19:38] local.INFO: Extracted packet for processing {"connection_id":50161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:19:38] 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-22 04:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04: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-22 04:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:19:38] 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-22 04:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:19:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":50161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:19:38] local.INFO: GPS data processed {"connection_id":50161,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:19:38] local.INFO: Acknowledgment sent {"connection_id":50161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:19:43] local.INFO: TCP Data received {"connection_id":50161,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:19:43] local.INFO: Processing buffer {"connection_id":50161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23797a8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:19:43] local.INFO: Packet analysis {"connection_id":50161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:19:43] local.INFO: Extracted packet for processing {"connection_id":50161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db237"} 
[2026-04-22 04:19:43] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863662080001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:19:43] 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-22 04:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776811481000,"timestamp_ms":1776811481000,"timestamp_seconds":1776811481,"priority":1,"record_length":96,"hex_timestamp":"0000019db23797a8"} 
[2026-04-22 04: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-22 04:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 04:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04: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-22 04: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-22 04:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:19:43] 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-22 04:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863662080001,"66":25593,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863662080001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:19:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863662080001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":50161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:19:43] local.INFO: GPS data processed {"connection_id":50161,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:19:43] local.INFO: Acknowledgment sent {"connection_id":50161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:19:57] local.INFO: TCP Data received {"connection_id":50811,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:19:57] local.INFO: Processing buffer {"connection_id":50811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:19:57] local.INFO: IMEI packet received {"connection_id":50811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":50811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:20:28] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:20:28] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:20:28] local.INFO: IMEI packet received {"connection_id":50812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":50812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:20:32] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:20:32] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:20:32] local.INFO: IMEI packet received {"connection_id":50812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:20:33] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:20:33] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:20:33] local.INFO: Packet analysis {"connection_id":50812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:20:33] local.INFO: Extracted packet for processing {"connection_id":50812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:20:33] 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-22 04:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04: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-22 04:20: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-22 04: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":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:20:33] 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-22 04: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-22 04: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-22 04:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:20:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":50812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:20:33] local.INFO: GPS data processed {"connection_id":50812,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:20:33] local.INFO: Acknowledgment sent {"connection_id":50812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:21:04] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:21:04] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:21:04] local.INFO: Packet analysis {"connection_id":50812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:21:04] local.INFO: Extracted packet for processing {"connection_id":50812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:21: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-22 04:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04: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-22 04:21: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-22 04: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":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:21: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-22 04: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-22 04: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-22 04:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:21: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-22 04:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:21:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:21:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":50812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:21:04] local.INFO: GPS data processed {"connection_id":50812,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:21:04] local.INFO: Acknowledgment sent {"connection_id":50812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:21:27] local.INFO: TCP Data received {"connection_id":50162,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:21:27] local.INFO: Processing buffer {"connection_id":50162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:21:27] local.INFO: IMEI packet received {"connection_id":50162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:21:32] local.INFO: TCP Data received {"connection_id":50162,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:21:32] local.INFO: Processing buffer {"connection_id":50162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:21:32] local.INFO: IMEI packet received {"connection_id":50162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:21:33] local.INFO: TCP Data received {"connection_id":50162,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:21:33] local.INFO: Processing buffer {"connection_id":50162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:21:33] local.INFO: Packet analysis {"connection_id":50162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:21:33] local.INFO: Extracted packet for processing {"connection_id":50162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:21:33] 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-22 04:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04: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-22 04: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-22 04: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:21:33] 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-22 04: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-22 04: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-22 04:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:21:33] 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-22 04:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:21:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":50162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:21:33] local.INFO: GPS data processed {"connection_id":50162,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:21:33] local.INFO: Acknowledgment sent {"connection_id":50162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:22:04] local.INFO: TCP Data received {"connection_id":50162,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:22:04] local.INFO: Processing buffer {"connection_id":50162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:22:04] local.INFO: Packet analysis {"connection_id":50162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:22:04] local.INFO: Extracted packet for processing {"connection_id":50162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:22: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-22 04:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:22: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-22 04:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:22: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-22 04:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:22:04] 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-22 04:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:22:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:22:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":50162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:22:04] local.INFO: GPS data processed {"connection_id":50162,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:22:04] local.INFO: Acknowledgment sent {"connection_id":50162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:22:27] local.INFO: TCP Data received {"connection_id":49922,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:22:27] local.INFO: Processing buffer {"connection_id":49922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:22:27] local.INFO: IMEI packet received {"connection_id":49922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":49922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:22:32] local.INFO: TCP Data received {"connection_id":49922,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:22:32] local.INFO: Processing buffer {"connection_id":49922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:22:32] local.INFO: IMEI packet received {"connection_id":49922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":49922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:22:33] local.INFO: TCP Data received {"connection_id":49922,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:22:33] local.INFO: Processing buffer {"connection_id":49922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:22:33] local.INFO: Packet analysis {"connection_id":49922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:22:33] local.INFO: Extracted packet for processing {"connection_id":49922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:22:33] 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-22 04:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:22: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-22 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:22:33] 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-22 04:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:22:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":49922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:22:33] local.INFO: GPS data processed {"connection_id":49922,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:22:33] local.INFO: Acknowledgment sent {"connection_id":49922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:23:04] local.INFO: TCP Data received {"connection_id":49922,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:23:04] local.INFO: Processing buffer {"connection_id":49922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:23:04] local.INFO: Packet analysis {"connection_id":49922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:23:04] local.INFO: Extracted packet for processing {"connection_id":49922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:23: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-22 04:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:23: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-22 04:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:23: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-22 04:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:23:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":49922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:23:04] local.INFO: GPS data processed {"connection_id":49922,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:23:04] local.INFO: Acknowledgment sent {"connection_id":49922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:23:27] local.INFO: TCP Data received {"connection_id":50815,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:23:27] local.INFO: Processing buffer {"connection_id":50815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:23:27] local.INFO: IMEI packet received {"connection_id":50815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":50815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:23:32] local.INFO: TCP Data received {"connection_id":50815,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:23:32] local.INFO: Processing buffer {"connection_id":50815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:23:32] local.INFO: IMEI packet received {"connection_id":50815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:23:33] local.INFO: TCP Data received {"connection_id":50815,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:23:33] local.INFO: Processing buffer {"connection_id":50815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:23:33] local.INFO: Packet analysis {"connection_id":50815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:23:33] local.INFO: Extracted packet for processing {"connection_id":50815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:23:33] 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-22 04:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04: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-22 04:23: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-22 04: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":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:23:33] 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-22 04: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-22 04: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-22 04:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:23:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:23:33] local.INFO: GPS data processed {"connection_id":50815,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:23:33] local.INFO: Acknowledgment sent {"connection_id":50815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:24:04] local.INFO: TCP Data received {"connection_id":50815,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:24:04] local.INFO: Processing buffer {"connection_id":50815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:24:04] local.INFO: Packet analysis {"connection_id":50815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:24:04] local.INFO: Extracted packet for processing {"connection_id":50815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:24: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-22 04:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:24: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-22 04:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:24:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:24:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":50815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:24:04] local.INFO: GPS data processed {"connection_id":50815,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:24:04] local.INFO: Acknowledgment sent {"connection_id":50815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:24:32] local.INFO: TCP Data received {"connection_id":50298,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:24:32] local.INFO: Processing buffer {"connection_id":50298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:24:32] local.INFO: IMEI packet received {"connection_id":50298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:24:37] local.INFO: TCP Data received {"connection_id":50298,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:24:37] local.INFO: Processing buffer {"connection_id":50298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:24:37] local.INFO: IMEI packet received {"connection_id":50298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":50298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:24:38] local.INFO: TCP Data received {"connection_id":50298,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:24:38] local.INFO: Processing buffer {"connection_id":50298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:24:38] local.INFO: Packet analysis {"connection_id":50298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:24:38] local.INFO: Extracted packet for processing {"connection_id":50298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:24:38] 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-22 04:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:24:38] 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-22 04:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:24:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":50298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:24:38] local.INFO: GPS data processed {"connection_id":50298,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:24:38] local.INFO: Acknowledgment sent {"connection_id":50298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:24:43] local.INFO: TCP Data received {"connection_id":50298,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:24:43] local.INFO: Processing buffer {"connection_id":50298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db23c2f70012d7f960005afd7d0000001561e..."} 
[2026-04-22 04:24:43] local.INFO: Packet analysis {"connection_id":50298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:24:43] local.INFO: Extracted packet for processing {"connection_id":50298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db23c"} 
[2026-04-22 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863739136001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:24:43] 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-22 04:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776811782000,"timestamp_ms":1776811782000,"timestamp_seconds":1776811782,"priority":1,"record_length":96,"hex_timestamp":"0000019db23c2f70"} 
[2026-04-22 04:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 04:24:43] 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-22 04:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:24:43] 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-22 04:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863739136001,"66":25625,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863739136001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:24:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863739136001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":50298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:24:43] local.INFO: GPS data processed {"connection_id":50298,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:24:43] local.INFO: Acknowledgment sent {"connection_id":50298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:25:27] local.INFO: TCP Data received {"connection_id":49923,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:25:27] local.INFO: Processing buffer {"connection_id":49923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:25:27] local.INFO: IMEI packet received {"connection_id":49923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":49923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:25:27] local.INFO: TCP Data received {"connection_id":49924,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:25:27] local.INFO: Processing buffer {"connection_id":49924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:25:27] local.INFO: IMEI packet received {"connection_id":49924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":49924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:25:32] local.INFO: TCP Data received {"connection_id":49924,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:25:32] local.INFO: Processing buffer {"connection_id":49924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:25:32] local.INFO: IMEI packet received {"connection_id":49924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":49924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:25:33] local.INFO: TCP Data received {"connection_id":49924,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:25:33] local.INFO: Processing buffer {"connection_id":49924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:25:33] local.INFO: Packet analysis {"connection_id":49924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:25:33] local.INFO: Extracted packet for processing {"connection_id":49924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:25:33] 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-22 04:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:25: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-22 04: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-22 04: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-22 04:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:25:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":49924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:25:33] local.INFO: GPS data processed {"connection_id":49924,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:25:33] local.INFO: Acknowledgment sent {"connection_id":49924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:25:52] local.INFO: TCP Data received {"connection_id":50816,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:25:52] local.INFO: Processing buffer {"connection_id":50816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:25:52] local.INFO: IMEI packet received {"connection_id":50816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":50816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:26:04] local.INFO: TCP Data received {"connection_id":49924,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:26:04] local.INFO: Processing buffer {"connection_id":49924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:26:04] local.INFO: Packet analysis {"connection_id":49924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:26:04] local.INFO: Extracted packet for processing {"connection_id":49924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:26: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-22 04:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:26: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-22 04:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:26: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-22 04:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:26:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":49924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:26:04] local.INFO: GPS data processed {"connection_id":49924,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:26:04] local.INFO: Acknowledgment sent {"connection_id":49924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:26:27] local.INFO: TCP Data received {"connection_id":50299,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:26:27] local.INFO: Processing buffer {"connection_id":50299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:26:27] local.INFO: IMEI packet received {"connection_id":50299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:26:32] local.INFO: TCP Data received {"connection_id":50299,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:26:32] local.INFO: Processing buffer {"connection_id":50299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:26:32] local.INFO: IMEI packet received {"connection_id":50299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:26:33] local.INFO: TCP Data received {"connection_id":50299,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:26:33] local.INFO: Processing buffer {"connection_id":50299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:26:33] local.INFO: Packet analysis {"connection_id":50299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:26:33] local.INFO: Extracted packet for processing {"connection_id":50299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:26:33] 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-22 04:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04: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-22 04:26: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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:26: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-22 04: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-22 04: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-22 04:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:26:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:26:33] local.INFO: GPS data processed {"connection_id":50299,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:26:33] local.INFO: Acknowledgment sent {"connection_id":50299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:27:04] local.INFO: TCP Data received {"connection_id":50299,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:27:04] local.INFO: Processing buffer {"connection_id":50299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:27:04] local.INFO: Packet analysis {"connection_id":50299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:27:04] local.INFO: Extracted packet for processing {"connection_id":50299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:27: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-22 04:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:27: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-22 04:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:27: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-22 04:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:27:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:27:04] local.INFO: GPS data processed {"connection_id":50299,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:27:04] local.INFO: Acknowledgment sent {"connection_id":50299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:27:27] local.INFO: TCP Data received {"connection_id":50165,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:27:27] local.INFO: Processing buffer {"connection_id":50165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:27:27] local.INFO: IMEI packet received {"connection_id":50165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":50165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:27:32] local.INFO: TCP Data received {"connection_id":50165,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:27:32] local.INFO: Processing buffer {"connection_id":50165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:27:32] local.INFO: IMEI packet received {"connection_id":50165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:27:33] local.INFO: TCP Data received {"connection_id":50165,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:27:33] local.INFO: Processing buffer {"connection_id":50165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:27:33] local.INFO: Packet analysis {"connection_id":50165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:27:33] local.INFO: Extracted packet for processing {"connection_id":50165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:27:33] 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-22 04:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04: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-22 04:27: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-22 04: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":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:27: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-22 04: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-22 04: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-22 04:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:27:33] 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-22 04:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:27:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":50165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:27:33] local.INFO: GPS data processed {"connection_id":50165,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:27:33] local.INFO: Acknowledgment sent {"connection_id":50165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:28:04] local.INFO: TCP Data received {"connection_id":50165,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:28:04] local.INFO: Processing buffer {"connection_id":50165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:28:04] local.INFO: Packet analysis {"connection_id":50165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:28:04] local.INFO: Extracted packet for processing {"connection_id":50165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:28: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-22 04:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:28: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-22 04:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:28: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-22 04:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:28:04] 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-22 04:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:28:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":50165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:28:04] local.INFO: GPS data processed {"connection_id":50165,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:28:04] local.INFO: Acknowledgment sent {"connection_id":50165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:28:27] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:28:27] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:28:27] local.INFO: IMEI packet received {"connection_id":50817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":50817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:28:32] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:28:32] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:28:32] local.INFO: IMEI packet received {"connection_id":50817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:28:33] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:28:33] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:28:33] local.INFO: Packet analysis {"connection_id":50817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:28:33] local.INFO: Extracted packet for processing {"connection_id":50817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:28:33] 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-22 04:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:28: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-22 04: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-22 04: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-22 04:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:28:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:28:33] local.INFO: GPS data processed {"connection_id":50817,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:28:33] local.INFO: Acknowledgment sent {"connection_id":50817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:29:04] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:29:04] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:29:04] local.INFO: Packet analysis {"connection_id":50817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:29:04] local.INFO: Extracted packet for processing {"connection_id":50817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:29: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-22 04:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:29: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-22 04:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:29: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-22 04:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:29: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-22 04:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:29:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":50817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:29:04] local.INFO: GPS data processed {"connection_id":50817,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:29:04] local.INFO: Acknowledgment sent {"connection_id":50817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:29:32] local.INFO: TCP Data received {"connection_id":50166,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:29:32] local.INFO: Processing buffer {"connection_id":50166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:29:32] local.INFO: IMEI packet received {"connection_id":50166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:29:37] local.INFO: TCP Data received {"connection_id":50166,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:29:37] local.INFO: Processing buffer {"connection_id":50166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:29:37] local.INFO: IMEI packet received {"connection_id":50166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":50166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:29:38] local.INFO: TCP Data received {"connection_id":50166,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:29:38] local.INFO: Processing buffer {"connection_id":50166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:29:38] local.INFO: Packet analysis {"connection_id":50166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:29:38] local.INFO: Extracted packet for processing {"connection_id":50166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:29:38] 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-22 04:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:29:38] local.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-22 04:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:29:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":50166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:29:38] local.INFO: GPS data processed {"connection_id":50166,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:29:38] local.INFO: Acknowledgment sent {"connection_id":50166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:29:42] local.INFO: TCP Data received {"connection_id":50166,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:29:42] local.INFO: Processing buffer {"connection_id":50166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db240c738012d7f960005afd7d00000015629..."} 
[2026-04-22 04:29:42] local.INFO: Packet analysis {"connection_id":50166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:29:42] local.INFO: Extracted packet for processing {"connection_id":50166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db240"} 
[2026-04-22 04:29:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":41,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863816192001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:29:42] 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-22 04:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776812083000,"timestamp_ms":1776812083000,"timestamp_seconds":1776812083,"priority":1,"record_length":96,"hex_timestamp":"0000019db240c738"} 
[2026-04-22 04:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 04:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:29:42] local.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-22 04:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863816192001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863816192001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:29:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863816192001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":50166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:29:42] local.INFO: GPS data processed {"connection_id":50166,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:29:42] local.INFO: Acknowledgment sent {"connection_id":50166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:30:27] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:30:27] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:30:27] local.INFO: IMEI packet received {"connection_id":50819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":50819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:30:32] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:30:32] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:30:32] local.INFO: IMEI packet received {"connection_id":50819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:30:33] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:30:33] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:30:33] local.INFO: Packet analysis {"connection_id":50819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:30:33] local.INFO: Extracted packet for processing {"connection_id":50819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:30:33] 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-22 04:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:30:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":50819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:30:33] local.INFO: GPS data processed {"connection_id":50819,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:30:33] local.INFO: Acknowledgment sent {"connection_id":50819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:31:04] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:31:04] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:31:04] local.INFO: Packet analysis {"connection_id":50819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:31:04] local.INFO: Extracted packet for processing {"connection_id":50819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04: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-22 04:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04: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-22 04:31: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:31:04] 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-22 04:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:31:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":50819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:31:04] local.INFO: GPS data processed {"connection_id":50819,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:31:04] local.INFO: Acknowledgment sent {"connection_id":50819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:31:22] local.INFO: TCP Data received {"connection_id":50303,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:31:22] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:31:22] local.INFO: IMEI packet received {"connection_id":50303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":50303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:31:27] local.INFO: TCP Data received {"connection_id":50167,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:31:27] local.INFO: Processing buffer {"connection_id":50167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:31:27] local.INFO: IMEI packet received {"connection_id":50167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":50167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:31:32] local.INFO: TCP Data received {"connection_id":50167,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:31:32] local.INFO: Processing buffer {"connection_id":50167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:31:32] local.INFO: IMEI packet received {"connection_id":50167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:31:33] local.INFO: TCP Data received {"connection_id":50167,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:31:33] local.INFO: Processing buffer {"connection_id":50167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:31:33] local.INFO: Packet analysis {"connection_id":50167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:31:33] local.INFO: Extracted packet for processing {"connection_id":50167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:31:33] 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-22 04:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:31:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":50167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:31:33] local.INFO: GPS data processed {"connection_id":50167,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:31:33] local.INFO: Acknowledgment sent {"connection_id":50167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:31:52] local.INFO: TCP Data received {"connection_id":49925,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:31:52] local.INFO: Processing buffer {"connection_id":49925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:31:52] local.INFO: IMEI packet received {"connection_id":49925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":49925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:32:04] local.INFO: TCP Data received {"connection_id":50167,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:32:04] local.INFO: Processing buffer {"connection_id":50167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:32:04] local.INFO: Packet analysis {"connection_id":50167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:32:04] local.INFO: Extracted packet for processing {"connection_id":50167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:32: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-22 04:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04: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-22 04:32: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-22 04:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:32: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-22 04:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:32:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":50167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:32:04] local.INFO: GPS data processed {"connection_id":50167,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:32:04] local.INFO: Acknowledgment sent {"connection_id":50167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:32:27] local.INFO: TCP Data received {"connection_id":50168,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:32:27] local.INFO: Processing buffer {"connection_id":50168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:32:27] local.INFO: IMEI packet received {"connection_id":50168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":50168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:32:32] local.INFO: TCP Data received {"connection_id":50168,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:32:32] local.INFO: Processing buffer {"connection_id":50168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:32:32] local.INFO: IMEI packet received {"connection_id":50168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:32:33] local.INFO: TCP Data received {"connection_id":50168,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:32:33] local.INFO: Processing buffer {"connection_id":50168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:32:33] local.INFO: Packet analysis {"connection_id":50168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:32:33] local.INFO: Extracted packet for processing {"connection_id":50168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:32:33] 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-22 04:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04: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-22 04:32: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:32: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-22 04:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:32:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:32:33] local.INFO: GPS data processed {"connection_id":50168,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:32:33] local.INFO: Acknowledgment sent {"connection_id":50168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:33:04] local.INFO: TCP Data received {"connection_id":50168,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:33:04] local.INFO: Processing buffer {"connection_id":50168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:33:04] local.INFO: Packet analysis {"connection_id":50168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:33:04] local.INFO: Extracted packet for processing {"connection_id":50168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:33: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-22 04:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:33: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-22 04:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:33:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:33:04] local.INFO: GPS data processed {"connection_id":50168,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:33:04] local.INFO: Acknowledgment sent {"connection_id":50168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:33:27] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:33:27] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:33:27] local.INFO: IMEI packet received {"connection_id":50821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:33:32] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:33:32] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:33:32] local.INFO: IMEI packet received {"connection_id":50821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:33:33] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:33:33] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:33:33] local.INFO: Packet analysis {"connection_id":50821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:33:33] local.INFO: Extracted packet for processing {"connection_id":50821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:33:33] 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-22 04:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04: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-22 04:33: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:33:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":50821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:33:33] local.INFO: GPS data processed {"connection_id":50821,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:33:33] local.INFO: Acknowledgment sent {"connection_id":50821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:34:03] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:34:03] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:34:03] local.INFO: Packet analysis {"connection_id":50821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:34:03] local.INFO: Extracted packet for processing {"connection_id":50821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:34: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-22 04:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:34: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-22 04:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:34: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-22 04:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:34:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":50821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:34:03] local.INFO: GPS data processed {"connection_id":50821,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:34:03] local.INFO: Acknowledgment sent {"connection_id":50821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:34:27] local.INFO: TCP Data received {"connection_id":50822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:34:27] local.INFO: Processing buffer {"connection_id":50822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:34:27] local.INFO: IMEI packet received {"connection_id":50822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:34:32] local.INFO: TCP Data received {"connection_id":50822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:34:32] local.INFO: Processing buffer {"connection_id":50822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:34:32] local.INFO: IMEI packet received {"connection_id":50822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:34:33] local.INFO: TCP Data received {"connection_id":50822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:34:33] local.INFO: Processing buffer {"connection_id":50822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:34:33] local.INFO: Packet analysis {"connection_id":50822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:34:33] local.INFO: Extracted packet for processing {"connection_id":50822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:34:33] 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-22 04:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04: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-22 04:34: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:34:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:34:33] local.INFO: GPS data processed {"connection_id":50822,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:34:33] local.INFO: Acknowledgment sent {"connection_id":50822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:35:04] local.INFO: TCP Data received {"connection_id":50822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:35:04] local.INFO: Processing buffer {"connection_id":50822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2455f00012d7f960005afd7d00000015627..."} 
[2026-04-22 04:35:04] local.INFO: Packet analysis {"connection_id":50822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:35:04] local.INFO: Extracted packet for processing {"connection_id":50822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db245"} 
[2026-04-22 04:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863893248001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:35: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-22 04:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812384000,"timestamp_ms":1776812384000,"timestamp_seconds":1776812384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2455f00"} 
[2026-04-22 04: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-22 04: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:35: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-22 04:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863893248001,"66":25615,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863893248001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:35:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863893248001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:35:04] local.INFO: GPS data processed {"connection_id":50822,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:35:04] local.INFO: Acknowledgment sent {"connection_id":50822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:35:32] local.INFO: TCP Data received {"connection_id":50306,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:35:32] local.INFO: Processing buffer {"connection_id":50306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:35:32] local.INFO: IMEI packet received {"connection_id":50306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:35:37] local.INFO: TCP Data received {"connection_id":50306,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:35:37] local.INFO: Processing buffer {"connection_id":50306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:35:37] local.INFO: IMEI packet received {"connection_id":50306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":50306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:35:38] local.INFO: TCP Data received {"connection_id":50306,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:35:38] local.INFO: Processing buffer {"connection_id":50306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:35:38] local.INFO: Packet analysis {"connection_id":50306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:35:38] local.INFO: Extracted packet for processing {"connection_id":50306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:35:38] 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-22 04:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:35: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-22 04:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:35:38] local.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-22 04:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:35:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":50306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:35:38] local.INFO: GPS data processed {"connection_id":50306,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:35:38] local.INFO: Acknowledgment sent {"connection_id":50306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:35:43] local.INFO: TCP Data received {"connection_id":50306,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:35:43] local.INFO: Processing buffer {"connection_id":50306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:35:43] local.INFO: Packet analysis {"connection_id":50306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:35:43] local.INFO: Extracted packet for processing {"connection_id":50306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:35:43] 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-22 04:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:35:43] local.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-22 04:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:35:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":50306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:35:43] local.INFO: GPS data processed {"connection_id":50306,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:35:43] local.INFO: Acknowledgment sent {"connection_id":50306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:36:27] local.INFO: TCP Data received {"connection_id":50823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:36:27] local.INFO: Processing buffer {"connection_id":50823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:36:27] local.INFO: IMEI packet received {"connection_id":50823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":50823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:36:32] local.INFO: TCP Data received {"connection_id":50823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:36:32] local.INFO: Processing buffer {"connection_id":50823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:36:32] local.INFO: IMEI packet received {"connection_id":50823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:36:33] local.INFO: TCP Data received {"connection_id":50823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:36:33] local.INFO: Processing buffer {"connection_id":50823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:36:33] local.INFO: Packet analysis {"connection_id":50823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:36:33] local.INFO: Extracted packet for processing {"connection_id":50823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:36:33] 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-22 04:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04: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-22 04:36: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:36:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":50823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:36:33] local.INFO: GPS data processed {"connection_id":50823,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:36:33] local.INFO: Acknowledgment sent {"connection_id":50823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:37:04] local.INFO: TCP Data received {"connection_id":50823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:37:04] local.INFO: Processing buffer {"connection_id":50823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:37:04] local.INFO: Packet analysis {"connection_id":50823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:37:04] local.INFO: Extracted packet for processing {"connection_id":50823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:37: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-22 04:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04: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-22 04:37: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:37:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":50823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:37:04] local.INFO: GPS data processed {"connection_id":50823,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:37:04] local.INFO: Acknowledgment sent {"connection_id":50823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:37:07] local.INFO: TCP Data received {"connection_id":49926,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:37:07] local.INFO: Processing buffer {"connection_id":49926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:37:07] local.INFO: IMEI packet received {"connection_id":49926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":49926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:37:27] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:37:27] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:37:27] local.INFO: IMEI packet received {"connection_id":50307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":50307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:37:32] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:37:32] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:37:32] local.INFO: IMEI packet received {"connection_id":50307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:37:33] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:37:33] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:37:33] local.INFO: Packet analysis {"connection_id":50307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:37:33] local.INFO: Extracted packet for processing {"connection_id":50307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:37:33] 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-22 04:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04: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-22 04:37: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:37:33] 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-22 04:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:37:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":50307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:37:33] local.INFO: GPS data processed {"connection_id":50307,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:37:33] local.INFO: Acknowledgment sent {"connection_id":50307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:37:52] local.INFO: TCP Data received {"connection_id":49927,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:37:52] local.INFO: Processing buffer {"connection_id":49927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:37:52] local.INFO: IMEI packet received {"connection_id":49927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":49927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:38:04] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:38:04] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:38:04] local.INFO: Packet analysis {"connection_id":50307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:38:04] local.INFO: Extracted packet for processing {"connection_id":50307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:38: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-22 04:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04: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-22 04:38: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:38:04] 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-22 04:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:38:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:38:04] local.INFO: GPS data processed {"connection_id":50307,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:38:04] local.INFO: Acknowledgment sent {"connection_id":50307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:38:27] local.INFO: TCP Data received {"connection_id":49928,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:38:27] local.INFO: Processing buffer {"connection_id":49928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:38:27] local.INFO: IMEI packet received {"connection_id":49928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":49928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:38:32] local.INFO: TCP Data received {"connection_id":49928,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:38:32] local.INFO: Processing buffer {"connection_id":49928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:38:32] local.INFO: IMEI packet received {"connection_id":49928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":49928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:38:33] local.INFO: TCP Data received {"connection_id":49928,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:38:33] local.INFO: Processing buffer {"connection_id":49928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:38:33] local.INFO: Packet analysis {"connection_id":49928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:38:33] local.INFO: Extracted packet for processing {"connection_id":49928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:38:33] 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-22 04:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04: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-22 04:38: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-22 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:38:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":49928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:38:33] local.INFO: GPS data processed {"connection_id":49928,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:38:33] local.INFO: Acknowledgment sent {"connection_id":49928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:39:04] local.INFO: TCP Data received {"connection_id":49928,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:39:04] local.INFO: Processing buffer {"connection_id":49928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:39:04] local.INFO: Packet analysis {"connection_id":49928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:39:04] local.INFO: Extracted packet for processing {"connection_id":49928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04: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-22 04:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04: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-22 04: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-22 04: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":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:39:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":49928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:39:04] local.INFO: GPS data processed {"connection_id":49928,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:39:04] local.INFO: Acknowledgment sent {"connection_id":49928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:39:32] local.INFO: TCP Data received {"connection_id":49929,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:39:32] local.INFO: Processing buffer {"connection_id":49929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:39:32] local.INFO: IMEI packet received {"connection_id":49929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":49929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:39:37] local.INFO: TCP Data received {"connection_id":49929,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:39:37] local.INFO: Processing buffer {"connection_id":49929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:39:37] local.INFO: IMEI packet received {"connection_id":49929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":49929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:39:38] local.INFO: TCP Data received {"connection_id":49929,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:39:38] local.INFO: Processing buffer {"connection_id":49929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:39:38] local.INFO: Packet analysis {"connection_id":49929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:39:38] local.INFO: Extracted packet for processing {"connection_id":49929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:39:38] 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-22 04:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:39: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-22 04:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:39: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-22 04:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:39:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":49929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:39:38] local.INFO: GPS data processed {"connection_id":49929,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:39:38] local.INFO: Acknowledgment sent {"connection_id":49929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:40:09] local.INFO: TCP Data received {"connection_id":49929,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:40:09] local.INFO: Processing buffer {"connection_id":49929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db249f6c8012d7f960005afd7d00000015623..."} 
[2026-04-22 04:40:09] local.INFO: Packet analysis {"connection_id":49929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:40:09] local.INFO: Extracted packet for processing {"connection_id":49929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db249"} 
[2026-04-22 04:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:40: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-22 04:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454863970304001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:40: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-22 04:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776812685000,"timestamp_ms":1776812685000,"timestamp_seconds":1776812685,"priority":1,"record_length":96,"hex_timestamp":"0000019db249f6c8"} 
[2026-04-22 04:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:40: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-22 04:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 04:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:40: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-22 04:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":49929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":49929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":49929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:40: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-22 04:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454863970304001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454863970304001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:40:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454863970304001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":49929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:40:09] local.INFO: GPS data processed {"connection_id":49929,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:40:09] local.INFO: Acknowledgment sent {"connection_id":49929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:40:24] local.INFO: TCP Data received {"connection_id":50311,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:40:24] local.INFO: Processing buffer {"connection_id":50311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:40:24] local.INFO: IMEI packet received {"connection_id":50311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":50311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:40:27] local.INFO: TCP Data received {"connection_id":50311,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:40:27] local.INFO: Processing buffer {"connection_id":50311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:40:27] local.INFO: IMEI packet received {"connection_id":50311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:40:32] local.INFO: TCP Data received {"connection_id":50311,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:40:32] local.INFO: Processing buffer {"connection_id":50311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:40:32] local.INFO: IMEI packet received {"connection_id":50311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:40:33] local.INFO: TCP Data received {"connection_id":50311,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:40:33] local.INFO: Processing buffer {"connection_id":50311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:40:33] local.INFO: Packet analysis {"connection_id":50311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:40:33] local.INFO: Extracted packet for processing {"connection_id":50311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:40:33] 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-22 04:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04: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-22 04:40: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-22 04: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:40: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-22 04: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-22 04: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-22 04:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:40:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:40:33] local.INFO: GPS data processed {"connection_id":50311,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:40:33] local.INFO: Acknowledgment sent {"connection_id":50311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:41:04] local.INFO: TCP Data received {"connection_id":50311,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:41:04] local.INFO: Processing buffer {"connection_id":50311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:41:04] local.INFO: Packet analysis {"connection_id":50311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:41:04] local.INFO: Extracted packet for processing {"connection_id":50311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:41: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-22 04:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04: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-22 04: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-22 04: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:41: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-22 04: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-22 04: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-22 04:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:41:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":50311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:41:04] local.INFO: GPS data processed {"connection_id":50311,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:41:04] local.INFO: Acknowledgment sent {"connection_id":50311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:41:27] local.INFO: TCP Data received {"connection_id":49930,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:41:27] local.INFO: Processing buffer {"connection_id":49930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:41:27] local.INFO: IMEI packet received {"connection_id":49930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":49930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:41:32] local.INFO: TCP Data received {"connection_id":49930,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:41:32] local.INFO: Processing buffer {"connection_id":49930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:41:32] local.INFO: IMEI packet received {"connection_id":49930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":49930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:41:33] local.INFO: TCP Data received {"connection_id":49930,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:41:33] local.INFO: Processing buffer {"connection_id":49930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:41:33] local.INFO: Packet analysis {"connection_id":49930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:41:33] local.INFO: Extracted packet for processing {"connection_id":49930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:41:33] 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-22 04:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04: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-22 04: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-22 04: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:41: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-22 04: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-22 04: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-22 04:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:41:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":49930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:41:33] local.INFO: GPS data processed {"connection_id":49930,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:41:33] local.INFO: Acknowledgment sent {"connection_id":49930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:42:04] local.INFO: TCP Data received {"connection_id":49930,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:42:04] local.INFO: Processing buffer {"connection_id":49930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:42:04] local.INFO: Packet analysis {"connection_id":49930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:42:04] local.INFO: Extracted packet for processing {"connection_id":49930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:42: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-22 04:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:42: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-22 04:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:42:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":49930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:42:04] local.INFO: GPS data processed {"connection_id":49930,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:42:04] local.INFO: Acknowledgment sent {"connection_id":49930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:42:27] local.INFO: TCP Data received {"connection_id":50171,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:42:27] local.INFO: Processing buffer {"connection_id":50171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:42:27] local.INFO: IMEI packet received {"connection_id":50171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:42:32] local.INFO: TCP Data received {"connection_id":50171,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:42:32] local.INFO: Processing buffer {"connection_id":50171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:42:32] local.INFO: IMEI packet received {"connection_id":50171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:42:33] local.INFO: TCP Data received {"connection_id":50171,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:42:33] local.INFO: Processing buffer {"connection_id":50171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:42:33] local.INFO: Packet analysis {"connection_id":50171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:42:33] local.INFO: Extracted packet for processing {"connection_id":50171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:42:33] 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-22 04:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04: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-22 04: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-22 04:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:42:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:42:33] local.INFO: GPS data processed {"connection_id":50171,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:42:33] local.INFO: Acknowledgment sent {"connection_id":50171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:43:04] local.INFO: TCP Data received {"connection_id":50171,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:43:04] local.INFO: Processing buffer {"connection_id":50171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:43:04] local.INFO: Packet analysis {"connection_id":50171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:43:04] local.INFO: Extracted packet for processing {"connection_id":50171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:43: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-22 04:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:43: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-22 04:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:43:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:43:04] local.INFO: GPS data processed {"connection_id":50171,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:43:04] local.INFO: Acknowledgment sent {"connection_id":50171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:43:17] local.INFO: TCP Data received {"connection_id":50825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:43:17] local.INFO: Processing buffer {"connection_id":50825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:43:17] local.INFO: IMEI packet received {"connection_id":50825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":50825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:43:32] local.INFO: TCP Data received {"connection_id":49931,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:43:32] local.INFO: Processing buffer {"connection_id":49931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:43:32] local.INFO: IMEI packet received {"connection_id":49931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":49931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:43:37] local.INFO: TCP Data received {"connection_id":49931,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:43:37] local.INFO: Processing buffer {"connection_id":49931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:43:37] local.INFO: IMEI packet received {"connection_id":49931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":49931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:43:38] local.INFO: TCP Data received {"connection_id":49931,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:43:38] local.INFO: Processing buffer {"connection_id":49931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:43:38] local.INFO: Packet analysis {"connection_id":49931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:43:38] local.INFO: Extracted packet for processing {"connection_id":49931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:43:38] 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-22 04:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:43: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-22 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:43:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":49931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:43:38] local.INFO: GPS data processed {"connection_id":49931,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:43:38] local.INFO: Acknowledgment sent {"connection_id":49931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:43:43] local.INFO: TCP Data received {"connection_id":49931,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:43:43] local.INFO: Processing buffer {"connection_id":49931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:43:43] local.INFO: Packet analysis {"connection_id":49931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:43:43] local.INFO: Extracted packet for processing {"connection_id":49931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:43:43] 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-22 04:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:43:43] 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-22 04:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:43:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":49931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:43:43] local.INFO: GPS data processed {"connection_id":49931,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:43:43] local.INFO: Acknowledgment sent {"connection_id":49931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:43:57] local.INFO: TCP Data received {"connection_id":50826,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:43:57] local.INFO: Processing buffer {"connection_id":50826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:43:57] local.INFO: IMEI packet received {"connection_id":50826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":50826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:44:27] local.INFO: TCP Data received {"connection_id":50312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:44:27] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:44:27] local.INFO: IMEI packet received {"connection_id":50312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":50312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:44:32] local.INFO: TCP Data received {"connection_id":50312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:44:32] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:44:32] local.INFO: IMEI packet received {"connection_id":50312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:44:33] local.INFO: TCP Data received {"connection_id":50312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:44:33] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:44:33] local.INFO: Packet analysis {"connection_id":50312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:44:33] local.INFO: Extracted packet for processing {"connection_id":50312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:44:33] 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-22 04:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04: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-22 04: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-22 04: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:44: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-22 04: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-22 04: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-22 04:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:44:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":50312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:44:33] local.INFO: GPS data processed {"connection_id":50312,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:44:33] local.INFO: Acknowledgment sent {"connection_id":50312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:45:04] local.INFO: TCP Data received {"connection_id":50312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:45:04] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db24e8e90012d7f960005afd7d00000015621..."} 
[2026-04-22 04:45:04] local.INFO: Packet analysis {"connection_id":50312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:45:04] local.INFO: Extracted packet for processing {"connection_id":50312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db24e"} 
[2026-04-22 04:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:45: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-22 04:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776812986000,"timestamp_ms":1776812986000,"timestamp_seconds":1776812986,"priority":1,"record_length":96,"hex_timestamp":"0000019db24e8e90"} 
[2026-04-22 04:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04: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-22 04:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 04:45: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-22 04:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864047360001,"66":25560,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:45:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864047360001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":50312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:45:04] local.INFO: GPS data processed {"connection_id":50312,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:45:04] local.INFO: Acknowledgment sent {"connection_id":50312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:45:25] local.INFO: TCP Data received {"connection_id":49932,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:45:25] local.INFO: Processing buffer {"connection_id":49932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:45:25] local.INFO: IMEI packet received {"connection_id":49932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":49932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:45:27] local.INFO: TCP Data received {"connection_id":49932,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:45:27] local.INFO: Processing buffer {"connection_id":49932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:45:27] local.INFO: IMEI packet received {"connection_id":49932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":49932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:45:32] local.INFO: TCP Data received {"connection_id":49932,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:45:32] local.INFO: Processing buffer {"connection_id":49932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:45:32] local.INFO: IMEI packet received {"connection_id":49932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":49932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:45:33] local.INFO: TCP Data received {"connection_id":49932,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:45:33] local.INFO: Processing buffer {"connection_id":49932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:45:33] local.INFO: Packet analysis {"connection_id":49932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:45:33] local.INFO: Extracted packet for processing {"connection_id":49932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:45:33] 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-22 04:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:45: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-22 04:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:45: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-22 04:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":49932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:45:33] local.INFO: GPS data processed {"connection_id":49932,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:45:33] local.INFO: Acknowledgment sent {"connection_id":49932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:46:04] local.INFO: TCP Data received {"connection_id":49932,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:46:04] local.INFO: Processing buffer {"connection_id":49932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:46:04] local.INFO: Packet analysis {"connection_id":49932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:46:04] local.INFO: Extracted packet for processing {"connection_id":49932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:46: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-22 04:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04: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-22 04:46: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-22 04: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":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:46:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":49932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:46:04] local.INFO: GPS data processed {"connection_id":49932,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:46:04] local.INFO: Acknowledgment sent {"connection_id":49932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:46:27] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:46:27] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:46:27] local.INFO: IMEI packet received {"connection_id":50829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":50829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:46:32] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:46:32] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:46:32] local.INFO: IMEI packet received {"connection_id":50829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:46:33] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:46:33] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:46:33] local.INFO: Packet analysis {"connection_id":50829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:46:33] local.INFO: Extracted packet for processing {"connection_id":50829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:46:33] 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-22 04:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04: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-22 04: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-22 04: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":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:46: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-22 04: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-22 04: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-22 04:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:46:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":50829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:46:33] local.INFO: GPS data processed {"connection_id":50829,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:46:33] local.INFO: Acknowledgment sent {"connection_id":50829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:47:04] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:47:04] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:47:04] local.INFO: Packet analysis {"connection_id":50829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:47:04] local.INFO: Extracted packet for processing {"connection_id":50829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:47: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-22 04:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04: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-22 04:47: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-22 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:47:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":50829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:47:04] local.INFO: GPS data processed {"connection_id":50829,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:47:04] local.INFO: Acknowledgment sent {"connection_id":50829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:47:27] local.INFO: TCP Data received {"connection_id":50172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:47:27] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:47:27] local.INFO: IMEI packet received {"connection_id":50172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:47:32] local.INFO: TCP Data received {"connection_id":50172,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:47:32] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:47:32] local.INFO: IMEI packet received {"connection_id":50172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:47:33] local.INFO: TCP Data received {"connection_id":50172,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:47:33] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:47:33] local.INFO: Packet analysis {"connection_id":50172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:47:33] local.INFO: Extracted packet for processing {"connection_id":50172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:47:33] 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-22 04:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04: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-22 04:47: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-22 04:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:47: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-22 04: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-22 04: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-22 04:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:47:33] local.INFO: GPS data processed {"connection_id":50172,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:47:33] local.INFO: Acknowledgment sent {"connection_id":50172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:48:04] local.INFO: TCP Data received {"connection_id":50172,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:48:04] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:48:04] local.INFO: Packet analysis {"connection_id":50172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:48:04] local.INFO: Extracted packet for processing {"connection_id":50172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:48: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-22 04:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04: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-22 04:48: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-22 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:48:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":50172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:48:04] local.INFO: GPS data processed {"connection_id":50172,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:48:04] local.INFO: Acknowledgment sent {"connection_id":50172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:48:32] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:48:32] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:48:32] local.INFO: IMEI packet received {"connection_id":50830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:48:37] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:48:37] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:48:37] local.INFO: IMEI packet received {"connection_id":50830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":50830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:48:38] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:48:38] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:48:38] local.INFO: Packet analysis {"connection_id":50830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:48:38] local.INFO: Extracted packet for processing {"connection_id":50830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:48:38] 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-22 04:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04: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-22 04:48: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-22 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:48:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":50830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:48:38] local.INFO: GPS data processed {"connection_id":50830,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:48:38] local.INFO: Acknowledgment sent {"connection_id":50830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:48:42] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:48:42] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:48:42] local.INFO: Packet analysis {"connection_id":50830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:48:42] local.INFO: Extracted packet for processing {"connection_id":50830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:48:42] 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-22 04:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:48:42] 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-22 04:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:48:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":50830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:48:42] local.INFO: GPS data processed {"connection_id":50830,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:48:42] local.INFO: Acknowledgment sent {"connection_id":50830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:49:22] local.INFO: TCP Data received {"connection_id":49933,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:49:22] local.INFO: Processing buffer {"connection_id":49933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:49:22] local.INFO: IMEI packet received {"connection_id":49933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":49933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:49:27] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:49:27] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:49:27] local.INFO: IMEI packet received {"connection_id":50831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:49:32] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:49:32] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:49:32] local.INFO: IMEI packet received {"connection_id":50831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:49:33] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:49:33] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:49:33] local.INFO: Packet analysis {"connection_id":50831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:49:33] local.INFO: Extracted packet for processing {"connection_id":50831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:49:33] 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-22 04:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04: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-22 04:49: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-22 04: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:49: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-22 04: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-22 04: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-22 04:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04: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-22 04:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:49:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":50831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:49:33] local.INFO: GPS data processed {"connection_id":50831,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:49:33] local.INFO: Acknowledgment sent {"connection_id":50831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:49:52] local.INFO: TCP Data received {"connection_id":49934,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:49:52] local.INFO: Processing buffer {"connection_id":49934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:49:52] local.INFO: IMEI packet received {"connection_id":49934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":49934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:50:04] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:50:04] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2532658012d7f960005afd7d00000015624..."} 
[2026-04-22 04:50:04] local.INFO: Packet analysis {"connection_id":50831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:50:04] local.INFO: Extracted packet for processing {"connection_id":50831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db253"} 
[2026-04-22 04:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864124416001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:50: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-22 04:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813287000,"timestamp_ms":1776813287000,"timestamp_seconds":1776813287,"priority":1,"record_length":96,"hex_timestamp":"0000019db2532658"} 
[2026-04-22 04:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:50: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-22 04:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 04:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:50: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-22 04:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864124416001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864124416001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:50:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864124416001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":50831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:50:04] local.INFO: GPS data processed {"connection_id":50831,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:50:04] local.INFO: Acknowledgment sent {"connection_id":50831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:50:26] local.INFO: TCP Data received {"connection_id":49935,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:50:26] local.INFO: Processing buffer {"connection_id":49935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:50:26] local.INFO: IMEI packet received {"connection_id":49935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":49935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:50:27] local.INFO: TCP Data received {"connection_id":49935,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:50:27] local.INFO: Processing buffer {"connection_id":49935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:50:27] local.INFO: IMEI packet received {"connection_id":49935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":49935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:50:32] local.INFO: TCP Data received {"connection_id":49935,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:50:32] local.INFO: Processing buffer {"connection_id":49935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:50:32] local.INFO: IMEI packet received {"connection_id":49935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":49935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:50:33] local.INFO: TCP Data received {"connection_id":49935,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:50:33] local.INFO: Processing buffer {"connection_id":49935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:50:33] local.INFO: Packet analysis {"connection_id":49935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:50:33] local.INFO: Extracted packet for processing {"connection_id":49935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:50:33] 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-22 04:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:50: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-22 04:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 04:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:50:33] 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-22 04:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:50:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":49935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:50:33] local.INFO: GPS data processed {"connection_id":49935,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:50:33] local.INFO: Acknowledgment sent {"connection_id":49935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:51:04] local.INFO: TCP Data received {"connection_id":49935,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:51:04] local.INFO: Processing buffer {"connection_id":49935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:51:04] local.INFO: Packet analysis {"connection_id":49935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:51:04] local.INFO: Extracted packet for processing {"connection_id":49935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:51: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-22 04:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:51: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-22 04:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 04:51: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-22 04:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:51:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":49935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:51:04] local.INFO: GPS data processed {"connection_id":49935,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:51:04] local.INFO: Acknowledgment sent {"connection_id":49935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:51:27] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:51:27] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:51:27] local.INFO: IMEI packet received {"connection_id":50833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":50833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:51:32] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:51:32] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:51:32] local.INFO: IMEI packet received {"connection_id":50833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:51:33] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:51:33] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:51:33] local.INFO: Packet analysis {"connection_id":50833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:51:33] local.INFO: Extracted packet for processing {"connection_id":50833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:51:33] 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-22 04:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04: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-22 04:51: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-22 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 04:51: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-22 04: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-22 04: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-22 04:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:51: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-22 04:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:51:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:51:33] local.INFO: GPS data processed {"connection_id":50833,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:51:33] local.INFO: Acknowledgment sent {"connection_id":50833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:52:04] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:52:04] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:52:04] local.INFO: Packet analysis {"connection_id":50833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:52:04] local.INFO: Extracted packet for processing {"connection_id":50833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:52: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-22 04:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04: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-22 04:52: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-22 04: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-22 04: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-22 04: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-22 04: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-22 04:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:52: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-22 04:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:52:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":50833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:52:04] local.INFO: GPS data processed {"connection_id":50833,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:52:04] local.INFO: Acknowledgment sent {"connection_id":50833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:52:32] local.INFO: TCP Data received {"connection_id":49936,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:52:32] local.INFO: Processing buffer {"connection_id":49936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:52:32] local.INFO: IMEI packet received {"connection_id":49936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":49936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:52:37] local.INFO: TCP Data received {"connection_id":49936,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:52:37] local.INFO: Processing buffer {"connection_id":49936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:52:37] local.INFO: IMEI packet received {"connection_id":49936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":49936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:52:38] local.INFO: TCP Data received {"connection_id":49936,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:52:38] local.INFO: Processing buffer {"connection_id":49936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:52:38] local.INFO: Packet analysis {"connection_id":49936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:52:38] local.INFO: Extracted packet for processing {"connection_id":49936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:52:38] 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-22 04:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:52: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-22 04:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 04:52: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-22 04:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:52: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-22 04:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:52:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":49936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:52:38] local.INFO: GPS data processed {"connection_id":49936,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:52:38] local.INFO: Acknowledgment sent {"connection_id":49936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:52:42] local.INFO: TCP Data received {"connection_id":49936,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:52:42] local.INFO: Processing buffer {"connection_id":49936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:52:42] local.INFO: Packet analysis {"connection_id":49936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:52:42] local.INFO: Extracted packet for processing {"connection_id":49936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:52:42] 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-22 04:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 04:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":49936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":49936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":49936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:52: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-22 04:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:52:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":49936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:52:42] local.INFO: GPS data processed {"connection_id":49936,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:52:42] local.INFO: Acknowledgment sent {"connection_id":49936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:53:27] local.INFO: TCP Data received {"connection_id":50175,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:53:27] local.INFO: Processing buffer {"connection_id":50175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:53:27] local.INFO: IMEI packet received {"connection_id":50175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":50175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:53:32] local.INFO: TCP Data received {"connection_id":50175,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:53:32] local.INFO: Processing buffer {"connection_id":50175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:53:32] local.INFO: IMEI packet received {"connection_id":50175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:53:33] local.INFO: TCP Data received {"connection_id":50175,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:53:33] local.INFO: Processing buffer {"connection_id":50175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:53:33] local.INFO: Packet analysis {"connection_id":50175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:53:33] local.INFO: Extracted packet for processing {"connection_id":50175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:53:33] 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-22 04:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04: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-22 04:53: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-22 04: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 04:53: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-22 04: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-22 04: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-22 04:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:53:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":50175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:53:33] local.INFO: GPS data processed {"connection_id":50175,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:53:33] local.INFO: Acknowledgment sent {"connection_id":50175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:54:04] local.INFO: TCP Data received {"connection_id":50175,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:54:04] local.INFO: Processing buffer {"connection_id":50175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:54:04] local.INFO: Packet analysis {"connection_id":50175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:54:04] local.INFO: Extracted packet for processing {"connection_id":50175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:54: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-22 04:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04: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-22 04: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-22 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 04:54: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-22 04: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-22 04: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-22 04:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:54:04] 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-22 04:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:54:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":50175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:54:04] local.INFO: GPS data processed {"connection_id":50175,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:54:04] local.INFO: Acknowledgment sent {"connection_id":50175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:54:27] local.INFO: TCP Data received {"connection_id":50834,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:54:27] local.INFO: Processing buffer {"connection_id":50834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:54:27] local.INFO: IMEI packet received {"connection_id":50834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":50834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:54:32] local.INFO: TCP Data received {"connection_id":50834,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:54:32] local.INFO: Processing buffer {"connection_id":50834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:54:32] local.INFO: IMEI packet received {"connection_id":50834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:54:33] local.INFO: TCP Data received {"connection_id":50834,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:54:33] local.INFO: Processing buffer {"connection_id":50834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:54:33] local.INFO: Packet analysis {"connection_id":50834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:54:33] local.INFO: Extracted packet for processing {"connection_id":50834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:54:33] 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-22 04:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04: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-22 04:54: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-22 04:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 04:54: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-22 04: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-22 04: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-22 04:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:54:33] 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-22 04:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:54:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":50834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:54:33] local.INFO: GPS data processed {"connection_id":50834,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:54:33] local.INFO: Acknowledgment sent {"connection_id":50834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:55:04] local.INFO: TCP Data received {"connection_id":50834,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:55:04] local.INFO: Processing buffer {"connection_id":50834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db257be20012d7f960005afd7d00000015626..."} 
[2026-04-22 04:55:04] local.INFO: Packet analysis {"connection_id":50834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:55:04] local.INFO: Extracted packet for processing {"connection_id":50834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db257"} 
[2026-04-22 04:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864201472001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:55: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-22 04:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813588000,"timestamp_ms":1776813588000,"timestamp_seconds":1776813588,"priority":1,"record_length":96,"hex_timestamp":"0000019db257be20"} 
[2026-04-22 04:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:55: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-22 04:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 04:55: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-22 04:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:55: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-22 04:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864201472001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864201472001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:55:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864201472001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":50834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:55:04] local.INFO: GPS data processed {"connection_id":50834,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:55:04] local.INFO: Acknowledgment sent {"connection_id":50834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:55:27] local.INFO: TCP Data received {"connection_id":50178,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:55:27] local.INFO: Processing buffer {"connection_id":50178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:55:27] local.INFO: IMEI packet received {"connection_id":50178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":50178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:55:28] local.INFO: TCP Data received {"connection_id":50178,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:55:28] local.INFO: Processing buffer {"connection_id":50178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:55:28] local.INFO: IMEI packet received {"connection_id":50178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":50178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:55:32] local.INFO: TCP Data received {"connection_id":50177,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:55:32] local.INFO: Processing buffer {"connection_id":50177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:55:32] local.INFO: IMEI packet received {"connection_id":50177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:55:32] local.INFO: TCP Data received {"connection_id":50178,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:55:32] local.INFO: Processing buffer {"connection_id":50178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:55:32] local.INFO: IMEI packet received {"connection_id":50178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:55:33] local.INFO: TCP Data received {"connection_id":50178,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:55:33] local.INFO: Processing buffer {"connection_id":50178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:55:33] local.INFO: Packet analysis {"connection_id":50178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:55:33] local.INFO: Extracted packet for processing {"connection_id":50178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:55:33] 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-22 04:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 04: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-22 04: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-22 04: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 04:55: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-22 04: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-22 04: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-22 04:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:55:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:55:33] local.INFO: GPS data processed {"connection_id":50178,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:55:33] local.INFO: Acknowledgment sent {"connection_id":50178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:55:52] local.INFO: TCP Data received {"connection_id":50316,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:55:52] local.INFO: Processing buffer {"connection_id":50316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 04:55:52] local.INFO: IMEI packet received {"connection_id":50316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 04:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":50316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:56:04] local.INFO: TCP Data received {"connection_id":50178,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:56:04] local.INFO: Processing buffer {"connection_id":50178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:56:04] local.INFO: Packet analysis {"connection_id":50178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:56:04] local.INFO: Extracted packet for processing {"connection_id":50178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:56: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-22 04:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 04: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-22 04:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 04:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04: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-22 04: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-22 04:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:56:04] 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-22 04:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:56:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":50178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:56:04] local.INFO: GPS data processed {"connection_id":50178,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:56:04] local.INFO: Acknowledgment sent {"connection_id":50178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:56:27] local.INFO: TCP Data received {"connection_id":50317,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:56:27] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:56:27] local.INFO: IMEI packet received {"connection_id":50317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":50317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:56:32] local.INFO: TCP Data received {"connection_id":50317,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:56:32] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:56:32] local.INFO: IMEI packet received {"connection_id":50317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:56:33] local.INFO: TCP Data received {"connection_id":50317,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:56:33] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:56:33] local.INFO: Packet analysis {"connection_id":50317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:56:33] local.INFO: Extracted packet for processing {"connection_id":50317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:56:33] 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-22 04:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 04: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-22 04: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-22 04: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 04:56: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-22 04: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-22 04: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-22 04:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:56:33] 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-22 04:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:56:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":50317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:56:33] local.INFO: GPS data processed {"connection_id":50317,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:56:33] local.INFO: Acknowledgment sent {"connection_id":50317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:57:04] local.INFO: TCP Data received {"connection_id":50317,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:57:04] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:57:04] local.INFO: Packet analysis {"connection_id":50317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:57:04] local.INFO: Extracted packet for processing {"connection_id":50317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:57: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-22 04:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 04:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:57: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-22 04:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 04:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:57: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-22 04:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:57:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":50317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:57:04] local.INFO: GPS data processed {"connection_id":50317,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:57:04] local.INFO: Acknowledgment sent {"connection_id":50317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:57:32] local.INFO: TCP Data received {"connection_id":49937,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:57:32] local.INFO: Processing buffer {"connection_id":49937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:57:32] local.INFO: IMEI packet received {"connection_id":49937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":49937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:57:37] local.INFO: TCP Data received {"connection_id":49937,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:57:37] local.INFO: Processing buffer {"connection_id":49937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:57:37] local.INFO: IMEI packet received {"connection_id":49937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":49937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:57:38] local.INFO: TCP Data received {"connection_id":49937,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:57:38] local.INFO: Processing buffer {"connection_id":49937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:57:38] local.INFO: Packet analysis {"connection_id":49937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:57:38] local.INFO: Extracted packet for processing {"connection_id":49937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:57:38] 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-22 04:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 04: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-22 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 04:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 04: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-22 04: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-22 04:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:57: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-22 04:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:57:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":49937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:57:38] local.INFO: GPS data processed {"connection_id":49937,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:57:38] local.INFO: Acknowledgment sent {"connection_id":49937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:57:42] local.INFO: TCP Data received {"connection_id":49937,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:57:42] local.INFO: Processing buffer {"connection_id":49937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:57:42] local.INFO: Packet analysis {"connection_id":49937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:57:42] local.INFO: Extracted packet for processing {"connection_id":49937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:57:42] 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-22 04:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 04:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 04:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":49937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":49937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":49937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:57: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-22 04:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 04:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:57:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":49937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:57:42] local.INFO: GPS data processed {"connection_id":49937,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:57:42] local.INFO: Acknowledgment sent {"connection_id":49937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:58:27] local.INFO: TCP Data received {"connection_id":50835,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:58:27] local.INFO: Processing buffer {"connection_id":50835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:58:27] local.INFO: IMEI packet received {"connection_id":50835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:58:32] local.INFO: TCP Data received {"connection_id":50835,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:58:32] local.INFO: Processing buffer {"connection_id":50835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:58:32] local.INFO: IMEI packet received {"connection_id":50835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:58:33] local.INFO: TCP Data received {"connection_id":50835,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:58:33] local.INFO: Processing buffer {"connection_id":50835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:58:33] local.INFO: Packet analysis {"connection_id":50835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:58:33] local.INFO: Extracted packet for processing {"connection_id":50835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:58:33] 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-22 04:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 04: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-22 04: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-22 04: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 04:58: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-22 04: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-22 04: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-22 04:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 04:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:58:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:58:33] local.INFO: GPS data processed {"connection_id":50835,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:58:33] local.INFO: Acknowledgment sent {"connection_id":50835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:59:04] local.INFO: TCP Data received {"connection_id":50835,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:59:04] local.INFO: Processing buffer {"connection_id":50835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:59:04] local.INFO: Packet analysis {"connection_id":50835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:59:04] local.INFO: Extracted packet for processing {"connection_id":50835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 04:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:59: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-22 04:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 04:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 04:59: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-22 04:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 04:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 04:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 04:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 04:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:59: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-22 04:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:59:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":50835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:59:04] local.INFO: GPS data processed {"connection_id":50835,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:59:04] local.INFO: Acknowledgment sent {"connection_id":50835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 04:59:27] local.INFO: TCP Data received {"connection_id":49938,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:59:27] local.INFO: Processing buffer {"connection_id":49938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:59:27] local.INFO: IMEI packet received {"connection_id":49938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 04:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":49938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 04:59:32] local.INFO: TCP Data received {"connection_id":49938,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:59:32] local.INFO: Processing buffer {"connection_id":49938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 04:59:32] local.INFO: IMEI packet received {"connection_id":49938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 04:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":49938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 04:59:33] local.INFO: TCP Data received {"connection_id":49938,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:59:33] local.INFO: Processing buffer {"connection_id":49938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 04:59:33] local.INFO: Packet analysis {"connection_id":49938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:59:33] local.INFO: Extracted packet for processing {"connection_id":49938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 04:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 04: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-22 04:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 04:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 04:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 04:59:33] 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-22 04:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 04: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-22 04: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-22 04: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 04:59: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-22 04: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-22 04: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-22 04:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 04:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 04:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 04:59: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-22 04:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 04:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 04:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 04:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 04:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 04:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 04:59:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 04:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 04:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 04:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 04:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 04:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":49938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 04:59:33] local.INFO: GPS data processed {"connection_id":49938,"processed":1,"errors":0,"total":1} 
[2026-04-22 04:59:33] local.INFO: Acknowledgment sent {"connection_id":49938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:00:04] local.INFO: TCP Data received {"connection_id":49938,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 05:00:04] local.INFO: Processing buffer {"connection_id":49938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db25c55e8012d7f960005afd7d00000015626..."} 
[2026-04-22 05:00:04] local.INFO: Packet analysis {"connection_id":49938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 05:00:04] local.INFO: Extracted packet for processing {"connection_id":49938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db25c"} 
[2026-04-22 05:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:00: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-22 05:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776813889000,"timestamp_ms":1776813889000,"timestamp_seconds":1776813889,"priority":1,"record_length":96,"hex_timestamp":"0000019db25c55e8"} 
[2026-04-22 05: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-22 05:00: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:00: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-22 05:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864278528001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:00:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864278528001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":49938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:00:04] local.INFO: GPS data processed {"connection_id":49938,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:00:04] local.INFO: Acknowledgment sent {"connection_id":49938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:00:27] local.INFO: TCP Data received {"connection_id":50180,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:00:27] local.INFO: Processing buffer {"connection_id":50180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:00:27] local.INFO: IMEI packet received {"connection_id":50180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:00:28] local.INFO: TCP Data received {"connection_id":50180,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:00:28] local.INFO: Processing buffer {"connection_id":50180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:00:28] local.INFO: IMEI packet received {"connection_id":50180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":50180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:00:32] local.INFO: TCP Data received {"connection_id":50180,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:00:32] local.INFO: Processing buffer {"connection_id":50180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:00:32] local.INFO: IMEI packet received {"connection_id":50180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:00:33] local.INFO: TCP Data received {"connection_id":50180,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:00:33] local.INFO: Processing buffer {"connection_id":50180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:00:33] local.INFO: Packet analysis {"connection_id":50180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:00:33] local.INFO: Extracted packet for processing {"connection_id":50180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:00:33] 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-22 05:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05: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-22 05:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:00: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-22 05:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:00: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-22 05:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:00:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:00:33] local.INFO: GPS data processed {"connection_id":50180,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:00:33] local.INFO: Acknowledgment sent {"connection_id":50180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:01:04] local.INFO: TCP Data received {"connection_id":50180,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:04] local.INFO: Processing buffer {"connection_id":50180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:04] local.INFO: Packet analysis {"connection_id":50180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:01:04] local.INFO: Extracted packet for processing {"connection_id":50180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01: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-22 05:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05: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-22 05:01: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-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:01: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-22 05:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:01:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:01:04] local.INFO: GPS data processed {"connection_id":50180,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:01:04] local.INFO: Acknowledgment sent {"connection_id":50180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:01:12] local.INFO: TCP Data received {"connection_id":49939,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:01:12] local.INFO: Processing buffer {"connection_id":49939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:01:12] local.INFO: IMEI packet received {"connection_id":49939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":49939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:01:32] local.INFO: TCP Data received {"connection_id":50181,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:01:32] local.INFO: Processing buffer {"connection_id":50181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:01:32] local.INFO: IMEI packet received {"connection_id":50181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":50181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:01:37] local.INFO: TCP Data received {"connection_id":50181,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:01:37] local.INFO: Processing buffer {"connection_id":50181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:01:37] local.INFO: IMEI packet received {"connection_id":50181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":50181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:01:39] local.INFO: TCP Data received {"connection_id":50181,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:39] local.INFO: Processing buffer {"connection_id":50181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:39] local.INFO: Packet analysis {"connection_id":50181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:01:39] local.INFO: Extracted packet for processing {"connection_id":50181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:39] 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-22 05:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:01: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-22 05:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:01: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-22 05:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:01: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-22 05:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:01:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":50181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:01:39] local.INFO: GPS data processed {"connection_id":50181,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:01:39] local.INFO: Acknowledgment sent {"connection_id":50181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:01:42] local.INFO: TCP Data received {"connection_id":50181,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:42] local.INFO: Processing buffer {"connection_id":50181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:42] local.INFO: Packet analysis {"connection_id":50181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:01:42] local.INFO: Extracted packet for processing {"connection_id":50181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:42] 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-22 05:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05: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-22 05:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05: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-22 05:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:01:42] local.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-22 05:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:01:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":50181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:01:42] local.INFO: GPS data processed {"connection_id":50181,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:01:42] local.INFO: Acknowledgment sent {"connection_id":50181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:01:48] local.INFO: TCP Data received {"connection_id":50181,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:48] local.INFO: Processing buffer {"connection_id":50181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:01:48] local.INFO: Packet analysis {"connection_id":50181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:01:48] local.INFO: Extracted packet for processing {"connection_id":50181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:01:48] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:01:48] 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-22 05:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05: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-22 05:01: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:01:48] local.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-22 05:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:01:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:01:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":50181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:01:48] local.INFO: GPS data processed {"connection_id":50181,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:01:48] local.INFO: Acknowledgment sent {"connection_id":50181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:01:52] local.INFO: TCP Data received {"connection_id":50320,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:01:52] local.INFO: Processing buffer {"connection_id":50320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:01:52] local.INFO: IMEI packet received {"connection_id":50320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":50320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:02:27] local.INFO: TCP Data received {"connection_id":50182,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:02:27] local.INFO: Processing buffer {"connection_id":50182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:02:27] local.INFO: IMEI packet received {"connection_id":50182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:02:32] local.INFO: TCP Data received {"connection_id":50182,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:02:32] local.INFO: Processing buffer {"connection_id":50182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:02:32] local.INFO: IMEI packet received {"connection_id":50182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:02:33] local.INFO: TCP Data received {"connection_id":50182,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:02:33] local.INFO: Processing buffer {"connection_id":50182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:02:33] local.INFO: Packet analysis {"connection_id":50182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:02:33] local.INFO: Extracted packet for processing {"connection_id":50182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:02:33] 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-22 05:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05: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-22 05:02: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-22 05:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:02: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-22 05: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-22 05: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-22 05:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:02:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:02:33] local.INFO: GPS data processed {"connection_id":50182,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:02:33] local.INFO: Acknowledgment sent {"connection_id":50182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:03:04] local.INFO: TCP Data received {"connection_id":50182,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:03:04] local.INFO: Processing buffer {"connection_id":50182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:03:04] local.INFO: Packet analysis {"connection_id":50182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:03:04] local.INFO: Extracted packet for processing {"connection_id":50182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:03: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-22 05:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:03: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-22 05:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:03:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:03:04] local.INFO: GPS data processed {"connection_id":50182,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:03:04] local.INFO: Acknowledgment sent {"connection_id":50182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:03:27] local.INFO: TCP Data received {"connection_id":50321,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:03:27] local.INFO: Processing buffer {"connection_id":50321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:03:27] local.INFO: IMEI packet received {"connection_id":50321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:03:32] local.INFO: TCP Data received {"connection_id":50321,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:03:32] local.INFO: Processing buffer {"connection_id":50321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:03:32] local.INFO: IMEI packet received {"connection_id":50321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:03:33] local.INFO: TCP Data received {"connection_id":50321,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:03:33] local.INFO: Processing buffer {"connection_id":50321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:03:33] local.INFO: Packet analysis {"connection_id":50321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:03:33] local.INFO: Extracted packet for processing {"connection_id":50321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:03:33] 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-22 05:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05: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-22 05:03: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:03: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-22 05: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-22 05: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-22 05:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:03:33] 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-22 05:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:03:33] local.INFO: GPS data processed {"connection_id":50321,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:03:33] local.INFO: Acknowledgment sent {"connection_id":50321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:04:04] local.INFO: TCP Data received {"connection_id":50321,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:04:04] local.INFO: Processing buffer {"connection_id":50321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:04:04] local.INFO: Packet analysis {"connection_id":50321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:04:04] local.INFO: Extracted packet for processing {"connection_id":50321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:04: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-22 05:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05: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-22 05: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-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:04:04] 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-22 05:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:04:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:04:04] local.INFO: GPS data processed {"connection_id":50321,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:04:04] local.INFO: Acknowledgment sent {"connection_id":50321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:04:27] local.INFO: TCP Data received {"connection_id":49941,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:04:27] local.INFO: Processing buffer {"connection_id":49941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:04:27] local.INFO: IMEI packet received {"connection_id":49941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":49941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:04:32] local.INFO: TCP Data received {"connection_id":49941,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:04:32] local.INFO: Processing buffer {"connection_id":49941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:04:32] local.INFO: IMEI packet received {"connection_id":49941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":49941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:04:33] local.INFO: TCP Data received {"connection_id":49941,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:04:33] local.INFO: Processing buffer {"connection_id":49941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:04:33] local.INFO: Packet analysis {"connection_id":49941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:04:33] local.INFO: Extracted packet for processing {"connection_id":49941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:04:33] 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-22 05:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05: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-22 05:04: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:04: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-22 05: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-22 05: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-22 05:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:04:33] 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-22 05:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":49941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:04:33] local.INFO: GPS data processed {"connection_id":49941,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:04:33] local.INFO: Acknowledgment sent {"connection_id":49941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:05:04] local.INFO: TCP Data received {"connection_id":49941,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:05:04] local.INFO: Processing buffer {"connection_id":49941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db260edb0012d7f960005afd7d00000015625..."} 
[2026-04-22 05:05:04] local.INFO: Packet analysis {"connection_id":49941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:05:04] local.INFO: Extracted packet for processing {"connection_id":49941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db260"} 
[2026-04-22 05:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864355584001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:05: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-22 05:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814190000,"timestamp_ms":1776814190000,"timestamp_seconds":1776814190,"priority":1,"record_length":96,"hex_timestamp":"0000019db260edb0"} 
[2026-04-22 05:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:05: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-22 05:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:05:04] 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-22 05:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864355584001,"66":25549,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864355584001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:05:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864355584001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":49941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:05:04] local.INFO: GPS data processed {"connection_id":49941,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:05:04] local.INFO: Acknowledgment sent {"connection_id":49941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:05:27] local.INFO: TCP Data received {"connection_id":50838,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:05:27] local.INFO: Processing buffer {"connection_id":50838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:05:27] local.INFO: IMEI packet received {"connection_id":50838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:05:29] local.INFO: TCP Data received {"connection_id":50838,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:05:29] local.INFO: Processing buffer {"connection_id":50838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:05:29] local.INFO: IMEI packet received {"connection_id":50838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":50838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:05:32] local.INFO: TCP Data received {"connection_id":50838,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:05:32] local.INFO: Processing buffer {"connection_id":50838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:05:32] local.INFO: IMEI packet received {"connection_id":50838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:05:33] local.INFO: TCP Data received {"connection_id":50838,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:05:33] local.INFO: Processing buffer {"connection_id":50838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:05:33] local.INFO: Packet analysis {"connection_id":50838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:05:33] local.INFO: Extracted packet for processing {"connection_id":50838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:05:33] 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-22 05:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:05:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":50838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:05:33] local.INFO: GPS data processed {"connection_id":50838,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:05:33] local.INFO: Acknowledgment sent {"connection_id":50838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:06:04] local.INFO: TCP Data received {"connection_id":50838,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:06:04] local.INFO: Processing buffer {"connection_id":50838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:06:04] local.INFO: Packet analysis {"connection_id":50838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:06:04] local.INFO: Extracted packet for processing {"connection_id":50838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:06: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-22 05:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:06: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-22 05:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 05:06: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-22 05:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:06: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-22 05:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:06:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":50838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:06:04] local.INFO: GPS data processed {"connection_id":50838,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:06:04] local.INFO: Acknowledgment sent {"connection_id":50838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:06:32] local.INFO: TCP Data received {"connection_id":50184,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:06:32] local.INFO: Processing buffer {"connection_id":50184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:06:32] local.INFO: IMEI packet received {"connection_id":50184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:06:37] local.INFO: TCP Data received {"connection_id":50184,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:06:37] local.INFO: Processing buffer {"connection_id":50184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:06:37] local.INFO: IMEI packet received {"connection_id":50184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":50184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:06:38] local.INFO: TCP Data received {"connection_id":50184,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:06:38] local.INFO: Processing buffer {"connection_id":50184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:06:38] local.INFO: Packet analysis {"connection_id":50184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:06:38] local.INFO: Extracted packet for processing {"connection_id":50184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:06:38] 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-22 05:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 05:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:06:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":50184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:06:38] local.INFO: GPS data processed {"connection_id":50184,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:06:38] local.INFO: Acknowledgment sent {"connection_id":50184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:06:42] local.INFO: TCP Data received {"connection_id":50184,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:06:42] local.INFO: Processing buffer {"connection_id":50184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:06:42] local.INFO: Packet analysis {"connection_id":50184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:06:42] local.INFO: Extracted packet for processing {"connection_id":50184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:06:42] 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-22 05:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 05:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:06:42] 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-22 05:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:06:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":50184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:06:42] local.INFO: GPS data processed {"connection_id":50184,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:06:42] local.INFO: Acknowledgment sent {"connection_id":50184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:07:12] local.INFO: TCP Data received {"connection_id":50839,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:07:12] local.INFO: Processing buffer {"connection_id":50839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:07:12] local.INFO: IMEI packet received {"connection_id":50839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":50839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:07:27] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:07:27] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:07:27] local.INFO: IMEI packet received {"connection_id":50323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:07:32] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:07:32] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:07:32] local.INFO: IMEI packet received {"connection_id":50323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:07:33] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:07:33] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:07:33] local.INFO: Packet analysis {"connection_id":50323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:07:33] local.INFO: Extracted packet for processing {"connection_id":50323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:07:33] 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-22 05:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:07:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:07:33] local.INFO: GPS data processed {"connection_id":50323,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:07:33] local.INFO: Acknowledgment sent {"connection_id":50323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:07:57] local.INFO: TCP Data received {"connection_id":50324,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:07:57] local.INFO: Processing buffer {"connection_id":50324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:07:57] local.INFO: IMEI packet received {"connection_id":50324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":50324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:08:04] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:08:04] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:08:04] local.INFO: Packet analysis {"connection_id":50323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:08:04] local.INFO: Extracted packet for processing {"connection_id":50323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:08: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-22 05:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05: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-22 05: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-22 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 05:08: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-22 05: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-22 05: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-22 05:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:08:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:08:04] local.INFO: GPS data processed {"connection_id":50323,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:08:04] local.INFO: Acknowledgment sent {"connection_id":50323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:08:27] local.INFO: TCP Data received {"connection_id":49942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:08:27] local.INFO: Processing buffer {"connection_id":49942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:08:27] local.INFO: IMEI packet received {"connection_id":49942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":49942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:08:32] local.INFO: TCP Data received {"connection_id":49942,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:08:32] local.INFO: Processing buffer {"connection_id":49942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:08:32] local.INFO: IMEI packet received {"connection_id":49942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":49942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:08:33] local.INFO: TCP Data received {"connection_id":49942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:08:33] local.INFO: Processing buffer {"connection_id":49942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:08:33] local.INFO: Packet analysis {"connection_id":49942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:08:33] local.INFO: Extracted packet for processing {"connection_id":49942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:08:33] 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-22 05:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:08:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":49942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:08:33] local.INFO: GPS data processed {"connection_id":49942,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:08:33] local.INFO: Acknowledgment sent {"connection_id":49942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:09:04] local.INFO: TCP Data received {"connection_id":49942,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:09:04] local.INFO: Processing buffer {"connection_id":49942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:09:04] local.INFO: Packet analysis {"connection_id":49942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:09:04] local.INFO: Extracted packet for processing {"connection_id":49942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:09: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-22 05:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:09: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-22 05:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 05:09: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-22 05:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:09: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-22 05:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:09:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":49942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:09:04] local.INFO: GPS data processed {"connection_id":49942,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:09:04] local.INFO: Acknowledgment sent {"connection_id":49942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:09:27] local.INFO: TCP Data received {"connection_id":50325,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:09:27] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:09:27] local.INFO: IMEI packet received {"connection_id":50325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:09:32] local.INFO: TCP Data received {"connection_id":50325,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:09:32] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:09:32] local.INFO: IMEI packet received {"connection_id":50325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:09:33] local.INFO: TCP Data received {"connection_id":50325,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:09:33] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:09:33] local.INFO: Packet analysis {"connection_id":50325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:09:33] local.INFO: Extracted packet for processing {"connection_id":50325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:09:33] 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-22 05:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05: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-22 05: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-22 05: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 05:09: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-22 05: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-22 05: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-22 05:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:09:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":50325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:09:33] local.INFO: GPS data processed {"connection_id":50325,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:09:33] local.INFO: Acknowledgment sent {"connection_id":50325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:10:04] local.INFO: TCP Data received {"connection_id":50325,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:10:04] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2658578012d7f960005afd7d00000015627..."} 
[2026-04-22 05:10:04] local.INFO: Packet analysis {"connection_id":50325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:10:04] local.INFO: Extracted packet for processing {"connection_id":50325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db265"} 
[2026-04-22 05:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864432640001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:10: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-22 05:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814491000,"timestamp_ms":1776814491000,"timestamp_seconds":1776814491,"priority":1,"record_length":96,"hex_timestamp":"0000019db2658578"} 
[2026-04-22 05: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-22 05: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-22 05: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 05:10: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-22 05: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-22 05: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-22 05:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864432640001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864432640001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:10:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864432640001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":50325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:10:04] local.INFO: GPS data processed {"connection_id":50325,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:10:04] local.INFO: Acknowledgment sent {"connection_id":50325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:10:27] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:10:27] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:10:27] local.INFO: IMEI packet received {"connection_id":50841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:10:30] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:10:30] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:10:30] local.INFO: IMEI packet received {"connection_id":50841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":50841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:10:32] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:10:32] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:10:32] local.INFO: IMEI packet received {"connection_id":50841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:10:32] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:10:32] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:10:32] local.INFO: Packet analysis {"connection_id":50841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:10:32] local.INFO: Extracted packet for processing {"connection_id":50841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:10: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-22 05:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05: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-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:10: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-22 05: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-22 05: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-22 05:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:10:32] 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-22 05:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":50841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:10:32] local.INFO: GPS data processed {"connection_id":50841,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:10:32] local.INFO: Acknowledgment sent {"connection_id":50841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:10:38] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:10:38] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:10:38] local.INFO: Packet analysis {"connection_id":50841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:10:38] local.INFO: Extracted packet for processing {"connection_id":50841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:10:38] 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-22 05:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05: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-22 05: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-22 05:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:10:38] 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-22 05:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:10:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":50841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:10:38] local.INFO: GPS data processed {"connection_id":50841,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:10:38] local.INFO: Acknowledgment sent {"connection_id":50841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:11:09] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:11:09] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:11:09] local.INFO: Packet analysis {"connection_id":50841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:11:09] local.INFO: Extracted packet for processing {"connection_id":50841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:11: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-22 05:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05: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-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:11: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-22 05: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-22 05: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-22 05:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:11: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-22 05:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:11:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":50841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:11:09] local.INFO: GPS data processed {"connection_id":50841,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:11:09] local.INFO: Acknowledgment sent {"connection_id":50841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:11:27] local.INFO: TCP Data received {"connection_id":50186,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:11:27] local.INFO: Processing buffer {"connection_id":50186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:11:27] local.INFO: IMEI packet received {"connection_id":50186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":50186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:11:32] local.INFO: TCP Data received {"connection_id":50186,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:11:32] local.INFO: Processing buffer {"connection_id":50186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:11:32] local.INFO: IMEI packet received {"connection_id":50186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:11:33] local.INFO: TCP Data received {"connection_id":50186,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:11:33] local.INFO: Processing buffer {"connection_id":50186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:11:33] local.INFO: Packet analysis {"connection_id":50186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:11:33] local.INFO: Extracted packet for processing {"connection_id":50186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:11:33] 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-22 05:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:11: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-22 05: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-22 05: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-22 05:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:11:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":50186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:11:33] local.INFO: GPS data processed {"connection_id":50186,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:11:33] local.INFO: Acknowledgment sent {"connection_id":50186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:12:04] local.INFO: TCP Data received {"connection_id":50186,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:12:04] local.INFO: Processing buffer {"connection_id":50186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:12:04] local.INFO: Packet analysis {"connection_id":50186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:12:04] local.INFO: Extracted packet for processing {"connection_id":50186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:12: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-22 05:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05:12: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:12:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":50186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:12:04] local.INFO: GPS data processed {"connection_id":50186,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:12:04] local.INFO: Acknowledgment sent {"connection_id":50186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:12:27] local.INFO: TCP Data received {"connection_id":50187,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:12:27] local.INFO: Processing buffer {"connection_id":50187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:12:27] local.INFO: IMEI packet received {"connection_id":50187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":50187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:12:32] local.INFO: TCP Data received {"connection_id":50187,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:12:32] local.INFO: Processing buffer {"connection_id":50187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:12:32] local.INFO: IMEI packet received {"connection_id":50187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:12:33] local.INFO: TCP Data received {"connection_id":50187,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:12:33] local.INFO: Processing buffer {"connection_id":50187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:12:33] local.INFO: Packet analysis {"connection_id":50187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:12:33] local.INFO: Extracted packet for processing {"connection_id":50187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:12:33] 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-22 05:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05:12: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-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:12: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-22 05: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-22 05: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-22 05:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:12:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":50187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:12:33] local.INFO: GPS data processed {"connection_id":50187,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:12:33] local.INFO: Acknowledgment sent {"connection_id":50187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:13:04] local.INFO: TCP Data received {"connection_id":50187,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:13:04] local.INFO: Processing buffer {"connection_id":50187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:13:04] local.INFO: Packet analysis {"connection_id":50187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:13:04] local.INFO: Extracted packet for processing {"connection_id":50187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05: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-22 05:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05:13: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-22 05:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:13:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":50187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:13:04] local.INFO: GPS data processed {"connection_id":50187,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:13:04] local.INFO: Acknowledgment sent {"connection_id":50187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:13:27] local.INFO: TCP Data received {"connection_id":50188,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:13:27] local.INFO: Processing buffer {"connection_id":50188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:13:27] local.INFO: IMEI packet received {"connection_id":50188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:13:27] local.INFO: TCP Data received {"connection_id":50843,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:13:27] local.INFO: Processing buffer {"connection_id":50843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:13:27] local.INFO: IMEI packet received {"connection_id":50843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:13:32] local.INFO: TCP Data received {"connection_id":50188,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:13:32] local.INFO: Processing buffer {"connection_id":50188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:13:32] local.INFO: IMEI packet received {"connection_id":50188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:13:33] local.INFO: TCP Data received {"connection_id":50188,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:13:33] local.INFO: Processing buffer {"connection_id":50188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:13:33] local.INFO: Packet analysis {"connection_id":50188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:13:33] local.INFO: Extracted packet for processing {"connection_id":50188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:13:33] 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-22 05:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05:13: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-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:13: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-22 05: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-22 05: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-22 05:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":50188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:13:33] local.INFO: GPS data processed {"connection_id":50188,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:13:33] local.INFO: Acknowledgment sent {"connection_id":50188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:13:52] local.INFO: TCP Data received {"connection_id":50844,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:13:52] local.INFO: Processing buffer {"connection_id":50844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:13:52] local.INFO: IMEI packet received {"connection_id":50844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":50844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:14:04] local.INFO: TCP Data received {"connection_id":50188,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:14:04] local.INFO: Processing buffer {"connection_id":50188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:14:04] local.INFO: Packet analysis {"connection_id":50188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:14:04] local.INFO: Extracted packet for processing {"connection_id":50188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:14: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-22 05:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:14:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":50188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:14:04] local.INFO: GPS data processed {"connection_id":50188,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:14:04] local.INFO: Acknowledgment sent {"connection_id":50188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:14:27] local.INFO: TCP Data received {"connection_id":50326,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:14:27] local.INFO: Processing buffer {"connection_id":50326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:14:27] local.INFO: IMEI packet received {"connection_id":50326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:14:32] local.INFO: TCP Data received {"connection_id":50326,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:14:32] local.INFO: Processing buffer {"connection_id":50326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:14:32] local.INFO: IMEI packet received {"connection_id":50326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:14:33] local.INFO: TCP Data received {"connection_id":50326,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:14:33] local.INFO: Processing buffer {"connection_id":50326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:14:33] local.INFO: Packet analysis {"connection_id":50326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:14:33] local.INFO: Extracted packet for processing {"connection_id":50326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:14:33] 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-22 05:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:14: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-22 05:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:14: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-22 05:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:14:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":50326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:14:33] local.INFO: GPS data processed {"connection_id":50326,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:14:33] local.INFO: Acknowledgment sent {"connection_id":50326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:15:04] local.INFO: TCP Data received {"connection_id":50326,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:15:04] local.INFO: Processing buffer {"connection_id":50326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26a1d40012d7f960005afd7d00000015627..."} 
[2026-04-22 05:15:04] local.INFO: Packet analysis {"connection_id":50326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:15:04] local.INFO: Extracted packet for processing {"connection_id":50326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26a"} 
[2026-04-22 05:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:15: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-22 05:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776814792000,"timestamp_ms":1776814792000,"timestamp_seconds":1776814792,"priority":1,"record_length":96,"hex_timestamp":"0000019db26a1d40"} 
[2026-04-22 05: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-22 05: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-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864509696001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:15:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864509696001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":50326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:15:04] local.INFO: GPS data processed {"connection_id":50326,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:15:04] local.INFO: Acknowledgment sent {"connection_id":50326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:15:27] local.INFO: TCP Data received {"connection_id":49945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:15:27] local.INFO: Processing buffer {"connection_id":49945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:15:27] local.INFO: IMEI packet received {"connection_id":49945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":49945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:15:31] local.INFO: TCP Data received {"connection_id":49945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:15:31] local.INFO: Processing buffer {"connection_id":49945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:15:31] local.INFO: IMEI packet received {"connection_id":49945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":49945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:15:32] local.INFO: TCP Data received {"connection_id":49945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:15:32] local.INFO: Processing buffer {"connection_id":49945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:15:32] local.INFO: IMEI packet received {"connection_id":49945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":49945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:15:32] local.INFO: TCP Data received {"connection_id":49945,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:15:32] local.INFO: Processing buffer {"connection_id":49945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:15:32] local.INFO: Packet analysis {"connection_id":49945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:15:32] local.INFO: Extracted packet for processing {"connection_id":49945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:15: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-22 05:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05: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-22 05:15: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:15: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-22 05: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-22 05: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-22 05:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":49945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":49945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":49945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:15:32] 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-22 05:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:15:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":49945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:15:32] local.INFO: GPS data processed {"connection_id":49945,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:15:32] local.INFO: Acknowledgment sent {"connection_id":49945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:15:37] local.INFO: TCP Data received {"connection_id":49945,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:15:37] local.INFO: Processing buffer {"connection_id":49945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:15:37] local.INFO: Packet analysis {"connection_id":49945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:15:37] local.INFO: Extracted packet for processing {"connection_id":49945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:15:37] 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-22 05:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:15: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-22 05:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:15: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-22 05:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":49945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":49945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":49945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:15:37] 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-22 05:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:15:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":49945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:15:37] local.INFO: GPS data processed {"connection_id":49945,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:15:37] local.INFO: Acknowledgment sent {"connection_id":49945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:16:09] local.INFO: TCP Data received {"connection_id":49945,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:16:09] local.INFO: Processing buffer {"connection_id":49945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:16:09] local.INFO: Packet analysis {"connection_id":49945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:16:09] local.INFO: Extracted packet for processing {"connection_id":49945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:16: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-22 05:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:16: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-22 05:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:16: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-22 05:16: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-22 05:16: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-22 05:16: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-22 05:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":49945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":49945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":49945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:16:09] 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-22 05:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:16:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":49945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:16:09] local.INFO: GPS data processed {"connection_id":49945,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:16:09] local.INFO: Acknowledgment sent {"connection_id":49945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:16:27] local.INFO: TCP Data received {"connection_id":50845,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:16:27] local.INFO: Processing buffer {"connection_id":50845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:16:27] local.INFO: IMEI packet received {"connection_id":50845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:16:32] local.INFO: TCP Data received {"connection_id":50845,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:16:32] local.INFO: Processing buffer {"connection_id":50845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:16:32] local.INFO: IMEI packet received {"connection_id":50845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":50845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:16:33] local.INFO: TCP Data received {"connection_id":50845,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:16:33] local.INFO: Processing buffer {"connection_id":50845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:16:33] local.INFO: Packet analysis {"connection_id":50845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:16:33] local.INFO: Extracted packet for processing {"connection_id":50845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:16:33] 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-22 05:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:16:33] 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-22 05:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:16:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":50845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:16:33] local.INFO: GPS data processed {"connection_id":50845,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:16:33] local.INFO: Acknowledgment sent {"connection_id":50845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:17:04] local.INFO: TCP Data received {"connection_id":50845,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:17:04] local.INFO: Processing buffer {"connection_id":50845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:17:04] local.INFO: Packet analysis {"connection_id":50845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:17:04] local.INFO: Extracted packet for processing {"connection_id":50845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:17: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-22 05:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:17: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-22 05:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:17: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-22 05:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:17:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":50845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:17:04] local.INFO: GPS data processed {"connection_id":50845,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:17:04] local.INFO: Acknowledgment sent {"connection_id":50845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:17:27] local.INFO: TCP Data received {"connection_id":50846,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:17:27] local.INFO: Processing buffer {"connection_id":50846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:17:27] local.INFO: IMEI packet received {"connection_id":50846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":50846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:17:32] local.INFO: TCP Data received {"connection_id":50846,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:17:32] local.INFO: Processing buffer {"connection_id":50846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:17:32] local.INFO: IMEI packet received {"connection_id":50846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:17:33] local.INFO: TCP Data received {"connection_id":50846,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:17:33] local.INFO: Processing buffer {"connection_id":50846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:17:33] local.INFO: Packet analysis {"connection_id":50846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:17:33] local.INFO: Extracted packet for processing {"connection_id":50846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:17:33] 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-22 05:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05: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-22 05: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:17: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-22 05: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-22 05: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-22 05:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:17:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:17:33] local.INFO: GPS data processed {"connection_id":50846,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:17:33] local.INFO: Acknowledgment sent {"connection_id":50846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:18:04] local.INFO: TCP Data received {"connection_id":50846,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:18:04] local.INFO: Processing buffer {"connection_id":50846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:18:04] local.INFO: Packet analysis {"connection_id":50846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:18:04] local.INFO: Extracted packet for processing {"connection_id":50846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:18: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-22 05:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:18:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:18:04] local.INFO: GPS data processed {"connection_id":50846,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:18:04] local.INFO: Acknowledgment sent {"connection_id":50846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:18:27] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:18:27] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:18:27] local.INFO: IMEI packet received {"connection_id":50328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:18:32] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:18:32] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:18:32] local.INFO: IMEI packet received {"connection_id":50328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:18:33] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:18:33] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:18:33] local.INFO: Packet analysis {"connection_id":50328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:18:33] local.INFO: Extracted packet for processing {"connection_id":50328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:18:33] 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-22 05:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05: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-22 05:18: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:18:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":50328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:18:33] local.INFO: GPS data processed {"connection_id":50328,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:18:33] local.INFO: Acknowledgment sent {"connection_id":50328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:19:04] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:19:04] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:19:04] local.INFO: Packet analysis {"connection_id":50328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:19:04] local.INFO: Extracted packet for processing {"connection_id":50328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:19: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-22 05:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05: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-22 05: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-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:19:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":50328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:19:04] local.INFO: GPS data processed {"connection_id":50328,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:19:04] local.INFO: Acknowledgment sent {"connection_id":50328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:19:07] local.INFO: TCP Data received {"connection_id":50189,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:19:07] local.INFO: Processing buffer {"connection_id":50189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:19:07] local.INFO: IMEI packet received {"connection_id":50189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":50189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:19:27] local.INFO: TCP Data received {"connection_id":50190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:19:27] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:19:27] local.INFO: IMEI packet received {"connection_id":50190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:19:32] local.INFO: TCP Data received {"connection_id":50190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:19:32] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:19:32] local.INFO: IMEI packet received {"connection_id":50190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:19:33] local.INFO: TCP Data received {"connection_id":50190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:19:33] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:19:33] local.INFO: Packet analysis {"connection_id":50190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:19:33] local.INFO: Extracted packet for processing {"connection_id":50190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:19:33] 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-22 05:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05: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-22 05: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:19: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-22 05: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-22 05: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-22 05:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:19: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-22 05:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:19:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:19:33] local.INFO: GPS data processed {"connection_id":50190,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:19:33] local.INFO: Acknowledgment sent {"connection_id":50190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:19:51] local.INFO: TCP Data received {"connection_id":50191,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:19:51] local.INFO: Processing buffer {"connection_id":50191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:19:51] local.INFO: IMEI packet received {"connection_id":50191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":50191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:20:04] local.INFO: TCP Data received {"connection_id":50190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:20:04] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db26eb508012d7f960005afd7d00000015625..."} 
[2026-04-22 05:20:04] local.INFO: Packet analysis {"connection_id":50190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:20:04] local.INFO: Extracted packet for processing {"connection_id":50190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db26e"} 
[2026-04-22 05:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864586752001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:20: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-22 05:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815093000,"timestamp_ms":1776815093000,"timestamp_seconds":1776815093,"priority":1,"record_length":96,"hex_timestamp":"0000019db26eb508"} 
[2026-04-22 05: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-22 05:20: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05: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-22 05: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-22 05:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:20: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-22 05:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864586752001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864586752001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:20:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864586752001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:20:04] local.INFO: GPS data processed {"connection_id":50190,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:20:04] local.INFO: Acknowledgment sent {"connection_id":50190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:20:32] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:20:32] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:20:32] local.INFO: IMEI packet received {"connection_id":50848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:20:33] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:20:33] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:20:33] local.INFO: IMEI packet received {"connection_id":50848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":50848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:20:37] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:20:37] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:20:37] local.INFO: IMEI packet received {"connection_id":50848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":50848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:20:38] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:20:38] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:20:38] local.INFO: Packet analysis {"connection_id":50848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:20:38] local.INFO: Extracted packet for processing {"connection_id":50848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:20:38] 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-22 05:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05: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-22 05:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05: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-22 05: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-22 05:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:20:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":50848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:20:38] local.INFO: GPS data processed {"connection_id":50848,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:20:38] local.INFO: Acknowledgment sent {"connection_id":50848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:20:42] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:20:42] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:20:42] local.INFO: Packet analysis {"connection_id":50848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:20:42] local.INFO: Extracted packet for processing {"connection_id":50848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:20:42] 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-22 05:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:20:42] 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-22 05:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:20:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":50848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:20:42] local.INFO: GPS data processed {"connection_id":50848,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:20:42] local.INFO: Acknowledgment sent {"connection_id":50848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:21:27] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:21:27] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:21:27] local.INFO: IMEI packet received {"connection_id":50849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:21:32] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:21:32] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:21:32] local.INFO: IMEI packet received {"connection_id":50849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:21:34] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:21:34] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:21:34] local.INFO: Packet analysis {"connection_id":50849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:21:34] local.INFO: Extracted packet for processing {"connection_id":50849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:21: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-22 05:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05: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-22 05:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:21: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-22 05: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-22 05: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-22 05:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:21:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":50849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:21:34] local.INFO: GPS data processed {"connection_id":50849,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:21:34] local.INFO: Acknowledgment sent {"connection_id":50849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:22:05] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:22:05] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:22:05] local.INFO: Packet analysis {"connection_id":50849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:22:05] local.INFO: Extracted packet for processing {"connection_id":50849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:22:05] 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-22 05:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05: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-22 05:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:22:05] 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-22 05:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:22:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":50849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:22:05] local.INFO: GPS data processed {"connection_id":50849,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:22:05] local.INFO: Acknowledgment sent {"connection_id":50849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:22:27] local.INFO: TCP Data received {"connection_id":50193,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:22:27] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:22:27] local.INFO: IMEI packet received {"connection_id":50193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:22:32] local.INFO: TCP Data received {"connection_id":50193,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:22:32] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:22:32] local.INFO: IMEI packet received {"connection_id":50193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:22:33] local.INFO: TCP Data received {"connection_id":50193,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:22:33] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:22:33] local.INFO: Packet analysis {"connection_id":50193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:22:33] local.INFO: Extracted packet for processing {"connection_id":50193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:22:33] 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-22 05:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:22: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-22 05:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:22: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-22 05:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:22:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":50193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:22:33] local.INFO: GPS data processed {"connection_id":50193,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:22:33] local.INFO: Acknowledgment sent {"connection_id":50193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:23:04] local.INFO: TCP Data received {"connection_id":50193,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:23:04] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:23:04] local.INFO: Packet analysis {"connection_id":50193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:23:04] local.INFO: Extracted packet for processing {"connection_id":50193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:23: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-22 05:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:23: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-22 05:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:23:04] 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-22 05:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:23:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":50193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:23:04] local.INFO: GPS data processed {"connection_id":50193,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:23:04] local.INFO: Acknowledgment sent {"connection_id":50193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:23:27] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:23:27] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:23:27] local.INFO: IMEI packet received {"connection_id":50851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":50851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:23:33] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:23:33] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:23:33] local.INFO: IMEI packet received {"connection_id":50851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":50851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:23:34] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:23:34] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:23:34] local.INFO: Packet analysis {"connection_id":50851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:23:34] local.INFO: Extracted packet for processing {"connection_id":50851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:23: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-22 05:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05: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-22 05:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:23: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-22 05: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-22 05: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-22 05:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:23: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-22 05:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:23:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:23:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":50851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:23:34] local.INFO: GPS data processed {"connection_id":50851,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:23:34] local.INFO: Acknowledgment sent {"connection_id":50851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:24:05] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:24:05] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:24:05] local.INFO: Packet analysis {"connection_id":50851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:24:05] local.INFO: Extracted packet for processing {"connection_id":50851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:24:05] 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-22 05:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:24: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-22 05:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:24:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":50851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:24:05] local.INFO: GPS data processed {"connection_id":50851,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:24:05] local.INFO: Acknowledgment sent {"connection_id":50851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:24:27] local.INFO: TCP Data received {"connection_id":50194,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:24:27] local.INFO: Processing buffer {"connection_id":50194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:24:27] local.INFO: IMEI packet received {"connection_id":50194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":50194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:24:32] local.INFO: TCP Data received {"connection_id":50194,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:24:32] local.INFO: Processing buffer {"connection_id":50194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:24:32] local.INFO: IMEI packet received {"connection_id":50194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:24:33] local.INFO: TCP Data received {"connection_id":50194,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:24:33] local.INFO: Processing buffer {"connection_id":50194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:24:33] local.INFO: Packet analysis {"connection_id":50194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:24:33] local.INFO: Extracted packet for processing {"connection_id":50194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:24:33] 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-22 05:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05: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-22 05:24: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:24:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":50194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:24:33] local.INFO: GPS data processed {"connection_id":50194,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:24:33] local.INFO: Acknowledgment sent {"connection_id":50194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:25:05] local.INFO: TCP Data received {"connection_id":50194,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:25:05] local.INFO: Processing buffer {"connection_id":50194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2734cd0012d7f960005afd7d00000015620..."} 
[2026-04-22 05:25:05] local.INFO: Packet analysis {"connection_id":50194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:25:05] local.INFO: Extracted packet for processing {"connection_id":50194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db273"} 
[2026-04-22 05:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864663808001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:25:05] 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-22 05:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776815394000,"timestamp_ms":1776815394000,"timestamp_seconds":1776815394,"priority":1,"record_length":96,"hex_timestamp":"0000019db2734cd0"} 
[2026-04-22 05: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-22 05:25: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:25: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-22 05:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864663808001,"66":25538,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864663808001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:25:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864663808001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":50194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:25:05] local.INFO: GPS data processed {"connection_id":50194,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:25:05] local.INFO: Acknowledgment sent {"connection_id":50194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:25:12] local.INFO: TCP Data received {"connection_id":50330,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:25:12] local.INFO: Processing buffer {"connection_id":50330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:25:12] local.INFO: IMEI packet received {"connection_id":50330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":50330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:25:32] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:25:32] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:25:32] local.INFO: IMEI packet received {"connection_id":50852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:25:33] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:25:33] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:25:33] local.INFO: IMEI packet received {"connection_id":50852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":50852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:25:34] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:25:34] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:25:34] local.INFO: Packet analysis {"connection_id":50852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:25:34] local.INFO: Extracted packet for processing {"connection_id":50852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:25: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-22 05:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:25: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-22 05:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:25: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-22 05:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:25: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-22 05:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:25:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":50852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:25:34] local.INFO: GPS data processed {"connection_id":50852,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:25:34] local.INFO: Acknowledgment sent {"connection_id":50852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:25:37] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:25:37] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:25:37] local.INFO: Packet analysis {"connection_id":50852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:25:37] local.INFO: Extracted packet for processing {"connection_id":50852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:25:37] 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-22 05:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05: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-22 05:25: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-22 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:25: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-22 05: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-22 05: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-22 05:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:25: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-22 05:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:25:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":50852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:25:37] local.INFO: GPS data processed {"connection_id":50852,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:25:37] local.INFO: Acknowledgment sent {"connection_id":50852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:25:51] local.INFO: TCP Data received {"connection_id":50195,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:25:51] local.INFO: Processing buffer {"connection_id":50195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:25:51] local.INFO: IMEI packet received {"connection_id":50195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":50195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:26:09] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:26:09] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:26:09] local.INFO: Packet analysis {"connection_id":50852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:26:09] local.INFO: Extracted packet for processing {"connection_id":50852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:26: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-22 05:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:26: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-22 05:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:26: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-22 05:26: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-22 05:26: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-22 05:26: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-22 05:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:26: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-22 05:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:26:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":50852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:26:09] local.INFO: GPS data processed {"connection_id":50852,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:26:09] local.INFO: Acknowledgment sent {"connection_id":50852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:26:27] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:26:27] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:26:27] local.INFO: IMEI packet received {"connection_id":50853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:26:32] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:26:32] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:26:32] local.INFO: IMEI packet received {"connection_id":50853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:26:33] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:26:33] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:26:33] local.INFO: Packet analysis {"connection_id":50853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:26:33] local.INFO: Extracted packet for processing {"connection_id":50853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:26:33] 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-22 05:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05: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-22 05:26: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-22 05:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:26: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-22 05: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-22 05: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-22 05:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:26:33] 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-22 05:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:26:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:26:33] local.INFO: GPS data processed {"connection_id":50853,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:26:33] local.INFO: Acknowledgment sent {"connection_id":50853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:27:04] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:27:04] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:27:04] local.INFO: Packet analysis {"connection_id":50853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:27:04] local.INFO: Extracted packet for processing {"connection_id":50853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:27: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-22 05:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:27: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-22 05:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:27:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:27:04] local.INFO: GPS data processed {"connection_id":50853,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:27:04] local.INFO: Acknowledgment sent {"connection_id":50853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:27:27] local.INFO: TCP Data received {"connection_id":49948,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:27:27] local.INFO: Processing buffer {"connection_id":49948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:27:27] local.INFO: IMEI packet received {"connection_id":49948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":49948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:27:32] local.INFO: TCP Data received {"connection_id":49948,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:27:32] local.INFO: Processing buffer {"connection_id":49948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:27:32] local.INFO: IMEI packet received {"connection_id":49948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":49948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:27:33] local.INFO: TCP Data received {"connection_id":49948,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:27:33] local.INFO: Processing buffer {"connection_id":49948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:27:33] local.INFO: Packet analysis {"connection_id":49948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:27:33] local.INFO: Extracted packet for processing {"connection_id":49948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:27:33] 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-22 05:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05: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-22 05:27: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-22 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:27: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-22 05: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-22 05: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-22 05:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:27:33] 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-22 05:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:27:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":49948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:27:33] local.INFO: GPS data processed {"connection_id":49948,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:27:33] local.INFO: Acknowledgment sent {"connection_id":49948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:28:04] local.INFO: TCP Data received {"connection_id":49948,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:28:04] local.INFO: Processing buffer {"connection_id":49948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:28:04] local.INFO: Packet analysis {"connection_id":49948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:28:04] local.INFO: Extracted packet for processing {"connection_id":49948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:28: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-22 05:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:28: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-22 05:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:28: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-22 05:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:28:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":49948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:28:04] local.INFO: GPS data processed {"connection_id":49948,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:28:04] local.INFO: Acknowledgment sent {"connection_id":49948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:28:27] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:28:27] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:28:27] local.INFO: IMEI packet received {"connection_id":50854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":50854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:28:32] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:28:32] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:28:32] local.INFO: IMEI packet received {"connection_id":50854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:28:33] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:28:33] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:28:33] local.INFO: Packet analysis {"connection_id":50854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:28:33] local.INFO: Extracted packet for processing {"connection_id":50854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:28:33] 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-22 05:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05: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-22 05: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-22 05:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05: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-22 05: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-22 05:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:28:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:28:33] local.INFO: GPS data processed {"connection_id":50854,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:28:33] local.INFO: Acknowledgment sent {"connection_id":50854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:29:04] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:29:04] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:29:04] local.INFO: Packet analysis {"connection_id":50854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:29:04] local.INFO: Extracted packet for processing {"connection_id":50854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:29: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-22 05:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:29: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-22 05:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:29:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":50854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:29:04] local.INFO: GPS data processed {"connection_id":50854,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:29:04] local.INFO: Acknowledgment sent {"connection_id":50854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:29:32] local.INFO: TCP Data received {"connection_id":50332,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:29:32] local.INFO: Processing buffer {"connection_id":50332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:29:32] local.INFO: IMEI packet received {"connection_id":50332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:29:37] local.INFO: TCP Data received {"connection_id":50332,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:29:37] local.INFO: Processing buffer {"connection_id":50332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:29:37] local.INFO: IMEI packet received {"connection_id":50332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":50332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:29:38] local.INFO: TCP Data received {"connection_id":50332,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:29:38] local.INFO: Processing buffer {"connection_id":50332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:29:38] local.INFO: Packet analysis {"connection_id":50332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:29:38] local.INFO: Extracted packet for processing {"connection_id":50332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:29:38] 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-22 05:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:29:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":50332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:29:38] local.INFO: GPS data processed {"connection_id":50332,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:29:38] local.INFO: Acknowledgment sent {"connection_id":50332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:29:42] local.INFO: TCP Data received {"connection_id":50332,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:29:42] local.INFO: Processing buffer {"connection_id":50332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:29:42] local.INFO: Packet analysis {"connection_id":50332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:29:42] local.INFO: Extracted packet for processing {"connection_id":50332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:29:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:29:42] 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-22 05:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 05:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:29:42] local.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-22 05:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:29:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":50332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:29:42] local.INFO: GPS data processed {"connection_id":50332,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:29:42] local.INFO: Acknowledgment sent {"connection_id":50332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:30:27] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:30:27] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:30:27] local.INFO: IMEI packet received {"connection_id":50856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":50856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:30:32] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:30:32] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:30:32] local.INFO: IMEI packet received {"connection_id":50856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:30:33] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:30:33] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db277e498012d7f960005afd7d00000015624..."} 
[2026-04-22 05:30:33] local.INFO: Packet analysis {"connection_id":50856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:30:33] local.INFO: Extracted packet for processing {"connection_id":50856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db277"} 
[2026-04-22 05:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:30:33] 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-22 05:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815695000,"timestamp_ms":1776815695000,"timestamp_seconds":1776815695,"priority":1,"record_length":96,"hex_timestamp":"0000019db277e498"} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:30:33] 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-22 05:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864740864001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:30:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864740864001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":50856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:30:33] local.INFO: GPS data processed {"connection_id":50856,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:30:33] local.INFO: Acknowledgment sent {"connection_id":50856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:31:04] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:31:04] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:31:04] local.INFO: Packet analysis {"connection_id":50856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:31:04] local.INFO: Extracted packet for processing {"connection_id":50856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864817920001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05: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-22 05:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815996000,"timestamp_ms":1776815996000,"timestamp_seconds":1776815996,"priority":1,"record_length":96,"hex_timestamp":"0000019db27c7c60"} 
[2026-04-22 05: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-22 05:31: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-22 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:31: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-22 05: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-22 05: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-22 05:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:31: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-22 05:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864817920001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864817920001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:31:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864817920001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":50856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:31:04] local.INFO: GPS data processed {"connection_id":50856,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:31:04] local.INFO: Acknowledgment sent {"connection_id":50856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:31:17] local.INFO: TCP Data received {"connection_id":50197,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:31:17] local.INFO: Processing buffer {"connection_id":50197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:31:17] local.INFO: IMEI packet received {"connection_id":50197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":50197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:31:27] local.INFO: TCP Data received {"connection_id":50857,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:31:27] local.INFO: Processing buffer {"connection_id":50857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:31:27] local.INFO: IMEI packet received {"connection_id":50857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":50857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:31:32] local.INFO: TCP Data received {"connection_id":50857,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:31:32] local.INFO: Processing buffer {"connection_id":50857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:31:32] local.INFO: IMEI packet received {"connection_id":50857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:31:33] local.INFO: TCP Data received {"connection_id":50857,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:31:33] local.INFO: Processing buffer {"connection_id":50857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:31:33] local.INFO: Packet analysis {"connection_id":50857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:31:33] local.INFO: Extracted packet for processing {"connection_id":50857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864817920001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:31:33] 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-22 05:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815996000,"timestamp_ms":1776815996000,"timestamp_seconds":1776815996,"priority":1,"record_length":96,"hex_timestamp":"0000019db27c7c60"} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:31:33] 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-22 05:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864817920001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864817920001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:31:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864817920001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":50857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:31:33] local.INFO: GPS data processed {"connection_id":50857,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:31:33] local.INFO: Acknowledgment sent {"connection_id":50857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:31:57] local.INFO: TCP Data received {"connection_id":50198,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:31:57] local.INFO: Processing buffer {"connection_id":50198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:31:57] local.INFO: IMEI packet received {"connection_id":50198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":50198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:32:04] local.INFO: TCP Data received {"connection_id":50857,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:32:04] local.INFO: Processing buffer {"connection_id":50857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:32:04] local.INFO: Packet analysis {"connection_id":50857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:32:04] local.INFO: Extracted packet for processing {"connection_id":50857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864817920001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:32: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-22 05:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815996000,"timestamp_ms":1776815996000,"timestamp_seconds":1776815996,"priority":1,"record_length":96,"hex_timestamp":"0000019db27c7c60"} 
[2026-04-22 05: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-22 05:32: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-22 05:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:32: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-22 05: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-22 05: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-22 05:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864817920001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864817920001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:32:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864817920001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":50857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:32:04] local.INFO: GPS data processed {"connection_id":50857,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:32:04] local.INFO: Acknowledgment sent {"connection_id":50857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:32:27] local.INFO: TCP Data received {"connection_id":50199,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:32:27] local.INFO: Processing buffer {"connection_id":50199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:32:27] local.INFO: IMEI packet received {"connection_id":50199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":50199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:32:32] local.INFO: TCP Data received {"connection_id":50199,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:32:32] local.INFO: Processing buffer {"connection_id":50199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:32:32] local.INFO: IMEI packet received {"connection_id":50199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:32:33] local.INFO: TCP Data received {"connection_id":50199,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:32:33] local.INFO: Processing buffer {"connection_id":50199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:32:33] local.INFO: Packet analysis {"connection_id":50199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:32:33] local.INFO: Extracted packet for processing {"connection_id":50199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864817920001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:32:33] 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-22 05:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776815996000,"timestamp_ms":1776815996000,"timestamp_seconds":1776815996,"priority":1,"record_length":96,"hex_timestamp":"0000019db27c7c60"} 
[2026-04-22 05: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-22 05:32: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-22 05:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05: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-22 05: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-22 05:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:32:33] 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-22 05:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864817920001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864817920001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:32:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864817920001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:32:33] local.INFO: GPS data processed {"connection_id":50199,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:32:33] local.INFO: Acknowledgment sent {"connection_id":50199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:33:04] local.INFO: TCP Data received {"connection_id":50199,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:33:04] local.INFO: Processing buffer {"connection_id":50199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:33:04] local.INFO: Packet analysis {"connection_id":50199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:33:04] local.INFO: Extracted packet for processing {"connection_id":50199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864817920001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:33: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-22 05:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776815996000,"timestamp_ms":1776815996000,"timestamp_seconds":1776815996,"priority":1,"record_length":96,"hex_timestamp":"0000019db27c7c60"} 
[2026-04-22 05: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-22 05: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-22 05:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05: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-22 05: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-22 05:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:33:04] 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-22 05:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864817920001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864817920001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:33:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864817920001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:33:04] local.INFO: GPS data processed {"connection_id":50199,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:33:04] local.INFO: Acknowledgment sent {"connection_id":50199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:33:27] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:33:27] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:33:27] local.INFO: IMEI packet received {"connection_id":50858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:33:32] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:33:32] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:33:32] local.INFO: IMEI packet received {"connection_id":50858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:33:32] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:33:32] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:33:32] local.INFO: Packet analysis {"connection_id":50858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:33:32] local.INFO: Extracted packet for processing {"connection_id":50858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864817920001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:33: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-22 05:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776815996000,"timestamp_ms":1776815996000,"timestamp_seconds":1776815996,"priority":1,"record_length":96,"hex_timestamp":"0000019db27c7c60"} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:33: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-22 05:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864817920001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864817920001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:33:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864817920001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":50858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:33:33] local.INFO: GPS data processed {"connection_id":50858,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:33:33] local.INFO: Acknowledgment sent {"connection_id":50858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:34:03] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:34:03] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:34:03] local.INFO: Packet analysis {"connection_id":50858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:34:03] local.INFO: Extracted packet for processing {"connection_id":50858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864817920001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:34: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-22 05:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776815996000,"timestamp_ms":1776815996000,"timestamp_seconds":1776815996,"priority":1,"record_length":96,"hex_timestamp":"0000019db27c7c60"} 
[2026-04-22 05: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-22 05:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:34: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-22 05: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-22 05: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-22 05:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:34: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-22 05:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864817920001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864817920001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:34:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864817920001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":50858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:34:03] local.INFO: GPS data processed {"connection_id":50858,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:34:03] local.INFO: Acknowledgment sent {"connection_id":50858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:34:27] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:34:27] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:34:27] local.INFO: IMEI packet received {"connection_id":50334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:34:32] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:34:32] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:34:32] local.INFO: IMEI packet received {"connection_id":50334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:34:32] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:34:32] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:34:32] local.INFO: Packet analysis {"connection_id":50334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:34:32] local.INFO: Extracted packet for processing {"connection_id":50334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864817920001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:34: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-22 05:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776815996000,"timestamp_ms":1776815996000,"timestamp_seconds":1776815996,"priority":1,"record_length":96,"hex_timestamp":"0000019db27c7c60"} 
[2026-04-22 05: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-22 05: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-22 05: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:34: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-22 05: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-22 05: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-22 05:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:34: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-22 05:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864817920001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864817920001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:34:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864817920001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":50334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:34:32] local.INFO: GPS data processed {"connection_id":50334,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:34:32] local.INFO: Acknowledgment sent {"connection_id":50334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:35:03] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:35:03] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db27c7c60012d7f960005afd7d00000015620..."} 
[2026-04-22 05:35:03] local.INFO: Packet analysis {"connection_id":50334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:35:03] local.INFO: Extracted packet for processing {"connection_id":50334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db27c"} 
[2026-04-22 05:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864817920001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:35: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-22 05:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776815996000,"timestamp_ms":1776815996000,"timestamp_seconds":1776815996,"priority":1,"record_length":96,"hex_timestamp":"0000019db27c7c60"} 
[2026-04-22 05: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-22 05:35: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-22 05:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05: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-22 05: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-22 05:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05: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-22 05:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864817920001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864817920001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:35:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864817920001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":50334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:35:03] local.INFO: GPS data processed {"connection_id":50334,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:35:03] local.INFO: Acknowledgment sent {"connection_id":50334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:35:32] local.INFO: TCP Data received {"connection_id":49950,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:35:32] local.INFO: Processing buffer {"connection_id":49950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:35:32] local.INFO: IMEI packet received {"connection_id":49950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":49950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:35:35] local.INFO: TCP Data received {"connection_id":49950,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:35:35] local.INFO: Processing buffer {"connection_id":49950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:35:35] local.INFO: IMEI packet received {"connection_id":49950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":49950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:35:39] local.INFO: TCP Data received {"connection_id":49950,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:35:39] local.INFO: Processing buffer {"connection_id":49950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:35:39] local.INFO: Packet analysis {"connection_id":49950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:35:39] local.INFO: Extracted packet for processing {"connection_id":49950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:35:39] 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-22 05:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:35: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-22 05:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":49950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":49950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":49950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:35:39] 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-22 05:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:35:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":49950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:35:39] local.INFO: GPS data processed {"connection_id":49950,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:35:39] local.INFO: Acknowledgment sent {"connection_id":49950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:35:40] local.INFO: TCP Data received {"connection_id":49950,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:35:40] local.INFO: Processing buffer {"connection_id":49950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:35:40] local.INFO: Packet analysis {"connection_id":49950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:35:40] local.INFO: Extracted packet for processing {"connection_id":49950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:35:40] 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-22 05:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:35:40] 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-22 05:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":49950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":49950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":49950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:35:40] 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-22 05:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:35:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":49950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:35:40] local.INFO: GPS data processed {"connection_id":49950,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:35:40] local.INFO: Acknowledgment sent {"connection_id":49950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:36:11] local.INFO: TCP Data received {"connection_id":49950,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:36:11] local.INFO: Processing buffer {"connection_id":49950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:36:11] local.INFO: Packet analysis {"connection_id":49950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:36:11] local.INFO: Extracted packet for processing {"connection_id":49950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:36:11] 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-22 05:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":49950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":49950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":49950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:36:11] 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-22 05:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:36:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":49950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:36:11] local.INFO: GPS data processed {"connection_id":49950,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:36:11] local.INFO: Acknowledgment sent {"connection_id":49950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:36:27] local.INFO: TCP Data received {"connection_id":50201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:36:27] local.INFO: Processing buffer {"connection_id":50201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:36:27] local.INFO: IMEI packet received {"connection_id":50201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":50201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:36:32] local.INFO: TCP Data received {"connection_id":50201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:36:32] local.INFO: Processing buffer {"connection_id":50201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:36:32] local.INFO: IMEI packet received {"connection_id":50201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:36:33] local.INFO: TCP Data received {"connection_id":50201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:36:33] local.INFO: Processing buffer {"connection_id":50201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:36:33] local.INFO: Packet analysis {"connection_id":50201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:36:33] local.INFO: Extracted packet for processing {"connection_id":50201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:36:33] 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-22 05:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05: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-22 05:36: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-22 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:36: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-22 05: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-22 05: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-22 05:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:36:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":50201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:36:33] local.INFO: GPS data processed {"connection_id":50201,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:36:33] local.INFO: Acknowledgment sent {"connection_id":50201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:37:04] local.INFO: TCP Data received {"connection_id":50201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:37:04] local.INFO: Processing buffer {"connection_id":50201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:37:04] local.INFO: Packet analysis {"connection_id":50201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:37:04] local.INFO: Extracted packet for processing {"connection_id":50201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:37: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-22 05:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05: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-22 05:37: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-22 05: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:37: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-22 05: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-22 05: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-22 05:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:37: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-22 05:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:37:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":50201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:37:04] local.INFO: GPS data processed {"connection_id":50201,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:37:04] local.INFO: Acknowledgment sent {"connection_id":50201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:37:12] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:37:12] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:37:12] local.INFO: IMEI packet received {"connection_id":50860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":50860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:37:27] local.INFO: TCP Data received {"connection_id":49952,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:37:27] local.INFO: Processing buffer {"connection_id":49952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:37:27] local.INFO: IMEI packet received {"connection_id":49952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":49952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:37:32] local.INFO: TCP Data received {"connection_id":49952,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:37:32] local.INFO: Processing buffer {"connection_id":49952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:37:32] local.INFO: IMEI packet received {"connection_id":49952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":49952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:37:33] local.INFO: TCP Data received {"connection_id":49952,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:37:33] local.INFO: Processing buffer {"connection_id":49952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:37:33] local.INFO: Packet analysis {"connection_id":49952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:37:33] local.INFO: Extracted packet for processing {"connection_id":49952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:37:33] 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-22 05:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05: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-22 05:37: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-22 05: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:37: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-22 05: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-22 05: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-22 05:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:37:33] 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-22 05:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:37:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":49952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:37:33] local.INFO: GPS data processed {"connection_id":49952,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:37:33] local.INFO: Acknowledgment sent {"connection_id":49952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:37:51] local.INFO: TCP Data received {"connection_id":50335,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:37:51] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:37:51] local.INFO: IMEI packet received {"connection_id":50335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":50335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:38:04] local.INFO: TCP Data received {"connection_id":49952,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:38:04] local.INFO: Processing buffer {"connection_id":49952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:38:04] local.INFO: Packet analysis {"connection_id":49952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:38:04] local.INFO: Extracted packet for processing {"connection_id":49952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:38: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-22 05:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05: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-22 05:38: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-22 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:38: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-22 05: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-22 05: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-22 05:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:38:04] 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-22 05:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:38:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":49952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:38:04] local.INFO: GPS data processed {"connection_id":49952,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:38:04] local.INFO: Acknowledgment sent {"connection_id":49952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:38:27] local.INFO: TCP Data received {"connection_id":50202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:38:27] local.INFO: Processing buffer {"connection_id":50202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:38:27] local.INFO: IMEI packet received {"connection_id":50202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":50202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:38:32] local.INFO: TCP Data received {"connection_id":50202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:38:32] local.INFO: Processing buffer {"connection_id":50202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:38:32] local.INFO: IMEI packet received {"connection_id":50202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:38:33] local.INFO: TCP Data received {"connection_id":50202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:38:33] local.INFO: Processing buffer {"connection_id":50202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:38:33] local.INFO: Packet analysis {"connection_id":50202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:38:33] local.INFO: Extracted packet for processing {"connection_id":50202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:38:33] 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-22 05:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05: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-22 05:38: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-22 05: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:38: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-22 05: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-22 05: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-22 05:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:38:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":50202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:38:33] local.INFO: GPS data processed {"connection_id":50202,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:38:33] local.INFO: Acknowledgment sent {"connection_id":50202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:39:04] local.INFO: TCP Data received {"connection_id":50202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:39:04] local.INFO: Processing buffer {"connection_id":50202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:39:04] local.INFO: Packet analysis {"connection_id":50202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:39:04] local.INFO: Extracted packet for processing {"connection_id":50202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05: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-22 05:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05: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-22 05:39: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-22 05:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05: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-22 05: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-22 05:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:39:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":50202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:39:04] local.INFO: GPS data processed {"connection_id":50202,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:39:04] local.INFO: Acknowledgment sent {"connection_id":50202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:39:32] local.INFO: TCP Data received {"connection_id":49953,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:39:32] local.INFO: Processing buffer {"connection_id":49953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:39:32] local.INFO: IMEI packet received {"connection_id":49953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":49953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:39:37] local.INFO: TCP Data received {"connection_id":49953,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:39:37] local.INFO: Processing buffer {"connection_id":49953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:39:37] local.INFO: IMEI packet received {"connection_id":49953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":49953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:39:38] local.INFO: TCP Data received {"connection_id":49953,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:39:38] local.INFO: Processing buffer {"connection_id":49953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:39:38] local.INFO: Packet analysis {"connection_id":49953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:39:38] local.INFO: Extracted packet for processing {"connection_id":49953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:39:38] 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-22 05:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:39: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-22 05:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:39: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-22 05:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:39:38] 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-22 05:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:39:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":49953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:39:38] local.INFO: GPS data processed {"connection_id":49953,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:39:38] local.INFO: Acknowledgment sent {"connection_id":49953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:39:42] local.INFO: TCP Data received {"connection_id":49953,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:39:42] local.INFO: Processing buffer {"connection_id":49953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:39:42] local.INFO: Packet analysis {"connection_id":49953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:39:42] local.INFO: Extracted packet for processing {"connection_id":49953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:39:42] 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-22 05:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":49953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":49953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":49953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:39:42] 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-22 05:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:39:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":49953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:39:42] local.INFO: GPS data processed {"connection_id":49953,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:39:42] local.INFO: Acknowledgment sent {"connection_id":49953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:40:27] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:40:27] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:40:27] local.INFO: IMEI packet received {"connection_id":50862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:40:32] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:40:32] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:40:32] local.INFO: IMEI packet received {"connection_id":50862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:40:33] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:40:33] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2811428012d7f960005afd7d00000015623..."} 
[2026-04-22 05:40:33] local.INFO: Packet analysis {"connection_id":50862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:40:33] local.INFO: Extracted packet for processing {"connection_id":50862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db281"} 
[2026-04-22 05:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864894976001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:40:33] 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-22 05:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816297000,"timestamp_ms":1776816297000,"timestamp_seconds":1776816297,"priority":1,"record_length":96,"hex_timestamp":"0000019db2811428"} 
[2026-04-22 05: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-22 05:40: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-22 05: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 05:40: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-22 05: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-22 05: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-22 05:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:40: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-22 05:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864894976001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864894976001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:40:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864894976001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:40:33] local.INFO: GPS data processed {"connection_id":50862,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:40:33] local.INFO: Acknowledgment sent {"connection_id":50862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:41:04] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:41:04] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:41:04] local.INFO: Packet analysis {"connection_id":50862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:41:04] local.INFO: Extracted packet for processing {"connection_id":50862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:41: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-22 05:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05: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-22 05:41: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-22 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:41: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-22 05: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-22 05: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-22 05:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05: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-22 05:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:41:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":50862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:41:04] local.INFO: GPS data processed {"connection_id":50862,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:41:04] local.INFO: Acknowledgment sent {"connection_id":50862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:41:27] local.INFO: TCP Data received {"connection_id":49954,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:41:27] local.INFO: Processing buffer {"connection_id":49954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:41:27] local.INFO: IMEI packet received {"connection_id":49954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":49954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:41:32] local.INFO: TCP Data received {"connection_id":49954,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:41:32] local.INFO: Processing buffer {"connection_id":49954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:41:32] local.INFO: IMEI packet received {"connection_id":49954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":49954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:41:33] local.INFO: TCP Data received {"connection_id":49954,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:41:33] local.INFO: Processing buffer {"connection_id":49954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:41:33] local.INFO: Packet analysis {"connection_id":49954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:41:33] local.INFO: Extracted packet for processing {"connection_id":49954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:41:33] 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-22 05:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05: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-22 05:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:41:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":49954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:41:33] local.INFO: GPS data processed {"connection_id":49954,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:41:33] local.INFO: Acknowledgment sent {"connection_id":49954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:42:04] local.INFO: TCP Data received {"connection_id":49954,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:42:04] local.INFO: Processing buffer {"connection_id":49954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:42:04] local.INFO: Packet analysis {"connection_id":49954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:42:04] local.INFO: Extracted packet for processing {"connection_id":49954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:42: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-22 05:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05: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-22 05:42: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-22 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:42: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-22 05: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-22 05: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-22 05:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05: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-22 05:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:42:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":49954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:42:04] local.INFO: GPS data processed {"connection_id":49954,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:42:04] local.INFO: Acknowledgment sent {"connection_id":49954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:42:27] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:42:27] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:42:27] local.INFO: IMEI packet received {"connection_id":50863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:42:32] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:42:32] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:42:32] local.INFO: IMEI packet received {"connection_id":50863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:42:33] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:42:33] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:42:33] local.INFO: Packet analysis {"connection_id":50863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:42:33] local.INFO: Extracted packet for processing {"connection_id":50863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:42:33] 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-22 05:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05: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-22 05: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-22 05: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:42: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-22 05: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-22 05: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-22 05:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:42:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:42:33] local.INFO: GPS data processed {"connection_id":50863,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:42:33] local.INFO: Acknowledgment sent {"connection_id":50863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:43:04] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:43:04] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:43:04] local.INFO: Packet analysis {"connection_id":50863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:43:04] local.INFO: Extracted packet for processing {"connection_id":50863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:43: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-22 05:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:43: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-22 05:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:43: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-22 05:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:43:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:43:04] local.INFO: GPS data processed {"connection_id":50863,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:43:04] local.INFO: Acknowledgment sent {"connection_id":50863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:43:22] local.INFO: TCP Data received {"connection_id":49955,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:43:22] local.INFO: Processing buffer {"connection_id":49955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:43:22] local.INFO: IMEI packet received {"connection_id":49955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":49955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:43:27] local.INFO: TCP Data received {"connection_id":50205,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:43:27] local.INFO: Processing buffer {"connection_id":50205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:43:27] local.INFO: IMEI packet received {"connection_id":50205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":50205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:43:32] local.INFO: TCP Data received {"connection_id":50205,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:43:32] local.INFO: Processing buffer {"connection_id":50205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:43:32] local.INFO: IMEI packet received {"connection_id":50205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":50205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:43:33] local.INFO: TCP Data received {"connection_id":50205,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:43:33] local.INFO: Processing buffer {"connection_id":50205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:43:33] local.INFO: Packet analysis {"connection_id":50205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:43:33] local.INFO: Extracted packet for processing {"connection_id":50205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:43:33] 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-22 05:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05: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-22 05:43: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-22 05: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:43: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-22 05: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-22 05: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-22 05:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:43:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":50205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:43:33] local.INFO: GPS data processed {"connection_id":50205,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:43:33] local.INFO: Acknowledgment sent {"connection_id":50205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:43:52] local.INFO: TCP Data received {"connection_id":49956,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:43:52] local.INFO: Processing buffer {"connection_id":49956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:43:52] local.INFO: IMEI packet received {"connection_id":49956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":49956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:44:04] local.INFO: TCP Data received {"connection_id":50205,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:44:04] local.INFO: Processing buffer {"connection_id":50205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:44:04] local.INFO: Packet analysis {"connection_id":50205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:44:04] local.INFO: Extracted packet for processing {"connection_id":50205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:44: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-22 05:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05: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-22 05:44: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-22 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:44: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-22 05: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-22 05: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-22 05:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:44:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:44:04] local.INFO: GPS data processed {"connection_id":50205,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:44:04] local.INFO: Acknowledgment sent {"connection_id":50205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:44:32] local.INFO: TCP Data received {"connection_id":50337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:44:32] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:44:32] local.INFO: IMEI packet received {"connection_id":50337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:44:37] local.INFO: TCP Data received {"connection_id":50337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:44:37] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:44:37] local.INFO: IMEI packet received {"connection_id":50337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":50337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:44:38] local.INFO: TCP Data received {"connection_id":50337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:44:38] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:44:38] local.INFO: Packet analysis {"connection_id":50337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:44:38] local.INFO: Extracted packet for processing {"connection_id":50337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:44:38] 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-22 05:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:44: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-22 05:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:44:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:44:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":50337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:44:38] local.INFO: GPS data processed {"connection_id":50337,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:44:38] local.INFO: Acknowledgment sent {"connection_id":50337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:44:42] local.INFO: TCP Data received {"connection_id":50337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:44:42] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:44:42] local.INFO: Packet analysis {"connection_id":50337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:44:42] local.INFO: Extracted packet for processing {"connection_id":50337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:44:42] 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-22 05:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:44:42] 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-22 05:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:44:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":50337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:44:43] local.INFO: GPS data processed {"connection_id":50337,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:44:43] local.INFO: Acknowledgment sent {"connection_id":50337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:45:27] local.INFO: TCP Data received {"connection_id":50206,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:45:27] local.INFO: Processing buffer {"connection_id":50206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:45:27] local.INFO: IMEI packet received {"connection_id":50206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:45:32] local.INFO: TCP Data received {"connection_id":50206,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:45:32] local.INFO: Processing buffer {"connection_id":50206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:45:32] local.INFO: IMEI packet received {"connection_id":50206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":50206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:45:33] local.INFO: TCP Data received {"connection_id":50206,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:45:33] local.INFO: Processing buffer {"connection_id":50206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db285abf0012d7f960005afd7d00000015623..."} 
[2026-04-22 05:45:33] local.INFO: Packet analysis {"connection_id":50206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:45:33] local.INFO: Extracted packet for processing {"connection_id":50206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db285"} 
[2026-04-22 05:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454864972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:45:33] 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-22 05:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816598000,"timestamp_ms":1776816598000,"timestamp_seconds":1776816598,"priority":1,"record_length":96,"hex_timestamp":"0000019db285abf0"} 
[2026-04-22 05:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:45: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-22 05:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:45: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-22 05:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454864972032001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454864972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454864972032001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":50206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:45:33] local.INFO: GPS data processed {"connection_id":50206,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:45:33] local.INFO: Acknowledgment sent {"connection_id":50206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:46:03] local.INFO: TCP Data received {"connection_id":50206,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:46:03] local.INFO: Processing buffer {"connection_id":50206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:46:03] local.INFO: Packet analysis {"connection_id":50206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:46:03] local.INFO: Extracted packet for processing {"connection_id":50206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:46: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-22 05:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 05:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:46: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-22 05:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:46:03] 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-22 05:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:46:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":50206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:46:03] local.INFO: GPS data processed {"connection_id":50206,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:46:03] local.INFO: Acknowledgment sent {"connection_id":50206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:46:27] local.INFO: TCP Data received {"connection_id":50338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:46:27] local.INFO: Processing buffer {"connection_id":50338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:46:27] local.INFO: IMEI packet received {"connection_id":50338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":50338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:46:32] local.INFO: TCP Data received {"connection_id":50338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:46:32] local.INFO: Processing buffer {"connection_id":50338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:46:32] local.INFO: IMEI packet received {"connection_id":50338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:46:33] local.INFO: TCP Data received {"connection_id":50338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:46:33] local.INFO: Processing buffer {"connection_id":50338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:46:33] local.INFO: Packet analysis {"connection_id":50338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:46:33] local.INFO: Extracted packet for processing {"connection_id":50338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:46:33] 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-22 05:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 05: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-22 05: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-22 05: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:46: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-22 05: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-22 05: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-22 05:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:46:33] 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-22 05:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:46:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":50338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:46:33] local.INFO: GPS data processed {"connection_id":50338,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:46:33] local.INFO: Acknowledgment sent {"connection_id":50338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:47:04] local.INFO: TCP Data received {"connection_id":50338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:47:04] local.INFO: Processing buffer {"connection_id":50338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:47:04] local.INFO: Packet analysis {"connection_id":50338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:47:04] local.INFO: Extracted packet for processing {"connection_id":50338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 05:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:47: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-22 05:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 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-22 05:47: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-22 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:47: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-22 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-22 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-22 05:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:47: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-22 05:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:47:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":50338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:47:04] local.INFO: GPS data processed {"connection_id":50338,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:47:04] local.INFO: Acknowledgment sent {"connection_id":50338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:47:27] local.INFO: TCP Data received {"connection_id":49957,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:47:27] local.INFO: Processing buffer {"connection_id":49957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:47:27] local.INFO: IMEI packet received {"connection_id":49957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":49957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:47:32] local.INFO: TCP Data received {"connection_id":49957,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:47:32] local.INFO: Processing buffer {"connection_id":49957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:47:32] local.INFO: IMEI packet received {"connection_id":49957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":49957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:47:33] local.INFO: TCP Data received {"connection_id":49957,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:47:33] local.INFO: Processing buffer {"connection_id":49957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:47:33] local.INFO: Packet analysis {"connection_id":49957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:47:33] local.INFO: Extracted packet for processing {"connection_id":49957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:47:33] 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-22 05:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 05: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-22 05:47: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-22 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:47: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-22 05: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-22 05: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-22 05:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:47:33] 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-22 05:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":49957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:47:33] local.INFO: GPS data processed {"connection_id":49957,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:47:33] local.INFO: Acknowledgment sent {"connection_id":49957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:48:04] local.INFO: TCP Data received {"connection_id":49957,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:48:04] local.INFO: Processing buffer {"connection_id":49957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:48:04] local.INFO: Packet analysis {"connection_id":49957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:48:04] local.INFO: Extracted packet for processing {"connection_id":49957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:48: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-22 05:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 05: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-22 05:48: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-22 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:48: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-22 05: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-22 05: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-22 05:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:48:04] 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-22 05:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:48:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":49957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:48:04] local.INFO: GPS data processed {"connection_id":49957,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:48:04] local.INFO: Acknowledgment sent {"connection_id":49957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:48:32] local.INFO: TCP Data received {"connection_id":49958,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:48:32] local.INFO: Processing buffer {"connection_id":49958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:48:32] local.INFO: IMEI packet received {"connection_id":49958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":49958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:48:37] local.INFO: TCP Data received {"connection_id":49958,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:48:37] local.INFO: Processing buffer {"connection_id":49958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:48:37] local.INFO: IMEI packet received {"connection_id":49958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":49958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:48:38] local.INFO: TCP Data received {"connection_id":49958,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:48:38] local.INFO: Processing buffer {"connection_id":49958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:48:38] local.INFO: Packet analysis {"connection_id":49958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:48:38] local.INFO: Extracted packet for processing {"connection_id":49958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:48:38] 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-22 05:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 05: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-22 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05: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-22 05: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-22 05:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:48:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":49958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:48:38] local.INFO: GPS data processed {"connection_id":49958,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:48:38] local.INFO: Acknowledgment sent {"connection_id":49958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:48:42] local.INFO: TCP Data received {"connection_id":49958,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:48:43] local.INFO: Processing buffer {"connection_id":49958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:48:43] local.INFO: Packet analysis {"connection_id":49958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:48:43] local.INFO: Extracted packet for processing {"connection_id":49958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:48:43] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:48:43] 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-22 05:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 05:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 05:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:48:43] 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-22 05:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:48:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":49958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:48:43] local.INFO: GPS data processed {"connection_id":49958,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:48:43] local.INFO: Acknowledgment sent {"connection_id":49958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:49:07] local.INFO: TCP Data received {"connection_id":50208,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:49:07] local.INFO: Processing buffer {"connection_id":50208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:49:07] local.INFO: IMEI packet received {"connection_id":50208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":50208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:49:27] local.INFO: TCP Data received {"connection_id":49959,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:49:27] local.INFO: Processing buffer {"connection_id":49959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:49:27] local.INFO: IMEI packet received {"connection_id":49959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":49959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:49:32] local.INFO: TCP Data received {"connection_id":49959,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:49:32] local.INFO: Processing buffer {"connection_id":49959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:49:32] local.INFO: IMEI packet received {"connection_id":49959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":49959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:49:33] local.INFO: TCP Data received {"connection_id":49959,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:49:33] local.INFO: Processing buffer {"connection_id":49959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:49:33] local.INFO: Packet analysis {"connection_id":49959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:49:33] local.INFO: Extracted packet for processing {"connection_id":49959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:49:33] 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-22 05:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 05: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-22 05:49: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-22 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:49: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-22 05: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-22 05: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-22 05:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:49:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":49959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:49:33] local.INFO: GPS data processed {"connection_id":49959,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:49:33] local.INFO: Acknowledgment sent {"connection_id":49959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:49:51] local.INFO: TCP Data received {"connection_id":50209,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:49:51] local.INFO: Processing buffer {"connection_id":50209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:49:51] local.INFO: IMEI packet received {"connection_id":50209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":50209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:50:04] local.INFO: TCP Data received {"connection_id":49959,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:50:04] local.INFO: Processing buffer {"connection_id":49959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:50:04] local.INFO: Packet analysis {"connection_id":49959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:50:04] local.INFO: Extracted packet for processing {"connection_id":49959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:50: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-22 05:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 05:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:50: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-22 05:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:50: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-22 05:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:50:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":49959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:50:04] local.INFO: GPS data processed {"connection_id":49959,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:50:04] local.INFO: Acknowledgment sent {"connection_id":49959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:50:27] local.INFO: TCP Data received {"connection_id":50210,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:50:27] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:50:27] local.INFO: IMEI packet received {"connection_id":50210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":50210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:50:32] local.INFO: TCP Data received {"connection_id":50210,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:50:32] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:50:32] local.INFO: IMEI packet received {"connection_id":50210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":50210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:50:33] local.INFO: TCP Data received {"connection_id":50210,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:50:33] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28a43b8012d7f960005afd7d00000015624..."} 
[2026-04-22 05:50:33] local.INFO: Packet analysis {"connection_id":50210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:50:33] local.INFO: Extracted packet for processing {"connection_id":50210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28a"} 
[2026-04-22 05:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":36,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865049088001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:50:33] 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-22 05:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776816899000,"timestamp_ms":1776816899000,"timestamp_seconds":1776816899,"priority":1,"record_length":96,"hex_timestamp":"0000019db28a43b8"} 
[2026-04-22 05: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-22 05:50: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-22 05:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 05:50: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-22 05: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-22 05: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-22 05:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865049088001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865049088001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:50:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865049088001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":50210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:50:33] local.INFO: GPS data processed {"connection_id":50210,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:50:33] local.INFO: Acknowledgment sent {"connection_id":50210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:51:04] local.INFO: TCP Data received {"connection_id":50210,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:51:04] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:51:04] local.INFO: Packet analysis {"connection_id":50210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:51:04] local.INFO: Extracted packet for processing {"connection_id":50210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:51: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-22 05:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 05: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-22 05:51: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-22 05: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:51: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-22 05: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-22 05: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-22 05:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:51: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-22 05:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:51:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":50210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:51:04] local.INFO: GPS data processed {"connection_id":50210,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:51:04] local.INFO: Acknowledgment sent {"connection_id":50210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:51:27] local.INFO: TCP Data received {"connection_id":50339,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:51:27] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:51:27] local.INFO: IMEI packet received {"connection_id":50339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":50339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:51:32] local.INFO: TCP Data received {"connection_id":50339,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:51:32] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:51:32] local.INFO: IMEI packet received {"connection_id":50339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:51:33] local.INFO: TCP Data received {"connection_id":50339,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:51:33] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:51:33] local.INFO: Packet analysis {"connection_id":50339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:51:33] local.INFO: Extracted packet for processing {"connection_id":50339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:51:33] 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-22 05:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 05: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-22 05: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-22 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:51: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-22 05: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-22 05: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-22 05:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:51:33] 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-22 05:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:51:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:51:33] local.INFO: GPS data processed {"connection_id":50339,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:51:33] local.INFO: Acknowledgment sent {"connection_id":50339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:52:05] local.INFO: TCP Data received {"connection_id":50339,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:52:05] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:52:05] local.INFO: Packet analysis {"connection_id":50339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:52:05] local.INFO: Extracted packet for processing {"connection_id":50339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 05:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:52:05] 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-22 05:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 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-22 05:52: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-22 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:52: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-22 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-22 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-22 05:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:52:05] 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-22 05:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":50339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:52:05] local.INFO: GPS data processed {"connection_id":50339,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:52:05] local.INFO: Acknowledgment sent {"connection_id":50339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:52:27] local.INFO: TCP Data received {"connection_id":49960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:52:27] local.INFO: Processing buffer {"connection_id":49960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:52:27] local.INFO: IMEI packet received {"connection_id":49960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":49960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:52:32] local.INFO: TCP Data received {"connection_id":49960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:52:32] local.INFO: Processing buffer {"connection_id":49960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:52:32] local.INFO: IMEI packet received {"connection_id":49960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":49960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:52:33] local.INFO: TCP Data received {"connection_id":49960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:52:33] local.INFO: Processing buffer {"connection_id":49960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:52:33] local.INFO: Packet analysis {"connection_id":49960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:52:33] local.INFO: Extracted packet for processing {"connection_id":49960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:52:33] 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-22 05:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 05: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-22 05: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-22 05: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:52: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-22 05: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-22 05: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-22 05:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:52: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-22 05:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:52:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":49960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:52:33] local.INFO: GPS data processed {"connection_id":49960,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:52:33] local.INFO: Acknowledgment sent {"connection_id":49960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:53:05] local.INFO: TCP Data received {"connection_id":49960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:53:05] local.INFO: Processing buffer {"connection_id":49960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:53:05] local.INFO: Packet analysis {"connection_id":49960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:53:05] local.INFO: Extracted packet for processing {"connection_id":49960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:53:05] 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-22 05:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 05: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-22 05:53: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-22 05: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:53: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-22 05: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-22 05: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-22 05:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05: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-22 05:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:53:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":49960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:53:05] local.INFO: GPS data processed {"connection_id":49960,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:53:05] local.INFO: Acknowledgment sent {"connection_id":49960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:53:32] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:53:32] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:53:32] local.INFO: IMEI packet received {"connection_id":50341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:53:37] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:53:37] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:53:37] local.INFO: IMEI packet received {"connection_id":50341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":50341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:53:38] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:53:38] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:53:38] local.INFO: Packet analysis {"connection_id":50341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:53:38] local.INFO: Extracted packet for processing {"connection_id":50341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:53:38] 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-22 05:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 05:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:53: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-22 05:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:53: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-22 05:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:53:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":50341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:53:38] local.INFO: GPS data processed {"connection_id":50341,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:53:38] local.INFO: Acknowledgment sent {"connection_id":50341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:53:42] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:53:42] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:53:42] local.INFO: Packet analysis {"connection_id":50341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:53:42] local.INFO: Extracted packet for processing {"connection_id":50341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:53:42] 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-22 05:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 05:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:53:42] local.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-22 05:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:53:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":50341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:53:42] local.INFO: GPS data processed {"connection_id":50341,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:53:42] local.INFO: Acknowledgment sent {"connection_id":50341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:54:27] local.INFO: TCP Data received {"connection_id":49961,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:54:27] local.INFO: Processing buffer {"connection_id":49961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:54:27] local.INFO: IMEI packet received {"connection_id":49961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":49961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:54:32] local.INFO: TCP Data received {"connection_id":49961,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:54:32] local.INFO: Processing buffer {"connection_id":49961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:54:32] local.INFO: IMEI packet received {"connection_id":49961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":49961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:54:33] local.INFO: TCP Data received {"connection_id":49961,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:54:33] local.INFO: Processing buffer {"connection_id":49961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:54:33] local.INFO: Packet analysis {"connection_id":49961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:54:33] local.INFO: Extracted packet for processing {"connection_id":49961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:54:33] 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-22 05:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 05:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:54: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-22 05:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:54: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-22 05:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:54:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":49961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:54:33] local.INFO: GPS data processed {"connection_id":49961,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:54:33] local.INFO: Acknowledgment sent {"connection_id":49961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:55:04] local.INFO: TCP Data received {"connection_id":49961,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:55:04] local.INFO: Processing buffer {"connection_id":49961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:55:04] local.INFO: Packet analysis {"connection_id":49961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:55:04] local.INFO: Extracted packet for processing {"connection_id":49961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:55: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-22 05:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 05:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:55: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-22 05:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:55: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-22 05:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:55:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":49961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:55:04] local.INFO: GPS data processed {"connection_id":49961,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:55:04] local.INFO: Acknowledgment sent {"connection_id":49961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:55:17] local.INFO: TCP Data received {"connection_id":50868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:55:17] local.INFO: Processing buffer {"connection_id":50868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:55:17] local.INFO: IMEI packet received {"connection_id":50868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":50868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:55:27] local.INFO: TCP Data received {"connection_id":50869,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:55:27] local.INFO: Processing buffer {"connection_id":50869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:55:27] local.INFO: IMEI packet received {"connection_id":50869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":50869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:55:32] local.INFO: TCP Data received {"connection_id":50869,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:55:32] local.INFO: Processing buffer {"connection_id":50869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:55:32] local.INFO: IMEI packet received {"connection_id":50869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:55:33] local.INFO: TCP Data received {"connection_id":50869,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:55:33] local.INFO: Processing buffer {"connection_id":50869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db28edb80012d7f960005afd7d00000015622..."} 
[2026-04-22 05:55:33] local.INFO: Packet analysis {"connection_id":50869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:55:33] local.INFO: Extracted packet for processing {"connection_id":50869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db28e"} 
[2026-04-22 05:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865126144001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:55:33] 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-22 05:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817200000,"timestamp_ms":1776817200000,"timestamp_seconds":1776817200,"priority":1,"record_length":96,"hex_timestamp":"0000019db28edb80"} 
[2026-04-22 05:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05: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-22 05:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:55: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-22 05:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865126144001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865126144001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:55:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865126144001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:55:33] local.INFO: GPS data processed {"connection_id":50869,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:55:33] local.INFO: Acknowledgment sent {"connection_id":50869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:55:57] local.INFO: TCP Data received {"connection_id":50214,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:55:57] local.INFO: Processing buffer {"connection_id":50214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 05:55:57] local.INFO: IMEI packet received {"connection_id":50214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 05:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":50214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:56:03] local.INFO: TCP Data received {"connection_id":50869,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:56:03] local.INFO: Processing buffer {"connection_id":50869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:56:03] local.INFO: Packet analysis {"connection_id":50869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:56:03] local.INFO: Extracted packet for processing {"connection_id":50869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:56: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-22 05:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 05: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-22 05:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:56: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-22 05: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-22 05: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-22 05:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:56:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:56:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":50869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:56:03] local.INFO: GPS data processed {"connection_id":50869,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:56:03] local.INFO: Acknowledgment sent {"connection_id":50869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:56:27] local.INFO: TCP Data received {"connection_id":49962,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:56:27] local.INFO: Processing buffer {"connection_id":49962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:56:27] local.INFO: IMEI packet received {"connection_id":49962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":49962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:56:32] local.INFO: TCP Data received {"connection_id":49962,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:56:32] local.INFO: Processing buffer {"connection_id":49962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:56:32] local.INFO: IMEI packet received {"connection_id":49962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":49962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:56:33] local.INFO: TCP Data received {"connection_id":49962,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:56:33] local.INFO: Processing buffer {"connection_id":49962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:56:33] local.INFO: Packet analysis {"connection_id":49962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:56:33] local.INFO: Extracted packet for processing {"connection_id":49962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:56:33] 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-22 05:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 05:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05: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-22 05:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05: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-22 05:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:56:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":49962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:56:33] local.INFO: GPS data processed {"connection_id":49962,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:56:33] local.INFO: Acknowledgment sent {"connection_id":49962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:57:04] local.INFO: TCP Data received {"connection_id":49962,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:57:04] local.INFO: Processing buffer {"connection_id":49962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:57:04] local.INFO: Packet analysis {"connection_id":49962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:57:04] local.INFO: Extracted packet for processing {"connection_id":49962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:57: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-22 05:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 05:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:57: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-22 05:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:57: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-22 05:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 05:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:57:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":49962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:57:04] local.INFO: GPS data processed {"connection_id":49962,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:57:04] local.INFO: Acknowledgment sent {"connection_id":49962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:57:27] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:57:27] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:57:27] local.INFO: IMEI packet received {"connection_id":50871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":50871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:57:32] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:57:32] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:57:32] local.INFO: IMEI packet received {"connection_id":50871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:57:33] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:57:33] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:57:33] local.INFO: Packet analysis {"connection_id":50871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:57:33] local.INFO: Extracted packet for processing {"connection_id":50871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:57:33] 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-22 05:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 05:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:57: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-22 05:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:57: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-22 05:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:57:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:57:33] local.INFO: GPS data processed {"connection_id":50871,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:57:33] local.INFO: Acknowledgment sent {"connection_id":50871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:58:03] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:58:03] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:58:03] local.INFO: Packet analysis {"connection_id":50871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:58:03] local.INFO: Extracted packet for processing {"connection_id":50871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05: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-22 05:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:58: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-22 05:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 05: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-22 05:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:58: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-22 05: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-22 05: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-22 05:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:58: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-22 05:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:58:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":50871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:58:03] local.INFO: GPS data processed {"connection_id":50871,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:58:03] local.INFO: Acknowledgment sent {"connection_id":50871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:58:27] local.INFO: TCP Data received {"connection_id":50872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:58:27] local.INFO: Processing buffer {"connection_id":50872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:58:27] local.INFO: IMEI packet received {"connection_id":50872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:58:32] local.INFO: TCP Data received {"connection_id":50872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:58:32] local.INFO: Processing buffer {"connection_id":50872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:58:32] local.INFO: IMEI packet received {"connection_id":50872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:58:32] local.INFO: TCP Data received {"connection_id":50872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:58:32] local.INFO: Processing buffer {"connection_id":50872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:58:32] local.INFO: Packet analysis {"connection_id":50872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:58:32] local.INFO: Extracted packet for processing {"connection_id":50872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 05:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:58: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-22 05:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 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-22 05: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-22 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:58: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-22 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-22 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-22 05:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:58: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-22 05:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:58:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":50872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:58:32] local.INFO: GPS data processed {"connection_id":50872,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:58:32] local.INFO: Acknowledgment sent {"connection_id":50872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:59:04] local.INFO: TCP Data received {"connection_id":50872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:59:04] local.INFO: Processing buffer {"connection_id":50872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:59:04] local.INFO: Packet analysis {"connection_id":50872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:59:04] local.INFO: Extracted packet for processing {"connection_id":50872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:59: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-22 05:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 05:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:59: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-22 05:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:59: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-22 05:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:59: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-22 05:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:59:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":50872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:59:04] local.INFO: GPS data processed {"connection_id":50872,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:59:04] local.INFO: Acknowledgment sent {"connection_id":50872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:59:32] local.INFO: TCP Data received {"connection_id":50215,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:59:32] local.INFO: Processing buffer {"connection_id":50215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:59:32] local.INFO: IMEI packet received {"connection_id":50215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 05:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 05:59:37] local.INFO: TCP Data received {"connection_id":50215,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:59:37] local.INFO: Processing buffer {"connection_id":50215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 05:59:37] local.INFO: IMEI packet received {"connection_id":50215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 05:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":50215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 05:59:38] local.INFO: TCP Data received {"connection_id":50215,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:59:38] local.INFO: Processing buffer {"connection_id":50215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:59:38] local.INFO: Packet analysis {"connection_id":50215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:59:38] local.INFO: Extracted packet for processing {"connection_id":50215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:59:38] 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-22 05:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 05:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:59: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-22 05:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 05:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:59:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":50215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:59:38] local.INFO: GPS data processed {"connection_id":50215,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:59:38] local.INFO: Acknowledgment sent {"connection_id":50215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 05:59:42] local.INFO: TCP Data received {"connection_id":50215,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:59:42] local.INFO: Processing buffer {"connection_id":50215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 05:59:42] local.INFO: Packet analysis {"connection_id":50215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:59:42] local.INFO: Extracted packet for processing {"connection_id":50215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 05:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 05:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 05:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 05:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 05:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 05:59:42] 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-22 05:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 05:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 05:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 05:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 05:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 05:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 05:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 05:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 05:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 05:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 05:59:42] 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-22 05:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 05:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 05:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 05:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 05:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 05:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 05:59:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 05:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 05:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 05:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 05:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 05:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":50215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 05:59:42] local.INFO: GPS data processed {"connection_id":50215,"processed":1,"errors":0,"total":1} 
[2026-04-22 05:59:42] local.INFO: Acknowledgment sent {"connection_id":50215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:00:27] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:00:27] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:00:27] local.INFO: IMEI packet received {"connection_id":50874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:00:32] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:00:32] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:00:32] local.INFO: IMEI packet received {"connection_id":50874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:00:33] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 06:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 06:00:33] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2937348012d7f960005afd7d00000015625..."} 
[2026-04-22 06:00:33] local.INFO: Packet analysis {"connection_id":50874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 06:00:33] local.INFO: Extracted packet for processing {"connection_id":50874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db293"} 
[2026-04-22 06:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:00:33] 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-22 06:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817501000,"timestamp_ms":1776817501000,"timestamp_seconds":1776817501,"priority":1,"record_length":96,"hex_timestamp":"0000019db2937348"} 
[2026-04-22 06: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-22 06: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-22 06: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-22 06: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-22 06: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-22 06: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-22 06:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:00:33] 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-22 06:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865203200001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:00:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865203200001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:00:33] local.INFO: GPS data processed {"connection_id":50874,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:00:33] local.INFO: Acknowledgment sent {"connection_id":50874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:01:04] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:01:04] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:01:04] local.INFO: Packet analysis {"connection_id":50874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:01:04] local.INFO: Extracted packet for processing {"connection_id":50874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:01: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-22 06:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06: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-22 06:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:01: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-22 06: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-22 06: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-22 06:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:01: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-22 06:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:01:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:01:04] local.INFO: GPS data processed {"connection_id":50874,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:01:04] local.INFO: Acknowledgment sent {"connection_id":50874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:01:12] local.INFO: TCP Data received {"connection_id":50344,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:01:12] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:01:12] local.INFO: IMEI packet received {"connection_id":50344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":50344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:01:27] local.INFO: TCP Data received {"connection_id":50216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:01:27] local.INFO: Processing buffer {"connection_id":50216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:01:27] local.INFO: IMEI packet received {"connection_id":50216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":50216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:01:32] local.INFO: TCP Data received {"connection_id":50216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:01:32] local.INFO: Processing buffer {"connection_id":50216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:01:32] local.INFO: IMEI packet received {"connection_id":50216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":50216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:01:33] local.INFO: TCP Data received {"connection_id":50216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:01:33] local.INFO: Processing buffer {"connection_id":50216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:01:33] local.INFO: Packet analysis {"connection_id":50216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:01:33] local.INFO: Extracted packet for processing {"connection_id":50216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:01:33] 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-22 06:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06: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-22 06: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-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:01: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-22 06: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-22 06: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-22 06:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:01:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":50216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:01:33] local.INFO: GPS data processed {"connection_id":50216,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:01:33] local.INFO: Acknowledgment sent {"connection_id":50216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:01:52] local.INFO: TCP Data received {"connection_id":50345,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:01:52] local.INFO: Processing buffer {"connection_id":50345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:01:52] local.INFO: IMEI packet received {"connection_id":50345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":50345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:02:04] local.INFO: TCP Data received {"connection_id":50216,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:02:04] local.INFO: Processing buffer {"connection_id":50216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:02:04] local.INFO: Packet analysis {"connection_id":50216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:02:04] local.INFO: Extracted packet for processing {"connection_id":50216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:02: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-22 06:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06: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-22 06:02: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-22 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:02: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-22 06: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-22 06: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-22 06:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:02:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":50216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:02:04] local.INFO: GPS data processed {"connection_id":50216,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:02:04] local.INFO: Acknowledgment sent {"connection_id":50216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:02:27] local.INFO: TCP Data received {"connection_id":49963,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:02:27] local.INFO: Processing buffer {"connection_id":49963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:02:27] local.INFO: IMEI packet received {"connection_id":49963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":49963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:02:32] local.INFO: TCP Data received {"connection_id":49963,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:02:32] local.INFO: Processing buffer {"connection_id":49963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:02:32] local.INFO: IMEI packet received {"connection_id":49963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":49963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:02:33] local.INFO: TCP Data received {"connection_id":49963,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:02:33] local.INFO: Processing buffer {"connection_id":49963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:02:33] local.INFO: Packet analysis {"connection_id":49963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:02:33] local.INFO: Extracted packet for processing {"connection_id":49963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:02:33] 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-22 06:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06: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-22 06:02: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-22 06:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:02:33] 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-22 06:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:02:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":49963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:02:33] local.INFO: GPS data processed {"connection_id":49963,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:02:33] local.INFO: Acknowledgment sent {"connection_id":49963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:03:04] local.INFO: TCP Data received {"connection_id":49963,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:03:04] local.INFO: Processing buffer {"connection_id":49963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:03:04] local.INFO: Packet analysis {"connection_id":49963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:03:04] local.INFO: Extracted packet for processing {"connection_id":49963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:03: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-22 06:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:03: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-22 06:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:03: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-22 06:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:03:04] 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-22 06:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:03:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":49963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:03:04] local.INFO: GPS data processed {"connection_id":49963,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:03:04] local.INFO: Acknowledgment sent {"connection_id":49963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:03:32] local.INFO: TCP Data received {"connection_id":50346,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:03:32] local.INFO: Processing buffer {"connection_id":50346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:03:32] local.INFO: IMEI packet received {"connection_id":50346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:03:37] local.INFO: TCP Data received {"connection_id":50346,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:03:37] local.INFO: Processing buffer {"connection_id":50346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:03:37] local.INFO: IMEI packet received {"connection_id":50346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":50346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:03:38] local.INFO: TCP Data received {"connection_id":50346,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:03:38] local.INFO: Processing buffer {"connection_id":50346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:03:38] local.INFO: Packet analysis {"connection_id":50346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:03:38] local.INFO: Extracted packet for processing {"connection_id":50346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:03:38] 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-22 06:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06: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-22 06:03: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-22 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:03:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":50346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:03:38] local.INFO: GPS data processed {"connection_id":50346,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:03:38] local.INFO: Acknowledgment sent {"connection_id":50346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:03:42] local.INFO: TCP Data received {"connection_id":50346,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:03:42] local.INFO: Processing buffer {"connection_id":50346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:03:42] local.INFO: Packet analysis {"connection_id":50346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:03:42] local.INFO: Extracted packet for processing {"connection_id":50346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:03:42] 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-22 06:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:03:42] 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-22 06:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:03:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":50346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:03:42] local.INFO: GPS data processed {"connection_id":50346,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:03:42] local.INFO: Acknowledgment sent {"connection_id":50346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:04:27] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:04:27] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:04:27] local.INFO: IMEI packet received {"connection_id":50875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":50875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:04:32] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:04:32] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:04:32] local.INFO: IMEI packet received {"connection_id":50875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":50875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:04:33] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:04:33] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:04:33] local.INFO: Packet analysis {"connection_id":50875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:04:33] local.INFO: Extracted packet for processing {"connection_id":50875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:04:33] 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-22 06:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06: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-22 06:04: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-22 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:04: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-22 06: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-22 06: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-22 06:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:04:33] 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-22 06:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":50875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:04:33] local.INFO: GPS data processed {"connection_id":50875,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:04:33] local.INFO: Acknowledgment sent {"connection_id":50875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:05:04] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:05:04] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:05:04] local.INFO: Packet analysis {"connection_id":50875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:05:04] local.INFO: Extracted packet for processing {"connection_id":50875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:05: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-22 06:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:05: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-22 06:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:05: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-22 06:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:05: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-22 06:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:05:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":50875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:05:04] local.INFO: GPS data processed {"connection_id":50875,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:05:04] local.INFO: Acknowledgment sent {"connection_id":50875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:05:27] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:05:27] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:05:27] local.INFO: IMEI packet received {"connection_id":50877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:05:32] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:05:32] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:05:32] local.INFO: IMEI packet received {"connection_id":50877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:05:33] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:05:33] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2980b10012d7f960005afd7d00000015626..."} 
[2026-04-22 06:05:33] local.INFO: Packet analysis {"connection_id":50877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:05:33] local.INFO: Extracted packet for processing {"connection_id":50877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db298"} 
[2026-04-22 06:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865280256001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:05:33] 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-22 06:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776817802000,"timestamp_ms":1776817802000,"timestamp_seconds":1776817802,"priority":1,"record_length":96,"hex_timestamp":"0000019db2980b10"} 
[2026-04-22 06: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-22 06:05: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-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:05: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-22 06: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-22 06: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-22 06:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865280256001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865280256001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:05:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865280256001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":50877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:05:33] local.INFO: GPS data processed {"connection_id":50877,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:05:33] local.INFO: Acknowledgment sent {"connection_id":50877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:06:04] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:06:04] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:06:04] local.INFO: Packet analysis {"connection_id":50877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:06:04] local.INFO: Extracted packet for processing {"connection_id":50877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:06: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-22 06:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 06:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:06: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-22 06:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:06: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-22 06:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:06: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-22 06:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:06:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":50877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:06:04] local.INFO: GPS data processed {"connection_id":50877,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:06:04] local.INFO: Acknowledgment sent {"connection_id":50877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:06:27] local.INFO: TCP Data received {"connection_id":50218,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:06:27] local.INFO: Processing buffer {"connection_id":50218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:06:27] local.INFO: IMEI packet received {"connection_id":50218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:06:32] local.INFO: TCP Data received {"connection_id":50218,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:06:32] local.INFO: Processing buffer {"connection_id":50218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:06:32] local.INFO: IMEI packet received {"connection_id":50218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:06:33] local.INFO: TCP Data received {"connection_id":50218,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:06:33] local.INFO: Processing buffer {"connection_id":50218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:06:33] local.INFO: Packet analysis {"connection_id":50218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:06:33] local.INFO: Extracted packet for processing {"connection_id":50218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:06:33] 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-22 06:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 06: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-22 06:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:06: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-22 06: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-22 06: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-22 06:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:06:33] 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-22 06:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:06:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:06:33] local.INFO: GPS data processed {"connection_id":50218,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:06:33] local.INFO: Acknowledgment sent {"connection_id":50218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:07:04] local.INFO: TCP Data received {"connection_id":50218,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:07:04] local.INFO: Processing buffer {"connection_id":50218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:07:04] local.INFO: Packet analysis {"connection_id":50218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:07:04] local.INFO: Extracted packet for processing {"connection_id":50218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:07: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-22 06:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 06: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-22 06:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:07: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-22 06: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-22 06: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-22 06:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:07:04] 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-22 06:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:07:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:07:04] local.INFO: GPS data processed {"connection_id":50218,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:07:04] local.INFO: Acknowledgment sent {"connection_id":50218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:07:17] local.INFO: TCP Data received {"connection_id":50349,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:07:17] local.INFO: Processing buffer {"connection_id":50349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:07:17] local.INFO: IMEI packet received {"connection_id":50349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":50349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:07:27] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:07:27] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:07:27] local.INFO: IMEI packet received {"connection_id":50878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:07:32] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:07:32] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:07:32] local.INFO: IMEI packet received {"connection_id":50878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:07:33] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:07:33] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:07:33] local.INFO: Packet analysis {"connection_id":50878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:07:33] local.INFO: Extracted packet for processing {"connection_id":50878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:07:33] 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-22 06:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 06: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-22 06:07: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-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:07: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-22 06: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-22 06: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-22 06:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:07: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-22 06:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:07:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:07:33] local.INFO: GPS data processed {"connection_id":50878,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:07:33] local.INFO: Acknowledgment sent {"connection_id":50878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:07:51] local.INFO: TCP Data received {"connection_id":49964,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:07:51] local.INFO: Processing buffer {"connection_id":49964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:07:51] local.INFO: IMEI packet received {"connection_id":49964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":49964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:08:04] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:08:04] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:08:04] local.INFO: Packet analysis {"connection_id":50878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:08:04] local.INFO: Extracted packet for processing {"connection_id":50878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:08: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-22 06:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 06: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-22 06:08: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-22 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:08: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-22 06: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-22 06: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-22 06:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06: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-22 06:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:08:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:08:04] local.INFO: GPS data processed {"connection_id":50878,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:08:04] local.INFO: Acknowledgment sent {"connection_id":50878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:08:32] local.INFO: TCP Data received {"connection_id":50879,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:08:32] local.INFO: Processing buffer {"connection_id":50879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:08:32] local.INFO: IMEI packet received {"connection_id":50879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:08:37] local.INFO: TCP Data received {"connection_id":50879,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:08:37] local.INFO: Processing buffer {"connection_id":50879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:08:37] local.INFO: IMEI packet received {"connection_id":50879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":50879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:08:38] local.INFO: TCP Data received {"connection_id":50879,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:08:38] local.INFO: Processing buffer {"connection_id":50879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:08:38] local.INFO: Packet analysis {"connection_id":50879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:08:38] local.INFO: Extracted packet for processing {"connection_id":50879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:08:38] 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-22 06:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 06:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:08: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-22 06:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:08:38] 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-22 06:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:08:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":50879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:08:38] local.INFO: GPS data processed {"connection_id":50879,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:08:38] local.INFO: Acknowledgment sent {"connection_id":50879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:08:42] local.INFO: TCP Data received {"connection_id":50879,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:08:42] local.INFO: Processing buffer {"connection_id":50879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:08:42] local.INFO: Packet analysis {"connection_id":50879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:08:42] local.INFO: Extracted packet for processing {"connection_id":50879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:08:42] 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-22 06:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 06:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:08:42] 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-22 06:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:08:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":50879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:08:42] local.INFO: GPS data processed {"connection_id":50879,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:08:42] local.INFO: Acknowledgment sent {"connection_id":50879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:09:27] local.INFO: TCP Data received {"connection_id":49965,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:09:27] local.INFO: Processing buffer {"connection_id":49965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:09:27] local.INFO: IMEI packet received {"connection_id":49965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":49965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:09:32] local.INFO: TCP Data received {"connection_id":49965,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:09:32] local.INFO: Processing buffer {"connection_id":49965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:09:32] local.INFO: IMEI packet received {"connection_id":49965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":49965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:09:33] local.INFO: TCP Data received {"connection_id":49965,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:09:33] local.INFO: Processing buffer {"connection_id":49965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:09:33] local.INFO: Packet analysis {"connection_id":49965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:09:33] local.INFO: Extracted packet for processing {"connection_id":49965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:09:33] 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-22 06:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 06: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-22 06:09: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-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:09: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-22 06: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-22 06: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-22 06:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:09:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":49965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:09:33] local.INFO: GPS data processed {"connection_id":49965,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:09:33] local.INFO: Acknowledgment sent {"connection_id":49965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:10:04] local.INFO: TCP Data received {"connection_id":49965,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:10:04] local.INFO: Processing buffer {"connection_id":49965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:10:04] local.INFO: Packet analysis {"connection_id":49965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:10:04] local.INFO: Extracted packet for processing {"connection_id":49965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:10: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-22 06:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 06: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-22 06:10: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-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:10: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-22 06: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-22 06: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-22 06:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:10:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":49965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:10:04] local.INFO: GPS data processed {"connection_id":49965,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:10:04] local.INFO: Acknowledgment sent {"connection_id":49965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:10:27] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:10:27] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:10:27] local.INFO: IMEI packet received {"connection_id":50880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:10:32] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:10:32] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:10:32] local.INFO: IMEI packet received {"connection_id":50880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:10:33] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:10:33] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db29ca2d8012d7f960005afd7d00000015621..."} 
[2026-04-22 06:10:33] local.INFO: Packet analysis {"connection_id":50880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:10:33] local.INFO: Extracted packet for processing {"connection_id":50880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db29c"} 
[2026-04-22 06:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865357312001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:10:33] 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-22 06:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818103000,"timestamp_ms":1776818103000,"timestamp_seconds":1776818103,"priority":1,"record_length":96,"hex_timestamp":"0000019db29ca2d8"} 
[2026-04-22 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-22 06:10: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-22 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:10: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-22 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-22 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-22 06:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865357312001,"66":25495,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865357312001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865357312001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":50880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:10:33] local.INFO: GPS data processed {"connection_id":50880,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:10:33] local.INFO: Acknowledgment sent {"connection_id":50880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:11:04] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:11:04] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:11:04] local.INFO: Packet analysis {"connection_id":50880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:11:04] local.INFO: Extracted packet for processing {"connection_id":50880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:11: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-22 06:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:11: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-22 06:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 06:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:11:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":50880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:11:04] local.INFO: GPS data processed {"connection_id":50880,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:11:04] local.INFO: Acknowledgment sent {"connection_id":50880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:11:27] local.INFO: TCP Data received {"connection_id":50220,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:11:27] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:11:27] local.INFO: IMEI packet received {"connection_id":50220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":50220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:11:32] local.INFO: TCP Data received {"connection_id":50220,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:11:32] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:11:32] local.INFO: IMEI packet received {"connection_id":50220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:11:33] local.INFO: TCP Data received {"connection_id":50220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:11:33] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:11:33] local.INFO: Packet analysis {"connection_id":50220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:11:33] local.INFO: Extracted packet for processing {"connection_id":50220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:11:33] 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-22 06:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06: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-22 06:11: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-22 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 06:11: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-22 06: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-22 06: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-22 06:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:11:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":50220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:11:33] local.INFO: GPS data processed {"connection_id":50220,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:11:33] local.INFO: Acknowledgment sent {"connection_id":50220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:12:04] local.INFO: TCP Data received {"connection_id":50220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:12:04] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:12:04] local.INFO: Packet analysis {"connection_id":50220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:12:04] local.INFO: Extracted packet for processing {"connection_id":50220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:12: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-22 06:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:12: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-22 06:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 06:12: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-22 06:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:12:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":50220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:12:04] local.INFO: GPS data processed {"connection_id":50220,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:12:04] local.INFO: Acknowledgment sent {"connection_id":50220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:12:27] local.INFO: TCP Data received {"connection_id":49966,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:12:27] local.INFO: Processing buffer {"connection_id":49966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:12:27] local.INFO: IMEI packet received {"connection_id":49966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":49966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:12:32] local.INFO: TCP Data received {"connection_id":49966,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:12:32] local.INFO: Processing buffer {"connection_id":49966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:12:32] local.INFO: IMEI packet received {"connection_id":49966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":49966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:12:33] local.INFO: TCP Data received {"connection_id":49966,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:12:33] local.INFO: Processing buffer {"connection_id":49966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:12:33] local.INFO: Packet analysis {"connection_id":49966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:12:33] local.INFO: Extracted packet for processing {"connection_id":49966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:12:33] 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-22 06:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06: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-22 06:12: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-22 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 06:12: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-22 06: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-22 06: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-22 06:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:12:33] 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-22 06:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:12:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":49966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:12:33] local.INFO: GPS data processed {"connection_id":49966,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:12:33] local.INFO: Acknowledgment sent {"connection_id":49966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:13:04] local.INFO: TCP Data received {"connection_id":49966,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:13:04] local.INFO: Processing buffer {"connection_id":49966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:13:04] local.INFO: Packet analysis {"connection_id":49966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:13:04] local.INFO: Extracted packet for processing {"connection_id":49966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06: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-22 06:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06: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-22 06:13: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-22 06:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 06:13: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-22 06: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-22 06: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-22 06:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:13:04] 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-22 06:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:13:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":49966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:13:04] local.INFO: GPS data processed {"connection_id":49966,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:13:04] local.INFO: Acknowledgment sent {"connection_id":49966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:13:17] local.INFO: TCP Data received {"connection_id":49967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:13:17] local.INFO: Processing buffer {"connection_id":49967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:13:17] local.INFO: IMEI packet received {"connection_id":49967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":49967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:13:32] local.INFO: TCP Data received {"connection_id":49968,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:13:32] local.INFO: Processing buffer {"connection_id":49968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:13:32] local.INFO: IMEI packet received {"connection_id":49968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":49968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:13:37] local.INFO: TCP Data received {"connection_id":49968,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:13:37] local.INFO: Processing buffer {"connection_id":49968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:13:37] local.INFO: IMEI packet received {"connection_id":49968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":49968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:13:38] local.INFO: TCP Data received {"connection_id":49968,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:13:38] local.INFO: Processing buffer {"connection_id":49968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:13:38] local.INFO: Packet analysis {"connection_id":49968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:13:38] local.INFO: Extracted packet for processing {"connection_id":49968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:13:38] 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-22 06:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:13: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-22 06:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 06:13: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-22 06:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:13:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":49968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:13:38] local.INFO: GPS data processed {"connection_id":49968,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:13:38] local.INFO: Acknowledgment sent {"connection_id":49968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:13:42] local.INFO: TCP Data received {"connection_id":49968,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:13:42] local.INFO: Processing buffer {"connection_id":49968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:13:42] local.INFO: Packet analysis {"connection_id":49968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:13:42] local.INFO: Extracted packet for processing {"connection_id":49968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:13:42] 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-22 06:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 06:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":49968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":49968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":49968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:13:42] local.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-22 06:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:13:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":49968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:13:42] local.INFO: GPS data processed {"connection_id":49968,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:13:42] local.INFO: Acknowledgment sent {"connection_id":49968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:13:57] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:13:57] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:13:57] local.INFO: IMEI packet received {"connection_id":50882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":50882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:14:27] local.INFO: TCP Data received {"connection_id":50351,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:14:27] local.INFO: Processing buffer {"connection_id":50351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:14:27] local.INFO: IMEI packet received {"connection_id":50351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:14:32] local.INFO: TCP Data received {"connection_id":50351,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:14:32] local.INFO: Processing buffer {"connection_id":50351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:14:32] local.INFO: IMEI packet received {"connection_id":50351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:14:33] local.INFO: TCP Data received {"connection_id":50351,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:14:33] local.INFO: Processing buffer {"connection_id":50351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:14:33] local.INFO: Packet analysis {"connection_id":50351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:14:33] local.INFO: Extracted packet for processing {"connection_id":50351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:14:33] 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-22 06:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06: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-22 06:14: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-22 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 06:14: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-22 06: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-22 06: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-22 06:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:14:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":50351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:14:33] local.INFO: GPS data processed {"connection_id":50351,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:14:33] local.INFO: Acknowledgment sent {"connection_id":50351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:15:04] local.INFO: TCP Data received {"connection_id":50351,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:15:04] local.INFO: Processing buffer {"connection_id":50351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:15:04] local.INFO: Packet analysis {"connection_id":50351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:15:04] local.INFO: Extracted packet for processing {"connection_id":50351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:15: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-22 06:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06: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-22 06:15: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-22 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 06:15: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-22 06: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-22 06: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-22 06:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:15:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":50351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:15:04] local.INFO: GPS data processed {"connection_id":50351,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:15:04] local.INFO: Acknowledgment sent {"connection_id":50351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:15:27] local.INFO: TCP Data received {"connection_id":49969,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:15:27] local.INFO: Processing buffer {"connection_id":49969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:15:27] local.INFO: IMEI packet received {"connection_id":49969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":49969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:15:32] local.INFO: TCP Data received {"connection_id":49969,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:15:32] local.INFO: Processing buffer {"connection_id":49969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:15:32] local.INFO: IMEI packet received {"connection_id":49969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":49969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:15:33] local.INFO: TCP Data received {"connection_id":49969,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:15:33] local.INFO: Processing buffer {"connection_id":49969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a13aa0012d7f960005afd7d00000015623..."} 
[2026-04-22 06:15:33] local.INFO: Packet analysis {"connection_id":49969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:15:33] local.INFO: Extracted packet for processing {"connection_id":49969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a1"} 
[2026-04-22 06:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865434368001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:15:33] 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-22 06:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818404000,"timestamp_ms":1776818404000,"timestamp_seconds":1776818404,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a13aa0"} 
[2026-04-22 06:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06: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-22 06:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 06: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-22 06:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865434368001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865434368001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:15:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865434368001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":49969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:15:33] local.INFO: GPS data processed {"connection_id":49969,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:15:33] local.INFO: Acknowledgment sent {"connection_id":49969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:16:03] local.INFO: TCP Data received {"connection_id":49969,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:16:03] local.INFO: Processing buffer {"connection_id":49969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:16:03] local.INFO: Packet analysis {"connection_id":49969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:16:03] local.INFO: Extracted packet for processing {"connection_id":49969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:16: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-22 06:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06: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-22 06:16: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:16: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-22 06: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-22 06: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-22 06:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":49969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":49969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":49969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:16:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":49969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:16:03] local.INFO: GPS data processed {"connection_id":49969,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:16:03] local.INFO: Acknowledgment sent {"connection_id":49969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:16:27] local.INFO: TCP Data received {"connection_id":50222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:16:27] local.INFO: Processing buffer {"connection_id":50222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:16:27] local.INFO: IMEI packet received {"connection_id":50222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:16:32] local.INFO: TCP Data received {"connection_id":50222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:16:32] local.INFO: Processing buffer {"connection_id":50222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:16:32] local.INFO: IMEI packet received {"connection_id":50222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":50222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:16:33] local.INFO: TCP Data received {"connection_id":50222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:16:33] local.INFO: Processing buffer {"connection_id":50222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:16:33] local.INFO: Packet analysis {"connection_id":50222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:16:33] local.INFO: Extracted packet for processing {"connection_id":50222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:16:33] 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-22 06:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06: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-22 06: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:16: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-22 06: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-22 06: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-22 06:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:16:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":50222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:16:33] local.INFO: GPS data processed {"connection_id":50222,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:16:33] local.INFO: Acknowledgment sent {"connection_id":50222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:17:04] local.INFO: TCP Data received {"connection_id":50222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:17:04] local.INFO: Processing buffer {"connection_id":50222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:17:04] local.INFO: Packet analysis {"connection_id":50222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:17:04] local.INFO: Extracted packet for processing {"connection_id":50222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:17: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-22 06:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:17: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-22 06:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:17: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-22 06:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:17: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-22 06:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:17:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":50222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:17:04] local.INFO: GPS data processed {"connection_id":50222,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:17:04] local.INFO: Acknowledgment sent {"connection_id":50222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:17:32] local.INFO: TCP Data received {"connection_id":50885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:17:32] local.INFO: Processing buffer {"connection_id":50885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:17:32] local.INFO: IMEI packet received {"connection_id":50885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:17:37] local.INFO: TCP Data received {"connection_id":50885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:17:37] local.INFO: Processing buffer {"connection_id":50885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:17:37] local.INFO: IMEI packet received {"connection_id":50885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":50885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:17:38] local.INFO: TCP Data received {"connection_id":50885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:17:38] local.INFO: Processing buffer {"connection_id":50885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:17:38] local.INFO: Packet analysis {"connection_id":50885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:17:38] local.INFO: Extracted packet for processing {"connection_id":50885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:17:38] 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-22 06:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:17: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-22 06:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:17: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-22 06:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:17:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":50885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:17:38] local.INFO: GPS data processed {"connection_id":50885,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:17:38] local.INFO: Acknowledgment sent {"connection_id":50885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:17:42] local.INFO: TCP Data received {"connection_id":50885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:17:42] local.INFO: Processing buffer {"connection_id":50885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:17:42] local.INFO: Packet analysis {"connection_id":50885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:17:42] local.INFO: Extracted packet for processing {"connection_id":50885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:17:42] 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-22 06:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:17:42] local.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-22 06:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:17:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":50885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:17:42] local.INFO: GPS data processed {"connection_id":50885,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:17:42] local.INFO: Acknowledgment sent {"connection_id":50885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:18:27] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:18:27] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:18:27] local.INFO: IMEI packet received {"connection_id":50886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:18:32] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:18:32] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:18:32] local.INFO: IMEI packet received {"connection_id":50886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:18:33] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:18:33] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:18:33] local.INFO: Packet analysis {"connection_id":50886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:18:33] local.INFO: Extracted packet for processing {"connection_id":50886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:18:33] 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-22 06:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06: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-22 06: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:18: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-22 06: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-22 06: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-22 06:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:18:33] 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-22 06:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:18:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":50886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:18:33] local.INFO: GPS data processed {"connection_id":50886,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:18:33] local.INFO: Acknowledgment sent {"connection_id":50886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:19:04] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:19:04] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:19:04] local.INFO: Packet analysis {"connection_id":50886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:19:04] local.INFO: Extracted packet for processing {"connection_id":50886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:19: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-22 06:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06: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-22 06: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:19: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-22 06: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-22 06: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-22 06:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:19:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":50886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:19:04] local.INFO: GPS data processed {"connection_id":50886,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:19:04] local.INFO: Acknowledgment sent {"connection_id":50886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:19:22] local.INFO: TCP Data received {"connection_id":50223,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:19:22] local.INFO: Processing buffer {"connection_id":50223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:19:22] local.INFO: IMEI packet received {"connection_id":50223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":50223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:19:27] local.INFO: TCP Data received {"connection_id":50353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:19:27] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:19:27] local.INFO: IMEI packet received {"connection_id":50353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:19:32] local.INFO: TCP Data received {"connection_id":50353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:19:32] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:19:32] local.INFO: IMEI packet received {"connection_id":50353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:19:33] local.INFO: TCP Data received {"connection_id":50353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:19:33] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:19:33] local.INFO: Packet analysis {"connection_id":50353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:19:33] local.INFO: Extracted packet for processing {"connection_id":50353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:19:33] 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-22 06:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06: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-22 06:19: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-22 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:19: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-22 06: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-22 06: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-22 06:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:19:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:19:33] local.INFO: GPS data processed {"connection_id":50353,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:19:33] local.INFO: Acknowledgment sent {"connection_id":50353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:19:52] local.INFO: TCP Data received {"connection_id":49971,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:19:52] local.INFO: Processing buffer {"connection_id":49971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:19:52] local.INFO: IMEI packet received {"connection_id":49971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":49971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:20:04] local.INFO: TCP Data received {"connection_id":50353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:20:04] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:20:04] local.INFO: Packet analysis {"connection_id":50353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:20:04] local.INFO: Extracted packet for processing {"connection_id":50353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:20: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-22 06:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06: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-22 06:20: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-22 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:20: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-22 06: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-22 06: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-22 06:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:20:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:20:04] local.INFO: GPS data processed {"connection_id":50353,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:20:04] local.INFO: Acknowledgment sent {"connection_id":50353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:20:27] local.INFO: TCP Data received {"connection_id":50354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:20:27] local.INFO: Processing buffer {"connection_id":50354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:20:27] local.INFO: IMEI packet received {"connection_id":50354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":50354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:20:32] local.INFO: TCP Data received {"connection_id":50354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:20:32] local.INFO: Processing buffer {"connection_id":50354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:20:32] local.INFO: IMEI packet received {"connection_id":50354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:20:33] local.INFO: TCP Data received {"connection_id":50354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:20:33] local.INFO: Processing buffer {"connection_id":50354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2a5d268012d7f960005afd7d00000015628..."} 
[2026-04-22 06:20:33] local.INFO: Packet analysis {"connection_id":50354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:20:33] local.INFO: Extracted packet for processing {"connection_id":50354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2a5"} 
[2026-04-22 06:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":40,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865511424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:20:33] 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-22 06:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776818705000,"timestamp_ms":1776818705000,"timestamp_seconds":1776818705,"priority":1,"record_length":96,"hex_timestamp":"0000019db2a5d268"} 
[2026-04-22 06: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-22 06: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:20: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-22 06: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-22 06: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-22 06:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865511424001,"66":25473,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865511424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:20:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865511424001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":50354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:20:33] local.INFO: GPS data processed {"connection_id":50354,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:20:33] local.INFO: Acknowledgment sent {"connection_id":50354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:21:03] local.INFO: TCP Data received {"connection_id":50354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:21:03] local.INFO: Processing buffer {"connection_id":50354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:21:03] local.INFO: Packet analysis {"connection_id":50354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:21:03] local.INFO: Extracted packet for processing {"connection_id":50354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:21: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-22 06:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 06: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-22 06:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:21: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-22 06: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-22 06: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-22 06:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:21: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-22 06:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:21:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":50354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:21:03] local.INFO: GPS data processed {"connection_id":50354,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:21:03] local.INFO: Acknowledgment sent {"connection_id":50354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:21:32] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:21:32] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:21:32] local.INFO: IMEI packet received {"connection_id":50355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:21:37] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:21:37] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:21:37] local.INFO: IMEI packet received {"connection_id":50355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":50355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:21:38] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:21:38] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:21:38] local.INFO: Packet analysis {"connection_id":50355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:21:38] local.INFO: Extracted packet for processing {"connection_id":50355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:21:38] 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-22 06:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 06:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:21: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-22 06:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:21:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:21:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":50355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:21:38] local.INFO: GPS data processed {"connection_id":50355,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:21:38] local.INFO: Acknowledgment sent {"connection_id":50355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:21:42] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:21:42] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:21:42] local.INFO: Packet analysis {"connection_id":50355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:21:42] local.INFO: Extracted packet for processing {"connection_id":50355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:21:42] 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-22 06:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 06:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:21:42] 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-22 06:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:21:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":50355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:21:42] local.INFO: GPS data processed {"connection_id":50355,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:21:42] local.INFO: Acknowledgment sent {"connection_id":50355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:22:23] local.INFO: TCP Data received {"connection_id":50225,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:22:23] local.INFO: Processing buffer {"connection_id":50225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:22:23] local.INFO: IMEI packet received {"connection_id":50225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":50225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:22:27] local.INFO: TCP Data received {"connection_id":50225,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:22:27] local.INFO: Processing buffer {"connection_id":50225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:22:27] local.INFO: IMEI packet received {"connection_id":50225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:22:28] local.INFO: TCP Data received {"connection_id":50225,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:22:28] local.INFO: Processing buffer {"connection_id":50225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:22:28] local.INFO: Packet analysis {"connection_id":50225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:22:28] local.INFO: Extracted packet for processing {"connection_id":50225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:22:28] 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-22 06:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 06:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":50225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":50225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":50225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:22: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-22 06:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:22:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":50225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:22:28] local.INFO: GPS data processed {"connection_id":50225,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:22:28] local.INFO: Acknowledgment sent {"connection_id":50225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:22:59] local.INFO: TCP Data received {"connection_id":50225,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:22:59] local.INFO: Processing buffer {"connection_id":50225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:22:59] local.INFO: Packet analysis {"connection_id":50225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:22:59] local.INFO: Extracted packet for processing {"connection_id":50225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06: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-22 06:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 06: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-22 06:22: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-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:22: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-22 06: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-22 06: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-22 06:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":50225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":50225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":50225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:22: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-22 06:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:22:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":50225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:22:59] local.INFO: GPS data processed {"connection_id":50225,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:22:59] local.INFO: Acknowledgment sent {"connection_id":50225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:23:27] local.INFO: TCP Data received {"connection_id":50356,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:23:27] local.INFO: Processing buffer {"connection_id":50356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:23:27] local.INFO: IMEI packet received {"connection_id":50356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":50356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:23:32] local.INFO: TCP Data received {"connection_id":50356,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:23:32] local.INFO: Processing buffer {"connection_id":50356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:23:32] local.INFO: IMEI packet received {"connection_id":50356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:23:33] local.INFO: TCP Data received {"connection_id":50356,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:23:33] local.INFO: Processing buffer {"connection_id":50356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:23:33] local.INFO: Packet analysis {"connection_id":50356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:23:33] local.INFO: Extracted packet for processing {"connection_id":50356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:23:33] 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-22 06:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 06:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06: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-22 06:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:23: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-22 06:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:23:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:23:33] local.INFO: GPS data processed {"connection_id":50356,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:23:33] local.INFO: Acknowledgment sent {"connection_id":50356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:24:04] local.INFO: TCP Data received {"connection_id":50356,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:24:04] local.INFO: Processing buffer {"connection_id":50356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:24:04] local.INFO: Packet analysis {"connection_id":50356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:24:04] local.INFO: Extracted packet for processing {"connection_id":50356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:24: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-22 06:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 06:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:24: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-22 06:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:24: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-22 06:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:24:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:24:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":50356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:24:04] local.INFO: GPS data processed {"connection_id":50356,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:24:04] local.INFO: Acknowledgment sent {"connection_id":50356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:24:27] local.INFO: TCP Data received {"connection_id":50226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:24:27] local.INFO: Processing buffer {"connection_id":50226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:24:27] local.INFO: IMEI packet received {"connection_id":50226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":50226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:24:32] local.INFO: TCP Data received {"connection_id":50226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:24:32] local.INFO: Processing buffer {"connection_id":50226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:24:32] local.INFO: IMEI packet received {"connection_id":50226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:24:33] local.INFO: TCP Data received {"connection_id":50226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:24:33] local.INFO: Processing buffer {"connection_id":50226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:24:33] local.INFO: Packet analysis {"connection_id":50226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:24:33] local.INFO: Extracted packet for processing {"connection_id":50226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:24:33] 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-22 06:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 06: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-22 06: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-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:24: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-22 06: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-22 06: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-22 06:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:24:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":50226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:24:33] local.INFO: GPS data processed {"connection_id":50226,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:24:33] local.INFO: Acknowledgment sent {"connection_id":50226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:25:04] local.INFO: TCP Data received {"connection_id":50226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:25:04] local.INFO: Processing buffer {"connection_id":50226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:25:04] local.INFO: Packet analysis {"connection_id":50226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:25:04] local.INFO: Extracted packet for processing {"connection_id":50226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:25: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-22 06:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 06: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-22 06:25: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-22 06: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:25: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-22 06: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-22 06: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-22 06:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06: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-22 06:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:25:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":50226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:25:04] local.INFO: GPS data processed {"connection_id":50226,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:25:04] local.INFO: Acknowledgment sent {"connection_id":50226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:25:12] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:25:12] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:25:12] local.INFO: IMEI packet received {"connection_id":50887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":50887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:25:27] local.INFO: TCP Data received {"connection_id":49975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:25:27] local.INFO: Processing buffer {"connection_id":49975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:25:27] local.INFO: IMEI packet received {"connection_id":49975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":49975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:25:32] local.INFO: TCP Data received {"connection_id":49975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:25:32] local.INFO: Processing buffer {"connection_id":49975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:25:32] local.INFO: IMEI packet received {"connection_id":49975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":49975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:25:33] local.INFO: TCP Data received {"connection_id":49975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:25:33] local.INFO: Processing buffer {"connection_id":49975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2aa6a30012d7f960005afd7d00000015627..."} 
[2026-04-22 06:25:33] local.INFO: Packet analysis {"connection_id":49975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:25:33] local.INFO: Extracted packet for processing {"connection_id":49975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2aa"} 
[2026-04-22 06:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":39,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865588480001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:25:33] 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-22 06:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819006000,"timestamp_ms":1776819006000,"timestamp_seconds":1776819006,"priority":1,"record_length":96,"hex_timestamp":"0000019db2aa6a30"} 
[2026-04-22 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-22 06:25: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-22 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 06:25: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-22 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-22 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-22 06:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865588480001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865588480001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:25:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865588480001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":49975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:25:33] local.INFO: GPS data processed {"connection_id":49975,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:25:33] local.INFO: Acknowledgment sent {"connection_id":49975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:25:51] local.INFO: TCP Data received {"connection_id":50227,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:25:51] local.INFO: Processing buffer {"connection_id":50227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:25:51] local.INFO: IMEI packet received {"connection_id":50227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":50227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:26:03] local.INFO: TCP Data received {"connection_id":49975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:26:03] local.INFO: Processing buffer {"connection_id":49975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:26:03] local.INFO: Packet analysis {"connection_id":49975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:26:03] local.INFO: Extracted packet for processing {"connection_id":49975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06: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-22 06:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 06: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-22 06:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:26: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-22 06: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-22 06: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-22 06:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":49975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":49975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":49975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06: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-22 06:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:26:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":49975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:26:03] local.INFO: GPS data processed {"connection_id":49975,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:26:03] local.INFO: Acknowledgment sent {"connection_id":49975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:26:27] local.INFO: TCP Data received {"connection_id":50228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:26:27] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:26:27] local.INFO: IMEI packet received {"connection_id":50228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:26:32] local.INFO: TCP Data received {"connection_id":50228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:26:32] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:26:32] local.INFO: IMEI packet received {"connection_id":50228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:26:33] local.INFO: TCP Data received {"connection_id":50228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:26:33] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:26:33] local.INFO: Packet analysis {"connection_id":50228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:26:33] local.INFO: Extracted packet for processing {"connection_id":50228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:26:33] 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-22 06:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 06: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-22 06:26: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-22 06:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:26: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-22 06: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-22 06: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-22 06:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:26:33] 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-22 06:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:26:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:26:33] local.INFO: GPS data processed {"connection_id":50228,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:26:33] local.INFO: Acknowledgment sent {"connection_id":50228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:27:04] local.INFO: TCP Data received {"connection_id":50228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:27:04] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:27:04] local.INFO: Packet analysis {"connection_id":50228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:27:04] local.INFO: Extracted packet for processing {"connection_id":50228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:27: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-22 06:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 06:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:27: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-22 06:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:27: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-22 06:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:27: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-22 06:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:27:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:27:04] local.INFO: GPS data processed {"connection_id":50228,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:27:04] local.INFO: Acknowledgment sent {"connection_id":50228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:27:27] local.INFO: TCP Data received {"connection_id":50357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:27:27] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:27:27] local.INFO: IMEI packet received {"connection_id":50357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":50357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:27:32] local.INFO: TCP Data received {"connection_id":50357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:27:32] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:27:32] local.INFO: IMEI packet received {"connection_id":50357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:27:33] local.INFO: TCP Data received {"connection_id":50357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:27:33] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:27:33] local.INFO: Packet analysis {"connection_id":50357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:27:33] local.INFO: Extracted packet for processing {"connection_id":50357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:27:33] 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-22 06:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 06: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-22 06:27: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:27: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-22 06: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-22 06: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-22 06:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:27:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":50357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:27:33] local.INFO: GPS data processed {"connection_id":50357,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:27:33] local.INFO: Acknowledgment sent {"connection_id":50357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:28:04] local.INFO: TCP Data received {"connection_id":50357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:28:04] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:28:04] local.INFO: Packet analysis {"connection_id":50357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:28:04] local.INFO: Extracted packet for processing {"connection_id":50357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:28: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-22 06:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 06:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:28: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-22 06:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:28: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-22 06:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:28: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-22 06:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:28:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":50357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:28:04] local.INFO: GPS data processed {"connection_id":50357,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:28:04] local.INFO: Acknowledgment sent {"connection_id":50357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:28:27] local.INFO: TCP Data received {"connection_id":50230,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:28:27] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:28:27] local.INFO: IMEI packet received {"connection_id":50230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":50230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:28:32] local.INFO: TCP Data received {"connection_id":50230,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:28:32] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:28:32] local.INFO: IMEI packet received {"connection_id":50230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:28:33] local.INFO: TCP Data received {"connection_id":50230,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:28:33] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:28:33] local.INFO: Packet analysis {"connection_id":50230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:28:33] local.INFO: Extracted packet for processing {"connection_id":50230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:28:33] 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-22 06:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 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-22 06:28: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-22 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:28: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-22 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-22 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-22 06:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:28:33] 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-22 06:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:28:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:28:33] local.INFO: GPS data processed {"connection_id":50230,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:28:33] local.INFO: Acknowledgment sent {"connection_id":50230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:29:04] local.INFO: TCP Data received {"connection_id":50230,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:29:04] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:29:04] local.INFO: Packet analysis {"connection_id":50230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:29:04] local.INFO: Extracted packet for processing {"connection_id":50230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:29: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-22 06:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 06:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:29: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-22 06:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:29: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-22 06:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:29: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-22 06:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:29:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":50230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:29:04] local.INFO: GPS data processed {"connection_id":50230,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:29:04] local.INFO: Acknowledgment sent {"connection_id":50230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:29:27] local.INFO: TCP Data received {"connection_id":50359,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:29:27] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:29:27] local.INFO: IMEI packet received {"connection_id":50359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":50359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:29:32] local.INFO: TCP Data received {"connection_id":50359,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:29:32] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:29:32] local.INFO: IMEI packet received {"connection_id":50359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:29:33] local.INFO: TCP Data received {"connection_id":50359,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:29:33] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:29:33] local.INFO: Packet analysis {"connection_id":50359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:29:33] local.INFO: Extracted packet for processing {"connection_id":50359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:29:33] 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-22 06:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 06: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-22 06: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:29: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-22 06: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-22 06: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-22 06:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:29: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-22 06:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:29:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":50359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:29:33] local.INFO: GPS data processed {"connection_id":50359,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:29:33] local.INFO: Acknowledgment sent {"connection_id":50359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:30:04] local.INFO: TCP Data received {"connection_id":50359,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:30:04] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:30:04] local.INFO: Packet analysis {"connection_id":50359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:30:04] local.INFO: Extracted packet for processing {"connection_id":50359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:30: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-22 06:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 06:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:30: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-22 06:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:30: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-22 06:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:30: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-22 06:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:30:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":50359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:30:04] local.INFO: GPS data processed {"connection_id":50359,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:30:04] local.INFO: Acknowledgment sent {"connection_id":50359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:30:27] local.INFO: TCP Data received {"connection_id":50360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:30:27] local.INFO: Processing buffer {"connection_id":50360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:30:27] local.INFO: IMEI packet received {"connection_id":50360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":50360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:30:32] local.INFO: TCP Data received {"connection_id":50360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:30:32] local.INFO: Processing buffer {"connection_id":50360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:30:32] local.INFO: IMEI packet received {"connection_id":50360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:30:33] local.INFO: TCP Data received {"connection_id":50360,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:30:33] local.INFO: Processing buffer {"connection_id":50360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2af01f8012d7f960005afd7d00001015622..."} 
[2026-04-22 06:30:33] local.INFO: Packet analysis {"connection_id":50360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:30:33] local.INFO: Extracted packet for processing {"connection_id":50360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2af"} 
[2026-04-22 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865665536001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:30:33] 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-22 06:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819307000,"timestamp_ms":1776819307000,"timestamp_seconds":1776819307,"priority":1,"record_length":96,"hex_timestamp":"0000019db2af01f8"} 
[2026-04-22 06:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:30: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-22 06:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:30: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-22 06:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:30:33] 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-22 06:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865665536001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865665536001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:30:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865665536001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":50360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:30:33] local.INFO: GPS data processed {"connection_id":50360,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:30:33] local.INFO: Acknowledgment sent {"connection_id":50360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:31:03] local.INFO: TCP Data received {"connection_id":50360,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:31:03] local.INFO: Processing buffer {"connection_id":50360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:31:03] local.INFO: Packet analysis {"connection_id":50360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:31:03] local.INFO: Extracted packet for processing {"connection_id":50360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:31: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-22 06:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 06:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:31: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-22 06:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:31:03] 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-22 06:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:31:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":50360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:31:03] local.INFO: GPS data processed {"connection_id":50360,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:31:03] local.INFO: Acknowledgment sent {"connection_id":50360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:31:17] local.INFO: TCP Data received {"connection_id":50890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:31:17] local.INFO: Processing buffer {"connection_id":50890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:31:17] local.INFO: IMEI packet received {"connection_id":50890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":50890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:31:27] local.INFO: TCP Data received {"connection_id":50891,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:31:27] local.INFO: Processing buffer {"connection_id":50891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:31:27] local.INFO: IMEI packet received {"connection_id":50891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":50891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:31:32] local.INFO: TCP Data received {"connection_id":50891,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:31:32] local.INFO: Processing buffer {"connection_id":50891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:31:32] local.INFO: IMEI packet received {"connection_id":50891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:31:33] local.INFO: TCP Data received {"connection_id":50891,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:31:33] local.INFO: Processing buffer {"connection_id":50891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:31:33] local.INFO: Packet analysis {"connection_id":50891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:31:33] local.INFO: Extracted packet for processing {"connection_id":50891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:31:33] 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-22 06:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 06: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-22 06:31: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-22 06: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:31: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-22 06: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-22 06: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-22 06:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:31:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":50891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:31:33] local.INFO: GPS data processed {"connection_id":50891,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:31:33] local.INFO: Acknowledgment sent {"connection_id":50891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:31:52] local.INFO: TCP Data received {"connection_id":50231,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:31:52] local.INFO: Processing buffer {"connection_id":50231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:31:52] local.INFO: IMEI packet received {"connection_id":50231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":50231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:32:04] local.INFO: TCP Data received {"connection_id":50891,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:32:04] local.INFO: Processing buffer {"connection_id":50891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:32:04] local.INFO: Packet analysis {"connection_id":50891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:32:04] local.INFO: Extracted packet for processing {"connection_id":50891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:32: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-22 06:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 06: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-22 06:32: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-22 06:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:32: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-22 06: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-22 06: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-22 06:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:32:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":50891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:32:04] local.INFO: GPS data processed {"connection_id":50891,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:32:04] local.INFO: Acknowledgment sent {"connection_id":50891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:32:27] local.INFO: TCP Data received {"connection_id":50361,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:32:27] local.INFO: Processing buffer {"connection_id":50361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:32:27] local.INFO: IMEI packet received {"connection_id":50361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":50361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:32:32] local.INFO: TCP Data received {"connection_id":50361,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:32:32] local.INFO: Processing buffer {"connection_id":50361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:32:32] local.INFO: IMEI packet received {"connection_id":50361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:32:33] local.INFO: TCP Data received {"connection_id":50361,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:32:33] local.INFO: Processing buffer {"connection_id":50361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:32:33] local.INFO: Packet analysis {"connection_id":50361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:32:33] local.INFO: Extracted packet for processing {"connection_id":50361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:32:33] 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-22 06:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 06: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-22 06:32: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-22 06: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:32: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-22 06: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-22 06: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-22 06:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:32:33] 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-22 06:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:32:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:32:33] local.INFO: GPS data processed {"connection_id":50361,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:32:33] local.INFO: Acknowledgment sent {"connection_id":50361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:33:04] local.INFO: TCP Data received {"connection_id":50361,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:33:04] local.INFO: Processing buffer {"connection_id":50361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:33:04] local.INFO: Packet analysis {"connection_id":50361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:33:04] local.INFO: Extracted packet for processing {"connection_id":50361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:33: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-22 06:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 06: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-22 06:33: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-22 06: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:33: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-22 06: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-22 06: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-22 06:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:33:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:33:04] local.INFO: GPS data processed {"connection_id":50361,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:33:04] local.INFO: Acknowledgment sent {"connection_id":50361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:33:27] local.INFO: TCP Data received {"connection_id":49976,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:33:27] local.INFO: Processing buffer {"connection_id":49976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:33:27] local.INFO: IMEI packet received {"connection_id":49976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":49976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:33:32] local.INFO: TCP Data received {"connection_id":49976,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:33:32] local.INFO: Processing buffer {"connection_id":49976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:33:32] local.INFO: IMEI packet received {"connection_id":49976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":49976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:33:34] local.INFO: TCP Data received {"connection_id":49976,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:33:34] local.INFO: Processing buffer {"connection_id":49976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:33:34] local.INFO: Packet analysis {"connection_id":49976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:33:34] local.INFO: Extracted packet for processing {"connection_id":49976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:33: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-22 06:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 06:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:33: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-22 06:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":49976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":49976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":49976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:33:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":49976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:33:34] local.INFO: GPS data processed {"connection_id":49976,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:33:34] local.INFO: Acknowledgment sent {"connection_id":49976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:34:05] local.INFO: TCP Data received {"connection_id":49976,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:34:05] local.INFO: Processing buffer {"connection_id":49976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:34:05] local.INFO: Packet analysis {"connection_id":49976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:34:05] local.INFO: Extracted packet for processing {"connection_id":49976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:34:05] 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-22 06:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 06: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-22 06: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-22 06: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:34: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-22 06: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-22 06: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-22 06:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:34:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":49976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:34:05] local.INFO: GPS data processed {"connection_id":49976,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:34:05] local.INFO: Acknowledgment sent {"connection_id":49976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:34:27] local.INFO: TCP Data received {"connection_id":50362,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:34:27] local.INFO: Processing buffer {"connection_id":50362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:34:27] local.INFO: IMEI packet received {"connection_id":50362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:34:32] local.INFO: TCP Data received {"connection_id":50362,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:34:32] local.INFO: Processing buffer {"connection_id":50362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:34:32] local.INFO: IMEI packet received {"connection_id":50362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:34:33] local.INFO: TCP Data received {"connection_id":50362,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:34:33] local.INFO: Processing buffer {"connection_id":50362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:34:33] local.INFO: Packet analysis {"connection_id":50362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:34:33] local.INFO: Extracted packet for processing {"connection_id":50362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:34:33] 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-22 06:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 06: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-22 06:34: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-22 06: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:34: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-22 06: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-22 06: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-22 06:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:34:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:34:33] local.INFO: GPS data processed {"connection_id":50362,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:34:33] local.INFO: Acknowledgment sent {"connection_id":50362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:35:04] local.INFO: TCP Data received {"connection_id":50362,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:35:04] local.INFO: Processing buffer {"connection_id":50362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:35:04] local.INFO: Packet analysis {"connection_id":50362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:35:04] local.INFO: Extracted packet for processing {"connection_id":50362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:35: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-22 06:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 06: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-22 06:35: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-22 06: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:35: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-22 06: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-22 06: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-22 06:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:35:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:35:04] local.INFO: GPS data processed {"connection_id":50362,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:35:04] local.INFO: Acknowledgment sent {"connection_id":50362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:35:27] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:35:27] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:35:27] local.INFO: IMEI packet received {"connection_id":50364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:35:32] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:35:32] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:35:32] local.INFO: IMEI packet received {"connection_id":50364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:35:33] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:35:33] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b399c0012d7f960005afd7d00002015625..."} 
[2026-04-22 06:35:33] local.INFO: Packet analysis {"connection_id":50364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:35:33] local.INFO: Extracted packet for processing {"connection_id":50364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b3"} 
[2026-04-22 06:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865742592001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:35:33] 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-22 06:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819608000,"timestamp_ms":1776819608000,"timestamp_seconds":1776819608,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b399c0"} 
[2026-04-22 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-22 06:35: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-22 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:35: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-22 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-22 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-22 06:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865742592001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865742592001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:35:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865742592001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:35:33] local.INFO: GPS data processed {"connection_id":50364,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:35:33] local.INFO: Acknowledgment sent {"connection_id":50364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:36:04] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:36:04] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:36:04] local.INFO: Packet analysis {"connection_id":50364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:36:04] local.INFO: Extracted packet for processing {"connection_id":50364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06: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-22 06:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 06:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:36: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-22 06:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:36:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":50364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:36:04] local.INFO: GPS data processed {"connection_id":50364,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:36:04] local.INFO: Acknowledgment sent {"connection_id":50364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:36:27] local.INFO: TCP Data received {"connection_id":50365,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:36:27] local.INFO: Processing buffer {"connection_id":50365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:36:27] local.INFO: IMEI packet received {"connection_id":50365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":50365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:36:32] local.INFO: TCP Data received {"connection_id":50365,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:36:32] local.INFO: Processing buffer {"connection_id":50365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:36:32] local.INFO: IMEI packet received {"connection_id":50365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:36:33] local.INFO: TCP Data received {"connection_id":50365,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:36:33] local.INFO: Processing buffer {"connection_id":50365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:36:33] local.INFO: Packet analysis {"connection_id":50365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:36:33] local.INFO: Extracted packet for processing {"connection_id":50365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:36:33] 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-22 06:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 06: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-22 06:36: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-22 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:36: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-22 06: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-22 06: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-22 06:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:36:33] 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-22 06:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:36:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":50365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:36:33] local.INFO: GPS data processed {"connection_id":50365,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:36:33] local.INFO: Acknowledgment sent {"connection_id":50365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:37:04] local.INFO: TCP Data received {"connection_id":50365,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:37:04] local.INFO: Processing buffer {"connection_id":50365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:37:04] local.INFO: Packet analysis {"connection_id":50365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:37:04] local.INFO: Extracted packet for processing {"connection_id":50365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:37: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-22 06:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 06: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-22 06:37: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:37: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-22 06: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-22 06: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-22 06:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:37:04] 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-22 06:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:37:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":50365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:37:04] local.INFO: GPS data processed {"connection_id":50365,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:37:04] local.INFO: Acknowledgment sent {"connection_id":50365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:37:22] local.INFO: TCP Data received {"connection_id":50232,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:37:22] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:37:22] local.INFO: IMEI packet received {"connection_id":50232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":50232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:37:27] local.INFO: TCP Data received {"connection_id":49977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:37:27] local.INFO: Processing buffer {"connection_id":49977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:37:27] local.INFO: IMEI packet received {"connection_id":49977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":49977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:37:32] local.INFO: TCP Data received {"connection_id":49977,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:37:32] local.INFO: Processing buffer {"connection_id":49977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:37:32] local.INFO: IMEI packet received {"connection_id":49977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":49977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:37:33] local.INFO: TCP Data received {"connection_id":49977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:37:33] local.INFO: Processing buffer {"connection_id":49977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:37:33] local.INFO: Packet analysis {"connection_id":49977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:37:33] local.INFO: Extracted packet for processing {"connection_id":49977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:37:33] 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-22 06:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 06: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-22 06:37: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:37: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-22 06: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-22 06: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-22 06:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:37:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":49977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:37:33] local.INFO: GPS data processed {"connection_id":49977,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:37:33] local.INFO: Acknowledgment sent {"connection_id":49977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:37:51] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:37:51] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:37:51] local.INFO: IMEI packet received {"connection_id":50895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":50895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:38:01] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:38:01] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:38:01] local.INFO: IMEI packet received {"connection_id":49978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":49978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:38:04] local.INFO: TCP Data received {"connection_id":49977,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:38:04] local.INFO: Processing buffer {"connection_id":49977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:38:04] local.INFO: Packet analysis {"connection_id":49977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:38:04] local.INFO: Extracted packet for processing {"connection_id":49977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38: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-22 06:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 06: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-22 06:38: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-22 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:38: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-22 06: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-22 06: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-22 06:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:38:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":49977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:38:04] local.INFO: GPS data processed {"connection_id":49977,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:38:04] local.INFO: Acknowledgment sent {"connection_id":49977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:38:07] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:38:07] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:38:07] local.INFO: IMEI packet received {"connection_id":49978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":49978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:38:08] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2badd20012d7e394005d34e900005016110..."} 
[2026-04-22 06:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2badd20012d7e394005d34e900005016110..."} 
[2026-04-22 06:38:08] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2badd20012d7e394005d34e900005016110..."} 
[2026-04-22 06:38:08] local.INFO: Packet analysis {"connection_id":49978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ba"} 
[2026-04-22 06:38:08] local.INFO: Extracted packet for processing {"connection_id":49978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ba"} 
[2026-04-22 06:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734288,"longitude_deg":76.3246912,"latitude_deg":9.7734288,"altitude":5,"angle":353,"satellites":16,"speed":7,"hex_longitude":"2d7e3940","hex_latitude":"05d34e90","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865939968001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74733350073401344,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095300947471239168,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776820084000,"timestamp_ms":1776820084000,"timestamp_seconds":1776820084,"priority":1,"record_length":96,"hex_timestamp":"0000019db2badd20"} 
[2026-04-22 06: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-22 06:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06: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":44,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-04-22 06:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1012,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":49978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865939968001,"66":11482,"110":206,"85":15104,"24":7,"16":74733350073401344,"45":9095300947471239168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-22 06:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865939968001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:38:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-22 06:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74733350073401344,"km_value":74733350073401.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095300947471239168,"description":"Unknown IO ID 45"} 
[2026-04-22 06:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865939968001,"power":11482,"unknown_110":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9095300947471239168}} 
[2026-04-22 06:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":49978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:38:08] local.INFO: GPS data processed {"connection_id":49978,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:38:08] local.INFO: Acknowledgment sent {"connection_id":49978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:38:27] local.INFO: TCP Data received {"connection_id":49979,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:38:27] local.INFO: Processing buffer {"connection_id":49979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:38:27] local.INFO: IMEI packet received {"connection_id":49979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":49979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:38:32] local.INFO: TCP Data received {"connection_id":49979,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:38:32] local.INFO: Processing buffer {"connection_id":49979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:38:32] local.INFO: IMEI packet received {"connection_id":49979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":49979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:38:33] local.INFO: TCP Data received {"connection_id":49979,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:38:33] local.INFO: Processing buffer {"connection_id":49979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:38:33] local.INFO: Packet analysis {"connection_id":49979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:38:33] local.INFO: Extracted packet for processing {"connection_id":49979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:33] 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-22 06:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 06: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-22 06:38: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:38: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-22 06: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-22 06: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-22 06:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:38:33] 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-22 06:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:38:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":49979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:38:33] local.INFO: GPS data processed {"connection_id":49979,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:38:33] local.INFO: Acknowledgment sent {"connection_id":49979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:38:38] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bb2b40012d7e4b8005d357e00009006010..."} 
[2026-04-22 06:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bb2b40012d7e4b8005d357e00009006010..."} 
[2026-04-22 06:38:38] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bb2b40012d7e4b8005d357e00009006010..."} 
[2026-04-22 06:38:38] local.INFO: Packet analysis {"connection_id":49978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bb"} 
[2026-04-22 06:38:38] local.INFO: Extracted packet for processing {"connection_id":49978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bb"} 
[2026-04-22 06:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763251584,"raw_latitude":97736672,"longitude_deg":76.3251584,"latitude_deg":9.7736672,"altitude":9,"angle":96,"satellites":16,"speed":24,"hex_longitude":"2d7e4b80","hex_latitude":"05d357e0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865946112001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74733685080850432,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099171228401782784,"note":"Value kept but may cause issues"} 
[2026-04-22 06:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776820104000,"timestamp_ms":1776820104000,"timestamp_seconds":1776820104,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bb2b40"} 
[2026-04-22 06: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-22 06:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 06:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":49978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865946112001,"66":13091,"110":206,"85":15104,"24":24,"16":74733685080850432,"45":9099171228401782784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-22 06:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865946112001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:38:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-22 06:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74733685080850432,"km_value":74733685080850.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099171228401782784,"description":"Unknown IO ID 45"} 
[2026-04-22 06:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865946112001,"power":13091,"unknown_110":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9099171228401782784}} 
[2026-04-22 06:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":49978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:38:39] local.INFO: GPS data processed {"connection_id":49978,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:38:39] local.INFO: Acknowledgment sent {"connection_id":49978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:39:04] local.INFO: TCP Data received {"connection_id":49979,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:39:04] local.INFO: Processing buffer {"connection_id":49979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:39:04] local.INFO: Packet analysis {"connection_id":49979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:39:04] local.INFO: Extracted packet for processing {"connection_id":49979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06: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-22 06:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 06: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-22 06:39: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-22 06:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:39:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":49979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:39:04] local.INFO: GPS data processed {"connection_id":49979,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:39:04] local.INFO: Acknowledgment sent {"connection_id":49979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:39:09] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bb36f8012d7e51c005d356d0000a006c10..."} 
[2026-04-22 06:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bb36f8012d7e51c005d356d0000a006c10..."} 
[2026-04-22 06:39:09] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bb36f8012d7e51c005d356d0000a006c10..."} 
[2026-04-22 06:39:09] local.INFO: Packet analysis {"connection_id":49978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bb"} 
[2026-04-22 06:39:09] local.INFO: Extracted packet for processing {"connection_id":49978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bb"} 
[2026-04-22 06:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763253184,"raw_latitude":97736400,"longitude_deg":76.3253184,"latitude_deg":9.77364,"altitude":10,"angle":108,"satellites":16,"speed":17,"hex_longitude":"2d7e51c0","hex_latitude":"05d356d0","is_valid_coordinates":true} 
[2026-04-22 06:39: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-22 06:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865946624001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74733762390261760,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100508234541162496,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776820107000,"timestamp_ms":1776820107000,"timestamp_seconds":1776820107,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bb36f8"} 
[2026-04-22 06:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 06:39:09] 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-22 06:39: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-22 06:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":49978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865946624001,"66":12439,"110":206,"85":15104,"24":17,"16":74733762390261760,"45":9100508234541162496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-22 06:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865946624001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:39:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-22 06:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74733762390261760,"km_value":74733762390261.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100508234541162496,"description":"Unknown IO ID 45"} 
[2026-04-22 06:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865946624001,"power":12439,"unknown_110":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9100508234541162496}} 
[2026-04-22 06:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":49978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:39:09] local.INFO: GPS data processed {"connection_id":49978,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:39:09] local.INFO: Acknowledgment sent {"connection_id":49978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:39:27] local.INFO: TCP Data received {"connection_id":49980,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:39:27] local.INFO: Processing buffer {"connection_id":49980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:39:27] local.INFO: IMEI packet received {"connection_id":49980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":49980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:39:32] local.INFO: TCP Data received {"connection_id":49980,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:39:32] local.INFO: Processing buffer {"connection_id":49980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:39:32] local.INFO: IMEI packet received {"connection_id":49980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":49980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:39:33] local.INFO: TCP Data received {"connection_id":49980,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:39:33] local.INFO: Processing buffer {"connection_id":49980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:39:33] local.INFO: Packet analysis {"connection_id":49980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:39:33] local.INFO: Extracted packet for processing {"connection_id":49980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:33] 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-22 06:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 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-22 06:39: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-22 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:39: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-22 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-22 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-22 06:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:39:33] 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-22 06:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:39:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":49980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:39:33] local.INFO: GPS data processed {"connection_id":49980,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:39:33] local.INFO: Acknowledgment sent {"connection_id":49980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:39:40] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bc0dd0012d7e58c005d2efd8000600b310..."} 
[2026-04-22 06:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bc0dd0012d7e58c005d2efd8000600b310..."} 
[2026-04-22 06:39:40] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bc0dd0012d7e58c005d2efd8000600b310..."} 
[2026-04-22 06:39:40] local.INFO: Packet analysis {"connection_id":49978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:39:40] local.INFO: Extracted packet for processing {"connection_id":49978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763254976,"raw_latitude":97710040,"longitude_deg":76.3254976,"latitude_deg":9.771004,"altitude":6,"angle":179,"satellites":16,"speed":23,"hex_longitude":"2d7e58c0","hex_latitude":"05d2efd8","is_valid_coordinates":true} 
[2026-04-22 06:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865960192001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74735235564044288,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104448884208969728,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776820162000,"timestamp_ms":1776820162000,"timestamp_seconds":1776820162,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bc0dd0"} 
[2026-04-22 06:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:39:40] 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-22 06:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 06:39:40] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2533283396124672,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630459316480,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:40] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":24577,"corrected_to":0} 
[2026-04-22 06:39:40] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3152205825,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-22 06:39:40] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2147865345,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:40] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3305164109,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:40] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":7494321275825817043,"corrected_to":0} 
[2026-04-22 06:39:40] local.WARNING: Large IO value detected {"io_id":3,"raw_value":-5188141269749071864,"note":"Value kept but may cause issues"} 
[2026-04-22 06:39:40] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,131,246,45,251,7,10,66,242,253,234,1,240,88,227,178,211,4,113,205,14,219,99,239,53,2,9,5,203,3],"length":528,"final_offset":658,"validated_count":36,"validation_warnings":[{"io_id":246,"original":24577,"validated":0},{"io_id":205,"original":1298989262,"validated":0},{"io_id":203,"original":7494321275825817043,"validated":0}]} 
[2026-04-22 06:39:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432555639669129216,"timestamp_seconds":432555639669129.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 06:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":49978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865960192001,"66":13689,"109":206,"85":15104,"24":23,"16":74735235564044288,"45":9104448884208969728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-22 06:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865960192001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:39:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-22 06:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74735235564044288,"km_value":74735235564044.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104448884208969728,"description":"Unknown IO ID 45"} 
[2026-04-22 06:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865960192001,"power":13689,"unknown_109":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9104448884208969728}} 
[2026-04-22 06:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":49978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:39:41] local.INFO: GPS data processed {"connection_id":49978,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:39:41] local.INFO: Acknowledgment sent {"connection_id":49978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:40:04] local.INFO: TCP Data received {"connection_id":49980,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:40:04] local.INFO: Processing buffer {"connection_id":49980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:40:04] local.INFO: Packet analysis {"connection_id":49980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:40:04] local.INFO: Extracted packet for processing {"connection_id":49980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06: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-22 06:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 06: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-22 06:40: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-22 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:40: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-22 06: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-22 06: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-22 06:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:40: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-22 06:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:40:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":49980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:40:04] local.INFO: GPS data processed {"connection_id":49980,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:40:04] local.INFO: Acknowledgment sent {"connection_id":49980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:40:12] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bc30f8012d7e584005d2d890000400be10..."} 
[2026-04-22 06:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bc30f8012d7e584005d2d890000400be10..."} 
[2026-04-22 06:40:12] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bc30f8012d7e584005d2d890000400be10..."} 
[2026-04-22 06:40:12] local.INFO: Packet analysis {"connection_id":49978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:40:12] local.INFO: Extracted packet for processing {"connection_id":49978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763254848,"raw_latitude":97704080,"longitude_deg":76.3254848,"latitude_deg":9.770408,"altitude":4,"angle":190,"satellites":16,"speed":24,"hex_longitude":"2d7e5840","hex_latitude":"05d2d890","is_valid_coordinates":true} 
[2026-04-22 06:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865961472001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74735527621820416,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104237777975760896,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776820171000,"timestamp_ms":1776820171000,"timestamp_seconds":1776820171,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bc30f8"} 
[2026-04-22 06:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:40:12] 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-22 06:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 06:40:12] 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-22 06:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":49978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865961472001,"66":13656,"109":206,"85":15104,"24":24,"16":74735527621820416,"45":9104237777975760896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-22 06:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865961472001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:40:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-22 06:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74735527621820416,"km_value":74735527621820.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104237777975760896,"description":"Unknown IO ID 45"} 
[2026-04-22 06:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865961472001,"power":13656,"unknown_109":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9104237777975760896}} 
[2026-04-22 06:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":49978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:40:12] local.INFO: GPS data processed {"connection_id":49978,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:40:12] local.INFO: Acknowledgment sent {"connection_id":49978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:40:27] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:40:27] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:40:27] local.INFO: IMEI packet received {"connection_id":50898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:40:32] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:40:32] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:40:32] local.INFO: IMEI packet received {"connection_id":50898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:40:33] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:40:33] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2b83188012d7f960005afd7d00001015622..."} 
[2026-04-22 06:40:33] local.INFO: Packet analysis {"connection_id":50898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:40:33] local.INFO: Extracted packet for processing {"connection_id":50898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2b8"} 
[2026-04-22 06:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865819648001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:33] 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-22 06:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776819909000,"timestamp_ms":1776819909000,"timestamp_seconds":1776819909,"priority":1,"record_length":96,"hex_timestamp":"0000019db2b83188"} 
[2026-04-22 06: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-22 06:40: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:40: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-22 06: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-22 06: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-22 06:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865819648001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865819648001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:40:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865819648001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:40:33] local.INFO: GPS data processed {"connection_id":50898,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:40:33] local.INFO: Acknowledgment sent {"connection_id":50898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:40:43] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bc38c8012d7e570005d2d420000500cd10..."} 
[2026-04-22 06:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bc38c8012d7e570005d2d420000500cd10..."} 
[2026-04-22 06:40:43] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bc38c8012d7e570005d2d420000500cd10..."} 
[2026-04-22 06:40:43] local.INFO: Packet analysis {"connection_id":49978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:40:43] local.INFO: Extracted packet for processing {"connection_id":49978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:40:43] local.INFO: GPS Element Parsed {"raw_longitude":763254528,"raw_latitude":97702944,"longitude_deg":76.3254528,"latitude_deg":9.7702944,"altitude":5,"angle":205,"satellites":16,"speed":21,"hex_longitude":"2d7e5700","hex_latitude":"05d2d420","is_valid_coordinates":true} 
[2026-04-22 06:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865963776001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74735583456395264,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104097040485879808,"note":"Value kept but may cause issues"} 
[2026-04-22 06:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776820173000,"timestamp_ms":1776820173000,"timestamp_seconds":1776820173,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bc38c8"} 
[2026-04-22 06:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:40:43] 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-22 06:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 06:40: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-22 06:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865963776001,"66":13276,"109":206,"85":15104,"24":21,"16":74735583456395264,"45":9104097040485879808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-22 06:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865963776001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:40:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-22 06:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74735583456395264,"km_value":74735583456395.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104097040485879808,"description":"Unknown IO ID 45"} 
[2026-04-22 06:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865963776001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9104097040485879808}} 
[2026-04-22 06:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":49978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:40:43] local.INFO: GPS data processed {"connection_id":49978,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:40:43] local.INFO: Acknowledgment sent {"connection_id":49978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:41:04] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:41:04] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:41:04] local.INFO: Packet analysis {"connection_id":50898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:41:04] local.INFO: Extracted packet for processing {"connection_id":50898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41: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-22 06:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 06: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-22 06:41: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-22 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06: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-22 06: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-22 06:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:41:04] 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-22 06:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:41:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":50898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:41:04] local.INFO: GPS data processed {"connection_id":50898,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:41:04] local.INFO: Acknowledgment sent {"connection_id":50898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:41:14] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bc5808012d7e4dc005d2c4c8000500da10..."} 
[2026-04-22 06:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bc5808012d7e4dc005d2c4c8000500da10..."} 
[2026-04-22 06:41:14] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bc5808012d7e4dc005d2c4c8000500da10..."} 
[2026-04-22 06:41:14] local.INFO: Packet analysis {"connection_id":49978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:41:14] local.INFO: Extracted packet for processing {"connection_id":49978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:41:14] local.INFO: GPS Element Parsed {"raw_longitude":763252160,"raw_latitude":97699016,"longitude_deg":76.325216,"latitude_deg":9.7699016,"altitude":5,"angle":218,"satellites":16,"speed":22,"hex_longitude":"2d7e4dc0","hex_latitude":"05d2c4c8","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865964288001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74735806794694656,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103745196764700672,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776820181000,"timestamp_ms":1776820181000,"timestamp_seconds":1776820181,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bc5808"} 
[2026-04-22 06: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-22 06:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-22 06:41:14] 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-22 06: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-22 06: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-22 06:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":49978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865964288001,"66":13820,"109":206,"85":15104,"24":22,"16":74735806794694656,"45":9103745196764700672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-22 06:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865964288001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:41:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-22 06:41:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74735806794694656,"km_value":74735806794694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103745196764700672,"description":"Unknown IO ID 45"} 
[2026-04-22 06:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865964288001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9103745196764700672}} 
[2026-04-22 06:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":49978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:41:14] local.INFO: GPS data processed {"connection_id":49978,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:41:14] local.INFO: Acknowledgment sent {"connection_id":49978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:41:27] local.INFO: TCP Data received {"connection_id":50233,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:41:27] local.INFO: Processing buffer {"connection_id":50233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:41:27] local.INFO: IMEI packet received {"connection_id":50233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":50233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:41:32] local.INFO: TCP Data received {"connection_id":50233,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:41:32] local.INFO: Processing buffer {"connection_id":50233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:41:32] local.INFO: IMEI packet received {"connection_id":50233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:41:33] local.INFO: TCP Data received {"connection_id":50233,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:41:33] local.INFO: Processing buffer {"connection_id":50233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:41:33] local.INFO: Packet analysis {"connection_id":50233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:41:33] local.INFO: Extracted packet for processing {"connection_id":50233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:33] 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-22 06:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 06: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-22 06: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-22 06: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:41: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-22 06: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-22 06: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-22 06:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:41:33] 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-22 06:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:41:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":50233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:41:33] local.INFO: GPS data processed {"connection_id":50233,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:41:33] local.INFO: Acknowledgment sent {"connection_id":50233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:41:46] local.INFO: TCP Data received {"connection_id":49978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bdee48012d7d42c005d28b48001100cc14..."} 
[2026-04-22 06:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bdee48012d7d42c005d28b48001100cc14..."} 
[2026-04-22 06:41:46] local.INFO: Processing buffer {"connection_id":49978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bdee48012d7d42c005d28b48001100cc14..."} 
[2026-04-22 06:41:46] local.INFO: Packet analysis {"connection_id":49978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bd"} 
[2026-04-22 06:41:46] local.INFO: Extracted packet for processing {"connection_id":49978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bd"} 
[2026-04-22 06:41:46] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97684296,"longitude_deg":76.3183808,"latitude_deg":9.7684296,"altitude":17,"angle":204,"satellites":20,"speed":10,"hex_longitude":"2d7d42c0","hex_latitude":"05d28b48","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865992448001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74739332962844672,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946908772352,"note":"Value kept but may cause issues"} 
[2026-04-22 06:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776820285000,"timestamp_ms":1776820285000,"timestamp_seconds":1776820285,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bdee48"} 
[2026-04-22 06: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-22 06:41:46] 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-22 06:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 06:41:46] 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-22 06: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-22 06: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-22 06:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":49978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":49978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865992448001,"66":13798,"115":206,"85":15104,"24":10,"16":74739332962844672,"45":9026409946908772352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-04-22 06:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865992448001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:41:46] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-22 06:41:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74739332962844672,"km_value":74739332962844.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946908772352,"description":"Unknown IO ID 45"} 
[2026-04-22 06:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865992448001,"power":13798,"unknown_115":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9026409946908772352}} 
[2026-04-22 06:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":49978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:41:46] local.INFO: GPS data processed {"connection_id":49978,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:41:46] local.INFO: Acknowledgment sent {"connection_id":49978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:42:04] local.INFO: TCP Data received {"connection_id":50233,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:42:04] local.INFO: Processing buffer {"connection_id":50233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:42:04] local.INFO: Packet analysis {"connection_id":50233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:42:04] local.INFO: Extracted packet for processing {"connection_id":50233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:42: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-22 06:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 06: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-22 06:42: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-22 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06: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-22 06: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-22 06:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:42:04] 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-22 06:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:42:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":50233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:42:04] local.INFO: GPS data processed {"connection_id":50233,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:42:04] local.INFO: Acknowledgment sent {"connection_id":50233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:42:27] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:42:27] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:42:27] local.INFO: IMEI packet received {"connection_id":50366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:42:32] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:42:32] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:42:32] local.INFO: IMEI packet received {"connection_id":50366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:42:33] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:42:33] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:42:33] local.INFO: Packet analysis {"connection_id":50366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:42:33] local.INFO: Extracted packet for processing {"connection_id":50366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:42:33] 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-22 06:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 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-22 06: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:42: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-22 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-22 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-22 06:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:42:33] 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-22 06:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:42:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:42:33] local.INFO: GPS data processed {"connection_id":50366,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:42:33] local.INFO: Acknowledgment sent {"connection_id":50366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:42:35] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:42:35] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:42:35] local.INFO: IMEI packet received {"connection_id":50901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":50901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:42:46] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:42:46] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:42:46] local.INFO: IMEI packet received {"connection_id":50901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":50901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:42:47] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bdf230012d7d42c005d289f8001100b914..."} 
[2026-04-22 06:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bdf230012d7d42c005d289f8001100b914..."} 
[2026-04-22 06:42:47] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bdf230012d7d42c005d289f8001100b914..."} 
[2026-04-22 06:42:47] local.INFO: Packet analysis {"connection_id":50901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bd"} 
[2026-04-22 06:42:47] local.INFO: Extracted packet for processing {"connection_id":50901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bd"} 
[2026-04-22 06:42:47] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97683960,"longitude_deg":76.3183808,"latitude_deg":9.768396,"altitude":17,"angle":185,"satellites":20,"speed":15,"hex_longitude":"2d7d42c0","hex_latitude":"05d289f8","is_valid_coordinates":true} 
[2026-04-22 06:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865992960001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74739350142713856,"note":"Value kept but may cause issues"} 
[2026-04-22 06:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734443608064,"note":"Value kept but may cause issues"} 
[2026-04-22 06:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776820286000,"timestamp_ms":1776820286000,"timestamp_seconds":1776820286,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bdf230"} 
[2026-04-22 06:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:42:47] 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-22 06:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 06:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865992960001,"66":13798,"115":206,"85":15104,"24":15,"16":74739350142713856,"45":9025987734443608064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-04-22 06:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865992960001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:42:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-22 06:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74739350142713856,"km_value":74739350142713.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734443608064,"description":"Unknown IO ID 45"} 
[2026-04-22 06:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865992960001,"power":13798,"unknown_115":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9025987734443608064}} 
[2026-04-22 06:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":50901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:42:47] local.INFO: GPS data processed {"connection_id":50901,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:42:47] local.INFO: Acknowledgment sent {"connection_id":50901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:43:04] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:43:04] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:43:04] local.INFO: Packet analysis {"connection_id":50366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:43:04] local.INFO: Extracted packet for processing {"connection_id":50366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43: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-22 06:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 06:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:43: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-22 06:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:43:04] 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-22 06:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:43:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:43:04] local.INFO: GPS data processed {"connection_id":50366,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:43:04] local.INFO: Acknowledgment sent {"connection_id":50366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:43:12] local.INFO: TCP Data received {"connection_id":49981,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:43:12] local.INFO: Processing buffer {"connection_id":49981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:43:12] local.INFO: IMEI packet received {"connection_id":49981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":49981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:43:18] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bf5d78012d7d3bc005d10268000600b01c..."} 
[2026-04-22 06:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bf5d78012d7d3bc005d10268000600b01c..."} 
[2026-04-22 06:43:18] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bf5d78012d7d3bc005d10268000600b01c..."} 
[2026-04-22 06:43:18] local.INFO: Packet analysis {"connection_id":50901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bf"} 
[2026-04-22 06:43:18] local.INFO: Extracted packet for processing {"connection_id":50901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bf"} 
[2026-04-22 06:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97583720,"longitude_deg":76.3182016,"latitude_deg":9.758372,"altitude":6,"angle":176,"satellites":28,"speed":59,"hex_longitude":"2d7d3bc0","hex_latitude":"05d10268","is_valid_coordinates":true} 
[2026-04-22 06:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866015232001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74744233520529408,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353397532672,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:18] 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-22 06:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776820379000,"timestamp_ms":1776820379000,"timestamp_seconds":1776820379,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bf5d78"} 
[2026-04-22 06:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 06:43: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-22 06:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":50901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866015232001,"66":13993,"24":59,"85":15104,"16":74744233520529408,"45":9023243353397532672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-22 06:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866015232001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74744233520529408,"km_value":74744233520529.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353397532672,"description":"Unknown IO ID 45"} 
[2026-04-22 06:43:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454866015232001,"power":13993,"ignition":59,"unknown_85":15104,"odometer":null,"unknown_45":9023243353397532672}} 
[2026-04-22 06:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":50901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:43:18] local.INFO: GPS data processed {"connection_id":50901,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:43:18] local.INFO: Acknowledgment sent {"connection_id":50901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:43:27] local.INFO: TCP Data received {"connection_id":49982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:43:27] local.INFO: Processing buffer {"connection_id":49982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:43:27] local.INFO: IMEI packet received {"connection_id":49982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":49982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:43:32] local.INFO: TCP Data received {"connection_id":49982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:43:32] local.INFO: Processing buffer {"connection_id":49982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:43:32] local.INFO: IMEI packet received {"connection_id":49982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":49982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:43:33] local.INFO: TCP Data received {"connection_id":49982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:43:33] local.INFO: Processing buffer {"connection_id":49982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:43:33] local.INFO: Packet analysis {"connection_id":49982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:43:33] local.INFO: Extracted packet for processing {"connection_id":49982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:33] 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-22 06:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 06: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-22 06:43: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-22 06: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:43: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-22 06: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-22 06: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-22 06:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:43:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":49982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:43:33] local.INFO: GPS data processed {"connection_id":49982,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:43:33] local.INFO: Acknowledgment sent {"connection_id":49982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:43:49] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bf74e8012d7d3d8005d0ddb0000600b01d..."} 
[2026-04-22 06:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bf74e8012d7d3d8005d0ddb0000600b01d..."} 
[2026-04-22 06:43:49] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bf74e8012d7d3d8005d0ddb0000600b01d..."} 
[2026-04-22 06:43:49] local.INFO: Packet analysis {"connection_id":50901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bf"} 
[2026-04-22 06:43:49] local.INFO: Extracted packet for processing {"connection_id":50901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bf"} 
[2026-04-22 06:43:49] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97574320,"longitude_deg":76.3182464,"latitude_deg":9.757432,"altitude":6,"angle":176,"satellites":29,"speed":63,"hex_longitude":"2d7d3d80","hex_latitude":"05d0ddb0","is_valid_coordinates":true} 
[2026-04-22 06:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866017024001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74744693082030080,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409580886016,"note":"Value kept but may cause issues"} 
[2026-04-22 06:43:49] 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-22 06:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776820385000,"timestamp_ms":1776820385000,"timestamp_seconds":1776820385,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bf74e8"} 
[2026-04-22 06:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 06:43: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-22 06:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":50901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866017024001,"66":13678,"24":63,"85":15104,"16":74744693082030080,"45":9024017409580886016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-22 06:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866017024001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:43:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74744693082030080,"km_value":74744693082030.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409580886016,"description":"Unknown IO ID 45"} 
[2026-04-22 06:43:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454866017024001,"power":13678,"ignition":63,"unknown_85":15104,"odometer":null,"unknown_45":9024017409580886016}} 
[2026-04-22 06:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":50901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:43:50] local.INFO: GPS data processed {"connection_id":50901,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:43:50] local.INFO: Acknowledgment sent {"connection_id":50901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:43:57] local.INFO: TCP Data received {"connection_id":49983,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:43:57] local.INFO: Processing buffer {"connection_id":49983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:43:57] local.INFO: IMEI packet received {"connection_id":49983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":49983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:44:04] local.INFO: TCP Data received {"connection_id":49982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:44:04] local.INFO: Processing buffer {"connection_id":49982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:44:04] local.INFO: Packet analysis {"connection_id":49982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:44:04] local.INFO: Extracted packet for processing {"connection_id":49982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44: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-22 06:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 06:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:44: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-22 06:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:44: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-22 06:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 06:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:44:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":49982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:44:04] local.INFO: GPS data processed {"connection_id":49982,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:44:04] local.INFO: Acknowledgment sent {"connection_id":49982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:44:20] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bf8c58012d7d3fc005d0ba58000600b01e..."} 
[2026-04-22 06:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bf8c58012d7d3fc005d0ba58000600b01e..."} 
[2026-04-22 06:44:20] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bf8c58012d7d3fc005d0ba58000600b01e..."} 
[2026-04-22 06:44:20] local.INFO: Packet analysis {"connection_id":50901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bf"} 
[2026-04-22 06:44:20] local.INFO: Extracted packet for processing {"connection_id":50901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bf"} 
[2026-04-22 06:44:20] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":97565272,"longitude_deg":76.318304,"latitude_deg":9.7565272,"altitude":6,"angle":176,"satellites":30,"speed":58,"hex_longitude":"2d7d3fc0","hex_latitude":"05d0ba58","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866018560001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74745131168694272,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990787723264,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 06:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776820391000,"timestamp_ms":1776820391000,"timestamp_seconds":1776820391,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bf8c58"} 
[2026-04-22 06: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-22 06:44:20] 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-22 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866018560001,"66":13624,"24":58,"85":15104,"16":74745131168694272,"45":9024509990787723264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-22 06:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866018560001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74745131168694272,"km_value":74745131168694.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990787723264,"description":"Unknown IO ID 45"} 
[2026-04-22 06:44:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454866018560001,"power":13624,"ignition":58,"unknown_85":15104,"odometer":null,"unknown_45":9024509990787723264}} 
[2026-04-22 06:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":50901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:44:20] local.INFO: GPS data processed {"connection_id":50901,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:44:20] local.INFO: Acknowledgment sent {"connection_id":50901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:44:27] local.INFO: TCP Data received {"connection_id":49984,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:44:27] local.INFO: Processing buffer {"connection_id":49984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:44:27] local.INFO: IMEI packet received {"connection_id":49984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":49984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:44:32] local.INFO: TCP Data received {"connection_id":49984,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:44:32] local.INFO: Processing buffer {"connection_id":49984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:44:32] local.INFO: IMEI packet received {"connection_id":49984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":49984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:44:33] local.INFO: TCP Data received {"connection_id":49984,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:44:33] local.INFO: Processing buffer {"connection_id":49984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:44:33] local.INFO: Packet analysis {"connection_id":49984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:44:33] local.INFO: Extracted packet for processing {"connection_id":49984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:33] 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-22 06:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 06: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-22 06:44: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-22 06: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:44: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-22 06: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-22 06: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-22 06:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:44:33] 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-22 06:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:44:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":49984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:44:33] local.INFO: GPS data processed {"connection_id":49984,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:44:33] local.INFO: Acknowledgment sent {"connection_id":49984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:44:59] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c0c4d8012d7d528005cf00b0000500b321..."} 
[2026-04-22 06:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c0c4d8012d7d528005cf00b0000500b321..."} 
[2026-04-22 06:44:59] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c0c4d8012d7d528005cf00b0000500b321..."} 
[2026-04-22 06:44:59] local.INFO: Packet analysis {"connection_id":50901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c0"} 
[2026-04-22 06:44:59] local.INFO: Extracted packet for processing {"connection_id":50901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c0"} 
[2026-04-22 06:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97452208,"longitude_deg":76.318784,"latitude_deg":9.7452208,"altitude":5,"angle":179,"satellites":33,"speed":62,"hex_longitude":"2d7d5280","hex_latitude":"05cf00b0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866039040001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74750620136898560,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030280227781351424,"note":"Value kept but may cause issues"} 
[2026-04-22 06:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776820471000,"timestamp_ms":1776820471000,"timestamp_seconds":1776820471,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c0c4d8"} 
[2026-04-22 06: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-22 06:44:59] 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-22 06: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 06:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":50901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866039040001,"66":13765,"198":206,"85":15104,"24":62,"16":74750620136898560,"45":9030280227781351424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-04-22 06:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866039040001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:44:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-22 06:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74750620136898560,"km_value":74750620136898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030280227781351424,"description":"Unknown IO ID 45"} 
[2026-04-22 06:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866039040001,"power":13765,"unknown_198":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9030280227781351424}} 
[2026-04-22 06:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":50901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:44:59] local.INFO: GPS data processed {"connection_id":50901,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:44:59] local.INFO: Acknowledgment sent {"connection_id":50901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:45:04] local.INFO: TCP Data received {"connection_id":49984,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:45:04] local.INFO: Processing buffer {"connection_id":49984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:45:04] local.INFO: Packet analysis {"connection_id":49984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:45:04] local.INFO: Extracted packet for processing {"connection_id":49984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:45: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-22 06:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 06:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:45: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-22 06:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:45: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-22 06:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:45:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":49984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:45:04] local.INFO: GPS data processed {"connection_id":49984,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:45:04] local.INFO: Acknowledgment sent {"connection_id":49984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:45:27] local.INFO: TCP Data received {"connection_id":50902,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:45:27] local.INFO: Processing buffer {"connection_id":50902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:45:27] local.INFO: IMEI packet received {"connection_id":50902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:45:31] local.INFO: TCP Data received {"connection_id":50368,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:45:31] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:45:31] local.INFO: IMEI packet received {"connection_id":50368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":50368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:45:31] local.INFO: TCP Data received {"connection_id":50368,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:45:31] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:45:31] local.INFO: IMEI packet received {"connection_id":50368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":50368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:45:32] local.INFO: TCP Data received {"connection_id":50902,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:45:32] local.INFO: Processing buffer {"connection_id":50902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:45:32] local.INFO: IMEI packet received {"connection_id":50902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":50902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:45:33] local.INFO: TCP Data received {"connection_id":50902,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:45:33] local.INFO: Processing buffer {"connection_id":50902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2bcc950012d7f960005afd7d0000101561e..."} 
[2026-04-22 06:45:33] local.INFO: Packet analysis {"connection_id":50902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:45:33] local.INFO: Extracted packet for processing {"connection_id":50902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2bc"} 
[2026-04-22 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865896704001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:45:33] 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-22 06:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820210000,"timestamp_ms":1776820210000,"timestamp_seconds":1776820210,"priority":1,"record_length":96,"hex_timestamp":"0000019db2bcc950"} 
[2026-04-22 06:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:45: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-22 06:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:45: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-22 06:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865896704001,"66":25462,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865896704001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865896704001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":50902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:45:33] local.INFO: GPS data processed {"connection_id":50902,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:45:33] local.INFO: Acknowledgment sent {"connection_id":50902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:45:36] local.INFO: TCP Data received {"connection_id":50368,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:45:36] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:45:36] local.INFO: IMEI packet received {"connection_id":50368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":50368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:45:36] local.INFO: TCP Data received {"connection_id":50368,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c18c10012d7d168005ceaf70000a011621..."} 
[2026-04-22 06:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c18c10012d7d168005ceaf70000a011621..."} 
[2026-04-22 06:45:36] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c18c10012d7d168005ceaf70000a011621..."} 
[2026-04-22 06:45:36] local.INFO: Packet analysis {"connection_id":50368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:45:36] local.INFO: Extracted packet for processing {"connection_id":50368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763172480,"raw_latitude":97431408,"longitude_deg":76.317248,"latitude_deg":9.7431408,"altitude":10,"angle":278,"satellites":33,"speed":44,"hex_longitude":"2d7d1680","hex_latitude":"05ceaf70","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866051840001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74752351008718848,"note":"Value kept but may cause issues"} 
[2026-04-22 06:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695240984285184,"note":"Value kept but may cause issues"} 
[2026-04-22 06:45:36] 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-22 06:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776820522000,"timestamp_ms":1776820522000,"timestamp_seconds":1776820522,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c18c10"} 
[2026-04-22 06: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-22 06:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 06:45:36] 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-22 06: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-22 06: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-22 06:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866051840001,"66":13602,"237":206,"85":15104,"24":44,"16":74752351008718848,"45":9021695240984285184},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 06:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866051840001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:45:36] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 06:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74752351008718848,"km_value":74752351008718.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695240984285184,"description":"Unknown IO ID 45"} 
[2026-04-22 06:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866051840001,"power":13602,"unknown_237":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9021695240984285184}} 
[2026-04-22 06:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":50368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:45:36] local.INFO: GPS data processed {"connection_id":50368,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:45:36] local.INFO: Acknowledgment sent {"connection_id":50368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:46:04] local.INFO: TCP Data received {"connection_id":50902,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:46:04] local.INFO: Processing buffer {"connection_id":50902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:46:04] local.INFO: Packet analysis {"connection_id":50902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:46:04] local.INFO: Extracted packet for processing {"connection_id":50902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46: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-22 06:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 06: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-22 06:46: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:46: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-22 06: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-22 06: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-22 06:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:46:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":50902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:46:04] local.INFO: GPS data processed {"connection_id":50902,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:46:04] local.INFO: Acknowledgment sent {"connection_id":50902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:46:10] local.INFO: TCP Data received {"connection_id":50368,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c193e0012d7d0ec005ceb1c0000a012621..."} 
[2026-04-22 06:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c193e0012d7d0ec005ceb1c0000a012621..."} 
[2026-04-22 06:46:10] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c193e0012d7d0ec005ceb1c0000a012621..."} 
[2026-04-22 06:46:10] local.INFO: Packet analysis {"connection_id":50368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:46:10] local.INFO: Extracted packet for processing {"connection_id":50368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763170496,"raw_latitude":97432000,"longitude_deg":76.3170496,"latitude_deg":9.7432,"altitude":10,"angle":294,"satellites":33,"speed":35,"hex_longitude":"2d7d0ec0","hex_latitude":"05ceb1c0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866053632001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74752449792966656,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013532466659422208,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:10] 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-22 06:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776820524000,"timestamp_ms":1776820524000,"timestamp_seconds":1776820524,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c193e0"} 
[2026-04-22 06: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-22 06:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-22 06:46:10] 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-22 06: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-22 06: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-22 06:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866053632001,"66":13798,"237":206,"85":15104,"24":35,"16":74752449792966656,"45":9013532466659422208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 06:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866053632001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:46:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 06:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74752449792966656,"km_value":74752449792966.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013532466659422208,"description":"Unknown IO ID 45"} 
[2026-04-22 06:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866053632001,"power":13798,"unknown_237":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9013532466659422208}} 
[2026-04-22 06:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":50368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:46:10] local.INFO: GPS data processed {"connection_id":50368,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:46:10] local.INFO: Acknowledgment sent {"connection_id":50368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:46:27] local.INFO: TCP Data received {"connection_id":50234,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:46:27] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:46:27] local.INFO: IMEI packet received {"connection_id":50234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":50234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:46:30] local.INFO: TCP Data received {"connection_id":50903,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:46:30] local.INFO: Processing buffer {"connection_id":50903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:46:30] local.INFO: IMEI packet received {"connection_id":50903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":50903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:46:32] local.INFO: TCP Data received {"connection_id":50234,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:46:32] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:46:32] local.INFO: IMEI packet received {"connection_id":50234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:46:33] local.INFO: TCP Data received {"connection_id":50234,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:46:33] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:46:33] local.INFO: Packet analysis {"connection_id":50234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:46:33] local.INFO: Extracted packet for processing {"connection_id":50234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:33] 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-22 06:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 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-22 06:46: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-22 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:46: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-22 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-22 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-22 06:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:46:33] 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-22 06:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:46:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":50234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:46:33] local.INFO: GPS data processed {"connection_id":50234,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:46:33] local.INFO: Acknowledgment sent {"connection_id":50234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:46:38] local.INFO: TCP Data received {"connection_id":50903,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:46:38] local.INFO: Processing buffer {"connection_id":50903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:46:38] local.INFO: IMEI packet received {"connection_id":50903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":50903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:46:41] local.INFO: TCP Data received {"connection_id":50903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c19f98012d7d05c005ceb508000a011521..."} 
[2026-04-22 06:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c19f98012d7d05c005ceb508000a011521..."} 
[2026-04-22 06:46:41] local.INFO: Processing buffer {"connection_id":50903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c19f98012d7d05c005ceb508000a011521..."} 
[2026-04-22 06:46:41] local.INFO: Packet analysis {"connection_id":50903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:46:41] local.INFO: Extracted packet for processing {"connection_id":50903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763168192,"raw_latitude":97432840,"longitude_deg":76.3168192,"latitude_deg":9.743284,"altitude":10,"angle":277,"satellites":33,"speed":31,"hex_longitude":"2d7d05c0","hex_latitude":"05ceb508","is_valid_coordinates":true} 
[2026-04-22 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866054144001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74752565757083648,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011351035590066176,"note":"Value kept but may cause issues"} 
[2026-04-22 06:46:41] 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-22 06:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776820527000,"timestamp_ms":1776820527000,"timestamp_seconds":1776820527,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c19f98"} 
[2026-04-22 06:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 06:46: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-22 06:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866054144001,"66":13852,"237":206,"85":15104,"24":31,"16":74752565757083648,"45":9011351035590066176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 06:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866054144001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:46:41] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 06:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74752565757083648,"km_value":74752565757083.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011351035590066176,"description":"Unknown IO ID 45"} 
[2026-04-22 06:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866054144001,"power":13852,"unknown_237":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9011351035590066176}} 
[2026-04-22 06:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":50903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:46:41] local.INFO: GPS data processed {"connection_id":50903,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:46:41] local.INFO: Acknowledgment sent {"connection_id":50903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:47:04] local.INFO: TCP Data received {"connection_id":50234,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:47:04] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:47:04] local.INFO: Packet analysis {"connection_id":50234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:47:04] local.INFO: Extracted packet for processing {"connection_id":50234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47: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-22 06:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 06: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-22 06:47: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-22 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:47: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-22 06: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-22 06: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-22 06:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:47:04] 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-22 06:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:47:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":50234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:47:04] local.INFO: GPS data processed {"connection_id":50234,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:47:04] local.INFO: Acknowledgment sent {"connection_id":50234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:47:15] local.INFO: TCP Data received {"connection_id":50903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c1a768012d7cff8005ceb4b8000a010321..."} 
[2026-04-22 06:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c1a768012d7cff8005ceb4b8000a010321..."} 
[2026-04-22 06:47:15] local.INFO: Processing buffer {"connection_id":50903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c1a768012d7cff8005ceb4b8000a010321..."} 
[2026-04-22 06:47:15] local.INFO: Packet analysis {"connection_id":50903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:47:15] local.INFO: Extracted packet for processing {"connection_id":50903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763166592,"raw_latitude":97432760,"longitude_deg":76.3166592,"latitude_deg":9.743276,"altitude":10,"angle":259,"satellites":33,"speed":34,"hex_longitude":"2d7cff80","hex_latitude":"05ceb4b8","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866054912001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74752643066494976,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008817760799885312,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:15] 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-22 06:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776820529000,"timestamp_ms":1776820529000,"timestamp_seconds":1776820529,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c1a768"} 
[2026-04-22 06: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-22 06:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 06:47: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-22 06: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-22 06: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-22 06:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866054912001,"66":13906,"237":206,"85":15104,"24":34,"16":74752643066494976,"45":9008817760799885312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 06:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866054912001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:47:15] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 06:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74752643066494976,"km_value":74752643066494.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008817760799885312,"description":"Unknown IO ID 45"} 
[2026-04-22 06:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866054912001,"power":13906,"unknown_237":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9008817760799885312}} 
[2026-04-22 06:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":50903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:47:15] local.INFO: GPS data processed {"connection_id":50903,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:47:15] local.INFO: Acknowledgment sent {"connection_id":50903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:47:27] local.INFO: TCP Data received {"connection_id":50236,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:47:27] local.INFO: Processing buffer {"connection_id":50236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:47:27] local.INFO: IMEI packet received {"connection_id":50236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:47:30] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:47:30] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:47:30] local.INFO: IMEI packet received {"connection_id":50904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":50904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:47:32] local.INFO: TCP Data received {"connection_id":50236,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:47:32] local.INFO: Processing buffer {"connection_id":50236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:47:32] local.INFO: IMEI packet received {"connection_id":50236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:47:33] local.INFO: TCP Data received {"connection_id":50236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:47:33] local.INFO: Processing buffer {"connection_id":50236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:47:33] local.INFO: Packet analysis {"connection_id":50236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:47:33] local.INFO: Extracted packet for processing {"connection_id":50236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:33] 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-22 06:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 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-22 06:47: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-22 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:47: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-22 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-22 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-22 06:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:47:33] 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-22 06:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:47:33] local.INFO: GPS data processed {"connection_id":50236,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:47:33] local.INFO: Acknowledgment sent {"connection_id":50236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:47:36] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:47:36] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:47:36] local.INFO: IMEI packet received {"connection_id":50904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":50904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:47:37] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c1ca90012d7cda0005cead68000b010e21..."} 
[2026-04-22 06:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c1ca90012d7cda0005cead68000b010e21..."} 
[2026-04-22 06:47:37] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c1ca90012d7cda0005cead68000b010e21..."} 
[2026-04-22 06:47:37] local.INFO: Packet analysis {"connection_id":50904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:47:37] local.INFO: Extracted packet for processing {"connection_id":50904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763156992,"raw_latitude":97430888,"longitude_deg":76.3156992,"latitude_deg":9.7430888,"altitude":11,"angle":270,"satellites":33,"speed":50,"hex_longitude":"2d7cda00","hex_latitude":"05cead68","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866055424001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74753115512897536,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007058542195423232,"note":"Value kept but may cause issues"} 
[2026-04-22 06:47:37] 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-22 06:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776820538000,"timestamp_ms":1776820538000,"timestamp_seconds":1776820538,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c1ca90"} 
[2026-04-22 06: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-22 06:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-22 06:47:37] 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-22 06: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-22 06: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-22 06:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866055424001,"66":13928,"237":206,"85":15104,"24":50,"16":74753115512897536,"45":9007058542195423232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 06:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866055424001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:47:37] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 06:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74753115512897536,"km_value":74753115512897.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007058542195423232,"description":"Unknown IO ID 45"} 
[2026-04-22 06:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866055424001,"power":13928,"unknown_237":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9007058542195423232}} 
[2026-04-22 06:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":50904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:47:37] local.INFO: GPS data processed {"connection_id":50904,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:47:37] local.INFO: Acknowledgment sent {"connection_id":50904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:48:04] local.INFO: TCP Data received {"connection_id":50236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:48:04] local.INFO: Processing buffer {"connection_id":50236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:48:04] local.INFO: Packet analysis {"connection_id":50236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:48:04] local.INFO: Extracted packet for processing {"connection_id":50236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:48: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-22 06:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 06: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-22 06:48: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-22 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:48: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-22 06: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-22 06: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-22 06:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:48: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-22 06:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:48:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":50236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:48:04] local.INFO: GPS data processed {"connection_id":50236,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:48:04] local.INFO: Acknowledgment sent {"connection_id":50236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:48:10] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c1ca90012d7cda0005cead68000b010e21..."} 
[2026-04-22 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c1ca90012d7cda0005cead68000b010e21..."} 
[2026-04-22 06:48:10] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c1ca90012d7cda0005cead68000b010e21..."} 
[2026-04-22 06:48:10] local.INFO: Packet analysis {"connection_id":50904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:48:10] local.INFO: Extracted packet for processing {"connection_id":50904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763156992,"raw_latitude":97430888,"longitude_deg":76.3156992,"latitude_deg":9.7430888,"altitude":11,"angle":270,"satellites":33,"speed":50,"hex_longitude":"2d7cda00","hex_latitude":"05cead68","is_valid_coordinates":true} 
[2026-04-22 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866057728001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74753115512897536,"note":"Value kept but may cause issues"} 
[2026-04-22 06:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996503230568294400,"note":"Value kept but may cause issues"} 
[2026-04-22 06:48:10] 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-22 06:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776820538000,"timestamp_ms":1776820538000,"timestamp_seconds":1776820538,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c1ca90"} 
[2026-04-22 06:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 06:48:10] 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-22 06:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866057728001,"66":13928,"237":206,"85":15104,"24":50,"16":74753115512897536,"45":8996503230568294400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 06:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866057728001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:48:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 06:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74753115512897536,"km_value":74753115512897.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996503230568294400,"description":"Unknown IO ID 45"} 
[2026-04-22 06:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866057728001,"power":13928,"unknown_237":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8996503230568294400}} 
[2026-04-22 06:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":50904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:48:10] local.INFO: GPS data processed {"connection_id":50904,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:48:10] local.INFO: Acknowledgment sent {"connection_id":50904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:48:27] local.INFO: TCP Data received {"connection_id":49986,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:48:27] local.INFO: Processing buffer {"connection_id":49986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:48:27] local.INFO: IMEI packet received {"connection_id":49986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":49986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:48:32] local.INFO: TCP Data received {"connection_id":49986,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:48:32] local.INFO: Processing buffer {"connection_id":49986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:48:32] local.INFO: IMEI packet received {"connection_id":49986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":49986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:48:33] local.INFO: TCP Data received {"connection_id":49986,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:48:33] local.INFO: Processing buffer {"connection_id":49986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:48:33] local.INFO: Packet analysis {"connection_id":49986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:48:33] local.INFO: Extracted packet for processing {"connection_id":49986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:48:33] 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-22 06:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 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-22 06:48: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-22 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:48: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-22 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-22 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-22 06:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:48:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":49986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:48:33] local.INFO: GPS data processed {"connection_id":49986,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:48:33] local.INFO: Acknowledgment sent {"connection_id":49986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:49:04] local.INFO: TCP Data received {"connection_id":49986,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:49:04] local.INFO: Processing buffer {"connection_id":49986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:49:04] local.INFO: Packet analysis {"connection_id":49986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:49:04] local.INFO: Extracted packet for processing {"connection_id":49986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:49: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-22 06:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 06: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-22 06:49: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-22 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:49: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-22 06: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-22 06: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-22 06:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:49:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":49986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:49:04] local.INFO: GPS data processed {"connection_id":49986,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:49:04] local.INFO: Acknowledgment sent {"connection_id":49986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:49:21] local.INFO: TCP Data received {"connection_id":50905,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:49:21] local.INFO: Processing buffer {"connection_id":50905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:49:21] local.INFO: IMEI packet received {"connection_id":50905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":50905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:49:25] local.INFO: TCP Data received {"connection_id":50905,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:49:25] local.INFO: Processing buffer {"connection_id":50905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:49:25] local.INFO: IMEI packet received {"connection_id":50905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":50905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:49:27] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:49:27] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:49:27] local.INFO: IMEI packet received {"connection_id":50369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:49:27] local.INFO: TCP Data received {"connection_id":50238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:49:27] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:49:27] local.INFO: IMEI packet received {"connection_id":50238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:49:31] local.INFO: TCP Data received {"connection_id":50905,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:49:31] local.INFO: Processing buffer {"connection_id":50905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:49:31] local.INFO: IMEI packet received {"connection_id":50905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":50905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:49:31] local.INFO: TCP Data received {"connection_id":50905,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c3ca48012d7c364005ceab38000b011526..."} 
[2026-04-22 06:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c3ca48012d7c364005ceab38000b011526..."} 
[2026-04-22 06:49:31] local.INFO: Processing buffer {"connection_id":50905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c3ca48012d7c364005ceab38000b011526..."} 
[2026-04-22 06:49:31] local.INFO: Packet analysis {"connection_id":50905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c3"} 
[2026-04-22 06:49:31] local.INFO: Extracted packet for processing {"connection_id":50905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c3"} 
[2026-04-22 06:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":97430328,"longitude_deg":76.3115072,"latitude_deg":9.7430328,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d7c3640","hex_latitude":"05ceab38","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866085888001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776820669000,"timestamp_ms":1776820669000,"timestamp_seconds":1776820669,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c3ca48"} 
[2026-04-22 06: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-22 06:49:31] 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-22 06: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 06:49:31] 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-22 06: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-22 06: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-22 06:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866085888001,"66":13428,"235":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 06:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866085888001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:49:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 06:49:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866085888001,"power":13428,"unknown_235":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":50905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:49:32] local.INFO: GPS data processed {"connection_id":50905,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:49:32] local.INFO: Acknowledgment sent {"connection_id":50905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:49:32] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:49:32] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:49:32] local.INFO: IMEI packet received {"connection_id":50369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:49:33] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:49:33] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:49:33] local.INFO: Packet analysis {"connection_id":50369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:49:33] local.INFO: Extracted packet for processing {"connection_id":50369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:49:33] 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-22 06:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 06: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-22 06:49: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-22 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:49: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-22 06: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-22 06: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-22 06:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:49:33] 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-22 06:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:49:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":50369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:49:33] local.INFO: GPS data processed {"connection_id":50369,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:49:33] local.INFO: Acknowledgment sent {"connection_id":50369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:49:48] local.INFO: TCP Data received {"connection_id":49987,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:49:48] local.INFO: Processing buffer {"connection_id":49987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:49:48] local.INFO: IMEI packet received {"connection_id":49987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":49987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:50:03] local.INFO: TCP Data received {"connection_id":50905,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c41c50012d7c364005ceab38000b011529..."} 
[2026-04-22 06:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c41c50012d7c364005ceab38000b011529..."} 
[2026-04-22 06:50:03] local.INFO: Processing buffer {"connection_id":50905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c41c50012d7c364005ceab38000b011529..."} 
[2026-04-22 06:50:03] local.INFO: Packet analysis {"connection_id":50905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c4"} 
[2026-04-22 06:50:03] local.INFO: Extracted packet for processing {"connection_id":50905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c4"} 
[2026-04-22 06:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":97430328,"longitude_deg":76.3115072,"latitude_deg":9.7430328,"altitude":11,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d7c3640","hex_latitude":"05ceab38","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866091264001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776820690000,"timestamp_ms":1776820690000,"timestamp_seconds":1776820690,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c41c50"} 
[2026-04-22 06: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-22 06:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 06: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-22 06:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866091264001,"66":13678,"235":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 06:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866091264001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:50:03] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 06:50:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866091264001,"power":13678,"unknown_235":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":50905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:50:03] local.INFO: GPS data processed {"connection_id":50905,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:50:03] local.INFO: Acknowledgment sent {"connection_id":50905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:50:04] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:50:04] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:50:04] local.INFO: Packet analysis {"connection_id":50369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:50:04] local.INFO: Extracted packet for processing {"connection_id":50369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50: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-22 06:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 06:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:50: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-22 06:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:50: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-22 06:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:50: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-22 06:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:50:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":50369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:50:04] local.INFO: GPS data processed {"connection_id":50369,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:50:04] local.INFO: Acknowledgment sent {"connection_id":50369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:50:27] local.INFO: TCP Data received {"connection_id":50907,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:50:27] local.INFO: Processing buffer {"connection_id":50907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:50:27] local.INFO: IMEI packet received {"connection_id":50907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":50907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:50:31] local.INFO: TCP Data received {"connection_id":49988,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:50:31] local.INFO: Processing buffer {"connection_id":49988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:50:31] local.INFO: IMEI packet received {"connection_id":49988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":49988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:50:32] local.INFO: TCP Data received {"connection_id":50907,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:50:32] local.INFO: Processing buffer {"connection_id":50907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:50:32] local.INFO: IMEI packet received {"connection_id":50907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":50907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:50:33] local.INFO: TCP Data received {"connection_id":50907,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:50:33] local.INFO: Processing buffer {"connection_id":50907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c16118012d7f960005afd7d00002015622..."} 
[2026-04-22 06:50:33] local.INFO: Packet analysis {"connection_id":50907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:50:33] local.INFO: Extracted packet for processing {"connection_id":50907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c1"} 
[2026-04-22 06:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":2,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454865973760001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:33] 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-22 06:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820511000,"timestamp_ms":1776820511000,"timestamp_seconds":1776820511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c16118"} 
[2026-04-22 06: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-22 06:50: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-22 06:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 06:50: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-22 06: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-22 06: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-22 06:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454865973760001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454865973760001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:50:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454865973760001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":50907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:50:33] local.INFO: GPS data processed {"connection_id":50907,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:50:33] local.INFO: Acknowledgment sent {"connection_id":50907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:50:36] local.INFO: TCP Data received {"connection_id":49988,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:50:36] local.INFO: Processing buffer {"connection_id":49988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:50:36] local.INFO: IMEI packet received {"connection_id":49988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":49988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:50:36] local.INFO: TCP Data received {"connection_id":49988,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c46e58012d7c364005ceab38000b011526..."} 
[2026-04-22 06:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c46e58012d7c364005ceab38000b011526..."} 
[2026-04-22 06:50:36] local.INFO: Processing buffer {"connection_id":49988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c46e58012d7c364005ceab38000b011526..."} 
[2026-04-22 06:50:36] local.INFO: Packet analysis {"connection_id":49988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c4"} 
[2026-04-22 06:50:36] local.INFO: Extracted packet for processing {"connection_id":49988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c4"} 
[2026-04-22 06:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":97430328,"longitude_deg":76.3115072,"latitude_deg":9.7430328,"altitude":11,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d7c3640","hex_latitude":"05ceab38","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866096640001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:50:36] 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-22 06:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776820711000,"timestamp_ms":1776820711000,"timestamp_seconds":1776820711,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c46e58"} 
[2026-04-22 06: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-22 06:50:36] 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-22 06:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":49988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":49988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":49988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866096640001,"66":13461,"199":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-22 06:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866096640001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:50:36] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-22 06:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866096640001,"power":13461,"trip_odometer":0.206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":49988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:50:36] local.INFO: GPS data processed {"connection_id":49988,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:50:36] local.INFO: Acknowledgment sent {"connection_id":49988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:51:04] local.INFO: TCP Data received {"connection_id":50907,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:51:04] local.INFO: Processing buffer {"connection_id":50907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:51:04] local.INFO: Packet analysis {"connection_id":50907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:51:04] local.INFO: Extracted packet for processing {"connection_id":50907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51: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-22 06:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 06: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-22 06: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-22 06: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06: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-22 06: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-22 06:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:51:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":50907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:51:04] local.INFO: GPS data processed {"connection_id":50907,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:51:04] local.INFO: Acknowledgment sent {"connection_id":50907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:51:07] local.INFO: TCP Data received {"connection_id":49988,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c4a508012d7c364005ceab38000b011528..."} 
[2026-04-22 06:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c4a508012d7c364005ceab38000b011528..."} 
[2026-04-22 06:51:07] local.INFO: Processing buffer {"connection_id":49988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c4a508012d7c364005ceab38000b011528..."} 
[2026-04-22 06:51:07] local.INFO: Packet analysis {"connection_id":49988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c4"} 
[2026-04-22 06:51:07] local.INFO: Extracted packet for processing {"connection_id":49988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c4"} 
[2026-04-22 06:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":97430328,"longitude_deg":76.3115072,"latitude_deg":9.7430328,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d7c3640","hex_latitude":"05ceab38","is_valid_coordinates":true} 
[2026-04-22 06:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866102016001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776820725000,"timestamp_ms":1776820725000,"timestamp_seconds":1776820725,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c4a508"} 
[2026-04-22 06:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:51:07] 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-22 06:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-04-22 06:51:07] 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-22 06:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":49988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":49988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":49988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866102016001,"66":13678,"199":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-22 06:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866102016001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:51:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-22 06:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866102016001,"power":13678,"trip_odometer":0.206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":49988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:51:07] local.INFO: GPS data processed {"connection_id":49988,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:51:07] local.INFO: Acknowledgment sent {"connection_id":49988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:51:27] local.INFO: TCP Data received {"connection_id":50908,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:51:27] local.INFO: Processing buffer {"connection_id":50908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:51:27] local.INFO: IMEI packet received {"connection_id":50908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":50908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:51:30] local.INFO: TCP Data received {"connection_id":50370,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:51:30] local.INFO: Processing buffer {"connection_id":50370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:51:30] local.INFO: IMEI packet received {"connection_id":50370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":50370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:51:32] local.INFO: TCP Data received {"connection_id":50908,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:51:32] local.INFO: Processing buffer {"connection_id":50908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:51:32] local.INFO: IMEI packet received {"connection_id":50908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:51:33] local.INFO: TCP Data received {"connection_id":50908,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:51:33] local.INFO: Processing buffer {"connection_id":50908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:51:33] local.INFO: Packet analysis {"connection_id":50908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:51:33] local.INFO: Extracted packet for processing {"connection_id":50908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:33] 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-22 06:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 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-22 06:51: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:51: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-22 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-22 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-22 06:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:51:33] 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-22 06:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:51:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:51:33] local.INFO: GPS data processed {"connection_id":50908,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:51:33] local.INFO: Acknowledgment sent {"connection_id":50908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:51:35] local.INFO: TCP Data received {"connection_id":50370,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:51:35] local.INFO: Processing buffer {"connection_id":50370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:51:35] local.INFO: IMEI packet received {"connection_id":50370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":50370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:51:38] local.INFO: TCP Data received {"connection_id":50370,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c4a508012d7c364005ceab38000b011528..."} 
[2026-04-22 06:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c4a508012d7c364005ceab38000b011528..."} 
[2026-04-22 06:51:38] local.INFO: Processing buffer {"connection_id":50370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c4a508012d7c364005ceab38000b011528..."} 
[2026-04-22 06:51:38] local.INFO: Packet analysis {"connection_id":50370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c4"} 
[2026-04-22 06:51:38] local.INFO: Extracted packet for processing {"connection_id":50370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c4"} 
[2026-04-22 06:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":97430328,"longitude_deg":76.3115072,"latitude_deg":9.7430328,"altitude":11,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d7c3640","hex_latitude":"05ceab38","is_valid_coordinates":true} 
[2026-04-22 06:51: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-22 06:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866105600001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:51:38] 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-22 06:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776820725000,"timestamp_ms":1776820725000,"timestamp_seconds":1776820725,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c4a508"} 
[2026-04-22 06:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:51:38] 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-22 06:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866105600001,"66":13678,"199":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-22 06:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866105600001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:51:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-22 06:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866105600001,"power":13678,"trip_odometer":0.206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":50370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:51:38] local.INFO: GPS data processed {"connection_id":50370,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:51:38] local.INFO: Acknowledgment sent {"connection_id":50370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:52:04] local.INFO: TCP Data received {"connection_id":50908,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:52:04] local.INFO: Processing buffer {"connection_id":50908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:52:04] local.INFO: Packet analysis {"connection_id":50908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:52:04] local.INFO: Extracted packet for processing {"connection_id":50908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:52: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-22 06:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 06: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-22 06:52: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-22 06: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06: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-22 06: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-22 06:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:52:04] 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-22 06:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:52:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":50908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:52:04] local.INFO: GPS data processed {"connection_id":50908,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:52:04] local.INFO: Acknowledgment sent {"connection_id":50908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:52:27] local.INFO: TCP Data received {"connection_id":50240,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:52:27] local.INFO: Processing buffer {"connection_id":50240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:52:27] local.INFO: IMEI packet received {"connection_id":50240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":50240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:52:32] local.INFO: TCP Data received {"connection_id":50240,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:52:32] local.INFO: Processing buffer {"connection_id":50240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:52:32] local.INFO: IMEI packet received {"connection_id":50240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":50240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:52:33] local.INFO: TCP Data received {"connection_id":50240,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:52:33] local.INFO: Processing buffer {"connection_id":50240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:52:33] local.INFO: Packet analysis {"connection_id":50240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:52:33] local.INFO: Extracted packet for processing {"connection_id":50240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:52:33] 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-22 06:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 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-22 06:52: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:52: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-22 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-22 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-22 06:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:52:33] 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-22 06:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:52:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":50240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:52:33] local.INFO: GPS data processed {"connection_id":50240,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:52:33] local.INFO: Acknowledgment sent {"connection_id":50240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:53:04] local.INFO: TCP Data received {"connection_id":50240,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:53:04] local.INFO: Processing buffer {"connection_id":50240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:53:04] local.INFO: Packet analysis {"connection_id":50240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:53:04] local.INFO: Extracted packet for processing {"connection_id":50240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:53: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-22 06:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 06:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:53: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-22 06:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:53:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":50240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:53:04] local.INFO: GPS data processed {"connection_id":50240,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:53:04] local.INFO: Acknowledgment sent {"connection_id":50240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:53:27] local.INFO: TCP Data received {"connection_id":50372,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:53:27] local.INFO: Processing buffer {"connection_id":50372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:53:27] local.INFO: IMEI packet received {"connection_id":50372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":50372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:53:32] local.INFO: TCP Data received {"connection_id":50372,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:53:32] local.INFO: Processing buffer {"connection_id":50372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:53:32] local.INFO: IMEI packet received {"connection_id":50372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:53:33] local.INFO: TCP Data received {"connection_id":50372,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:53:33] local.INFO: Processing buffer {"connection_id":50372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:53:33] local.INFO: Packet analysis {"connection_id":50372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:53:33] local.INFO: Extracted packet for processing {"connection_id":50372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:53:33] 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-22 06:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 06: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-22 06: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-22 06: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:53: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-22 06: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-22 06: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-22 06:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:53:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":50372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:53:33] local.INFO: GPS data processed {"connection_id":50372,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:53:33] local.INFO: Acknowledgment sent {"connection_id":50372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:54:04] local.INFO: TCP Data received {"connection_id":50372,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:54:04] local.INFO: Processing buffer {"connection_id":50372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:54:04] local.INFO: Packet analysis {"connection_id":50372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:54:04] local.INFO: Extracted packet for processing {"connection_id":50372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:54: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-22 06:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 06: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-22 06:54: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-22 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06: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-22 06: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-22 06:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:54:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":50372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:54:04] local.INFO: GPS data processed {"connection_id":50372,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:54:04] local.INFO: Acknowledgment sent {"connection_id":50372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:54:27] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:54:27] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:54:27] local.INFO: IMEI packet received {"connection_id":50242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":50242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:54:32] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:54:32] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:54:32] local.INFO: IMEI packet received {"connection_id":50242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:54:33] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:54:33] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:54:33] local.INFO: Packet analysis {"connection_id":50242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:54:33] local.INFO: Extracted packet for processing {"connection_id":50242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:54:33] 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-22 06:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 06: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-22 06:54: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-22 06:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:54: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-22 06: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-22 06: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-22 06:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:54:33] 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-22 06:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:54:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":50242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:54:33] local.INFO: GPS data processed {"connection_id":50242,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:54:33] local.INFO: Acknowledgment sent {"connection_id":50242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:54:40] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:54:40] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:54:40] local.INFO: IMEI packet received {"connection_id":50373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":50373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:54:47] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:54:47] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:54:47] local.INFO: IMEI packet received {"connection_id":50373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":50373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:54:48] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:54:48] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:54:48] local.INFO: Packet analysis {"connection_id":50373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:54:48] local.INFO: Extracted packet for processing {"connection_id":50373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:54:48] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 06:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866105600001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776821029000,"timestamp_ms":1776821029000,"timestamp_seconds":1776821029,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c94888"} 
[2026-04-22 06:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:54:48] 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-22 06:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866105600001,"66":13037,"83":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 06:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866105600001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 06:54:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866105600001,"power":13037,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":50373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:54:48] local.INFO: GPS data processed {"connection_id":50373,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:54:48] local.INFO: Acknowledgment sent {"connection_id":50373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:55:04] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:55:04] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:55:04] local.INFO: Packet analysis {"connection_id":50242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:55:04] local.INFO: Extracted packet for processing {"connection_id":50242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:55: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-22 06:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 06:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:55: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-22 06:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 06:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":50242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:55:04] local.INFO: GPS data processed {"connection_id":50242,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:55:04] local.INFO: Acknowledgment sent {"connection_id":50242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:55:12] local.INFO: TCP Data received {"connection_id":49990,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:55:12] local.INFO: Processing buffer {"connection_id":49990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:55:12] local.INFO: IMEI packet received {"connection_id":49990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":49990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:55:27] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:55:27] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:55:27] local.INFO: IMEI packet received {"connection_id":50374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":50374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:55:30] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:55:30] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:55:30] local.INFO: IMEI packet received {"connection_id":50375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":50375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:55:32] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:55:32] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:55:32] local.INFO: IMEI packet received {"connection_id":50374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:55:33] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:55:33] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c5f8e0012d7f960005afd7d00000015622..."} 
[2026-04-22 06:55:33] local.INFO: Packet analysis {"connection_id":50374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:55:33] local.INFO: Extracted packet for processing {"connection_id":50374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 06:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866050816001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:55:33] 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-22 06:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776820812000,"timestamp_ms":1776820812000,"timestamp_seconds":1776820812,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c5f8e0"} 
[2026-04-22 06: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-22 06:55: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-22 06: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 06:55: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-22 06: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-22 06: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-22 06:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866050816001,"66":25451,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866050816001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:55:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866050816001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:55:33] local.INFO: GPS data processed {"connection_id":50374,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:55:33] local.INFO: Acknowledgment sent {"connection_id":50374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:55:36] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:55:36] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:55:36] local.INFO: IMEI packet received {"connection_id":50375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":50375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:55:36] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:55:36] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:55:36] local.INFO: Packet analysis {"connection_id":50375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:55:36] local.INFO: Extracted packet for processing {"connection_id":50375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 06:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866105600001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776821029000,"timestamp_ms":1776821029000,"timestamp_seconds":1776821029,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c94888"} 
[2026-04-22 06:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866105600001,"66":13037,"83":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 06:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866105600001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 06:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866105600001,"power":13037,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":50375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:55:36] local.INFO: GPS data processed {"connection_id":50375,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:55:36] local.INFO: Acknowledgment sent {"connection_id":50375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:55:51] local.INFO: TCP Data received {"connection_id":50243,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:55:51] local.INFO: Processing buffer {"connection_id":50243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 06:55:51] local.INFO: IMEI packet received {"connection_id":50243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 06:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":50243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:56:04] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:56:04] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:56:04] local.INFO: Packet analysis {"connection_id":50374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:56:04] local.INFO: Extracted packet for processing {"connection_id":50374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56: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-22 06:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 06: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-22 06:56: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-22 06: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:56: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-22 06: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-22 06: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-22 06:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:56: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-22 06:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:56:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":50374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:56:04] local.INFO: GPS data processed {"connection_id":50374,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:56:04] local.INFO: Acknowledgment sent {"connection_id":50374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:56:07] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:56:07] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:56:07] local.INFO: Packet analysis {"connection_id":50375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:56:07] local.INFO: Extracted packet for processing {"connection_id":50375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866105600001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776821029000,"timestamp_ms":1776821029000,"timestamp_seconds":1776821029,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c94888"} 
[2026-04-22 06: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-22 06:56: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-22 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:56:07] 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-22 06: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-22 06: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-22 06:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866105600001,"66":13037,"83":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 06:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866105600001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 06:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866105600001,"power":13037,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":50375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:56:07] local.INFO: GPS data processed {"connection_id":50375,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:56:07] local.INFO: Acknowledgment sent {"connection_id":50375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:56:27] local.INFO: TCP Data received {"connection_id":49991,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:56:27] local.INFO: Processing buffer {"connection_id":49991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:56:27] local.INFO: IMEI packet received {"connection_id":49991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":49991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:56:32] local.INFO: TCP Data received {"connection_id":49991,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:56:32] local.INFO: Processing buffer {"connection_id":49991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:56:32] local.INFO: IMEI packet received {"connection_id":49991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":49991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:56:33] local.INFO: TCP Data received {"connection_id":49991,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:56:33] local.INFO: Processing buffer {"connection_id":49991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:56:33] local.INFO: Packet analysis {"connection_id":49991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:56:33] local.INFO: Extracted packet for processing {"connection_id":49991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:33] 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-22 06:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 06: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-22 06:56: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-22 06: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:56: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-22 06: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-22 06: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-22 06:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:56:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":49991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:56:33] local.INFO: GPS data processed {"connection_id":49991,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:56:33] local.INFO: Acknowledgment sent {"connection_id":49991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:56:36] local.INFO: TCP Data received {"connection_id":50909,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:56:36] local.INFO: Processing buffer {"connection_id":50909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:56:36] local.INFO: IMEI packet received {"connection_id":50909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":50909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:56:41] local.INFO: TCP Data received {"connection_id":50909,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:56:41] local.INFO: Processing buffer {"connection_id":50909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:56:41] local.INFO: IMEI packet received {"connection_id":50909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":50909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:56:42] local.INFO: TCP Data received {"connection_id":50909,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:56:42] local.INFO: Processing buffer {"connection_id":50909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:56:42] local.INFO: Packet analysis {"connection_id":50909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:56:42] local.INFO: Extracted packet for processing {"connection_id":50909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 06:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866105600001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776821029000,"timestamp_ms":1776821029000,"timestamp_seconds":1776821029,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c94888"} 
[2026-04-22 06:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:56:42] 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-22 06:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:56:42] 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-22 06:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866105600001,"66":13037,"83":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 06:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866105600001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 06:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866105600001,"power":13037,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":50909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:56:42] local.INFO: GPS data processed {"connection_id":50909,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:56:42] local.INFO: Acknowledgment sent {"connection_id":50909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:56:46] local.INFO: TCP Data received {"connection_id":50909,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:56:46] local.INFO: Processing buffer {"connection_id":50909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:56:46] local.INFO: Packet analysis {"connection_id":50909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:56:46] local.INFO: Extracted packet for processing {"connection_id":50909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:56:46] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866105600001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776821029000,"timestamp_ms":1776821029000,"timestamp_seconds":1776821029,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c94888"} 
[2026-04-22 06: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-22 06:56: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-22 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:56: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-22 06: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-22 06: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-22 06:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866105600001,"66":13037,"83":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 06:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866105600001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 06:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866105600001,"power":13037,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":50909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:56:46] local.INFO: GPS data processed {"connection_id":50909,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:56:46] local.INFO: Acknowledgment sent {"connection_id":50909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:57:04] local.INFO: TCP Data received {"connection_id":49991,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:57:04] local.INFO: Processing buffer {"connection_id":49991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:57:04] local.INFO: Packet analysis {"connection_id":49991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:57:04] local.INFO: Extracted packet for processing {"connection_id":49991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:57: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-22 06:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 06:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:57: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-22 06:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:57: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-22 06:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:57:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":49991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:57:04] local.INFO: GPS data processed {"connection_id":49991,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:57:04] local.INFO: Acknowledgment sent {"connection_id":49991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:57:27] local.INFO: TCP Data received {"connection_id":50377,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:57:27] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:57:27] local.INFO: IMEI packet received {"connection_id":50377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":50377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:57:31] local.INFO: TCP Data received {"connection_id":50378,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:57:31] local.INFO: Processing buffer {"connection_id":50378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:57:31] local.INFO: IMEI packet received {"connection_id":50378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":50378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:57:32] local.INFO: TCP Data received {"connection_id":50377,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:57:32] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:57:32] local.INFO: IMEI packet received {"connection_id":50377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:57:33] local.INFO: TCP Data received {"connection_id":50377,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:57:33] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:57:33] local.INFO: Packet analysis {"connection_id":50377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:57:33] local.INFO: Extracted packet for processing {"connection_id":50377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:57:33] 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-22 06:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 06:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:57: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-22 06:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:57: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-22 06:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:57:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:57:33] local.INFO: GPS data processed {"connection_id":50377,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:57:33] local.INFO: Acknowledgment sent {"connection_id":50377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:57:36] local.INFO: TCP Data received {"connection_id":50378,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:57:36] local.INFO: Processing buffer {"connection_id":50378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:57:36] local.INFO: IMEI packet received {"connection_id":50378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":50378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:57:37] local.INFO: TCP Data received {"connection_id":50378,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:57:37] local.INFO: Processing buffer {"connection_id":50378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:57:37] local.INFO: Packet analysis {"connection_id":50378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:57:37] local.INFO: Extracted packet for processing {"connection_id":50378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 06:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866105600001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776821029000,"timestamp_ms":1776821029000,"timestamp_seconds":1776821029,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c94888"} 
[2026-04-22 06:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:57:37] 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-22 06:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:57:37] 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-22 06:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866105600001,"66":13037,"83":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 06:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866105600001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 06:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866105600001,"power":13037,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":50378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:57:37] local.INFO: GPS data processed {"connection_id":50378,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:57:37] local.INFO: Acknowledgment sent {"connection_id":50378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:58:04] local.INFO: TCP Data received {"connection_id":50377,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:58:04] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:58:04] local.INFO: Packet analysis {"connection_id":50377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:58:04] local.INFO: Extracted packet for processing {"connection_id":50377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58: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-22 06:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 06:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:58: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-22 06:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:58: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-22 06:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:58: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-22 06:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:58:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":50377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:58:04] local.INFO: GPS data processed {"connection_id":50377,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:58:04] local.INFO: Acknowledgment sent {"connection_id":50377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:58:08] local.INFO: TCP Data received {"connection_id":50378,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:58:08] local.INFO: Processing buffer {"connection_id":50378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:58:08] local.INFO: Packet analysis {"connection_id":50378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:58:08] local.INFO: Extracted packet for processing {"connection_id":50378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866105600001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776821029000,"timestamp_ms":1776821029000,"timestamp_seconds":1776821029,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c94888"} 
[2026-04-22 06: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-22 06:58: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-22 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06: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-22 06: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-22 06:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866105600001,"66":13037,"83":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 06:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866105600001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 06:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866105600001,"power":13037,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":50378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:58:08] local.INFO: GPS data processed {"connection_id":50378,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:58:08] local.INFO: Acknowledgment sent {"connection_id":50378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:58:27] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:58:27] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:58:27] local.INFO: IMEI packet received {"connection_id":50379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:58:31] local.INFO: TCP Data received {"connection_id":49993,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:58:31] local.INFO: Processing buffer {"connection_id":49993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:58:31] local.INFO: IMEI packet received {"connection_id":49993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 06:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":49993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:58:32] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:58:32] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:58:32] local.INFO: IMEI packet received {"connection_id":50379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:58:33] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:58:33] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:58:33] local.INFO: Packet analysis {"connection_id":50379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:58:33] local.INFO: Extracted packet for processing {"connection_id":50379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06: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-22 06:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:33] 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-22 06:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 06: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-22 06:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:58: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-22 06: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-22 06: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-22 06:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:58:33] 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-22 06:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:58:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:58:33] local.INFO: GPS data processed {"connection_id":50379,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:58:33] local.INFO: Acknowledgment sent {"connection_id":50379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:58:36] local.INFO: TCP Data received {"connection_id":49993,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:58:36] local.INFO: Processing buffer {"connection_id":49993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 06:58:36] local.INFO: IMEI packet received {"connection_id":49993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 06:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":49993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:58:36] local.INFO: TCP Data received {"connection_id":49993,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:58:36] local.INFO: Processing buffer {"connection_id":49993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c94888012d7c368005ceab68000b01152a..."} 
[2026-04-22 06:58:36] local.INFO: Packet analysis {"connection_id":49993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:58:36] local.INFO: Extracted packet for processing {"connection_id":49993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c9"} 
[2026-04-22 06:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 06:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866105600001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703131781120,"note":"Value kept but may cause issues"} 
[2026-04-22 06:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 06:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776821029000,"timestamp_ms":1776821029000,"timestamp_seconds":1776821029,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c94888"} 
[2026-04-22 06:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 06:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 06:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 06:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":49993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":49993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":49993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 06:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 06:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 06:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866105600001,"66":13037,"83":206,"85":15104,"24":0,"16":74755138442493952,"45":8950411703131781120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 06:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 06:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 06:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866105600001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 06:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 06:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703131781120,"description":"Unknown IO ID 45"} 
[2026-04-22 06:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866105600001,"power":13037,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950411703131781120}} 
[2026-04-22 06:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":49993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:58:36] local.INFO: GPS data processed {"connection_id":49993,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:58:36] local.INFO: Acknowledgment sent {"connection_id":49993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:59:04] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:59:04] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:59:04] local.INFO: Packet analysis {"connection_id":50379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:59:04] local.INFO: Extracted packet for processing {"connection_id":50379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 06:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 06:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:59: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-22 06:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 06:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 06:59: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-22 06:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:59: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-22 06:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 06:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 06:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:59:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":50379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:59:04] local.INFO: GPS data processed {"connection_id":50379,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:59:04] local.INFO: Acknowledgment sent {"connection_id":50379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 06:59:27] local.INFO: TCP Data received {"connection_id":50381,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:59:27] local.INFO: Processing buffer {"connection_id":50381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:59:27] local.INFO: IMEI packet received {"connection_id":50381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 06:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":50381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 06:59:32] local.INFO: TCP Data received {"connection_id":50381,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:59:32] local.INFO: Processing buffer {"connection_id":50381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 06:59:32] local.INFO: IMEI packet received {"connection_id":50381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 06:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 06:59:33] local.INFO: TCP Data received {"connection_id":50381,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:59:33] local.INFO: Processing buffer {"connection_id":50381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 06:59:33] local.INFO: Packet analysis {"connection_id":50381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:59:33] local.INFO: Extracted packet for processing {"connection_id":50381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 06:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 06:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 06:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 06:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 06:59:33] 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-22 06:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 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-22 06: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-22 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 06:59: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-22 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-22 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-22 06:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 06:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 06:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 06:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 06:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 06:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 06:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 06:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 06:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 06:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 06:59:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 06:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 06:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 06:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 06:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 06:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":50381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 06:59:33] local.INFO: GPS data processed {"connection_id":50381,"processed":1,"errors":0,"total":1} 
[2026-04-22 06:59:33] local.INFO: Acknowledgment sent {"connection_id":50381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:00:04] local.INFO: TCP Data received {"connection_id":50381,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 07:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 07:00:04] local.INFO: Processing buffer {"connection_id":50381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 07:00:04] local.INFO: Packet analysis {"connection_id":50381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 07:00:04] local.INFO: Extracted packet for processing {"connection_id":50381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 07:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:00: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-22 07:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 07: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-22 07:00: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-22 07: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:00: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-22 07: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-22 07: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-22 07:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:00: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-22 07:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:00:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":50381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:00:04] local.INFO: GPS data processed {"connection_id":50381,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:00:04] local.INFO: Acknowledgment sent {"connection_id":50381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:00:32] local.INFO: TCP Data received {"connection_id":50911,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:00:32] local.INFO: Processing buffer {"connection_id":50911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:00:32] local.INFO: IMEI packet received {"connection_id":50911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:00:37] local.INFO: TCP Data received {"connection_id":50911,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:00:37] local.INFO: Processing buffer {"connection_id":50911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:00:37] local.INFO: IMEI packet received {"connection_id":50911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":50911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:00:38] local.INFO: TCP Data received {"connection_id":50911,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 07:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 07:00:38] local.INFO: Processing buffer {"connection_id":50911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 07:00:38] local.INFO: Packet analysis {"connection_id":50911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 07:00:38] local.INFO: Extracted packet for processing {"connection_id":50911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 07:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:00:38] 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-22 07:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 07:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:00:38] 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-22 07:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:00:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":50911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:00:38] local.INFO: GPS data processed {"connection_id":50911,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:00:38] local.INFO: Acknowledgment sent {"connection_id":50911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:00:42] local.INFO: TCP Data received {"connection_id":50911,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 07:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 07:00:42] local.INFO: Processing buffer {"connection_id":50911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ca90a8012d7f960005afd7d00000015625..."} 
[2026-04-22 07:00:42] local.INFO: Packet analysis {"connection_id":50911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 07:00:42] local.INFO: Extracted packet for processing {"connection_id":50911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ca"} 
[2026-04-22 07:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":37,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866127872001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:00:42] 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-22 07:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776821113000,"timestamp_ms":1776821113000,"timestamp_seconds":1776821113,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ca90a8"} 
[2026-04-22 07:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:00:42] 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-22 07:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:00:42] 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-22 07:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866127872001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866127872001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:00:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866127872001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":50911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:00:42] local.INFO: GPS data processed {"connection_id":50911,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:00:42] local.INFO: Acknowledgment sent {"connection_id":50911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:01:22] local.INFO: TCP Data received {"connection_id":49994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:01:22] local.INFO: Processing buffer {"connection_id":49994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:01:22] local.INFO: IMEI packet received {"connection_id":49994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":49994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:01:27] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:01:27] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:01:27] local.INFO: IMEI packet received {"connection_id":50244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":50244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:01:32] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:01:32] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:01:32] local.INFO: IMEI packet received {"connection_id":50244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":50244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:01:33] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:01:33] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:01:33] local.INFO: Packet analysis {"connection_id":50244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:01:33] local.INFO: Extracted packet for processing {"connection_id":50244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:01:33] 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-22 07:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07: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-22 07: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-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:01:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":50244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:01:33] local.INFO: GPS data processed {"connection_id":50244,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:01:33] local.INFO: Acknowledgment sent {"connection_id":50244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:01:51] local.INFO: TCP Data received {"connection_id":50912,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:01:51] local.INFO: Processing buffer {"connection_id":50912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:01:51] local.INFO: IMEI packet received {"connection_id":50912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":50912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:02:04] local.INFO: TCP Data received {"connection_id":50244,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:02:04] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:02:04] local.INFO: Packet analysis {"connection_id":50244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:02:04] local.INFO: Extracted packet for processing {"connection_id":50244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:02: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-22 07:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07: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-22 07:02: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-22 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:02: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-22 07: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-22 07: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-22 07:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:02:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":50244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:02:04] local.INFO: GPS data processed {"connection_id":50244,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:02:04] local.INFO: Acknowledgment sent {"connection_id":50244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:02:27] local.INFO: TCP Data received {"connection_id":50382,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:02:27] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:02:27] local.INFO: IMEI packet received {"connection_id":50382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:02:32] local.INFO: TCP Data received {"connection_id":50382,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:02:32] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:02:32] local.INFO: IMEI packet received {"connection_id":50382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:02:33] local.INFO: TCP Data received {"connection_id":50382,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:02:33] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:02:33] local.INFO: Packet analysis {"connection_id":50382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:02:33] local.INFO: Extracted packet for processing {"connection_id":50382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:02:33] 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-22 07:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07: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-22 07:02: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-22 07:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:02:33] 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-22 07:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:02:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:02:33] local.INFO: GPS data processed {"connection_id":50382,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:02:33] local.INFO: Acknowledgment sent {"connection_id":50382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:03:04] local.INFO: TCP Data received {"connection_id":50382,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:03:04] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:03:04] local.INFO: Packet analysis {"connection_id":50382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:03:04] local.INFO: Extracted packet for processing {"connection_id":50382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:03: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-22 07:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:03: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-22 07:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:03: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-22 07:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:03: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-22 07:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:03:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:03:04] local.INFO: GPS data processed {"connection_id":50382,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:03:04] local.INFO: Acknowledgment sent {"connection_id":50382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:03:27] local.INFO: TCP Data received {"connection_id":50383,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:03:27] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:03:27] local.INFO: IMEI packet received {"connection_id":50383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:03:32] local.INFO: TCP Data received {"connection_id":50383,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:03:32] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:03:32] local.INFO: IMEI packet received {"connection_id":50383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:03:33] local.INFO: TCP Data received {"connection_id":50383,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:03:33] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:03:33] local.INFO: Packet analysis {"connection_id":50383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:03:33] local.INFO: Extracted packet for processing {"connection_id":50383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:03:33] 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-22 07:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07: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-22 07:03: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-22 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:03:33] local.INFO: GPS data processed {"connection_id":50383,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:03:33] local.INFO: Acknowledgment sent {"connection_id":50383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:04:04] local.INFO: TCP Data received {"connection_id":50383,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:04:04] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:04:04] local.INFO: Packet analysis {"connection_id":50383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:04:04] local.INFO: Extracted packet for processing {"connection_id":50383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:04: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-22 07:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07: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-22 07:04: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-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:04: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-22 07: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-22 07: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-22 07:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:04:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:04:04] local.INFO: GPS data processed {"connection_id":50383,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:04:04] local.INFO: Acknowledgment sent {"connection_id":50383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:04:32] local.INFO: TCP Data received {"connection_id":50245,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:04:32] local.INFO: Processing buffer {"connection_id":50245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:04:32] local.INFO: IMEI packet received {"connection_id":50245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":50245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:04:33] local.INFO: TCP Data received {"connection_id":50245,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:04:33] local.INFO: Processing buffer {"connection_id":50245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:04:33] local.INFO: Packet analysis {"connection_id":50245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:04:33] local.INFO: Extracted packet for processing {"connection_id":50245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:04:33] 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-22 07:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:04: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-22 07:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":50245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:04:33] local.INFO: GPS data processed {"connection_id":50245,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:04:33] local.INFO: Acknowledgment sent {"connection_id":50245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:05:04] local.INFO: TCP Data received {"connection_id":50245,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:05:04] local.INFO: Processing buffer {"connection_id":50245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:05:04] local.INFO: Packet analysis {"connection_id":50245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:05:04] local.INFO: Extracted packet for processing {"connection_id":50245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:05: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-22 07:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:05: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-22 07:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:05: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-22 07:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:05: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-22 07:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:05:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":50245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:05:04] local.INFO: GPS data processed {"connection_id":50245,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:05:04] local.INFO: Acknowledgment sent {"connection_id":50245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:05:27] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:05:27] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:05:27] local.INFO: IMEI packet received {"connection_id":50385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:05:32] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:05:32] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:05:32] local.INFO: IMEI packet received {"connection_id":50385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:05:33] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:05:33] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:05:33] local.INFO: Packet analysis {"connection_id":50385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:05:33] local.INFO: Extracted packet for processing {"connection_id":50385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:05:33] 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-22 07:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07: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-22 07:05: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-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:05:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":50385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:05:33] local.INFO: GPS data processed {"connection_id":50385,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:05:33] local.INFO: Acknowledgment sent {"connection_id":50385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:05:37] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:05:37] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cf2870012d7f960005afd7d00000015620..."} 
[2026-04-22 07:05:37] local.INFO: Packet analysis {"connection_id":50385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:05:37] local.INFO: Extracted packet for processing {"connection_id":50385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cf"} 
[2026-04-22 07:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866204928001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:05:37] 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-22 07:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776821414000,"timestamp_ms":1776821414000,"timestamp_seconds":1776821414,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cf2870"} 
[2026-04-22 07: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-22 07:05: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-22 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:05:37] 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-22 07: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-22 07: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-22 07:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:05: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-22 07:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866204928001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866204928001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:05:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866204928001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":50385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:05:37] local.INFO: GPS data processed {"connection_id":50385,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:05:37] local.INFO: Acknowledgment sent {"connection_id":50385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:06:08] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:06:08] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:06:08] local.INFO: Packet analysis {"connection_id":50385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:06:08] local.INFO: Extracted packet for processing {"connection_id":50385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:06: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-22 07:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 07:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:06: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-22 07:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:06: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-22 07:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:06: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-22 07:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:06:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":50385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:06:08] local.INFO: GPS data processed {"connection_id":50385,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:06:08] local.INFO: Acknowledgment sent {"connection_id":50385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:06:27] local.INFO: TCP Data received {"connection_id":50915,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:06:27] local.INFO: Processing buffer {"connection_id":50915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:06:27] local.INFO: IMEI packet received {"connection_id":50915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:06:32] local.INFO: TCP Data received {"connection_id":50915,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:06:32] local.INFO: Processing buffer {"connection_id":50915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:06:32] local.INFO: IMEI packet received {"connection_id":50915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:06:33] local.INFO: TCP Data received {"connection_id":50915,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:06:33] local.INFO: Processing buffer {"connection_id":50915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:06:33] local.INFO: Packet analysis {"connection_id":50915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:06:33] local.INFO: Extracted packet for processing {"connection_id":50915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:06:33] 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-22 07:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 07: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-22 07:06: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:06: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-22 07: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-22 07: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-22 07:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:06: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-22 07:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:06:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:06:33] local.INFO: GPS data processed {"connection_id":50915,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:06:33] local.INFO: Acknowledgment sent {"connection_id":50915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:07:04] local.INFO: TCP Data received {"connection_id":50915,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:07:04] local.INFO: Processing buffer {"connection_id":50915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:07:04] local.INFO: Packet analysis {"connection_id":50915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:07:04] local.INFO: Extracted packet for processing {"connection_id":50915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:07: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-22 07:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 07: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-22 07:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:07: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-22 07:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:07:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:07:04] local.INFO: GPS data processed {"connection_id":50915,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:07:04] local.INFO: Acknowledgment sent {"connection_id":50915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:07:22] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:07:22] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:07:22] local.INFO: IMEI packet received {"connection_id":50247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":50247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:07:27] local.INFO: TCP Data received {"connection_id":49995,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:07:27] local.INFO: Processing buffer {"connection_id":49995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:07:27] local.INFO: IMEI packet received {"connection_id":49995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":49995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:07:32] local.INFO: TCP Data received {"connection_id":49995,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:07:32] local.INFO: Processing buffer {"connection_id":49995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:07:32] local.INFO: IMEI packet received {"connection_id":49995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":49995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:07:33] local.INFO: TCP Data received {"connection_id":49995,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:07:33] local.INFO: Processing buffer {"connection_id":49995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:07:33] local.INFO: Packet analysis {"connection_id":49995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:07:33] local.INFO: Extracted packet for processing {"connection_id":49995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:07:33] 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-22 07:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 07: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-22 07:07: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:07: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-22 07: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-22 07: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-22 07:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:07:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":49995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:07:33] local.INFO: GPS data processed {"connection_id":49995,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:07:33] local.INFO: Acknowledgment sent {"connection_id":49995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:07:57] local.INFO: TCP Data received {"connection_id":50916,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:07:57] local.INFO: Processing buffer {"connection_id":50916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:07:57] local.INFO: IMEI packet received {"connection_id":50916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":50916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:08:04] local.INFO: TCP Data received {"connection_id":49995,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:08:04] local.INFO: Processing buffer {"connection_id":49995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:08:04] local.INFO: Packet analysis {"connection_id":49995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:08:04] local.INFO: Extracted packet for processing {"connection_id":49995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08: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-22 07:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 07: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-22 07:08: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-22 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":49995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":49995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":49995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:08:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":49995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:08:04] local.INFO: GPS data processed {"connection_id":49995,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:08:04] local.INFO: Acknowledgment sent {"connection_id":49995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:08:26] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:08:26] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:08:26] local.INFO: IMEI packet received {"connection_id":50386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":50386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:08:27] local.INFO: TCP Data received {"connection_id":50387,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:08:27] local.INFO: Processing buffer {"connection_id":50387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:08:27] local.INFO: IMEI packet received {"connection_id":50387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":50387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:08:27] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:08:27] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:08:27] local.INFO: IMEI packet received {"connection_id":50386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":50386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:08:30] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:08:30] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:08:30] local.INFO: IMEI packet received {"connection_id":50386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":50386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:08:32] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cdc8e0012d7c368005ceab68000b011529..."} 
[2026-04-22 07:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cdc8e0012d7c368005ceab68000b011529..."} 
[2026-04-22 07:08:32] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cdc8e0012d7c368005ceab68000b011529..."} 
[2026-04-22 07:08:32] local.INFO: Packet analysis {"connection_id":50386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cd"} 
[2026-04-22 07:08:32] local.INFO: Extracted packet for processing {"connection_id":50386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cd"} 
[2026-04-22 07:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 07:08:32] 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-22 07:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866258944001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950482071875971072,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776821324000,"timestamp_ms":1776821324000,"timestamp_seconds":1776821324,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cdc8e0"} 
[2026-04-22 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-22 07:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-22 07:08:32] 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-22 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-22 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-22 07:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866258944001,"66":12765,"129":206,"85":15104,"24":0,"16":74755138442493952,"45":8950482071875971072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 07:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866258944001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:08:32] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 07:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950482071875971072,"description":"Unknown IO ID 45"} 
[2026-04-22 07:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866258944001,"power":12765,"unknown_129":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950482071875971072}} 
[2026-04-22 07:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":50386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:08:32] local.INFO: GPS data processed {"connection_id":50386,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:08:32] local.INFO: Acknowledgment sent {"connection_id":50386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:08:32] local.INFO: TCP Data received {"connection_id":50387,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:08:32] local.INFO: Processing buffer {"connection_id":50387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:08:32] local.INFO: IMEI packet received {"connection_id":50387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:08:33] local.INFO: TCP Data received {"connection_id":50387,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:08:33] local.INFO: Processing buffer {"connection_id":50387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:08:33] local.INFO: Packet analysis {"connection_id":50387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:08:33] local.INFO: Extracted packet for processing {"connection_id":50387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:33] 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-22 07:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 07: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-22 07:08: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:08: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-22 07: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-22 07: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-22 07:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:08:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":50387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:08:33] local.INFO: GPS data processed {"connection_id":50387,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:08:33] local.INFO: Acknowledgment sent {"connection_id":50387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:08:39] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2cde050012d7c368005ceab68000b01152a..."} 
[2026-04-22 07:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2cde050012d7c368005ceab68000b01152a..."} 
[2026-04-22 07:08:39] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2cde050012d7c368005ceab68000b01152a..."} 
[2026-04-22 07:08:39] local.INFO: Packet analysis {"connection_id":50386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2cd"} 
[2026-04-22 07:08:39] local.INFO: Extracted packet for processing {"connection_id":50386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2cd"} 
[2026-04-22 07:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 07:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866258944001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950482071875971072,"note":"Value kept but may cause issues"} 
[2026-04-22 07:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776821330000,"timestamp_ms":1776821330000,"timestamp_seconds":1776821330,"priority":1,"record_length":96,"hex_timestamp":"0000019db2cde050"} 
[2026-04-22 07:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-22 07:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866258944001,"66":2416,"129":206,"85":15104,"24":0,"16":74755138442493952,"45":8950482071875971072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 07:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866258944001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:08:39] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 07:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950482071875971072,"description":"Unknown IO ID 45"} 
[2026-04-22 07:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866258944001,"power":2416,"unknown_129":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950482071875971072}} 
[2026-04-22 07:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":50386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:08:39] local.INFO: GPS data processed {"connection_id":50386,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:08:39] local.INFO: Acknowledgment sent {"connection_id":50386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:09:04] local.INFO: TCP Data received {"connection_id":50387,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:09:04] local.INFO: Processing buffer {"connection_id":50387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:09:04] local.INFO: Packet analysis {"connection_id":50387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:09:04] local.INFO: Extracted packet for processing {"connection_id":50387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09: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-22 07:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 07:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:09: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-22 07:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:09:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":50387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:09:04] local.INFO: GPS data processed {"connection_id":50387,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:09:04] local.INFO: Acknowledgment sent {"connection_id":50387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:09:11] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d5bc08012d7c368005ceab68000b01152b..."} 
[2026-04-22 07:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d5bc08012d7c368005ceab68000b01152b..."} 
[2026-04-22 07:09:11] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d5bc08012d7c368005ceab68000b01152b..."} 
[2026-04-22 07:09:11] local.INFO: Packet analysis {"connection_id":50386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d5"} 
[2026-04-22 07:09:11] local.INFO: Extracted packet for processing {"connection_id":50386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d5"} 
[2026-04-22 07:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 07:09:11] 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-22 07:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866260480001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950482071875971072,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:11] 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-22 07:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776821845000,"timestamp_ms":1776821845000,"timestamp_seconds":1776821845,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d5bc08"} 
[2026-04-22 07:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 07:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866260480001,"66":1622,"24":0,"16":74755138442493952,"45":8950482071875971072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-04-22 07:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866260480001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950482071875971072,"description":"Unknown IO ID 45"} 
[2026-04-22 07:09:11] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":454866260480001,"power":1622,"ignition":0,"odometer":null,"unknown_45":8950482071875971072}} 
[2026-04-22 07:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":50386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:09:11] local.INFO: GPS data processed {"connection_id":50386,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:09:11] local.INFO: Acknowledgment sent {"connection_id":50386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:09:30] local.INFO: TCP Data received {"connection_id":50918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:09:30] local.INFO: Processing buffer {"connection_id":50918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:09:30] local.INFO: IMEI packet received {"connection_id":50918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":50918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:09:32] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:09:32] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:09:32] local.INFO: IMEI packet received {"connection_id":50388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:09:36] local.INFO: TCP Data received {"connection_id":50918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:09:36] local.INFO: Processing buffer {"connection_id":50918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:09:36] local.INFO: IMEI packet received {"connection_id":50918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":50918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:09:37] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:09:37] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:09:37] local.INFO: IMEI packet received {"connection_id":50388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":50388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:09:38] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:09:38] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:09:38] local.INFO: Packet analysis {"connection_id":50388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:09:38] local.INFO: Extracted packet for processing {"connection_id":50388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:38] 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-22 07:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 07:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:09:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":50388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:09:38] local.INFO: GPS data processed {"connection_id":50388,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:09:38] local.INFO: Acknowledgment sent {"connection_id":50388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:09:38] local.INFO: TCP Data received {"connection_id":50918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d5bc08012d7c368005ceab68000b01152b..."} 
[2026-04-22 07:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d5bc08012d7c368005ceab68000b01152b..."} 
[2026-04-22 07:09:38] local.INFO: Processing buffer {"connection_id":50918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d5bc08012d7c368005ceab68000b01152b..."} 
[2026-04-22 07:09:38] local.INFO: Packet analysis {"connection_id":50918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d5"} 
[2026-04-22 07:09:38] local.INFO: Extracted packet for processing {"connection_id":50918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d5"} 
[2026-04-22 07:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":97430376,"longitude_deg":76.3115136,"latitude_deg":9.7430376,"altitude":11,"angle":277,"satellites":43,"speed":0,"hex_longitude":"2d7c3680","hex_latitude":"05ceab68","is_valid_coordinates":true} 
[2026-04-22 07:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866392320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74755138442493952,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950482071875971072,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:38] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-04-22 07:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776821845000,"timestamp_ms":1776821845000,"timestamp_seconds":1776821845,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d5bc08"} 
[2026-04-22 07:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":6,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866392320001,"66":1622,"24":0,"16":74755138442493952,"45":8950482071875971072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-04-22 07:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866392320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74755138442493952,"km_value":74755138442493.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950482071875971072,"description":"Unknown IO ID 45"} 
[2026-04-22 07:09:38] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":454866392320001,"power":1622,"ignition":0,"odometer":null,"unknown_45":8950482071875971072}} 
[2026-04-22 07:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":50918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:09:38] local.INFO: GPS data processed {"connection_id":50918,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:09:38] local.INFO: Acknowledgment sent {"connection_id":50918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:09:42] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:09:42] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:09:42] local.INFO: Packet analysis {"connection_id":50388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:09:42] local.INFO: Extracted packet for processing {"connection_id":50388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:09:42] 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-22 07:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 07:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:09:42] 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-22 07:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:09:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":50388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:09:42] local.INFO: GPS data processed {"connection_id":50388,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:09:42] local.INFO: Acknowledgment sent {"connection_id":50388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:10:09] local.INFO: TCP Data received {"connection_id":50918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d7f658012d7b428005cec1300000004d2d..."} 
[2026-04-22 07:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d7f658012d7b428005cec1300000004d2d..."} 
[2026-04-22 07:10:09] local.INFO: Processing buffer {"connection_id":50918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d7f658012d7b428005cec1300000004d2d..."} 
[2026-04-22 07:10:09] local.INFO: Packet analysis {"connection_id":50918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d7"} 
[2026-04-22 07:10:09] local.INFO: Extracted packet for processing {"connection_id":50918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d7"} 
[2026-04-22 07:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763052672,"raw_latitude":97435952,"longitude_deg":76.3052672,"latitude_deg":9.7435952,"altitude":0,"angle":77,"satellites":45,"speed":5,"hex_longitude":"2d7b4280","hex_latitude":"05cec130","is_valid_coordinates":true} 
[2026-04-22 07:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866428160001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74758217934045184,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881661440071634944,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776821991000,"timestamp_ms":1776821991000,"timestamp_seconds":1776821991,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d7f658"} 
[2026-04-22 07:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:10:09] 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-22 07:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-22 07:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866428160001,"66":13613,"83":206,"85":15104,"24":5,"16":74758217934045184,"45":8881661440071634944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866428160001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74758217934045184,"km_value":74758217934045.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881661440071634944,"description":"Unknown IO ID 45"} 
[2026-04-22 07:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866428160001,"power":13613,"unknown_83":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8881661440071634944}} 
[2026-04-22 07:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":50918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:10:09] local.INFO: GPS data processed {"connection_id":50918,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:10:09] local.INFO: Acknowledgment sent {"connection_id":50918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:10:27] local.INFO: TCP Data received {"connection_id":49996,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:10:27] local.INFO: Processing buffer {"connection_id":49996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:10:27] local.INFO: IMEI packet received {"connection_id":49996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":49996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:10:32] local.INFO: TCP Data received {"connection_id":49996,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:10:32] local.INFO: Processing buffer {"connection_id":49996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:10:32] local.INFO: IMEI packet received {"connection_id":49996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":49996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:10:33] local.INFO: TCP Data received {"connection_id":49996,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:10:33] local.INFO: Processing buffer {"connection_id":49996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d3c038012d7f960005afd7d00000015621..."} 
[2026-04-22 07:10:33] local.INFO: Packet analysis {"connection_id":49996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:10:33] local.INFO: Extracted packet for processing {"connection_id":49996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d3"} 
[2026-04-22 07:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866281984001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:33] 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-22 07:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776821715000,"timestamp_ms":1776821715000,"timestamp_seconds":1776821715,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d3c038"} 
[2026-04-22 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-22 07:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:10: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-22 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-22 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-22 07:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":49996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":49996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":49996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866281984001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866281984001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866281984001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":49996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:10:33] local.INFO: GPS data processed {"connection_id":49996,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:10:33] local.INFO: Acknowledgment sent {"connection_id":49996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:10:36] local.INFO: TCP Data received {"connection_id":49997,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:10:36] local.INFO: Processing buffer {"connection_id":49997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:10:36] local.INFO: IMEI packet received {"connection_id":49997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":49997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:10:37] local.INFO: TCP Data received {"connection_id":49997,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-22 07:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49997,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-22 07:10:37] local.INFO: Processing buffer {"connection_id":49997,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-22 07:10:37] local.INFO: IMEI packet received {"connection_id":49997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":49997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:10:41] local.INFO: TCP Data received {"connection_id":49997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d7fa40012d7b430005cec130000000672d..."} 
[2026-04-22 07:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d7fa40012d7b430005cec130000000672d..."} 
[2026-04-22 07:10:41] local.INFO: Processing buffer {"connection_id":49997,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019db2..."} 
[2026-04-22 07:10:41] local.INFO: IMEI packet received {"connection_id":49997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":49997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:10:43] local.INFO: TCP Data received {"connection_id":49997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d834d8012d7b674005ceb778000200692b..."} 
[2026-04-22 07:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d834d8012d7b674005ceb778000200692b..."} 
[2026-04-22 07:10:43] local.INFO: Processing buffer {"connection_id":49997,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019db2d7fa40012d7b430005cec130000000672d..."} 
[2026-04-22 07:10:43] local.INFO: Packet analysis {"connection_id":49997,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019db2d7"} 
[2026-04-22 07:10:43] local.INFO: Extracted packet for processing {"connection_id":49997,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d7"} 
[2026-04-22 07:10:43] local.INFO: GPS Element Parsed {"raw_longitude":763052800,"raw_latitude":97435952,"longitude_deg":76.30528,"latitude_deg":9.7435952,"altitude":0,"angle":103,"satellites":45,"speed":7,"hex_longitude":"2d7b4300","hex_latitude":"05cec130","is_valid_coordinates":true} 
[2026-04-22 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866429696001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74758226523979776,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881802177559998464,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776821992000,"timestamp_ms":1776821992000,"timestamp_seconds":1776821992,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d7fa40"} 
[2026-04-22 07:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:10:43] 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-22 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-04-22 07:10:43] 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-22 07:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866429696001,"66":13613,"83":206,"85":15104,"24":7,"16":74758226523979776,"45":8881802177559998464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866429696001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74758226523979776,"km_value":74758226523979.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881802177559998464,"description":"Unknown IO ID 45"} 
[2026-04-22 07:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866429696001,"power":13613,"unknown_83":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8881802177559998464}} 
[2026-04-22 07:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":49997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:10:43] local.INFO: GPS data processed {"connection_id":49997,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:10:43] local.INFO: Acknowledgment sent {"connection_id":49997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:10:43] local.INFO: Packet analysis {"connection_id":49997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:10:43] local.INFO: Extracted packet for processing {"connection_id":49997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:10:43] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":97433464,"longitude_deg":76.306208,"latitude_deg":9.7433464,"altitude":2,"angle":105,"satellites":43,"speed":30,"hex_longitude":"2d7b6740","hex_latitude":"05ceb778","is_valid_coordinates":true} 
[2026-04-22 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866429952001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74758681790513152,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915048353792,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776822007000,"timestamp_ms":1776822007000,"timestamp_seconds":1776822007,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d834d8"} 
[2026-04-22 07:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:10:43] 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-22 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-04-22 07:10:43] 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-22 07:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866429952001,"66":13678,"83":206,"85":15104,"24":30,"16":74758681790513152,"45":8881942915048353792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866429952001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74758681790513152,"km_value":74758681790513.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915048353792,"description":"Unknown IO ID 45"} 
[2026-04-22 07:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866429952001,"power":13678,"unknown_83":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8881942915048353792}} 
[2026-04-22 07:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":49997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:10:43] local.INFO: GPS data processed {"connection_id":49997,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:10:43] local.INFO: Acknowledgment sent {"connection_id":49997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:10:43] local.INFO: TCP Data received {"connection_id":49997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d86b88012d7b854005ceb0300004005529..."} 
[2026-04-22 07:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d86b88012d7b854005ceb0300004005529..."} 
[2026-04-22 07:10:43] local.INFO: Processing buffer {"connection_id":49997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d86b88012d7b854005ceb0300004005529..."} 
[2026-04-22 07:10:43] local.INFO: Packet analysis {"connection_id":49997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:10:43] local.INFO: Extracted packet for processing {"connection_id":49997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:10:43] local.INFO: GPS Element Parsed {"raw_longitude":763069760,"raw_latitude":97431600,"longitude_deg":76.306976,"latitude_deg":9.74316,"altitude":4,"angle":85,"satellites":41,"speed":8,"hex_longitude":"2d7b8540","hex_latitude":"05ceb030","is_valid_coordinates":true} 
[2026-04-22 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866433792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74759064042602496,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146382953478144,"note":"Value kept but may cause issues"} 
[2026-04-22 07:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776822021000,"timestamp_ms":1776822021000,"timestamp_seconds":1776822021,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d86b88"} 
[2026-04-22 07:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 07:10: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-22 07:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":49997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":49997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":49997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866433792001,"66":13472,"83":206,"85":15104,"24":8,"16":74759064042602496,"45":8892146382953478144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866433792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74759064042602496,"km_value":74759064042602.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146382953478144,"description":"Unknown IO ID 45"} 
[2026-04-22 07:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866433792001,"power":13472,"unknown_83":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8892146382953478144}} 
[2026-04-22 07:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":49997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:10:43] local.INFO: GPS data processed {"connection_id":49997,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:10:43] local.INFO: Acknowledgment sent {"connection_id":49997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:11:05] local.INFO: TCP Data received {"connection_id":49996,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:11:05] local.INFO: Processing buffer {"connection_id":49996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:11:05] local.INFO: Packet analysis {"connection_id":49996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:05] local.INFO: Extracted packet for processing {"connection_id":49996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 07: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-22 07:11: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:11: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-22 07: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-22 07: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-22 07:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":49996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":49996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":49996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:11: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-22 07:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:11:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":49996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:11:05] local.INFO: GPS data processed {"connection_id":49996,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:11:05] local.INFO: Acknowledgment sent {"connection_id":49996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:11:14] local.INFO: TCP Data received {"connection_id":49997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d88ac8012d7b874005ceb2200003000128..."} 
[2026-04-22 07:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d88ac8012d7b874005ceb2200003000128..."} 
[2026-04-22 07:11:14] local.INFO: Processing buffer {"connection_id":49997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d88ac8012d7b874005ceb2200003000128..."} 
[2026-04-22 07:11:14] local.INFO: Packet analysis {"connection_id":49997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:14] local.INFO: Extracted packet for processing {"connection_id":49997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:14] local.INFO: GPS Element Parsed {"raw_longitude":763070272,"raw_latitude":97432096,"longitude_deg":76.3070272,"latitude_deg":9.7432096,"altitude":3,"angle":1,"satellites":40,"speed":7,"hex_longitude":"2d7b8740","hex_latitude":"05ceb220","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866437376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74759102697308160,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632254320640,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776822029000,"timestamp_ms":1776822029000,"timestamp_seconds":1776822029,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d88ac8"} 
[2026-04-22 07: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-22 07:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 07:11: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-22 07: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-22 07: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-22 07:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":49997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":49997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":49997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866437376001,"66":13646,"83":206,"85":15104,"24":7,"16":74759102697308160,"45":8900590632254320640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866437376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:11:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74759102697308160,"km_value":74759102697308.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632254320640,"description":"Unknown IO ID 45"} 
[2026-04-22 07:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866437376001,"power":13646,"unknown_83":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8900590632254320640}} 
[2026-04-22 07:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":49997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:11:14] local.INFO: GPS data processed {"connection_id":49997,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:11:14] local.INFO: Acknowledgment sent {"connection_id":49997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:11:27] local.INFO: TCP Data received {"connection_id":50920,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:11:27] local.INFO: Processing buffer {"connection_id":50920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:11:27] local.INFO: IMEI packet received {"connection_id":50920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":50920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:11:32] local.INFO: TCP Data received {"connection_id":50920,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:11:32] local.INFO: Processing buffer {"connection_id":50920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:11:32] local.INFO: IMEI packet received {"connection_id":50920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:11:33] local.INFO: TCP Data received {"connection_id":50920,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:11:33] local.INFO: Processing buffer {"connection_id":50920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:11:33] local.INFO: Packet analysis {"connection_id":50920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:33] local.INFO: Extracted packet for processing {"connection_id":50920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 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-22 07:11: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:11: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-22 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-22 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-22 07:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:11:33] 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-22 07:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:11:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":50920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:11:33] local.INFO: GPS data processed {"connection_id":50920,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:11:33] local.INFO: Acknowledgment sent {"connection_id":50920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:11:35] local.INFO: TCP Data received {"connection_id":50389,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:11:35] local.INFO: Processing buffer {"connection_id":50389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:11:35] local.INFO: IMEI packet received {"connection_id":50389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":50389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:11:41] local.INFO: TCP Data received {"connection_id":50389,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:11:41] local.INFO: Processing buffer {"connection_id":50389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:11:41] local.INFO: IMEI packet received {"connection_id":50389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":50389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:11:41] local.INFO: TCP Data received {"connection_id":50389,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d8b5c0012d7b874005cec0d00002000d2c..."} 
[2026-04-22 07:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d8b5c0012d7b874005cec0d00002000d2c..."} 
[2026-04-22 07:11:41] local.INFO: Processing buffer {"connection_id":50389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d8b5c0012d7b874005cec0d00002000d2c..."} 
[2026-04-22 07:11:41] local.INFO: Packet analysis {"connection_id":50389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:41] local.INFO: Extracted packet for processing {"connection_id":50389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763070272,"raw_latitude":97435856,"longitude_deg":76.3070272,"latitude_deg":9.7435856,"altitude":2,"angle":13,"satellites":44,"speed":17,"hex_longitude":"2d7b8740","hex_latitude":"05cec0d0","is_valid_coordinates":true} 
[2026-04-22 07:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866439424001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74759287380901888,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901153582207868928,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776822040000,"timestamp_ms":1776822040000,"timestamp_seconds":1776822040,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d8b5c0"} 
[2026-04-22 07:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 07:11:41] 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-22 07:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866439424001,"66":13787,"83":206,"85":15104,"24":17,"16":74759287380901888,"45":8901153582207868928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866439424001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74759287380901888,"km_value":74759287380901.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901153582207868928,"description":"Unknown IO ID 45"} 
[2026-04-22 07:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866439424001,"power":13787,"unknown_83":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8901153582207868928}} 
[2026-04-22 07:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":50389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:11:41] local.INFO: GPS data processed {"connection_id":50389,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:11:41] local.INFO: Acknowledgment sent {"connection_id":50389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:11:42] local.INFO: TCP Data received {"connection_id":50389,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d8b9a8012d7b880005cec2680002001c2c..."} 
[2026-04-22 07:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d8b9a8012d7b880005cec2680002001c2c..."} 
[2026-04-22 07:11:42] local.INFO: Processing buffer {"connection_id":50389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d8b9a8012d7b880005cec2680002001c2c..."} 
[2026-04-22 07:11:42] local.INFO: Packet analysis {"connection_id":50389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:42] local.INFO: Extracted packet for processing {"connection_id":50389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:11:42] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":97436264,"longitude_deg":76.3070464,"latitude_deg":9.7436264,"altitude":2,"angle":28,"satellites":44,"speed":17,"hex_longitude":"2d7b8800","hex_latitude":"05cec268","is_valid_coordinates":true} 
[2026-04-22 07:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866442240001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74759308855738368,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901153582208831488,"note":"Value kept but may cause issues"} 
[2026-04-22 07:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776822041000,"timestamp_ms":1776822041000,"timestamp_seconds":1776822041,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d8b9a8"} 
[2026-04-22 07:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:11:42] 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-22 07:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-22 07:11:42] 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-22 07:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866442240001,"66":13406,"83":206,"85":15104,"24":17,"16":74759308855738368,"45":8901153582208831488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866442240001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74759308855738368,"km_value":74759308855738.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901153582208831488,"description":"Unknown IO ID 45"} 
[2026-04-22 07:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866442240001,"power":13406,"unknown_83":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8901153582208831488}} 
[2026-04-22 07:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":50389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:11:42] local.INFO: GPS data processed {"connection_id":50389,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:11:42] local.INFO: Acknowledgment sent {"connection_id":50389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:12:04] local.INFO: TCP Data received {"connection_id":50920,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:12:04] local.INFO: Processing buffer {"connection_id":50920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:12:04] local.INFO: Packet analysis {"connection_id":50920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:12:04] local.INFO: Extracted packet for processing {"connection_id":50920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 07: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-22 07:12: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-22 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:12:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":50920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:12:04] local.INFO: GPS data processed {"connection_id":50920,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:12:04] local.INFO: Acknowledgment sent {"connection_id":50920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:12:13] local.INFO: TCP Data received {"connection_id":50389,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d8d500012d7b898005cec7880002000d2c..."} 
[2026-04-22 07:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d8d500012d7b898005cec7880002000d2c..."} 
[2026-04-22 07:12:13] local.INFO: Processing buffer {"connection_id":50389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d8d500012d7b898005cec7880002000d2c..."} 
[2026-04-22 07:12:13] local.INFO: Packet analysis {"connection_id":50389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:12:13] local.INFO: Extracted packet for processing {"connection_id":50389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":97437576,"longitude_deg":76.3070848,"latitude_deg":9.7437576,"altitude":2,"angle":13,"satellites":44,"speed":8,"hex_longitude":"2d7b8980","hex_latitude":"05cec788","is_valid_coordinates":true} 
[2026-04-22 07:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866442496001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74759377575215104,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901364688441468928,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776822048000,"timestamp_ms":1776822048000,"timestamp_seconds":1776822048,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d8d500"} 
[2026-04-22 07:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-22 07:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866442496001,"66":13689,"83":206,"85":15104,"24":8,"16":74759377575215104,"45":8901364688441468928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866442496001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74759377575215104,"km_value":74759377575215.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901364688441468928,"description":"Unknown IO ID 45"} 
[2026-04-22 07:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866442496001,"power":13689,"unknown_83":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8901364688441468928}} 
[2026-04-22 07:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":50389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:12:13] local.INFO: GPS data processed {"connection_id":50389,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:12:13] local.INFO: Acknowledgment sent {"connection_id":50389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:12:27] local.INFO: TCP Data received {"connection_id":50922,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:12:27] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:12:27] local.INFO: IMEI packet received {"connection_id":50922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":50922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:12:31] local.INFO: TCP Data received {"connection_id":49998,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:12:31] local.INFO: Processing buffer {"connection_id":49998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:12:31] local.INFO: IMEI packet received {"connection_id":49998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":49998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:12:32] local.INFO: TCP Data received {"connection_id":50922,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:12:32] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:12:32] local.INFO: IMEI packet received {"connection_id":50922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:12:33] local.INFO: TCP Data received {"connection_id":50922,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:12:33] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:12:33] local.INFO: Packet analysis {"connection_id":50922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:12:33] local.INFO: Extracted packet for processing {"connection_id":50922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 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-22 07:12: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:12: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-22 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-22 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-22 07:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:12:33] 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-22 07:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:12:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":50922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:12:33] local.INFO: GPS data processed {"connection_id":50922,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:12:33] local.INFO: Acknowledgment sent {"connection_id":50922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:12:36] local.INFO: TCP Data received {"connection_id":49998,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:12:36] local.INFO: Processing buffer {"connection_id":49998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:12:36] local.INFO: IMEI packet received {"connection_id":49998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":49998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:12:36] local.INFO: TCP Data received {"connection_id":49998,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d8fff8012d7b8c0005cedba0000301622b..."} 
[2026-04-22 07:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d8fff8012d7b8c0005cedba0000301622b..."} 
[2026-04-22 07:12:36] local.INFO: Processing buffer {"connection_id":49998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d8fff8012d7b8c0005cedba0000301622b..."} 
[2026-04-22 07:12:36] local.INFO: Packet analysis {"connection_id":49998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:12:36] local.INFO: Extracted packet for processing {"connection_id":49998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763071488,"raw_latitude":97442720,"longitude_deg":76.3071488,"latitude_deg":9.744272,"altitude":3,"angle":354,"satellites":43,"speed":21,"hex_longitude":"2d7b8c00","hex_latitude":"05cedba0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866444288001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74759630978285568,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786900906870784,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776822059000,"timestamp_ms":1776822059000,"timestamp_seconds":1776822059,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d8fff8"} 
[2026-04-22 07: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-22 07:12:36] 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-22 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 07:12:36] 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-22 07: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-22 07: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-22 07:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":49998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":49998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":49998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866444288001,"66":13678,"83":206,"85":15104,"24":21,"16":74759630978285568,"45":8901786900906870784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866444288001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74759630978285568,"km_value":74759630978285.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786900906870784,"description":"Unknown IO ID 45"} 
[2026-04-22 07:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866444288001,"power":13678,"unknown_83":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8901786900906870784}} 
[2026-04-22 07:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":49998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:12:36] local.INFO: GPS data processed {"connection_id":49998,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:12:36] local.INFO: Acknowledgment sent {"connection_id":49998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:12:41] local.INFO: TCP Data received {"connection_id":49998,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d93a90012d7b898005cefc68000401522c..."} 
[2026-04-22 07:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d93a90012d7b898005cefc68000401522c..."} 
[2026-04-22 07:12:41] local.INFO: Processing buffer {"connection_id":49998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d93a90012d7b898005cefc68000401522c..."} 
[2026-04-22 07:12:41] local.INFO: Packet analysis {"connection_id":49998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d9"} 
[2026-04-22 07:12:41] local.INFO: Extracted packet for processing {"connection_id":49998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d9"} 
[2026-04-22 07:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":97451112,"longitude_deg":76.3070848,"latitude_deg":9.7451112,"altitude":4,"angle":338,"satellites":44,"speed":19,"hex_longitude":"2d7b8980","hex_latitude":"05cefc68","is_valid_coordinates":true} 
[2026-04-22 07:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866447104001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74760039000178688,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902490588349964288,"note":"Value kept but may cause issues"} 
[2026-04-22 07:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776822074000,"timestamp_ms":1776822074000,"timestamp_seconds":1776822074,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d93a90"} 
[2026-04-22 07:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 07:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":49998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":49998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":49998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866447104001,"66":12798,"83":206,"85":15104,"24":19,"16":74760039000178688,"45":8902490588349964288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866447104001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74760039000178688,"km_value":74760039000178.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902490588349964288,"description":"Unknown IO ID 45"} 
[2026-04-22 07:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866447104001,"power":12798,"unknown_83":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8902490588349964288}} 
[2026-04-22 07:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":49998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:12:41] local.INFO: GPS data processed {"connection_id":49998,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:12:41] local.INFO: Acknowledgment sent {"connection_id":49998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:13:06] local.INFO: TCP Data received {"connection_id":50922,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:13:06] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:13:06] local.INFO: Packet analysis {"connection_id":50922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:13:06] local.INFO: Extracted packet for processing {"connection_id":50922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 07:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:13: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-22 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:13:06] 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-22 07:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:13:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":50922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:13:06] local.INFO: GPS data processed {"connection_id":50922,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:13:06] local.INFO: Acknowledgment sent {"connection_id":50922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:13:12] local.INFO: TCP Data received {"connection_id":50923,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:13:12] local.INFO: Processing buffer {"connection_id":50923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:13:12] local.INFO: IMEI packet received {"connection_id":50923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":50923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:13:12] local.INFO: TCP Data received {"connection_id":49998,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2daa5d8012d7b604005cf94300002000b2d..."} 
[2026-04-22 07:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2daa5d8012d7b604005cf94300002000b2d..."} 
[2026-04-22 07:13:12] local.INFO: Processing buffer {"connection_id":49998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2daa5d8012d7b604005cf94300002000b2d..."} 
[2026-04-22 07:13:12] local.INFO: Packet analysis {"connection_id":49998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2da"} 
[2026-04-22 07:13:12] local.INFO: Extracted packet for processing {"connection_id":49998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2da"} 
[2026-04-22 07:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763060288,"raw_latitude":97489968,"longitude_deg":76.3060288,"latitude_deg":9.7489968,"altitude":2,"angle":11,"satellites":45,"speed":9,"hex_longitude":"2d7b6040","hex_latitude":"05cf9430","is_valid_coordinates":true} 
[2026-04-22 07:13: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-22 07:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866473728001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74762023275069440,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890105689386434560,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776822167000,"timestamp_ms":1776822167000,"timestamp_seconds":1776822167,"priority":1,"record_length":96,"hex_timestamp":"0000019db2daa5d8"} 
[2026-04-22 07:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-22 07:13:12] 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-22 07:13: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-22 07:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":49998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":49998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":49998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866473728001,"66":13406,"83":206,"85":15104,"24":9,"16":74762023275069440,"45":8890105689386434560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866473728001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74762023275069440,"km_value":74762023275069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890105689386434560,"description":"Unknown IO ID 45"} 
[2026-04-22 07:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866473728001,"power":13406,"unknown_83":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8890105689386434560}} 
[2026-04-22 07:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":49998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:13:12] local.INFO: GPS data processed {"connection_id":49998,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:13:12] local.INFO: Acknowledgment sent {"connection_id":49998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:13:27] local.INFO: TCP Data received {"connection_id":50000,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:13:27] local.INFO: Processing buffer {"connection_id":50000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:13:27] local.INFO: IMEI packet received {"connection_id":50000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:13:30] local.INFO: TCP Data received {"connection_id":49999,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:13:30] local.INFO: Processing buffer {"connection_id":49999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:13:30] local.INFO: IMEI packet received {"connection_id":49999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":49999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:13:32] local.INFO: TCP Data received {"connection_id":50000,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:13:32] local.INFO: Processing buffer {"connection_id":50000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:13:32] local.INFO: IMEI packet received {"connection_id":50000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:13:33] local.INFO: TCP Data received {"connection_id":50000,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:13:33] local.INFO: Processing buffer {"connection_id":50000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:13:33] local.INFO: Packet analysis {"connection_id":50000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:13:33] local.INFO: Extracted packet for processing {"connection_id":50000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 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-22 07: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:13: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-22 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-22 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-22 07:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:13: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-22 07:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:13:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":50000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:13:33] local.INFO: GPS data processed {"connection_id":50000,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:13:33] local.INFO: Acknowledgment sent {"connection_id":50000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:13:35] local.INFO: TCP Data received {"connection_id":49999,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:13:35] local.INFO: Processing buffer {"connection_id":49999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:13:35] local.INFO: IMEI packet received {"connection_id":49999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":49999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:13:37] local.INFO: TCP Data received {"connection_id":49999,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dab578012d7b610005cf96580002001d2b..."} 
[2026-04-22 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dab578012d7b610005cf96580002001d2b..."} 
[2026-04-22 07:13:37] local.INFO: Processing buffer {"connection_id":49999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dab578012d7b610005cf96580002001d2b..."} 
[2026-04-22 07:13:37] local.INFO: Packet analysis {"connection_id":49999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2da"} 
[2026-04-22 07:13:37] local.INFO: Extracted packet for processing {"connection_id":49999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2da"} 
[2026-04-22 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763060480,"raw_latitude":97490520,"longitude_deg":76.306048,"latitude_deg":9.749052,"altitude":2,"angle":29,"satellites":43,"speed":5,"hex_longitude":"2d7b6100","hex_latitude":"05cf9658","is_valid_coordinates":true} 
[2026-04-22 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866474752001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74762053339840512,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890176058130968576,"note":"Value kept but may cause issues"} 
[2026-04-22 07:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776822171000,"timestamp_ms":1776822171000,"timestamp_seconds":1776822171,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dab578"} 
[2026-04-22 07:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-22 07:13:37] 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-22 07:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":49999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":49999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":49999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866474752001,"66":13559,"83":206,"85":15104,"24":5,"16":74762053339840512,"45":8890176058130968576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866474752001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:13:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74762053339840512,"km_value":74762053339840.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890176058130968576,"description":"Unknown IO ID 45"} 
[2026-04-22 07:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866474752001,"power":13559,"unknown_83":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8890176058130968576}} 
[2026-04-22 07:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":49999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:13:37] local.INFO: GPS data processed {"connection_id":49999,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:13:37] local.INFO: Acknowledgment sent {"connection_id":49999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:13:51] local.INFO: TCP Data received {"connection_id":50249,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:13:51] local.INFO: Processing buffer {"connection_id":50249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:13:51] local.INFO: IMEI packet received {"connection_id":50249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":50249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:14:04] local.INFO: TCP Data received {"connection_id":50000,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:14:04] local.INFO: Processing buffer {"connection_id":50000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:14:04] local.INFO: Packet analysis {"connection_id":50000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:14:04] local.INFO: Extracted packet for processing {"connection_id":50000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 07: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-22 07:14: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-22 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:14: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-22 07:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:14:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":50000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:14:04] local.INFO: GPS data processed {"connection_id":50000,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:14:04] local.INFO: Acknowledgment sent {"connection_id":50000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:14:09] local.INFO: TCP Data received {"connection_id":49999,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dacce8012d7b620005cf9a10000400102d..."} 
[2026-04-22 07:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":49999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dacce8012d7b620005cf9a10000400102d..."} 
[2026-04-22 07:14:09] local.INFO: Processing buffer {"connection_id":49999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dacce8012d7b620005cf9a10000400102d..."} 
[2026-04-22 07:14:09] local.INFO: Packet analysis {"connection_id":49999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2da"} 
[2026-04-22 07:14:09] local.INFO: Extracted packet for processing {"connection_id":49999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2da"} 
[2026-04-22 07:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763060736,"raw_latitude":97491472,"longitude_deg":76.3060736,"latitude_deg":9.7491472,"altitude":4,"angle":16,"satellites":45,"speed":7,"hex_longitude":"2d7b6200","hex_latitude":"05cf9a10","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866475776001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74762100584480768,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890387164363642880,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776822177000,"timestamp_ms":1776822177000,"timestamp_seconds":1776822177,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dacce8"} 
[2026-04-22 07: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-22 07:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 07:14:09] 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-22 07: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-22 07: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-22 07:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":49999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":49999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":49999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866475776001,"66":13689,"83":206,"85":15104,"24":7,"16":74762100584480768,"45":8890387164363642880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866475776001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74762100584480768,"km_value":74762100584480.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890387164363642880,"description":"Unknown IO ID 45"} 
[2026-04-22 07:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866475776001,"power":13689,"unknown_83":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8890387164363642880}} 
[2026-04-22 07:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":49999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:14:09] local.INFO: GPS data processed {"connection_id":49999,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:14:09] local.INFO: Acknowledgment sent {"connection_id":49999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:14:31] local.INFO: TCP Data received {"connection_id":50924,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:14:31] local.INFO: Processing buffer {"connection_id":50924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:14:31] local.INFO: IMEI packet received {"connection_id":50924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":50924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:14:32] local.INFO: TCP Data received {"connection_id":50925,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:14:32] local.INFO: Processing buffer {"connection_id":50925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:14:32] local.INFO: IMEI packet received {"connection_id":50925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:14:36] local.INFO: TCP Data received {"connection_id":50924,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:14:36] local.INFO: Processing buffer {"connection_id":50924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:14:36] local.INFO: IMEI packet received {"connection_id":50924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":50924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:14:36] local.INFO: TCP Data received {"connection_id":50924,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2db1ef0012d7b644005cfa2e8000500032c..."} 
[2026-04-22 07:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2db1ef0012d7b644005cfa2e8000500032c..."} 
[2026-04-22 07:14:36] local.INFO: Processing buffer {"connection_id":50924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2db1ef0012d7b644005cfa2e8000500032c..."} 
[2026-04-22 07:14:36] local.INFO: Packet analysis {"connection_id":50924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2db"} 
[2026-04-22 07:14:36] local.INFO: Extracted packet for processing {"connection_id":50924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2db"} 
[2026-04-22 07:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763061312,"raw_latitude":97493736,"longitude_deg":76.3061312,"latitude_deg":9.7493736,"altitude":5,"angle":3,"satellites":44,"speed":9,"hex_longitude":"2d7b6440","hex_latitude":"05cfa2e8","is_valid_coordinates":true} 
[2026-04-22 07:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866477312001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74762216548597760,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890668639340597248,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776822198000,"timestamp_ms":1776822198000,"timestamp_seconds":1776822198,"priority":1,"record_length":96,"hex_timestamp":"0000019db2db1ef0"} 
[2026-04-22 07:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:14:36] 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-22 07:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 07:14:36] 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-22 07:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:14:36] 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-22 07:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866477312001,"66":13559,"83":206,"85":15104,"24":9,"16":74762216548597760,"45":8890668639340597248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866477312001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74762216548597760,"km_value":74762216548597.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890668639340597248,"description":"Unknown IO ID 45"} 
[2026-04-22 07:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866477312001,"power":13559,"unknown_83":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8890668639340597248}} 
[2026-04-22 07:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":50924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:14:36] local.INFO: GPS data processed {"connection_id":50924,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:14:36] local.INFO: Acknowledgment sent {"connection_id":50924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:14:37] local.INFO: TCP Data received {"connection_id":50925,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:14:37] local.INFO: Processing buffer {"connection_id":50925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:14:37] local.INFO: IMEI packet received {"connection_id":50925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":50925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:14:38] local.INFO: TCP Data received {"connection_id":50925,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:14:38] local.INFO: Processing buffer {"connection_id":50925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:14:38] local.INFO: Packet analysis {"connection_id":50925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:14:38] local.INFO: Extracted packet for processing {"connection_id":50925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 07: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-22 07:14: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-22 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:14:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":50925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:14:38] local.INFO: GPS data processed {"connection_id":50925,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:14:38] local.INFO: Acknowledgment sent {"connection_id":50925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:14:42] local.INFO: TCP Data received {"connection_id":50925,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:14:42] local.INFO: Processing buffer {"connection_id":50925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:14:42] local.INFO: Packet analysis {"connection_id":50925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:14:42] local.INFO: Extracted packet for processing {"connection_id":50925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 07:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:14:42] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":50925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:14:42] local.INFO: GPS data processed {"connection_id":50925,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:14:42] local.INFO: Acknowledgment sent {"connection_id":50925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:15:07] local.INFO: TCP Data received {"connection_id":50924,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2db5d70012d7b680005cfc2580005015c2c..."} 
[2026-04-22 07:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2db5d70012d7b680005cfc2580005015c2c..."} 
[2026-04-22 07:15:07] local.INFO: Processing buffer {"connection_id":50924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2db5d70012d7b680005cfc2580005015c2c..."} 
[2026-04-22 07:15:07] local.INFO: Packet analysis {"connection_id":50924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2db"} 
[2026-04-22 07:15:07] local.INFO: Extracted packet for processing {"connection_id":50924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2db"} 
[2026-04-22 07:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":97501784,"longitude_deg":76.3062272,"latitude_deg":9.7501784,"altitude":5,"angle":348,"satellites":44,"speed":25,"hex_longitude":"2d7b6800","hex_latitude":"05cfc258","is_valid_coordinates":true} 
[2026-04-22 07:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866482688001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74762615980556288,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891301958038775808,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776822214000,"timestamp_ms":1776822214000,"timestamp_seconds":1776822214,"priority":1,"record_length":96,"hex_timestamp":"0000019db2db5d70"} 
[2026-04-22 07:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 07:15:07] 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-22 07:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:15:07] 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-22 07:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866482688001,"66":13624,"83":206,"85":15104,"24":25,"16":74762615980556288,"45":8891301958038775808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-04-22 07:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866482688001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74762615980556288,"km_value":74762615980556.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891301958038775808,"description":"Unknown IO ID 45"} 
[2026-04-22 07:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866482688001,"power":13624,"unknown_83":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8891301958038775808}} 
[2026-04-22 07:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":50924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:15:07] local.INFO: GPS data processed {"connection_id":50924,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:15:07] local.INFO: Acknowledgment sent {"connection_id":50924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:15:27] local.INFO: TCP Data received {"connection_id":50390,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:15:27] local.INFO: Processing buffer {"connection_id":50390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:15:27] local.INFO: IMEI packet received {"connection_id":50390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:15:31] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:15:31] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:15:31] local.INFO: IMEI packet received {"connection_id":50391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":50391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:15:32] local.INFO: TCP Data received {"connection_id":50390,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:15:32] local.INFO: Processing buffer {"connection_id":50390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:15:32] local.INFO: IMEI packet received {"connection_id":50390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:15:33] local.INFO: TCP Data received {"connection_id":50390,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:15:33] local.INFO: Processing buffer {"connection_id":50390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2d85800012d7f960005afd7d00000015623..."} 
[2026-04-22 07:15:33] local.INFO: Packet analysis {"connection_id":50390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:15:33] local.INFO: Extracted packet for processing {"connection_id":50390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2d8"} 
[2026-04-22 07:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866359040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822016000,"timestamp_ms":1776822016000,"timestamp_seconds":1776822016,"priority":1,"record_length":96,"hex_timestamp":"0000019db2d85800"} 
[2026-04-22 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-22 07: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:15: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-22 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-22 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-22 07:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:15:33] 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-22 07:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866359040001,"66":25419,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866359040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:15:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866359040001,"power":25419,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:15:33] local.INFO: GPS data processed {"connection_id":50390,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:15:33] local.INFO: Acknowledgment sent {"connection_id":50390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:15:34] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:15:34] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:15:34] local.INFO: IMEI packet received {"connection_id":50391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":50391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:15:35] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:15:35] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:15:35] local.INFO: IMEI packet received {"connection_id":50391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":50391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:15:36] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcb918012d7b7c8005d05d88000201582b..."} 
[2026-04-22 07:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcb918012d7b7c8005d05d88000201582b..."} 
[2026-04-22 07:15:36] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcb918012d7b7c8005d05d88000201582b..."} 
[2026-04-22 07:15:36] local.INFO: Packet analysis {"connection_id":50391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:15:36] local.INFO: Extracted packet for processing {"connection_id":50391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763067520,"raw_latitude":97541512,"longitude_deg":76.306752,"latitude_deg":9.7541512,"altitude":2,"angle":344,"satellites":43,"speed":30,"hex_longitude":"2d7b7c80","hex_latitude":"05d05d88","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866508800001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74764613140348928,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898549938700720128,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776822303000,"timestamp_ms":1776822303000,"timestamp_seconds":1776822303,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcb918"} 
[2026-04-22 07: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-22 07:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-22 07:15:36] 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-22 07: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-22 07: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-22 07:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:15:36] 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-22 07:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866508800001,"66":13798,"81":206,"85":15104,"24":30,"16":74764613140348928,"45":8898549938700720128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-22 07:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866508800001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-22 07:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74764613140348928,"km_value":74764613140348.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898549938700720128,"description":"Unknown IO ID 45"} 
[2026-04-22 07:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866508800001,"power":13798,"unknown_81":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8898549938700720128}} 
[2026-04-22 07:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":50391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:15:36] local.INFO: GPS data processed {"connection_id":50391,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:15:36] local.INFO: Acknowledgment sent {"connection_id":50391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:15:40] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dce7f8012d7b73c005d082180002015b2b..."} 
[2026-04-22 07:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dce7f8012d7b73c005d082180002015b2b..."} 
[2026-04-22 07:15:40] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dce7f8012d7b73c005d082180002015b2b..."} 
[2026-04-22 07:15:40] local.INFO: Packet analysis {"connection_id":50391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:15:40] local.INFO: Extracted packet for processing {"connection_id":50391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763065280,"raw_latitude":97550872,"longitude_deg":76.306528,"latitude_deg":9.7550872,"altitude":2,"angle":347,"satellites":43,"speed":31,"hex_longitude":"2d7b73c0","hex_latitude":"05d08218","is_valid_coordinates":true} 
[2026-04-22 07:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866509568001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74765081291784192,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898127726236239872,"note":"Value kept but may cause issues"} 
[2026-04-22 07:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776822315000,"timestamp_ms":1776822315000,"timestamp_seconds":1776822315,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dce7f8"} 
[2026-04-22 07:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 07:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:15:40] 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-22 07:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866509568001,"66":13559,"81":206,"85":15104,"24":31,"16":74765081291784192,"45":8898127726236239872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-22 07:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866509568001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-22 07:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74765081291784192,"km_value":74765081291784.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898127726236239872,"description":"Unknown IO ID 45"} 
[2026-04-22 07:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866509568001,"power":13559,"unknown_81":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8898127726236239872}} 
[2026-04-22 07:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":50391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:15:40] local.INFO: GPS data processed {"connection_id":50391,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:15:40] local.INFO: Acknowledgment sent {"connection_id":50391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:16:04] local.INFO: TCP Data received {"connection_id":50390,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:16:04] local.INFO: Processing buffer {"connection_id":50390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:16:04] local.INFO: Packet analysis {"connection_id":50390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:16:04] local.INFO: Extracted packet for processing {"connection_id":50390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 07:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:16: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-22 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:16: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-22 07:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:16:04] 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-22 07:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:16:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":50390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:16:04] local.INFO: GPS data processed {"connection_id":50390,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:16:04] local.INFO: Acknowledgment sent {"connection_id":50390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:16:11] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dd12f0012d7b6a8005d0a440000001612b..."} 
[2026-04-22 07:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dd12f0012d7b6a8005d0a440000001612b..."} 
[2026-04-22 07:16:11] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dd12f0012d7b6a8005d0a440000001612b..."} 
[2026-04-22 07:16:11] local.INFO: Packet analysis {"connection_id":50391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dd"} 
[2026-04-22 07:16:11] local.INFO: Extracted packet for processing {"connection_id":50391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dd"} 
[2026-04-22 07:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763062912,"raw_latitude":97559616,"longitude_deg":76.3062912,"latitude_deg":9.7559616,"altitude":0,"angle":353,"satellites":43,"speed":34,"hex_longitude":"2d7b6a80","hex_latitude":"05d0a440","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866512640001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74765519378448384,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895664820192417792,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776822326000,"timestamp_ms":1776822326000,"timestamp_seconds":1776822326,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dd12f0"} 
[2026-04-22 07: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-22 07:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 07:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:16:11] 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-22 07:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866512640001,"66":13722,"81":206,"85":15104,"24":34,"16":74765519378448384,"45":8895664820192417792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-22 07:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866512640001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-22 07:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74765519378448384,"km_value":74765519378448.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895664820192417792,"description":"Unknown IO ID 45"} 
[2026-04-22 07:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866512640001,"power":13722,"unknown_81":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8895664820192417792}} 
[2026-04-22 07:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":50391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:16:11] local.INFO: GPS data processed {"connection_id":50391,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:16:11] local.INFO: Acknowledgment sent {"connection_id":50391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:16:27] local.INFO: TCP Data received {"connection_id":50250,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:16:27] local.INFO: Processing buffer {"connection_id":50250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:16:27] local.INFO: IMEI packet received {"connection_id":50250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:16:31] local.INFO: TCP Data received {"connection_id":50392,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:16:31] local.INFO: Processing buffer {"connection_id":50392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:16:31] local.INFO: IMEI packet received {"connection_id":50392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:16:31] local.INFO: TCP Data received {"connection_id":50392,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:16:31] local.INFO: Processing buffer {"connection_id":50392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:16:31] local.INFO: IMEI packet received {"connection_id":50392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:16:32] local.INFO: TCP Data received {"connection_id":50250,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:16:32] local.INFO: Processing buffer {"connection_id":50250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:16:32] local.INFO: IMEI packet received {"connection_id":50250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":50250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:16:33] local.INFO: TCP Data received {"connection_id":50250,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:16:33] local.INFO: Processing buffer {"connection_id":50250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:16:33] local.INFO: Packet analysis {"connection_id":50250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:16:33] local.INFO: Extracted packet for processing {"connection_id":50250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 07: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-22 07: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-22 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:16:33] 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-22 07: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-22 07: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-22 07:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:16:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":50250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:16:33] local.INFO: GPS data processed {"connection_id":50250,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:16:33] local.INFO: Acknowledgment sent {"connection_id":50250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:16:36] local.INFO: TCP Data received {"connection_id":50392,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:16:36] local.INFO: Processing buffer {"connection_id":50392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:16:36] local.INFO: IMEI packet received {"connection_id":50392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":50392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:16:37] local.INFO: TCP Data received {"connection_id":50392,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ddd258012d7b698005d12a60000300062a..."} 
[2026-04-22 07:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ddd258012d7b698005d12a60000300062a..."} 
[2026-04-22 07:16:37] local.INFO: Processing buffer {"connection_id":50392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ddd258012d7b698005d12a60000300062a..."} 
[2026-04-22 07:16:37] local.INFO: Packet analysis {"connection_id":50392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dd"} 
[2026-04-22 07:16:37] local.INFO: Extracted packet for processing {"connection_id":50392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dd"} 
[2026-04-22 07:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763062656,"raw_latitude":97593952,"longitude_deg":76.3062656,"latitude_deg":9.7593952,"altitude":3,"angle":6,"satellites":42,"speed":13,"hex_longitude":"2d7b6980","hex_latitude":"05d12a60","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866525952001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74767293199941632,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893413020388763648,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776822375000,"timestamp_ms":1776822375000,"timestamp_seconds":1776822375,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ddd258"} 
[2026-04-22 07: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-22 07:16:37] 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-22 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581599,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3000847752,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":63488,"corrected_to":0} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":693370724173217792,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3715149825,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3858759682,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636842363346769,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1599144142,"corrected_to":0} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2673868800,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3503261696,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":123,"raw_value":7061650610074419200,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271635721531819,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-04-22 07:16:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,81,85,24,241,157,16,160,136,45,246,1,43,10,66,159,120,128,235,116,240,82,227,178,208,4,113,205,28,100,168,239,54,2,9,5,23,123,53,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":246,"original":63488,"validated":0},{"io_id":205,"original":1599144142,"validated":0}]} 
[2026-04-22 07:16:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72448101056774144,"timestamp_seconds":72448101056774.14,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07: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-22 07:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:16:37] 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-22 07:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866525952001,"66":13656,"81":206,"85":15104,"24":13,"16":74767293199941632,"45":8893413020388763648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-22 07:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866525952001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-22 07:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74767293199941632,"km_value":74767293199941.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893413020388763648,"description":"Unknown IO ID 45"} 
[2026-04-22 07:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866525952001,"power":13656,"unknown_81":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8893413020388763648}} 
[2026-04-22 07:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":50392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:16:37] local.INFO: GPS data processed {"connection_id":50392,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:16:37] local.INFO: Acknowledgment sent {"connection_id":50392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:17:04] local.INFO: TCP Data received {"connection_id":50250,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:17:04] local.INFO: Processing buffer {"connection_id":50250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:17:04] local.INFO: Packet analysis {"connection_id":50250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:17:04] local.INFO: Extracted packet for processing {"connection_id":50250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 07:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:17: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-22 07:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:17: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-22 07:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:17:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":50250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:17:04] local.INFO: GPS data processed {"connection_id":50250,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:17:04] local.INFO: Acknowledgment sent {"connection_id":50250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:17:08] local.INFO: TCP Data received {"connection_id":50392,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ddda28012d7b698005d12da8000301602a..."} 
[2026-04-22 07:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ddda28012d7b698005d12da8000301602a..."} 
[2026-04-22 07:17:08] local.INFO: Processing buffer {"connection_id":50392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ddda28012d7b698005d12da8000301602a..."} 
[2026-04-22 07:17:08] local.INFO: Packet analysis {"connection_id":50392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dd"} 
[2026-04-22 07:17:08] local.INFO: Extracted packet for processing {"connection_id":50392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dd"} 
[2026-04-22 07:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763062656,"raw_latitude":97594792,"longitude_deg":76.3062656,"latitude_deg":9.7594792,"altitude":3,"angle":352,"satellites":42,"speed":21,"hex_longitude":"2d7b6980","hex_latitude":"05d12da8","is_valid_coordinates":true} 
[2026-04-22 07:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866528000001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74767331854647296,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892779701692162048,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776822377000,"timestamp_ms":1776822377000,"timestamp_seconds":1776822377,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ddda28"} 
[2026-04-22 07:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:17:08] 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-22 07:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 07:17:08] 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-22 07:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:17:08] 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-22 07:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866528000001,"66":13330,"81":206,"85":15104,"24":21,"16":74767331854647296,"45":8892779701692162048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-22 07:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866528000001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-22 07:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74767331854647296,"km_value":74767331854647.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892779701692162048,"description":"Unknown IO ID 45"} 
[2026-04-22 07:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866528000001,"power":13330,"unknown_81":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8892779701692162048}} 
[2026-04-22 07:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":50392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:17:08] local.INFO: GPS data processed {"connection_id":50392,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:17:08] local.INFO: Acknowledgment sent {"connection_id":50392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:17:27] local.INFO: TCP Data received {"connection_id":50002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:17:27] local.INFO: Processing buffer {"connection_id":50002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:17:27] local.INFO: IMEI packet received {"connection_id":50002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":50002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:17:30] local.INFO: TCP Data received {"connection_id":50003,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:17:30] local.INFO: Processing buffer {"connection_id":50003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:17:30] local.INFO: IMEI packet received {"connection_id":50003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":50003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:17:32] local.INFO: TCP Data received {"connection_id":50002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:17:32] local.INFO: Processing buffer {"connection_id":50002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:17:32] local.INFO: IMEI packet received {"connection_id":50002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:17:33] local.INFO: TCP Data received {"connection_id":50003,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:17:33] local.INFO: Processing buffer {"connection_id":50003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:17:33] local.INFO: IMEI packet received {"connection_id":50003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":50003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:17:33] local.INFO: TCP Data received {"connection_id":50002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:17:33] local.INFO: Processing buffer {"connection_id":50002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:17:33] local.INFO: Packet analysis {"connection_id":50002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:17:33] local.INFO: Extracted packet for processing {"connection_id":50002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 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-22 07:17: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-22 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:17:33] 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-22 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-22 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-22 07:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:17:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:17:33] local.INFO: GPS data processed {"connection_id":50002,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:17:33] local.INFO: Acknowledgment sent {"connection_id":50002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:17:36] local.INFO: TCP Data received {"connection_id":50003,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:17:36] local.INFO: Processing buffer {"connection_id":50003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:17:36] local.INFO: IMEI packet received {"connection_id":50003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":50003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:17:37] local.INFO: TCP Data received {"connection_id":50003,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2de0908012d7b64c005d150a00002016229..."} 
[2026-04-22 07:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2de0908012d7b64c005d150a00002016229..."} 
[2026-04-22 07:17:37] local.INFO: Processing buffer {"connection_id":50003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2de0908012d7b64c005d150a00002016229..."} 
[2026-04-22 07:17:37] local.INFO: Packet analysis {"connection_id":50003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2de"} 
[2026-04-22 07:17:37] local.INFO: Extracted packet for processing {"connection_id":50003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2de"} 
[2026-04-22 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763061440,"raw_latitude":97603744,"longitude_deg":76.306144,"latitude_deg":9.7603744,"altitude":2,"angle":354,"satellites":41,"speed":30,"hex_longitude":"2d7b64c0","hex_latitude":"05d150a0","is_valid_coordinates":true} 
[2026-04-22 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866528512001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74767769941311488,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892779701692377088,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776822389000,"timestamp_ms":1776822389000,"timestamp_seconds":1776822389,"priority":1,"record_length":96,"hex_timestamp":"0000019db2de0908"} 
[2026-04-22 07:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3000856752,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277321730712981384,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3715661825,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":208,"raw_value":-3339419119397885184,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1599144142,"corrected_to":0} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2147864808,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2679308288,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3504734208,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":78,"raw_value":57807171736196411,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":221,"raw_value":5868191609319063557,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":26,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":95,"raw_value":5836891982529566720,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.WARNING: Large IO value detected {"io_id":48,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 07:17:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,81,85,24,241,157,16,160,210,45,128,42,3,10,66,179,192,27,1,136,240,6,227,159,178,208,4,113,205,116,152,43,239,54,2,9,5,28,78,221,26,95,48],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1599144142,"validated":0}]} 
[2026-04-22 07:17:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216559990596763648,"timestamp_seconds":216559990596763.66,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:17:37] 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-22 07:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866528512001,"66":13515,"81":206,"85":15104,"24":30,"16":74767769941311488,"45":8892779701692377088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-22 07:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866528512001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-22 07:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74767769941311488,"km_value":74767769941311.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892779701692377088,"description":"Unknown IO ID 45"} 
[2026-04-22 07:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866528512001,"power":13515,"unknown_81":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8892779701692377088}} 
[2026-04-22 07:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":50003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:17:37] local.INFO: GPS data processed {"connection_id":50003,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:17:37] local.INFO: Acknowledgment sent {"connection_id":50003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:18:04] local.INFO: TCP Data received {"connection_id":50002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:18:04] local.INFO: Processing buffer {"connection_id":50002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:18:04] local.INFO: Packet analysis {"connection_id":50002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:18:04] local.INFO: Extracted packet for processing {"connection_id":50002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 07:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:18: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-22 07:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:18: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-22 07:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:18: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-22 07:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:18:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:18:04] local.INFO: GPS data processed {"connection_id":50002,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:18:04] local.INFO: Acknowledgment sent {"connection_id":50002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:18:08] local.INFO: TCP Data received {"connection_id":50003,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2df1690012d7b824005d1c0000003016529..."} 
[2026-04-22 07:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2df1690012d7b824005d1c0000003016529..."} 
[2026-04-22 07:18:08] local.INFO: Processing buffer {"connection_id":50003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2df1690012d7b824005d1c0000003016529..."} 
[2026-04-22 07:18:08] local.INFO: Packet analysis {"connection_id":50003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:18:08] local.INFO: Extracted packet for processing {"connection_id":50003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763068992,"raw_latitude":97632256,"longitude_deg":76.3068992,"latitude_deg":9.7632256,"altitude":3,"angle":357,"satellites":41,"speed":10,"hex_longitude":"2d7b8240","hex_latitude":"05d1c000","is_valid_coordinates":true} 
[2026-04-22 07:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866547456001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74769337604374528,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899675838631065600,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776822458000,"timestamp_ms":1776822458000,"timestamp_seconds":1776822458,"priority":1,"record_length":96,"hex_timestamp":"0000019db2df1690"} 
[2026-04-22 07:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:18:08] 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-22 07:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-22 07:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:18:08] 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-22 07:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866547456001,"66":13961,"25":206,"85":15104,"24":10,"16":74769337604374528,"45":8899675838631065600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-04-22 07:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866547456001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:18:08] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-22 07:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74769337604374528,"km_value":74769337604374.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899675838631065600,"description":"Unknown IO ID 45"} 
[2026-04-22 07:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866547456001,"power":13961,"unknown_25":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8899675838631065600}} 
[2026-04-22 07:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":50003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:18:08] local.INFO: GPS data processed {"connection_id":50003,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:18:08] local.INFO: Acknowledgment sent {"connection_id":50003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:18:27] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:18:27] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:18:27] local.INFO: IMEI packet received {"connection_id":50929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:18:32] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:18:32] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:18:32] local.INFO: IMEI packet received {"connection_id":50929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:18:32] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:18:32] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:18:32] local.INFO: Packet analysis {"connection_id":50929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:18:32] local.INFO: Extracted packet for processing {"connection_id":50929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 07:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:18: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-22 07:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:18: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-22 07:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:18: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-22 07:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:18:32] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":50929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:18:32] local.INFO: GPS data processed {"connection_id":50929,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:18:32] local.INFO: Acknowledgment sent {"connection_id":50929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:18:35] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:18:35] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:18:35] local.INFO: IMEI packet received {"connection_id":50251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":50251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:18:41] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:18:41] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:18:41] local.INFO: IMEI packet received {"connection_id":50251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":50251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:18:42] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2df5510012d7b80c005d1e3e0000101672a..."} 
[2026-04-22 07:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2df5510012d7b80c005d1e3e0000101672a..."} 
[2026-04-22 07:18:42] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2df5510012d7b80c005d1e3e0000101672a..."} 
[2026-04-22 07:18:42] local.INFO: Packet analysis {"connection_id":50251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:18:42] local.INFO: Extracted packet for processing {"connection_id":50251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763068608,"raw_latitude":97641440,"longitude_deg":76.3068608,"latitude_deg":9.764144,"altitude":1,"angle":359,"satellites":42,"speed":26,"hex_longitude":"2d7b80c0","hex_latitude":"05d1e3e0","is_valid_coordinates":true} 
[2026-04-22 07:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866549248001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74769784280973312,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899746207375556608,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776822474000,"timestamp_ms":1776822474000,"timestamp_seconds":1776822474,"priority":1,"record_length":96,"hex_timestamp":"0000019db2df5510"} 
[2026-04-22 07:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 07:18:42] 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-22 07:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:18:42] 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-22 07:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866549248001,"66":13798,"25":206,"85":15104,"24":26,"16":74769784280973312,"45":8899746207375556608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-04-22 07:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866549248001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:18:42] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-22 07:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74769784280973312,"km_value":74769784280973.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899746207375556608,"description":"Unknown IO ID 45"} 
[2026-04-22 07:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866549248001,"power":13798,"unknown_25":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8899746207375556608}} 
[2026-04-22 07:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":50251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:18:42] local.INFO: GPS data processed {"connection_id":50251,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:18:42] local.INFO: Acknowledgment sent {"connection_id":50251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:18:44] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2df8008012d7b800005d207100000016329..."} 
[2026-04-22 07:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2df8008012d7b800005d207100000016329..."} 
[2026-04-22 07:18:44] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2df8008012d7b800005d207100000016329..."} 
[2026-04-22 07:18:44] local.INFO: Packet analysis {"connection_id":50251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:18:44] local.INFO: Extracted packet for processing {"connection_id":50251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:18:44] local.INFO: GPS Element Parsed {"raw_longitude":763068416,"raw_latitude":97650448,"longitude_deg":76.3068416,"latitude_deg":9.7650448,"altitude":0,"angle":355,"satellites":41,"speed":38,"hex_longitude":"2d7b8000","hex_latitude":"05d20710","is_valid_coordinates":true} 
[2026-04-22 07:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866553344001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74770222367637504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899323994912841728,"note":"Value kept but may cause issues"} 
[2026-04-22 07:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776822485000,"timestamp_ms":1776822485000,"timestamp_seconds":1776822485,"priority":1,"record_length":96,"hex_timestamp":"0000019db2df8008"} 
[2026-04-22 07:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:18:44] 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-22 07:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 07:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:18:44] 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-22 07:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866553344001,"66":13830,"25":206,"85":15104,"24":38,"16":74770222367637504,"45":8899323994912841728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-04-22 07:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866553344001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:18:44] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-22 07:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74770222367637504,"km_value":74770222367637.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899323994912841728,"description":"Unknown IO ID 45"} 
[2026-04-22 07:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866553344001,"power":13830,"unknown_25":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8899323994912841728}} 
[2026-04-22 07:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":50251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:18:44] local.INFO: GPS data processed {"connection_id":50251,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:18:44] local.INFO: Acknowledgment sent {"connection_id":50251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:19:03] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:19:03] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:19:03] local.INFO: Packet analysis {"connection_id":50929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:19:03] local.INFO: Extracted packet for processing {"connection_id":50929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 07: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-22 07:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:19: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-22 07: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-22 07: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-22 07:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:19: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-22 07:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:19:03] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:19:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":50929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:19:03] local.INFO: GPS data processed {"connection_id":50929,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:19:03] local.INFO: Acknowledgment sent {"connection_id":50929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:19:19] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dfa330012d7b7c4005d22ad00000016129..."} 
[2026-04-22 07:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dfa330012d7b7c4005d22ad00000016129..."} 
[2026-04-22 07:19:19] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dfa330012d7b7c4005d22ad00000016129..."} 
[2026-04-22 07:19:19] local.INFO: Packet analysis {"connection_id":50251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:19:19] local.INFO: Extracted packet for processing {"connection_id":50251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:19:19] local.INFO: GPS Element Parsed {"raw_longitude":763067456,"raw_latitude":97659600,"longitude_deg":76.3067456,"latitude_deg":9.76596,"altitude":0,"angle":353,"satellites":41,"speed":38,"hex_longitude":"2d7b7c40","hex_latitude":"05d22ad0","is_valid_coordinates":true} 
[2026-04-22 07:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866556160001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74770669044236288,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899112888682614784,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776822494000,"timestamp_ms":1776822494000,"timestamp_seconds":1776822494,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dfa330"} 
[2026-04-22 07:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:19:19] 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-22 07:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7881307953627136,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630457293568,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3737677825,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2705326085,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820210894,"corrected_to":0} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3221606814,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2716663808,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3516622848,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":188,"raw_value":-5187815287193336367,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-2305838610644467686,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,25,85,24,241,157,16,163,45,192,227,1,42,10,66,162,22,64,3,41,251,240,94,178,209,4,113,205,31,196,135,40,239,53,2,9,5,28,188,152],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2820210894,"validated":0}]} 
[2026-04-22 07:19:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":390502724009984,"timestamp_seconds":390502724009.984,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":50251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":50251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":50251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:19:19] 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-22 07:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866556160001,"66":13417,"25":206,"85":15104,"24":38,"16":74770669044236288,"45":8899112888682614784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-04-22 07:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866556160001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:19:19] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-22 07:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74770669044236288,"km_value":74770669044236.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899112888682614784,"description":"Unknown IO ID 45"} 
[2026-04-22 07:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866556160001,"power":13417,"unknown_25":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8899112888682614784}} 
[2026-04-22 07:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":50251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:19:19] local.INFO: GPS data processed {"connection_id":50251,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:19:19] local.INFO: Acknowledgment sent {"connection_id":50251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:19:22] local.INFO: TCP Data received {"connection_id":50393,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:19:22] local.INFO: Processing buffer {"connection_id":50393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:19:22] local.INFO: IMEI packet received {"connection_id":50393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":50393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:19:27] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:19:27] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:19:27] local.INFO: IMEI packet received {"connection_id":50394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:19:31] local.INFO: TCP Data received {"connection_id":50930,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:19:31] local.INFO: Processing buffer {"connection_id":50930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:19:31] local.INFO: IMEI packet received {"connection_id":50930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":50930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:19:32] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:19:32] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:19:32] local.INFO: IMEI packet received {"connection_id":50394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:19:33] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:19:33] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:19:33] local.INFO: Packet analysis {"connection_id":50394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:19:33] local.INFO: Extracted packet for processing {"connection_id":50394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 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-22 07:19: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-22 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:19:33] 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-22 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-22 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-22 07:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:19:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:19:33] local.INFO: GPS data processed {"connection_id":50394,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:19:33] local.INFO: Acknowledgment sent {"connection_id":50394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:19:34] local.INFO: TCP Data received {"connection_id":50930,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:19:34] local.INFO: Processing buffer {"connection_id":50930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:19:34] local.INFO: IMEI packet received {"connection_id":50930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":50930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:19:34] local.INFO: TCP Data received {"connection_id":50930,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dfce28012d7b78c005d24f300000016229..."} 
[2026-04-22 07:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dfce28012d7b78c005d24f300000016229..."} 
[2026-04-22 07:19:34] local.INFO: Processing buffer {"connection_id":50930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dfce28012d7b78c005d24f300000016229..."} 
[2026-04-22 07:19:34] local.INFO: Packet analysis {"connection_id":50930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:19:34] local.INFO: Extracted packet for processing {"connection_id":50930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763066560,"raw_latitude":97668912,"longitude_deg":76.306656,"latitude_deg":9.7668912,"altitude":0,"angle":354,"satellites":41,"speed":32,"hex_longitude":"2d7b78c0","hex_latitude":"05d24f30","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866558464001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74771120015802368,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898057357522292736,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776822505000,"timestamp_ms":1776822505000,"timestamp_seconds":1776822505,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dfce28"} 
[2026-04-22 07: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-22 07:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-04-22 07:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:19:34] 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-22 07:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866558464001,"66":13580,"25":206,"85":15104,"24":32,"16":74771120015802368,"45":8898057357522292736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-04-22 07:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866558464001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:19:34] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-22 07:19:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74771120015802368,"km_value":74771120015802.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898057357522292736,"description":"Unknown IO ID 45"} 
[2026-04-22 07:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866558464001,"power":13580,"unknown_25":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8898057357522292736}} 
[2026-04-22 07:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":50930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:19:35] local.INFO: GPS data processed {"connection_id":50930,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:19:35] local.INFO: Acknowledgment sent {"connection_id":50930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:19:36] local.INFO: TCP Data received {"connection_id":50930,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dfd5f8012d7b778005d255980000015629..."} 
[2026-04-22 07:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dfd5f8012d7b778005d255980000015629..."} 
[2026-04-22 07:19:36] local.INFO: Processing buffer {"connection_id":50930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dfd5f8012d7b778005d255980000015629..."} 
[2026-04-22 07:19:36] local.INFO: Packet analysis {"connection_id":50930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:19:36] local.INFO: Extracted packet for processing {"connection_id":50930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2df"} 
[2026-04-22 07:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763066240,"raw_latitude":97670552,"longitude_deg":76.306624,"latitude_deg":9.7670552,"altitude":0,"angle":342,"satellites":41,"speed":33,"hex_longitude":"2d7b7780","hex_latitude":"05d25598","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866561280001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74771201620180992,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897072195106189312,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776822507000,"timestamp_ms":1776822507000,"timestamp_seconds":1776822507,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dfd5f8"} 
[2026-04-22 07: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-22 07:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581601,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3000944752,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":694106297452199936,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3742797825,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221225475,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110821913,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820210894,"corrected_to":0} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2722299904,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-8664919285199536124,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451387981647445,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-04-22 07:19:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,25,85,24,241,157,16,163,45,64,42,41,10,66,128,7,192,1,240,230,227,162,178,209,4,113,205,251,130,56,239,52,2,9,5,31,123,53,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2820210894,"validated":0}]} 
[2026-04-22 07:19:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":389403211988992,"timestamp_seconds":389403211988.992,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07: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-22 07:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:19:36] 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-22 07:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866561280001,"66":13439,"25":206,"85":15104,"24":33,"16":74771201620180992,"45":8897072195106189312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-04-22 07:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866561280001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:19:36] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-22 07:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74771201620180992,"km_value":74771201620180.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897072195106189312,"description":"Unknown IO ID 45"} 
[2026-04-22 07:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866561280001,"power":13439,"unknown_25":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8897072195106189312}} 
[2026-04-22 07:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":50930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:19:36] local.INFO: GPS data processed {"connection_id":50930,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:19:36] local.INFO: Acknowledgment sent {"connection_id":50930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:19:51] local.INFO: TCP Data received {"connection_id":50252,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:19:51] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:19:51] local.INFO: IMEI packet received {"connection_id":50252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":50252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:20:04] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:20:04] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:20:04] local.INFO: Packet analysis {"connection_id":50394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:20:04] local.INFO: Extracted packet for processing {"connection_id":50394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 07: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-22 07:20: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-22 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:20: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-22 07: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-22 07: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-22 07:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:20: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-22 07:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:20:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:20:04] local.INFO: GPS data processed {"connection_id":50394,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:20:04] local.INFO: Acknowledgment sent {"connection_id":50394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:20:07] local.INFO: TCP Data received {"connection_id":50930,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e0eb50012d7b4c0005d35ab80000000f28..."} 
[2026-04-22 07:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e0eb50012d7b4c0005d35ab80000000f28..."} 
[2026-04-22 07:20:07] local.INFO: Processing buffer {"connection_id":50930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e0eb50012d7b4c0005d35ab80000000f28..."} 
[2026-04-22 07:20:07] local.INFO: Packet analysis {"connection_id":50930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e0"} 
[2026-04-22 07:20:07] local.INFO: Extracted packet for processing {"connection_id":50930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e0"} 
[2026-04-22 07:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763055104,"raw_latitude":97737400,"longitude_deg":76.3055104,"latitude_deg":9.77374,"altitude":0,"angle":15,"satellites":40,"speed":5,"hex_longitude":"2d7b4c00","hex_latitude":"05d35ab8","is_valid_coordinates":true} 
[2026-04-22 07:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866579200001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74774525924868096,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884476189915684864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776822578000,"timestamp_ms":1776822578000,"timestamp_seconds":1776822578,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e0eb50"} 
[2026-04-22 07:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:20:07] 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-22 07:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 07:20:07] 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-22 07:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:20:07] 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-22 07:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866579200001,"66":13646,"210":206,"85":15104,"24":5,"16":74774525924868096,"45":8884476189915684864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-22 07:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866579200001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:20:07] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-22 07:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74774525924868096,"km_value":74774525924868.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884476189915684864,"description":"Unknown IO ID 45"} 
[2026-04-22 07:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866579200001,"power":13646,"unknown_210":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8884476189915684864}} 
[2026-04-22 07:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":50930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:20:07] local.INFO: GPS data processed {"connection_id":50930,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:20:07] local.INFO: Acknowledgment sent {"connection_id":50930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:20:27] local.INFO: TCP Data received {"connection_id":50005,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:20:27] local.INFO: Processing buffer {"connection_id":50005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:20:27] local.INFO: IMEI packet received {"connection_id":50005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":50005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:20:32] local.INFO: TCP Data received {"connection_id":50005,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:20:32] local.INFO: Processing buffer {"connection_id":50005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:20:32] local.INFO: IMEI packet received {"connection_id":50005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:20:33] local.INFO: TCP Data received {"connection_id":50005,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:20:33] local.INFO: Processing buffer {"connection_id":50005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2dcefc8012d7f960005afd7d00000015620..."} 
[2026-04-22 07:20:33] local.INFO: Packet analysis {"connection_id":50005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:20:33] local.INFO: Extracted packet for processing {"connection_id":50005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2dc"} 
[2026-04-22 07:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866436096001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822317000,"timestamp_ms":1776822317000,"timestamp_seconds":1776822317,"priority":1,"record_length":96,"hex_timestamp":"0000019db2dcefc8"} 
[2026-04-22 07: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-22 07: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-22 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:20:33] 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-22 07: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-22 07: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-22 07:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866436096001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866436096001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:20:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:20:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866436096001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":50005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:20:33] local.INFO: GPS data processed {"connection_id":50005,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:20:33] local.INFO: Acknowledgment sent {"connection_id":50005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:20:34] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:20:34] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:20:34] local.INFO: IMEI packet received {"connection_id":50931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":50931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:20:35] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:20:35] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:20:35] local.INFO: IMEI packet received {"connection_id":50931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":50931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:20:39] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.19","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019db2..."} 
[2026-04-22 07:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019db2..."} 
[2026-04-22 07:20:39] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019db2..."} 
[2026-04-22 07:20:39] local.INFO: IMEI packet received {"connection_id":50931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":50931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:20:40] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e14140012d7b4e4005d37dc80002015e2b..."} 
[2026-04-22 07:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e14140012d7b4e4005d37dc80002015e2b..."} 
[2026-04-22 07:20:40] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019db2e0fed8012d7b4d8005d35f480000000228..."} 
[2026-04-22 07:20:40] local.INFO: Packet analysis {"connection_id":50931,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019db2e0"} 
[2026-04-22 07:20:40] local.INFO: Extracted packet for processing {"connection_id":50931,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e0"} 
[2026-04-22 07:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763055488,"raw_latitude":97738568,"longitude_deg":76.3055488,"latitude_deg":9.7738568,"altitude":0,"angle":2,"satellites":40,"speed":9,"hex_longitude":"2d7b4d80","hex_latitude":"05d35f48","is_valid_coordinates":true} 
[2026-04-22 07:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866579968001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74774590349377536,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884476189915920384,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776822583000,"timestamp_ms":1776822583000,"timestamp_seconds":1776822583,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e0fed8"} 
[2026-04-22 07:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:20:40] 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-22 07:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 07:20:40] 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-22 07:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:20:40] 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-22 07:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866579968001,"66":13374,"210":206,"85":15104,"24":9,"16":74774590349377536,"45":8884476189915920384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-22 07:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866579968001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:20:40] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-22 07:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74774590349377536,"km_value":74774590349377.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884476189915920384,"description":"Unknown IO ID 45"} 
[2026-04-22 07:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866579968001,"power":13374,"unknown_210":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8884476189915920384}} 
[2026-04-22 07:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":50931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:20:40] local.INFO: GPS data processed {"connection_id":50931,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:20:40] local.INFO: Acknowledgment sent {"connection_id":50931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:20:40] local.INFO: Packet analysis {"connection_id":50931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:20:40] local.INFO: Extracted packet for processing {"connection_id":50931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763055680,"raw_latitude":97746376,"longitude_deg":76.305568,"latitude_deg":9.7746376,"altitude":2,"angle":350,"satellites":43,"speed":23,"hex_longitude":"2d7b4e40","hex_latitude":"05d37dc8","is_valid_coordinates":true} 
[2026-04-22 07:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866581248001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74774968306499584,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884898402381285376,"note":"Value kept but may cause issues"} 
[2026-04-22 07:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776822600000,"timestamp_ms":1776822600000,"timestamp_seconds":1776822600,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e14140"} 
[2026-04-22 07:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:20:40] 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-22 07:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-22 07:20:40] 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-22 07:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:20:40] 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-22 07:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866581248001,"66":13276,"210":206,"85":15104,"24":23,"16":74774968306499584,"45":8884898402381285376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-22 07:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866581248001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:20:40] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-22 07:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74774968306499584,"km_value":74774968306499.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884898402381285376,"description":"Unknown IO ID 45"} 
[2026-04-22 07:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866581248001,"power":13276,"unknown_210":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8884898402381285376}} 
[2026-04-22 07:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":50931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:20:40] local.INFO: GPS data processed {"connection_id":50931,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:20:40] local.INFO: Acknowledgment sent {"connection_id":50931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:21:01] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e16c38012d7b470005d3a1f80000015c2a..."} 
[2026-04-22 07:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e16c38012d7b470005d3a1f80000015c2a..."} 
[2026-04-22 07:21:01] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e16c38012d7b470005d3a1f80000015c2a..."} 
[2026-04-22 07:21:01] local.INFO: Packet analysis {"connection_id":50931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:21:01] local.INFO: Extracted packet for processing {"connection_id":50931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":97755640,"longitude_deg":76.3053824,"latitude_deg":9.775564,"altitude":0,"angle":348,"satellites":42,"speed":40,"hex_longitude":"2d7b4700","hex_latitude":"05d3a1f8","is_valid_coordinates":true} 
[2026-04-22 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-22 07:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866585600001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74775427868000256,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885109508615817216,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776822611000,"timestamp_ms":1776822611000,"timestamp_seconds":1776822611,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e16c38"} 
[2026-04-22 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-22 07:21:01] 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-22 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-22 07:21:01] 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-22 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-22 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-22 07:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":50931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:21:01] 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-22 07:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866585600001,"66":13678,"210":206,"85":15104,"24":40,"16":74775427868000256,"45":8885109508615817216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-22 07:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866585600001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:21:01] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-22 07:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74775427868000256,"km_value":74775427868000.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885109508615817216,"description":"Unknown IO ID 45"} 
[2026-04-22 07:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866585600001,"power":13678,"unknown_210":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8885109508615817216}} 
[2026-04-22 07:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":50931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:21:01] local.INFO: GPS data processed {"connection_id":50931,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:21:01] local.INFO: Acknowledgment sent {"connection_id":50931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:21:04] local.INFO: TCP Data received {"connection_id":50005,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:21:04] local.INFO: Processing buffer {"connection_id":50005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:21:04] local.INFO: Packet analysis {"connection_id":50005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:21:04] local.INFO: Extracted packet for processing {"connection_id":50005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 07: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-22 07:21: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:21: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-22 07: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-22 07: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-22 07:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:21:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:21:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":50005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:21:04] local.INFO: GPS data processed {"connection_id":50005,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:21:04] local.INFO: Acknowledgment sent {"connection_id":50005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:21:26] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:21:26] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:21:26] local.INFO: IMEI packet received {"connection_id":50253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":50253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:21:29] local.INFO: TCP Data received {"connection_id":50933,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:21:29] local.INFO: Processing buffer {"connection_id":50933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:21:29] local.INFO: IMEI packet received {"connection_id":50933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":50933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:21:30] local.INFO: TCP Data received {"connection_id":50933,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:21:30] local.INFO: Processing buffer {"connection_id":50933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:21:30] local.INFO: IMEI packet received {"connection_id":50933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":50933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:21:32] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:21:32] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:21:32] local.INFO: IMEI packet received {"connection_id":50253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:21:33] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:21:33] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:21:33] local.INFO: Packet analysis {"connection_id":50253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:21:33] local.INFO: Extracted packet for processing {"connection_id":50253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 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-22 07:21: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-22 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:21: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-22 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-22 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-22 07:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:21:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":50253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:21:33] local.INFO: GPS data processed {"connection_id":50253,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:21:33] local.INFO: Acknowledgment sent {"connection_id":50253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:21:36] local.INFO: TCP Data received {"connection_id":50933,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:21:36] local.INFO: Processing buffer {"connection_id":50933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:21:36] local.INFO: IMEI packet received {"connection_id":50933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":50933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:21:36] local.INFO: TCP Data received {"connection_id":50933,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18f60012d7b3dc005d3c7e8000001592b..."} 
[2026-04-22 07:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18f60012d7b3dc005d3c7e8000001592b..."} 
[2026-04-22 07:21:36] local.INFO: Processing buffer {"connection_id":50933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18f60012d7b3dc005d3c7e8000001592b..."} 
[2026-04-22 07:21:36] local.INFO: Packet analysis {"connection_id":50933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:21:36] local.INFO: Extracted packet for processing {"connection_id":50933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763051456,"raw_latitude":97765352,"longitude_deg":76.3051456,"latitude_deg":9.7765352,"altitude":0,"angle":345,"satellites":43,"speed":47,"hex_longitude":"2d7b3dc0","hex_latitude":"05d3c7e8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866588416001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74775913199304704,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815037036544,"note":"Value kept but may cause issues"} 
[2026-04-22 07:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776822620000,"timestamp_ms":1776822620000,"timestamp_seconds":1776822620,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18f60"} 
[2026-04-22 07: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-22 07:21:36] 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-22 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 07:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:21:36] 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-22 07:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866588416001,"66":13559,"210":206,"85":15104,"24":47,"16":74775913199304704,"45":8883068815037036544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-22 07:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866588416001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:21:36] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-22 07:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74775913199304704,"km_value":74775913199304.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815037036544,"description":"Unknown IO ID 45"} 
[2026-04-22 07:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866588416001,"power":13559,"unknown_210":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8883068815037036544}} 
[2026-04-22 07:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":50933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:21:36] local.INFO: GPS data processed {"connection_id":50933,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:21:36] local.INFO: Acknowledgment sent {"connection_id":50933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:22:04] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:22:04] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:22:04] local.INFO: Packet analysis {"connection_id":50253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:22:04] local.INFO: Extracted packet for processing {"connection_id":50253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 07:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:22: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-22 07:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:22: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-22 07:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:22: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-22 07:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:22:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:22:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":50253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:22:04] local.INFO: GPS data processed {"connection_id":50253,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:22:04] local.INFO: Acknowledgment sent {"connection_id":50253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:22:07] local.INFO: TCP Data received {"connection_id":50933,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e1b288012d7b370005d3eb000000015d2b..."} 
[2026-04-22 07:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e1b288012d7b370005d3eb000000015d2b..."} 
[2026-04-22 07:22:07] local.INFO: Processing buffer {"connection_id":50933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e1b288012d7b370005d3eb000000015d2b..."} 
[2026-04-22 07:22:07] local.INFO: Packet analysis {"connection_id":50933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:22:07] local.INFO: Extracted packet for processing {"connection_id":50933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763049728,"raw_latitude":97774336,"longitude_deg":76.3049728,"latitude_deg":9.7774336,"altitude":0,"angle":349,"satellites":43,"speed":39,"hex_longitude":"2d7b3700","hex_latitude":"05d3eb00","is_valid_coordinates":true} 
[2026-04-22 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-22 07:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590720001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74776355580936192,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880465171504949248,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776822629000,"timestamp_ms":1776822629000,"timestamp_seconds":1776822629,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e1b288"} 
[2026-04-22 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-22 07:22:07] 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-22 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 07:22:07] 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-22 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-22 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-22 07:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:22:07] 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-22 07:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590720001,"66":13602,"210":206,"85":15104,"24":39,"16":74776355580936192,"45":8880465171504949248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-22 07:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590720001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:22:07] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-22 07:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74776355580936192,"km_value":74776355580936.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880465171504949248,"description":"Unknown IO ID 45"} 
[2026-04-22 07:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590720001,"power":13602,"unknown_210":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8880465171504949248}} 
[2026-04-22 07:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":50933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:22:08] local.INFO: GPS data processed {"connection_id":50933,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:22:08] local.INFO: Acknowledgment sent {"connection_id":50933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:22:27] local.INFO: TCP Data received {"connection_id":50006,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:22:27] local.INFO: Processing buffer {"connection_id":50006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:22:27] local.INFO: IMEI packet received {"connection_id":50006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:22:30] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:22:30] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:22:30] local.INFO: IMEI packet received {"connection_id":50934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":50934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:22:32] local.INFO: TCP Data received {"connection_id":50006,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:22:32] local.INFO: Processing buffer {"connection_id":50006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:22:32] local.INFO: IMEI packet received {"connection_id":50006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:22:33] local.INFO: TCP Data received {"connection_id":50006,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:22:33] local.INFO: Processing buffer {"connection_id":50006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:22:33] local.INFO: Packet analysis {"connection_id":50006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:22:33] local.INFO: Extracted packet for processing {"connection_id":50006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 07: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-22 07:22: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:22: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-22 07: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-22 07: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-22 07:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:22: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-22 07:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:22:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":50006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:22:33] local.INFO: GPS data processed {"connection_id":50006,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:22:33] local.INFO: Acknowledgment sent {"connection_id":50006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:22:36] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:22:36] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:22:36] local.INFO: IMEI packet received {"connection_id":50934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":50934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:22:37] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e2e720012d7b198005d4de600001015f2a..."} 
[2026-04-22 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e2e720012d7b198005d4de600001015f2a..."} 
[2026-04-22 07:22:37] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e2e720012d7b198005d4de600001015f2a..."} 
[2026-04-22 07:22:37] local.INFO: Packet analysis {"connection_id":50934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e2"} 
[2026-04-22 07:22:37] local.INFO: Extracted packet for processing {"connection_id":50934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e2"} 
[2026-04-22 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763042176,"raw_latitude":97836640,"longitude_deg":76.3042176,"latitude_deg":9.783664,"altitude":1,"angle":351,"satellites":42,"speed":19,"hex_longitude":"2d7b1980","hex_latitude":"05d4de60","is_valid_coordinates":true} 
[2026-04-22 07:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866608128001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74779439367454720,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871035759802218496,"note":"Value kept but may cause issues"} 
[2026-04-22 07:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776822708000,"timestamp_ms":1776822708000,"timestamp_seconds":1776822708,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e2e720"} 
[2026-04-22 07:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 07:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:22:37] 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-22 07:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866608128001,"66":13896,"5":206,"85":15104,"24":19,"16":74779439367454720,"45":8871035759802218496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-22 07:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866608128001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:22:37] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-22 07:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74779439367454720,"km_value":74779439367454.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871035759802218496,"description":"Unknown IO ID 45"} 
[2026-04-22 07:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866608128001,"power":13896,"unknown_5":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8871035759802218496}} 
[2026-04-22 07:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":50934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:22:37] local.INFO: GPS data processed {"connection_id":50934,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:22:37] local.INFO: Acknowledgment sent {"connection_id":50934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:23:04] local.INFO: TCP Data received {"connection_id":50006,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:23:04] local.INFO: Processing buffer {"connection_id":50006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:23:04] local.INFO: Packet analysis {"connection_id":50006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:23:04] local.INFO: Extracted packet for processing {"connection_id":50006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 07:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:23: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-22 07:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:23: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-22 07:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:23: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-22 07:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:23:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":50006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:23:04] local.INFO: GPS data processed {"connection_id":50006,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:23:04] local.INFO: Acknowledgment sent {"connection_id":50006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:23:08] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e33928012d7b15c005d4f830000101562a..."} 
[2026-04-22 07:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e33928012d7b15c005d4f830000101562a..."} 
[2026-04-22 07:23:08] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e33928012d7b15c005d4f830000101562a..."} 
[2026-04-22 07:23:08] local.INFO: Packet analysis {"connection_id":50934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e3"} 
[2026-04-22 07:23:08] local.INFO: Extracted packet for processing {"connection_id":50934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e3"} 
[2026-04-22 07:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763041216,"raw_latitude":97843248,"longitude_deg":76.3041216,"latitude_deg":9.7843248,"altitude":1,"angle":342,"satellites":42,"speed":20,"hex_longitude":"2d7b15c0","hex_latitude":"05d4f830","is_valid_coordinates":true} 
[2026-04-22 07:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866613248001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74779761490001920,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870261703617437696,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776822729000,"timestamp_ms":1776822729000,"timestamp_seconds":1776822729,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e33928"} 
[2026-04-22 07:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-04-22 07:23:08] 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-22 07:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:23:08] 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-22 07:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866613248001,"66":13656,"5":206,"85":15104,"24":20,"16":74779761490001920,"45":8870261703617437696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-22 07:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866613248001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:23:08] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-22 07:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74779761490001920,"km_value":74779761490001.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870261703617437696,"description":"Unknown IO ID 45"} 
[2026-04-22 07:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866613248001,"power":13656,"unknown_5":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8870261703617437696}} 
[2026-04-22 07:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":50934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:23:08] local.INFO: GPS data processed {"connection_id":50934,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:23:08] local.INFO: Acknowledgment sent {"connection_id":50934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:23:32] local.INFO: TCP Data received {"connection_id":50395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:23:32] local.INFO: Processing buffer {"connection_id":50395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:23:32] local.INFO: IMEI packet received {"connection_id":50395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:23:37] local.INFO: TCP Data received {"connection_id":50395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:23:37] local.INFO: Processing buffer {"connection_id":50395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:23:37] local.INFO: IMEI packet received {"connection_id":50395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":50395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:23:38] local.INFO: TCP Data received {"connection_id":50395,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:23:38] local.INFO: Processing buffer {"connection_id":50395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:23:38] local.INFO: Packet analysis {"connection_id":50395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:23:38] local.INFO: Extracted packet for processing {"connection_id":50395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:23:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 07: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-22 07:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:23:38] 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-22 07: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-22 07: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-22 07:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:23:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:23:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":50395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:23:38] local.INFO: GPS data processed {"connection_id":50395,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:23:38] local.INFO: Acknowledgment sent {"connection_id":50395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:23:41] local.INFO: TCP Data received {"connection_id":50255,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:23:41] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:23:41] local.INFO: IMEI packet received {"connection_id":50255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":50255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:23:42] local.INFO: TCP Data received {"connection_id":50395,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:23:42] local.INFO: Processing buffer {"connection_id":50395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:23:42] local.INFO: Packet analysis {"connection_id":50395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:23:42] local.INFO: Extracted packet for processing {"connection_id":50395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 07:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:23:42] 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-22 07:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:23:42] 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-22 07:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:23:42] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":50395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:23:42] local.INFO: GPS data processed {"connection_id":50395,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:23:42] local.INFO: Acknowledgment sent {"connection_id":50395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:23:45] local.INFO: TCP Data received {"connection_id":50255,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:23:45] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:23:45] local.INFO: IMEI packet received {"connection_id":50255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":50255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:23:45] local.INFO: TCP Data received {"connection_id":50255,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e36420012d7b0d4005d519f80002015928..."} 
[2026-04-22 07:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e36420012d7b0d4005d519f80002015928..."} 
[2026-04-22 07:23:45] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e36420012d7b0d4005d519f80002015928..."} 
[2026-04-22 07:23:45] local.INFO: Packet analysis {"connection_id":50255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e3"} 
[2026-04-22 07:23:45] local.INFO: Extracted packet for processing {"connection_id":50255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e3"} 
[2026-04-22 07:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":97851896,"longitude_deg":76.303904,"latitude_deg":9.7851896,"altitude":2,"angle":345,"satellites":40,"speed":35,"hex_longitude":"2d7b0d40","hex_latitude":"05d519f8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866618624001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74780195281698816,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869206172456464384,"note":"Value kept but may cause issues"} 
[2026-04-22 07:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776822740000,"timestamp_ms":1776822740000,"timestamp_seconds":1776822740,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e36420"} 
[2026-04-22 07: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-22 07:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 07:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":50255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":50255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":50255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:23:45] 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-22 07:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866618624001,"66":13559,"5":206,"85":15104,"24":35,"16":74780195281698816,"45":8869206172456464384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-22 07:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866618624001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:23:45] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-22 07:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74780195281698816,"km_value":74780195281698.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869206172456464384,"description":"Unknown IO ID 45"} 
[2026-04-22 07:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866618624001,"power":13559,"unknown_5":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8869206172456464384}} 
[2026-04-22 07:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":50255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:23:46] local.INFO: GPS data processed {"connection_id":50255,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:23:46] local.INFO: Acknowledgment sent {"connection_id":50255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:24:27] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:24:27] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:24:27] local.INFO: IMEI packet received {"connection_id":50935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":50935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:24:31] local.INFO: TCP Data received {"connection_id":50397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:24:31] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:24:31] local.INFO: IMEI packet received {"connection_id":50397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":50397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:24:31] local.INFO: TCP Data received {"connection_id":50397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:24:31] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:24:31] local.INFO: IMEI packet received {"connection_id":50397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":50397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:24:32] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:24:32] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:24:32] local.INFO: IMEI packet received {"connection_id":50935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:24:33] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:24:33] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:24:33] local.INFO: Packet analysis {"connection_id":50935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:24:33] local.INFO: Extracted packet for processing {"connection_id":50935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 07: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-22 07:24: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:24: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-22 07: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-22 07: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-22 07:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:24: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-22 07:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:24:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":50935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:24:33] local.INFO: GPS data processed {"connection_id":50935,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:24:33] local.INFO: Acknowledgment sent {"connection_id":50935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:24:36] local.INFO: TCP Data received {"connection_id":50397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:24:36] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:24:36] local.INFO: IMEI packet received {"connection_id":50397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":50397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:24:37] local.INFO: TCP Data received {"connection_id":50397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e4b028012d7aea0005d5fb10000300012a..."} 
[2026-04-22 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e4b028012d7aea0005d5fb10000300012a..."} 
[2026-04-22 07:24:37] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e4b028012d7aea0005d5fb10000300012a..."} 
[2026-04-22 07:24:37] local.INFO: Packet analysis {"connection_id":50397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e4"} 
[2026-04-22 07:24:37] local.INFO: Extracted packet for processing {"connection_id":50397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e4"} 
[2026-04-22 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763030016,"raw_latitude":97909520,"longitude_deg":76.3030016,"latitude_deg":9.790952,"altitude":3,"angle":1,"satellites":42,"speed":37,"hex_longitude":"2d7aea00","hex_latitude":"05d5fb10","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866642688001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74783068614819840,"note":"Value kept but may cause issues"} 
[2026-04-22 07:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857032379730216960,"note":"Value kept but may cause issues"} 
[2026-04-22 07:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776822825000,"timestamp_ms":1776822825000,"timestamp_seconds":1776822825,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e4b028"} 
[2026-04-22 07: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-22 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-22 07:24:37] 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-22 07: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-22 07: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-22 07:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:24:37] 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-22 07:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866642688001,"66":13559,"3":206,"85":15104,"24":37,"16":74783068614819840,"45":8857032379730216960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,45]} 
[2026-04-22 07:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866642688001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:24:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-04-22 07:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74783068614819840,"km_value":74783068614819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857032379730216960,"description":"Unknown IO ID 45"} 
[2026-04-22 07:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866642688001,"power":13559,"unknown_3":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8857032379730216960}} 
[2026-04-22 07:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":50397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:24:37] local.INFO: GPS data processed {"connection_id":50397,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:24:37] local.INFO: Acknowledgment sent {"connection_id":50397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:25:04] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:25:04] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:25:04] local.INFO: Packet analysis {"connection_id":50935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:25:04] local.INFO: Extracted packet for processing {"connection_id":50935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 07: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-22 07:25: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:25: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-22 07: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-22 07: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-22 07:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:25: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-22 07:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:25:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":50935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:25:04] local.INFO: GPS data processed {"connection_id":50935,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:25:04] local.INFO: Acknowledgment sent {"connection_id":50935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:25:08] local.INFO: TCP Data received {"connection_id":50397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e4df08012d7aea0005d61ec8000301652a..."} 
[2026-04-22 07:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e4df08012d7aea0005d61ec8000301652a..."} 
[2026-04-22 07:25:08] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e4df08012d7aea0005d61ec8000301652a..."} 
[2026-04-22 07:25:08] local.INFO: Packet analysis {"connection_id":50397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e4"} 
[2026-04-22 07:25:08] local.INFO: Extracted packet for processing {"connection_id":50397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e4"} 
[2026-04-22 07:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763030016,"raw_latitude":97918664,"longitude_deg":76.3030016,"latitude_deg":9.7918664,"altitude":3,"angle":357,"satellites":42,"speed":13,"hex_longitude":"2d7aea00","hex_latitude":"05d61ec8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866643200001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74783515291418624,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856891642242338816,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776822837000,"timestamp_ms":1776822837000,"timestamp_seconds":1776822837,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e4df08"} 
[2026-04-22 07: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-22 07:25:08] 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-22 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 07:25:08] 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-22 07: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-22 07: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-22 07:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:25:08] 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-22 07:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866643200001,"66":13015,"3":206,"85":15104,"24":13,"16":74783515291418624,"45":8856891642242338816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,45]} 
[2026-04-22 07:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866643200001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:25:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-04-22 07:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74783515291418624,"km_value":74783515291418.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856891642242338816,"description":"Unknown IO ID 45"} 
[2026-04-22 07:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866643200001,"power":13015,"unknown_3":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8856891642242338816}} 
[2026-04-22 07:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":50397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:25:08] local.INFO: GPS data processed {"connection_id":50397,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:25:08] local.INFO: Acknowledgment sent {"connection_id":50397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:25:17] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:25:17] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:25:17] local.INFO: IMEI packet received {"connection_id":50936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":50936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:25:27] local.INFO: TCP Data received {"connection_id":50398,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:25:27] local.INFO: Processing buffer {"connection_id":50398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:25:27] local.INFO: IMEI packet received {"connection_id":50398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:25:31] local.INFO: TCP Data received {"connection_id":50399,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:25:31] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:25:31] local.INFO: IMEI packet received {"connection_id":50399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":50399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:25:32] local.INFO: TCP Data received {"connection_id":50398,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:25:32] local.INFO: Processing buffer {"connection_id":50398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:25:32] local.INFO: IMEI packet received {"connection_id":50398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:25:33] local.INFO: TCP Data received {"connection_id":50398,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:25:33] local.INFO: Processing buffer {"connection_id":50398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e18790012d7f960005afd7d00000015621..."} 
[2026-04-22 07:25:33] local.INFO: Packet analysis {"connection_id":50398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:25:33] local.INFO: Extracted packet for processing {"connection_id":50398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e1"} 
[2026-04-22 07:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866513152001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822618000,"timestamp_ms":1776822618000,"timestamp_seconds":1776822618,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e18790"} 
[2026-04-22 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-22 07:25: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-22 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:25: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-22 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-22 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-22 07:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866513152001,"66":25397,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866513152001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:25:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866513152001,"power":25397,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":50398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:25:33] local.INFO: GPS data processed {"connection_id":50398,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:25:33] local.INFO: Acknowledgment sent {"connection_id":50398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:25:36] local.INFO: TCP Data received {"connection_id":50399,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:25:36] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:25:36] local.INFO: IMEI packet received {"connection_id":50399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":50399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:25:36] local.INFO: TCP Data received {"connection_id":50399,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e52170012d7ae98005d621400003015729..."} 
[2026-04-22 07:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e52170012d7ae98005d621400003015729..."} 
[2026-04-22 07:25:36] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e52170012d7ae98005d621400003015729..."} 
[2026-04-22 07:25:36] local.INFO: Packet analysis {"connection_id":50399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e5"} 
[2026-04-22 07:25:36] local.INFO: Extracted packet for processing {"connection_id":50399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e5"} 
[2026-04-22 07:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763029888,"raw_latitude":97919296,"longitude_deg":76.3029888,"latitude_deg":9.7919296,"altitude":3,"angle":343,"satellites":41,"speed":5,"hex_longitude":"2d7ae980","hex_latitude":"05d62140","is_valid_coordinates":true} 
[2026-04-22 07:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866646272001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74783553946124288,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856891642244679680,"note":"Value kept but may cause issues"} 
[2026-04-22 07:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776822854000,"timestamp_ms":1776822854000,"timestamp_seconds":1776822854,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e52170"} 
[2026-04-22 07:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:25:36] 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-22 07:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 07:25:36] 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-22 07:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:25:36] 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-22 07:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866646272001,"66":13689,"243":206,"85":15104,"24":5,"16":74783553946124288,"45":8856891642244679680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-04-22 07:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866646272001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:25:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-04-22 07:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74783553946124288,"km_value":74783553946124.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856891642244679680,"description":"Unknown IO ID 45"} 
[2026-04-22 07:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866646272001,"power":13689,"unknown_243":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8856891642244679680}} 
[2026-04-22 07:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":50399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:25:36] local.INFO: GPS data processed {"connection_id":50399,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:25:36] local.INFO: Acknowledgment sent {"connection_id":50399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:25:51] local.INFO: TCP Data received {"connection_id":50256,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:25:51] local.INFO: Processing buffer {"connection_id":50256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:25:51] local.INFO: IMEI packet received {"connection_id":50256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":50256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:26:04] local.INFO: TCP Data received {"connection_id":50398,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:26:04] local.INFO: Processing buffer {"connection_id":50398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:26:04] local.INFO: Packet analysis {"connection_id":50398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:26:04] local.INFO: Extracted packet for processing {"connection_id":50398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:26: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-22 07:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:26:04] 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-22 07:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:26:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":50398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:26:04] local.INFO: GPS data processed {"connection_id":50398,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:26:04] local.INFO: Acknowledgment sent {"connection_id":50398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:26:07] local.INFO: TCP Data received {"connection_id":50399,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e52558012d7ae98005d622080003016629..."} 
[2026-04-22 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e52558012d7ae98005d622080003016629..."} 
[2026-04-22 07:26:07] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e52558012d7ae98005d622080003016629..."} 
[2026-04-22 07:26:07] local.INFO: Packet analysis {"connection_id":50399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e5"} 
[2026-04-22 07:26:07] local.INFO: Extracted packet for processing {"connection_id":50399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e5"} 
[2026-04-22 07:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763029888,"raw_latitude":97919496,"longitude_deg":76.3029888,"latitude_deg":9.7919496,"altitude":3,"angle":358,"satellites":41,"speed":9,"hex_longitude":"2d7ae980","hex_latitude":"05d62208","is_valid_coordinates":true} 
[2026-04-22 07:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866650624001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74783562536058880,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856750904756486144,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776822855000,"timestamp_ms":1776822855000,"timestamp_seconds":1776822855,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e52558"} 
[2026-04-22 07:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 07:26:07] 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-22 07:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:26:07] 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-22 07:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866650624001,"66":13624,"243":206,"85":15104,"24":9,"16":74783562536058880,"45":8856750904756486144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-04-22 07:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866650624001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:26:07] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-04-22 07:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74783562536058880,"km_value":74783562536058.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856750904756486144,"description":"Unknown IO ID 45"} 
[2026-04-22 07:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866650624001,"power":13624,"unknown_243":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8856750904756486144}} 
[2026-04-22 07:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":50399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:26:07] local.INFO: GPS data processed {"connection_id":50399,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:26:07] local.INFO: Acknowledgment sent {"connection_id":50399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:26:31] local.INFO: TCP Data received {"connection_id":50258,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:26:31] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:26:31] local.INFO: IMEI packet received {"connection_id":50258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":50258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:26:32] local.INFO: TCP Data received {"connection_id":50257,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:26:32] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:26:32] local.INFO: IMEI packet received {"connection_id":50257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:26:32] local.INFO: TCP Data received {"connection_id":50258,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:26:32] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:26:32] local.INFO: IMEI packet received {"connection_id":50258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:26:36] local.INFO: TCP Data received {"connection_id":50258,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:26:36] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:26:36] local.INFO: IMEI packet received {"connection_id":50258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":50258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:26:36] local.INFO: TCP Data received {"connection_id":50258,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e6d308012d7aba0005d702780003000429..."} 
[2026-04-22 07:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e6d308012d7aba0005d702780003000429..."} 
[2026-04-22 07:26:36] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e6d308012d7aba0005d702780003000429..."} 
[2026-04-22 07:26:36] local.INFO: Packet analysis {"connection_id":50258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:26:36] local.INFO: Extracted packet for processing {"connection_id":50258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763017728,"raw_latitude":97976952,"longitude_deg":76.3017728,"latitude_deg":9.7976952,"altitude":3,"angle":4,"satellites":41,"speed":10,"hex_longitude":"2d7aba00","hex_latitude":"05d70278","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866674944001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74786444459114496,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843521580865583104,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776822965000,"timestamp_ms":1776822965000,"timestamp_seconds":1776822965,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e6d308"} 
[2026-04-22 07: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-22 07:26:36] 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-22 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-22 07:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:26:36] 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-22 07:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866674944001,"66":13276,"245":206,"85":15104,"24":10,"16":74786444459114496,"45":8843521580865583104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 07:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866674944001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74786444459114496,"km_value":74786444459114.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843521580865583104,"description":"Unknown IO ID 45"} 
[2026-04-22 07:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866674944001,"power":13276,"geofence_id":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8843521580865583104}} 
[2026-04-22 07:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":50258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:26:37] local.INFO: GPS data processed {"connection_id":50258,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:26:37] local.INFO: Acknowledgment sent {"connection_id":50258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:26:37] local.INFO: TCP Data received {"connection_id":50257,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:26:37] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:26:37] local.INFO: IMEI packet received {"connection_id":50257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":50257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:26:38] local.INFO: TCP Data received {"connection_id":50257,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:26:38] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:26:38] local.INFO: Packet analysis {"connection_id":50257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:26:38] local.INFO: Extracted packet for processing {"connection_id":50257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:26: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-22 07:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:26:38] 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-22 07:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:26:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:26:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":50257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:26:38] local.INFO: GPS data processed {"connection_id":50257,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:26:38] local.INFO: Acknowledgment sent {"connection_id":50257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:26:42] local.INFO: TCP Data received {"connection_id":50257,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:26:42] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:26:42] local.INFO: Packet analysis {"connection_id":50257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:26:42] local.INFO: Extracted packet for processing {"connection_id":50257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:26:42] 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-22 07:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:26:42] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":50257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:26:42] local.INFO: GPS data processed {"connection_id":50257,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:26:42] local.INFO: Acknowledgment sent {"connection_id":50257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:27:07] local.INFO: TCP Data received {"connection_id":50258,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e705d0012d7abd4005d725000004000229..."} 
[2026-04-22 07:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e705d0012d7abd4005d725000004000229..."} 
[2026-04-22 07:27:07] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e705d0012d7abd4005d725000004000229..."} 
[2026-04-22 07:27:07] local.INFO: Packet analysis {"connection_id":50258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e7"} 
[2026-04-22 07:27:07] local.INFO: Extracted packet for processing {"connection_id":50258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e7"} 
[2026-04-22 07:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763018560,"raw_latitude":97985792,"longitude_deg":76.301856,"latitude_deg":9.7985792,"altitude":4,"angle":2,"satellites":41,"speed":43,"hex_longitude":"2d7abd40","hex_latitude":"05d72500","is_valid_coordinates":true} 
[2026-04-22 07:27: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-22 07:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866679040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74786873955844096,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843380843377489920,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776822978000,"timestamp_ms":1776822978000,"timestamp_seconds":1776822978,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e705d0"} 
[2026-04-22 07:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:27:07] 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-22 07:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-22 07:27:07] 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-22 07:27: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-22 07:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:27:07] 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-22 07:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866679040001,"66":13580,"245":206,"85":15104,"24":43,"16":74786873955844096,"45":8843380843377489920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 07:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866679040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74786873955844096,"km_value":74786873955844.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843380843377489920,"description":"Unknown IO ID 45"} 
[2026-04-22 07:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866679040001,"power":13580,"geofence_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8843380843377489920}} 
[2026-04-22 07:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":50258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:27:07] local.INFO: GPS data processed {"connection_id":50258,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:27:07] local.INFO: Acknowledgment sent {"connection_id":50258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:27:27] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:27:27] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:27:27] local.INFO: IMEI packet received {"connection_id":50259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":50259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:27:32] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:27:32] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:27:32] local.INFO: IMEI packet received {"connection_id":50259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:27:33] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:27:33] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:27:33] local.INFO: Packet analysis {"connection_id":50259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:27:33] local.INFO: Extracted packet for processing {"connection_id":50259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07: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-22 07:27: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-22 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:27: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-22 07: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-22 07: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-22 07:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:27:33] 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-22 07:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:27:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":50259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:27:33] local.INFO: GPS data processed {"connection_id":50259,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:27:33] local.INFO: Acknowledgment sent {"connection_id":50259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:27:35] local.INFO: TCP Data received {"connection_id":50260,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:27:35] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:27:35] local.INFO: IMEI packet received {"connection_id":50260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":50260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:27:41] local.INFO: TCP Data received {"connection_id":50260,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:27:41] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:27:41] local.INFO: IMEI packet received {"connection_id":50260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":50260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:27:42] local.INFO: TCP Data received {"connection_id":50260,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e71958012d7abbc005d73b180004015f29..."} 
[2026-04-22 07:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e71958012d7abbc005d73b180004015f29..."} 
[2026-04-22 07:27:42] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e71958012d7abbc005d73b180004015f29..."} 
[2026-04-22 07:27:42] local.INFO: Packet analysis {"connection_id":50260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e7"} 
[2026-04-22 07:27:42] local.INFO: Extracted packet for processing {"connection_id":50260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e7"} 
[2026-04-22 07:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763018176,"raw_latitude":97991448,"longitude_deg":76.3018176,"latitude_deg":9.7991448,"altitude":4,"angle":351,"satellites":41,"speed":48,"hex_longitude":"2d7abbc0","hex_latitude":"05d73b18","is_valid_coordinates":true} 
[2026-04-22 07:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866682368001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74787153128718336,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844295637054062592,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776822983000,"timestamp_ms":1776822983000,"timestamp_seconds":1776822983,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e71958"} 
[2026-04-22 07:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581616,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3001429752,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3864909825,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3600852992,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7289639097176424458,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3404726276,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621542899,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2918383822,"corrected_to":0} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221608102,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450184344279502421,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2965897216,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-3116484523380965373,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755549765042417,"note":"Value kept but may cause issues"} 
[2026-04-22 07:27:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,245,85,24,241,157,16,178,211,45,2,3,41,10,66,177,148,128,254,5,40,243,125,1,240,214,227,4,113,205,44,54,209,42,239,53,9,25,122,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2918383822,"validated":0}]} 
[2026-04-22 07:27:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288232751271444480,"timestamp_seconds":288232751271444.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:27:42] 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-22 07:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866682368001,"66":13765,"245":206,"85":15104,"24":48,"16":74787153128718336,"45":8844295637054062592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 07:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866682368001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74787153128718336,"km_value":74787153128718.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844295637054062592,"description":"Unknown IO ID 45"} 
[2026-04-22 07:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866682368001,"power":13765,"geofence_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8844295637054062592}} 
[2026-04-22 07:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":50260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:27:42] local.INFO: GPS data processed {"connection_id":50260,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:27:42] local.INFO: Acknowledgment sent {"connection_id":50260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:28:04] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:28:04] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:28:04] local.INFO: Packet analysis {"connection_id":50259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:28:04] local.INFO: Extracted packet for processing {"connection_id":50259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:28: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-22 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:28:04] 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-22 07:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:28:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":50259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:28:04] local.INFO: GPS data processed {"connection_id":50259,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:28:04] local.INFO: Acknowledgment sent {"connection_id":50259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:28:13] local.INFO: TCP Data received {"connection_id":50260,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e88c70012d7a8a4005d89af8000100162a..."} 
[2026-04-22 07:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e88c70012d7a8a4005d89af8000100162a..."} 
[2026-04-22 07:28:13] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e88c70012d7a8a4005d89af8000100162a..."} 
[2026-04-22 07:28:13] local.INFO: Packet analysis {"connection_id":50260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e8"} 
[2026-04-22 07:28:13] local.INFO: Extracted packet for processing {"connection_id":50260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e8"} 
[2026-04-22 07:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763005504,"raw_latitude":98081528,"longitude_deg":76.3005504,"latitude_deg":9.8081528,"altitude":1,"angle":22,"satellites":42,"speed":39,"hex_longitude":"2d7a8a40","hex_latitude":"05d89af8","is_valid_coordinates":true} 
[2026-04-22 07:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866707200001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74791671434313728,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828955250847076352,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776823078000,"timestamp_ms":1776823078000,"timestamp_seconds":1776823078,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e88c70"} 
[2026-04-22 07:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 07:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:28:13] 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-22 07:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866707200001,"66":13559,"245":206,"85":15104,"24":39,"16":74791671434313728,"45":8828955250847076352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 07:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866707200001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74791671434313728,"km_value":74791671434313.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828955250847076352,"description":"Unknown IO ID 45"} 
[2026-04-22 07:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866707200001,"power":13559,"geofence_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8828955250847076352}} 
[2026-04-22 07:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":50260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:28:13] local.INFO: GPS data processed {"connection_id":50260,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:28:13] local.INFO: Acknowledgment sent {"connection_id":50260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:28:27] local.INFO: TCP Data received {"connection_id":50938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:28:27] local.INFO: Processing buffer {"connection_id":50938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:28:27] local.INFO: IMEI packet received {"connection_id":50938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":50938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:28:32] local.INFO: TCP Data received {"connection_id":50938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:28:32] local.INFO: Processing buffer {"connection_id":50938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:28:32] local.INFO: IMEI packet received {"connection_id":50938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:28:33] local.INFO: TCP Data received {"connection_id":50938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:28:33] local.INFO: Processing buffer {"connection_id":50938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:28:33] local.INFO: Packet analysis {"connection_id":50938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:28:33] local.INFO: Extracted packet for processing {"connection_id":50938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07: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-22 07:28: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-22 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:28: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-22 07: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-22 07: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-22 07:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:28:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:28:33] local.INFO: GPS data processed {"connection_id":50938,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:28:33] local.INFO: Acknowledgment sent {"connection_id":50938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:28:36] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:28:36] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:28:36] local.INFO: IMEI packet received {"connection_id":50939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":50939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:28:36] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:28:36] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:28:36] local.INFO: IMEI packet received {"connection_id":50939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":50939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:28:41] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:28:41] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:28:41] local.INFO: IMEI packet received {"connection_id":50939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":50939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:28:41] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e89ff8012d7a900005d8aca00003000a29..."} 
[2026-04-22 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e89ff8012d7a900005d8aca00003000a29..."} 
[2026-04-22 07:28:41] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e89ff8012d7a900005d8aca00003000a29..."} 
[2026-04-22 07:28:41] local.INFO: Packet analysis {"connection_id":50939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e8"} 
[2026-04-22 07:28:41] local.INFO: Extracted packet for processing {"connection_id":50939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e8"} 
[2026-04-22 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763006976,"raw_latitude":98086048,"longitude_deg":76.3006976,"latitude_deg":9.8086048,"altitude":3,"angle":10,"satellites":41,"speed":39,"hex_longitude":"2d7a9000","hex_latitude":"05d8aca0","is_valid_coordinates":true} 
[2026-04-22 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866707968001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74791899067580416,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829940413266327552,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776823083000,"timestamp_ms":1776823083000,"timestamp_seconds":1776823083,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e89ff8"} 
[2026-04-22 07:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 07:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:28:41] 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-22 07:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866707968001,"66":13798,"245":206,"85":15104,"24":39,"16":74791899067580416,"45":8829940413266327552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 07:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866707968001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74791899067580416,"km_value":74791899067580.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829940413266327552,"description":"Unknown IO ID 45"} 
[2026-04-22 07:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866707968001,"power":13798,"geofence_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8829940413266327552}} 
[2026-04-22 07:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":50939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:28:41] local.INFO: GPS data processed {"connection_id":50939,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:28:41] local.INFO: Acknowledgment sent {"connection_id":50939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:28:46] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e8abb0012d7a908005d8b8d80003016728..."} 
[2026-04-22 07:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e8abb0012d7a908005d8b8d80003016728..."} 
[2026-04-22 07:28:46] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e8abb0012d7a908005d8b8d80003016728..."} 
[2026-04-22 07:28:46] local.INFO: Packet analysis {"connection_id":50939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e8"} 
[2026-04-22 07:28:46] local.INFO: Extracted packet for processing {"connection_id":50939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e8"} 
[2026-04-22 07:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763007104,"raw_latitude":98089176,"longitude_deg":76.3007104,"latitude_deg":9.8089176,"altitude":3,"angle":359,"satellites":40,"speed":43,"hex_longitude":"2d7a9080","hex_latitude":"05d8b8d8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866709248001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74792053686403072,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831558894383570944,"note":"Value kept but may cause issues"} 
[2026-04-22 07:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776823086000,"timestamp_ms":1776823086000,"timestamp_seconds":1776823086,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e8abb0"} 
[2026-04-22 07: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-22 07:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 07:28:46] 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-22 07: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-22 07: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-22 07:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:28:46] 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-22 07:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866709248001,"66":13917,"245":206,"85":15104,"24":43,"16":74792053686403072,"45":8831558894383570944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-22 07:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866709248001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74792053686403072,"km_value":74792053686403.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831558894383570944,"description":"Unknown IO ID 45"} 
[2026-04-22 07:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866709248001,"power":13917,"geofence_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8831558894383570944}} 
[2026-04-22 07:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":50939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:28:46] local.INFO: GPS data processed {"connection_id":50939,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:28:46] local.INFO: Acknowledgment sent {"connection_id":50939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:29:04] local.INFO: TCP Data received {"connection_id":50938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:29:04] local.INFO: Processing buffer {"connection_id":50938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:29:04] local.INFO: Packet analysis {"connection_id":50938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:29:04] local.INFO: Extracted packet for processing {"connection_id":50938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:29: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-22 07:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:29:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":50938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:29:04] local.INFO: GPS data processed {"connection_id":50938,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:29:04] local.INFO: Acknowledgment sent {"connection_id":50938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:29:27] local.INFO: TCP Data received {"connection_id":50261,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:29:27] local.INFO: Processing buffer {"connection_id":50261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:29:27] local.INFO: IMEI packet received {"connection_id":50261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":50261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:29:27] local.INFO: TCP Data received {"connection_id":50009,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:27] local.INFO: Processing buffer {"connection_id":50009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:27] local.INFO: IMEI packet received {"connection_id":50009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":50009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:29:31] local.INFO: TCP Data received {"connection_id":50009,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:31] local.INFO: Processing buffer {"connection_id":50009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:31] local.INFO: IMEI packet received {"connection_id":50009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":50009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:29:31] local.INFO: TCP Data received {"connection_id":50009,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:31] local.INFO: Processing buffer {"connection_id":50009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:31] local.INFO: IMEI packet received {"connection_id":50009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":50009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:29:32] local.INFO: TCP Data received {"connection_id":50261,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:29:32] local.INFO: Processing buffer {"connection_id":50261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:29:32] local.INFO: IMEI packet received {"connection_id":50261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:29:33] local.INFO: TCP Data received {"connection_id":50261,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:29:33] local.INFO: Processing buffer {"connection_id":50261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:29:33] local.INFO: Packet analysis {"connection_id":50261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:29:33] local.INFO: Extracted packet for processing {"connection_id":50261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07: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-22 07: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-22 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:29: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-22 07: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-22 07: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-22 07:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:29:33] 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-22 07:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:29:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":50261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:29:33] local.INFO: GPS data processed {"connection_id":50261,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:29:33] local.INFO: Acknowledgment sent {"connection_id":50261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:29:36] local.INFO: TCP Data received {"connection_id":50009,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:36] local.INFO: Processing buffer {"connection_id":50009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:29:36] local.INFO: IMEI packet received {"connection_id":50009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":50009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:29:37] local.INFO: TCP Data received {"connection_id":50009,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e9c4f0012d7a5d8005d9d3280001015b29..."} 
[2026-04-22 07:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e9c4f0012d7a5d8005d9d3280001015b29..."} 
[2026-04-22 07:29:37] local.INFO: Processing buffer {"connection_id":50009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e9c4f0012d7a5d8005d9d3280001015b29..."} 
[2026-04-22 07:29:37] local.INFO: Packet analysis {"connection_id":50009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e9"} 
[2026-04-22 07:29:37] local.INFO: Extracted packet for processing {"connection_id":50009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e9"} 
[2026-04-22 07:29:37] local.INFO: GPS Element Parsed {"raw_longitude":762994048,"raw_latitude":98161448,"longitude_deg":76.2994048,"latitude_deg":9.8161448,"altitude":1,"angle":347,"satellites":41,"speed":50,"hex_longitude":"2d7a5d80","hex_latitude":"05d9d328","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866726400001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74795648574029824,"note":"Value kept but may cause issues"} 
[2026-04-22 07:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819666576634308608,"note":"Value kept but may cause issues"} 
[2026-04-22 07:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776823158000,"timestamp_ms":1776823158000,"timestamp_seconds":1776823158,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e9c4f0"} 
[2026-04-22 07: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-22 07:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 07:29:37] 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-22 07: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-22 07: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-22 07:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:29:37] 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-22 07:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866726400001,"66":13722,"231":206,"85":15104,"24":50,"16":74795648574029824,"45":8819666576634308608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-04-22 07:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866726400001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:29:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-22 07:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74795648574029824,"km_value":74795648574029.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819666576634308608,"description":"Unknown IO ID 45"} 
[2026-04-22 07:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866726400001,"power":13722,"unknown_231":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8819666576634308608}} 
[2026-04-22 07:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":50009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:29:37] local.INFO: GPS data processed {"connection_id":50009,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:29:37] local.INFO: Acknowledgment sent {"connection_id":50009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:30:04] local.INFO: TCP Data received {"connection_id":50261,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:30:04] local.INFO: Processing buffer {"connection_id":50261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:30:04] local.INFO: Packet analysis {"connection_id":50261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:30:04] local.INFO: Extracted packet for processing {"connection_id":50261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07: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-22 07:30: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-22 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:30:04] 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-22 07:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:30:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":50261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:30:04] local.INFO: GPS data processed {"connection_id":50261,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:30:04] local.INFO: Acknowledgment sent {"connection_id":50261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:30:08] local.INFO: TCP Data received {"connection_id":50009,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e9e430012d7a534005d9f5f80001015828..."} 
[2026-04-22 07:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e9e430012d7a534005d9f5f80001015828..."} 
[2026-04-22 07:30:08] local.INFO: Processing buffer {"connection_id":50009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e9e430012d7a534005d9f5f80001015828..."} 
[2026-04-22 07:30:08] local.INFO: Packet analysis {"connection_id":50009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e9"} 
[2026-04-22 07:30:08] local.INFO: Extracted packet for processing {"connection_id":50009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e9"} 
[2026-04-22 07:30:08] local.INFO: GPS Element Parsed {"raw_longitude":762991424,"raw_latitude":98170360,"longitude_deg":76.2991424,"latitude_deg":9.817036,"altitude":1,"angle":344,"satellites":40,"speed":42,"hex_longitude":"2d7a5340","hex_latitude":"05d9f5f8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866728448001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74796099545595904,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817344408078985216,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776823166000,"timestamp_ms":1776823166000,"timestamp_seconds":1776823166,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e9e430"} 
[2026-04-22 07: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-22 07:30:08] 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-22 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 07:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:30:08] 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-22 07:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866728448001,"66":13787,"231":206,"85":15104,"24":42,"16":74796099545595904,"45":8817344408078985216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-04-22 07:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866728448001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:30:08] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-22 07:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74796099545595904,"km_value":74796099545595.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817344408078985216,"description":"Unknown IO ID 45"} 
[2026-04-22 07:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866728448001,"power":13787,"unknown_231":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8817344408078985216}} 
[2026-04-22 07:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":50009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:30:08] local.INFO: GPS data processed {"connection_id":50009,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:30:08] local.INFO: Acknowledgment sent {"connection_id":50009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:30:26] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:30:26] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:30:26] local.INFO: IMEI packet received {"connection_id":50262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":50262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:30:31] local.INFO: TCP Data received {"connection_id":50401,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:30:31] local.INFO: Processing buffer {"connection_id":50401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:30:31] local.INFO: IMEI packet received {"connection_id":50401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":50401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:30:32] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:30:32] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:30:32] local.INFO: IMEI packet received {"connection_id":50262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:30:33] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:30:33] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e61f58012d7f960005afd7d0000001561f..."} 
[2026-04-22 07:30:33] local.INFO: Packet analysis {"connection_id":50262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:30:33] local.INFO: Extracted packet for processing {"connection_id":50262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e6"} 
[2026-04-22 07:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866590208001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776822919000,"timestamp_ms":1776822919000,"timestamp_seconds":1776822919,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e61f58"} 
[2026-04-22 07: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-22 07:30: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-22 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 07:30: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-22 07: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-22 07: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-22 07:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866590208001,"66":25451,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866590208001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:30:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866590208001,"power":25451,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":50262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:30:33] local.INFO: GPS data processed {"connection_id":50262,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:30:33] local.INFO: Acknowledgment sent {"connection_id":50262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:30:34] local.INFO: TCP Data received {"connection_id":50401,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:30:34] local.INFO: Processing buffer {"connection_id":50401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:30:34] local.INFO: IMEI packet received {"connection_id":50401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":50401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:30:34] local.INFO: TCP Data received {"connection_id":50401,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2e9efe8012d7a518005da02700001016627..."} 
[2026-04-22 07:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2e9efe8012d7a518005da02700001016627..."} 
[2026-04-22 07:30:34] local.INFO: Processing buffer {"connection_id":50401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2e9efe8012d7a518005da02700001016627..."} 
[2026-04-22 07:30:34] local.INFO: Packet analysis {"connection_id":50401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2e9"} 
[2026-04-22 07:30:34] local.INFO: Extracted packet for processing {"connection_id":50401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2e9"} 
[2026-04-22 07:30:34] local.INFO: GPS Element Parsed {"raw_longitude":762990976,"raw_latitude":98173552,"longitude_deg":76.2990976,"latitude_deg":9.8173552,"altitude":1,"angle":358,"satellites":39,"speed":43,"hex_longitude":"2d7a5180","hex_latitude":"05da0270","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866730496001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74796254164418560,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814459289569982464,"note":"Value kept but may cause issues"} 
[2026-04-22 07:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776823169000,"timestamp_ms":1776823169000,"timestamp_seconds":1776823169,"priority":1,"record_length":96,"hex_timestamp":"0000019db2e9efe8"} 
[2026-04-22 07: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-22 07:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-22 07:30:34] 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-22 07: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-22 07: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-22 07:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:30:34] 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-22 07:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866730496001,"66":13580,"231":206,"85":15104,"24":43,"16":74796254164418560,"45":8814459289569982464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-04-22 07:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866730496001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:30:34] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-22 07:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74796254164418560,"km_value":74796254164418.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814459289569982464,"description":"Unknown IO ID 45"} 
[2026-04-22 07:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866730496001,"power":13580,"unknown_231":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8814459289569982464}} 
[2026-04-22 07:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":50401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:30:35] local.INFO: GPS data processed {"connection_id":50401,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:30:35] local.INFO: Acknowledgment sent {"connection_id":50401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:31:04] local.INFO: TCP Data received {"connection_id":50262,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:31:04] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:31:04] local.INFO: Packet analysis {"connection_id":50262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:31:04] local.INFO: Extracted packet for processing {"connection_id":50262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 07: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-22 07:31: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-22 07: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:31: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-22 07: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-22 07: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-22 07:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:31: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-22 07:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:31:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":50262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:31:04] local.INFO: GPS data processed {"connection_id":50262,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:31:04] local.INFO: Acknowledgment sent {"connection_id":50262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:31:06] local.INFO: TCP Data received {"connection_id":50401,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ea0f28012d7a508005da25180001015f27..."} 
[2026-04-22 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ea0f28012d7a508005da25180001015f27..."} 
[2026-04-22 07:31:06] local.INFO: Processing buffer {"connection_id":50401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ea0f28012d7a508005da25180001015f27..."} 
[2026-04-22 07:31:06] local.INFO: Packet analysis {"connection_id":50401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:31:06] local.INFO: Extracted packet for processing {"connection_id":50401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:31:06] local.INFO: GPS Element Parsed {"raw_longitude":762990720,"raw_latitude":98182424,"longitude_deg":76.299072,"latitude_deg":9.8182424,"altitude":1,"angle":351,"satellites":39,"speed":47,"hex_longitude":"2d7a5080","hex_latitude":"05da2518","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866731264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74796687956115456,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813966708361555968,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776823177000,"timestamp_ms":1776823177000,"timestamp_seconds":1776823177,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ea0f28"} 
[2026-04-22 07: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-22 07:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581624,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3001640752,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4911738523989573642,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3422552064,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3918413825,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2438987776,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132260839,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816934094,"corrected_to":0} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2684431738,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221608834,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294396356480597,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3109158912,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3647756288,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":122,"raw_value":8412730535083245569,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755579829813489,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,231,85,24,241,157,16,186,228,45,64,245,1,40,10,66,196,128,211,41,165,192,240,28,227,185,178,217,4,113,205,42,126,103,239,53,2,9,5,38,122,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2816934094,"validated":0}]} 
[2026-04-22 07:31:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72451386707214336,"timestamp_seconds":72451386707214.34,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07: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-22 07:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:31:06] 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-22 07:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866731264001,"66":13472,"231":206,"85":15104,"24":47,"16":74796687956115456,"45":8813966708361555968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-04-22 07:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866731264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:31:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-22 07:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74796687956115456,"km_value":74796687956115.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813966708361555968,"description":"Unknown IO ID 45"} 
[2026-04-22 07:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866731264001,"power":13472,"unknown_231":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8813966708361555968}} 
[2026-04-22 07:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":50401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:31:06] local.INFO: GPS data processed {"connection_id":50401,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:31:06] local.INFO: Acknowledgment sent {"connection_id":50401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:31:07] local.INFO: TCP Data received {"connection_id":50011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:31:07] local.INFO: Processing buffer {"connection_id":50011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:31:07] local.INFO: IMEI packet received {"connection_id":50011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":50011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:31:31] local.INFO: TCP Data received {"connection_id":50264,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:31:31] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:31:31] local.INFO: IMEI packet received {"connection_id":50264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":50264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:31:31] local.INFO: TCP Data received {"connection_id":50264,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:31:31] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:31:31] local.INFO: IMEI packet received {"connection_id":50264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":50264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:31:32] local.INFO: TCP Data received {"connection_id":50263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:31:32] local.INFO: Processing buffer {"connection_id":50263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:31:32] local.INFO: IMEI packet received {"connection_id":50263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:31:35] local.INFO: TCP Data received {"connection_id":50264,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:31:35] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:31:35] local.INFO: IMEI packet received {"connection_id":50264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":50264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:31:36] local.INFO: TCP Data received {"connection_id":50264,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eb4f78012d7ab08005daab580007004b29..."} 
[2026-04-22 07:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eb4f78012d7ab08005daab580007004b29..."} 
[2026-04-22 07:31:36] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eb4f78012d7ab08005daab580007004b29..."} 
[2026-04-22 07:31:36] local.INFO: Packet analysis {"connection_id":50264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2eb"} 
[2026-04-22 07:31:36] local.INFO: Extracted packet for processing {"connection_id":50264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2eb"} 
[2026-04-22 07:31:36] local.INFO: GPS Element Parsed {"raw_longitude":763015296,"raw_latitude":98216792,"longitude_deg":76.3015296,"latitude_deg":9.8216792,"altitude":7,"angle":75,"satellites":41,"speed":19,"hex_longitude":"2d7ab080","hex_latitude":"05daab58","is_valid_coordinates":true} 
[2026-04-22 07:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866750464001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74799518339563520,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831136681951307776,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776823259000,"timestamp_ms":1776823259000,"timestamp_seconds":1776823259,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eb4f78"} 
[2026-04-22 07:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:31:36] 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-22 07:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 07:31:36] 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-22 07:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:31:36] 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-22 07:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866750464001,"66":13406,"229":206,"85":15104,"24":19,"16":74799518339563520,"45":8831136681951307776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-22 07:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866750464001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:31:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-22 07:31:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74799518339563520,"km_value":74799518339563.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831136681951307776,"description":"Unknown IO ID 45"} 
[2026-04-22 07:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866750464001,"power":13406,"unknown_229":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8831136681951307776}} 
[2026-04-22 07:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":50264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:31:36] local.INFO: GPS data processed {"connection_id":50264,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:31:36] local.INFO: Acknowledgment sent {"connection_id":50264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:31:37] local.INFO: TCP Data received {"connection_id":50263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:31:37] local.INFO: Processing buffer {"connection_id":50263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:31:37] local.INFO: IMEI packet received {"connection_id":50263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":50263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:31:38] local.INFO: TCP Data received {"connection_id":50263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:31:38] local.INFO: Processing buffer {"connection_id":50263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:31:38] local.INFO: Packet analysis {"connection_id":50263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:31:38] local.INFO: Extracted packet for processing {"connection_id":50263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 07: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-22 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:31:38] 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-22 07: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-22 07: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-22 07:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:31: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-22 07:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:31:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":50263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:31:38] local.INFO: GPS data processed {"connection_id":50263,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:31:38] local.INFO: Acknowledgment sent {"connection_id":50263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:31:42] local.INFO: TCP Data received {"connection_id":50263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:31:42] local.INFO: Processing buffer {"connection_id":50263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:31:42] local.INFO: Packet analysis {"connection_id":50263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:31:42] local.INFO: Extracted packet for processing {"connection_id":50263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 07:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:31:42] 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-22 07:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:31:42] local.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-22 07:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:31:42] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":50263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:31:42] local.INFO: GPS data processed {"connection_id":50263,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:31:42] local.INFO: Acknowledgment sent {"connection_id":50263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:31:51] local.INFO: TCP Data received {"connection_id":50402,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:31:51] local.INFO: Processing buffer {"connection_id":50402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:31:51] local.INFO: IMEI packet received {"connection_id":50402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":50402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:31:57] local.INFO: TCP Data received {"connection_id":50402,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:31:57] local.INFO: Processing buffer {"connection_id":50402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:31:57] local.INFO: IMEI packet received {"connection_id":50402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 07:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":50402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:31:57] local.INFO: TCP Data received {"connection_id":50402,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db2c50a98012cb29bc007822f10004700422c..."} 
[2026-04-22 07:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2c50a98012cb29bc007822f10004700422c..."} 
[2026-04-22 07:31:57] local.INFO: Processing buffer {"connection_id":50402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2c50a98012cb29bc007822f10004700422c..."} 
[2026-04-22 07:31:57] local.INFO: Packet analysis {"connection_id":50402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 07:31:57] local.INFO: Extracted packet for processing {"connection_id":50402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2c5"} 
[2026-04-22 07:31:57] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125972240,"longitude_deg":74.9902784,"latitude_deg":12.597224,"altitude":71,"angle":66,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822f10","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866035200001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086800896,"note":"Value kept but may cause issues"} 
[2026-04-22 07:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776820751000,"timestamp_ms":1776820751000,"timestamp_seconds":1776820751,"priority":1,"record_length":96,"hex_timestamp":"0000019db2c50a98"} 
[2026-04-22 07: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-22 07:31:57] 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-22 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-04-22 07:31:57] 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-22 07: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-22 07: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-22 07:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":50402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":50402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 07:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":50402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 07:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-22 07:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-22 07:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866035200001,"66":25180,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576652575086800896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-22 07:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-22 07:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-22 07:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866035200001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:31:57] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-22 07:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-22 07:31:57] 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-22 07:31:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086800896,"description":"Unknown IO ID 44"} 
[2026-04-22 07:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866035200001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575086800896}} 
[2026-04-22 07:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":50402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:31:58] local.INFO: GPS data processed {"connection_id":50402,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:31:58] local.INFO: Acknowledgment sent {"connection_id":50402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:32:07] local.INFO: TCP Data received {"connection_id":50264,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eb8628012d7ad44005dab6c80007004828..."} 
[2026-04-22 07:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eb8628012d7ad44005dab6c80007004828..."} 
[2026-04-22 07:32:07] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eb8628012d7ad44005dab6c80007004828..."} 
[2026-04-22 07:32:07] local.INFO: Packet analysis {"connection_id":50264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2eb"} 
[2026-04-22 07:32:07] local.INFO: Extracted packet for processing {"connection_id":50264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2eb"} 
[2026-04-22 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763024448,"raw_latitude":98219720,"longitude_deg":76.3024448,"latitude_deg":9.821972,"altitude":7,"angle":72,"satellites":40,"speed":39,"hex_longitude":"2d7ad440","hex_latitude":"05dab6c8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866754304001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74799977901064192,"note":"Value kept but may cause issues"} 
[2026-04-22 07:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840706831160137728,"note":"Value kept but may cause issues"} 
[2026-04-22 07:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776823273000,"timestamp_ms":1776823273000,"timestamp_seconds":1776823273,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eb8628"} 
[2026-04-22 07: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-22 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-22 07:32:07] 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-22 07: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-22 07: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-22 07:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:32:07] 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-22 07:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866754304001,"66":13798,"229":206,"85":15104,"24":39,"16":74799977901064192,"45":8840706831160137728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-22 07:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866754304001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:32:07] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-22 07:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74799977901064192,"km_value":74799977901064.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840706831160137728,"description":"Unknown IO ID 45"} 
[2026-04-22 07:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866754304001,"power":13798,"unknown_229":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8840706831160137728}} 
[2026-04-22 07:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":50264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:32:07] local.INFO: GPS data processed {"connection_id":50264,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:32:07] local.INFO: Acknowledgment sent {"connection_id":50264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:32:27] local.INFO: TCP Data received {"connection_id":50265,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:32:27] local.INFO: Processing buffer {"connection_id":50265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:32:27] local.INFO: IMEI packet received {"connection_id":50265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":50265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:32:30] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:32:30] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:32:30] local.INFO: IMEI packet received {"connection_id":50940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":50940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:32:31] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:32:31] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:32:31] local.INFO: IMEI packet received {"connection_id":50940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":50940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:32:32] local.INFO: TCP Data received {"connection_id":50265,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:32:32] local.INFO: Processing buffer {"connection_id":50265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:32:32] local.INFO: IMEI packet received {"connection_id":50265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:32:33] local.INFO: TCP Data received {"connection_id":50265,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:32:33] local.INFO: Processing buffer {"connection_id":50265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:32:33] local.INFO: Packet analysis {"connection_id":50265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:32:33] local.INFO: Extracted packet for processing {"connection_id":50265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 07: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-22 07:32: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:32: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-22 07: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-22 07: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-22 07:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:32:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:32:33] local.INFO: GPS data processed {"connection_id":50265,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:32:33] local.INFO: Acknowledgment sent {"connection_id":50265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:32:35] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:32:35] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:32:35] local.INFO: IMEI packet received {"connection_id":50940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":50940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:32:36] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eba950012d7af98005dac0880006004d27..."} 
[2026-04-22 07:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eba950012d7af98005dac0880006004d27..."} 
[2026-04-22 07:32:36] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eba950012d7af98005dac0880006004d27..."} 
[2026-04-22 07:32:36] local.INFO: Packet analysis {"connection_id":50940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2eb"} 
[2026-04-22 07:32:36] local.INFO: Extracted packet for processing {"connection_id":50940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2eb"} 
[2026-04-22 07:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763033984,"raw_latitude":98222216,"longitude_deg":76.3033984,"latitude_deg":9.8222216,"altitude":6,"angle":77,"satellites":39,"speed":48,"hex_longitude":"2d7af980","hex_latitude":"05dac088","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866757888001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74800450347466752,"note":"Value kept but may cause issues"} 
[2026-04-22 07:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850769561578293248,"note":"Value kept but may cause issues"} 
[2026-04-22 07:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776823282000,"timestamp_ms":1776823282000,"timestamp_seconds":1776823282,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eba950"} 
[2026-04-22 07: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-22 07:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 07:32:36] 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-22 07: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-22 07: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-22 07:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:32:36] 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-22 07:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866757888001,"66":13765,"188":206,"85":15104,"24":48,"16":74800450347466752,"45":8850769561578293248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-04-22 07:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866757888001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:32:36] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-22 07:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74800450347466752,"km_value":74800450347466.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850769561578293248,"description":"Unknown IO ID 45"} 
[2026-04-22 07:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866757888001,"power":13765,"unknown_188":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8850769561578293248}} 
[2026-04-22 07:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":50940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:32:36] local.INFO: GPS data processed {"connection_id":50940,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:32:36] local.INFO: Acknowledgment sent {"connection_id":50940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:32:42] local.INFO: TCP Data received {"connection_id":50012,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:32:42] local.INFO: Processing buffer {"connection_id":50012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:32:42] local.INFO: IMEI packet received {"connection_id":50012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":50012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:33:04] local.INFO: TCP Data received {"connection_id":50265,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:33:04] local.INFO: Processing buffer {"connection_id":50265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:33:04] local.INFO: Packet analysis {"connection_id":50265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:33:04] local.INFO: Extracted packet for processing {"connection_id":50265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 07: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-22 07:33: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:33: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-22 07: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-22 07: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-22 07:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:33:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:33:04] local.INFO: GPS data processed {"connection_id":50265,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:33:04] local.INFO: Acknowledgment sent {"connection_id":50265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:33:07] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ed04f8012d7c234005daf2e00008000525..."} 
[2026-04-22 07:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ed04f8012d7c234005daf2e00008000525..."} 
[2026-04-22 07:33:07] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ed04f8012d7c234005daf2e00008000525..."} 
[2026-04-22 07:33:07] local.INFO: Packet analysis {"connection_id":50940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:33:07] local.INFO: Extracted packet for processing {"connection_id":50940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763110208,"raw_latitude":98235104,"longitude_deg":76.3110208,"latitude_deg":9.8235104,"altitude":8,"angle":5,"satellites":37,"speed":9,"hex_longitude":"2d7c2340","hex_latitude":"05daf2e0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866782720001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74804178379079680,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944993310036064256,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776823371000,"timestamp_ms":1776823371000,"timestamp_seconds":1776823371,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ed04f8"} 
[2026-04-22 07: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-22 07:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-04-22 07:33:07] 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-22 07: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-22 07: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-22 07:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:33:07] 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-22 07:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866782720001,"66":13613,"187":206,"85":15104,"24":9,"16":74804178379079680,"45":8944993310036064256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 07:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866782720001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:33:07] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 07:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74804178379079680,"km_value":74804178379079.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944993310036064256,"description":"Unknown IO ID 45"} 
[2026-04-22 07:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866782720001,"power":13613,"unknown_187":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8944993310036064256}} 
[2026-04-22 07:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":50940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:33:07] local.INFO: GPS data processed {"connection_id":50940,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:33:07] local.INFO: Acknowledgment sent {"connection_id":50940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:33:27] local.INFO: TCP Data received {"connection_id":50403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:33:27] local.INFO: Processing buffer {"connection_id":50403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:33:27] local.INFO: IMEI packet received {"connection_id":50403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:33:30] local.INFO: TCP Data received {"connection_id":50266,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:33:30] local.INFO: Processing buffer {"connection_id":50266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:33:30] local.INFO: IMEI packet received {"connection_id":50266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":50266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:33:32] local.INFO: TCP Data received {"connection_id":50403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:33:32] local.INFO: Processing buffer {"connection_id":50403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:33:32] local.INFO: IMEI packet received {"connection_id":50403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:33:33] local.INFO: TCP Data received {"connection_id":50403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:33:33] local.INFO: Processing buffer {"connection_id":50403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:33:33] local.INFO: Packet analysis {"connection_id":50403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:33:33] local.INFO: Extracted packet for processing {"connection_id":50403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 07: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-22 07:33: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:33: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-22 07: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-22 07: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-22 07:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:33:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":50403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:33:33] local.INFO: GPS data processed {"connection_id":50403,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:33:33] local.INFO: Acknowledgment sent {"connection_id":50403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:33:35] local.INFO: TCP Data received {"connection_id":50266,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:33:35] local.INFO: Processing buffer {"connection_id":50266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:33:35] local.INFO: IMEI packet received {"connection_id":50266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":50266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:33:36] local.INFO: TCP Data received {"connection_id":50266,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ed08e0012d7c230005daf3f00009015a25..."} 
[2026-04-22 07:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ed08e0012d7c230005daf3f00009015a25..."} 
[2026-04-22 07:33:36] local.INFO: Processing buffer {"connection_id":50266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ed08e0012d7c230005daf3f00009015a25..."} 
[2026-04-22 07:33:36] local.INFO: Packet analysis {"connection_id":50266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:33:36] local.INFO: Extracted packet for processing {"connection_id":50266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763110144,"raw_latitude":98235376,"longitude_deg":76.3110144,"latitude_deg":9.8235376,"altitude":9,"angle":346,"satellites":37,"speed":12,"hex_longitude":"2d7c2300","hex_latitude":"05daf3f0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866782976001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74804191263981568,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945063678780301312,"note":"Value kept but may cause issues"} 
[2026-04-22 07:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776823372000,"timestamp_ms":1776823372000,"timestamp_seconds":1776823372,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ed08e0"} 
[2026-04-22 07: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-22 07:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-04-22 07:33:36] 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-22 07: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-22 07: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-22 07:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:33:36] 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-22 07:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866782976001,"66":13678,"187":206,"85":15104,"24":12,"16":74804191263981568,"45":8945063678780301312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 07:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866782976001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:33:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 07:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74804191263981568,"km_value":74804191263981.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945063678780301312,"description":"Unknown IO ID 45"} 
[2026-04-22 07:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866782976001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8945063678780301312}} 
[2026-04-22 07:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":50266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:33:36] local.INFO: GPS data processed {"connection_id":50266,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:33:36] local.INFO: Acknowledgment sent {"connection_id":50266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:34:04] local.INFO: TCP Data received {"connection_id":50403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:34:05] local.INFO: Processing buffer {"connection_id":50403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:34:05] local.INFO: Packet analysis {"connection_id":50403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:34:05] local.INFO: Extracted packet for processing {"connection_id":50403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 07: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-22 07: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:34: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-22 07: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-22 07: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-22 07:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:34: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-22 07:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:34:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":50403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:34:05] local.INFO: GPS data processed {"connection_id":50403,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:34:05] local.INFO: Acknowledgment sent {"connection_id":50403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:34:08] local.INFO: TCP Data received {"connection_id":50266,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ed37c0012d7c1a0005db17800005015a25..."} 
[2026-04-22 07:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ed37c0012d7c1a0005db17800005015a25..."} 
[2026-04-22 07:34:08] local.INFO: Processing buffer {"connection_id":50266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ed37c0012d7c1a0005db17800005015a25..."} 
[2026-04-22 07:34:08] local.INFO: Packet analysis {"connection_id":50266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:34:08] local.INFO: Extracted packet for processing {"connection_id":50266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763107840,"raw_latitude":98244480,"longitude_deg":76.310784,"latitude_deg":9.824448,"altitude":5,"angle":346,"satellites":37,"speed":42,"hex_longitude":"2d7c1a00","hex_latitude":"05db1780","is_valid_coordinates":true} 
[2026-04-22 07:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866783232001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74804646530514944,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944993310036193280,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776823384000,"timestamp_ms":1776823384000,"timestamp_seconds":1776823384,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ed37c0"} 
[2026-04-22 07:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:34:08] 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-22 07:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 07:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:34:08] 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-22 07:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866783232001,"66":13646,"187":206,"85":15104,"24":42,"16":74804646530514944,"45":8944993310036193280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 07:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866783232001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:34:08] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 07:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74804646530514944,"km_value":74804646530514.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944993310036193280,"description":"Unknown IO ID 45"} 
[2026-04-22 07:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866783232001,"power":13646,"unknown_187":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8944993310036193280}} 
[2026-04-22 07:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":50266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:34:08] local.INFO: GPS data processed {"connection_id":50266,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:34:08] local.INFO: Acknowledgment sent {"connection_id":50266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:34:27] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:34:27] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:34:27] local.INFO: IMEI packet received {"connection_id":50267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:34:32] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:34:32] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:34:32] local.INFO: IMEI packet received {"connection_id":50267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:34:33] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:34:33] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:34:33] local.INFO: Packet analysis {"connection_id":50267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:34:33] local.INFO: Extracted packet for processing {"connection_id":50267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 07: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-22 07:34: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:34: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-22 07: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-22 07: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-22 07:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:34:33] 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-22 07:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:34:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:34:33] local.INFO: GPS data processed {"connection_id":50267,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:34:33] local.INFO: Acknowledgment sent {"connection_id":50267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:34:35] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:34:35] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:34:35] local.INFO: IMEI packet received {"connection_id":50942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":50942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:34:41] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:34:41] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:34:41] local.INFO: IMEI packet received {"connection_id":50942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":50942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:34:41] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ed5700012d7c110005db3c000004015b25..."} 
[2026-04-22 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ed5700012d7c110005db3c000004015b25..."} 
[2026-04-22 07:34:41] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ed5700012d7c110005db3c000004015b25..."} 
[2026-04-22 07:34:41] local.INFO: Packet analysis {"connection_id":50942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:34:41] local.INFO: Extracted packet for processing {"connection_id":50942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763105536,"raw_latitude":98253824,"longitude_deg":76.3105536,"latitude_deg":9.8253824,"altitude":4,"angle":347,"satellites":37,"speed":51,"hex_longitude":"2d7c1100","hex_latitude":"05db3c00","is_valid_coordinates":true} 
[2026-04-22 07:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866786304001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74805114681950208,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942460035248128000,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776823392000,"timestamp_ms":1776823392000,"timestamp_seconds":1776823392,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ed5700"} 
[2026-04-22 07:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 07:34:41] 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-22 07:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:34:41] 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-22 07:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866786304001,"66":13689,"187":206,"85":15104,"24":51,"16":74805114681950208,"45":8942460035248128000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 07:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866786304001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:34:41] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 07:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74805114681950208,"km_value":74805114681950.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942460035248128000,"description":"Unknown IO ID 45"} 
[2026-04-22 07:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866786304001,"power":13689,"unknown_187":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8942460035248128000}} 
[2026-04-22 07:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":50942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:34:41] local.INFO: GPS data processed {"connection_id":50942,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:34:41] local.INFO: Acknowledgment sent {"connection_id":50942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:34:42] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ed7640012d7c07c005db61980002015a1c..."} 
[2026-04-22 07:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ed7640012d7c07c005db61980002015a1c..."} 
[2026-04-22 07:34:42] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ed7640012d7c07c005db61980002015a1c..."} 
[2026-04-22 07:34:42] local.INFO: Packet analysis {"connection_id":50942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:34:42] local.INFO: Extracted packet for processing {"connection_id":50942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ed"} 
[2026-04-22 07:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":98263448,"longitude_deg":76.3103168,"latitude_deg":9.8263448,"altitude":2,"angle":346,"satellites":28,"speed":50,"hex_longitude":"2d7c07c0","hex_latitude":"05db6198","is_valid_coordinates":true} 
[2026-04-22 07:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866788352001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74805591423320064,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939926760460124160,"note":"Value kept but may cause issues"} 
[2026-04-22 07:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776823400000,"timestamp_ms":1776823400000,"timestamp_seconds":1776823400,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ed7640"} 
[2026-04-22 07:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 07:34:42] 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-22 07:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:34:42] 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-22 07:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866788352001,"66":13450,"187":206,"85":15104,"24":50,"16":74805591423320064,"45":8939926760460124160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 07:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866788352001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:34:42] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 07:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74805591423320064,"km_value":74805591423320.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939926760460124160,"description":"Unknown IO ID 45"} 
[2026-04-22 07:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866788352001,"power":13450,"unknown_187":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8939926760460124160}} 
[2026-04-22 07:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":50942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:34:42] local.INFO: GPS data processed {"connection_id":50942,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:34:42] local.INFO: Acknowledgment sent {"connection_id":50942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:35:04] local.INFO: TCP Data received {"connection_id":50267,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:35:04] local.INFO: Processing buffer {"connection_id":50267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:35:04] local.INFO: Packet analysis {"connection_id":50267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:35:04] local.INFO: Extracted packet for processing {"connection_id":50267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 07: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-22 07:35: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-22 07: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:35: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-22 07: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-22 07: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-22 07:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:35: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-22 07:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:35:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:35:04] local.INFO: GPS data processed {"connection_id":50267,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:35:04] local.INFO: Acknowledgment sent {"connection_id":50267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:35:13] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eef128012d7be04005dcf090000001631b..."} 
[2026-04-22 07:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eef128012d7be04005dcf090000001631b..."} 
[2026-04-22 07:35:13] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eef128012d7be04005dcf090000001631b..."} 
[2026-04-22 07:35:13] local.INFO: Packet analysis {"connection_id":50942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ee"} 
[2026-04-22 07:35:13] local.INFO: Extracted packet for processing {"connection_id":50942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ee"} 
[2026-04-22 07:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763093056,"raw_latitude":98365584,"longitude_deg":76.3093056,"latitude_deg":9.8365584,"altitude":0,"angle":355,"satellites":27,"speed":52,"hex_longitude":"2d7be040","hex_latitude":"05dcf090","is_valid_coordinates":true} 
[2026-04-22 07:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866813184001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74810586470285312,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926697436580839424,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:13] 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-22 07:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776823497000,"timestamp_ms":1776823497000,"timestamp_seconds":1776823497,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eef128"} 
[2026-04-22 07:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:35:13] 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-22 07:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-22 07:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:35:13] 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-22 07:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866813184001,"66":13646,"168":206,"85":15104,"24":52,"16":74810586470285312,"45":8926697436580839424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-22 07:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866813184001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:35:13] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-22 07:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74810586470285312,"km_value":74810586470285.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926697436580839424,"description":"Unknown IO ID 45"} 
[2026-04-22 07:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866813184001,"power":13646,"unknown_168":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8926697436580839424}} 
[2026-04-22 07:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":50942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:35:13] local.INFO: GPS data processed {"connection_id":50942,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:35:13] local.INFO: Acknowledgment sent {"connection_id":50942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:35:26] local.INFO: TCP Data received {"connection_id":50943,"ip":"42.106.6.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:35:26] local.INFO: Processing buffer {"connection_id":50943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:35:26] local.INFO: IMEI packet received {"connection_id":50943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":50943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:35:31] local.INFO: TCP Data received {"connection_id":50268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:35:31] local.INFO: Processing buffer {"connection_id":50268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:35:31] local.INFO: IMEI packet received {"connection_id":50268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":50268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:35:32] local.INFO: TCP Data received {"connection_id":50943,"ip":"42.106.6.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:35:32] local.INFO: Processing buffer {"connection_id":50943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:35:32] local.INFO: IMEI packet received {"connection_id":50943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:35:33] local.INFO: TCP Data received {"connection_id":50943,"ip":"42.106.6.81","data_length":795,"data_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:35:33] local.INFO: Processing buffer {"connection_id":50943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2eab720012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:35:33] local.INFO: Packet analysis {"connection_id":50943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:35:33] local.INFO: Extracted packet for processing {"connection_id":50943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ea"} 
[2026-04-22 07:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866667264001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823220000,"timestamp_ms":1776823220000,"timestamp_seconds":1776823220,"priority":1,"record_length":96,"hex_timestamp":"0000019db2eab720"} 
[2026-04-22 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-22 07:35: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-22 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 07:35: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-22 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-22 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-22 07:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866667264001,"66":25430,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866667264001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:35:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866667264001,"power":25430,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:35:33] local.INFO: GPS data processed {"connection_id":50943,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:35:33] local.INFO: Acknowledgment sent {"connection_id":50943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:35:35] local.INFO: TCP Data received {"connection_id":50268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:35:35] local.INFO: Processing buffer {"connection_id":50268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:35:35] local.INFO: IMEI packet received {"connection_id":50268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":50268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:35:36] local.INFO: TCP Data received {"connection_id":50268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef0c80012d7bdd8005dd1510000001641b..."} 
[2026-04-22 07:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef0c80012d7bdd8005dd1510000001641b..."} 
[2026-04-22 07:35:36] local.INFO: Processing buffer {"connection_id":50268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef0c80012d7bdd8005dd1510000001641b..."} 
[2026-04-22 07:35:36] local.INFO: Packet analysis {"connection_id":50268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:35:36] local.INFO: Extracted packet for processing {"connection_id":50268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763092352,"raw_latitude":98374928,"longitude_deg":76.3092352,"latitude_deg":9.8374928,"altitude":0,"angle":356,"satellites":27,"speed":52,"hex_longitude":"2d7bdd80","hex_latitude":"05dd1510","is_valid_coordinates":true} 
[2026-04-22 07:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866815232001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74811041736818688,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926204855374090240,"note":"Value kept but may cause issues"} 
[2026-04-22 07:35:36] 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-22 07:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776823504000,"timestamp_ms":1776823504000,"timestamp_seconds":1776823504,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef0c80"} 
[2026-04-22 07:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:35:36] 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-22 07:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 07:35:36] 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-22 07:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:35:36] 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-22 07:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866815232001,"66":13646,"169":206,"85":15104,"24":52,"16":74811041736818688,"45":8926204855374090240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 07:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866815232001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:35:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 07:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74811041736818688,"km_value":74811041736818.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926204855374090240,"description":"Unknown IO ID 45"} 
[2026-04-22 07:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866815232001,"power":13646,"unknown_169":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8926204855374090240}} 
[2026-04-22 07:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":50268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:35:36] local.INFO: GPS data processed {"connection_id":50268,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:35:36] local.INFO: Acknowledgment sent {"connection_id":50268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:36:04] local.INFO: TCP Data received {"connection_id":50943,"ip":"42.106.6.81","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:36:04] local.INFO: Processing buffer {"connection_id":50943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:36:04] local.INFO: Packet analysis {"connection_id":50943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:04] local.INFO: Extracted packet for processing {"connection_id":50943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07: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-22 07:36: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-22 07:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:36: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-22 07: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-22 07: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-22 07:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:36:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":50943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:36:04] local.INFO: GPS data processed {"connection_id":50943,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:36:04] local.INFO: Acknowledgment sent {"connection_id":50943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:36:07] local.INFO: TCP Data received {"connection_id":50268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef27d8012d7bd94005dd3bd80000015f1d..."} 
[2026-04-22 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef27d8012d7bd94005dd3bd80000015f1d..."} 
[2026-04-22 07:36:07] local.INFO: Processing buffer {"connection_id":50268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef27d8012d7bd94005dd3bd80000015f1d..."} 
[2026-04-22 07:36:07] local.INFO: Packet analysis {"connection_id":50268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:07] local.INFO: Extracted packet for processing {"connection_id":50268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98384856,"longitude_deg":76.3091264,"latitude_deg":9.8384856,"altitude":0,"angle":351,"satellites":29,"speed":59,"hex_longitude":"2d7bd940","hex_latitude":"05dd3bd8","is_valid_coordinates":true} 
[2026-04-22 07:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866817024001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74811527068123136,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925430799190528000,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776823511000,"timestamp_ms":1776823511000,"timestamp_seconds":1776823511,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef27d8"} 
[2026-04-22 07:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:36:07] 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-22 07:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 07:36:07] 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-22 07:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:36:07] 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-22 07:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866817024001,"66":13526,"169":206,"85":15104,"24":59,"16":74811527068123136,"45":8925430799190528000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 07:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866817024001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:36:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 07:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74811527068123136,"km_value":74811527068123.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925430799190528000,"description":"Unknown IO ID 45"} 
[2026-04-22 07:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866817024001,"power":13526,"unknown_169":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8925430799190528000}} 
[2026-04-22 07:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":50268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:36:08] local.INFO: GPS data processed {"connection_id":50268,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:36:08] local.INFO: Acknowledgment sent {"connection_id":50268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:36:31] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:36:31] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:36:31] local.INFO: IMEI packet received {"connection_id":50945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":50945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:36:31] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:36:31] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:36:31] local.INFO: IMEI packet received {"connection_id":50945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":50945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:36:32] local.INFO: TCP Data received {"connection_id":50944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:36:32] local.INFO: Processing buffer {"connection_id":50944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:36:32] local.INFO: IMEI packet received {"connection_id":50944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:36:36] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:36:36] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:36:36] local.INFO: IMEI packet received {"connection_id":50945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":50945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:36:36] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef3f48012d7bd48005dd6020000001601f..."} 
[2026-04-22 07:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef3f48012d7bd48005dd6020000001601f..."} 
[2026-04-22 07:36:36] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef3f48012d7bd48005dd6020000001601f..."} 
[2026-04-22 07:36:36] local.INFO: Packet analysis {"connection_id":50945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:36] local.INFO: Extracted packet for processing {"connection_id":50945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:36] local.INFO: GPS Element Parsed {"raw_longitude":763090048,"raw_latitude":98394144,"longitude_deg":76.3090048,"latitude_deg":9.8394144,"altitude":0,"angle":352,"satellites":31,"speed":61,"hex_longitude":"2d7bd480","hex_latitude":"05dd6020","is_valid_coordinates":true} 
[2026-04-22 07:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866818816001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74811978039689216,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530542049280,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:36] 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-22 07:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776823517000,"timestamp_ms":1776823517000,"timestamp_seconds":1776823517,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef3f48"} 
[2026-04-22 07:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:36:36] 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-22 07:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 07:36:36] 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-22 07:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:36:36] 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-22 07:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866818816001,"66":13341,"169":206,"85":15104,"24":61,"16":74811978039689216,"45":8924234530542049280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 07:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866818816001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:36:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 07:36:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74811978039689216,"km_value":74811978039689.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530542049280,"description":"Unknown IO ID 45"} 
[2026-04-22 07:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866818816001,"power":13341,"unknown_169":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":8924234530542049280}} 
[2026-04-22 07:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":50945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:36:36] local.INFO: GPS data processed {"connection_id":50945,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:36:36] local.INFO: Acknowledgment sent {"connection_id":50945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:36:37] local.INFO: TCP Data received {"connection_id":50944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:36:37] local.INFO: Processing buffer {"connection_id":50944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:36:37] local.INFO: IMEI packet received {"connection_id":50944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":50944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:36:38] local.INFO: TCP Data received {"connection_id":50944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:36:38] local.INFO: Processing buffer {"connection_id":50944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:36:38] local.INFO: Packet analysis {"connection_id":50944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:38] local.INFO: Extracted packet for processing {"connection_id":50944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07: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-22 07:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:36: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-22 07:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:36:38] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":50944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:36:38] local.INFO: GPS data processed {"connection_id":50944,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:36:38] local.INFO: Acknowledgment sent {"connection_id":50944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:36:42] local.INFO: TCP Data received {"connection_id":50944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:36:42] local.INFO: Processing buffer {"connection_id":50944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:36:42] local.INFO: Packet analysis {"connection_id":50944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:42] local.INFO: Extracted packet for processing {"connection_id":50944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:36:42] 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-22 07:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:36:42] local.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-22 07:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:36:42] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":50944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:36:42] local.INFO: GPS data processed {"connection_id":50944,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:36:42] local.INFO: Acknowledgment sent {"connection_id":50944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:37:07] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef5e88012d7bcec005dd84280000015e1b..."} 
[2026-04-22 07:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef5e88012d7bcec005dd84280000015e1b..."} 
[2026-04-22 07:37:07] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef5e88012d7bcec005dd84280000015e1b..."} 
[2026-04-22 07:37:07] local.INFO: Packet analysis {"connection_id":50945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:37:07] local.INFO: Extracted packet for processing {"connection_id":50945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763088576,"raw_latitude":98403368,"longitude_deg":76.3088576,"latitude_deg":9.8403368,"altitude":0,"angle":350,"satellites":27,"speed":38,"hex_longitude":"2d7bcec0","hex_latitude":"05dd8428","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866820352001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74812433306222592,"note":"Value kept but may cause issues"} 
[2026-04-22 07:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922897524405051392,"note":"Value kept but may cause issues"} 
[2026-04-22 07:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776823525000,"timestamp_ms":1776823525000,"timestamp_seconds":1776823525,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef5e88"} 
[2026-04-22 07: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-22 07:37:07] 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-22 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-22 07:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:37:07] 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-22 07:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866820352001,"66":13537,"169":206,"85":15104,"24":38,"16":74812433306222592,"45":8922897524405051392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 07:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866820352001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:37:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 07:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74812433306222592,"km_value":74812433306222.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922897524405051392,"description":"Unknown IO ID 45"} 
[2026-04-22 07:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866820352001,"power":13537,"unknown_169":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8922897524405051392}} 
[2026-04-22 07:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":50945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:37:07] local.INFO: GPS data processed {"connection_id":50945,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:37:07] local.INFO: Acknowledgment sent {"connection_id":50945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:37:27] local.INFO: TCP Data received {"connection_id":50946,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:37:27] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:37:27] local.INFO: IMEI packet received {"connection_id":50946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":50946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:37:31] local.INFO: TCP Data received {"connection_id":50015,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:37:31] local.INFO: Processing buffer {"connection_id":50015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:37:31] local.INFO: IMEI packet received {"connection_id":50015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":50015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:37:31] local.INFO: TCP Data received {"connection_id":50015,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:37:31] local.INFO: Processing buffer {"connection_id":50015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:37:31] local.INFO: IMEI packet received {"connection_id":50015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":50015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:37:32] local.INFO: TCP Data received {"connection_id":50946,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:37:32] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:37:32] local.INFO: IMEI packet received {"connection_id":50946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:37:33] local.INFO: TCP Data received {"connection_id":50946,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:37:33] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:37:33] local.INFO: Packet analysis {"connection_id":50946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:37:33] local.INFO: Extracted packet for processing {"connection_id":50946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07: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-22 07:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:37:33] 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-22 07:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:37:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":50946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:37:33] local.INFO: GPS data processed {"connection_id":50946,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:37:33] local.INFO: Acknowledgment sent {"connection_id":50946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:37:36] local.INFO: TCP Data received {"connection_id":50015,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:37:36] local.INFO: Processing buffer {"connection_id":50015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:37:36] local.INFO: IMEI packet received {"connection_id":50015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":50015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:37:36] local.INFO: TCP Data received {"connection_id":50015,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f0e528012d7b948005df11e80000016421..."} 
[2026-04-22 07:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f0e528012d7b948005df11e80000016421..."} 
[2026-04-22 07:37:36] local.INFO: Processing buffer {"connection_id":50015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f0e528012d7b948005df11e80000016421..."} 
[2026-04-22 07:37:36] local.INFO: Packet analysis {"connection_id":50015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f0"} 
[2026-04-22 07:37:36] local.INFO: Extracted packet for processing {"connection_id":50015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f0"} 
[2026-04-22 07:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763073664,"raw_latitude":98505192,"longitude_deg":76.3073664,"latitude_deg":9.8505192,"altitude":0,"angle":356,"satellites":33,"speed":42,"hex_longitude":"2d7b9480","hex_latitude":"05df11e8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866845440001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74817432648155136,"note":"Value kept but may cause issues"} 
[2026-04-22 07:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288340080640,"note":"Value kept but may cause issues"} 
[2026-04-22 07:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776823625000,"timestamp_ms":1776823625000,"timestamp_seconds":1776823625,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f0e528"} 
[2026-04-22 07: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-22 07:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-22 07:37:36] 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-22 07: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-22 07: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-22 07:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:37:36] 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-22 07:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866845440001,"66":13461,"49":206,"85":15104,"24":42,"16":74817432648155136,"45":8905868288340080640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 07:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866845440001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:37:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 07:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74817432648155136,"km_value":74817432648155.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288340080640,"description":"Unknown IO ID 45"} 
[2026-04-22 07:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866845440001,"power":13461,"unknown_49":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8905868288340080640}} 
[2026-04-22 07:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":50015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:37:37] local.INFO: GPS data processed {"connection_id":50015,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:37:37] local.INFO: Acknowledgment sent {"connection_id":50015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:38:02] local.INFO: TCP Data received {"connection_id":50016,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:38:02] local.INFO: Processing buffer {"connection_id":50016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:38:02] local.INFO: IMEI packet received {"connection_id":50016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":50016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:38:04] local.INFO: TCP Data received {"connection_id":50946,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:38:04] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:38:04] local.INFO: Packet analysis {"connection_id":50946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:38:04] local.INFO: Extracted packet for processing {"connection_id":50946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07: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-22 07:38: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-22 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:38: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-22 07: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-22 07: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-22 07:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:38: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-22 07:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:38:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:38:04] local.INFO: GPS data processed {"connection_id":50946,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:38:04] local.INFO: Acknowledgment sent {"connection_id":50946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:38:08] local.INFO: TCP Data received {"connection_id":50015,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f10850012d7b920005df3590000001631f..."} 
[2026-04-22 07:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f10850012d7b920005df3590000001631f..."} 
[2026-04-22 07:38:08] local.INFO: Processing buffer {"connection_id":50015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f10850012d7b920005df3590000001631f..."} 
[2026-04-22 07:38:08] local.INFO: Packet analysis {"connection_id":50015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f1"} 
[2026-04-22 07:38:08] local.INFO: Extracted packet for processing {"connection_id":50015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f1"} 
[2026-04-22 07:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763073024,"raw_latitude":98514320,"longitude_deg":76.3073024,"latitude_deg":9.851432,"altitude":0,"angle":355,"satellites":31,"speed":38,"hex_longitude":"2d7b9200","hex_latitude":"05df3590","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866848000001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74817875029786624,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904883125923997696,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776823634000,"timestamp_ms":1776823634000,"timestamp_seconds":1776823634,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f10850"} 
[2026-04-22 07: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-22 07:38:08] 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-22 07:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-04-22 07:38:08] 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-22 07: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-22 07: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-22 07:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:38:08] 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-22 07:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866848000001,"66":13222,"49":206,"85":15104,"24":38,"16":74817875029786624,"45":8904883125923997696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 07:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866848000001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:38:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 07:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74817875029786624,"km_value":74817875029786.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904883125923997696,"description":"Unknown IO ID 45"} 
[2026-04-22 07:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866848000001,"power":13222,"unknown_49":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8904883125923997696}} 
[2026-04-22 07:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":50015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:38:08] local.INFO: GPS data processed {"connection_id":50015,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:38:08] local.INFO: Acknowledgment sent {"connection_id":50015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:38:26] local.INFO: TCP Data received {"connection_id":50269,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:38:26] local.INFO: Processing buffer {"connection_id":50269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:38:26] local.INFO: IMEI packet received {"connection_id":50269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":50269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:38:31] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:38:31] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:38:31] local.INFO: IMEI packet received {"connection_id":50947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":50947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:38:32] local.INFO: TCP Data received {"connection_id":50269,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:38:32] local.INFO: Processing buffer {"connection_id":50269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:38:32] local.INFO: IMEI packet received {"connection_id":50269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:38:33] local.INFO: TCP Data received {"connection_id":50269,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:38:33] local.INFO: Processing buffer {"connection_id":50269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:38:33] local.INFO: Packet analysis {"connection_id":50269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:38:33] local.INFO: Extracted packet for processing {"connection_id":50269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07: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-22 07: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-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:38:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":50269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:38:33] local.INFO: GPS data processed {"connection_id":50269,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:38:33] local.INFO: Acknowledgment sent {"connection_id":50269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:38:36] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:38:36] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:38:36] local.INFO: IMEI packet received {"connection_id":50947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":50947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:38:37] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f12790012d7b8f0005df5840000001611c..."} 
[2026-04-22 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f12790012d7b8f0005df5840000001611c..."} 
[2026-04-22 07:38:37] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f12790012d7b8f0005df5840000001611c..."} 
[2026-04-22 07:38:37] local.INFO: Packet analysis {"connection_id":50947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f1"} 
[2026-04-22 07:38:37] local.INFO: Extracted packet for processing {"connection_id":50947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f1"} 
[2026-04-22 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763072256,"raw_latitude":98523200,"longitude_deg":76.3072256,"latitude_deg":9.85232,"altitude":0,"angle":353,"satellites":28,"speed":50,"hex_longitude":"2d7b8f00","hex_latitude":"05df5840","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866850304001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74818304526516224,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904179438484557824,"note":"Value kept but may cause issues"} 
[2026-04-22 07:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776823642000,"timestamp_ms":1776823642000,"timestamp_seconds":1776823642,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f12790"} 
[2026-04-22 07: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-22 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-22 07:38:37] 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-22 07: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-22 07: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-22 07:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:38:37] 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-22 07:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866850304001,"66":13656,"49":206,"85":15104,"24":50,"16":74818304526516224,"45":8904179438484557824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 07:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866850304001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:38:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 07:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74818304526516224,"km_value":74818304526516.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904179438484557824,"description":"Unknown IO ID 45"} 
[2026-04-22 07:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866850304001,"power":13656,"unknown_49":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8904179438484557824}} 
[2026-04-22 07:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":50947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:38:37] local.INFO: GPS data processed {"connection_id":50947,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:38:37] local.INFO: Acknowledgment sent {"connection_id":50947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:39:04] local.INFO: TCP Data received {"connection_id":50269,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:39:04] local.INFO: Processing buffer {"connection_id":50269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:39:04] local.INFO: Packet analysis {"connection_id":50269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:39:04] local.INFO: Extracted packet for processing {"connection_id":50269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07: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-22 07:39: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-22 07:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:39: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-22 07: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-22 07: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-22 07:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:39:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":50269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:39:04] local.INFO: GPS data processed {"connection_id":50269,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:39:04] local.INFO: Acknowledgment sent {"connection_id":50269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:39:08] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f142e8012d7b8a0005df7b000000015f1d..."} 
[2026-04-22 07:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f142e8012d7b8a0005df7b000000015f1d..."} 
[2026-04-22 07:39:08] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f142e8012d7b8a0005df7b000000015f1d..."} 
[2026-04-22 07:39:08] local.INFO: Packet analysis {"connection_id":50947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f1"} 
[2026-04-22 07:39:08] local.INFO: Extracted packet for processing {"connection_id":50947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f1"} 
[2026-04-22 07:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763070976,"raw_latitude":98532096,"longitude_deg":76.3070976,"latitude_deg":9.8532096,"altitude":0,"angle":351,"satellites":29,"speed":52,"hex_longitude":"2d7b8a00","hex_latitude":"05df7b00","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866852352001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74818742613180416,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903335013556699136,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776823649000,"timestamp_ms":1776823649000,"timestamp_seconds":1776823649,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f142e8"} 
[2026-04-22 07: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-22 07:39:08] 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-22 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 07:39:08] 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-22 07: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-22 07: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-22 07:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:39:08] 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-22 07:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866852352001,"66":13559,"49":206,"85":15104,"24":52,"16":74818742613180416,"45":8903335013556699136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 07:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866852352001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:39:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 07:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74818742613180416,"km_value":74818742613180.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903335013556699136,"description":"Unknown IO ID 45"} 
[2026-04-22 07:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866852352001,"power":13559,"unknown_49":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8903335013556699136}} 
[2026-04-22 07:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":50947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:39:08] local.INFO: GPS data processed {"connection_id":50947,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:39:08] local.INFO: Acknowledgment sent {"connection_id":50947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:39:27] local.INFO: TCP Data received {"connection_id":50017,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:39:27] local.INFO: Processing buffer {"connection_id":50017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:39:27] local.INFO: IMEI packet received {"connection_id":50017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:39:30] local.INFO: TCP Data received {"connection_id":50405,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:39:30] local.INFO: Processing buffer {"connection_id":50405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:39:30] local.INFO: IMEI packet received {"connection_id":50405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":50405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:39:32] local.INFO: TCP Data received {"connection_id":50017,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:39:32] local.INFO: Processing buffer {"connection_id":50017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:39:32] local.INFO: IMEI packet received {"connection_id":50017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":50017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:39:33] local.INFO: TCP Data received {"connection_id":50017,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:39:33] local.INFO: Processing buffer {"connection_id":50017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:39:33] local.INFO: Packet analysis {"connection_id":50017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:39:33] local.INFO: Extracted packet for processing {"connection_id":50017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07: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-22 07:39: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-22 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:39:33] 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-22 07:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:39:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":50017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:39:33] local.INFO: GPS data processed {"connection_id":50017,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:39:33] local.INFO: Acknowledgment sent {"connection_id":50017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:39:36] local.INFO: TCP Data received {"connection_id":50405,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:39:36] local.INFO: Processing buffer {"connection_id":50405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:39:36] local.INFO: IMEI packet received {"connection_id":50405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":50405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:39:36] local.INFO: TCP Data received {"connection_id":50405,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f2f868012d7b538005e105700000015f1b..."} 
[2026-04-22 07:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f2f868012d7b538005e105700000015f1b..."} 
[2026-04-22 07:39:36] local.INFO: Processing buffer {"connection_id":50405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f2f868012d7b538005e105700000015f1b..."} 
[2026-04-22 07:39:36] local.INFO: Packet analysis {"connection_id":50405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f2"} 
[2026-04-22 07:39:36] local.INFO: Extracted packet for processing {"connection_id":50405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f2"} 
[2026-04-22 07:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98633072,"longitude_deg":76.3057024,"latitude_deg":9.8633072,"altitude":0,"angle":351,"satellites":27,"speed":61,"hex_longitude":"2d7b5380","hex_latitude":"05e10570","is_valid_coordinates":true} 
[2026-04-22 07:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866881024001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74823690415505408,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839816574976,"note":"Value kept but may cause issues"} 
[2026-04-22 07:39:36] 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-22 07:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776823761000,"timestamp_ms":1776823761000,"timestamp_seconds":1776823761,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f2f868"} 
[2026-04-22 07:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 07:39:36] 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-22 07:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:39:36] 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-22 07:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866881024001,"66":13820,"35":206,"85":15104,"24":61,"16":74823690415505408,"45":8888416839816574976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 07:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866881024001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:39:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 07:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74823690415505408,"km_value":74823690415505.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839816574976,"description":"Unknown IO ID 45"} 
[2026-04-22 07:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866881024001,"power":13820,"unknown_35":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":8888416839816574976}} 
[2026-04-22 07:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":50405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:39:36] local.INFO: GPS data processed {"connection_id":50405,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:39:36] local.INFO: Acknowledgment sent {"connection_id":50405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:40:05] local.INFO: TCP Data received {"connection_id":50017,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:40:05] local.INFO: Processing buffer {"connection_id":50017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:40:05] local.INFO: Packet analysis {"connection_id":50017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:40:05] local.INFO: Extracted packet for processing {"connection_id":50017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07: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-22 07:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:40: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-22 07: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-22 07: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-22 07:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:40:05] 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-22 07:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:40:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":50017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:40:05] local.INFO: GPS data processed {"connection_id":50017,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:40:05] local.INFO: Acknowledgment sent {"connection_id":50017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:40:08] local.INFO: TCP Data received {"connection_id":50405,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f30fd8012d7b4d4005e12a300000015e1d..."} 
[2026-04-22 07:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f30fd8012d7b4d4005e12a300000015e1d..."} 
[2026-04-22 07:40:08] local.INFO: Processing buffer {"connection_id":50405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f30fd8012d7b4d4005e12a300000015e1d..."} 
[2026-04-22 07:40:08] local.INFO: Packet analysis {"connection_id":50405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:40:08] local.INFO: Extracted packet for processing {"connection_id":50405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763055424,"raw_latitude":98642480,"longitude_deg":76.3055424,"latitude_deg":9.864248,"altitude":0,"angle":350,"satellites":29,"speed":64,"hex_longitude":"2d7b4d40","hex_latitude":"05e12a30","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866882816001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74824149977006080,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252470542336,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:08] 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-22 07:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776823767000,"timestamp_ms":1776823767000,"timestamp_seconds":1776823767,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f30fd8"} 
[2026-04-22 07: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-22 07:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:40:08] 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-22 07:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866882816001,"66":13646,"170":206,"85":15104,"24":64,"16":74824149977006080,"45":8886587252470542336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 07:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866882816001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:40:08] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 07:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74824149977006080,"km_value":74824149977006.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252470542336,"description":"Unknown IO ID 45"} 
[2026-04-22 07:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866882816001,"power":13646,"unknown_170":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":8886587252470542336}} 
[2026-04-22 07:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":50405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:40:08] local.INFO: GPS data processed {"connection_id":50405,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:40:08] local.INFO: Acknowledgment sent {"connection_id":50405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:40:26] local.INFO: TCP Data received {"connection_id":50949,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:40:26] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:40:26] local.INFO: IMEI packet received {"connection_id":50949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":50949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:40:30] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:40:30] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:40:30] local.INFO: IMEI packet received {"connection_id":50270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":50270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:40:32] local.INFO: TCP Data received {"connection_id":50949,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:40:32] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:40:32] local.INFO: IMEI packet received {"connection_id":50949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:40:33] local.INFO: TCP Data received {"connection_id":50949,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:40:33] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2ef4ee8012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:40:33] local.INFO: Packet analysis {"connection_id":50949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:40:33] local.INFO: Extracted packet for processing {"connection_id":50949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2ef"} 
[2026-04-22 07:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866744320001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 07:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823521000,"timestamp_ms":1776823521000,"timestamp_seconds":1776823521,"priority":1,"record_length":96,"hex_timestamp":"0000019db2ef4ee8"} 
[2026-04-22 07: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-22 07: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-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866744320001,"66":25441,"249":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 07:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866744320001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:40:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 07:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866744320001,"power":25441,"unknown_249":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:40:33] local.INFO: GPS data processed {"connection_id":50949,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:40:33] local.INFO: Acknowledgment sent {"connection_id":50949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:40:36] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:40:36] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:40:36] local.INFO: IMEI packet received {"connection_id":50270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":50270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:40:37] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f32b30012d7b468005e150900000015e1c..."} 
[2026-04-22 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f32b30012d7b468005e150900000015e1c..."} 
[2026-04-22 07:40:37] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f32b30012d7b468005e150900000015e1c..."} 
[2026-04-22 07:40:37] local.INFO: Packet analysis {"connection_id":50270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:40:37] local.INFO: Extracted packet for processing {"connection_id":50270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763053696,"raw_latitude":98652304,"longitude_deg":76.3053696,"latitude_deg":9.8652304,"altitude":0,"angle":350,"satellites":28,"speed":47,"hex_longitude":"2d7b4680","hex_latitude":"05e15090","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866884352001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74824635308310528,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884828033868509184,"note":"Value kept but may cause issues"} 
[2026-04-22 07:40:37] 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-22 07:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776823774000,"timestamp_ms":1776823774000,"timestamp_seconds":1776823774,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f32b30"} 
[2026-04-22 07: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-22 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 07:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:40:37] 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-22 07:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866884352001,"66":13015,"170":206,"85":15104,"24":47,"16":74824635308310528,"45":8884828033868509184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 07:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866884352001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:40:37] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 07:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74824635308310528,"km_value":74824635308310.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884828033868509184,"description":"Unknown IO ID 45"} 
[2026-04-22 07:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866884352001,"power":13015,"unknown_170":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8884828033868509184}} 
[2026-04-22 07:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":50270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:40:37] local.INFO: GPS data processed {"connection_id":50270,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:40:37] local.INFO: Acknowledgment sent {"connection_id":50270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:41:04] local.INFO: TCP Data received {"connection_id":50949,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:41:04] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:41:04] local.INFO: Packet analysis {"connection_id":50949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:41:04] local.INFO: Extracted packet for processing {"connection_id":50949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41: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-22 07:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 07:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:41: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-22 07:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:41:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":50949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:41:04] local.INFO: GPS data processed {"connection_id":50949,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:41:04] local.INFO: Acknowledgment sent {"connection_id":50949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:41:08] local.INFO: TCP Data received {"connection_id":50270,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f457f8012d7b360005e20420000100a329..."} 
[2026-04-22 07:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f457f8012d7b360005e20420000100a329..."} 
[2026-04-22 07:41:08] local.INFO: Processing buffer {"connection_id":50270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f457f8012d7b360005e20420000100a329..."} 
[2026-04-22 07:41:08] local.INFO: Packet analysis {"connection_id":50270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:41:08] local.INFO: Extracted packet for processing {"connection_id":50270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763049472,"raw_latitude":98698272,"longitude_deg":76.3049472,"latitude_deg":9.8698272,"altitude":1,"angle":163,"satellites":41,"speed":11,"hex_longitude":"2d7b3600","hex_latitude":"05e20420","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866903296001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74826958885617664,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053232603136,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:08] 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-22 07:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776823851000,"timestamp_ms":1776823851000,"timestamp_seconds":1776823851,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f457f8"} 
[2026-04-22 07: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-22 07:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-04-22 07:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:41:08] 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-22 07:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866903296001,"66":13820,"169":206,"85":15104,"24":11,"16":74826958885617664,"45":8877580053232603136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 07:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866903296001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:41:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 07:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74826958885617664,"km_value":74826958885617.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053232603136,"description":"Unknown IO ID 45"} 
[2026-04-22 07:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866903296001,"power":13820,"unknown_169":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8877580053232603136}} 
[2026-04-22 07:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":50270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:41:08] local.INFO: GPS data processed {"connection_id":50270,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:41:08] local.INFO: Acknowledgment sent {"connection_id":50270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:41:32] local.INFO: TCP Data received {"connection_id":50950,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:41:32] local.INFO: Processing buffer {"connection_id":50950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:41:32] local.INFO: IMEI packet received {"connection_id":50950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:41:36] local.INFO: TCP Data received {"connection_id":50407,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:41:36] local.INFO: Processing buffer {"connection_id":50407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:41:36] local.INFO: IMEI packet received {"connection_id":50407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":50407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:41:37] local.INFO: TCP Data received {"connection_id":50950,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:41:37] local.INFO: Processing buffer {"connection_id":50950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:41:37] local.INFO: IMEI packet received {"connection_id":50950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":50950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:41:38] local.INFO: TCP Data received {"connection_id":50950,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:41:38] local.INFO: Processing buffer {"connection_id":50950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:41:38] local.INFO: Packet analysis {"connection_id":50950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:41:38] local.INFO: Extracted packet for processing {"connection_id":50950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:38] 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-22 07:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 07:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:41:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":50950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:41:38] local.INFO: GPS data processed {"connection_id":50950,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:41:38] local.INFO: Acknowledgment sent {"connection_id":50950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:41:40] local.INFO: TCP Data received {"connection_id":50407,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:41:40] local.INFO: Processing buffer {"connection_id":50407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:41:40] local.INFO: IMEI packet received {"connection_id":50407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":50407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:41:40] local.INFO: TCP Data received {"connection_id":50407,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f45fc8012d7b368005e200d8000100ae26..."} 
[2026-04-22 07:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f45fc8012d7b368005e200d8000100ae26..."} 
[2026-04-22 07:41:40] local.INFO: Processing buffer {"connection_id":50407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f45fc8012d7b368005e200d8000100ae26..."} 
[2026-04-22 07:41:40] local.INFO: Packet analysis {"connection_id":50407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:41:40] local.INFO: Extracted packet for processing {"connection_id":50407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98697432,"longitude_deg":76.30496,"latitude_deg":9.8697432,"altitude":1,"angle":174,"satellites":38,"speed":20,"hex_longitude":"2d7b3680","hex_latitude":"05e200d8","is_valid_coordinates":true} 
[2026-04-22 07:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866905856001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74827001835290624,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878283740674269184,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:40] 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-22 07:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776823853000,"timestamp_ms":1776823853000,"timestamp_seconds":1776823853,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f45fc8"} 
[2026-04-22 07:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:41:40] 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-22 07:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866905856001,"66":13722,"169":206,"85":15104,"24":20,"16":74827001835290624,"45":8878283740674269184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 07:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866905856001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:41:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 07:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74827001835290624,"km_value":74827001835290.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878283740674269184,"description":"Unknown IO ID 45"} 
[2026-04-22 07:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866905856001,"power":13722,"unknown_169":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8878283740674269184}} 
[2026-04-22 07:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":50407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:41:40] local.INFO: GPS data processed {"connection_id":50407,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:41:40] local.INFO: Acknowledgment sent {"connection_id":50407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:41:41] local.INFO: TCP Data received {"connection_id":50407,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f48ac0012d7b3a8005e1db60000000af22..."} 
[2026-04-22 07:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f48ac0012d7b3a8005e1db60000000af22..."} 
[2026-04-22 07:41:41] local.INFO: Processing buffer {"connection_id":50407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f48ac0012d7b3a8005e1db60000000af22..."} 
[2026-04-22 07:41:41] local.INFO: Packet analysis {"connection_id":50407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:41:41] local.INFO: Extracted packet for processing {"connection_id":50407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763050624,"raw_latitude":98687840,"longitude_deg":76.3050624,"latitude_deg":9.868784,"altitude":0,"angle":175,"satellites":34,"speed":40,"hex_longitude":"2d7b3a80","hex_latitude":"05e1db60","is_valid_coordinates":true} 
[2026-04-22 07:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866906368001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74827469986725888,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478162409472,"note":"Value kept but may cause issues"} 
[2026-04-22 07:41:41] 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-22 07:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776823864000,"timestamp_ms":1776823864000,"timestamp_seconds":1776823864,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f48ac0"} 
[2026-04-22 07:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 07:41:41] 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-22 07:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:41:41] 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-22 07:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866906368001,"66":13374,"169":206,"85":15104,"24":40,"16":74827469986725888,"45":8878424478162409472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 07:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866906368001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:41:41] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 07:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74827469986725888,"km_value":74827469986725.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478162409472,"description":"Unknown IO ID 45"} 
[2026-04-22 07:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866906368001,"power":13374,"unknown_169":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8878424478162409472}} 
[2026-04-22 07:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":50407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:41:41] local.INFO: GPS data processed {"connection_id":50407,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:41:41] local.INFO: Acknowledgment sent {"connection_id":50407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:42:09] local.INFO: TCP Data received {"connection_id":50950,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:42:09] local.INFO: Processing buffer {"connection_id":50950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:42:09] local.INFO: Packet analysis {"connection_id":50950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:42:09] local.INFO: Extracted packet for processing {"connection_id":50950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42: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-22 07:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 07: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-22 07:42: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:42: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-22 07: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-22 07: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-22 07:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:42:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":50950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:42:09] local.INFO: GPS data processed {"connection_id":50950,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:42:09] local.INFO: Acknowledgment sent {"connection_id":50950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:42:12] local.INFO: TCP Data received {"connection_id":50407,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f4c940012d7b3f0005e1b7d8000000ab20..."} 
[2026-04-22 07:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f4c940012d7b3f0005e1b7d8000000ab20..."} 
[2026-04-22 07:42:12] local.INFO: Processing buffer {"connection_id":50407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f4c940012d7b3f0005e1b7d8000000ab20..."} 
[2026-04-22 07:42:12] local.INFO: Packet analysis {"connection_id":50407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:42:12] local.INFO: Extracted packet for processing {"connection_id":50407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763051776,"raw_latitude":98678744,"longitude_deg":76.3051776,"latitude_deg":9.8678744,"altitude":0,"angle":171,"satellites":32,"speed":20,"hex_longitude":"2d7b3f00","hex_latitude":"05e1b7d8","is_valid_coordinates":true} 
[2026-04-22 07:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866909184001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74827912368357376,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879550378066796544,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:12] 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-22 07:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776823880000,"timestamp_ms":1776823880000,"timestamp_seconds":1776823880,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f4c940"} 
[2026-04-22 07:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:42:12] 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-22 07:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-22 07:42:12] 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-22 07:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:42:12] 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-22 07:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866909184001,"66":13526,"169":206,"85":15104,"24":20,"16":74827912368357376,"45":8879550378066796544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 07:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866909184001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:42:12] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 07:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74827912368357376,"km_value":74827912368357.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879550378066796544,"description":"Unknown IO ID 45"} 
[2026-04-22 07:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866909184001,"power":13526,"unknown_169":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8879550378066796544}} 
[2026-04-22 07:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":50407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:42:12] local.INFO: GPS data processed {"connection_id":50407,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:42:12] local.INFO: Acknowledgment sent {"connection_id":50407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:42:27] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:42:27] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:42:27] local.INFO: IMEI packet received {"connection_id":50951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:42:30] local.INFO: TCP Data received {"connection_id":50952,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:42:30] local.INFO: Processing buffer {"connection_id":50952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:42:30] local.INFO: IMEI packet received {"connection_id":50952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":50952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:42:32] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:42:32] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:42:32] local.INFO: IMEI packet received {"connection_id":50951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:42:33] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:42:33] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:42:33] local.INFO: Packet analysis {"connection_id":50951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:42:33] local.INFO: Extracted packet for processing {"connection_id":50951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:33] 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-22 07:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 07: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-22 07:42: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:42: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-22 07: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-22 07: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-22 07:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:42:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:42:33] local.INFO: GPS data processed {"connection_id":50951,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:42:33] local.INFO: Acknowledgment sent {"connection_id":50951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:42:36] local.INFO: TCP Data received {"connection_id":50952,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:42:36] local.INFO: Processing buffer {"connection_id":50952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:42:36] local.INFO: IMEI packet received {"connection_id":50952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":50952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:42:36] local.INFO: TCP Data received {"connection_id":50952,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f4d8e0012d7b3fc005e1af30000000b722..."} 
[2026-04-22 07:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f4d8e0012d7b3fc005e1af30000000b722..."} 
[2026-04-22 07:42:36] local.INFO: Processing buffer {"connection_id":50952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f4d8e0012d7b3fc005e1af30000000b722..."} 
[2026-04-22 07:42:36] local.INFO: Packet analysis {"connection_id":50952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:42:36] local.INFO: Extracted packet for processing {"connection_id":50952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f4"} 
[2026-04-22 07:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763051968,"raw_latitude":98676528,"longitude_deg":76.3051968,"latitude_deg":9.8676528,"altitude":0,"angle":183,"satellites":34,"speed":24,"hex_longitude":"2d7b3fc0","hex_latitude":"05e1af30","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866913280001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74828019742539776,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880817015459665920,"note":"Value kept but may cause issues"} 
[2026-04-22 07:42:36] 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-22 07:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776823884000,"timestamp_ms":1776823884000,"timestamp_seconds":1776823884,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f4d8e0"} 
[2026-04-22 07: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-22 07:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 07:42:36] 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-22 07: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-22 07: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-22 07:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:42:36] 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-22 07:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866913280001,"66":13798,"169":206,"85":15104,"24":24,"16":74828019742539776,"45":8880817015459665920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-22 07:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866913280001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:42:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-22 07:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74828019742539776,"km_value":74828019742539.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880817015459665920,"description":"Unknown IO ID 45"} 
[2026-04-22 07:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866913280001,"power":13798,"unknown_169":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8880817015459665920}} 
[2026-04-22 07:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":50952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:42:36] local.INFO: GPS data processed {"connection_id":50952,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:42:36] local.INFO: Acknowledgment sent {"connection_id":50952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:43:04] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:43:04] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:43:04] local.INFO: Packet analysis {"connection_id":50951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:43:04] local.INFO: Extracted packet for processing {"connection_id":50951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43: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-22 07:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 07:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:43: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-22 07:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:43:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:43:04] local.INFO: GPS data processed {"connection_id":50951,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:43:04] local.INFO: Acknowledgment sent {"connection_id":50951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:43:07] local.INFO: TCP Data received {"connection_id":50952,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f62100012d7b098005e14200000300f027..."} 
[2026-04-22 07:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f62100012d7b098005e14200000300f027..."} 
[2026-04-22 07:43:07] local.INFO: Processing buffer {"connection_id":50952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f62100012d7b098005e14200000300f027..."} 
[2026-04-22 07:43:07] local.INFO: Packet analysis {"connection_id":50952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f6"} 
[2026-04-22 07:43:07] local.INFO: Extracted packet for processing {"connection_id":50952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f6"} 
[2026-04-22 07:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98648576,"longitude_deg":76.303808,"latitude_deg":9.8648576,"altitude":3,"angle":240,"satellites":39,"speed":27,"hex_longitude":"2d7b0980","hex_latitude":"05e14200","is_valid_coordinates":true} 
[2026-04-22 07:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866933760001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74829939592921088,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869909860105222144,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:07] 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-22 07:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776823968000,"timestamp_ms":1776823968000,"timestamp_seconds":1776823968,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f62100"} 
[2026-04-22 07:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 07:43:07] 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-22 07:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:43:07] 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-22 07:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866933760001,"66":13646,"170":206,"85":15104,"24":27,"16":74829939592921088,"45":8869909860105222144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 07:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866933760001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:43:07] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 07:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74829939592921088,"km_value":74829939592921.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869909860105222144,"description":"Unknown IO ID 45"} 
[2026-04-22 07:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866933760001,"power":13646,"unknown_170":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8869909860105222144}} 
[2026-04-22 07:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":50952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:43:08] local.INFO: GPS data processed {"connection_id":50952,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:43:08] local.INFO: Acknowledgment sent {"connection_id":50952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:43:27] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:43:27] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:43:27] local.INFO: IMEI packet received {"connection_id":50271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":50271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:43:28] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:43:28] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:43:28] local.INFO: IMEI packet received {"connection_id":50272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":50272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:43:31] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:43:31] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:43:31] local.INFO: IMEI packet received {"connection_id":50272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":50272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:43:32] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:43:32] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:43:32] local.INFO: IMEI packet received {"connection_id":50271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":50271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:43:33] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:43:33] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:43:33] local.INFO: Packet analysis {"connection_id":50271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:43:33] local.INFO: Extracted packet for processing {"connection_id":50271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:33] 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-22 07:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 07: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-22 07: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:43: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-22 07: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-22 07: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-22 07:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:43:33] 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-22 07:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:43:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":50271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:43:33] local.INFO: GPS data processed {"connection_id":50271,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:43:33] local.INFO: Acknowledgment sent {"connection_id":50271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:43:35] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:43:35] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:43:35] local.INFO: IMEI packet received {"connection_id":50272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":50272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:43:36] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f64040012d7af38005e13770000500fc29..."} 
[2026-04-22 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f64040012d7af38005e13770000500fc29..."} 
[2026-04-22 07:43:36] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f64040012d7af38005e13770000500fc29..."} 
[2026-04-22 07:43:36] local.INFO: Packet analysis {"connection_id":50272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f6"} 
[2026-04-22 07:43:36] local.INFO: Extracted packet for processing {"connection_id":50272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f6"} 
[2026-04-22 07:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763032448,"raw_latitude":98645872,"longitude_deg":76.3032448,"latitude_deg":9.8645872,"altitude":5,"angle":252,"satellites":41,"speed":32,"hex_longitude":"2d7af380","hex_latitude":"05e13770","is_valid_coordinates":true} 
[2026-04-22 07:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866935808001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74830240240631808,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104197922816,"note":"Value kept but may cause issues"} 
[2026-04-22 07:43:36] 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-22 07:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776823976000,"timestamp_ms":1776823976000,"timestamp_seconds":1776823976,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f64040"} 
[2026-04-22 07:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 07:43:36] 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-22 07:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:43:36] 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-22 07:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866935808001,"66":13689,"170":206,"85":15104,"24":32,"16":74830240240631808,"45":8865758104197922816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 07:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866935808001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:43:36] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 07:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74830240240631808,"km_value":74830240240631.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104197922816,"description":"Unknown IO ID 45"} 
[2026-04-22 07:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866935808001,"power":13689,"unknown_170":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8865758104197922816}} 
[2026-04-22 07:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":50272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:43:36] local.INFO: GPS data processed {"connection_id":50272,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:43:36] local.INFO: Acknowledgment sent {"connection_id":50272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:43:51] local.INFO: TCP Data received {"connection_id":50954,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:43:51] local.INFO: Processing buffer {"connection_id":50954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:43:51] local.INFO: IMEI packet received {"connection_id":50954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":50954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:44:04] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:44:04] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:44:04] local.INFO: Packet analysis {"connection_id":50271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:44:04] local.INFO: Extracted packet for processing {"connection_id":50271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44: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-22 07:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 07: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-22 07:44: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-22 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:44:04] 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-22 07:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:44:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:44:04] local.INFO: GPS data processed {"connection_id":50271,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:44:04] local.INFO: Acknowledgment sent {"connection_id":50271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:44:07] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f65b98012d7ae28005e131e0000500ef28..."} 
[2026-04-22 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f65b98012d7ae28005e131e0000500ef28..."} 
[2026-04-22 07:44:07] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f65b98012d7ae28005e131e0000500ef28..."} 
[2026-04-22 07:44:07] local.INFO: Packet analysis {"connection_id":50272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f6"} 
[2026-04-22 07:44:07] local.INFO: Extracted packet for processing {"connection_id":50272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f6"} 
[2026-04-22 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763028096,"raw_latitude":98644448,"longitude_deg":76.3028096,"latitude_deg":9.8644448,"altitude":5,"angle":239,"satellites":40,"speed":20,"hex_longitude":"2d7ae280","hex_latitude":"05e131e0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866937856001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74830459283963904,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859565654709596160,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:07] 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-22 07:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776823983000,"timestamp_ms":1776823983000,"timestamp_seconds":1776823983,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f65b98"} 
[2026-04-22 07: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-22 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 07:44:07] 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-22 07: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-22 07: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-22 07:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:44:07] 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-22 07:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866937856001,"66":13624,"170":206,"85":15104,"24":20,"16":74830459283963904,"45":8859565654709596160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 07:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866937856001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:44:07] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 07:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74830459283963904,"km_value":74830459283963.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859565654709596160,"description":"Unknown IO ID 45"} 
[2026-04-22 07:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866937856001,"power":13624,"unknown_170":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8859565654709596160}} 
[2026-04-22 07:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":50272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:44:07] local.INFO: GPS data processed {"connection_id":50272,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:44:07] local.INFO: Acknowledgment sent {"connection_id":50272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:44:27] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:44:27] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:44:27] local.INFO: IMEI packet received {"connection_id":50955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":50955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:44:32] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:44:32] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:44:32] local.INFO: IMEI packet received {"connection_id":50955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:44:33] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:44:33] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:44:33] local.INFO: Packet analysis {"connection_id":50955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:44:33] local.INFO: Extracted packet for processing {"connection_id":50955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:33] 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-22 07:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 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-22 07:44: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:44: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-22 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-22 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-22 07:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:44:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":50955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:44:33] local.INFO: GPS data processed {"connection_id":50955,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:44:33] local.INFO: Acknowledgment sent {"connection_id":50955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:44:35] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:35] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:35] local.INFO: IMEI packet received {"connection_id":50408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":50408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:44:35] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:35] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:35] local.INFO: IMEI packet received {"connection_id":50408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":50408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:44:37] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:37] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:37] local.INFO: IMEI packet received {"connection_id":50408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":50408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:44:41] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:41] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:44:41] local.INFO: IMEI packet received {"connection_id":50408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":50408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:44:41] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f7b358012d7a2c8005e0f5d8000600e02b..."} 
[2026-04-22 07:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f7b358012d7a2c8005e0f5d8000600e02b..."} 
[2026-04-22 07:44:41] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f7b358012d7a2c8005e0f5d8000600e02b..."} 
[2026-04-22 07:44:41] local.INFO: Packet analysis {"connection_id":50408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:44:41] local.INFO: Extracted packet for processing {"connection_id":50408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":762981504,"raw_latitude":98629080,"longitude_deg":76.2981504,"latitude_deg":9.862908,"altitude":6,"angle":224,"satellites":43,"speed":10,"hex_longitude":"2d7a2c80","hex_latitude":"05e0f5d8","is_valid_coordinates":true} 
[2026-04-22 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866961920001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74832855875715072,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803763240572452864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:44:41] 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-22 07:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776824071000,"timestamp_ms":1776824071000,"timestamp_seconds":1776824071,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f7b358"} 
[2026-04-22 07:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-22 07:44:41] 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-22 07:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:44:41] 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-22 07:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866961920001,"66":13537,"170":206,"85":15104,"24":10,"16":74832855875715072,"45":8803763240572452864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 07:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866961920001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:44:41] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 07:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74832855875715072,"km_value":74832855875715.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803763240572452864,"description":"Unknown IO ID 45"} 
[2026-04-22 07:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866961920001,"power":13537,"unknown_170":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8803763240572452864}} 
[2026-04-22 07:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":50408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:44:41] local.INFO: GPS data processed {"connection_id":50408,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:44:41] local.INFO: Acknowledgment sent {"connection_id":50408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:45:04] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:45:04] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:45:04] local.INFO: Packet analysis {"connection_id":50955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:45:04] local.INFO: Extracted packet for processing {"connection_id":50955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45: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-22 07:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 07: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-22 07:45: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-22 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07: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-22 07:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:45:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":50955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:45:04] local.INFO: GPS data processed {"connection_id":50955,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:45:04] local.INFO: Acknowledgment sent {"connection_id":50955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:45:13] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f7b740012d7a2bc005e0f510000600cb2b..."} 
[2026-04-22 07:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f7b740012d7a2bc005e0f510000600cb2b..."} 
[2026-04-22 07:45:13] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f7b740012d7a2bc005e0f510000600cb2b..."} 
[2026-04-22 07:45:13] local.INFO: Packet analysis {"connection_id":50408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:45:13] local.INFO: Extracted packet for processing {"connection_id":50408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:45:13] local.INFO: GPS Element Parsed {"raw_longitude":762981312,"raw_latitude":98628880,"longitude_deg":76.2981312,"latitude_deg":9.862888,"altitude":6,"angle":203,"satellites":43,"speed":10,"hex_longitude":"2d7a2bc0","hex_latitude":"05e0f510","is_valid_coordinates":true} 
[2026-04-22 07:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866962176001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74832868760616960,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803552134339876864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:13] 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-22 07:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776824072000,"timestamp_ms":1776824072000,"timestamp_seconds":1776824072,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f7b740"} 
[2026-04-22 07:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-22 07:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:45:13] 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-22 07:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866962176001,"66":13396,"170":206,"85":15104,"24":10,"16":74832868760616960,"45":8803552134339876864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 07:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866962176001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:45:13] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 07:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 07:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74832868760616960,"km_value":74832868760616.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803552134339876864,"description":"Unknown IO ID 45"} 
[2026-04-22 07:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866962176001,"power":13396,"unknown_170":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8803552134339876864}} 
[2026-04-22 07:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":50408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:45:13] local.INFO: GPS data processed {"connection_id":50408,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:45:13] local.INFO: Acknowledgment sent {"connection_id":50408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:45:26] local.INFO: TCP Data received {"connection_id":50274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:45:26] local.INFO: Processing buffer {"connection_id":50274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:45:26] local.INFO: IMEI packet received {"connection_id":50274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":50274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:45:30] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:45:30] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:45:30] local.INFO: IMEI packet received {"connection_id":50275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":50275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:45:32] local.INFO: TCP Data received {"connection_id":50274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:45:32] local.INFO: Processing buffer {"connection_id":50274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:45:32] local.INFO: IMEI packet received {"connection_id":50274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":50274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:45:33] local.INFO: TCP Data received {"connection_id":50274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:45:33] local.INFO: Processing buffer {"connection_id":50274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f3e6b0012d7f960005afd7d0000001561a..."} 
[2026-04-22 07:45:33] local.INFO: Packet analysis {"connection_id":50274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:45:33] local.INFO: Extracted packet for processing {"connection_id":50274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f3"} 
[2026-04-22 07:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":26,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866821376001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:33] 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-22 07:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776823822000,"timestamp_ms":1776823822000,"timestamp_seconds":1776823822,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f3e6b0"} 
[2026-04-22 07:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:45: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-22 07:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:45: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-22 07:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:45: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-22 07:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866821376001,"66":25441,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866821376001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866821376001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":50274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:45:33] local.INFO: GPS data processed {"connection_id":50274,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:45:33] local.INFO: Acknowledgment sent {"connection_id":50274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:45:36] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:45:36] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:45:36] local.INFO: IMEI packet received {"connection_id":50275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":50275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:45:36] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f7bb28012d7a2b8005e0f430000600ba2b..."} 
[2026-04-22 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f7bb28012d7a2b8005e0f430000600ba2b..."} 
[2026-04-22 07:45:36] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f7bb28012d7a2b8005e0f430000600ba2b..."} 
[2026-04-22 07:45:36] local.INFO: Packet analysis {"connection_id":50275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:45:36] local.INFO: Extracted packet for processing {"connection_id":50275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:45:36] local.INFO: GPS Element Parsed {"raw_longitude":762981248,"raw_latitude":98628656,"longitude_deg":76.2981248,"latitude_deg":9.8628656,"altitude":6,"angle":186,"satellites":43,"speed":10,"hex_longitude":"2d7a2b80","hex_latitude":"05e0f430","is_valid_coordinates":true} 
[2026-04-22 07:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866962432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74832877350551552,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803341028107292672,"note":"Value kept but may cause issues"} 
[2026-04-22 07:45:36] 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-22 07:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824073000,"timestamp_ms":1776824073000,"timestamp_seconds":1776824073,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f7bb28"} 
[2026-04-22 07:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-22 07:45:36] 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-22 07:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:45:36] 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-22 07:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866962432001,"66":13396,"83":206,"87":12288,"24":10,"16":74832877350551552,"45":8803341028107292672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866962432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:45:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74832877350551552,"km_value":74832877350551.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803341028107292672,"description":"Unknown IO ID 45"} 
[2026-04-22 07:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866962432001,"power":13396,"unknown_83":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8803341028107292672}} 
[2026-04-22 07:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":50275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:45:36] local.INFO: GPS data processed {"connection_id":50275,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:45:36] local.INFO: Acknowledgment sent {"connection_id":50275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:46:04] local.INFO: TCP Data received {"connection_id":50274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:46:04] local.INFO: Processing buffer {"connection_id":50274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:46:04] local.INFO: Packet analysis {"connection_id":50274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:46:04] local.INFO: Extracted packet for processing {"connection_id":50274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46: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-22 07:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 07: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-22 07:46: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:46: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-22 07:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:46:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":50274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:46:04] local.INFO: GPS data processed {"connection_id":50274,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:46:04] local.INFO: Acknowledgment sent {"connection_id":50274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:46:07] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f7c6e0012d7a2b8005e0f170000600af2a..."} 
[2026-04-22 07:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f7c6e0012d7a2b8005e0f170000600af2a..."} 
[2026-04-22 07:46:07] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f7c6e0012d7a2b8005e0f170000600af2a..."} 
[2026-04-22 07:46:07] local.INFO: Packet analysis {"connection_id":50275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:46:07] local.INFO: Extracted packet for processing {"connection_id":50275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:46:07] local.INFO: GPS Element Parsed {"raw_longitude":762981248,"raw_latitude":98627952,"longitude_deg":76.2981248,"latitude_deg":9.8627952,"altitude":6,"angle":175,"satellites":42,"speed":9,"hex_longitude":"2d7a2b80","hex_latitude":"05e0f170","is_valid_coordinates":true} 
[2026-04-22 07:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866962688001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74832911710289920,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803270659363057664,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:07] 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-22 07:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776824076000,"timestamp_ms":1776824076000,"timestamp_seconds":1776824076,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f7c6e0"} 
[2026-04-22 07:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-22 07:46:07] 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-22 07:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:46:07] 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-22 07:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866962688001,"66":13015,"83":206,"87":12288,"24":9,"16":74832911710289920,"45":8803270659363057664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866962688001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:46:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74832911710289920,"km_value":74832911710289.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803270659363057664,"description":"Unknown IO ID 45"} 
[2026-04-22 07:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866962688001,"power":13015,"unknown_83":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8803270659363057664}} 
[2026-04-22 07:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":50275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:46:07] local.INFO: GPS data processed {"connection_id":50275,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:46:07] local.INFO: Acknowledgment sent {"connection_id":50275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:46:30] local.INFO: TCP Data received {"connection_id":50957,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:46:30] local.INFO: Processing buffer {"connection_id":50957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:46:30] local.INFO: IMEI packet received {"connection_id":50957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":50957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:46:32] local.INFO: TCP Data received {"connection_id":50956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:46:32] local.INFO: Processing buffer {"connection_id":50956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:46:32] local.INFO: IMEI packet received {"connection_id":50956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:46:36] local.INFO: TCP Data received {"connection_id":50957,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:46:36] local.INFO: Processing buffer {"connection_id":50957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:46:36] local.INFO: IMEI packet received {"connection_id":50957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":50957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:46:36] local.INFO: TCP Data received {"connection_id":50957,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f7d680012d7a2b8005e0edb0000700c52b..."} 
[2026-04-22 07:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f7d680012d7a2b8005e0edb0000700c52b..."} 
[2026-04-22 07:46:36] local.INFO: Processing buffer {"connection_id":50957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f7d680012d7a2b8005e0edb0000700c52b..."} 
[2026-04-22 07:46:36] local.INFO: Packet analysis {"connection_id":50957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:46:36] local.INFO: Extracted packet for processing {"connection_id":50957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:46:36] local.INFO: GPS Element Parsed {"raw_longitude":762981248,"raw_latitude":98626992,"longitude_deg":76.2981248,"latitude_deg":9.8626992,"altitude":7,"angle":197,"satellites":43,"speed":10,"hex_longitude":"2d7a2b80","hex_latitude":"05e0edb0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866963456001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74832958954930176,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803270659362877440,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:36] 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-22 07:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824080000,"timestamp_ms":1776824080000,"timestamp_seconds":1776824080,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f7d680"} 
[2026-04-22 07: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-22 07:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 07:46:36] 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-22 07: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-22 07: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-22 07:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:46:36] 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-22 07:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866963456001,"66":13363,"83":206,"87":12288,"24":10,"16":74832958954930176,"45":8803270659362877440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866963456001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:46:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74832958954930176,"km_value":74832958954930.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803270659362877440,"description":"Unknown IO ID 45"} 
[2026-04-22 07:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866963456001,"power":13363,"unknown_83":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8803270659362877440}} 
[2026-04-22 07:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":50957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:46:36] local.INFO: GPS data processed {"connection_id":50957,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:46:36] local.INFO: Acknowledgment sent {"connection_id":50957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:46:37] local.INFO: TCP Data received {"connection_id":50956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:46:37] local.INFO: Processing buffer {"connection_id":50956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:46:37] local.INFO: IMEI packet received {"connection_id":50956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":50956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:46:38] local.INFO: TCP Data received {"connection_id":50956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:46:38] local.INFO: Processing buffer {"connection_id":50956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:46:38] local.INFO: Packet analysis {"connection_id":50956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:46:38] local.INFO: Extracted packet for processing {"connection_id":50956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:46:38] 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-22 07:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 07:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:46: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-22 07:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:46:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":50956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:46:38] local.INFO: GPS data processed {"connection_id":50956,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:46:38] local.INFO: Acknowledgment sent {"connection_id":50956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:47:08] local.INFO: TCP Data received {"connection_id":50957,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f7da68012d7a2b4005e0ecd8000700d82a..."} 
[2026-04-22 07:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f7da68012d7a2b4005e0ecd8000700d82a..."} 
[2026-04-22 07:47:08] local.INFO: Processing buffer {"connection_id":50957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f7da68012d7a2b4005e0ecd8000700d82a..."} 
[2026-04-22 07:47:08] local.INFO: Packet analysis {"connection_id":50957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:47:08] local.INFO: Extracted packet for processing {"connection_id":50957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:47:08] local.INFO: GPS Element Parsed {"raw_longitude":762981184,"raw_latitude":98626776,"longitude_deg":76.2981184,"latitude_deg":9.8626776,"altitude":7,"angle":216,"satellites":42,"speed":8,"hex_longitude":"2d7a2b40","hex_latitude":"05e0ecd8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866964480001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74832971839832064,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803270659362631680,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:08] 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-22 07:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776824081000,"timestamp_ms":1776824081000,"timestamp_seconds":1776824081,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f7da68"} 
[2026-04-22 07: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-22 07:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-04-22 07:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:47:08] 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-22 07:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866964480001,"66":13135,"83":206,"87":12288,"24":8,"16":74832971839832064,"45":8803270659362631680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866964480001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:47:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74832971839832064,"km_value":74832971839832.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803270659362631680,"description":"Unknown IO ID 45"} 
[2026-04-22 07:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866964480001,"power":13135,"unknown_83":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8803270659362631680}} 
[2026-04-22 07:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":50957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:47:08] local.INFO: GPS data processed {"connection_id":50957,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:47:08] local.INFO: Acknowledgment sent {"connection_id":50957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:47:09] local.INFO: TCP Data received {"connection_id":50956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:47:09] local.INFO: Processing buffer {"connection_id":50956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:47:09] local.INFO: Packet analysis {"connection_id":50956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:47:09] local.INFO: Extracted packet for processing {"connection_id":50956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47: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-22 07:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 07: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-22 07:47: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:47: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-22 07: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-22 07: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-22 07:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:47: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-22 07:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:47:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":50956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:47:09] local.INFO: GPS data processed {"connection_id":50956,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:47:09] local.INFO: Acknowledgment sent {"connection_id":50956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:47:27] local.INFO: TCP Data received {"connection_id":50021,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:47:27] local.INFO: Processing buffer {"connection_id":50021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:47:27] local.INFO: IMEI packet received {"connection_id":50021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:47:31] local.INFO: TCP Data received {"connection_id":50022,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:47:31] local.INFO: Processing buffer {"connection_id":50022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:47:31] local.INFO: IMEI packet received {"connection_id":50022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":50022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:47:32] local.INFO: TCP Data received {"connection_id":50021,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:47:32] local.INFO: Processing buffer {"connection_id":50021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:47:32] local.INFO: IMEI packet received {"connection_id":50021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:47:33] local.INFO: TCP Data received {"connection_id":50021,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:47:33] local.INFO: Processing buffer {"connection_id":50021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:47:33] local.INFO: Packet analysis {"connection_id":50021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:47:33] local.INFO: Extracted packet for processing {"connection_id":50021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:33] 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-22 07:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 07: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-22 07:47: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-22 07:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:47: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-22 07: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-22 07: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-22 07:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:47:33] 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-22 07:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:47:33] local.INFO: GPS data processed {"connection_id":50021,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:47:33] local.INFO: Acknowledgment sent {"connection_id":50021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:47:36] local.INFO: TCP Data received {"connection_id":50022,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:47:36] local.INFO: Processing buffer {"connection_id":50022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:47:36] local.INFO: IMEI packet received {"connection_id":50022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":50022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:47:40] local.INFO: TCP Data received {"connection_id":50022,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:47:40] local.INFO: Processing buffer {"connection_id":50022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:47:40] local.INFO: IMEI packet received {"connection_id":50022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":50022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:47:41] local.INFO: TCP Data received {"connection_id":50022,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f7de50012d7a2ac005e0ec68000700ee2b..."} 
[2026-04-22 07:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f7de50012d7a2ac005e0ec68000700ee2b..."} 
[2026-04-22 07:47:41] local.INFO: Processing buffer {"connection_id":50022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f7de50012d7a2ac005e0ec68000700ee2b..."} 
[2026-04-22 07:47:41] local.INFO: Packet analysis {"connection_id":50022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:47:41] local.INFO: Extracted packet for processing {"connection_id":50022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:47:41] local.INFO: GPS Element Parsed {"raw_longitude":762981056,"raw_latitude":98626664,"longitude_deg":76.2981056,"latitude_deg":9.8626664,"altitude":7,"angle":238,"satellites":43,"speed":6,"hex_longitude":"2d7a2ac0","hex_latitude":"05e0ec68","is_valid_coordinates":true} 
[2026-04-22 07:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866964736001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74832980429766656,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803200290618398720,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:41] 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-22 07:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776824082000,"timestamp_ms":1776824082000,"timestamp_seconds":1776824082,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f7de50"} 
[2026-04-22 07:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 07:47:41] 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-22 07:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:47:41] 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-22 07:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866964736001,"66":13135,"83":206,"87":12288,"24":6,"16":74832980429766656,"45":8803200290618398720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866964736001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:47:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74832980429766656,"km_value":74832980429766.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803200290618398720,"description":"Unknown IO ID 45"} 
[2026-04-22 07:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866964736001,"power":13135,"unknown_83":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8803200290618398720}} 
[2026-04-22 07:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":50022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:47:41] local.INFO: GPS data processed {"connection_id":50022,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:47:41] local.INFO: Acknowledgment sent {"connection_id":50022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:47:45] local.INFO: TCP Data received {"connection_id":50022,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f7ea08012d7a294005e0eba8000801082b..."} 
[2026-04-22 07:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f7ea08012d7a294005e0eba8000801082b..."} 
[2026-04-22 07:47:45] local.INFO: Processing buffer {"connection_id":50022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f7ea08012d7a294005e0eba8000801082b..."} 
[2026-04-22 07:47:45] local.INFO: Packet analysis {"connection_id":50022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:47:45] local.INFO: Extracted packet for processing {"connection_id":50022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f7"} 
[2026-04-22 07:47:45] local.INFO: GPS Element Parsed {"raw_longitude":762980672,"raw_latitude":98626472,"longitude_deg":76.2980672,"latitude_deg":9.8626472,"altitude":8,"angle":264,"satellites":43,"speed":5,"hex_longitude":"2d7a2940","hex_latitude":"05e0eba8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866964992001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74833001904603136,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803059553130014720,"note":"Value kept but may cause issues"} 
[2026-04-22 07:47:45] 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-22 07:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776824085000,"timestamp_ms":1776824085000,"timestamp_seconds":1776824085,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f7ea08"} 
[2026-04-22 07: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-22 07:47:45] 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-22 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 07:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":50022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":50022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":50022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:47:45] 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-22 07:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866964992001,"66":13406,"83":206,"87":12288,"24":5,"16":74833001904603136,"45":8803059553130014720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866964992001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:47:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74833001904603136,"km_value":74833001904603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803059553130014720,"description":"Unknown IO ID 45"} 
[2026-04-22 07:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866964992001,"power":13406,"unknown_83":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8803059553130014720}} 
[2026-04-22 07:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":50022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:47:45] local.INFO: GPS data processed {"connection_id":50022,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:47:45] local.INFO: Acknowledgment sent {"connection_id":50022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:48:04] local.INFO: TCP Data received {"connection_id":50021,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:48:04] local.INFO: Processing buffer {"connection_id":50021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:48:04] local.INFO: Packet analysis {"connection_id":50021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:48:04] local.INFO: Extracted packet for processing {"connection_id":50021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48: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-22 07:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 07: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-22 07:48: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-22 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:48:04] 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-22 07:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:48:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":50021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:48:04] local.INFO: GPS data processed {"connection_id":50021,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:48:04] local.INFO: Acknowledgment sent {"connection_id":50021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:48:27] local.INFO: TCP Data received {"connection_id":50409,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:48:27] local.INFO: Processing buffer {"connection_id":50409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:48:27] local.INFO: IMEI packet received {"connection_id":50409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":50409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:48:29] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:48:29] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:48:29] local.INFO: IMEI packet received {"connection_id":50410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":50410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:48:30] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:48:30] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:48:30] local.INFO: IMEI packet received {"connection_id":50410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":50410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:48:32] local.INFO: TCP Data received {"connection_id":50409,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:48:32] local.INFO: Processing buffer {"connection_id":50409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:48:32] local.INFO: IMEI packet received {"connection_id":50409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:48:33] local.INFO: TCP Data received {"connection_id":50409,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:48:33] local.INFO: Processing buffer {"connection_id":50409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:48:33] local.INFO: Packet analysis {"connection_id":50409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:48:33] local.INFO: Extracted packet for processing {"connection_id":50409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:33] 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-22 07:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 07: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-22 07:48: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-22 07:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:48: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-22 07: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-22 07: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-22 07:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:48:33] 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-22 07:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:48:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":50409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:48:33] local.INFO: GPS data processed {"connection_id":50409,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:48:33] local.INFO: Acknowledgment sent {"connection_id":50409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:48:34] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:48:34] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:48:34] local.INFO: IMEI packet received {"connection_id":50410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":50410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:48:34] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fabcb0012d7a2c8005e0cc20000700fd2b..."} 
[2026-04-22 07:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fabcb0012d7a2c8005e0cc20000700fd2b..."} 
[2026-04-22 07:48:34] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fabcb0012d7a2c8005e0cc20000700fd2b..."} 
[2026-04-22 07:48:34] local.INFO: Packet analysis {"connection_id":50410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fa"} 
[2026-04-22 07:48:34] local.INFO: Extracted packet for processing {"connection_id":50410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fa"} 
[2026-04-22 07:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762981504,"raw_latitude":98618400,"longitude_deg":76.2981504,"latitude_deg":9.86184,"altitude":7,"angle":253,"satellites":43,"speed":10,"hex_longitude":"2d7a2c80","hex_latitude":"05e0cc20","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867012864001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74833435696300032,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903978058057728,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] 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-22 07:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776824270000,"timestamp_ms":1776824270000,"timestamp_seconds":1776824270,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fabcb0"} 
[2026-04-22 07: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-22 07:48: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-22 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581660,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3002714752,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1733492942,"corrected_to":0} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":710561588473495552,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4201549825,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3677880326,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634742124341075,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570252817609129,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3698065408,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3772463104,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3188554999487004678,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 07:48:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,83,87,24,241,157,16,220,180,45,64,205,7,43,10,66,176,128,161,1,240,51,227,178,224,4,113,28,44,56,41,239,52,2,9,5,6,122,48],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1733492942,"validated":0}]} 
[2026-04-22 07:48:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504663927205527552,"timestamp_seconds":504663927205527.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07: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-22 07:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:48:34] 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-22 07:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867012864001,"66":13580,"83":206,"87":12288,"24":10,"16":74833435696300032,"45":8803903978058057728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867012864001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74833435696300032,"km_value":74833435696300.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903978058057728,"description":"Unknown IO ID 45"} 
[2026-04-22 07:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867012864001,"power":13580,"unknown_83":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8803903978058057728}} 
[2026-04-22 07:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":50410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:48:34] local.INFO: GPS data processed {"connection_id":50410,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:48:34] local.INFO: Acknowledgment sent {"connection_id":50410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:49:04] local.INFO: TCP Data received {"connection_id":50409,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:49:04] local.INFO: Processing buffer {"connection_id":50409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:49:04] local.INFO: Packet analysis {"connection_id":50409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:49:04] local.INFO: Extracted packet for processing {"connection_id":50409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49: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-22 07:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 07: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-22 07:49: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-22 07: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07: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-22 07: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-22 07:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:49: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-22 07:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:49:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":50409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:49:04] local.INFO: GPS data processed {"connection_id":50409,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:49:04] local.INFO: Acknowledgment sent {"connection_id":50409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:49:05] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fbc650012d7a0c4005e0d3f8000300bd2b..."} 
[2026-04-22 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fbc650012d7a0c4005e0d3f8000300bd2b..."} 
[2026-04-22 07:49:05] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fbc650012d7a0c4005e0d3f8000300bd2b..."} 
[2026-04-22 07:49:05] local.INFO: Packet analysis {"connection_id":50410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fb"} 
[2026-04-22 07:49:05] local.INFO: Extracted packet for processing {"connection_id":50410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fb"} 
[2026-04-22 07:49:05] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620408,"longitude_deg":76.2973248,"latitude_deg":9.8620408,"altitude":3,"angle":189,"satellites":43,"speed":7,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d3f8","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867029760001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834114301132800,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794615303827216384,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:05] 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-22 07:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776824338000,"timestamp_ms":1776824338000,"timestamp_seconds":1776824338,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fbc650"} 
[2026-04-22 07: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-22 07:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 07:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:49:05] 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-22 07:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867029760001,"66":13319,"83":206,"87":12288,"24":7,"16":74834114301132800,"45":8794615303827216384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867029760001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834114301132800,"km_value":74834114301132.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794615303827216384,"description":"Unknown IO ID 45"} 
[2026-04-22 07:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867029760001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8794615303827216384}} 
[2026-04-22 07:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":50410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:49:06] local.INFO: GPS data processed {"connection_id":50410,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:49:06] local.INFO: Acknowledgment sent {"connection_id":50410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:49:17] local.INFO: TCP Data received {"connection_id":50023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:49:17] local.INFO: Processing buffer {"connection_id":50023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:49:17] local.INFO: IMEI packet received {"connection_id":50023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":50023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:49:27] local.INFO: TCP Data received {"connection_id":50024,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:49:27] local.INFO: Processing buffer {"connection_id":50024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:49:27] local.INFO: IMEI packet received {"connection_id":50024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:49:31] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:49:31] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:49:31] local.INFO: IMEI packet received {"connection_id":50277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":50277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:49:32] local.INFO: TCP Data received {"connection_id":50024,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:49:32] local.INFO: Processing buffer {"connection_id":50024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:49:32] local.INFO: IMEI packet received {"connection_id":50024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:49:33] local.INFO: TCP Data received {"connection_id":50024,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:49:33] local.INFO: Processing buffer {"connection_id":50024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:49:33] local.INFO: Packet analysis {"connection_id":50024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:49:33] local.INFO: Extracted packet for processing {"connection_id":50024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:33] 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-22 07:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 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-22 07:49: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-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:49: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-22 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-22 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-22 07:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:49:33] 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-22 07:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:49:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":50024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:49:33] local.INFO: GPS data processed {"connection_id":50024,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:49:33] local.INFO: Acknowledgment sent {"connection_id":50024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:49:36] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:49:36] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:49:36] local.INFO: IMEI packet received {"connection_id":50277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":50277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:49:36] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fbca38012d7a0c4005e0d320000300ab2b..."} 
[2026-04-22 07:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fbca38012d7a0c4005e0d320000300ab2b..."} 
[2026-04-22 07:49:36] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fbca38012d7a0c4005e0d320000300ab2b..."} 
[2026-04-22 07:49:36] local.INFO: Packet analysis {"connection_id":50277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fb"} 
[2026-04-22 07:49:36] local.INFO: Extracted packet for processing {"connection_id":50277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fb"} 
[2026-04-22 07:49:36] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620192,"longitude_deg":76.2973248,"latitude_deg":9.8620192,"altitude":3,"angle":171,"satellites":43,"speed":8,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d320","is_valid_coordinates":true} 
[2026-04-22 07:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867030528001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834122891067392,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794474566338738176,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] 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-22 07:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824339000,"timestamp_ms":1776824339000,"timestamp_seconds":1776824339,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fbca38"} 
[2026-04-22 07:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3002830752,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4221005825,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-2821505149345453312,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1733492942,"corrected_to":0} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3709927424,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57815976419153712,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.WARNING: Large IO value detected {"io_id":251,"raw_value":6971573518002634757,"note":"Value kept but may cause issues"} 
[2026-04-22 07:49:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,83,87,24,241,157,16,221,186,45,192,213,3,43,10,66,174,64,215,155,128,1,240,79,227,178,224,4,113,205,8,147,14,41,239,52,2,9,5,84,251],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1733492942,"validated":0}]} 
[2026-04-22 07:49:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216380774495485952,"timestamp_seconds":216380774495485.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:49:36] 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-22 07:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867030528001,"66":13298,"83":206,"87":12288,"24":8,"16":74834122891067392,"45":8794474566338738176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867030528001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834122891067392,"km_value":74834122891067.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794474566338738176,"description":"Unknown IO ID 45"} 
[2026-04-22 07:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867030528001,"power":13298,"unknown_83":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8794474566338738176}} 
[2026-04-22 07:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":50277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:49:36] local.INFO: GPS data processed {"connection_id":50277,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:49:36] local.INFO: Acknowledgment sent {"connection_id":50277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:49:57] local.INFO: TCP Data received {"connection_id":50278,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:49:57] local.INFO: Processing buffer {"connection_id":50278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:49:57] local.INFO: IMEI packet received {"connection_id":50278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":50278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:50:04] local.INFO: TCP Data received {"connection_id":50024,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:50:04] local.INFO: Processing buffer {"connection_id":50024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:50:04] local.INFO: Packet analysis {"connection_id":50024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:50:04] local.INFO: Extracted packet for processing {"connection_id":50024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50: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-22 07:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 07:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:50: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-22 07:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 07:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:50:04] 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-22 07:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:50:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":50024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:50:04] local.INFO: GPS data processed {"connection_id":50024,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:50:04] local.INFO: Acknowledgment sent {"connection_id":50024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:50:07] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fbce20012d7a0c8005e0d2680003009c2b..."} 
[2026-04-22 07:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fbce20012d7a0c8005e0d2680003009c2b..."} 
[2026-04-22 07:50:07] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fbce20012d7a0c8005e0d2680003009c2b..."} 
[2026-04-22 07:50:07] local.INFO: Packet analysis {"connection_id":50277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fb"} 
[2026-04-22 07:50:07] local.INFO: Extracted packet for processing {"connection_id":50277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fb"} 
[2026-04-22 07:50:07] local.INFO: GPS Element Parsed {"raw_longitude":762973312,"raw_latitude":98620008,"longitude_deg":76.2973312,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":43,"speed":7,"hex_longitude":"2d7a0c80","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867030784001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834135775969280,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794474566338682880,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:07] 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-22 07:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776824340000,"timestamp_ms":1776824340000,"timestamp_seconds":1776824340,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fbce20"} 
[2026-04-22 07: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-22 07:50:07] 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-22 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-04-22 07:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:50:07] 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-22 07:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867030784001,"66":13298,"83":206,"87":12288,"24":7,"16":74834135775969280,"45":8794474566338682880},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867030784001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:50:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834135775969280,"km_value":74834135775969.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794474566338682880,"description":"Unknown IO ID 45"} 
[2026-04-22 07:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867030784001,"power":13298,"unknown_83":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8794474566338682880}} 
[2026-04-22 07:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":50277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:50:07] local.INFO: GPS data processed {"connection_id":50277,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:50:07] local.INFO: Acknowledgment sent {"connection_id":50277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:50:26] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:50:26] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:50:26] local.INFO: IMEI packet received {"connection_id":50279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":50279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:50:31] local.INFO: TCP Data received {"connection_id":50959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:50:31] local.INFO: Processing buffer {"connection_id":50959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:50:31] local.INFO: IMEI packet received {"connection_id":50959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":50959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:50:32] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:50:32] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:50:32] local.INFO: IMEI packet received {"connection_id":50279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":50279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:50:33] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:50:33] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2f87e78012d7f960005afd7d0000101561e..."} 
[2026-04-22 07:50:33] local.INFO: Packet analysis {"connection_id":50279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:50:33] local.INFO: Extracted packet for processing {"connection_id":50279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2f8"} 
[2026-04-22 07:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866898432001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:33] 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-22 07:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824123000,"timestamp_ms":1776824123000,"timestamp_seconds":1776824123,"priority":1,"record_length":96,"hex_timestamp":"0000019db2f87e78"} 
[2026-04-22 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-22 07:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 07:50: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-22 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-22 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-22 07:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866898432001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866898432001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:50:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866898432001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":50279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:50:33] local.INFO: GPS data processed {"connection_id":50279,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:50:33] local.INFO: Acknowledgment sent {"connection_id":50279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:50:36] local.INFO: TCP Data received {"connection_id":50959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:50:36] local.INFO: Processing buffer {"connection_id":50959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:50:36] local.INFO: IMEI packet received {"connection_id":50959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":50959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:50:36] local.INFO: TCP Data received {"connection_id":50959,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fc1c40012d7a0b0005e0d3800003009c2b..."} 
[2026-04-22 07:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fc1c40012d7a0b0005e0d3800003009c2b..."} 
[2026-04-22 07:50:36] local.INFO: Processing buffer {"connection_id":50959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fc1c40012d7a0b0005e0d3800003009c2b..."} 
[2026-04-22 07:50:36] local.INFO: Packet analysis {"connection_id":50959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fc"} 
[2026-04-22 07:50:36] local.INFO: Extracted packet for processing {"connection_id":50959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fc"} 
[2026-04-22 07:50:36] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620288,"longitude_deg":76.2972928,"latitude_deg":9.8620288,"altitude":3,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d380","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867031040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834200200478720,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794544935082813440,"note":"Value kept but may cause issues"} 
[2026-04-22 07:50:36] 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-22 07:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824360000,"timestamp_ms":1776824360000,"timestamp_seconds":1776824360,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fc1c40"} 
[2026-04-22 07: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-22 07:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-04-22 07:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:50:36] 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-22 07:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867031040001,"66":13559,"83":206,"87":12288,"24":0,"16":74834200200478720,"45":8794544935082813440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867031040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:50:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834200200478720,"km_value":74834200200478.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794544935082813440,"description":"Unknown IO ID 45"} 
[2026-04-22 07:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867031040001,"power":13559,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794544935082813440}} 
[2026-04-22 07:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":50959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:50:36] local.INFO: GPS data processed {"connection_id":50959,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:50:36] local.INFO: Acknowledgment sent {"connection_id":50959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:51:04] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:51:04] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:51:04] local.INFO: Packet analysis {"connection_id":50279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:51:04] local.INFO: Extracted packet for processing {"connection_id":50279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51: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-22 07:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 07: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-22 07:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:51: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-22 07: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-22 07: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-22 07:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:51:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":50279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:51:04] local.INFO: GPS data processed {"connection_id":50279,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:51:04] local.INFO: Acknowledgment sent {"connection_id":50279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:51:07] local.INFO: TCP Data received {"connection_id":50959,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fc6e48012d7a0d4005e0d3a80003009c2c..."} 
[2026-04-22 07:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fc6e48012d7a0d4005e0d3a80003009c2c..."} 
[2026-04-22 07:51:07] local.INFO: Processing buffer {"connection_id":50959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fc6e48012d7a0d4005e0d3a80003009c2c..."} 
[2026-04-22 07:51:07] local.INFO: Packet analysis {"connection_id":50959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fc"} 
[2026-04-22 07:51:07] local.INFO: Extracted packet for processing {"connection_id":50959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fc"} 
[2026-04-22 07:51:07] local.INFO: GPS Element Parsed {"raw_longitude":762973504,"raw_latitude":98620328,"longitude_deg":76.2973504,"latitude_deg":9.8620328,"altitude":3,"angle":156,"satellites":44,"speed":0,"hex_longitude":"2d7a0d40","hex_latitude":"05e0d3a8","is_valid_coordinates":true} 
[2026-04-22 07:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867036160001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834225970282496,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617819136,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:07] 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-22 07:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776824381000,"timestamp_ms":1776824381000,"timestamp_seconds":1776824381,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fc6e48"} 
[2026-04-22 07:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:51:07] 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-22 07:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 07:51:07] 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-22 07:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:51:07] 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-22 07:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867036160001,"66":13798,"83":206,"87":12288,"24":0,"16":74834225970282496,"45":8794122722617819136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867036160001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:51:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834225970282496,"km_value":74834225970282.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617819136,"description":"Unknown IO ID 45"} 
[2026-04-22 07:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867036160001,"power":13798,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617819136}} 
[2026-04-22 07:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":50959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:51:07] local.INFO: GPS data processed {"connection_id":50959,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:51:07] local.INFO: Acknowledgment sent {"connection_id":50959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:51:31] local.INFO: TCP Data received {"connection_id":50412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:51:31] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:51:31] local.INFO: IMEI packet received {"connection_id":50412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":50412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:51:32] local.INFO: TCP Data received {"connection_id":50411,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:51:32] local.INFO: Processing buffer {"connection_id":50411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:51:32] local.INFO: IMEI packet received {"connection_id":50411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:51:36] local.INFO: TCP Data received {"connection_id":50412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:51:36] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:51:36] local.INFO: IMEI packet received {"connection_id":50412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":50412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:51:37] local.INFO: TCP Data received {"connection_id":50412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fcc050012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fcc050012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:51:37] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fcc050012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:51:37] local.INFO: Packet analysis {"connection_id":50412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fc"} 
[2026-04-22 07:51:37] local.INFO: Extracted packet for processing {"connection_id":50412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fc"} 
[2026-04-22 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":44,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867041536001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794756041315428352,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:37] 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-22 07:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776824402000,"timestamp_ms":1776824402000,"timestamp_seconds":1776824402,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fcc050"} 
[2026-04-22 07:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 07:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:51:37] 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-22 07:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867041536001,"66":13559,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794756041315428352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867041536001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:51:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794756041315428352,"description":"Unknown IO ID 45"} 
[2026-04-22 07:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867041536001,"power":13559,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794756041315428352}} 
[2026-04-22 07:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":50412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:51:37] local.INFO: GPS data processed {"connection_id":50412,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:51:37] local.INFO: Acknowledgment sent {"connection_id":50412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:51:37] local.INFO: TCP Data received {"connection_id":50411,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:51:37] local.INFO: Processing buffer {"connection_id":50411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:51:37] local.INFO: IMEI packet received {"connection_id":50411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":50411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:51:38] local.INFO: TCP Data received {"connection_id":50411,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:51:38] local.INFO: Processing buffer {"connection_id":50411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:51:38] local.INFO: Packet analysis {"connection_id":50411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:51:38] local.INFO: Extracted packet for processing {"connection_id":50411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:51:38] 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-22 07:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 07:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:51:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":50411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:51:38] local.INFO: GPS data processed {"connection_id":50411,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:51:38] local.INFO: Acknowledgment sent {"connection_id":50411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:52:08] local.INFO: TCP Data received {"connection_id":50412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1258012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1258012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:52:08] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1258012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:52:08] local.INFO: Packet analysis {"connection_id":50412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:52:08] local.INFO: Extracted packet for processing {"connection_id":50412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:52:08] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":44,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867046912001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:08] 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-22 07:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776824423000,"timestamp_ms":1776824423000,"timestamp_seconds":1776824423,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1258"} 
[2026-04-22 07: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-22 07:52:08] 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-22 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 07:52:08] 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-22 07: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-22 07: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-22 07:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:52:08] 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-22 07:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867046912001,"66":13678,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867046912001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:52:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867046912001,"power":13678,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":50412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:52:08] local.INFO: GPS data processed {"connection_id":50412,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:52:08] local.INFO: Acknowledgment sent {"connection_id":50412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:52:09] local.INFO: TCP Data received {"connection_id":50411,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:52:09] local.INFO: Processing buffer {"connection_id":50411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:52:09] local.INFO: Packet analysis {"connection_id":50411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:52:09] local.INFO: Extracted packet for processing {"connection_id":50411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52: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-22 07:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 07: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-22 07:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:52: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-22 07: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-22 07: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-22 07:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:52:09] 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-22 07:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:52:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":50411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:52:09] local.INFO: GPS data processed {"connection_id":50411,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:52:09] local.INFO: Acknowledgment sent {"connection_id":50411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:52:27] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:52:27] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:52:27] local.INFO: IMEI packet received {"connection_id":50280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":50280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:52:30] local.INFO: TCP Data received {"connection_id":50027,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:52:30] local.INFO: Processing buffer {"connection_id":50027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:52:30] local.INFO: IMEI packet received {"connection_id":50027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":50027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:52:32] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:52:32] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:52:32] local.INFO: IMEI packet received {"connection_id":50280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":50280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:52:33] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:52:33] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:52:33] local.INFO: Packet analysis {"connection_id":50280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:52:33] local.INFO: Extracted packet for processing {"connection_id":50280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:33] 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-22 07:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 07: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-22 07:52: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-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:52:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":50280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:52:33] local.INFO: GPS data processed {"connection_id":50280,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:52:33] local.INFO: Acknowledgment sent {"connection_id":50280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:52:36] local.INFO: TCP Data received {"connection_id":50027,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:52:36] local.INFO: Processing buffer {"connection_id":50027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:52:36] local.INFO: IMEI packet received {"connection_id":50027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":50027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:52:36] local.INFO: TCP Data received {"connection_id":50027,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd6460012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd6460012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:52:36] local.INFO: Processing buffer {"connection_id":50027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd6460012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:52:36] local.INFO: Packet analysis {"connection_id":50027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:52:36] local.INFO: Extracted packet for processing {"connection_id":50027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:52:36] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":44,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052288001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:52:36] 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-22 07:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824444000,"timestamp_ms":1776824444000,"timestamp_seconds":1776824444,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd6460"} 
[2026-04-22 07: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-22 07:52:36] 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-22 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 07:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052288001,"66":13830,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052288001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:52:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052288001,"power":13830,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":50027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:52:36] local.INFO: GPS data processed {"connection_id":50027,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:52:36] local.INFO: Acknowledgment sent {"connection_id":50027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:53:04] local.INFO: TCP Data received {"connection_id":50280,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:53:04] local.INFO: Processing buffer {"connection_id":50280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:53:04] local.INFO: Packet analysis {"connection_id":50280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:53:04] local.INFO: Extracted packet for processing {"connection_id":50280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53: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-22 07:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 07:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:53: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-22 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:53: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-22 07:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:53: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-22 07:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:53:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":50280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:53:04] local.INFO: GPS data processed {"connection_id":50280,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:53:04] local.INFO: Acknowledgment sent {"connection_id":50280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:53:07] local.INFO: TCP Data received {"connection_id":50027,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fdb668012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fdb668012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:53:07] local.INFO: Processing buffer {"connection_id":50027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fdb668012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:53:07] local.INFO: Packet analysis {"connection_id":50027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:53:07] local.INFO: Extracted packet for processing {"connection_id":50027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":44,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867057664001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] 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-22 07:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776824465000,"timestamp_ms":1776824465000,"timestamp_seconds":1776824465,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fdb668"} 
[2026-04-22 07: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-22 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2251808419414016,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630453404416,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4229709825,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3548381187,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1733492942,"corrected_to":0} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2147868882,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4060138855,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3711959040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3771932672,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":198,"raw_value":5764939000225727968,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-576457450594828281,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,83,87,24,241,157,16,221,18,45,210,3,44,10,66,192,110,64,1,240,230,227,178,224,4,113,205,206,12,104,43,239,51,2,9,5,8,198,211],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1733492942,"validated":0}]} 
[2026-04-22 07:53:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216344494906277888,"timestamp_seconds":216344494906277.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07: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-22 07:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867057664001,"66":13689,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867057664001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:53:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867057664001,"power":13689,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":50027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:53:07] local.INFO: GPS data processed {"connection_id":50027,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:53:07] local.INFO: Acknowledgment sent {"connection_id":50027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:53:26] local.INFO: TCP Data received {"connection_id":50413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:53:26] local.INFO: Processing buffer {"connection_id":50413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:53:26] local.INFO: IMEI packet received {"connection_id":50413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":50413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:53:31] local.INFO: TCP Data received {"connection_id":50413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:53:31] local.INFO: Processing buffer {"connection_id":50413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:53:31] local.INFO: IMEI packet received {"connection_id":50413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":50413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:53:32] local.INFO: TCP Data received {"connection_id":50413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:53:32] local.INFO: Processing buffer {"connection_id":50413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:53:32] local.INFO: Packet analysis {"connection_id":50413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:53:32] local.INFO: Extracted packet for processing {"connection_id":50413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53: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-22 07:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 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-22 07: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-22 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:53: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-22 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-22 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-22 07:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:53: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-22 07:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:53:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":50413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:53:32] local.INFO: GPS data processed {"connection_id":50413,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:53:32] local.INFO: Acknowledgment sent {"connection_id":50413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:53:36] local.INFO: TCP Data received {"connection_id":50414,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:53:36] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:53:36] local.INFO: IMEI packet received {"connection_id":50414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":50414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:53:40] local.INFO: TCP Data received {"connection_id":50414,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:53:40] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:53:40] local.INFO: IMEI packet received {"connection_id":50414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":50414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:53:41] local.INFO: TCP Data received {"connection_id":50414,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fe0870012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fe0870012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:53:41] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fe0870012d7a0b0005e0d2700003009c2c..."} 
[2026-04-22 07:53:41] local.INFO: Packet analysis {"connection_id":50414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:53:41] local.INFO: Extracted packet for processing {"connection_id":50414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:53:41] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":44,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867063040001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:41] 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-22 07:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776824486000,"timestamp_ms":1776824486000,"timestamp_seconds":1776824486,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fe0870"} 
[2026-04-22 07: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-22 07:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 07:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867063040001,"66":13787,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867063040001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:53:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867063040001,"power":13787,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":50414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:53:41] local.INFO: GPS data processed {"connection_id":50414,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:53:41] local.INFO: Acknowledgment sent {"connection_id":50414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:53:46] local.INFO: TCP Data received {"connection_id":50414,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:53:46] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:53:46] local.INFO: Packet analysis {"connection_id":50414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:53:46] local.INFO: Extracted packet for processing {"connection_id":50414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:53:46] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867068416001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:53: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-22 07:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776824507000,"timestamp_ms":1776824507000,"timestamp_seconds":1776824507,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fe5a78"} 
[2026-04-22 07: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-22 07:53: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-22 07: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-22 07:53:46] 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-22 07: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-22 07: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-22 07:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867068416001,"66":13820,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867068416001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:53:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867068416001,"power":13820,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":50414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:53:46] local.INFO: GPS data processed {"connection_id":50414,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:53:46] local.INFO: Acknowledgment sent {"connection_id":50414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:54:03] local.INFO: TCP Data received {"connection_id":50413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:54:03] local.INFO: Processing buffer {"connection_id":50413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:54:03] local.INFO: Packet analysis {"connection_id":50413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:54:03] local.INFO: Extracted packet for processing {"connection_id":50413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:54: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-22 07:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 07: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-22 07:54: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-22 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:54: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-22 07: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-22 07: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-22 07:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:54: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-22 07:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:54:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":50413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:54:03] local.INFO: GPS data processed {"connection_id":50413,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:54:03] local.INFO: Acknowledgment sent {"connection_id":50413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:54:26] local.INFO: TCP Data received {"connection_id":50962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:54:26] local.INFO: Processing buffer {"connection_id":50962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:54:26] local.INFO: IMEI packet received {"connection_id":50962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":50962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:54:31] local.INFO: TCP Data received {"connection_id":50963,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:54:31] local.INFO: Processing buffer {"connection_id":50963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:54:31] local.INFO: IMEI packet received {"connection_id":50963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:54:32] local.INFO: TCP Data received {"connection_id":50962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:54:32] local.INFO: Processing buffer {"connection_id":50962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:54:32] local.INFO: IMEI packet received {"connection_id":50962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:54:32] local.INFO: TCP Data received {"connection_id":50962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:54:32] local.INFO: Processing buffer {"connection_id":50962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:54:32] local.INFO: Packet analysis {"connection_id":50962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:54:32] local.INFO: Extracted packet for processing {"connection_id":50962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 07:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:54: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-22 07:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 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-22 07:54: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-22 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:54: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-22 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-22 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-22 07:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:54: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-22 07:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:54:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":50962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:54:32] local.INFO: GPS data processed {"connection_id":50962,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:54:32] local.INFO: Acknowledgment sent {"connection_id":50962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:54:36] local.INFO: TCP Data received {"connection_id":50963,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:54:36] local.INFO: Processing buffer {"connection_id":50963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:54:36] local.INFO: IMEI packet received {"connection_id":50963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":50963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:54:36] local.INFO: TCP Data received {"connection_id":50963,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:54:36] local.INFO: Processing buffer {"connection_id":50963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:54:36] local.INFO: Packet analysis {"connection_id":50963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:54:36] local.INFO: Extracted packet for processing {"connection_id":50963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:54:36] 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-22 07:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824507000,"timestamp_ms":1776824507000,"timestamp_seconds":1776824507,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fe5a78"} 
[2026-04-22 07:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:54:36] 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-22 07:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:54:36] 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-22 07:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13820,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:54:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13820,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":50963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:54:36] local.INFO: GPS data processed {"connection_id":50963,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:54:36] local.INFO: Acknowledgment sent {"connection_id":50963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:55:04] local.INFO: TCP Data received {"connection_id":50962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:55:04] local.INFO: Processing buffer {"connection_id":50962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:55:04] local.INFO: Packet analysis {"connection_id":50962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:55:04] local.INFO: Extracted packet for processing {"connection_id":50962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55: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-22 07:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 07:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:55: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-22 07:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:55: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-22 07:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:55: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-22 07:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:55:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":50962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:55:04] local.INFO: GPS data processed {"connection_id":50962,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:55:04] local.INFO: Acknowledgment sent {"connection_id":50962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:55:07] local.INFO: TCP Data received {"connection_id":50963,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:55:07] local.INFO: Processing buffer {"connection_id":50963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:55:07] local.INFO: Packet analysis {"connection_id":50963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:55:07] local.INFO: Extracted packet for processing {"connection_id":50963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07:55:07] 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-22 07:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:07] 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-22 07:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776824507000,"timestamp_ms":1776824507000,"timestamp_seconds":1776824507,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fe5a78"} 
[2026-04-22 07: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-22 07:55:07] 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-22 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:55:07] 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-22 07: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-22 07: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-22 07:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13820,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:55:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13820,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":50963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:55:07] local.INFO: GPS data processed {"connection_id":50963,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:55:07] local.INFO: Acknowledgment sent {"connection_id":50963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:55:26] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:55:26] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:55:26] local.INFO: IMEI packet received {"connection_id":50964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":50964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:55:27] local.INFO: TCP Data received {"connection_id":50415,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:55:27] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:55:27] local.INFO: IMEI packet received {"connection_id":50415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":50415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:55:31] local.INFO: TCP Data received {"connection_id":50416,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:55:31] local.INFO: Processing buffer {"connection_id":50416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:55:31] local.INFO: IMEI packet received {"connection_id":50416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":50416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:55:32] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:55:32] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:55:32] local.INFO: IMEI packet received {"connection_id":50964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:55:33] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:55:33] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fd1640012d7f960005afd7d0000101561d..."} 
[2026-04-22 07:55:33] local.INFO: Packet analysis {"connection_id":50964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:55:33] local.INFO: Extracted packet for processing {"connection_id":50964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fd"} 
[2026-04-22 07:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":1,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454866975488001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:33] 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-22 07:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824424000,"timestamp_ms":1776824424000,"timestamp_seconds":1776824424,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fd1640"} 
[2026-04-22 07: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-22 07:55: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-22 07: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 07:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07: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-22 07: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-22 07:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454866975488001,"66":25419,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454866975488001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:55:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454866975488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:55:33] local.INFO: GPS data processed {"connection_id":50964,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:55:33] local.INFO: Acknowledgment sent {"connection_id":50964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:55:36] local.INFO: TCP Data received {"connection_id":50416,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:55:36] local.INFO: Processing buffer {"connection_id":50416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:55:36] local.INFO: IMEI packet received {"connection_id":50416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":50416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:55:36] local.INFO: TCP Data received {"connection_id":50416,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:55:36] local.INFO: Processing buffer {"connection_id":50416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:55:36] local.INFO: Packet analysis {"connection_id":50416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:55:36] local.INFO: Extracted packet for processing {"connection_id":50416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:55:36] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07:55:36] 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-22 07:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:55:36] 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-22 07:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824507000,"timestamp_ms":1776824507000,"timestamp_seconds":1776824507,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fe5a78"} 
[2026-04-22 07:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:55:36] 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-22 07:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13820,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:55:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13820,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":50416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:55:36] local.INFO: GPS data processed {"connection_id":50416,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:55:36] local.INFO: Acknowledgment sent {"connection_id":50416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:55:51] local.INFO: TCP Data received {"connection_id":50965,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:55:51] local.INFO: Processing buffer {"connection_id":50965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 07:55:51] local.INFO: IMEI packet received {"connection_id":50965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 07:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":50965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:56:04] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:56:04] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:56:04] local.INFO: Packet analysis {"connection_id":50964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:56:04] local.INFO: Extracted packet for processing {"connection_id":50964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56: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-22 07:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 07: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-22 07:56: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-22 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:56: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-22 07: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-22 07: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-22 07:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:56:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":50964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:56:04] local.INFO: GPS data processed {"connection_id":50964,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:56:04] local.INFO: Acknowledgment sent {"connection_id":50964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:56:07] local.INFO: TCP Data received {"connection_id":50416,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:56:07] local.INFO: Processing buffer {"connection_id":50416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:56:07] local.INFO: Packet analysis {"connection_id":50416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:56:07] local.INFO: Extracted packet for processing {"connection_id":50416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:56:07] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07:56:07] 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-22 07:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:07] 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-22 07:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776824507000,"timestamp_ms":1776824507000,"timestamp_seconds":1776824507,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fe5a78"} 
[2026-04-22 07: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-22 07:56:07] 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-22 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:56:07] 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-22 07: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-22 07: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-22 07:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13820,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:56:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13820,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":50416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:56:07] local.INFO: GPS data processed {"connection_id":50416,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:56:07] local.INFO: Acknowledgment sent {"connection_id":50416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:56:31] local.INFO: TCP Data received {"connection_id":50028,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:56:31] local.INFO: Processing buffer {"connection_id":50028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:56:31] local.INFO: IMEI packet received {"connection_id":50028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":50028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:56:32] local.INFO: TCP Data received {"connection_id":50966,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:56:32] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:56:32] local.INFO: IMEI packet received {"connection_id":50966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:56:36] local.INFO: TCP Data received {"connection_id":50028,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:56:36] local.INFO: Processing buffer {"connection_id":50028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:56:36] local.INFO: IMEI packet received {"connection_id":50028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":50028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:56:36] local.INFO: TCP Data received {"connection_id":50028,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:56:36] local.INFO: Processing buffer {"connection_id":50028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db2fe5a78012d7a0b0005e0d2700003009c2b..."} 
[2026-04-22 07:56:36] local.INFO: Packet analysis {"connection_id":50028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:56:36] local.INFO: Extracted packet for processing {"connection_id":50028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db2fe"} 
[2026-04-22 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":98620016,"longitude_deg":76.2972928,"latitude_deg":9.8620016,"altitude":3,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d7a0b00","hex_latitude":"05e0d270","is_valid_coordinates":true} 
[2026-04-22 07:56:36] 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-22 07:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:36] 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-22 07:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824507000,"timestamp_ms":1776824507000,"timestamp_seconds":1776824507,"priority":1,"record_length":96,"hex_timestamp":"0000019db2fe5a78"} 
[2026-04-22 07: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-22 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:56:36] 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-22 07: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-22 07: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-22 07:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13820,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:56:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13820,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":50028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:56:36] local.INFO: GPS data processed {"connection_id":50028,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:56:36] local.INFO: Acknowledgment sent {"connection_id":50028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:56:37] local.INFO: TCP Data received {"connection_id":50966,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:56:37] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:56:37] local.INFO: IMEI packet received {"connection_id":50966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":50966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:56:38] local.INFO: TCP Data received {"connection_id":50966,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:56:38] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:56:38] local.INFO: Packet analysis {"connection_id":50966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:56:38] local.INFO: Extracted packet for processing {"connection_id":50966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:38] 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-22 07:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 07:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:56: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-22 07:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:56:38] 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-22 07:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:56:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":50966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:56:38] local.INFO: GPS data processed {"connection_id":50966,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:56:38] local.INFO: Acknowledgment sent {"connection_id":50966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:56:42] local.INFO: TCP Data received {"connection_id":50966,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:56:42] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:56:42] local.INFO: Packet analysis {"connection_id":50966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:56:42] local.INFO: Extracted packet for processing {"connection_id":50966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:56:42] 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-22 07:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 07:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 07:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:56:42] 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-22 07:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:56:42] local.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-22 07:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:56:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":50966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:56:42] local.INFO: GPS data processed {"connection_id":50966,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:56:42] local.INFO: Acknowledgment sent {"connection_id":50966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:57:07] local.INFO: TCP Data received {"connection_id":50028,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:57:07] local.INFO: Processing buffer {"connection_id":50028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:57:07] local.INFO: Packet analysis {"connection_id":50028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:57:07] local.INFO: Extracted packet for processing {"connection_id":50028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:07] 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-22 07:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 07: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-22 07:57:07] 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-22 07:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:57:07] 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-22 07: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-22 07: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-22 07:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:57:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":50028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:57:07] local.INFO: GPS data processed {"connection_id":50028,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:57:07] local.INFO: Acknowledgment sent {"connection_id":50028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:57:27] local.INFO: TCP Data received {"connection_id":50281,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:57:27] local.INFO: Processing buffer {"connection_id":50281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:57:27] local.INFO: IMEI packet received {"connection_id":50281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":50281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:57:32] local.INFO: TCP Data received {"connection_id":50281,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:57:32] local.INFO: Processing buffer {"connection_id":50281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:57:32] local.INFO: IMEI packet received {"connection_id":50281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:57:33] local.INFO: TCP Data received {"connection_id":50281,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:57:33] local.INFO: Processing buffer {"connection_id":50281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:57:33] local.INFO: Packet analysis {"connection_id":50281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:57:33] local.INFO: Extracted packet for processing {"connection_id":50281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:33] 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-22 07:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 07:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:57: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-22 07:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:57:33] 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-22 07:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:57:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:57:33] local.INFO: GPS data processed {"connection_id":50281,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:57:33] local.INFO: Acknowledgment sent {"connection_id":50281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:57:36] local.INFO: TCP Data received {"connection_id":50418,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:57:36] local.INFO: Processing buffer {"connection_id":50418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:57:36] local.INFO: IMEI packet received {"connection_id":50418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":50418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:57:41] local.INFO: TCP Data received {"connection_id":50418,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:57:41] local.INFO: Processing buffer {"connection_id":50418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:57:41] local.INFO: IMEI packet received {"connection_id":50418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":50418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:57:42] local.INFO: TCP Data received {"connection_id":50418,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:57:42] local.INFO: Processing buffer {"connection_id":50418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:57:42] local.INFO: Packet analysis {"connection_id":50418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:57:42] local.INFO: Extracted packet for processing {"connection_id":50418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 07:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:42] 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-22 07:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 07:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 07:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:57:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":50418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:57:42] local.INFO: GPS data processed {"connection_id":50418,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:57:42] local.INFO: Acknowledgment sent {"connection_id":50418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:57:46] local.INFO: TCP Data received {"connection_id":50418,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:57:46] local.INFO: Processing buffer {"connection_id":50418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:57:46] local.INFO: Packet analysis {"connection_id":50418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:57:46] local.INFO: Extracted packet for processing {"connection_id":50418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:57:46] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:57: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-22 07:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 07: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-22 07:57:46] 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-22 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:57: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-22 07: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-22 07: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-22 07:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:57:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":50418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:57:46] local.INFO: GPS data processed {"connection_id":50418,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:57:46] local.INFO: Acknowledgment sent {"connection_id":50418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:58:04] local.INFO: TCP Data received {"connection_id":50281,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:58:04] local.INFO: Processing buffer {"connection_id":50281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:58:04] local.INFO: Packet analysis {"connection_id":50281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:58:04] local.INFO: Extracted packet for processing {"connection_id":50281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:58: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-22 07:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 07:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:58: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-22 07:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:58: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-22 07:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:58:04] 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-22 07:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:58:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":50281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:58:04] local.INFO: GPS data processed {"connection_id":50281,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:58:04] local.INFO: Acknowledgment sent {"connection_id":50281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:58:27] local.INFO: TCP Data received {"connection_id":50968,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:58:27] local.INFO: Processing buffer {"connection_id":50968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:58:27] local.INFO: IMEI packet received {"connection_id":50968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:58:31] local.INFO: TCP Data received {"connection_id":50419,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:58:31] local.INFO: Processing buffer {"connection_id":50419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:58:31] local.INFO: IMEI packet received {"connection_id":50419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":50419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:58:32] local.INFO: TCP Data received {"connection_id":50968,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:58:32] local.INFO: Processing buffer {"connection_id":50968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:58:32] local.INFO: IMEI packet received {"connection_id":50968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:58:33] local.INFO: TCP Data received {"connection_id":50968,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:58:33] local.INFO: Processing buffer {"connection_id":50968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:58:33] local.INFO: Packet analysis {"connection_id":50968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:58:33] local.INFO: Extracted packet for processing {"connection_id":50968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:58:33] 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-22 07:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 07: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-22 07:58: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-22 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:58:33] 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-22 07: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-22 07: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-22 07:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:58:33] local.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-22 07:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:58:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:58:33] local.INFO: GPS data processed {"connection_id":50968,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:58:33] local.INFO: Acknowledgment sent {"connection_id":50968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:58:36] local.INFO: TCP Data received {"connection_id":50419,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:58:36] local.INFO: Processing buffer {"connection_id":50419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:58:36] local.INFO: IMEI packet received {"connection_id":50419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":50419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:58:36] local.INFO: TCP Data received {"connection_id":50419,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:58:36] local.INFO: Processing buffer {"connection_id":50419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:58:36] local.INFO: Packet analysis {"connection_id":50419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:58:36] local.INFO: Extracted packet for processing {"connection_id":50419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:58:36] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 07:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:58:36] 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-22 07:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 07:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:58:36] 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-22 07:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:58:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":50419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:58:36] local.INFO: GPS data processed {"connection_id":50419,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:58:36] local.INFO: Acknowledgment sent {"connection_id":50419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:59:04] local.INFO: TCP Data received {"connection_id":50968,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:59:04] local.INFO: Processing buffer {"connection_id":50968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:59:04] local.INFO: Packet analysis {"connection_id":50968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:59:04] local.INFO: Extracted packet for processing {"connection_id":50968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59: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-22 07:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 07:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:59: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-22 07:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:59: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-22 07:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 07:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:59:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":50968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:59:04] local.INFO: GPS data processed {"connection_id":50968,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:59:04] local.INFO: Acknowledgment sent {"connection_id":50968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:59:07] local.INFO: TCP Data received {"connection_id":50419,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:59:07] local.INFO: Processing buffer {"connection_id":50419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:59:07] local.INFO: Packet analysis {"connection_id":50419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:59:07] local.INFO: Extracted packet for processing {"connection_id":50419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:59:07] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 07:59: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-22 07:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:07] 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-22 07:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 07:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:59:07] 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-22 07:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:59:07] 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-22 07:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:59:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":50419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:59:07] local.INFO: GPS data processed {"connection_id":50419,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:59:07] local.INFO: Acknowledgment sent {"connection_id":50419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:59:27] local.INFO: TCP Data received {"connection_id":50283,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:59:27] local.INFO: Processing buffer {"connection_id":50283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:59:27] local.INFO: IMEI packet received {"connection_id":50283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 07:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":50283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:59:27] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 07:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 07:59:27] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 07:59:27] local.INFO: IMEI packet received {"connection_id":50282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 07:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":50282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:59:31] local.INFO: TCP Data received {"connection_id":50420,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:59:31] local.INFO: Processing buffer {"connection_id":50420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:59:31] local.INFO: IMEI packet received {"connection_id":50420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 07:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":50420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 07:59:32] local.INFO: TCP Data received {"connection_id":50283,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:59:32] local.INFO: Processing buffer {"connection_id":50283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 07:59:32] local.INFO: IMEI packet received {"connection_id":50283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 07:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:59:32] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 07:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 07:59:32] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 07:59:32] local.INFO: IMEI packet received {"connection_id":50282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 07:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:59:33] local.INFO: TCP Data received {"connection_id":50283,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:59:33] local.INFO: Processing buffer {"connection_id":50283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 07:59:33] local.INFO: Packet analysis {"connection_id":50283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:59:33] local.INFO: Extracted packet for processing {"connection_id":50283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 07:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 07: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-22 07:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:33] 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-22 07:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 07: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-22 07:59: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-22 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 07:59:33] 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-22 07: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-22 07: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-22 07:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 07:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 07:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 07:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 07:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 07:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 07:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:59:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 07:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 07:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 07:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 07:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":50283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:59:33] local.INFO: GPS data processed {"connection_id":50283,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:59:33] local.INFO: Acknowledgment sent {"connection_id":50283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 07:59:33] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-04-22 07:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-04-22 07:59:34] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-04-22 07:59:34] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-22 07:59:34] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-22 07:59:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-22 07:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 07:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113583111677149184,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:34] 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-22 07:59:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 07:59:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 07:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-22 07:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-22 07:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 07:59:34] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 07:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 07:59:34] local.ERROR: GPS data processing failed {"connection_id":50282,"error":"No valid data to process"} 
[2026-04-22 07:59:34] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 07:59:36] local.INFO: TCP Data received {"connection_id":50420,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:59:36] local.INFO: Processing buffer {"connection_id":50420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 07:59:36] local.INFO: IMEI packet received {"connection_id":50420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 07:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":50420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 07:59:36] local.INFO: TCP Data received {"connection_id":50420,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:59:36] local.INFO: Processing buffer {"connection_id":50420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 07:59:36] local.INFO: Packet analysis {"connection_id":50420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:59:36] local.INFO: Extracted packet for processing {"connection_id":50420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 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-22 07:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 07:59:36] 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-22 07:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 07:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 07:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 07:59:36] 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-22 07:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 07:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 07:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 07:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 07:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 07:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 07:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 07:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 07:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 07:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 07:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 07:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 07:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 07:59:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 07:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 07:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 07:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 07:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":50420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 07:59:36] local.INFO: GPS data processed {"connection_id":50420,"processed":1,"errors":0,"total":1} 
[2026-04-22 07:59:36] local.INFO: Acknowledgment sent {"connection_id":50420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:00:04] local.INFO: TCP Data received {"connection_id":50283,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:00:04] local.INFO: Processing buffer {"connection_id":50283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:00:04] local.INFO: Packet analysis {"connection_id":50283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 08:00:04] local.INFO: Extracted packet for processing {"connection_id":50283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 08:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00: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-22 08:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 08: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-22 08:00: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-22 08: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 08:00: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-22 08: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-22 08: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-22 08:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:00:04] 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-22 08:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:00:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":50283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:00:04] local.INFO: GPS data processed {"connection_id":50283,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:00:04] local.INFO: Acknowledgment sent {"connection_id":50283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:00:04] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a000000000000f6180100000000000000000000000000..."} 
[2026-04-22 08:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000f6180100000000000000000000000000..."} 
[2026-04-22 08:00:04] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000f6180100000000000000000000000000..."} 
[2026-04-22 08:00:04] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-22 08:00:04] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-22 08:00:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113583111677149184,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:04] 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-22 08:00:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":63000,"timestamp_seconds":63,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 08:00:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 08:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-22 08:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-22 08:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 08:00:04] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 08:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 08:00:04] local.ERROR: GPS data processing failed {"connection_id":50282,"error":"No valid data to process"} 
[2026-04-22 08:00:04] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 08:00:07] local.INFO: TCP Data received {"connection_id":50420,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:00:07] local.INFO: Processing buffer {"connection_id":50420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:00:07] local.INFO: Packet analysis {"connection_id":50420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 08:00:07] local.INFO: Extracted packet for processing {"connection_id":50420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:07] 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-22 08:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 08: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-22 08:00:07] 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-22 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 08:00:07] 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-22 08: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-22 08: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-22 08:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 08:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 08:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 08:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 08:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 08:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 08:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 08:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 08:00:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 08:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 08:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 08:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":50420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:00:07] local.INFO: GPS data processed {"connection_id":50420,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:00:07] local.INFO: Acknowledgment sent {"connection_id":50420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:00:26] local.INFO: TCP Data received {"connection_id":50970,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:00:26] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:00:26] local.INFO: IMEI packet received {"connection_id":50970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":50970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:00:30] local.INFO: TCP Data received {"connection_id":50971,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:00:30] local.INFO: Processing buffer {"connection_id":50971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:00:30] local.INFO: IMEI packet received {"connection_id":50971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 08:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":50971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:00:32] local.INFO: TCP Data received {"connection_id":50970,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:00:32] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:00:32] local.INFO: IMEI packet received {"connection_id":50970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:00:33] local.INFO: TCP Data received {"connection_id":50970,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:00:33] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:00:33] local.INFO: Packet analysis {"connection_id":50970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 08:00:33] local.INFO: Extracted packet for processing {"connection_id":50970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 08:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:33] 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-22 08:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 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-22 08:00: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-22 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 08:00:33] 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-22 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-22 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-22 08:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:00:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:00:33] local.INFO: GPS data processed {"connection_id":50970,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:00:33] local.INFO: Acknowledgment sent {"connection_id":50970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:00:36] local.INFO: TCP Data received {"connection_id":50971,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:00:36] local.INFO: Processing buffer {"connection_id":50971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:00:36] local.INFO: IMEI packet received {"connection_id":50971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 08:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":50971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:00:36] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db30641e8012d197b00071fee08003e003f08..."} 
[2026-04-22 08:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30641e8012d197b00071fee08003e003f08..."} 
[2026-04-22 08:00:36] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30641e8012d197b00071fee08003e003f08..."} 
[2026-04-22 08:00:36] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:00:36] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756644608,"raw_latitude":119533064,"longitude_deg":75.6644608,"latitude_deg":11.9533064,"altitude":62,"angle":63,"satellites":8,"speed":19,"hex_longitude":"2d197b00","hex_latitude":"071fee08","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206144001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113583579828584448,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835568722474768384,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776825025000,"timestamp_ms":1776825025000,"timestamp_seconds":1776825025,"priority":1,"record_length":96,"hex_timestamp":"0000019db30641e8"} 
[2026-04-22 08: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-22 08:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-22 08:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3003504752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4032823356,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-22 08:00:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2272198656,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,135,157,58,45,192,236,62,8,10,66,19,239,60,11,1,240,169,179,31,4,113,205,2,3,103,54,147,7,32],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-22 08:00:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467653328084598784,"timestamp_seconds":4467653328084599.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 08: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-22 08:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206144001,"66":14080,"121":206,"28":31744,"24":19,"16":113583579828584448,"45":1835568722474768384},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206144001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:00:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113583579828584448,"km_value":113583579828584.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835568722474768384,"description":"Unknown IO ID 45"} 
[2026-04-22 08:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206144001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1835568722474768384}} 
[2026-04-22 08:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:00:36] local.INFO: GPS data processed {"connection_id":50282,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:00:36] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:00:36] local.INFO: TCP Data received {"connection_id":50971,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:00:36] local.INFO: Processing buffer {"connection_id":50971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:00:36] local.INFO: Packet analysis {"connection_id":50971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 08:00:36] local.INFO: Extracted packet for processing {"connection_id":50971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 08:00:36] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 08:00:36] 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-22 08:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 08: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-22 08:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 08:00:36] 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-22 08: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-22 08: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-22 08:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 08:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 08:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 08:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 08:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 08:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 08:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 08:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 08:00:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 08:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 08:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 08:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":50971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:00:36] local.INFO: GPS data processed {"connection_id":50971,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:00:36] local.INFO: Acknowledgment sent {"connection_id":50971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:01:04] local.INFO: TCP Data received {"connection_id":50970,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:01:04] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db301ae08012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:01:04] local.INFO: Packet analysis {"connection_id":50970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 08:01:04] local.INFO: Extracted packet for processing {"connection_id":50970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db301"} 
[2026-04-22 08:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867052544001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01: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-22 08:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776824725000,"timestamp_ms":1776824725000,"timestamp_seconds":1776824725,"priority":1,"record_length":96,"hex_timestamp":"0000019db301ae08"} 
[2026-04-22 08: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-22 08: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-22 08: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-22 08: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-22 08: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-22 08: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-22 08:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867052544001,"66":25430,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867052544001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:01:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867052544001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:01:04] local.INFO: GPS data processed {"connection_id":50970,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:01:04] local.INFO: Acknowledgment sent {"connection_id":50970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:01:08] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db3065570012d198500071ff260003f004e08..."} 
[2026-04-22 08:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3065570012d198500071ff260003f004e08..."} 
[2026-04-22 08:01:08] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3065570012d198500071ff260003f004e08..."} 
[2026-04-22 08:01:08] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:01:08] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119534176,"longitude_deg":75.6647168,"latitude_deg":11.9534176,"altitude":63,"angle":78,"satellites":8,"speed":20,"hex_longitude":"2d198500","hex_latitude":"071ff260","is_valid_coordinates":true} 
[2026-04-22 08:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206400001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113583717267537920,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836061303684073472,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776825030000,"timestamp_ms":1776825030000,"timestamp_seconds":1776825030,"priority":1,"record_length":96,"hex_timestamp":"0000019db3065570"} 
[2026-04-22 08:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3003515752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4030201916,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950576,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2272264192,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,135,157,62,45,64,237,8,10,66,58,192,236,19,1,240,181,179,31,4,113,205,3,7,103,96,239,54,2,147,60],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-22 08:01:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467640133945065472,"timestamp_seconds":4467640133945065.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 08:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206400001,"66":14135,"121":206,"28":31744,"24":20,"16":113583717267537920,"45":1836061303684073472},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206400001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:01:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113583717267537920,"km_value":113583717267537.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836061303684073472,"description":"Unknown IO ID 45"} 
[2026-04-22 08:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206400001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1836061303684073472}} 
[2026-04-22 08:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:01:08] local.INFO: GPS data processed {"connection_id":50282,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:01:08] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:01:08] local.INFO: TCP Data received {"connection_id":50971,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:01:08] local.INFO: Processing buffer {"connection_id":50971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:01:08] local.INFO: Packet analysis {"connection_id":50971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 08:01:08] local.INFO: Extracted packet for processing {"connection_id":50971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 08:01:08] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 08:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:08] 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-22 08:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 08:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:01:08] 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-22 08:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 08:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 08:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 08:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 08:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 08:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 08:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 08:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 08:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 08:01:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 08:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 08:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 08:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":50971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:01:08] local.INFO: GPS data processed {"connection_id":50971,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:01:08] local.INFO: Acknowledgment sent {"connection_id":50971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:01:12] local.INFO: TCP Data received {"connection_id":50030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:01:12] local.INFO: Processing buffer {"connection_id":50030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:01:12] local.INFO: IMEI packet received {"connection_id":50030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":50030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:01:32] local.INFO: TCP Data received {"connection_id":50284,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:01:32] local.INFO: Processing buffer {"connection_id":50284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:01:32] local.INFO: IMEI packet received {"connection_id":50284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":50284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:01:36] local.INFO: TCP Data received {"connection_id":50031,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:01:36] local.INFO: Processing buffer {"connection_id":50031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:01:36] local.INFO: IMEI packet received {"connection_id":50031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 08:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":50031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:01:37] local.INFO: TCP Data received {"connection_id":50284,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:01:37] local.INFO: Processing buffer {"connection_id":50284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:01:37] local.INFO: IMEI packet received {"connection_id":50284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":50284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:01:37] local.INFO: TCP Data received {"connection_id":50284,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:01:37] local.INFO: Processing buffer {"connection_id":50284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:01:37] local.INFO: Packet analysis {"connection_id":50284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:01:37] local.INFO: Extracted packet for processing {"connection_id":50284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:37] 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-22 08:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:01: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-22 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:01:37] 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-22 08:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:01:37] 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-22 08:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:01:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":50284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:01:38] local.INFO: GPS data processed {"connection_id":50284,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:01:38] local.INFO: Acknowledgment sent {"connection_id":50284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:01:39] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db3073fd0012d19e780071ffcd80026008808..."} 
[2026-04-22 08:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3073fd0012d19e780071ffcd80026008808..."} 
[2026-04-22 08:01:39] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3073fd0012d19e780071ffcd80026008808..."} 
[2026-04-22 08:01:39] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db307"} 
[2026-04-22 08:01:39] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db307"} 
[2026-04-22 08:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756672384,"raw_latitude":119536856,"longitude_deg":75.6672384,"latitude_deg":11.9536856,"altitude":38,"angle":136,"satellites":8,"speed":20,"hex_longitude":"2d19e780","hex_latitude":"071ffcd8","is_valid_coordinates":true} 
[2026-04-22 08:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867222528001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113585177556418560,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728260096,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:39] 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-22 08:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776825090000,"timestamp_ms":1776825090000,"timestamp_seconds":1776825090,"priority":1,"record_length":96,"hex_timestamp":"0000019db3073fd0"} 
[2026-04-22 08:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:01:39] 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-22 08:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-22 08:01:39] 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-22 08:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867222528001,"66":14265,"121":206,"28":31744,"24":20,"16":113585177556418560,"45":1865756913728260096},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867222528001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:01:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113585177556418560,"km_value":113585177556418.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728260096,"description":"Unknown IO ID 45"} 
[2026-04-22 08:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867222528001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1865756913728260096}} 
[2026-04-22 08:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:01:39] local.INFO: GPS data processed {"connection_id":50282,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:01:39] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:01:41] local.INFO: TCP Data received {"connection_id":50031,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:01:41] local.INFO: Processing buffer {"connection_id":50031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 08:01:41] local.INFO: IMEI packet received {"connection_id":50031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 08:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":50031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:01:41] local.INFO: TCP Data received {"connection_id":50031,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:01:41] local.INFO: Processing buffer {"connection_id":50031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db302f628012d7a0c4005e0d2680003009c2e..."} 
[2026-04-22 08:01:41] local.INFO: Packet analysis {"connection_id":50031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 08:01:41] local.INFO: Extracted packet for processing {"connection_id":50031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db302"} 
[2026-04-22 08:01:41] local.INFO: GPS Element Parsed {"raw_longitude":762973248,"raw_latitude":98620008,"longitude_deg":76.2973248,"latitude_deg":9.8620008,"altitude":3,"angle":156,"satellites":46,"speed":0,"hex_longitude":"2d7a0c40","hex_latitude":"05e0d268","is_valid_coordinates":true} 
[2026-04-22 08:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867073792001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722617749504,"note":"Value kept but may cause issues"} 
[2026-04-22 08:01:41] 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-22 08:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776824809000,"timestamp_ms":1776824809000,"timestamp_seconds":1776824809,"priority":1,"record_length":96,"hex_timestamp":"0000019db302f628"} 
[2026-04-22 08:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:01:41] 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-22 08:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 08:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 08:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 08:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 08:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 08:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867073792001,"66":13319,"83":206,"87":12288,"24":0,"16":74834260330020864,"45":8794122722617749504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-04-22 08:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 08:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 08:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867073792001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-22 08:01:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 08:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834260330020864,"km_value":74834260330020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722617749504,"description":"Unknown IO ID 45"} 
[2026-04-22 08:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867073792001,"power":13319,"unknown_83":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8794122722617749504}} 
[2026-04-22 08:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":50031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:01:42] local.INFO: GPS data processed {"connection_id":50031,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:01:42] local.INFO: Acknowledgment sent {"connection_id":50031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:01:51] local.INFO: TCP Data received {"connection_id":50972,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:01:51] local.INFO: Processing buffer {"connection_id":50972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:01:51] local.INFO: IMEI packet received {"connection_id":50972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":50972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:02:09] local.INFO: TCP Data received {"connection_id":50284,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:02:09] local.INFO: Processing buffer {"connection_id":50284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:02:09] local.INFO: Packet analysis {"connection_id":50284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:02:09] local.INFO: Extracted packet for processing {"connection_id":50284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02: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-22 08:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08: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-22 08:02: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-22 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:02: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-22 08: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-22 08: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-22 08:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:02:09] 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-22 08:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:02:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":50284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:02:09] local.INFO: GPS data processed {"connection_id":50284,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:02:09] local.INFO: Acknowledgment sent {"connection_id":50284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:02:10] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db30743b8012d19e980071ffc280025006f08..."} 
[2026-04-22 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30743b8012d19e980071ffc280025006f08..."} 
[2026-04-22 08:02:10] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30743b8012d19e980071ffc280025006f08..."} 
[2026-04-22 08:02:10] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db307"} 
[2026-04-22 08:02:10] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db307"} 
[2026-04-22 08:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756672896,"raw_latitude":119536680,"longitude_deg":75.6672896,"latitude_deg":11.953668,"altitude":37,"angle":111,"satellites":8,"speed":19,"hex_longitude":"2d19e980","hex_latitude":"071ffc28","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867223040001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113585203326222336,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866601338658150400,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02:10] 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-22 08:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776825091000,"timestamp_ms":1776825091000,"timestamp_seconds":1776825091,"priority":1,"record_length":96,"hex_timestamp":"0000019db30743b8"} 
[2026-04-22 08: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-22 08:02:10] 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-22 08:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 08:02:10] 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-22 08: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-22 08: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-22 08:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867223040001,"66":14265,"121":206,"28":31744,"24":19,"16":113585203326222336,"45":1866601338658150400},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867223040001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:02:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113585203326222336,"km_value":113585203326222.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866601338658150400,"description":"Unknown IO ID 45"} 
[2026-04-22 08:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867223040001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1866601338658150400}} 
[2026-04-22 08:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:02:10] local.INFO: GPS data processed {"connection_id":50282,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:02:10] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:02:27] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:02:27] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:02:27] local.INFO: IMEI packet received {"connection_id":50285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:02:32] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:02:32] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:02:32] local.INFO: IMEI packet received {"connection_id":50285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:02:32] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:02:32] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:02:32] local.INFO: Packet analysis {"connection_id":50285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:02:32] local.INFO: Extracted packet for processing {"connection_id":50285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02: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-22 08:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08: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-22 08: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-22 08: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:02: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-22 08: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-22 08: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-22 08:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:02:32] local.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-22 08:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:02:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:02:33] local.INFO: GPS data processed {"connection_id":50285,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:02:33] local.INFO: Acknowledgment sent {"connection_id":50285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:02:41] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db3074b88012d19ef40071ffbd80024005b08..."} 
[2026-04-22 08:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3074b88012d19ef40071ffbd80024005b08..."} 
[2026-04-22 08:02:41] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3074b88012d19ef40071ffbd80024005b08..."} 
[2026-04-22 08:02:41] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db307"} 
[2026-04-22 08:02:41] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db307"} 
[2026-04-22 08:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756674368,"raw_latitude":119536600,"longitude_deg":75.6674368,"latitude_deg":11.95366,"altitude":36,"angle":91,"satellites":8,"speed":24,"hex_longitude":"2d19ef40","hex_latitude":"071ffbd8","is_valid_coordinates":true} 
[2026-04-22 08:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867223296001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113585272045699072,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867164288611526656,"note":"Value kept but may cause issues"} 
[2026-04-22 08:02: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-22 08:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776825093000,"timestamp_ms":1776825093000,"timestamp_seconds":1776825093,"priority":1,"record_length":96,"hex_timestamp":"0000019db3074b88"} 
[2026-04-22 08:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 08:02:41] 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-22 08:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867223296001,"66":13646,"121":206,"28":31744,"24":24,"16":113585272045699072,"45":1867164288611526656},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867223296001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:02:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:02:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113585272045699072,"km_value":113585272045699.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867164288611526656,"description":"Unknown IO ID 45"} 
[2026-04-22 08:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867223296001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1867164288611526656}} 
[2026-04-22 08:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:02:41] local.INFO: GPS data processed {"connection_id":50282,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:02:41] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:03:04] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:03:04] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:03:04] local.INFO: Packet analysis {"connection_id":50285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:03:04] local.INFO: Extracted packet for processing {"connection_id":50285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:03: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-22 08:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:03: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-22 08:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:03: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-22 08:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:03:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:03:04] local.INFO: GPS data processed {"connection_id":50285,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:03:04] local.INFO: Acknowledgment sent {"connection_id":50285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:03:12] local.INFO: TCP Data received {"connection_id":50282,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db308b6d0012d1a63c0071fa458002800fb0b..."} 
[2026-04-22 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db308b6d0012d1a63c0071fa458002800fb0b..."} 
[2026-04-22 08:03:12] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db308b6d0012d1a63c0071fa458002800fb0b..."} 
[2026-04-22 08:03:12] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db308"} 
[2026-04-22 08:03:12] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db308"} 
[2026-04-22 08:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756704192,"raw_latitude":119514200,"longitude_deg":75.6704192,"latitude_deg":11.95142,"altitude":40,"angle":251,"satellites":11,"speed":11,"hex_longitude":"2d1a63c0","hex_latitude":"071fa458","is_valid_coordinates":true} 
[2026-04-22 08:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867246848001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113587922040520704,"note":"Value kept but may cause issues"} 
[2026-04-22 08:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902489398183000064,"note":"Value kept but may cause issues"} 
[2026-04-22 08:03:12] 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-22 08:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776825186000,"timestamp_ms":1776825186000,"timestamp_seconds":1776825186,"priority":1,"record_length":96,"hex_timestamp":"0000019db308b6d0"} 
[2026-04-22 08:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:03:12] 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-22 08:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-22 08:03:12] 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-22 08:03: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-22 08:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867246848001,"66":13820,"121":206,"28":31744,"24":11,"16":113587922040520704,"45":1902489398183000064},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867246848001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:03:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113587922040520704,"km_value":113587922040520.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902489398183000064,"description":"Unknown IO ID 45"} 
[2026-04-22 08:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867246848001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1902489398183000064}} 
[2026-04-22 08:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:03:13] local.INFO: GPS data processed {"connection_id":50282,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:03:13] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:03:27] local.INFO: TCP Data received {"connection_id":50421,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:03:27] local.INFO: Processing buffer {"connection_id":50421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:03:27] local.INFO: IMEI packet received {"connection_id":50421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:03:32] local.INFO: TCP Data received {"connection_id":50421,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:03:32] local.INFO: Processing buffer {"connection_id":50421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:03:32] local.INFO: IMEI packet received {"connection_id":50421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:03:32] local.INFO: TCP Data received {"connection_id":50421,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:03:32] local.INFO: Processing buffer {"connection_id":50421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:03:32] local.INFO: Packet analysis {"connection_id":50421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:03:32] local.INFO: Extracted packet for processing {"connection_id":50421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:03: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-22 08:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08: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-22 08:03: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-22 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:03:33] local.INFO: GPS data processed {"connection_id":50421,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:03:33] local.INFO: Acknowledgment sent {"connection_id":50421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:04:02] local.INFO: TCP Data received {"connection_id":50032,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:04:02] local.INFO: Processing buffer {"connection_id":50032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:04:02] local.INFO: IMEI packet received {"connection_id":50032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":50032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:04:04] local.INFO: TCP Data received {"connection_id":50421,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:04:04] local.INFO: Processing buffer {"connection_id":50421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:04:04] local.INFO: Packet analysis {"connection_id":50421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:04:04] local.INFO: Extracted packet for processing {"connection_id":50421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04: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-22 08:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08: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-22 08:04: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-22 08: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:04: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-22 08: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-22 08: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-22 08:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:04:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:04:04] local.INFO: GPS data processed {"connection_id":50421,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:04:04] local.INFO: Acknowledgment sent {"connection_id":50421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:04:06] local.INFO: TCP Data received {"connection_id":50032,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:04:06] local.INFO: Processing buffer {"connection_id":50032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:04:06] local.INFO: IMEI packet received {"connection_id":50032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":50032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:04:10] local.INFO: TCP Data received {"connection_id":50032,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db308bea0012d1a6240071fa340002900ef0b..."} 
[2026-04-22 08:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db308bea0012d1a6240071fa340002900ef0b..."} 
[2026-04-22 08:04:10] local.INFO: Processing buffer {"connection_id":50032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db308bea0012d1a6240071fa340002900ef0b..."} 
[2026-04-22 08:04:10] local.INFO: Packet analysis {"connection_id":50032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db308"} 
[2026-04-22 08:04:10] local.INFO: Extracted packet for processing {"connection_id":50032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db308"} 
[2026-04-22 08:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756703808,"raw_latitude":119513920,"longitude_deg":75.6703808,"latitude_deg":11.951392,"altitude":41,"angle":239,"satellites":11,"speed":10,"hex_longitude":"2d1a6240","hex_latitude":"071fa340","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867247616001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113587943515357184,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901574604508649472,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:10] 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-22 08:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776825188000,"timestamp_ms":1776825188000,"timestamp_seconds":1776825188,"priority":1,"record_length":96,"hex_timestamp":"0000019db308bea0"} 
[2026-04-22 08: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-22 08:04:10] 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-22 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 08:04:10] 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-22 08: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-22 08: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-22 08:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867247616001,"66":14298,"121":206,"28":31744,"24":10,"16":113587943515357184,"45":1901574604508649472},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867247616001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:04:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113587943515357184,"km_value":113587943515357.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901574604508649472,"description":"Unknown IO ID 45"} 
[2026-04-22 08:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867247616001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1901574604508649472}} 
[2026-04-22 08:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":50032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:04:10] local.INFO: GPS data processed {"connection_id":50032,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:04:10] local.INFO: Acknowledgment sent {"connection_id":50032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:04:27] local.INFO: TCP Data received {"connection_id":50422,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:04:27] local.INFO: Processing buffer {"connection_id":50422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:04:27] local.INFO: IMEI packet received {"connection_id":50422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":50422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:04:32] local.INFO: TCP Data received {"connection_id":50422,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:04:32] local.INFO: Processing buffer {"connection_id":50422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:04:32] local.INFO: IMEI packet received {"connection_id":50422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":50422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:04:32] local.INFO: TCP Data received {"connection_id":50422,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:04:32] local.INFO: Processing buffer {"connection_id":50422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:04:32] local.INFO: Packet analysis {"connection_id":50422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:04:32] local.INFO: Extracted packet for processing {"connection_id":50422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:33] 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-22 08:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08: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-22 08:04: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-22 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:04:33] 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-22 08:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:04:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":50422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:04:33] local.INFO: GPS data processed {"connection_id":50422,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:04:33] local.INFO: Acknowledgment sent {"connection_id":50422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:04:42] local.INFO: TCP Data received {"connection_id":50032,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db30a06c0012d1a6200071fa4580026003a12..."} 
[2026-04-22 08:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30a06c0012d1a6200071fa4580026003a12..."} 
[2026-04-22 08:04:42] local.INFO: Processing buffer {"connection_id":50032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30a06c0012d1a6200071fa4580026003a12..."} 
[2026-04-22 08:04:42] local.INFO: Packet analysis {"connection_id":50032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:04:42] local.INFO: Extracted packet for processing {"connection_id":50032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756703744,"raw_latitude":119514200,"longitude_deg":75.6703744,"latitude_deg":11.95142,"altitude":38,"angle":58,"satellites":18,"speed":9,"hex_longitude":"2d1a6200","hex_latitude":"071fa458","is_valid_coordinates":true} 
[2026-04-22 08:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867267072001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113588471796334592,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899322804694511616,"note":"Value kept but may cause issues"} 
[2026-04-22 08:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776825272000,"timestamp_ms":1776825272000,"timestamp_seconds":1776825272,"priority":1,"record_length":96,"hex_timestamp":"0000019db30a06c0"} 
[2026-04-22 08:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 08:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867267072001,"66":14070,"70":206,"28":31744,"24":9,"16":113588471796334592,"45":1899322804694511616},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-22 08:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867267072001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:04:42] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-22 08:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113588471796334592,"km_value":113588471796334.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899322804694511616,"description":"Unknown IO ID 45"} 
[2026-04-22 08:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867267072001,"power":14070,"unknown_70":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1899322804694511616}} 
[2026-04-22 08:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":50032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:04:42] local.INFO: GPS data processed {"connection_id":50032,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:04:42] local.INFO: Acknowledgment sent {"connection_id":50032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:05:04] local.INFO: TCP Data received {"connection_id":50422,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:05:04] local.INFO: Processing buffer {"connection_id":50422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:05:04] local.INFO: Packet analysis {"connection_id":50422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:05:04] local.INFO: Extracted packet for processing {"connection_id":50422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05: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-22 08:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:05: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-22 08:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:05: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-22 08:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:05:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":50422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:05:04] local.INFO: GPS data processed {"connection_id":50422,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:05:04] local.INFO: Acknowledgment sent {"connection_id":50422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:05:14] local.INFO: TCP Data received {"connection_id":50032,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db30a7420012d1a7080071fb168002e002612..."} 
[2026-04-22 08:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30a7420012d1a7080071fb168002e002612..."} 
[2026-04-22 08:05:14] local.INFO: Processing buffer {"connection_id":50032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30a7420012d1a7080071fb168002e002612..."} 
[2026-04-22 08:05:14] local.INFO: Packet analysis {"connection_id":50032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:05:14] local.INFO: Extracted packet for processing {"connection_id":50032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756707456,"raw_latitude":119517544,"longitude_deg":75.6707456,"latitude_deg":11.9517544,"altitude":46,"angle":38,"satellites":18,"speed":7,"hex_longitude":"2d1a7080","hex_latitude":"071fb168","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867276544001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113588789623914496,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905093041718349824,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05: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-22 08:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776825300000,"timestamp_ms":1776825300000,"timestamp_seconds":1776825300,"priority":1,"record_length":96,"hex_timestamp":"0000019db30a7420"} 
[2026-04-22 08: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-22 08:05:14] 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-22 08: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":5,"data_length":795,"current_offset":136} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940723757,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505332852588544,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3003793752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":104,"raw_value":11259317197998080,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2832203818,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3221692328,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2353659904,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84753017001680805,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,70,28,24,241,158,16,140,157,104,45,175,18,10,66,84,128,171,43,80,192,1,240,27,179,31,4,113,205,9,69,112,239,55,2,147,7,42,206,208],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-04-22 08:05:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314674691821993984,"timestamp_seconds":3314674691821994.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 08: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-22 08:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":50032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867276544001,"66":13689,"121":206,"28":31744,"24":7,"16":113588789623914496,"45":1905093041718349824},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867276544001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:05:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:05:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113588789623914496,"km_value":113588789623914.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905093041718349824,"description":"Unknown IO ID 45"} 
[2026-04-22 08:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867276544001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1905093041718349824}} 
[2026-04-22 08:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":50032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:05:14] local.INFO: GPS data processed {"connection_id":50032,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:05:14] local.INFO: Acknowledgment sent {"connection_id":50032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:05:26] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:05:26] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:05:26] local.INFO: IMEI packet received {"connection_id":50288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":50288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:05:32] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:05:32] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:05:32] local.INFO: IMEI packet received {"connection_id":50288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:05:33] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:05:33] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:05:33] local.INFO: Packet analysis {"connection_id":50288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:05:33] local.INFO: Extracted packet for processing {"connection_id":50288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:33] 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-22 08:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08: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-22 08:05: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-22 08: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:05:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":50288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:05:33] local.INFO: GPS data processed {"connection_id":50288,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:05:33] local.INFO: Acknowledgment sent {"connection_id":50288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:05:46] local.INFO: TCP Data received {"connection_id":50032,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db30a7808012d1a7100071fb1c8002f003c12..."} 
[2026-04-22 08:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30a7808012d1a7100071fb1c8002f003c12..."} 
[2026-04-22 08:05:46] local.INFO: Processing buffer {"connection_id":50032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30a7808012d1a7100071fb1c8002f003c12..."} 
[2026-04-22 08:05:46] local.INFO: Packet analysis {"connection_id":50032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:05:46] local.INFO: Extracted packet for processing {"connection_id":50032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756707584,"raw_latitude":119517640,"longitude_deg":75.6707584,"latitude_deg":11.951764,"altitude":47,"angle":60,"satellites":18,"speed":7,"hex_longitude":"2d1a7100","hex_latitude":"071fb1c8","is_valid_coordinates":true} 
[2026-04-22 08:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867276800001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113588798213849088,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905163410462566400,"note":"Value kept but may cause issues"} 
[2026-04-22 08:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776825301000,"timestamp_ms":1776825301000,"timestamp_seconds":1776825301,"priority":1,"record_length":96,"hex_timestamp":"0000019db30a7808"} 
[2026-04-22 08:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:05:46] 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-22 08:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 08:05:46] 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-22 08:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867276800001,"66":13689,"121":206,"28":31744,"24":7,"16":113588798213849088,"45":1905163410462566400},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867276800001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:05:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:05:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113588798213849088,"km_value":113588798213849.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905163410462566400,"description":"Unknown IO ID 45"} 
[2026-04-22 08:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867276800001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1905163410462566400}} 
[2026-04-22 08:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":50032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:05:46] local.INFO: GPS data processed {"connection_id":50032,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:05:46] local.INFO: Acknowledgment sent {"connection_id":50032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:06:04] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:06:04] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30645d0012d7f960005afd7d0000001561f..."} 
[2026-04-22 08:06:04] local.INFO: Packet analysis {"connection_id":50288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:06:04] local.INFO: Extracted packet for processing {"connection_id":50288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db306"} 
[2026-04-22 08:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867129600001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:06: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-22 08:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825026000,"timestamp_ms":1776825026000,"timestamp_seconds":1776825026,"priority":1,"record_length":96,"hex_timestamp":"0000019db30645d0"} 
[2026-04-22 08:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:06: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-22 08:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 08:06: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-22 08:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:06: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-22 08:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867129600001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867129600001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:06:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867129600001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":50288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:06:04] local.INFO: GPS data processed {"connection_id":50288,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:06:04] local.INFO: Acknowledgment sent {"connection_id":50288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:06:17] local.INFO: TCP Data received {"connection_id":50032,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db30b7208012d1a10c0071ff580002f012012..."} 
[2026-04-22 08:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30b7208012d1a10c0071ff580002f012012..."} 
[2026-04-22 08:06:17] local.INFO: Processing buffer {"connection_id":50032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30b7208012d1a10c0071ff580002f012012..."} 
[2026-04-22 08:06:17] local.INFO: Packet analysis {"connection_id":50032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30b"} 
[2026-04-22 08:06:17] local.INFO: Extracted packet for processing {"connection_id":50032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30b"} 
[2026-04-22 08:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756682944,"raw_latitude":119534976,"longitude_deg":75.6682944,"latitude_deg":11.9534976,"altitude":47,"angle":288,"satellites":18,"speed":44,"hex_longitude":"2d1a10c0","hex_latitude":"071ff580","is_valid_coordinates":true} 
[2026-04-22 08:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867291392001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113590670819590144,"note":"Value kept but may cause issues"} 
[2026-04-22 08:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888486018096248832,"note":"Value kept but may cause issues"} 
[2026-04-22 08:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776825365000,"timestamp_ms":1776825365000,"timestamp_seconds":1776825365,"priority":1,"record_length":96,"hex_timestamp":"0000019db30b7208"} 
[2026-04-22 08:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:06:17] 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-22 08:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-04-22 08:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":50032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":50032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867291392001,"66":14037,"121":206,"28":31744,"24":44,"16":113590670819590144,"45":1888486018096248832},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867291392001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:06:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:06:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113590670819590144,"km_value":113590670819590.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888486018096248832,"description":"Unknown IO ID 45"} 
[2026-04-22 08:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867291392001,"power":14037,"unknown_121":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1888486018096248832}} 
[2026-04-22 08:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":50032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:06:17] local.INFO: GPS data processed {"connection_id":50032,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:06:17] local.INFO: Acknowledgment sent {"connection_id":50032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:06:32] local.INFO: TCP Data received {"connection_id":50423,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:06:32] local.INFO: Processing buffer {"connection_id":50423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:06:32] local.INFO: IMEI packet received {"connection_id":50423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:06:37] local.INFO: TCP Data received {"connection_id":50423,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:06:37] local.INFO: Processing buffer {"connection_id":50423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:06:37] local.INFO: IMEI packet received {"connection_id":50423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":50423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:06:38] local.INFO: TCP Data received {"connection_id":50423,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:06:38] local.INFO: Processing buffer {"connection_id":50423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:06:38] local.INFO: Packet analysis {"connection_id":50423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:06:38] local.INFO: Extracted packet for processing {"connection_id":50423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:06:38] 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-22 08:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:06:38] 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-22 08:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:06:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":50423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:06:38] local.INFO: GPS data processed {"connection_id":50423,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:06:38] local.INFO: Acknowledgment sent {"connection_id":50423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:06:58] local.INFO: TCP Data received {"connection_id":50291,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:06:58] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:06:58] local.INFO: IMEI packet received {"connection_id":50291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":50291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:06:58] local.INFO: TCP Data received {"connection_id":50291,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:06:58] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:06:58] local.INFO: IMEI packet received {"connection_id":50291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":50291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:06:59] local.INFO: TCP Data received {"connection_id":50291,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:06:59] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:06:59] local.INFO: IMEI packet received {"connection_id":50291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":50291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:07:06] local.INFO: TCP Data received {"connection_id":50291,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db30bf6d8012d19c3c007202780002e015113..."} 
[2026-04-22 08:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30bf6d8012d19c3c007202780002e015113..."} 
[2026-04-22 08:07:06] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30bf6d8012d19c3c007202780002e015113..."} 
[2026-04-22 08:07:06] local.INFO: Packet analysis {"connection_id":50291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30b"} 
[2026-04-22 08:07:06] local.INFO: Extracted packet for processing {"connection_id":50291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30b"} 
[2026-04-22 08:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756663232,"raw_latitude":119547776,"longitude_deg":75.6663232,"latitude_deg":11.9547776,"altitude":46,"angle":337,"satellites":19,"speed":35,"hex_longitude":"2d19c3c0","hex_latitude":"07202780","is_valid_coordinates":true} 
[2026-04-22 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-22 08:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113591890590302208,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933079500800,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776825399000,"timestamp_ms":1776825399000,"timestamp_seconds":1776825399,"priority":1,"record_length":96,"hex_timestamp":"0000019db30bf6d8"} 
[2026-04-22 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-22 08:07:06] 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-22 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 08: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-22 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-22 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-22 08:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867300864001,"66":14396,"121":206,"28":31744,"24":35,"16":113591890590302208,"45":1858508933079500800},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:07:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113591890590302208,"km_value":113591890590302.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933079500800,"description":"Unknown IO ID 45"} 
[2026-04-22 08:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867300864001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1858508933079500800}} 
[2026-04-22 08:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":50291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:07:06] local.INFO: GPS data processed {"connection_id":50291,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:07:06] local.INFO: Acknowledgment sent {"connection_id":50291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:07:07] local.INFO: TCP Data received {"connection_id":50291,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db30c1230012d19bb0007203f80002d015e12..."} 
[2026-04-22 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30c1230012d19bb0007203f80002d015e12..."} 
[2026-04-22 08:07:07] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30c1230012d19bb0007203f80002d015e12..."} 
[2026-04-22 08:07:07] local.INFO: Packet analysis {"connection_id":50291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30c"} 
[2026-04-22 08:07:07] local.INFO: Extracted packet for processing {"connection_id":50291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30c"} 
[2026-04-22 08:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119553920,"longitude_deg":75.6660992,"latitude_deg":11.955392,"altitude":45,"angle":350,"satellites":18,"speed":37,"hex_longitude":"2d19bb00","hex_latitude":"07203f80","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867302144001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113592208417882112,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856538608243539968,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776825406000,"timestamp_ms":1776825406000,"timestamp_seconds":1776825406,"priority":1,"record_length":96,"hex_timestamp":"0000019db30c1230"} 
[2026-04-22 08: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-22 08:07:07] 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-22 08:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 08:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867302144001,"66":14363,"121":206,"28":31744,"24":37,"16":113592208417882112,"45":1856538608243539968},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867302144001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:07:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113592208417882112,"km_value":113592208417882.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856538608243539968,"description":"Unknown IO ID 45"} 
[2026-04-22 08:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867302144001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1856538608243539968}} 
[2026-04-22 08:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":50291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:07:07] local.INFO: GPS data processed {"connection_id":50291,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:07:07] local.INFO: Acknowledgment sent {"connection_id":50291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:07:09] local.INFO: TCP Data received {"connection_id":50423,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:07:09] local.INFO: Processing buffer {"connection_id":50423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:07:09] local.INFO: Packet analysis {"connection_id":50423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:07:09] local.INFO: Extracted packet for processing {"connection_id":50423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07: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-22 08:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08: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-22 08:07: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:07:09] 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-22 08:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:07:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":50423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:07:09] local.INFO: GPS data processed {"connection_id":50423,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:07:09] local.INFO: Acknowledgment sent {"connection_id":50423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:07:12] local.INFO: TCP Data received {"connection_id":50290,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:07:12] local.INFO: Processing buffer {"connection_id":50290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:07:12] local.INFO: IMEI packet received {"connection_id":50290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":50290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:07:27] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:07:27] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:07:27] local.INFO: IMEI packet received {"connection_id":50292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:07:32] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:07:32] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:07:32] local.INFO: IMEI packet received {"connection_id":50292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:07:32] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:07:32] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:07:32] local.INFO: Packet analysis {"connection_id":50292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:07:32] local.INFO: Extracted packet for processing {"connection_id":50292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07: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-22 08:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08: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-22 08:07: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:07: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-22 08: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-22 08: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-22 08:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:07: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-22 08:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:07:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:07:33] local.INFO: GPS data processed {"connection_id":50292,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:07:33] local.INFO: Acknowledgment sent {"connection_id":50292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:07:39] local.INFO: TCP Data received {"connection_id":50291,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db30c3558012d19b80007206260002c016013..."} 
[2026-04-22 08:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30c3558012d19b80007206260002c016013..."} 
[2026-04-22 08:07:39] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30c3558012d19b80007206260002c016013..."} 
[2026-04-22 08:07:39] local.INFO: Packet analysis {"connection_id":50291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30c"} 
[2026-04-22 08:07:39] local.INFO: Extracted packet for processing {"connection_id":50291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30c"} 
[2026-04-22 08:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119562848,"longitude_deg":75.6660224,"latitude_deg":11.9562848,"altitude":44,"angle":352,"satellites":19,"speed":37,"hex_longitude":"2d19b800","hex_latitude":"07206260","is_valid_coordinates":true} 
[2026-04-22 08:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867303936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113592642209579008,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702198894592,"note":"Value kept but may cause issues"} 
[2026-04-22 08:07:39] 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-22 08:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776825415000,"timestamp_ms":1776825415000,"timestamp_seconds":1776825415,"priority":1,"record_length":96,"hex_timestamp":"0000019db30c3558"} 
[2026-04-22 08:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:07:39] 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-22 08:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 08:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867303936001,"66":14298,"121":206,"28":31744,"24":37,"16":113592642209579008,"45":1854075702198894592},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 08:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867303936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:07:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 08:07:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113592642209579008,"km_value":113592642209579.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702198894592,"description":"Unknown IO ID 45"} 
[2026-04-22 08:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867303936001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1854075702198894592}} 
[2026-04-22 08:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":50291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:07:39] local.INFO: GPS data processed {"connection_id":50291,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:07:39] local.INFO: Acknowledgment sent {"connection_id":50291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:07:52] local.INFO: TCP Data received {"connection_id":50424,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:07:52] local.INFO: Processing buffer {"connection_id":50424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:07:52] local.INFO: IMEI packet received {"connection_id":50424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":50424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:07:56] local.INFO: TCP Data received {"connection_id":50425,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:56] local.INFO: Processing buffer {"connection_id":50425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:56] local.INFO: IMEI packet received {"connection_id":50425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":50425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:07:57] local.INFO: TCP Data received {"connection_id":50425,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:57] local.INFO: Processing buffer {"connection_id":50425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:57] local.INFO: IMEI packet received {"connection_id":50425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":50425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:07:57] local.INFO: TCP Data received {"connection_id":50425,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:57] local.INFO: Processing buffer {"connection_id":50425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:57] local.INFO: IMEI packet received {"connection_id":50425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":50425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:07:58] local.INFO: TCP Data received {"connection_id":50425,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:58] local.INFO: Processing buffer {"connection_id":50425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:07:58] local.INFO: IMEI packet received {"connection_id":50425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":50425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:08:03] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:08:03] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:08:03] local.INFO: Packet analysis {"connection_id":50292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:08:03] local.INFO: Extracted packet for processing {"connection_id":50292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:08: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-22 08:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08: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-22 08:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:08: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-22 08:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:08:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":50292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:08:03] local.INFO: GPS data processed {"connection_id":50292,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:08:03] local.INFO: Acknowledgment sent {"connection_id":50292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:08:27] local.INFO: TCP Data received {"connection_id":50033,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:08:27] local.INFO: Processing buffer {"connection_id":50033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:08:27] local.INFO: IMEI packet received {"connection_id":50033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":50033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:08:32] local.INFO: TCP Data received {"connection_id":50033,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:08:32] local.INFO: Processing buffer {"connection_id":50033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:08:32] local.INFO: IMEI packet received {"connection_id":50033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:08:32] local.INFO: TCP Data received {"connection_id":50033,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:08:32] local.INFO: Processing buffer {"connection_id":50033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:08:32] local.INFO: Packet analysis {"connection_id":50033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:08:32] local.INFO: Extracted packet for processing {"connection_id":50033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:08: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-22 08:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08: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-22 08:08: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:08: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-22 08: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-22 08: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-22 08:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:08:32] 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-22 08:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:08:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":50033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:08:32] local.INFO: GPS data processed {"connection_id":50033,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:08:32] local.INFO: Acknowledgment sent {"connection_id":50033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:09:04] local.INFO: TCP Data received {"connection_id":50033,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:09:04] local.INFO: Processing buffer {"connection_id":50033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:09:04] local.INFO: Packet analysis {"connection_id":50033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:09:04] local.INFO: Extracted packet for processing {"connection_id":50033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:09: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-22 08:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:09: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-22 08:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:09: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-22 08:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:09:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":50033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:09:04] local.INFO: GPS data processed {"connection_id":50033,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:09:04] local.INFO: Acknowledgment sent {"connection_id":50033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:09:27] local.INFO: TCP Data received {"connection_id":50035,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:09:27] local.INFO: Processing buffer {"connection_id":50035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:09:27] local.INFO: IMEI packet received {"connection_id":50035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:09:32] local.INFO: TCP Data received {"connection_id":50035,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:09:32] local.INFO: Processing buffer {"connection_id":50035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:09:32] local.INFO: IMEI packet received {"connection_id":50035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:09:32] local.INFO: TCP Data received {"connection_id":50035,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:09:32] local.INFO: Processing buffer {"connection_id":50035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:09:32] local.INFO: Packet analysis {"connection_id":50035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:09:32] local.INFO: Extracted packet for processing {"connection_id":50035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:09: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-22 08:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08: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-22 08:09: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:09: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-22 08: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-22 08: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-22 08:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:09: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-22 08:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:09:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":50035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:09:32] local.INFO: GPS data processed {"connection_id":50035,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:09:32] local.INFO: Acknowledgment sent {"connection_id":50035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:10:04] local.INFO: TCP Data received {"connection_id":50035,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:10:04] local.INFO: Processing buffer {"connection_id":50035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:10:04] local.INFO: Packet analysis {"connection_id":50035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:10:04] local.INFO: Extracted packet for processing {"connection_id":50035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:10: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-22 08:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08: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-22 08:10: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:10:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":50035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:10:04] local.INFO: GPS data processed {"connection_id":50035,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:10:04] local.INFO: Acknowledgment sent {"connection_id":50035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:10:26] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:10:26] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:10:26] local.INFO: IMEI packet received {"connection_id":50975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":50975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:10:32] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:10:32] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:10:32] local.INFO: IMEI packet received {"connection_id":50975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:10:33] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:10:33] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:10:33] local.INFO: Packet analysis {"connection_id":50975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:10:33] local.INFO: Extracted packet for processing {"connection_id":50975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:10:33] 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-22 08:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08: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-22 08:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:10: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-22 08: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-22 08: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-22 08:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:10:33] local.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-22 08:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":50975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:10:33] local.INFO: GPS data processed {"connection_id":50975,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:10:33] local.INFO: Acknowledgment sent {"connection_id":50975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:11:04] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:11:04] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30add98012d7f960005afd7d00000015619..."} 
[2026-04-22 08:11:04] local.INFO: Packet analysis {"connection_id":50975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:11:04] local.INFO: Extracted packet for processing {"connection_id":50975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30a"} 
[2026-04-22 08:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":25,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867206656001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:11: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-22 08:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825327000,"timestamp_ms":1776825327000,"timestamp_seconds":1776825327,"priority":1,"record_length":96,"hex_timestamp":"0000019db30add98"} 
[2026-04-22 08: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-22 08:11: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-22 08:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867206656001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867206656001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:11:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867206656001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":50975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:11:04] local.INFO: GPS data processed {"connection_id":50975,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:11:04] local.INFO: Acknowledgment sent {"connection_id":50975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:11:32] local.INFO: TCP Data received {"connection_id":50294,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:11:32] local.INFO: Processing buffer {"connection_id":50294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:11:32] local.INFO: IMEI packet received {"connection_id":50294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:11:37] local.INFO: TCP Data received {"connection_id":50294,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:11:37] local.INFO: Processing buffer {"connection_id":50294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:11:37] local.INFO: IMEI packet received {"connection_id":50294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":50294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:11:37] local.INFO: TCP Data received {"connection_id":50294,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:11:37] local.INFO: Processing buffer {"connection_id":50294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:11:37] local.INFO: Packet analysis {"connection_id":50294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:11:37] local.INFO: Extracted packet for processing {"connection_id":50294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:11:37] 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-22 08:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 08: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-22 08:11: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:11:37] 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-22 08: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-22 08: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-22 08:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:11:37] local.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-22 08:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:11:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":50294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:11:37] local.INFO: GPS data processed {"connection_id":50294,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:11:37] local.INFO: Acknowledgment sent {"connection_id":50294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:12:09] local.INFO: TCP Data received {"connection_id":50294,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:12:09] local.INFO: Processing buffer {"connection_id":50294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:12:09] local.INFO: Packet analysis {"connection_id":50294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:12:09] local.INFO: Extracted packet for processing {"connection_id":50294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:12: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-22 08:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 08: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-22 08: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:12:09] local.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-22 08:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:12:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":50294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:12:09] local.INFO: GPS data processed {"connection_id":50294,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:12:09] local.INFO: Acknowledgment sent {"connection_id":50294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:12:27] local.INFO: TCP Data received {"connection_id":50977,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:12:27] local.INFO: Processing buffer {"connection_id":50977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:12:27] local.INFO: IMEI packet received {"connection_id":50977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":50977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:12:32] local.INFO: TCP Data received {"connection_id":50977,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:12:32] local.INFO: Processing buffer {"connection_id":50977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:12:32] local.INFO: IMEI packet received {"connection_id":50977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:12:33] local.INFO: TCP Data received {"connection_id":50977,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:12:33] local.INFO: Processing buffer {"connection_id":50977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:12:33] local.INFO: Packet analysis {"connection_id":50977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:12:33] local.INFO: Extracted packet for processing {"connection_id":50977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:12:33] 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-22 08:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 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-22 08:12: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-22 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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:12: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-22 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-22 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-22 08:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:12:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":50977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:12:33] local.INFO: GPS data processed {"connection_id":50977,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:12:33] local.INFO: Acknowledgment sent {"connection_id":50977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:13:02] local.INFO: TCP Data received {"connection_id":50296,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:13:02] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:13:02] local.INFO: IMEI packet received {"connection_id":50296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":50296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:13:03] local.INFO: TCP Data received {"connection_id":50296,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db310e878012d179540072105c0004300eb16..."} 
[2026-04-22 08:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db310e878012d179540072105c0004300eb16..."} 
[2026-04-22 08:13:03] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db310e878012d179540072105c0004300eb16..."} 
[2026-04-22 08:13:03] local.INFO: Packet analysis {"connection_id":50296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db310"} 
[2026-04-22 08:13:03] local.INFO: Extracted packet for processing {"connection_id":50296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db310"} 
[2026-04-22 08:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756520256,"raw_latitude":119604672,"longitude_deg":75.6520256,"latitude_deg":11.9604672,"altitude":67,"angle":235,"satellites":22,"speed":44,"hex_longitude":"2d179540","hex_latitude":"072105c0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867383040001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113602847051874304,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708060558044813312,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776825723000,"timestamp_ms":1776825723000,"timestamp_seconds":1776825723,"priority":1,"record_length":96,"hex_timestamp":"0000019db310e878"} 
[2026-04-22 08: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-22 08:13:03] 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-22 08:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940725273,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505333029404672,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3004177752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2393374798,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2530607104,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84750481897234854,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.WARNING: Large IO value detected {"io_id":88,"raw_value":21956130867512576,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:03] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,122,28,24,241,158,16,152,157,177,45,192,55,67,22,10,66,150,128,86,73,21,151,115,1,240,38,179,33,4,113,205,37,27,239,120,2,147,7,78,8,206,112,88],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-04-22 08:13:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683991101369286656,"timestamp_seconds":4683991101369287.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 08: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-22 08:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867383040001,"66":14341,"122":206,"28":31744,"24":44,"16":113602847051874304,"45":1708060558044813312},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-22 08:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867383040001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:13:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 08:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113602847051874304,"km_value":113602847051874.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708060558044813312,"description":"Unknown IO ID 45"} 
[2026-04-22 08:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867383040001,"power":14341,"unknown_122":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1708060558044813312}} 
[2026-04-22 08:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":50296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:13:03] local.INFO: GPS data processed {"connection_id":50296,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:13:03] local.INFO: Acknowledgment sent {"connection_id":50296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:13:04] local.INFO: TCP Data received {"connection_id":50977,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:13:04] local.INFO: Processing buffer {"connection_id":50977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:13:04] local.INFO: Packet analysis {"connection_id":50977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:13:04] local.INFO: Extracted packet for processing {"connection_id":50977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08: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-22 08:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 08:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:13: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-22 08:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:13:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":50977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:13:04] local.INFO: GPS data processed {"connection_id":50977,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:13:04] local.INFO: Acknowledgment sent {"connection_id":50977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:13:07] local.INFO: TCP Data received {"connection_id":50295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:13:07] local.INFO: Processing buffer {"connection_id":50295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:13:07] local.INFO: IMEI packet received {"connection_id":50295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":50295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:13:27] local.INFO: TCP Data received {"connection_id":50429,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:13:27] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:13:27] local.INFO: IMEI packet received {"connection_id":50429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:13:32] local.INFO: TCP Data received {"connection_id":50429,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:13:32] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:13:32] local.INFO: IMEI packet received {"connection_id":50429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:13:32] local.INFO: TCP Data received {"connection_id":50429,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:13:32] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:13:32] local.INFO: Packet analysis {"connection_id":50429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:13:32] local.INFO: Extracted packet for processing {"connection_id":50429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13: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-22 08:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 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-22 08:13: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-22 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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:13: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-22 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-22 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-22 08:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:13: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-22 08:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:13:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":50429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:13:32] local.INFO: GPS data processed {"connection_id":50429,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:13:32] local.INFO: Acknowledgment sent {"connection_id":50429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:13:35] local.INFO: TCP Data received {"connection_id":50296,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db310ffe8012d1781c00720f648004300df17..."} 
[2026-04-22 08:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db310ffe8012d1781c00720f648004300df17..."} 
[2026-04-22 08:13:35] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db310ffe8012d1781c00720f648004300df17..."} 
[2026-04-22 08:13:35] local.INFO: Packet analysis {"connection_id":50296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db310"} 
[2026-04-22 08:13:35] local.INFO: Extracted packet for processing {"connection_id":50296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db310"} 
[2026-04-22 08:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756515264,"raw_latitude":119600712,"longitude_deg":75.6515264,"latitude_deg":11.9600712,"altitude":67,"angle":223,"satellites":23,"speed":44,"hex_longitude":"2d1781c0","hex_latitude":"0720f648","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867385088001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113603151994552320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699334833765203968,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776825729000,"timestamp_ms":1776825729000,"timestamp_seconds":1776825729,"priority":1,"record_length":96,"hex_timestamp":"0000019db310ffe8"} 
[2026-04-22 08: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-22 08:13:35] 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-22 08: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940725277,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505333029797888,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21956049263134720,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3004179752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2147950990,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2535653376,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84750479749751206,"note":"Value kept but may cause issues"} 
[2026-04-22 08:13:35] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,122,28,24,241,158,16,153,157,201,45,64,29,65,23,10,66,152,177,192,55,67,22,150,128,1,240,5,151,179,33,4,113,205,39,76,11,168,20,239,120,2,147,7,78,14,206,88],"length":529,"final_offset":659,"validated_count":48,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-04-22 08:13:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828117280265863168,"timestamp_seconds":4828117280265863.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 08: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-22 08:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867385088001,"66":14374,"122":206,"28":31744,"24":44,"16":113603151994552320,"45":1699334833765203968},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-22 08:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867385088001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:13:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 08:13:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113603151994552320,"km_value":113603151994552.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699334833765203968,"description":"Unknown IO ID 45"} 
[2026-04-22 08:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867385088001,"power":14374,"unknown_122":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1699334833765203968}} 
[2026-04-22 08:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":50296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:13:35] local.INFO: GPS data processed {"connection_id":50296,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:13:35] local.INFO: Acknowledgment sent {"connection_id":50296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:13:52] local.INFO: TCP Data received {"connection_id":50037,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:13:52] local.INFO: Processing buffer {"connection_id":50037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:13:52] local.INFO: IMEI packet received {"connection_id":50037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":50037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:13:57] local.INFO: TCP Data received {"connection_id":50038,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:13:57] local.INFO: Processing buffer {"connection_id":50038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:13:57] local.INFO: IMEI packet received {"connection_id":50038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":50038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:14:02] local.INFO: TCP Data received {"connection_id":50038,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:14:02] local.INFO: Processing buffer {"connection_id":50038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:14:02] local.INFO: IMEI packet received {"connection_id":50038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":50038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:14:03] local.INFO: TCP Data received {"connection_id":50038,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db31228c8012d166bc0072003f0002d00f518..."} 
[2026-04-22 08:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31228c8012d166bc0072003f0002d00f518..."} 
[2026-04-22 08:14:03] local.INFO: Processing buffer {"connection_id":50038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31228c8012d166bc0072003f0002d00f518..."} 
[2026-04-22 08:14:03] local.INFO: Packet analysis {"connection_id":50038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db312"} 
[2026-04-22 08:14:03] local.INFO: Extracted packet for processing {"connection_id":50038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db312"} 
[2026-04-22 08:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756444096,"raw_latitude":119538672,"longitude_deg":75.6444096,"latitude_deg":11.9538672,"altitude":45,"angle":245,"satellites":24,"speed":48,"hex_longitude":"2d166bc0","hex_latitude":"072003f0","is_valid_coordinates":true} 
[2026-04-22 08:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867404032001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113607717544787968,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1625518021107042304,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776825805000,"timestamp_ms":1776825805000,"timestamp_seconds":1776825805,"priority":1,"record_length":96,"hex_timestamp":"0000019db31228c8"} 
[2026-04-22 08:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:14:03] 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-22 08:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 08:14:03] 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-22 08:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867404032001,"66":14363,"122":206,"28":31744,"24":48,"16":113607717544787968,"45":1625518021107042304},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-22 08:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867404032001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:14:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 08:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113607717544787968,"km_value":113607717544787.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1625518021107042304,"description":"Unknown IO ID 45"} 
[2026-04-22 08:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867404032001,"power":14363,"unknown_122":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1625518021107042304}} 
[2026-04-22 08:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":50038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:14:03] local.INFO: GPS data processed {"connection_id":50038,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:14:03] local.INFO: Acknowledgment sent {"connection_id":50038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:14:04] local.INFO: TCP Data received {"connection_id":50429,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:14:04] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:14:04] local.INFO: Packet analysis {"connection_id":50429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:14:04] local.INFO: Extracted packet for processing {"connection_id":50429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14: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-22 08:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 08: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-22 08:14: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:14:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":50429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:14:04] local.INFO: GPS data processed {"connection_id":50429,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:14:04] local.INFO: Acknowledgment sent {"connection_id":50429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:14:26] local.INFO: TCP Data received {"connection_id":50431,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:14:26] local.INFO: Processing buffer {"connection_id":50431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:14:26] local.INFO: IMEI packet received {"connection_id":50431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":50431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:14:32] local.INFO: TCP Data received {"connection_id":50431,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:14:32] local.INFO: Processing buffer {"connection_id":50431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:14:32] local.INFO: IMEI packet received {"connection_id":50431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:14:33] local.INFO: TCP Data received {"connection_id":50431,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:14:33] local.INFO: Processing buffer {"connection_id":50431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:14:33] local.INFO: Packet analysis {"connection_id":50431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:14:33] local.INFO: Extracted packet for processing {"connection_id":50431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:33] 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-22 08:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 08:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:14: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-22 08:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:14:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":50431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:14:33] local.INFO: GPS data processed {"connection_id":50431,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:14:33] local.INFO: Acknowledgment sent {"connection_id":50431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:14:34] local.INFO: TCP Data received {"connection_id":50038,"ip":"117.224.146.57","data_length":795,"data_hex":"000000000000030f8e0a0000019db3124808012d164ac0071ff458002d00f41a..."} 
[2026-04-22 08:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3124808012d164ac0071ff458002d00f41a..."} 
[2026-04-22 08:14:34] local.INFO: Processing buffer {"connection_id":50038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3124808012d164ac0071ff458002d00f41a..."} 
[2026-04-22 08:14:34] local.INFO: Packet analysis {"connection_id":50038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db312"} 
[2026-04-22 08:14:34] local.INFO: Extracted packet for processing {"connection_id":50038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db312"} 
[2026-04-22 08:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756435648,"raw_latitude":119534680,"longitude_deg":75.6435648,"latitude_deg":11.953468,"altitude":45,"angle":244,"satellites":26,"speed":44,"hex_longitude":"2d164ac0","hex_latitude":"071ff458","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867406080001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113608164221386752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1615596028176887808,"note":"Value kept but may cause issues"} 
[2026-04-22 08:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776825813000,"timestamp_ms":1776825813000,"timestamp_seconds":1776825813,"priority":1,"record_length":96,"hex_timestamp":"0000019db3124808"} 
[2026-04-22 08: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-22 08:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 08:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.146.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867406080001,"66":14341,"130":206,"28":31744,"24":44,"16":113608164221386752,"45":1615596028176887808},"client_ip":"117.224.146.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-22 08:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867406080001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:14:34] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-22 08:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113608164221386752,"km_value":113608164221386.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1615596028176887808,"description":"Unknown IO ID 45"} 
[2026-04-22 08:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867406080001,"power":14341,"unknown_130":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1615596028176887808}} 
[2026-04-22 08:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":50038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:14:35] local.INFO: GPS data processed {"connection_id":50038,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:14:35] local.INFO: Acknowledgment sent {"connection_id":50038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:15:01] local.INFO: TCP Data received {"connection_id":50039,"ip":"117.224.146.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:01] local.INFO: Processing buffer {"connection_id":50039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:01] local.INFO: IMEI packet received {"connection_id":50039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":50039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:15:04] local.INFO: TCP Data received {"connection_id":50431,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:15:04] local.INFO: Processing buffer {"connection_id":50431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:15:04] local.INFO: Packet analysis {"connection_id":50431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:15:04] local.INFO: Extracted packet for processing {"connection_id":50431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15: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-22 08:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 08: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-22 08:15: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:15:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":50431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":42999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:15:04] local.INFO: GPS data processed {"connection_id":50431,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:15:04] local.INFO: Acknowledgment sent {"connection_id":50431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:15:26] local.INFO: TCP Data received {"connection_id":50979,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:15:26] local.INFO: Processing buffer {"connection_id":50979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:15:26] local.INFO: IMEI packet received {"connection_id":50979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":50979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:15:27] local.INFO: TCP Data received {"connection_id":50297,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:27] local.INFO: Processing buffer {"connection_id":50297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:27] local.INFO: IMEI packet received {"connection_id":50297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:15:32] local.INFO: TCP Data received {"connection_id":50979,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:15:32] local.INFO: Processing buffer {"connection_id":50979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:15:32] local.INFO: IMEI packet received {"connection_id":50979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:15:32] local.INFO: TCP Data received {"connection_id":50297,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:32] local.INFO: Processing buffer {"connection_id":50297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:32] local.INFO: IMEI packet received {"connection_id":50297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:15:33] local.INFO: TCP Data received {"connection_id":50979,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:15:33] local.INFO: Processing buffer {"connection_id":50979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:15:33] local.INFO: Packet analysis {"connection_id":50979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:15:33] local.INFO: Extracted packet for processing {"connection_id":50979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] 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-22 08:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 08: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-22 08:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:15: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-22 08: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-22 08: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-22 08:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:15:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:15:33] local.INFO: GPS data processed {"connection_id":50979,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:15:33] local.INFO: Acknowledgment sent {"connection_id":50979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:15:33] local.INFO: TCP Data received {"connection_id":50297,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31345f0012d1524c0071fbc18002d00ea1a..."} 
[2026-04-22 08:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31345f0012d1524c0071fbc18002d00ea1a..."} 
[2026-04-22 08:15:33] local.INFO: Processing buffer {"connection_id":50297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31345f0012d1524c0071fbc18002d00ea1a..."} 
[2026-04-22 08:15:33] local.INFO: Packet analysis {"connection_id":50297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db313"} 
[2026-04-22 08:15:33] local.INFO: Extracted packet for processing {"connection_id":50297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db313"} 
[2026-04-22 08:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756360384,"raw_latitude":119520280,"longitude_deg":75.6360384,"latitude_deg":11.952028,"altitude":45,"angle":234,"satellites":26,"speed":41,"hex_longitude":"2d1524c0","hex_latitude":"071fbc18","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867423744001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113611849303326720,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1527705466694787072,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776825878000,"timestamp_ms":1776825878000,"timestamp_seconds":1776825878,"priority":1,"record_length":96,"hex_timestamp":"0000019db31345f0"} 
[2026-04-22 08: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-22 08:15:33] 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-22 08: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454501632,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3004346752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3314024488,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884122318,"corrected_to":0} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3221302549,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2147950542,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2682650624,"note":"Value kept but may cause issues"} 
[2026-04-22 08:15:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,133,28,24,241,158,16,161,157,42,45,198,26,10,66,30,192,199,41,160,255,1,240,174,179,31,4,113,205,208,166,32,239,56,131,2,147,7,37,49],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3884122318,"validated":0}]} 
[2026-04-22 08:15:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170808027736047616,"timestamp_seconds":3170808027736047.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 08: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-22 08:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867423744001,"66":14070,"133":206,"28":31744,"24":41,"16":113611849303326720,"45":1527705466694787072},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 08:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867423744001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:15:33] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 08:15:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113611849303326720,"km_value":113611849303326.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1527705466694787072,"description":"Unknown IO ID 45"} 
[2026-04-22 08:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867423744001,"power":14070,"unknown_133":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1527705466694787072}} 
[2026-04-22 08:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:15:33] local.INFO: GPS data processed {"connection_id":50297,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:15:33] local.INFO: Acknowledgment sent {"connection_id":50297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:15:59] local.INFO: TCP Data received {"connection_id":50041,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:59] local.INFO: Processing buffer {"connection_id":50041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:15:59] local.INFO: IMEI packet received {"connection_id":50041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":50041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:16:02] local.INFO: TCP Data received {"connection_id":50041,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:16:02] local.INFO: Processing buffer {"connection_id":50041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:16:02] local.INFO: IMEI packet received {"connection_id":50041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":50041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:16:04] local.INFO: TCP Data received {"connection_id":50979,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:16:04] local.INFO: Processing buffer {"connection_id":50979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db30f7560012d7f960005afd7d0000001561d..."} 
[2026-04-22 08:16:04] local.INFO: Packet analysis {"connection_id":50979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:16:04] local.INFO: Extracted packet for processing {"connection_id":50979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db30f"} 
[2026-04-22 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":29,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867283712001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16: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-22 08:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825628000,"timestamp_ms":1776825628000,"timestamp_seconds":1776825628,"priority":1,"record_length":96,"hex_timestamp":"0000019db30f7560"} 
[2026-04-22 08: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-22 08:16: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867283712001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867283712001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:16:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867283712001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":50979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:16:04] local.INFO: GPS data processed {"connection_id":50979,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:16:04] local.INFO: Acknowledgment sent {"connection_id":50979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:16:07] local.INFO: TCP Data received {"connection_id":50041,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:16:07] local.INFO: Processing buffer {"connection_id":50041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:16:07] local.INFO: IMEI packet received {"connection_id":50041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":50041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:16:08] local.INFO: TCP Data received {"connection_id":50041,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3136918012d1508c0071fa480003100e81a..."} 
[2026-04-22 08:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3136918012d1508c0071fa480003100e81a..."} 
[2026-04-22 08:16:08] local.INFO: Processing buffer {"connection_id":50041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3136918012d1508c0071fa480003100e81a..."} 
[2026-04-22 08:16:08] local.INFO: Packet analysis {"connection_id":50041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db313"} 
[2026-04-22 08:16:08] local.INFO: Extracted packet for processing {"connection_id":50041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db313"} 
[2026-04-22 08:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756353216,"raw_latitude":119514240,"longitude_deg":75.6353216,"latitude_deg":11.951424,"altitude":49,"angle":232,"satellites":26,"speed":40,"hex_longitude":"2d1508c0","hex_latitude":"071fa480","is_valid_coordinates":true} 
[2026-04-22 08:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867424768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113612295979925504,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1523553710787794944,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776825887000,"timestamp_ms":1776825887000,"timestamp_seconds":1776825887,"priority":1,"record_length":96,"hex_timestamp":"0000019db3136918"} 
[2026-04-22 08:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:16:08] 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-22 08:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 08:16:08] 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-22 08:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867424768001,"66":14070,"133":206,"28":31744,"24":40,"16":113612295979925504,"45":1523553710787794944},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 08:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867424768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:16:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 08:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113612295979925504,"km_value":113612295979925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1523553710787794944,"description":"Unknown IO ID 45"} 
[2026-04-22 08:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867424768001,"power":14070,"unknown_133":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1523553710787794944}} 
[2026-04-22 08:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":50041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:16:08] local.INFO: GPS data processed {"connection_id":50041,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:16:08] local.INFO: Acknowledgment sent {"connection_id":50041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:16:09] local.INFO: TCP Data received {"connection_id":50041,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3138858012d14ee00071f9470003300f61a..."} 
[2026-04-22 08:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3138858012d14ee00071f9470003300f61a..."} 
[2026-04-22 08:16:09] local.INFO: Processing buffer {"connection_id":50041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3138858012d14ee00071f9470003300f61a..."} 
[2026-04-22 08:16:09] local.INFO: Packet analysis {"connection_id":50041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db313"} 
[2026-04-22 08:16:09] local.INFO: Extracted packet for processing {"connection_id":50041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db313"} 
[2026-04-22 08:16:09] local.INFO: GPS Element Parsed {"raw_longitude":756346368,"raw_latitude":119510128,"longitude_deg":75.6346368,"latitude_deg":11.9510128,"altitude":51,"angle":246,"satellites":26,"speed":39,"hex_longitude":"2d14ee00","hex_latitude":"071f9470","is_valid_coordinates":true} 
[2026-04-22 08:16: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-22 08:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867427072001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113612678232014848,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1515672411438350336,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776825895000,"timestamp_ms":1776825895000,"timestamp_seconds":1776825895,"priority":1,"record_length":96,"hex_timestamp":"0000019db3138858"} 
[2026-04-22 08:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:16: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-22 08:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 08:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:16: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-22 08:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867427072001,"66":14113,"133":206,"28":31744,"24":39,"16":113612678232014848,"45":1515672411438350336},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 08:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867427072001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:16:09] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 08:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113612678232014848,"km_value":113612678232014.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1515672411438350336,"description":"Unknown IO ID 45"} 
[2026-04-22 08:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867427072001,"power":14113,"unknown_133":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1515672411438350336}} 
[2026-04-22 08:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":50041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:16:09] local.INFO: GPS data processed {"connection_id":50041,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:16:09] local.INFO: Acknowledgment sent {"connection_id":50041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:16:32] local.INFO: TCP Data received {"connection_id":50432,"ip":"42.106.6.151","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:16:32] local.INFO: Processing buffer {"connection_id":50432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:16:32] local.INFO: IMEI packet received {"connection_id":50432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":50432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:16:37] local.INFO: TCP Data received {"connection_id":50432,"ip":"42.106.6.151","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:16:37] local.INFO: Processing buffer {"connection_id":50432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:16:37] local.INFO: IMEI packet received {"connection_id":50432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":50432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:16:38] local.INFO: TCP Data received {"connection_id":50432,"ip":"42.106.6.151","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:16:38] local.INFO: Processing buffer {"connection_id":50432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:16:38] local.INFO: Packet analysis {"connection_id":50432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:16:38] local.INFO: Extracted packet for processing {"connection_id":50432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:38] 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-22 08:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 08:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 08:16: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-22 08:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.151","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:16:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":50432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:16:38] local.INFO: GPS data processed {"connection_id":50432,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:16:38] local.INFO: Acknowledgment sent {"connection_id":50432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:16:41] local.INFO: TCP Data received {"connection_id":50041,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db314d848012d139ec0071f0270002d00f41a..."} 
[2026-04-22 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db314d848012d139ec0071f0270002d00f41a..."} 
[2026-04-22 08:16:41] local.INFO: Processing buffer {"connection_id":50041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db314d848012d139ec0071f0270002d00f41a..."} 
[2026-04-22 08:16:41] local.INFO: Packet analysis {"connection_id":50041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:16:41] local.INFO: Extracted packet for processing {"connection_id":50041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756260544,"raw_latitude":119472752,"longitude_deg":75.6260544,"latitude_deg":11.9472752,"altitude":45,"angle":244,"satellites":26,"speed":45,"hex_longitude":"2d139ec0","hex_latitude":"071f0270","is_valid_coordinates":true} 
[2026-04-22 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867449088001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113617166472839168,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1423067144091027456,"note":"Value kept but may cause issues"} 
[2026-04-22 08:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776825981000,"timestamp_ms":1776825981000,"timestamp_seconds":1776825981,"priority":1,"record_length":96,"hex_timestamp":"0000019db314d848"} 
[2026-04-22 08:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 08:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867449088001,"66":14026,"133":206,"28":31744,"24":45,"16":113617166472839168,"45":1423067144091027456},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 08:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867449088001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:16:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 08:16:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113617166472839168,"km_value":113617166472839.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1423067144091027456,"description":"Unknown IO ID 45"} 
[2026-04-22 08:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867449088001,"power":14026,"unknown_133":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1423067144091027456}} 
[2026-04-22 08:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":50041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:16:41] local.INFO: GPS data processed {"connection_id":50041,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:16:41] local.INFO: Acknowledgment sent {"connection_id":50041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:17:09] local.INFO: TCP Data received {"connection_id":50432,"ip":"42.106.6.151","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:17:09] local.INFO: Processing buffer {"connection_id":50432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:17:09] local.INFO: Packet analysis {"connection_id":50432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:17:09] local.INFO: Extracted packet for processing {"connection_id":50432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17: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-22 08:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 08: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-22 08:17: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-22 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 08:17:09] 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-22 08: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-22 08: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-22 08:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.151","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:17:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":50432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:17:09] local.INFO: GPS data processed {"connection_id":50432,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:17:09] local.INFO: Acknowledgment sent {"connection_id":50432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:17:09] local.INFO: TCP Data received {"connection_id":50299,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:09] local.INFO: Processing buffer {"connection_id":50299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:09] local.INFO: IMEI packet received {"connection_id":50299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":50299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:17:10] local.INFO: TCP Data received {"connection_id":50299,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:10] local.INFO: Processing buffer {"connection_id":50299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:10] local.INFO: IMEI packet received {"connection_id":50299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":50299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:17:12] local.INFO: TCP Data received {"connection_id":50299,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db314efb8012d1388c0071efa20002a010019..."} 
[2026-04-22 08:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db314efb8012d1388c0071efa20002a010019..."} 
[2026-04-22 08:17:12] local.INFO: Processing buffer {"connection_id":50299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db314efb8012d1388c0071efa20002a010019..."} 
[2026-04-22 08:17:12] local.INFO: Packet analysis {"connection_id":50299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:17:12] local.INFO: Extracted packet for processing {"connection_id":50299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":756254912,"raw_latitude":119470624,"longitude_deg":75.6254912,"latitude_deg":11.9470624,"altitude":42,"angle":256,"satellites":25,"speed":36,"hex_longitude":"2d1388c0","hex_latitude":"071efa20","is_valid_coordinates":true} 
[2026-04-22 08:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867451136001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113617454235648000,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413778469858471936,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776825987000,"timestamp_ms":1776825987000,"timestamp_seconds":1776825987,"priority":1,"record_length":96,"hex_timestamp":"0000019db314efb8"} 
[2026-04-22 08:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-22 08:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867451136001,"66":14102,"133":206,"28":31744,"24":36,"16":113617454235648000,"45":1413778469858471936},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 08:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867451136001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:17:12] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 08:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113617454235648000,"km_value":113617454235648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413778469858471936,"description":"Unknown IO ID 45"} 
[2026-04-22 08:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867451136001,"power":14102,"unknown_133":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1413778469858471936}} 
[2026-04-22 08:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":50299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:17:12] local.INFO: GPS data processed {"connection_id":50299,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:17:12] local.INFO: Acknowledgment sent {"connection_id":50299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:17:13] local.INFO: TCP Data received {"connection_id":50299,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3150b10012d136bc0071ef608002a010b18..."} 
[2026-04-22 08:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3150b10012d136bc0071ef608002a010b18..."} 
[2026-04-22 08:17:13] local.INFO: Processing buffer {"connection_id":50299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3150b10012d136bc0071ef608002a010b18..."} 
[2026-04-22 08:17:13] local.INFO: Packet analysis {"connection_id":50299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db315"} 
[2026-04-22 08:17:13] local.INFO: Extracted packet for processing {"connection_id":50299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db315"} 
[2026-04-22 08:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756247488,"raw_latitude":119469576,"longitude_deg":75.6247488,"latitude_deg":11.9469576,"altitude":42,"angle":267,"satellites":24,"speed":45,"hex_longitude":"2d136bc0","hex_latitude":"071ef608","is_valid_coordinates":true} 
[2026-04-22 08:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867452672001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113617810717933568,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1407586020370292736,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776825994000,"timestamp_ms":1776825994000,"timestamp_seconds":1776825994,"priority":1,"record_length":96,"hex_timestamp":"0000019db3150b10"} 
[2026-04-22 08:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:17:13] 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-22 08:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 08:17:13] 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-22 08:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867452672001,"66":14048,"133":206,"28":31744,"24":45,"16":113617810717933568,"45":1407586020370292736},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 08:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867452672001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:17:13] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 08:17:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113617810717933568,"km_value":113617810717933.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1407586020370292736,"description":"Unknown IO ID 45"} 
[2026-04-22 08:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867452672001,"power":14048,"unknown_133":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1407586020370292736}} 
[2026-04-22 08:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":50299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:17:13] local.INFO: GPS data processed {"connection_id":50299,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:17:13] local.INFO: Acknowledgment sent {"connection_id":50299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:17:27] local.INFO: TCP Data received {"connection_id":50433,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:17:27] local.INFO: Processing buffer {"connection_id":50433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:17:27] local.INFO: IMEI packet received {"connection_id":50433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":50433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:17:32] local.INFO: TCP Data received {"connection_id":50433,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:17:32] local.INFO: Processing buffer {"connection_id":50433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:17:32] local.INFO: IMEI packet received {"connection_id":50433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:17:33] local.INFO: TCP Data received {"connection_id":50433,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:17:33] local.INFO: Processing buffer {"connection_id":50433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:17:33] local.INFO: Packet analysis {"connection_id":50433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:17:33] local.INFO: Extracted packet for processing {"connection_id":50433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:17:33] 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-22 08:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 08: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-22 08:17: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-22 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 08:17: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-22 08: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-22 08: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-22 08:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:17:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:17:33] local.INFO: GPS data processed {"connection_id":50433,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:17:33] local.INFO: Acknowledgment sent {"connection_id":50433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:17:55] local.INFO: TCP Data received {"connection_id":50043,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:55] local.INFO: Processing buffer {"connection_id":50043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:55] local.INFO: IMEI packet received {"connection_id":50043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":50043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:17:56] local.INFO: TCP Data received {"connection_id":50043,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:56] local.INFO: Processing buffer {"connection_id":50043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:17:56] local.INFO: IMEI packet received {"connection_id":50043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":50043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:18:01] local.INFO: TCP Data received {"connection_id":50043,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:18:01] local.INFO: Processing buffer {"connection_id":50043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:18:01] local.INFO: IMEI packet received {"connection_id":50043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":50043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:18:03] local.INFO: TCP Data received {"connection_id":50043,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3151ab0012d135900071ef778002a011717..."} 
[2026-04-22 08:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3151ab0012d135900071ef778002a011717..."} 
[2026-04-22 08:18:03] local.INFO: Processing buffer {"connection_id":50043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3151ab0012d135900071ef778002a011717..."} 
[2026-04-22 08:18:03] local.INFO: Packet analysis {"connection_id":50043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db315"} 
[2026-04-22 08:18:03] local.INFO: Extracted packet for processing {"connection_id":50043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db315"} 
[2026-04-22 08:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756242688,"raw_latitude":119469944,"longitude_deg":75.6242688,"latitude_deg":11.9469944,"altitude":42,"angle":279,"satellites":23,"speed":48,"hex_longitude":"2d135900","hex_latitude":"071ef778","is_valid_coordinates":true} 
[2026-04-22 08:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867454464001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113618038351200256,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1399423246045415424,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776825998000,"timestamp_ms":1776825998000,"timestamp_seconds":1776825998,"priority":1,"record_length":96,"hex_timestamp":"0000019db3151ab0"} 
[2026-04-22 08:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:18:03] 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-22 08:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 08:18:03] 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-22 08:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867454464001,"66":14004,"133":206,"28":31744,"24":48,"16":113618038351200256,"45":1399423246045415424},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 08:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867454464001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:18:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 08:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113618038351200256,"km_value":113618038351200.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1399423246045415424,"description":"Unknown IO ID 45"} 
[2026-04-22 08:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867454464001,"power":14004,"unknown_133":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1399423246045415424}} 
[2026-04-22 08:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":50043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:18:03] local.INFO: GPS data processed {"connection_id":50043,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:18:03] local.INFO: Acknowledgment sent {"connection_id":50043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:18:04] local.INFO: TCP Data received {"connection_id":50433,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:18:04] local.INFO: Processing buffer {"connection_id":50433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:18:04] local.INFO: Packet analysis {"connection_id":50433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:18:04] local.INFO: Extracted packet for processing {"connection_id":50433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18: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-22 08:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 08:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:18: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-22 08:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 08:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:18:04] 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-22 08:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:18:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:18:04] local.INFO: GPS data processed {"connection_id":50433,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:18:04] local.INFO: Acknowledgment sent {"connection_id":50433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:18:27] local.INFO: TCP Data received {"connection_id":50300,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:18:27] local.INFO: Processing buffer {"connection_id":50300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:18:27] local.INFO: IMEI packet received {"connection_id":50300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:18:32] local.INFO: TCP Data received {"connection_id":50300,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:18:32] local.INFO: Processing buffer {"connection_id":50300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:18:32] local.INFO: IMEI packet received {"connection_id":50300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:18:33] local.INFO: TCP Data received {"connection_id":50300,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:18:33] local.INFO: Processing buffer {"connection_id":50300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:18:33] local.INFO: Packet analysis {"connection_id":50300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:18:33] local.INFO: Extracted packet for processing {"connection_id":50300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:33] 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-22 08:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 08: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-22 08:18: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-22 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 08:18: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-22 08: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-22 08: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-22 08:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:18:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":50300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:18:33] local.INFO: GPS data processed {"connection_id":50300,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:18:33] local.INFO: Acknowledgment sent {"connection_id":50300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:18:34] local.INFO: TCP Data received {"connection_id":50043,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3169598012d11b900071f4680003901271b..."} 
[2026-04-22 08:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3169598012d11b900071f4680003901271b..."} 
[2026-04-22 08:18:34] local.INFO: Processing buffer {"connection_id":50043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3169598012d11b900071f4680003901271b..."} 
[2026-04-22 08:18:34] local.INFO: Packet analysis {"connection_id":50043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db316"} 
[2026-04-22 08:18:34] local.INFO: Extracted packet for processing {"connection_id":50043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db316"} 
[2026-04-22 08:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756136192,"raw_latitude":119490176,"longitude_deg":75.6136192,"latitude_deg":11.9490176,"altitude":57,"angle":295,"satellites":27,"speed":44,"hex_longitude":"2d11b900","hex_latitude":"071f4680","is_valid_coordinates":true} 
[2026-04-22 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-22 08:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867478272001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 08:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113623291096203264,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1285496249225725952,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 08:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776826095000,"timestamp_ms":1776826095000,"timestamp_seconds":1776826095,"priority":1,"record_length":96,"hex_timestamp":"0000019db3169598"} 
[2026-04-22 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-22 08:18:34] 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-22 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-22 08:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454519296,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13507708,"corrected_to":0} 
[2026-04-22 08:18:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3004550752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:34] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3888644302,"corrected_to":0} 
[2026-04-22 08:18:34] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692191,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:34] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2848325632,"note":"Value kept but may cause issues"} 
[2026-04-22 08:18:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,200,28,24,241,158,16,171,157,110,45,46,55,27,10,66,94,41,56,25,67,1,240,224,170,179,31,4,113,205,40,253,101,32,239,2,147,7,58],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":200,"original":13507708,"validated":0},{"io_id":205,"original":3888644302,"validated":0}]} 
[2026-04-22 08:18:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891440047503769600,"timestamp_seconds":3891440047503769.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 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-22 08:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867478272001,"66":13678,"200":0,"28":31744,"24":44,"16":113623291096203264,"45":1285496249225725952},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-22 08:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867478272001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:18:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113623291096203264,"km_value":113623291096203.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1285496249225725952,"description":"Unknown IO ID 45"} 
[2026-04-22 08:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867478272001,"power":13678,"gsm_signal":0,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1285496249225725952}} 
[2026-04-22 08:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":50043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:18:35] local.INFO: GPS data processed {"connection_id":50043,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:18:35] local.INFO: Acknowledgment sent {"connection_id":50043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:18:57] local.INFO: TCP Data received {"connection_id":50981,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:18:57] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:18:57] local.INFO: IMEI packet received {"connection_id":50981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":50981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:18:59] local.INFO: TCP Data received {"connection_id":50981,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:18:59] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:18:59] local.INFO: IMEI packet received {"connection_id":50981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":50981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:19:03] local.INFO: TCP Data received {"connection_id":50981,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:19:03] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:19:03] local.INFO: IMEI packet received {"connection_id":50981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":50981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:19:04] local.INFO: TCP Data received {"connection_id":50300,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:19:04] local.INFO: Processing buffer {"connection_id":50300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:19:04] local.INFO: Packet analysis {"connection_id":50300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:19:04] local.INFO: Extracted packet for processing {"connection_id":50300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19: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-22 08:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 08: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-22 08:19: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-22 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 08:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:19: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-22 08:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:19:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":50300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:19:04] local.INFO: GPS data processed {"connection_id":50300,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:19:04] local.INFO: Acknowledgment sent {"connection_id":50300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:19:04] local.INFO: TCP Data received {"connection_id":50981,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db316a150012d11acc0071f4ac8003a011b1b..."} 
[2026-04-22 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db316a150012d11acc0071f4ac8003a011b1b..."} 
[2026-04-22 08:19:04] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db316a150012d11acc0071f4ac8003a011b1b..."} 
[2026-04-22 08:19:04] local.INFO: Packet analysis {"connection_id":50981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db316"} 
[2026-04-22 08:19:04] local.INFO: Extracted packet for processing {"connection_id":50981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db316"} 
[2026-04-22 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756133056,"raw_latitude":119491272,"longitude_deg":75.6133056,"latitude_deg":11.9491272,"altitude":58,"angle":283,"satellites":27,"speed":42,"hex_longitude":"2d11acc0","hex_latitude":"071f4ac8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867480320001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 08:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113623445715025920,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1277051999925731328,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 08:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826098000,"timestamp_ms":1776826098000,"timestamp_seconds":1776826098,"priority":1,"record_length":96,"hex_timestamp":"0000019db316a150"} 
[2026-04-22 08: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-22 08:19:04] 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-22 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 08:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867480320001,"66":14004,"200":0,"28":31744,"24":42,"16":113623445715025920,"45":1277051999925731328},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-22 08:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867480320001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113623445715025920,"km_value":113623445715025.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1277051999925731328,"description":"Unknown IO ID 45"} 
[2026-04-22 08:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867480320001,"power":14004,"gsm_signal":0,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1277051999925731328}} 
[2026-04-22 08:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":50981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:19:04] local.INFO: GPS data processed {"connection_id":50981,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:19:04] local.INFO: Acknowledgment sent {"connection_id":50981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:19:22] local.INFO: TCP Data received {"connection_id":50980,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:19:22] local.INFO: Processing buffer {"connection_id":50980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:19:22] local.INFO: IMEI packet received {"connection_id":50980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":50980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:19:26] local.INFO: TCP Data received {"connection_id":50434,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:19:26] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:19:26] local.INFO: IMEI packet received {"connection_id":50434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":50434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:19:32] local.INFO: TCP Data received {"connection_id":50434,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:19:32] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:19:32] local.INFO: IMEI packet received {"connection_id":50434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:19:32] local.INFO: TCP Data received {"connection_id":50434,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:19:32] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:19:32] local.INFO: Packet analysis {"connection_id":50434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:19:32] local.INFO: Extracted packet for processing {"connection_id":50434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19: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-22 08:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 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-22 08:19: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-22 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-22 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-22 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-22 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-22 08:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:19: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-22 08:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:19:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":50434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:19:32] local.INFO: GPS data processed {"connection_id":50434,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:19:32] local.INFO: Acknowledgment sent {"connection_id":50434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:19:36] local.INFO: TCP Data received {"connection_id":50981,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db316b0f0012d119d40071f4ce0003a010f1b..."} 
[2026-04-22 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db316b0f0012d119d40071f4ce0003a010f1b..."} 
[2026-04-22 08:19:36] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db316b0f0012d119d40071f4ce0003a010f1b..."} 
[2026-04-22 08:19:36] local.INFO: Packet analysis {"connection_id":50981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db316"} 
[2026-04-22 08:19:36] local.INFO: Extracted packet for processing {"connection_id":50981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db316"} 
[2026-04-22 08:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756129088,"raw_latitude":119491808,"longitude_deg":75.6129088,"latitude_deg":11.9491808,"altitude":58,"angle":271,"satellites":27,"speed":36,"hex_longitude":"2d119d40","hex_latitude":"071f4ce0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867481088001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 08:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113623638988554240,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1273603931461306368,"note":"Value kept but may cause issues"} 
[2026-04-22 08:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 08:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776826102000,"timestamp_ms":1776826102000,"timestamp_seconds":1776826102,"priority":1,"record_length":96,"hex_timestamp":"0000019db316b0f0"} 
[2026-04-22 08: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-22 08:19:36] 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-22 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 08:19:36] 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-22 08: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-22 08: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-22 08:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867481088001,"66":13928,"200":0,"28":31744,"24":36,"16":113623638988554240,"45":1273603931461306368},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-22 08:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867481088001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113623638988554240,"km_value":113623638988554.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1273603931461306368,"description":"Unknown IO ID 45"} 
[2026-04-22 08:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867481088001,"power":13928,"gsm_signal":0,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1273603931461306368}} 
[2026-04-22 08:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":50981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:19:36] local.INFO: GPS data processed {"connection_id":50981,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:19:36] local.INFO: Acknowledgment sent {"connection_id":50981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:19:51] local.INFO: TCP Data received {"connection_id":50044,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:19:51] local.INFO: Processing buffer {"connection_id":50044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:19:51] local.INFO: IMEI packet received {"connection_id":50044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":50044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:19:56] local.INFO: TCP Data received {"connection_id":50982,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:19:57] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:19:57] local.INFO: IMEI packet received {"connection_id":50982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":50982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:19:59] local.INFO: TCP Data received {"connection_id":50982,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:19:59] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:19:59] local.INFO: IMEI packet received {"connection_id":50982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":50982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:20:01] local.INFO: TCP Data received {"connection_id":50982,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:20:01] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:20:01] local.INFO: IMEI packet received {"connection_id":50982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":50982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:20:03] local.INFO: TCP Data received {"connection_id":50982,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db317be78012d10ce40071e7bb0003300d11b..."} 
[2026-04-22 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db317be78012d10ce40071e7bb0003300d11b..."} 
[2026-04-22 08:20:03] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db317be78012d10ce40071e7bb0003300d11b..."} 
[2026-04-22 08:20:03] local.INFO: Packet analysis {"connection_id":50982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db317"} 
[2026-04-22 08:20:03] local.INFO: Extracted packet for processing {"connection_id":50982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db317"} 
[2026-04-22 08:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756076096,"raw_latitude":119438256,"longitude_deg":75.6076096,"latitude_deg":11.9438256,"altitude":51,"angle":209,"satellites":27,"speed":54,"hex_longitude":"2d10ce40","hex_latitude":"071e7bb0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867497984001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113627577473564672,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1215690454991646720,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776826171000,"timestamp_ms":1776826171000,"timestamp_seconds":1776826171,"priority":1,"record_length":96,"hex_timestamp":"0000019db317be78"} 
[2026-04-22 08: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-22 08:20:03] 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-22 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-22 08:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867497984001,"66":14494,"201":206,"28":31744,"24":54,"16":113627577473564672,"45":1215690454991646720},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-04-22 08:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867497984001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:20:03] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-22 08:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113627577473564672,"km_value":113627577473564.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1215690454991646720,"description":"Unknown IO ID 45"} 
[2026-04-22 08:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867497984001,"power":14494,"unknown_201":206,"unknown_28":31744,"ignition":54,"odometer":null,"unknown_45":1215690454991646720}} 
[2026-04-22 08:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":50982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:20:03] local.INFO: GPS data processed {"connection_id":50982,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:20:03] local.INFO: Acknowledgment sent {"connection_id":50982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:20:04] local.INFO: TCP Data received {"connection_id":50434,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:20:04] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:20:04] local.INFO: Packet analysis {"connection_id":50434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:20:04] local.INFO: Extracted packet for processing {"connection_id":50434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20: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-22 08:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 08: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-22 08:20: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-22 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 08:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:20: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-22 08:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:20:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:20:04] local.INFO: GPS data processed {"connection_id":50434,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:20:04] local.INFO: Acknowledgment sent {"connection_id":50434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:20:32] local.INFO: TCP Data received {"connection_id":50983,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:20:32] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:20:32] local.INFO: IMEI packet received {"connection_id":50983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:20:34] local.INFO: TCP Data received {"connection_id":50982,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db317d9d0012d10ba00071e5cd0003100d81c..."} 
[2026-04-22 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db317d9d0012d10ba00071e5cd0003100d81c..."} 
[2026-04-22 08:20:34] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db317d9d0012d10ba00071e5cd0003100d81c..."} 
[2026-04-22 08:20:34] local.INFO: Packet analysis {"connection_id":50982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db317"} 
[2026-04-22 08:20:34] local.INFO: Extracted packet for processing {"connection_id":50982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db317"} 
[2026-04-22 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756070912,"raw_latitude":119430352,"longitude_deg":75.6070912,"latitude_deg":11.9430352,"altitude":49,"angle":216,"satellites":28,"speed":52,"hex_longitude":"2d10ba00","hex_latitude":"071e5cd0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867499776001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113628032740098048,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210975749129613312,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776826178000,"timestamp_ms":1776826178000,"timestamp_seconds":1776826178,"priority":1,"record_length":96,"hex_timestamp":"0000019db317d9d0"} 
[2026-04-22 08: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-22 08:20:34] 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-22 08: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-22 08:20:34] 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-22 08: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-22 08: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-22 08:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867499776001,"66":14396,"201":206,"28":31744,"24":52,"16":113628032740098048,"45":1210975749129613312},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-04-22 08:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867499776001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:20:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-22 08:20:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113628032740098048,"km_value":113628032740098.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210975749129613312,"description":"Unknown IO ID 45"} 
[2026-04-22 08:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867499776001,"power":14396,"unknown_201":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":1210975749129613312}} 
[2026-04-22 08:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":50982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:20:34] local.INFO: GPS data processed {"connection_id":50982,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:20:34] local.INFO: Acknowledgment sent {"connection_id":50982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:20:37] local.INFO: TCP Data received {"connection_id":50983,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:20:37] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:20:37] local.INFO: IMEI packet received {"connection_id":50983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":50983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:20:38] local.INFO: TCP Data received {"connection_id":50983,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:20:38] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:20:38] local.INFO: Packet analysis {"connection_id":50983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:20:38] local.INFO: Extracted packet for processing {"connection_id":50983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:38] 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-22 08:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 08: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-22 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 08:20: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-22 08: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-22 08: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-22 08:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:20:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":50983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:20:38] local.INFO: GPS data processed {"connection_id":50983,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:20:38] local.INFO: Acknowledgment sent {"connection_id":50983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:20:42] local.INFO: TCP Data received {"connection_id":50983,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:20:42] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3140d28012d7f960005afd7d00000015620..."} 
[2026-04-22 08:20:42] local.INFO: Packet analysis {"connection_id":50983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:20:42] local.INFO: Extracted packet for processing {"connection_id":50983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db314"} 
[2026-04-22 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867360768001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:20:42] 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-22 08:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776825929000,"timestamp_ms":1776825929000,"timestamp_seconds":1776825929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3140d28"} 
[2026-04-22 08:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 08:20:42] 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-22 08:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:20:42] local.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-22 08:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867360768001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867360768001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:20:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867360768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":50983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:20:42] local.INFO: GPS data processed {"connection_id":50983,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:20:42] local.INFO: Acknowledgment sent {"connection_id":50983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:20:56] local.INFO: TCP Data received {"connection_id":50436,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:20:56] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:20:56] local.INFO: IMEI packet received {"connection_id":50436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":50436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:21:01] local.INFO: TCP Data received {"connection_id":50436,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:21:01] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:21:01] local.INFO: IMEI packet received {"connection_id":50436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":50436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:21:03] local.INFO: TCP Data received {"connection_id":50436,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3188d80012d1001c0071e48c8003001161d..."} 
[2026-04-22 08:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3188d80012d1001c0071e48c8003001161d..."} 
[2026-04-22 08:21:03] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3188d80012d1001c0071e48c8003001161d..."} 
[2026-04-22 08:21:03] local.INFO: Packet analysis {"connection_id":50436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:21:03] local.INFO: Extracted packet for processing {"connection_id":50436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756023744,"raw_latitude":119425224,"longitude_deg":75.6023744,"latitude_deg":11.9425224,"altitude":48,"angle":278,"satellites":29,"speed":49,"hex_longitude":"2d1001c0","hex_latitude":"071e48c8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867512832001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113630635490279424,"note":"Value kept but may cause issues"} 
[2026-04-22 08:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1155947391179161600,"note":"Value kept but may cause issues"} 
[2026-04-22 08:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776826224000,"timestamp_ms":1776826224000,"timestamp_seconds":1776826224,"priority":1,"record_length":96,"hex_timestamp":"0000019db3188d80"} 
[2026-04-22 08: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-22 08:21:03] 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-22 08: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 08:21:03] 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-22 08: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-22 08: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-22 08:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867512832001,"66":14004,"5":206,"28":31744,"24":49,"16":113630635490279424,"45":1155947391179161600},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-04-22 08:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867512832001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:21:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-22 08:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113630635490279424,"km_value":113630635490279.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1155947391179161600,"description":"Unknown IO ID 45"} 
[2026-04-22 08:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867512832001,"power":14004,"unknown_5":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":1155947391179161600}} 
[2026-04-22 08:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":50436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:21:03] local.INFO: GPS data processed {"connection_id":50436,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:21:03] local.INFO: Acknowledgment sent {"connection_id":50436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:21:27] local.INFO: TCP Data received {"connection_id":50301,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:21:27] local.INFO: Processing buffer {"connection_id":50301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:21:27] local.INFO: IMEI packet received {"connection_id":50301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:21:32] local.INFO: TCP Data received {"connection_id":50301,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:21:32] local.INFO: Processing buffer {"connection_id":50301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:21:32] local.INFO: IMEI packet received {"connection_id":50301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:21:33] local.INFO: TCP Data received {"connection_id":50301,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:21:33] local.INFO: Processing buffer {"connection_id":50301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:21:33] local.INFO: Packet analysis {"connection_id":50301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:21:33] local.INFO: Extracted packet for processing {"connection_id":50301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:21:33] 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-22 08:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 08: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-22 08:21: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:21: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-22 08: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-22 08: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-22 08:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:21:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":50301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:21:33] local.INFO: GPS data processed {"connection_id":50301,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:21:33] local.INFO: Acknowledgment sent {"connection_id":50301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:21:35] local.INFO: TCP Data received {"connection_id":50436,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3189550012d0ff780071e4908002f01081d..."} 
[2026-04-22 08:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3189550012d0ff780071e4908002f01081d..."} 
[2026-04-22 08:21:35] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3189550012d0ff780071e4908002f01081d..."} 
[2026-04-22 08:21:35] local.INFO: Packet analysis {"connection_id":50436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:21:35] local.INFO: Extracted packet for processing {"connection_id":50436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756021120,"raw_latitude":119425288,"longitude_deg":75.602112,"latitude_deg":11.9425288,"altitude":47,"angle":264,"satellites":29,"speed":50,"hex_longitude":"2d0ff780","hex_latitude":"071e4908","is_valid_coordinates":true} 
[2026-04-22 08:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867513344001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113630755749363712,"note":"Value kept but may cause issues"} 
[2026-04-22 08:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1153414116388947968,"note":"Value kept but may cause issues"} 
[2026-04-22 08:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776826226000,"timestamp_ms":1776826226000,"timestamp_seconds":1776826226,"priority":1,"record_length":96,"hex_timestamp":"0000019db3189550"} 
[2026-04-22 08:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 08:21:35] 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-22 08:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867513344001,"66":13993,"5":206,"28":31744,"24":50,"16":113630755749363712,"45":1153414116388947968},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-04-22 08:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867513344001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:21:35] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-22 08:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113630755749363712,"km_value":113630755749363.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1153414116388947968,"description":"Unknown IO ID 45"} 
[2026-04-22 08:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867513344001,"power":13993,"unknown_5":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1153414116388947968}} 
[2026-04-22 08:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":50436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:21:35] local.INFO: GPS data processed {"connection_id":50436,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:21:35] local.INFO: Acknowledgment sent {"connection_id":50436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:21:59] local.INFO: TCP Data received {"connection_id":50303,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:21:59] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:21:59] local.INFO: IMEI packet received {"connection_id":50303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":50303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:22:01] local.INFO: TCP Data received {"connection_id":50303,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:22:01] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:22:01] local.INFO: IMEI packet received {"connection_id":50303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":50303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:22:04] local.INFO: TCP Data received {"connection_id":50301,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:22:04] local.INFO: Processing buffer {"connection_id":50301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:22:04] local.INFO: Packet analysis {"connection_id":50301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:22:04] local.INFO: Extracted packet for processing {"connection_id":50301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22: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-22 08:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 08:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:22: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-22 08:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:22:04] 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-22 08:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:22:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:22:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":50301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:22:04] local.INFO: GPS data processed {"connection_id":50301,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:22:04] local.INFO: Acknowledgment sent {"connection_id":50301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:22:07] local.INFO: TCP Data received {"connection_id":50303,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:22:07] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:22:07] local.INFO: IMEI packet received {"connection_id":50303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":50303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:22:08] local.INFO: TCP Data received {"connection_id":50303,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3189d20012d0fedc0071e4710002e00fd1d..."} 
[2026-04-22 08:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3189d20012d0fedc0071e4710002e00fd1d..."} 
[2026-04-22 08:22:08] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3189d20012d0fedc0071e4710002e00fd1d..."} 
[2026-04-22 08:22:08] local.INFO: Packet analysis {"connection_id":50303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:22:08] local.INFO: Extracted packet for processing {"connection_id":50303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756018624,"raw_latitude":119424784,"longitude_deg":75.6018624,"latitude_deg":11.9424784,"altitude":46,"angle":253,"satellites":29,"speed":51,"hex_longitude":"2d0fedc0","hex_latitude":"071e4710","is_valid_coordinates":true} 
[2026-04-22 08:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867513856001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113630880303415296,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1150528997877680128,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776826228000,"timestamp_ms":1776826228000,"timestamp_seconds":1776826228,"priority":1,"record_length":96,"hex_timestamp":"0000019db3189d20"} 
[2026-04-22 08:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 08:22:08] 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-22 08:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867513856001,"66":14070,"5":206,"28":31744,"24":51,"16":113630880303415296,"45":1150528997877680128},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-04-22 08:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867513856001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:22:08] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-22 08:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113630880303415296,"km_value":113630880303415.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1150528997877680128,"description":"Unknown IO ID 45"} 
[2026-04-22 08:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867513856001,"power":14070,"unknown_5":206,"unknown_28":31744,"ignition":51,"odometer":null,"unknown_45":1150528997877680128}} 
[2026-04-22 08:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":50303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:22:09] local.INFO: GPS data processed {"connection_id":50303,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:22:09] local.INFO: Acknowledgment sent {"connection_id":50303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:22:09] local.INFO: TCP Data received {"connection_id":50303,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db318bc60012d0fc880071e39f0003000fe1d..."} 
[2026-04-22 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318bc60012d0fc880071e39f0003000fe1d..."} 
[2026-04-22 08:22:09] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318bc60012d0fc880071e39f0003000fe1d..."} 
[2026-04-22 08:22:09] local.INFO: Packet analysis {"connection_id":50303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:22:09] local.INFO: Extracted packet for processing {"connection_id":50303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756009088,"raw_latitude":119421424,"longitude_deg":75.6009088,"latitude_deg":11.9421424,"altitude":48,"angle":254,"satellites":29,"speed":50,"hex_longitude":"2d0fc880","hex_latitude":"071e39f0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514368001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113631361339752448,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1147784616854622208,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776826236000,"timestamp_ms":1776826236000,"timestamp_seconds":1776826236,"priority":1,"record_length":96,"hex_timestamp":"0000019db318bc60"} 
[2026-04-22 08: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-22 08:22:09] 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-22 08: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 08:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514368001,"66":14428,"5":206,"28":31744,"24":50,"16":113631361339752448,"45":1147784616854622208},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-04-22 08:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514368001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:22:09] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-22 08:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113631361339752448,"km_value":113631361339752.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1147784616854622208,"description":"Unknown IO ID 45"} 
[2026-04-22 08:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514368001,"power":14428,"unknown_5":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1147784616854622208}} 
[2026-04-22 08:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":50303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:22:10] local.INFO: GPS data processed {"connection_id":50303,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:22:10] local.INFO: Acknowledgment sent {"connection_id":50303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:22:27] local.INFO: TCP Data received {"connection_id":50045,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:22:27] local.INFO: Processing buffer {"connection_id":50045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:22:27] local.INFO: IMEI packet received {"connection_id":50045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:22:32] local.INFO: TCP Data received {"connection_id":50045,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:22:32] local.INFO: Processing buffer {"connection_id":50045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:22:32] local.INFO: IMEI packet received {"connection_id":50045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:22:33] local.INFO: TCP Data received {"connection_id":50045,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:22:33] local.INFO: Processing buffer {"connection_id":50045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:22:33] local.INFO: Packet analysis {"connection_id":50045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:22:33] local.INFO: Extracted packet for processing {"connection_id":50045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:33] 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-22 08:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 08: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-22 08:22: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:22: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-22 08: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-22 08: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-22 08:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:22:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":50045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:22:33] local.INFO: GPS data processed {"connection_id":50045,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:22:33] local.INFO: Acknowledgment sent {"connection_id":50045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:22:41] local.INFO: TCP Data received {"connection_id":50303,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db319f4e0012d0e6880071de020002200f41d..."} 
[2026-04-22 08:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db319f4e0012d0e6880071de020002200f41d..."} 
[2026-04-22 08:22:41] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db319f4e0012d0e6880071de020002200f41d..."} 
[2026-04-22 08:22:41] local.INFO: Packet analysis {"connection_id":50303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db319"} 
[2026-04-22 08:22:41] local.INFO: Extracted packet for processing {"connection_id":50303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db319"} 
[2026-04-22 08:22:41] local.INFO: GPS Element Parsed {"raw_longitude":755918976,"raw_latitude":119398432,"longitude_deg":75.5918976,"latitude_deg":11.9398432,"altitude":34,"angle":244,"satellites":29,"speed":41,"hex_longitude":"2d0e6880","hex_latitude":"071de020","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867534848001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113635956954759168,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047157312674805760,"note":"Value kept but may cause issues"} 
[2026-04-22 08:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776826316000,"timestamp_ms":1776826316000,"timestamp_seconds":1776826316,"priority":1,"record_length":96,"hex_timestamp":"0000019db319f4e0"} 
[2026-04-22 08: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-22 08:22:41] 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-22 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 08:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867534848001,"66":14450,"44":206,"28":31744,"24":41,"16":113635956954759168,"45":1047157312674805760},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-04-22 08:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867534848001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-04-22 08:22:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113635956954759168,"km_value":113635956954759.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047157312674805760,"description":"Unknown IO ID 45"} 
[2026-04-22 08:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867534848001,"power":14450,"unknown_44":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1047157312674805760}} 
[2026-04-22 08:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":50303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:22:41] local.INFO: GPS data processed {"connection_id":50303,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:22:41] local.INFO: Acknowledgment sent {"connection_id":50303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:22:56] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:22:56] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:22:56] local.INFO: IMEI packet received {"connection_id":50437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":50437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:23:01] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:23:01] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:23:01] local.INFO: IMEI packet received {"connection_id":50437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":50437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:23:01] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31a1808012d0e44c0071dcf60002100f71d..."} 
[2026-04-22 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31a1808012d0e44c0071dcf60002100f71d..."} 
[2026-04-22 08:23:01] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31a1808012d0e44c0071dcf60002100f71d..."} 
[2026-04-22 08:23:01] local.INFO: Packet analysis {"connection_id":50437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31a"} 
[2026-04-22 08:23:01] local.INFO: Extracted packet for processing {"connection_id":50437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31a"} 
[2026-04-22 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":755909824,"raw_latitude":119394144,"longitude_deg":75.5909824,"latitude_deg":11.9394144,"altitude":33,"angle":247,"satellites":29,"speed":47,"hex_longitude":"2d0e44c0","hex_latitude":"071dcf60","is_valid_coordinates":true} 
[2026-04-22 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-22 08:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867536896001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113636437991096320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1038220482163253248,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776826325000,"timestamp_ms":1776826325000,"timestamp_seconds":1776826325,"priority":1,"record_length":96,"hex_timestamp":"0000019db31a1808"} 
[2026-04-22 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-22 08:23:01] 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-22 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-04-22 08:23:01] 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-22 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-22 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-22 08:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":50437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867536896001,"66":14374,"44":206,"28":31744,"24":47,"16":113636437991096320,"45":1038220482163253248},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-04-22 08:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867536896001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-04-22 08:23:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113636437991096320,"km_value":113636437991096.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1038220482163253248,"description":"Unknown IO ID 45"} 
[2026-04-22 08:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867536896001,"power":14374,"unknown_44":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1038220482163253248}} 
[2026-04-22 08:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":50437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:23:02] local.INFO: GPS data processed {"connection_id":50437,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:23:02] local.INFO: Acknowledgment sent {"connection_id":50437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:23:04] local.INFO: TCP Data received {"connection_id":50045,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:23:04] local.INFO: Processing buffer {"connection_id":50045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:23:04] local.INFO: Packet analysis {"connection_id":50045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:23:04] local.INFO: Extracted packet for processing {"connection_id":50045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23: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-22 08:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 08:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:23: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-22 08:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:23:04] 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-22 08:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:23:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":50045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:23:04] local.INFO: GPS data processed {"connection_id":50045,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:23:04] local.INFO: Acknowledgment sent {"connection_id":50045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:23:27] local.INFO: TCP Data received {"connection_id":50304,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:23:27] local.INFO: Processing buffer {"connection_id":50304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:23:27] local.INFO: IMEI packet received {"connection_id":50304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":50304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:23:32] local.INFO: TCP Data received {"connection_id":50304,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:23:32] local.INFO: Processing buffer {"connection_id":50304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:23:32] local.INFO: IMEI packet received {"connection_id":50304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:23:32] local.INFO: TCP Data received {"connection_id":50304,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:23:32] local.INFO: Processing buffer {"connection_id":50304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:23:32] local.INFO: Packet analysis {"connection_id":50304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:23:32] local.INFO: Extracted packet for processing {"connection_id":50304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23: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-22 08:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 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-22 08:23: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:23: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-22 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-22 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-22 08:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:23:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":50304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:23:32] local.INFO: GPS data processed {"connection_id":50304,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:23:32] local.INFO: Acknowledgment sent {"connection_id":50304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:23:33] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31a3748012d0e2380071dbe60002200ed1c..."} 
[2026-04-22 08:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31a3748012d0e2380071dbe60002200ed1c..."} 
[2026-04-22 08:23:33] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31a3748012d0e2380071dbe60002200ed1c..."} 
[2026-04-22 08:23:33] local.INFO: Packet analysis {"connection_id":50437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31a"} 
[2026-04-22 08:23:33] local.INFO: Extracted packet for processing {"connection_id":50437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31a"} 
[2026-04-22 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":755901312,"raw_latitude":119389792,"longitude_deg":75.5901312,"latitude_deg":11.9389792,"altitude":34,"angle":237,"satellites":28,"speed":43,"hex_longitude":"2d0e2380","hex_latitude":"071dbe60","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867539200001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1028157751744749568,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113636893257629696,"note":"Value kept but may cause issues"} 
[2026-04-22 08:23:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 08:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776826333000,"timestamp_ms":1776826333000,"timestamp_seconds":1776826333,"priority":1,"record_length":96,"hex_timestamp":"0000019db31a3748"} 
[2026-04-22 08: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-22 08:23:33] 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-22 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 08:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867539200001,"66":13928,"45":1028157751744749568,"28":31744,"24":43,"16":113636893257629696},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-04-22 08:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867539200001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1028157751744749568,"description":"Unknown IO ID 45"} 
[2026-04-22 08:23:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113636893257629696,"km_value":113636893257629.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:23:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454867539200001,"power":13928,"unknown_45":1028157751744749568,"unknown_28":31744,"ignition":43,"odometer":null}} 
[2026-04-22 08:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:23:33] local.INFO: GPS data processed {"connection_id":50437,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:23:33] local.INFO: Acknowledgment sent {"connection_id":50437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:23:57] local.INFO: TCP Data received {"connection_id":50986,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:23:57] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:23:57] local.INFO: IMEI packet received {"connection_id":50986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":50986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:24:01] local.INFO: TCP Data received {"connection_id":50986,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:24:01] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:24:01] local.INFO: IMEI packet received {"connection_id":50986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":50986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:24:03] local.INFO: TCP Data received {"connection_id":50986,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31a4ad0012d0e1240071db130002400e11b..."} 
[2026-04-22 08:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31a4ad0012d0e1240071db130002400e11b..."} 
[2026-04-22 08:24:03] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31a4ad0012d0e1240071db130002400e11b..."} 
[2026-04-22 08:24:03] local.INFO: Packet analysis {"connection_id":50986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31a"} 
[2026-04-22 08:24:03] local.INFO: Extracted packet for processing {"connection_id":50986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31a"} 
[2026-04-22 08:24:03] local.INFO: GPS Element Parsed {"raw_longitude":755896896,"raw_latitude":119386416,"longitude_deg":75.5896896,"latitude_deg":11.9386416,"altitude":36,"angle":225,"satellites":27,"speed":44,"hex_longitude":"2d0e1240","hex_latitude":"071db130","is_valid_coordinates":true} 
[2026-04-22 08:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867541248001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1018798708768006144,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113637159545602048,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 08:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776826338000,"timestamp_ms":1776826338000,"timestamp_seconds":1776826338,"priority":1,"record_length":96,"hex_timestamp":"0000019db31a4ad0"} 
[2026-04-22 08:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:24:03] 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-22 08:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 08:24:03] 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-22 08:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867541248001,"66":14070,"45":1018798708768006144,"28":31744,"24":44,"16":113637159545602048},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-04-22 08:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867541248001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1018798708768006144,"description":"Unknown IO ID 45"} 
[2026-04-22 08:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113637159545602048,"km_value":113637159545602.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:24:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454867541248001,"power":14070,"unknown_45":1018798708768006144,"unknown_28":31744,"ignition":44,"odometer":null}} 
[2026-04-22 08:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":50986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:24:03] local.INFO: GPS data processed {"connection_id":50986,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:24:03] local.INFO: Acknowledgment sent {"connection_id":50986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:24:03] local.INFO: TCP Data received {"connection_id":50304,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:24:04] local.INFO: Processing buffer {"connection_id":50304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:24:04] local.INFO: Packet analysis {"connection_id":50304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:24:04] local.INFO: Extracted packet for processing {"connection_id":50304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24: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-22 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 08:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:24: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-22 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:24:04] 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-22 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:24:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:24:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":50304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:24:04] local.INFO: GPS data processed {"connection_id":50304,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:24:04] local.INFO: Acknowledgment sent {"connection_id":50304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:24:20] local.INFO: TCP Data received {"connection_id":50986,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31a6a10012d0dfa40071d94a8002400db1c..."} 
[2026-04-22 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31a6a10012d0dfa40071d94a8002400db1c..."} 
[2026-04-22 08:24:20] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31a6a10012d0dfa40071d94a8002400db1c..."} 
[2026-04-22 08:24:20] local.INFO: Packet analysis {"connection_id":50986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31a"} 
[2026-04-22 08:24:20] local.INFO: Extracted packet for processing {"connection_id":50986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31a"} 
[2026-04-22 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":755890752,"raw_latitude":119379112,"longitude_deg":75.5890752,"latitude_deg":11.9379112,"altitude":36,"angle":219,"satellites":28,"speed":49,"hex_longitude":"2d0dfa40","hex_latitude":"071d94a8","is_valid_coordinates":true} 
[2026-04-22 08:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867542528001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013943265418883072,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113637619107102720,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 08:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776826346000,"timestamp_ms":1776826346000,"timestamp_seconds":1776826346,"priority":1,"record_length":96,"hex_timestamp":"0000019db31a6a10"} 
[2026-04-22 08:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:24:20] 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-22 08:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 08:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867542528001,"66":14048,"45":1013943265418883072,"28":31744,"24":49,"16":113637619107102720},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-04-22 08:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867542528001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013943265418883072,"description":"Unknown IO ID 45"} 
[2026-04-22 08:24:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113637619107102720,"km_value":113637619107102.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:24:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454867542528001,"power":14048,"unknown_45":1013943265418883072,"unknown_28":31744,"ignition":49,"odometer":null}} 
[2026-04-22 08:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":50986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:24:20] local.INFO: GPS data processed {"connection_id":50986,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:24:20] local.INFO: Acknowledgment sent {"connection_id":50986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:24:26] local.INFO: TCP Data received {"connection_id":50438,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:24:26] local.INFO: Processing buffer {"connection_id":50438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:24:26] local.INFO: IMEI packet received {"connection_id":50438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":50438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:24:32] local.INFO: TCP Data received {"connection_id":50438,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:24:32] local.INFO: Processing buffer {"connection_id":50438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:24:32] local.INFO: IMEI packet received {"connection_id":50438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:24:33] local.INFO: TCP Data received {"connection_id":50438,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:24:33] local.INFO: Processing buffer {"connection_id":50438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:24:33] local.INFO: Packet analysis {"connection_id":50438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:24:33] local.INFO: Extracted packet for processing {"connection_id":50438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:24:33] 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-22 08:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 08: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-22 08:24: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:24: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-22 08: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-22 08: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-22 08:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:24:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":50438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:24:33] local.INFO: GPS data processed {"connection_id":50438,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:24:33] local.INFO: Acknowledgment sent {"connection_id":50438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:24:56] local.INFO: TCP Data received {"connection_id":50306,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:24:56] local.INFO: Processing buffer {"connection_id":50306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:24:56] local.INFO: IMEI packet received {"connection_id":50306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":50306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:25:02] local.INFO: TCP Data received {"connection_id":50306,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:25:02] local.INFO: Processing buffer {"connection_id":50306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:25:02] local.INFO: IMEI packet received {"connection_id":50306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":50306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:25:03] local.INFO: TCP Data received {"connection_id":50306,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31bba00012d0cc100071cad60003301041f..."} 
[2026-04-22 08:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31bba00012d0cc100071cad60003301041f..."} 
[2026-04-22 08:25:03] local.INFO: Processing buffer {"connection_id":50306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31bba00012d0cc100071cad60003301041f..."} 
[2026-04-22 08:25:03] local.INFO: Packet analysis {"connection_id":50306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31b"} 
[2026-04-22 08:25:03] local.INFO: Extracted packet for processing {"connection_id":50306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31b"} 
[2026-04-22 08:25:03] local.INFO: GPS Element Parsed {"raw_longitude":755810560,"raw_latitude":119319904,"longitude_deg":75.581056,"latitude_deg":11.9319904,"altitude":51,"angle":260,"satellites":31,"speed":44,"hex_longitude":"2d0cc100","hex_latitude":"071cad60","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867565312001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113642459535245312,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":924926804017504256,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 08:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776826432000,"timestamp_ms":1776826432000,"timestamp_seconds":1776826432,"priority":1,"record_length":96,"hex_timestamp":"0000019db31bba00"} 
[2026-04-22 08: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-22 08:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 08:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867565312001,"66":14048,"28":31744,"24":44,"16":113642459535245312,"45":924926804017504256},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,24,16,45]} 
[2026-04-22 08:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867565312001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:25:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113642459535245312,"km_value":113642459535245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":924926804017504256,"description":"Unknown IO ID 45"} 
[2026-04-22 08:25:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454867565312001,"power":14048,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":924926804017504256}} 
[2026-04-22 08:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":50306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:25:04] local.INFO: GPS data processed {"connection_id":50306,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:25:04] local.INFO: Acknowledgment sent {"connection_id":50306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:25:04] local.INFO: TCP Data received {"connection_id":50438,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:25:04] local.INFO: Processing buffer {"connection_id":50438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:25:04] local.INFO: Packet analysis {"connection_id":50438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:25:04] local.INFO: Extracted packet for processing {"connection_id":50438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25: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-22 08:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 08: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-22 08:25: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:25:04] 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-22 08:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:25:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":50438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:25:04] local.INFO: GPS data processed {"connection_id":50438,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:25:04] local.INFO: Acknowledgment sent {"connection_id":50438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:25:17] local.INFO: TCP Data received {"connection_id":50305,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:25:17] local.INFO: Processing buffer {"connection_id":50305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:25:17] local.INFO: IMEI packet received {"connection_id":50305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":50305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:25:32] local.INFO: TCP Data received {"connection_id":50439,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:25:32] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:25:32] local.INFO: IMEI packet received {"connection_id":50439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:25:36] local.INFO: TCP Data received {"connection_id":50306,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31bcd88012d0caa00071cac88003301111f..."} 
[2026-04-22 08:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31bcd88012d0caa00071cac88003301111f..."} 
[2026-04-22 08:25:36] local.INFO: Processing buffer {"connection_id":50306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31bcd88012d0caa00071cac88003301111f..."} 
[2026-04-22 08:25:36] local.INFO: Packet analysis {"connection_id":50306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31b"} 
[2026-04-22 08:25:36] local.INFO: Extracted packet for processing {"connection_id":50306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31b"} 
[2026-04-22 08:25:36] local.INFO: GPS Element Parsed {"raw_longitude":755804672,"raw_latitude":119319688,"longitude_deg":75.5804672,"latitude_deg":11.9319688,"altitude":51,"angle":273,"satellites":31,"speed":47,"hex_longitude":"2d0caa00","hex_latitude":"071cac88","is_valid_coordinates":true} 
[2026-04-22 08:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867566592001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113642738708119552,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":919015829506187264,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 08:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776826437000,"timestamp_ms":1776826437000,"timestamp_seconds":1776826437,"priority":1,"record_length":96,"hex_timestamp":"0000019db31bcd88"} 
[2026-04-22 08:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 08:25:36] 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-22 08:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867566592001,"66":14070,"28":31744,"24":47,"16":113642738708119552,"45":919015829506187264},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,24,16,45]} 
[2026-04-22 08:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867566592001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113642738708119552,"km_value":113642738708119.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":919015829506187264,"description":"Unknown IO ID 45"} 
[2026-04-22 08:25:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454867566592001,"power":14070,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":919015829506187264}} 
[2026-04-22 08:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":50306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:25:36] local.INFO: GPS data processed {"connection_id":50306,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:25:36] local.INFO: Acknowledgment sent {"connection_id":50306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:25:37] local.INFO: TCP Data received {"connection_id":50439,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:25:37] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:25:37] local.INFO: IMEI packet received {"connection_id":50439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":50439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:25:38] local.INFO: TCP Data received {"connection_id":50439,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:25:38] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:25:38] local.INFO: Packet analysis {"connection_id":50439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:25:38] local.INFO: Extracted packet for processing {"connection_id":50439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:38] 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-22 08:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 08:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:25:38] 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-22 08:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:25:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:25:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":50439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:25:38] local.INFO: GPS data processed {"connection_id":50439,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:25:38] local.INFO: Acknowledgment sent {"connection_id":50439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:25:42] local.INFO: TCP Data received {"connection_id":50439,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:25:42] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db318a4f0012d7f960005afd7d00000015620..."} 
[2026-04-22 08:25:42] local.INFO: Packet analysis {"connection_id":50439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:25:42] local.INFO: Extracted packet for processing {"connection_id":50439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db318"} 
[2026-04-22 08:25:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867437824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:25:42] 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-22 08:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776826230000,"timestamp_ms":1776826230000,"timestamp_seconds":1776826230,"priority":1,"record_length":96,"hex_timestamp":"0000019db318a4f0"} 
[2026-04-22 08:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:25:42] 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-22 08:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:25:42] 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-22 08:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867437824001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867437824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:25:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867437824001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":50439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:25:42] local.INFO: GPS data processed {"connection_id":50439,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:25:42] local.INFO: Acknowledgment sent {"connection_id":50439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:25:52] local.INFO: TCP Data received {"connection_id":50046,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:25:52] local.INFO: Processing buffer {"connection_id":50046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:25:52] local.INFO: IMEI packet received {"connection_id":50046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":50046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:25:56] local.INFO: TCP Data received {"connection_id":50440,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:25:56] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:25:56] local.INFO: IMEI packet received {"connection_id":50440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":50440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:25:58] local.INFO: TCP Data received {"connection_id":50440,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:25:58] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:25:58] local.INFO: IMEI packet received {"connection_id":50440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":50440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:26:05] local.INFO: TCP Data received {"connection_id":50440,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:26:05] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:26:05] local.INFO: IMEI packet received {"connection_id":50440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":50440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:26:06] local.INFO: TCP Data received {"connection_id":50440,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31cfa50012d0b7240071c9be0003500f31e..."} 
[2026-04-22 08:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31cfa50012d0b7240071c9be0003500f31e..."} 
[2026-04-22 08:26:06] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31cfa50012d0b7240071c9be0003500f31e..."} 
[2026-04-22 08:26:06] local.INFO: Packet analysis {"connection_id":50440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31c"} 
[2026-04-22 08:26:06] local.INFO: Extracted packet for processing {"connection_id":50440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31c"} 
[2026-04-22 08:26:06] local.INFO: GPS Element Parsed {"raw_longitude":755724864,"raw_latitude":119315424,"longitude_deg":75.5724864,"latitude_deg":11.9315424,"altitude":53,"angle":243,"satellites":30,"speed":13,"hex_longitude":"2d0b7240","hex_latitude":"071c9be0","is_valid_coordinates":true} 
[2026-04-22 08:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867586304001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113646621358555136,"note":"Value kept but may cause issues"} 
[2026-04-22 08:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826340193423370240,"note":"Value kept but may cause issues"} 
[2026-04-22 08:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776826514000,"timestamp_ms":1776826514000,"timestamp_seconds":1776826514,"priority":1,"record_length":96,"hex_timestamp":"0000019db31cfa50"} 
[2026-04-22 08:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-04-22 08:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867586304001,"66":14113,"252":206,"28":31744,"24":13,"16":113646621358555136,"45":826340193423370240},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,28,24,16,45]} 
[2026-04-22 08:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867586304001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:26:06] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-22 08:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113646621358555136,"km_value":113646621358555.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":826340193423370240,"description":"Unknown IO ID 45"} 
[2026-04-22 08:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867586304001,"power":14113,"unknown_252":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":826340193423370240}} 
[2026-04-22 08:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":50440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:26:06] local.INFO: GPS data processed {"connection_id":50440,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:26:06] local.INFO: Acknowledgment sent {"connection_id":50440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:26:27] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:26:27] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:26:27] local.INFO: IMEI packet received {"connection_id":50307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:26:32] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:26:32] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:26:32] local.INFO: IMEI packet received {"connection_id":50307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:26:33] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:26:33] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:26:33] local.INFO: Packet analysis {"connection_id":50307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:26:33] local.INFO: Extracted packet for processing {"connection_id":50307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:26:33] 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-22 08:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 08: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-22 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:26: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-22 08: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-22 08: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-22 08:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:26:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:26:33] local.INFO: GPS data processed {"connection_id":50307,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:26:33] local.INFO: Acknowledgment sent {"connection_id":50307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:26:38] local.INFO: TCP Data received {"connection_id":50440,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31cfe38012d0b7100071c9b90003601021d..."} 
[2026-04-22 08:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31cfe38012d0b7100071c9b90003601021d..."} 
[2026-04-22 08:26:38] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31cfe38012d0b7100071c9b90003601021d..."} 
[2026-04-22 08:26:38] local.INFO: Packet analysis {"connection_id":50440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31c"} 
[2026-04-22 08:26:38] local.INFO: Extracted packet for processing {"connection_id":50440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31c"} 
[2026-04-22 08:26:38] local.INFO: GPS Element Parsed {"raw_longitude":755724544,"raw_latitude":119315344,"longitude_deg":75.5724544,"latitude_deg":11.9315344,"altitude":54,"angle":258,"satellites":29,"speed":10,"hex_longitude":"2d0b7100","hex_latitude":"071c9b90","is_valid_coordinates":true} 
[2026-04-22 08:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867587584001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113646634243457024,"note":"Value kept but may cause issues"} 
[2026-04-22 08:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824792081051148288,"note":"Value kept but may cause issues"} 
[2026-04-22 08:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776826515000,"timestamp_ms":1776826515000,"timestamp_seconds":1776826515,"priority":1,"record_length":96,"hex_timestamp":"0000019db31cfe38"} 
[2026-04-22 08:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-22 08:26:38] 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-22 08:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867587584001,"66":14580,"252":206,"28":31744,"24":10,"16":113646634243457024,"45":824792081051148288},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,28,24,16,45]} 
[2026-04-22 08:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867587584001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:26:38] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-22 08:26:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113646634243457024,"km_value":113646634243457.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":824792081051148288,"description":"Unknown IO ID 45"} 
[2026-04-22 08:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867587584001,"power":14580,"unknown_252":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":824792081051148288}} 
[2026-04-22 08:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":50440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:26:38] local.INFO: GPS data processed {"connection_id":50440,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:26:38] local.INFO: Acknowledgment sent {"connection_id":50440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:26:56] local.INFO: TCP Data received {"connection_id":50047,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:26:57] local.INFO: Processing buffer {"connection_id":50047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:26:57] local.INFO: IMEI packet received {"connection_id":50047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":50047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:27:01] local.INFO: TCP Data received {"connection_id":50047,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:27:02] local.INFO: Processing buffer {"connection_id":50047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:27:02] local.INFO: IMEI packet received {"connection_id":50047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":50047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:27:02] local.INFO: TCP Data received {"connection_id":50047,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:27:02] local.INFO: Processing buffer {"connection_id":50047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:27:02] local.INFO: IMEI packet received {"connection_id":50047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":50047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:27:03] local.INFO: TCP Data received {"connection_id":50047,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d0220012d0b7000071c9ba8003601171d..."} 
[2026-04-22 08:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d0220012d0b7000071c9ba8003601171d..."} 
[2026-04-22 08:27:03] local.INFO: Processing buffer {"connection_id":50047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d0220012d0b7000071c9ba8003601171d..."} 
[2026-04-22 08:27:03] local.INFO: Packet analysis {"connection_id":50047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:27:03] local.INFO: Extracted packet for processing {"connection_id":50047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:27:03] local.INFO: GPS Element Parsed {"raw_longitude":755724288,"raw_latitude":119315368,"longitude_deg":75.5724288,"latitude_deg":11.9315368,"altitude":54,"angle":279,"satellites":29,"speed":14,"hex_longitude":"2d0b7000","hex_latitude":"071c9ba8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867587840001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113646651423326208,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824440237330239488,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776826516000,"timestamp_ms":1776826516000,"timestamp_seconds":1776826516,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d0220"} 
[2026-04-22 08: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-22 08:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-04-22 08:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867587840001,"66":14580,"252":206,"28":31744,"24":14,"16":113646651423326208,"45":824440237330239488},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,28,24,16,45]} 
[2026-04-22 08:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867587840001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:27:03] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-22 08:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113646651423326208,"km_value":113646651423326.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":824440237330239488,"description":"Unknown IO ID 45"} 
[2026-04-22 08:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867587840001,"power":14580,"unknown_252":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":824440237330239488}} 
[2026-04-22 08:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":50047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:27:03] local.INFO: GPS data processed {"connection_id":50047,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:27:03] local.INFO: Acknowledgment sent {"connection_id":50047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:27:04] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:27:04] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:27:04] local.INFO: Packet analysis {"connection_id":50307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:27:04] local.INFO: Extracted packet for processing {"connection_id":50307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27: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-22 08:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 08:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:27:04] 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-22 08:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:27:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:27:04] local.INFO: GPS data processed {"connection_id":50307,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:27:04] local.INFO: Acknowledgment sent {"connection_id":50307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:27:09] local.INFO: TCP Data received {"connection_id":50047,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d0608012d0b6e80071c9c38003601261d..."} 
[2026-04-22 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d0608012d0b6e80071c9c38003601261d..."} 
[2026-04-22 08:27:09] local.INFO: Processing buffer {"connection_id":50047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d0608012d0b6e80071c9c38003601261d..."} 
[2026-04-22 08:27:09] local.INFO: Packet analysis {"connection_id":50047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:27:09] local.INFO: Extracted packet for processing {"connection_id":50047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:27:09] local.INFO: GPS Element Parsed {"raw_longitude":755723904,"raw_latitude":119315512,"longitude_deg":75.5723904,"latitude_deg":11.9315512,"altitude":54,"angle":294,"satellites":29,"speed":17,"hex_longitude":"2d0b6e80","hex_latitude":"071c9c38","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867588096001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113646668603195392,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824158762353534976,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776826517000,"timestamp_ms":1776826517000,"timestamp_seconds":1776826517,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d0608"} 
[2026-04-22 08: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-22 08:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-04-22 08:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867588096001,"66":14548,"252":206,"28":31744,"24":17,"16":113646668603195392,"45":824158762353534976},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,28,24,16,45]} 
[2026-04-22 08:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867588096001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:27:09] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-22 08:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113646668603195392,"km_value":113646668603195.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":824158762353534976,"description":"Unknown IO ID 45"} 
[2026-04-22 08:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867588096001,"power":14548,"unknown_252":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":824158762353534976}} 
[2026-04-22 08:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":50047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:27:09] local.INFO: GPS data processed {"connection_id":50047,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:27:09] local.INFO: Acknowledgment sent {"connection_id":50047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:27:27] local.INFO: TCP Data received {"connection_id":50988,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:27:27] local.INFO: Processing buffer {"connection_id":50988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:27:27] local.INFO: IMEI packet received {"connection_id":50988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":50988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:27:32] local.INFO: TCP Data received {"connection_id":50988,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:27:32] local.INFO: Processing buffer {"connection_id":50988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:27:32] local.INFO: IMEI packet received {"connection_id":50988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:27:32] local.INFO: TCP Data received {"connection_id":50988,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:27:32] local.INFO: Processing buffer {"connection_id":50988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:27:32] local.INFO: Packet analysis {"connection_id":50988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:27:32] local.INFO: Extracted packet for processing {"connection_id":50988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27: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-22 08:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 08: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-22 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":50988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:27:32] local.INFO: GPS data processed {"connection_id":50988,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:27:32] local.INFO: Acknowledgment sent {"connection_id":50988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:27:43] local.INFO: TCP Data received {"connection_id":50047,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31e7920012d09f100071c4780003701071d..."} 
[2026-04-22 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31e7920012d09f100071c4780003701071d..."} 
[2026-04-22 08:27:43] local.INFO: Processing buffer {"connection_id":50047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31e7920012d09f100071c4780003701071d..."} 
[2026-04-22 08:27:43] local.INFO: Packet analysis {"connection_id":50047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31e"} 
[2026-04-22 08:27:43] local.INFO: Extracted packet for processing {"connection_id":50047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31e"} 
[2026-04-22 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":755626240,"raw_latitude":119293824,"longitude_deg":75.562624,"latitude_deg":11.9293824,"altitude":55,"angle":263,"satellites":29,"speed":36,"hex_longitude":"2d09f100","hex_latitude":"071c4780","is_valid_coordinates":true} 
[2026-04-22 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867611136001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113651448901795840,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":722053714546700288,"note":"Value kept but may cause issues"} 
[2026-04-22 08:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776826612000,"timestamp_ms":1776826612000,"timestamp_seconds":1776826612,"priority":1,"record_length":96,"hex_timestamp":"0000019db31e7920"} 
[2026-04-22 08:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:27:43] 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-22 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 08:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867611136001,"66":14048,"252":206,"28":31744,"24":36,"16":113651448901795840,"45":722053714546700288},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,28,24,16,45]} 
[2026-04-22 08:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867611136001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:27:43] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-22 08:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113651448901795840,"km_value":113651448901795.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":722053714546700288,"description":"Unknown IO ID 45"} 
[2026-04-22 08:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867611136001,"power":14048,"unknown_252":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":722053714546700288}} 
[2026-04-22 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":50047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:27:43] local.INFO: GPS data processed {"connection_id":50047,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:27:43] local.INFO: Acknowledgment sent {"connection_id":50047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:28:02] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:02] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:02] local.INFO: IMEI packet received {"connection_id":50989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":50989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:28:03] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:03] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:03] local.INFO: IMEI packet received {"connection_id":50989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":50989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:28:03] local.INFO: TCP Data received {"connection_id":50988,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:28:03] local.INFO: Processing buffer {"connection_id":50988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:28:03] local.INFO: Packet analysis {"connection_id":50988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:28:03] local.INFO: Extracted packet for processing {"connection_id":50988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28: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-22 08:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 08:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:28:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:28:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":50988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:28:03] local.INFO: GPS data processed {"connection_id":50988,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:28:03] local.INFO: Acknowledgment sent {"connection_id":50988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:28:07] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:07] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:07] local.INFO: IMEI packet received {"connection_id":50989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":50989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:28:08] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31e80f0012d09e9c0071c47c0003901141d..."} 
[2026-04-22 08:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31e80f0012d09e9c0071c47c0003901141d..."} 
[2026-04-22 08:28:08] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31e80f0012d09e9c0071c47c0003901141d..."} 
[2026-04-22 08:28:08] local.INFO: Packet analysis {"connection_id":50989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31e"} 
[2026-04-22 08:28:08] local.INFO: Extracted packet for processing {"connection_id":50989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31e"} 
[2026-04-22 08:28:08] local.INFO: GPS Element Parsed {"raw_longitude":755624384,"raw_latitude":119293888,"longitude_deg":75.5624384,"latitude_deg":11.9293888,"altitude":57,"angle":276,"satellites":29,"speed":35,"hex_longitude":"2d09e9c0","hex_latitude":"071c47c0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867612672001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113651534801141760,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716353846267838464,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776826614000,"timestamp_ms":1776826614000,"timestamp_seconds":1776826614,"priority":1,"record_length":96,"hex_timestamp":"0000019db31e80f0"} 
[2026-04-22 08: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-22 08:28:08] 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-22 08: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 08:28:08] 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-22 08: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-22 08: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-22 08:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867612672001,"66":14004,"252":206,"28":31744,"24":35,"16":113651534801141760,"45":716353846267838464},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,28,24,16,45]} 
[2026-04-22 08:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867612672001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:28:08] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-22 08:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113651534801141760,"km_value":113651534801141.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":716353846267838464,"description":"Unknown IO ID 45"} 
[2026-04-22 08:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867612672001,"power":14004,"unknown_252":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":716353846267838464}} 
[2026-04-22 08:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":50989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:28:08] local.INFO: GPS data processed {"connection_id":50989,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:28:08] local.INFO: Acknowledgment sent {"connection_id":50989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:28:09] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31e9860012d09d600071c49c8003e01071e..."} 
[2026-04-22 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31e9860012d09d600071c49c8003e01071e..."} 
[2026-04-22 08:28:09] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31e9860012d09d600071c49c8003e01071e..."} 
[2026-04-22 08:28:09] local.INFO: Packet analysis {"connection_id":50989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31e"} 
[2026-04-22 08:28:09] local.INFO: Extracted packet for processing {"connection_id":50989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31e"} 
[2026-04-22 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":755619328,"raw_latitude":119294408,"longitude_deg":75.5619328,"latitude_deg":11.9294408,"altitude":62,"angle":263,"satellites":30,"speed":33,"hex_longitude":"2d09d600","hex_latitude":"071c49c8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867613184001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113651775319310336,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714313152686702592,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776826620000,"timestamp_ms":1776826620000,"timestamp_seconds":1776826620,"priority":1,"record_length":96,"hex_timestamp":"0000019db31e9860"} 
[2026-04-22 08: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-22 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 08:28:09] 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-22 08: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-22 08: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-22 08:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867613184001,"66":14070,"252":206,"28":31744,"24":33,"16":113651775319310336,"45":714313152686702592},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,28,24,16,45]} 
[2026-04-22 08:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867613184001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:28:09] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-22 08:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113651775319310336,"km_value":113651775319310.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":714313152686702592,"description":"Unknown IO ID 45"} 
[2026-04-22 08:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867613184001,"power":14070,"unknown_252":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":714313152686702592}} 
[2026-04-22 08:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":50989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:28:10] local.INFO: GPS data processed {"connection_id":50989,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:28:10] local.INFO: Acknowledgment sent {"connection_id":50989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:28:26] local.INFO: TCP Data received {"connection_id":50990,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:28:26] local.INFO: Processing buffer {"connection_id":50990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:28:26] local.INFO: IMEI packet received {"connection_id":50990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":50990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:28:32] local.INFO: TCP Data received {"connection_id":50990,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:28:32] local.INFO: Processing buffer {"connection_id":50990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:28:32] local.INFO: IMEI packet received {"connection_id":50990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:28:33] local.INFO: TCP Data received {"connection_id":50990,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:28:33] local.INFO: Processing buffer {"connection_id":50990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:28:33] local.INFO: Packet analysis {"connection_id":50990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:28:33] local.INFO: Extracted packet for processing {"connection_id":50990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:33] 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-22 08:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 08: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-22 08:28: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:28: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-22 08: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-22 08: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-22 08:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:28:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:28:33] local.INFO: GPS data processed {"connection_id":50990,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:28:33] local.INFO: Acknowledgment sent {"connection_id":50990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:28:41] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31ea418012d09cc40071c4770004000f71e..."} 
[2026-04-22 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31ea418012d09cc40071c4770004000f71e..."} 
[2026-04-22 08:28:41] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31ea418012d09cc40071c4770004000f71e..."} 
[2026-04-22 08:28:41] local.INFO: Packet analysis {"connection_id":50989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31e"} 
[2026-04-22 08:28:41] local.INFO: Extracted packet for processing {"connection_id":50989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31e"} 
[2026-04-22 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":755616832,"raw_latitude":119293808,"longitude_deg":75.5616832,"latitude_deg":11.9293808,"altitude":64,"angle":247,"satellites":30,"speed":34,"hex_longitude":"2d09cc40","hex_latitude":"071c4770","is_valid_coordinates":true} 
[2026-04-22 08:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867614720001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113651899873361920,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708754021896800256,"note":"Value kept but may cause issues"} 
[2026-04-22 08:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776826623000,"timestamp_ms":1776826623000,"timestamp_seconds":1776826623,"priority":1,"record_length":96,"hex_timestamp":"0000019db31ea418"} 
[2026-04-22 08:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:28:41] 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-22 08:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 08:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867614720001,"66":13972,"252":206,"28":31744,"24":34,"16":113651899873361920,"45":708754021896800256},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,28,24,16,45]} 
[2026-04-22 08:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867614720001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:28:41] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-22 08:28:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113651899873361920,"km_value":113651899873361.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":708754021896800256,"description":"Unknown IO ID 45"} 
[2026-04-22 08:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867614720001,"power":13972,"unknown_252":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":708754021896800256}} 
[2026-04-22 08:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":50989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:28:41] local.INFO: GPS data processed {"connection_id":50989,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:28:41] local.INFO: Acknowledgment sent {"connection_id":50989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:28:54] local.INFO: TCP Data received {"connection_id":50309,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:54] local.INFO: Processing buffer {"connection_id":50309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:54] local.INFO: IMEI packet received {"connection_id":50309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":50309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:28:56] local.INFO: TCP Data received {"connection_id":50309,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:56] local.INFO: Processing buffer {"connection_id":50309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:56] local.INFO: IMEI packet received {"connection_id":50309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":50309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:28:56] local.INFO: TCP Data received {"connection_id":50309,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:56] local.INFO: Processing buffer {"connection_id":50309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:28:56] local.INFO: IMEI packet received {"connection_id":50309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":50309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:29:04] local.INFO: TCP Data received {"connection_id":50990,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:29:04] local.INFO: Processing buffer {"connection_id":50990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:29:04] local.INFO: Packet analysis {"connection_id":50990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:29:04] local.INFO: Extracted packet for processing {"connection_id":50990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29: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-22 08:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 08:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:29: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-22 08:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:29:04] 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-22 08:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:29:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":50990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:29:04] local.INFO: GPS data processed {"connection_id":50990,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:29:04] local.INFO: Acknowledgment sent {"connection_id":50990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:29:29] local.INFO: TCP Data received {"connection_id":50309,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:29:29] local.INFO: Processing buffer {"connection_id":50309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:29:29] local.INFO: IMEI packet received {"connection_id":50309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":50309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:29:31] local.INFO: TCP Data received {"connection_id":50309,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31f9e18012d08ae80071c24480039010e1f..."} 
[2026-04-22 08:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31f9e18012d08ae80071c24480039010e1f..."} 
[2026-04-22 08:29:31] local.INFO: Processing buffer {"connection_id":50309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31f9e18012d08ae80071c24480039010e1f..."} 
[2026-04-22 08:29:31] local.INFO: Packet analysis {"connection_id":50309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31f"} 
[2026-04-22 08:29:31] local.INFO: Extracted packet for processing {"connection_id":50309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31f"} 
[2026-04-22 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":755543680,"raw_latitude":119284808,"longitude_deg":75.554368,"latitude_deg":11.9284808,"altitude":57,"angle":270,"satellites":31,"speed":44,"hex_longitude":"2d08ae80","hex_latitude":"071c2448","is_valid_coordinates":true} 
[2026-04-22 08:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867630336001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113655464696217600,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":633600203112898560,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776826687000,"timestamp_ms":1776826687000,"timestamp_seconds":1776826687,"priority":1,"record_length":96,"hex_timestamp":"0000019db31f9e18"} 
[2026-04-22 08:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 08:29:31] 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-22 08:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867630336001,"66":14483,"79":206,"28":31744,"24":44,"16":113655464696217600,"45":633600203112898560},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,28,24,16,45]} 
[2026-04-22 08:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867630336001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:29:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-22 08:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113655464696217600,"km_value":113655464696217.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":633600203112898560,"description":"Unknown IO ID 45"} 
[2026-04-22 08:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867630336001,"power":14483,"unknown_79":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":633600203112898560}} 
[2026-04-22 08:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":50309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:29:31] local.INFO: GPS data processed {"connection_id":50309,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:29:31] local.INFO: Acknowledgment sent {"connection_id":50309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:29:32] local.INFO: TCP Data received {"connection_id":50310,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:29:32] local.INFO: Processing buffer {"connection_id":50310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:29:32] local.INFO: IMEI packet received {"connection_id":50310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:29:37] local.INFO: TCP Data received {"connection_id":50310,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:29:37] local.INFO: Processing buffer {"connection_id":50310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:29:37] local.INFO: IMEI packet received {"connection_id":50310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":50310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:29:37] local.INFO: TCP Data received {"connection_id":50310,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:29:37] local.INFO: Processing buffer {"connection_id":50310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:29:37] local.INFO: Packet analysis {"connection_id":50310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:29:37] local.INFO: Extracted packet for processing {"connection_id":50310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:37] 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-22 08:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 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-22 08:29: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-22 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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:29:37] 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-22 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-22 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-22 08:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:29:37] 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-22 08:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:29:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":50310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:29:37] local.INFO: GPS data processed {"connection_id":50310,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:29:37] local.INFO: Acknowledgment sent {"connection_id":50310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:29:42] local.INFO: TCP Data received {"connection_id":50310,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:29:42] local.INFO: Processing buffer {"connection_id":50310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:29:42] local.INFO: Packet analysis {"connection_id":50310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:29:42] local.INFO: Extracted packet for processing {"connection_id":50310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:29:42] 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-22 08:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 08:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:29:42] 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-22 08:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:29:42] 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-22 08:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:29:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":50310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:29:42] local.INFO: GPS data processed {"connection_id":50310,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:29:42] local.INFO: Acknowledgment sent {"connection_id":50310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:29:56] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:29:56] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:29:56] local.INFO: IMEI packet received {"connection_id":50441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":50441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:29:59] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:29:59] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:29:59] local.INFO: IMEI packet received {"connection_id":50441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":50441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:30:01] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:30:01] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:30:01] local.INFO: IMEI packet received {"connection_id":50441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":50441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:30:02] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db31fa5e8012d08a5c0071c25f8003a011e1e..."} 
[2026-04-22 08:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31fa5e8012d08a5c0071c25f8003a011e1e..."} 
[2026-04-22 08:30:02] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31fa5e8012d08a5c0071c25f8003a011e1e..."} 
[2026-04-22 08:30:02] local.INFO: Packet analysis {"connection_id":50441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31f"} 
[2026-04-22 08:30:02] local.INFO: Extracted packet for processing {"connection_id":50441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31f"} 
[2026-04-22 08:30:02] local.INFO: GPS Element Parsed {"raw_longitude":755541440,"raw_latitude":119285240,"longitude_deg":75.554144,"latitude_deg":11.928524,"altitude":58,"angle":286,"satellites":30,"speed":43,"hex_longitude":"2d08a5c0","hex_latitude":"071c25f8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867631872001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113655572070400000,"note":"Value kept but may cause issues"} 
[2026-04-22 08:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":625578166276343808,"note":"Value kept but may cause issues"} 
[2026-04-22 08:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776826689000,"timestamp_ms":1776826689000,"timestamp_seconds":1776826689,"priority":1,"record_length":96,"hex_timestamp":"0000019db31fa5e8"} 
[2026-04-22 08: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-22 08:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-22 08:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867631872001,"66":14461,"79":206,"28":31744,"24":43,"16":113655572070400000,"45":625578166276343808},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,28,24,16,45]} 
[2026-04-22 08:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867631872001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:30:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-22 08:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 08:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113655572070400000,"km_value":113655572070400,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":625578166276343808,"description":"Unknown IO ID 45"} 
[2026-04-22 08:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867631872001,"power":14461,"unknown_79":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":625578166276343808}} 
[2026-04-22 08:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":50441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:30:02] local.INFO: GPS data processed {"connection_id":50441,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:30:02] local.INFO: Acknowledgment sent {"connection_id":50441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:30:27] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:30:27] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:30:27] local.INFO: IMEI packet received {"connection_id":50991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":50991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:30:32] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:30:32] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:30:32] local.INFO: IMEI packet received {"connection_id":50991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:30:32] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:30:32] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:30:32] local.INFO: Packet analysis {"connection_id":50991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:30:32] local.INFO: Extracted packet for processing {"connection_id":50991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:30: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-22 08:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 08: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-22 08:30: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-22 08: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-22 08: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-22 08: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-22 08: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-22 08:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:30:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":50991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:30:32] local.INFO: GPS data processed {"connection_id":50991,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:30:32] local.INFO: Acknowledgment sent {"connection_id":50991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:30:34] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3214010012d074e80071c2dc8003701051d..."} 
[2026-04-22 08:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3214010012d074e80071c2dc8003701051d..."} 
[2026-04-22 08:30:34] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3214010012d074e80071c2dc8003701051d..."} 
[2026-04-22 08:30:34] local.INFO: Packet analysis {"connection_id":50441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:30:34] local.INFO: Extracted packet for processing {"connection_id":50441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:30:34] local.INFO: GPS Element Parsed {"raw_longitude":755453568,"raw_latitude":119287240,"longitude_deg":75.5453568,"latitude_deg":11.928724,"altitude":55,"angle":261,"satellites":29,"speed":19,"hex_longitude":"2d074e80","hex_latitude":"071c2dc8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867659008001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113660249289785344,"note":"Value kept but may cause issues"} 
[2026-04-22 08:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":527061924428263424,"note":"Value kept but may cause issues"} 
[2026-04-22 08:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776826794000,"timestamp_ms":1776826794000,"timestamp_seconds":1776826794,"priority":1,"record_length":96,"hex_timestamp":"0000019db3214010"} 
[2026-04-22 08: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-22 08:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 08:30:34] 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-22 08: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-22 08: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-22 08:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867659008001,"66":14298,"60":206,"28":26368,"24":19,"16":113660249289785344,"45":527061924428263424},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 08:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867659008001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:30:34] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 08:30:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113660249289785344,"km_value":113660249289785.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":527061924428263424,"description":"Unknown IO ID 45"} 
[2026-04-22 08:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867659008001,"power":14298,"unknown_60":206,"unknown_28":26368,"ignition":19,"odometer":null,"unknown_45":527061924428263424}} 
[2026-04-22 08:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":50441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:30:34] local.INFO: GPS data processed {"connection_id":50441,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:30:34] local.INFO: Acknowledgment sent {"connection_id":50441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:30:57] local.INFO: TCP Data received {"connection_id":50312,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:30:57] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:30:57] local.INFO: IMEI packet received {"connection_id":50312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":50312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:31:02] local.INFO: TCP Data received {"connection_id":50312,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:31:02] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:31:02] local.INFO: IMEI packet received {"connection_id":50312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":50312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:31:03] local.INFO: TCP Data received {"connection_id":50312,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32143f8012d074c80071c2c90003600f41d..."} 
[2026-04-22 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32143f8012d074c80071c2c90003600f41d..."} 
[2026-04-22 08:31:03] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32143f8012d074c80071c2c90003600f41d..."} 
[2026-04-22 08:31:03] local.INFO: Packet analysis {"connection_id":50312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:31:03] local.INFO: Extracted packet for processing {"connection_id":50312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":755453056,"raw_latitude":119286928,"longitude_deg":75.5453056,"latitude_deg":11.9286928,"altitude":54,"angle":244,"satellites":29,"speed":22,"hex_longitude":"2d074c80","hex_latitude":"071c2c90","is_valid_coordinates":true} 
[2026-04-22 08:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867659264001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113660279354556416,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":526498974474815488,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776826795000,"timestamp_ms":1776826795000,"timestamp_seconds":1776826795,"priority":1,"record_length":96,"hex_timestamp":"0000019db32143f8"} 
[2026-04-22 08:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 08:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867659264001,"66":14298,"60":206,"28":26368,"24":22,"16":113660279354556416,"45":526498974474815488},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 08:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867659264001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:31:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 08:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113660279354556416,"km_value":113660279354556.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":526498974474815488,"description":"Unknown IO ID 45"} 
[2026-04-22 08:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867659264001,"power":14298,"unknown_60":206,"unknown_28":26368,"ignition":22,"odometer":null,"unknown_45":526498974474815488}} 
[2026-04-22 08:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":50312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:31:03] local.INFO: GPS data processed {"connection_id":50312,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:31:03] local.INFO: Acknowledgment sent {"connection_id":50312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:31:04] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:31:04] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db31d3cb8012d7f960005afd7d00000015622..."} 
[2026-04-22 08:31:04] local.INFO: Packet analysis {"connection_id":50991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:31:04] local.INFO: Extracted packet for processing {"connection_id":50991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db31d"} 
[2026-04-22 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867514880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08: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-22 08:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826531000,"timestamp_ms":1776826531000,"timestamp_seconds":1776826531,"priority":1,"record_length":96,"hex_timestamp":"0000019db31d3cb8"} 
[2026-04-22 08: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-22 08:31: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:31:04] 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-22 08:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867514880001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867514880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867514880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":50991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:31:04] local.INFO: GPS data processed {"connection_id":50991,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:31:04] local.INFO: Acknowledgment sent {"connection_id":50991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:31:22] local.INFO: TCP Data received {"connection_id":50442,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:31:22] local.INFO: Processing buffer {"connection_id":50442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:31:22] local.INFO: IMEI packet received {"connection_id":50442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":50442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:31:27] local.INFO: TCP Data received {"connection_id":50049,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:31:27] local.INFO: Processing buffer {"connection_id":50049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:31:27] local.INFO: IMEI packet received {"connection_id":50049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":50049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:31:32] local.INFO: TCP Data received {"connection_id":50049,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:31:32] local.INFO: Processing buffer {"connection_id":50049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:31:32] local.INFO: IMEI packet received {"connection_id":50049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:31:32] local.INFO: TCP Data received {"connection_id":50049,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:31:32] local.INFO: Processing buffer {"connection_id":50049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:31:32] local.INFO: Packet analysis {"connection_id":50049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:31:32] local.INFO: Extracted packet for processing {"connection_id":50049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31: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-22 08:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 08: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-22 08:31: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:31: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-22 08: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-22 08: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-22 08:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:31:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":50049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:31:32] local.INFO: GPS data processed {"connection_id":50049,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:31:32] local.INFO: Acknowledgment sent {"connection_id":50049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:31:35] local.INFO: TCP Data received {"connection_id":50312,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32147e0012d074a80071c2aa8003600e91d..."} 
[2026-04-22 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32147e0012d074a80071c2aa8003600e91d..."} 
[2026-04-22 08:31:35] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32147e0012d074a80071c2aa8003600e91d..."} 
[2026-04-22 08:31:35] local.INFO: Packet analysis {"connection_id":50312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:31:35] local.INFO: Extracted packet for processing {"connection_id":50312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:31:35] local.INFO: GPS Element Parsed {"raw_longitude":755452544,"raw_latitude":119286440,"longitude_deg":75.5452544,"latitude_deg":11.928644,"altitude":54,"angle":233,"satellites":29,"speed":25,"hex_longitude":"2d074a80","hex_latitude":"071c2aa8","is_valid_coordinates":true} 
[2026-04-22 08:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867659520001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113660313714294784,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":525936024521314304,"note":"Value kept but may cause issues"} 
[2026-04-22 08:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776826796000,"timestamp_ms":1776826796000,"timestamp_seconds":1776826796,"priority":1,"record_length":96,"hex_timestamp":"0000019db32147e0"} 
[2026-04-22 08:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:31:35] 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-22 08:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 08:31:35] 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-22 08:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867659520001,"66":14374,"60":206,"28":26368,"24":25,"16":113660313714294784,"45":525936024521314304},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 08:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867659520001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:31:35] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 08:31:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113660313714294784,"km_value":113660313714294.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":525936024521314304,"description":"Unknown IO ID 45"} 
[2026-04-22 08:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867659520001,"power":14374,"unknown_60":206,"unknown_28":26368,"ignition":25,"odometer":null,"unknown_45":525936024521314304}} 
[2026-04-22 08:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":50312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:31:35] local.INFO: GPS data processed {"connection_id":50312,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:31:35] local.INFO: Acknowledgment sent {"connection_id":50312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:31:51] local.INFO: TCP Data received {"connection_id":50443,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:31:51] local.INFO: Processing buffer {"connection_id":50443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:31:51] local.INFO: IMEI packet received {"connection_id":50443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":50443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:31:56] local.INFO: TCP Data received {"connection_id":50050,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:31:56] local.INFO: Processing buffer {"connection_id":50050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:31:56] local.INFO: IMEI packet received {"connection_id":50050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":50050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:32:02] local.INFO: TCP Data received {"connection_id":50050,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:32:02] local.INFO: Processing buffer {"connection_id":50050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:32:02] local.INFO: IMEI packet received {"connection_id":50050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":50050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:32:03] local.INFO: TCP Data received {"connection_id":50050,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3223a10012d066b00071c3420002200fc1d..."} 
[2026-04-22 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3223a10012d066b00071c3420002200fc1d..."} 
[2026-04-22 08:32:03] local.INFO: Processing buffer {"connection_id":50050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3223a10012d066b00071c3420002200fc1d..."} 
[2026-04-22 08:32:03] local.INFO: Packet analysis {"connection_id":50050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db322"} 
[2026-04-22 08:32:03] local.INFO: Extracted packet for processing {"connection_id":50050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db322"} 
[2026-04-22 08:32:03] local.INFO: GPS Element Parsed {"raw_longitude":755395328,"raw_latitude":119288864,"longitude_deg":75.5395328,"latitude_deg":11.9288864,"altitude":34,"angle":252,"satellites":29,"speed":40,"hex_longitude":"2d066b00","hex_latitude":"071c3420","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867674368001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113663247176957952,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":468163285552189440,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776826858000,"timestamp_ms":1776826858000,"timestamp_seconds":1776826858,"priority":1,"record_length":96,"hex_timestamp":"0000019db3223a10"} 
[2026-04-22 08: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-22 08:32:03] 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-22 08: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-22 08:32:03] 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-22 08: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-22 08: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-22 08:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867674368001,"66":13993,"60":206,"28":26368,"24":40,"16":113663247176957952,"45":468163285552189440},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 08:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867674368001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:32:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 08:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113663247176957952,"km_value":113663247176957.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":468163285552189440,"description":"Unknown IO ID 45"} 
[2026-04-22 08:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867674368001,"power":13993,"unknown_60":206,"unknown_28":26368,"ignition":40,"odometer":null,"unknown_45":468163285552189440}} 
[2026-04-22 08:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":50050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:32:03] local.INFO: GPS data processed {"connection_id":50050,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:32:03] local.INFO: Acknowledgment sent {"connection_id":50050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:32:04] local.INFO: TCP Data received {"connection_id":50049,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:32:04] local.INFO: Processing buffer {"connection_id":50049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:32:04] local.INFO: Packet analysis {"connection_id":50049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:32:04] local.INFO: Extracted packet for processing {"connection_id":50049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32: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-22 08:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 08:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:32: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-22 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:32:04] 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-22 08:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:32:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":50049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:32:04] local.INFO: GPS data processed {"connection_id":50049,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:32:04] local.INFO: Acknowledgment sent {"connection_id":50049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:32:27] local.INFO: TCP Data received {"connection_id":50992,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:32:27] local.INFO: Processing buffer {"connection_id":50992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:32:27] local.INFO: IMEI packet received {"connection_id":50992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":50992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:32:32] local.INFO: TCP Data received {"connection_id":50992,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:32:32] local.INFO: Processing buffer {"connection_id":50992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:32:32] local.INFO: IMEI packet received {"connection_id":50992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:32:33] local.INFO: TCP Data received {"connection_id":50992,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:32:33] local.INFO: Processing buffer {"connection_id":50992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:32:33] local.INFO: Packet analysis {"connection_id":50992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:32:33] local.INFO: Extracted packet for processing {"connection_id":50992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:33] 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-22 08:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 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-22 08:32: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-22 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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08: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-22 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-22 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-22 08:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:32:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:32:33] local.INFO: GPS data processed {"connection_id":50992,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:32:33] local.INFO: Acknowledgment sent {"connection_id":50992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:32:35] local.INFO: TCP Data received {"connection_id":50050,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3225d38012d0648c0071c2c50002001091d..."} 
[2026-04-22 08:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3225d38012d0648c0071c2c50002001091d..."} 
[2026-04-22 08:32:35] local.INFO: Processing buffer {"connection_id":50050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3225d38012d0648c0071c2c50002001091d..."} 
[2026-04-22 08:32:35] local.INFO: Packet analysis {"connection_id":50050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db322"} 
[2026-04-22 08:32:35] local.INFO: Extracted packet for processing {"connection_id":50050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db322"} 
[2026-04-22 08:32:35] local.INFO: GPS Element Parsed {"raw_longitude":755386560,"raw_latitude":119286864,"longitude_deg":75.538656,"latitude_deg":11.9286864,"altitude":32,"angle":265,"satellites":29,"speed":39,"hex_longitude":"2d0648c0","hex_latitude":"071c2c50","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867675648001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113663680968654848,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":462463417273556992,"note":"Value kept but may cause issues"} 
[2026-04-22 08:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776826867000,"timestamp_ms":1776826867000,"timestamp_seconds":1776826867,"priority":1,"record_length":96,"hex_timestamp":"0000019db3225d38"} 
[2026-04-22 08: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-22 08:32:35] 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-22 08: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 08:32:35] 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-22 08: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-22 08: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-22 08:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867675648001,"66":13993,"60":206,"28":26368,"24":39,"16":113663680968654848,"45":462463417273556992},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 08:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867675648001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:32:35] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 08:32:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113663680968654848,"km_value":113663680968654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":462463417273556992,"description":"Unknown IO ID 45"} 
[2026-04-22 08:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867675648001,"power":13993,"unknown_60":206,"unknown_28":26368,"ignition":39,"odometer":null,"unknown_45":462463417273556992}} 
[2026-04-22 08:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":50050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:32:35] local.INFO: GPS data processed {"connection_id":50050,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:32:35] local.INFO: Acknowledgment sent {"connection_id":50050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:33:02] local.INFO: TCP Data received {"connection_id":50314,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:02] local.INFO: Processing buffer {"connection_id":50314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:02] local.INFO: IMEI packet received {"connection_id":50314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":50314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:33:04] local.INFO: TCP Data received {"connection_id":50992,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:33:04] local.INFO: Processing buffer {"connection_id":50992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:33:04] local.INFO: Packet analysis {"connection_id":50992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:33:04] local.INFO: Extracted packet for processing {"connection_id":50992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33: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-22 08:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 08:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:33: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-22 08:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:33:04] 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-22 08:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:33:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:33:04] local.INFO: GPS data processed {"connection_id":50992,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:33:04] local.INFO: Acknowledgment sent {"connection_id":50992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:33:06] local.INFO: TCP Data received {"connection_id":50314,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:06] local.INFO: Processing buffer {"connection_id":50314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:06] local.INFO: IMEI packet received {"connection_id":50314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":50314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:33:07] local.INFO: TCP Data received {"connection_id":50314,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3233028012d055640071c7d18002f010b1c..."} 
[2026-04-22 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3233028012d055640071c7d18002f010b1c..."} 
[2026-04-22 08:33:07] local.INFO: Processing buffer {"connection_id":50314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3233028012d055640071c7d18002f010b1c..."} 
[2026-04-22 08:33:07] local.INFO: Packet analysis {"connection_id":50314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:33:07] local.INFO: Extracted packet for processing {"connection_id":50314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":755324480,"raw_latitude":119307544,"longitude_deg":75.532448,"latitude_deg":11.9307544,"altitude":47,"angle":267,"satellites":28,"speed":46,"hex_longitude":"2d055640","hex_latitude":"071c7d18","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867689728001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113666850654519296,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":395120529100439552,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776826921000,"timestamp_ms":1776826921000,"timestamp_seconds":1776826921,"priority":1,"record_length":96,"hex_timestamp":"0000019db3233028"} 
[2026-04-22 08: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-22 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 08:33:07] 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-22 08: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-22 08: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-22 08:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867689728001,"66":14515,"60":206,"28":26368,"24":46,"16":113666850654519296,"45":395120529100439552},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 08:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867689728001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:33:07] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 08:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113666850654519296,"km_value":113666850654519.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":395120529100439552,"description":"Unknown IO ID 45"} 
[2026-04-22 08:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867689728001,"power":14515,"unknown_60":206,"unknown_28":26368,"ignition":46,"odometer":null,"unknown_45":395120529100439552}} 
[2026-04-22 08:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":50314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:33:07] local.INFO: GPS data processed {"connection_id":50314,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:33:07] local.INFO: Acknowledgment sent {"connection_id":50314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:33:08] local.INFO: TCP Data received {"connection_id":50314,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3234f68012d053240071c7ae80032010c1c..."} 
[2026-04-22 08:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3234f68012d053240071c7ae80032010c1c..."} 
[2026-04-22 08:33:08] local.INFO: Processing buffer {"connection_id":50314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3234f68012d053240071c7ae80032010c1c..."} 
[2026-04-22 08:33:08] local.INFO: Packet analysis {"connection_id":50314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:33:08] local.INFO: Extracted packet for processing {"connection_id":50314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:33:08] local.INFO: GPS Element Parsed {"raw_longitude":755315264,"raw_latitude":119306984,"longitude_deg":75.5315264,"latitude_deg":11.9306984,"altitude":50,"angle":268,"satellites":28,"speed":42,"hex_longitude":"2d053240","hex_latitude":"071c7ae8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867691776001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113667293036150784,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":384565217473665024,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776826929000,"timestamp_ms":1776826929000,"timestamp_seconds":1776826929,"priority":1,"record_length":96,"hex_timestamp":"0000019db3234f68"} 
[2026-04-22 08: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-22 08:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-22 08:33:08] 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-22 08: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-22 08: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-22 08:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867691776001,"66":14613,"62":206,"28":26368,"24":42,"16":113667293036150784,"45":384565217473665024},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-22 08:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867691776001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:33:08] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-22 08:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113667293036150784,"km_value":113667293036150.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":384565217473665024,"description":"Unknown IO ID 45"} 
[2026-04-22 08:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867691776001,"power":14613,"unknown_62":206,"unknown_28":26368,"ignition":42,"odometer":null,"unknown_45":384565217473665024}} 
[2026-04-22 08:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":50314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:33:09] local.INFO: GPS data processed {"connection_id":50314,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:33:09] local.INFO: Acknowledgment sent {"connection_id":50314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:33:26] local.INFO: TCP Data received {"connection_id":50444,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:33:26] local.INFO: Processing buffer {"connection_id":50444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:33:26] local.INFO: IMEI packet received {"connection_id":50444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":50444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:33:32] local.INFO: TCP Data received {"connection_id":50444,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:33:32] local.INFO: Processing buffer {"connection_id":50444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:33:32] local.INFO: IMEI packet received {"connection_id":50444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:33:32] local.INFO: TCP Data received {"connection_id":50444,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:33:32] local.INFO: Processing buffer {"connection_id":50444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:33:32] local.INFO: Packet analysis {"connection_id":50444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:33:32] local.INFO: Extracted packet for processing {"connection_id":50444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33: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-22 08:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 08:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:33: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-22 08:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:33: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-22 08:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:33:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":50444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:33:33] local.INFO: GPS data processed {"connection_id":50444,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:33:33] local.INFO: Acknowledgment sent {"connection_id":50444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:33:40] local.INFO: TCP Data received {"connection_id":50314,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3237290012d050ec0071c7a900035010f1d..."} 
[2026-04-22 08:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3237290012d050ec0071c7a900035010f1d..."} 
[2026-04-22 08:33:40] local.INFO: Processing buffer {"connection_id":50314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3237290012d050ec0071c7a900035010f1d..."} 
[2026-04-22 08:33:40] local.INFO: Packet analysis {"connection_id":50314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:33:40] local.INFO: Extracted packet for processing {"connection_id":50314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:33:40] local.INFO: GPS Element Parsed {"raw_longitude":755306176,"raw_latitude":119306896,"longitude_deg":75.5306176,"latitude_deg":11.9306896,"altitude":53,"angle":271,"satellites":29,"speed":37,"hex_longitude":"2d050ec0","hex_latitude":"071c7a90","is_valid_coordinates":true} 
[2026-04-22 08:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867693824001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113667722532880384,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":374432118311938048,"note":"Value kept but may cause issues"} 
[2026-04-22 08:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776826938000,"timestamp_ms":1776826938000,"timestamp_seconds":1776826938,"priority":1,"record_length":96,"hex_timestamp":"0000019db3237290"} 
[2026-04-22 08:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-04-22 08:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867693824001,"66":14450,"62":206,"28":26368,"24":37,"16":113667722532880384,"45":374432118311938048},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-22 08:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867693824001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:33:40] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-22 08:33:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113667722532880384,"km_value":113667722532880.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":374432118311938048,"description":"Unknown IO ID 45"} 
[2026-04-22 08:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867693824001,"power":14450,"unknown_62":206,"unknown_28":26368,"ignition":37,"odometer":null,"unknown_45":374432118311938048}} 
[2026-04-22 08:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":50314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:33:40] local.INFO: GPS data processed {"connection_id":50314,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:33:40] local.INFO: Acknowledgment sent {"connection_id":50314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:33:57] local.INFO: TCP Data received {"connection_id":50445,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:57] local.INFO: Processing buffer {"connection_id":50445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:57] local.INFO: IMEI packet received {"connection_id":50445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":50445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:33:58] local.INFO: TCP Data received {"connection_id":50445,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:58] local.INFO: Processing buffer {"connection_id":50445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:33:58] local.INFO: IMEI packet received {"connection_id":50445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":50445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:34:00] local.INFO: TCP Data received {"connection_id":50445,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32399a0012d04e8c0071c7ac8003b01091b..."} 
[2026-04-22 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32399a0012d04e8c0071c7ac8003b01091b..."} 
[2026-04-22 08:34:00] local.INFO: Processing buffer {"connection_id":50445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32399a0012d04e8c0071c7ac8003b01091b..."} 
[2026-04-22 08:34:00] local.INFO: Packet analysis {"connection_id":50445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:34:00] local.INFO: Extracted packet for processing {"connection_id":50445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:34:00] local.INFO: GPS Element Parsed {"raw_longitude":755296448,"raw_latitude":119306952,"longitude_deg":75.5296448,"latitude_deg":11.9306952,"altitude":59,"angle":265,"satellites":27,"speed":43,"hex_longitude":"2d04e8c0","hex_latitude":"071c7ac8","is_valid_coordinates":true} 
[2026-04-22 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-22 08:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867696128001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113668182094381056,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":364439756638687232,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776826948000,"timestamp_ms":1776826948000,"timestamp_seconds":1776826948,"priority":1,"record_length":96,"hex_timestamp":"0000019db32399a0"} 
[2026-04-22 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-22 08:34:00] 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-22 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-04-22 08:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 08:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":50445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867696128001,"66":14483,"62":206,"28":26368,"24":43,"16":113668182094381056,"45":364439756638687232},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-22 08:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867696128001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:34:00] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-22 08:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113668182094381056,"km_value":113668182094381.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":364439756638687232,"description":"Unknown IO ID 45"} 
[2026-04-22 08:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867696128001,"power":14483,"unknown_62":206,"unknown_28":26368,"ignition":43,"odometer":null,"unknown_45":364439756638687232}} 
[2026-04-22 08:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":50445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:34:00] local.INFO: GPS data processed {"connection_id":50445,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:34:00] local.INFO: Acknowledgment sent {"connection_id":50445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:34:01] local.INFO: TCP Data received {"connection_id":50445,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db323b8e0012d04c040071c7990003b010d1b..."} 
[2026-04-22 08:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db323b8e0012d04c040071c7990003b010d1b..."} 
[2026-04-22 08:34:01] local.INFO: Processing buffer {"connection_id":50445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db323b8e0012d04c040071c7990003b010d1b..."} 
[2026-04-22 08:34:01] local.INFO: Packet analysis {"connection_id":50445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:34:01] local.INFO: Extracted packet for processing {"connection_id":50445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db323"} 
[2026-04-22 08:34:01] local.INFO: GPS Element Parsed {"raw_longitude":755286080,"raw_latitude":119306640,"longitude_deg":75.528608,"latitude_deg":11.930664,"altitude":59,"angle":269,"satellites":27,"speed":54,"hex_longitude":"2d04c040","hex_latitude":"071c7990","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867698688001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113668676015620096,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":353743707523696640,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776826956000,"timestamp_ms":1776826956000,"timestamp_seconds":1776826956,"priority":1,"record_length":96,"hex_timestamp":"0000019db323b8e0"} 
[2026-04-22 08: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-22 08:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-22 08:34:01] 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-22 08: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-22 08: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-22 08:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":50445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867698688001,"66":14428,"62":206,"28":26368,"24":54,"16":113668676015620096,"45":353743707523696640},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-22 08:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867698688001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:34:01] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-22 08:34:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113668676015620096,"km_value":113668676015620.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":353743707523696640,"description":"Unknown IO ID 45"} 
[2026-04-22 08:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867698688001,"power":14428,"unknown_62":206,"unknown_28":26368,"ignition":54,"odometer":null,"unknown_45":353743707523696640}} 
[2026-04-22 08:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":50445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:34:01] local.INFO: GPS data processed {"connection_id":50445,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:34:01] local.INFO: Acknowledgment sent {"connection_id":50445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:34:03] local.INFO: TCP Data received {"connection_id":50444,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:34:03] local.INFO: Processing buffer {"connection_id":50444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:34:03] local.INFO: Packet analysis {"connection_id":50444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:34:03] local.INFO: Extracted packet for processing {"connection_id":50444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34: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-22 08:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 08:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:34:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":50444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:34:03] local.INFO: GPS data processed {"connection_id":50444,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:34:03] local.INFO: Acknowledgment sent {"connection_id":50444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:34:32] local.INFO: TCP Data received {"connection_id":50993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:34:32] local.INFO: Processing buffer {"connection_id":50993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:34:32] local.INFO: IMEI packet received {"connection_id":50993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:34:33] local.INFO: TCP Data received {"connection_id":50445,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db324be98012d039f00071c1f40002d01241e..."} 
[2026-04-22 08:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db324be98012d039f00071c1f40002d01241e..."} 
[2026-04-22 08:34:33] local.INFO: Processing buffer {"connection_id":50445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db324be98012d039f00071c1f40002d01241e..."} 
[2026-04-22 08:34:33] local.INFO: Packet analysis {"connection_id":50445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db324"} 
[2026-04-22 08:34:33] local.INFO: Extracted packet for processing {"connection_id":50445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db324"} 
[2026-04-22 08:34:33] local.INFO: GPS Element Parsed {"raw_longitude":755212032,"raw_latitude":119283520,"longitude_deg":75.5212032,"latitude_deg":11.928352,"altitude":45,"angle":292,"satellites":30,"speed":44,"hex_longitude":"2d039f00","hex_latitude":"071c1f40","is_valid_coordinates":true} 
[2026-04-22 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-22 08:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867715840001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113672640270434304,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":270497483154661376,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776827023000,"timestamp_ms":1776827023000,"timestamp_seconds":1776827023,"priority":1,"record_length":96,"hex_timestamp":"0000019db324be98"} 
[2026-04-22 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-22 08:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 08:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 08:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867715840001,"66":13972,"23":206,"28":26368,"24":44,"16":113672640270434304,"45":270497483154661376},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,28,24,16,45]} 
[2026-04-22 08:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867715840001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:34:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 08:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113672640270434304,"km_value":113672640270434.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":270497483154661376,"description":"Unknown IO ID 45"} 
[2026-04-22 08:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867715840001,"power":13972,"unknown_23":206,"unknown_28":26368,"ignition":44,"odometer":null,"unknown_45":270497483154661376}} 
[2026-04-22 08:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:34:33] local.INFO: GPS data processed {"connection_id":50445,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:34:33] local.INFO: Acknowledgment sent {"connection_id":50445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:34:37] local.INFO: TCP Data received {"connection_id":50993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:34:37] local.INFO: Processing buffer {"connection_id":50993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:34:37] local.INFO: IMEI packet received {"connection_id":50993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":50993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:34:37] local.INFO: TCP Data received {"connection_id":50993,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:34:37] local.INFO: Processing buffer {"connection_id":50993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:34:37] local.INFO: Packet analysis {"connection_id":50993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:34:37] local.INFO: Extracted packet for processing {"connection_id":50993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:37] 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-22 08:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 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-22 08: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:34:37] 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-22 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-22 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-22 08:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:34:37] 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-22 08:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:34:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":50993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:34:37] local.INFO: GPS data processed {"connection_id":50993,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:34:37] local.INFO: Acknowledgment sent {"connection_id":50993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:34:42] local.INFO: TCP Data received {"connection_id":50993,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:34:42] local.INFO: Processing buffer {"connection_id":50993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:34:42] local.INFO: Packet analysis {"connection_id":50993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:34:42] local.INFO: Extracted packet for processing {"connection_id":50993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:34:42] 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-22 08:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 08:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:34:42] 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-22 08:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:34:42] 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-22 08:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:34:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":50993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:34:42] local.INFO: GPS data processed {"connection_id":50993,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:34:42] local.INFO: Acknowledgment sent {"connection_id":50993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:34:56] local.INFO: TCP Data received {"connection_id":50053,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:34:56] local.INFO: Processing buffer {"connection_id":50053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:34:56] local.INFO: IMEI packet received {"connection_id":50053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":50053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:35:00] local.INFO: TCP Data received {"connection_id":50053,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:35:00] local.INFO: Processing buffer {"connection_id":50053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:35:00] local.INFO: IMEI packet received {"connection_id":50053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":50053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:35:02] local.INFO: TCP Data received {"connection_id":50053,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db324ddd8012d037d80071c2bc8003101201d..."} 
[2026-04-22 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db324ddd8012d037d80071c2bc8003101201d..."} 
[2026-04-22 08:35:02] local.INFO: Processing buffer {"connection_id":50053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db324ddd8012d037d80071c2bc8003101201d..."} 
[2026-04-22 08:35:02] local.INFO: Packet analysis {"connection_id":50053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db324"} 
[2026-04-22 08:35:02] local.INFO: Extracted packet for processing {"connection_id":50053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db324"} 
[2026-04-22 08:35:02] local.INFO: GPS Element Parsed {"raw_longitude":755203456,"raw_latitude":119286728,"longitude_deg":75.5203456,"latitude_deg":11.9286728,"altitude":49,"angle":288,"satellites":29,"speed":43,"hex_longitude":"2d037d80","hex_latitude":"071c2bc8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867717888001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113673074062131200,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":260927333947359232,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776827031000,"timestamp_ms":1776827031000,"timestamp_seconds":1776827031,"priority":1,"record_length":96,"hex_timestamp":"0000019db324ddd8"} 
[2026-04-22 08: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-22 08:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-22 08:35:02] 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-22 08: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-22 08: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-22 08:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867717888001,"66":14048,"23":206,"28":26368,"24":43,"16":113673074062131200,"45":260927333947359232},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,28,24,16,45]} 
[2026-04-22 08:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867717888001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:35:02] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 08:35:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113673074062131200,"km_value":113673074062131.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":260927333947359232,"description":"Unknown IO ID 45"} 
[2026-04-22 08:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867717888001,"power":14048,"unknown_23":206,"unknown_28":26368,"ignition":43,"odometer":null,"unknown_45":260927333947359232}} 
[2026-04-22 08:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":50053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:35:02] local.INFO: GPS data processed {"connection_id":50053,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:35:02] local.INFO: Acknowledgment sent {"connection_id":50053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:35:27] local.INFO: TCP Data received {"connection_id":50054,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:35:27] local.INFO: Processing buffer {"connection_id":50054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:35:27] local.INFO: IMEI packet received {"connection_id":50054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:35:32] local.INFO: TCP Data received {"connection_id":50054,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:35:32] local.INFO: Processing buffer {"connection_id":50054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:35:32] local.INFO: IMEI packet received {"connection_id":50054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:35:33] local.INFO: TCP Data received {"connection_id":50054,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:35:33] local.INFO: Processing buffer {"connection_id":50054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:35:33] local.INFO: Packet analysis {"connection_id":50054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:35:33] local.INFO: Extracted packet for processing {"connection_id":50054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:33] 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-22 08:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 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-22 08:35: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:35: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-22 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-22 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-22 08:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:35:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:35:33] local.INFO: GPS data processed {"connection_id":50054,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:35:33] local.INFO: Acknowledgment sent {"connection_id":50054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:35:33] local.INFO: TCP Data received {"connection_id":50053,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db324e990012d037140071c2df8003301111a..."} 
[2026-04-22 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db324e990012d037140071c2df8003301111a..."} 
[2026-04-22 08:35:33] local.INFO: Processing buffer {"connection_id":50053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db324e990012d037140071c2df8003301111a..."} 
[2026-04-22 08:35:33] local.INFO: Packet analysis {"connection_id":50053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db324"} 
[2026-04-22 08:35:33] local.INFO: Extracted packet for processing {"connection_id":50053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db324"} 
[2026-04-22 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":755200320,"raw_latitude":119287288,"longitude_deg":75.520032,"latitude_deg":11.9287288,"altitude":51,"angle":273,"satellites":26,"speed":41,"hex_longitude":"2d037140","hex_latitude":"071c2df8","is_valid_coordinates":true} 
[2026-04-22 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-22 08:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867719936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113673224385986560,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":251497922228373504,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776827034000,"timestamp_ms":1776827034000,"timestamp_seconds":1776827034,"priority":1,"record_length":96,"hex_timestamp":"0000019db324e990"} 
[2026-04-22 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-22 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 08:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 08:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867719936001,"66":14494,"23":206,"28":26368,"24":41,"16":113673224385986560,"45":251497922228373504},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,28,24,16,45]} 
[2026-04-22 08:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867719936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:35:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 08:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113673224385986560,"km_value":113673224385986.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":251497922228373504,"description":"Unknown IO ID 45"} 
[2026-04-22 08:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867719936001,"power":14494,"unknown_23":206,"unknown_28":26368,"ignition":41,"odometer":null,"unknown_45":251497922228373504}} 
[2026-04-22 08:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:35:33] local.INFO: GPS data processed {"connection_id":50053,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:35:33] local.INFO: Acknowledgment sent {"connection_id":50053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:35:37] local.INFO: TCP Data received {"connection_id":50054,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:35:37] local.INFO: Processing buffer {"connection_id":50054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:35:37] local.INFO: Packet analysis {"connection_id":50054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:35:37] local.INFO: Extracted packet for processing {"connection_id":50054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:35:37] 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-22 08:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 08: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-22 08:35: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:35:37] 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-22 08: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-22 08: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-22 08:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:35:37] 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-22 08:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:35:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":50054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:35:37] local.INFO: GPS data processed {"connection_id":50054,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:35:37] local.INFO: Acknowledgment sent {"connection_id":50054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:35:57] local.INFO: TCP Data received {"connection_id":50055,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:35:57] local.INFO: Processing buffer {"connection_id":50055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:35:57] local.INFO: IMEI packet received {"connection_id":50055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":50055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:35:59] local.INFO: TCP Data received {"connection_id":50055,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:35:59] local.INFO: Processing buffer {"connection_id":50055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:35:59] local.INFO: IMEI packet received {"connection_id":50055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":50055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:36:00] local.INFO: TCP Data received {"connection_id":50055,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db325fee8012d0223c0071c2ab0001c010d1e..."} 
[2026-04-22 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db325fee8012d0223c0071c2ab0001c010d1e..."} 
[2026-04-22 08:36:00] local.INFO: Processing buffer {"connection_id":50055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db325fee8012d0223c0071c2ab0001c010d1e..."} 
[2026-04-22 08:36:00] local.INFO: Packet analysis {"connection_id":50055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db325"} 
[2026-04-22 08:36:00] local.INFO: Extracted packet for processing {"connection_id":50055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db325"} 
[2026-04-22 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":755114944,"raw_latitude":119286448,"longitude_deg":75.5114944,"latitude_deg":11.9286448,"altitude":28,"angle":269,"satellites":30,"speed":46,"hex_longitude":"2d0223c0","hex_latitude":"071c2ab0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867736832001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113677373324394496,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":164662891913005056,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776827105000,"timestamp_ms":1776827105000,"timestamp_seconds":1776827105,"priority":1,"record_length":96,"hex_timestamp":"0000019db325fee8"} 
[2026-04-22 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-22 08:36:00] 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-22 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-22 08:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":50055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":50055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":50055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867736832001,"66":13917,"23":206,"28":26368,"24":46,"16":113677373324394496,"45":164662891913005056},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,28,24,16,45]} 
[2026-04-22 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867736832001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:36:00] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 08:36:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113677373324394496,"km_value":113677373324394.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":164662891913005056,"description":"Unknown IO ID 45"} 
[2026-04-22 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867736832001,"power":13917,"unknown_23":206,"unknown_28":26368,"ignition":46,"odometer":null,"unknown_45":164662891913005056}} 
[2026-04-22 08:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":50055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:36:00] local.INFO: GPS data processed {"connection_id":50055,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:36:00] local.INFO: Acknowledgment sent {"connection_id":50055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:36:08] local.INFO: TCP Data received {"connection_id":50054,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:36:08] local.INFO: Processing buffer {"connection_id":50054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db321d480012d7f960005afd7d00000015626..."} 
[2026-04-22 08:36:08] local.INFO: Packet analysis {"connection_id":50054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:36:08] local.INFO: Extracted packet for processing {"connection_id":50054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db321"} 
[2026-04-22 08:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867591936001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36: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-22 08:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776826832000,"timestamp_ms":1776826832000,"timestamp_seconds":1776826832,"priority":1,"record_length":96,"hex_timestamp":"0000019db321d480"} 
[2026-04-22 08: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-22 08:36: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:36: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-22 08: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-22 08: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-22 08:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:36:08] 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-22 08:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867591936001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867591936001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:36:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867591936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":50054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:36:08] local.INFO: GPS data processed {"connection_id":50054,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:36:08] local.INFO: Acknowledgment sent {"connection_id":50054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:36:27] local.INFO: TCP Data received {"connection_id":50315,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:36:27] local.INFO: Processing buffer {"connection_id":50315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:36:27] local.INFO: IMEI packet received {"connection_id":50315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":50315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:36:32] local.INFO: TCP Data received {"connection_id":50055,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3261e28012d01fdc0071c2d88001e01191e..."} 
[2026-04-22 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3261e28012d01fdc0071c2d88001e01191e..."} 
[2026-04-22 08:36:32] local.INFO: Processing buffer {"connection_id":50055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3261e28012d01fdc0071c2d88001e01191e..."} 
[2026-04-22 08:36:32] local.INFO: Packet analysis {"connection_id":50055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:36:32] local.INFO: Extracted packet for processing {"connection_id":50055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":755105216,"raw_latitude":119287176,"longitude_deg":75.5105216,"latitude_deg":11.9287176,"altitude":30,"angle":281,"satellites":30,"speed":48,"hex_longitude":"2d01fdc0","hex_latitude":"071c2d88","is_valid_coordinates":true} 
[2026-04-22 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-22 08:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867738880001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113677837180862464,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":154177949030592512,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776827113000,"timestamp_ms":1776827113000,"timestamp_seconds":1776827113,"priority":1,"record_length":96,"hex_timestamp":"0000019db3261e28"} 
[2026-04-22 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-22 08:36:32] 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-22 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-22 08:36:32] 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-22 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-22 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-22 08:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867738880001,"66":13972,"23":206,"28":26368,"24":48,"16":113677837180862464,"45":154177949030592512},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,28,24,16,45]} 
[2026-04-22 08:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867738880001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:36:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 08:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113677837180862464,"km_value":113677837180862.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":154177949030592512,"description":"Unknown IO ID 45"} 
[2026-04-22 08:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867738880001,"power":13972,"unknown_23":206,"unknown_28":26368,"ignition":48,"odometer":null,"unknown_45":154177949030592512}} 
[2026-04-22 08:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":50055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:36:32] local.INFO: GPS data processed {"connection_id":50055,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:36:32] local.INFO: Acknowledgment sent {"connection_id":50055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:36:32] local.INFO: TCP Data received {"connection_id":50315,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:36:32] local.INFO: Processing buffer {"connection_id":50315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:36:32] local.INFO: IMEI packet received {"connection_id":50315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:36:32] local.INFO: TCP Data received {"connection_id":50315,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:36:32] local.INFO: Processing buffer {"connection_id":50315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:36:32] local.INFO: Packet analysis {"connection_id":50315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:36:32] local.INFO: Extracted packet for processing {"connection_id":50315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:36: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-22 08:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 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-22 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:36: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-22 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-22 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-22 08:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:36:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":50315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:36:32] local.INFO: GPS data processed {"connection_id":50315,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:36:32] local.INFO: Acknowledgment sent {"connection_id":50315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:36:58] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:36:58] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:36:58] local.INFO: IMEI packet received {"connection_id":50447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":50447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:36:59] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:36:59] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:36:59] local.INFO: IMEI packet received {"connection_id":50447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":50447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:37:02] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:37:02] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:37:02] local.INFO: IMEI packet received {"connection_id":50447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":50447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:37:04] local.INFO: TCP Data received {"connection_id":50315,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:37:04] local.INFO: Processing buffer {"connection_id":50315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:37:04] local.INFO: Packet analysis {"connection_id":50315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:37:04] local.INFO: Extracted packet for processing {"connection_id":50315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37: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-22 08:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 08: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-22 08: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:37:04] 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-22 08:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:37:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":50315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:37:04] local.INFO: GPS data processed {"connection_id":50315,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:37:04] local.INFO: Acknowledgment sent {"connection_id":50315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:37:04] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3261e28012d01fdc0071c2d88001e01191e..."} 
[2026-04-22 08:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3261e28012d01fdc0071c2d88001e01191e..."} 
[2026-04-22 08:37:04] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3261e28012d01fdc0071c2d88001e01191e..."} 
[2026-04-22 08:37:04] local.INFO: Packet analysis {"connection_id":50447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:37:04] local.INFO: Extracted packet for processing {"connection_id":50447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:37:04] local.INFO: GPS Element Parsed {"raw_longitude":755105216,"raw_latitude":119287176,"longitude_deg":75.5105216,"latitude_deg":11.9287176,"altitude":30,"angle":281,"satellites":30,"speed":48,"hex_longitude":"2d01fdc0","hex_latitude":"071c2d88","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867740928001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113677837180862464,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":143481899915773952,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827113000,"timestamp_ms":1776827113000,"timestamp_seconds":1776827113,"priority":1,"record_length":96,"hex_timestamp":"0000019db3261e28"} 
[2026-04-22 08: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-22 08:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-22 08:37:04] 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-22 08: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-22 08: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-22 08:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867740928001,"66":13972,"23":206,"28":26368,"24":48,"16":113677837180862464,"45":143481899915773952},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,28,24,16,45]} 
[2026-04-22 08:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867740928001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:37:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 08:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113677837180862464,"km_value":113677837180862.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":143481899915773952,"description":"Unknown IO ID 45"} 
[2026-04-22 08:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867740928001,"power":13972,"unknown_23":206,"unknown_28":26368,"ignition":48,"odometer":null,"unknown_45":143481899915773952}} 
[2026-04-22 08:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":50447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:37:05] local.INFO: GPS data processed {"connection_id":50447,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:37:05] local.INFO: Acknowledgment sent {"connection_id":50447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:37:08] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3263d68012d01d840071c3430001f01181d..."} 
[2026-04-22 08:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3263d68012d01d840071c3430001f01181d..."} 
[2026-04-22 08:37:08] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3263d68012d01d840071c3430001f01181d..."} 
[2026-04-22 08:37:08] local.INFO: Packet analysis {"connection_id":50447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:37:08] local.INFO: Extracted packet for processing {"connection_id":50447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:37:08] local.INFO: GPS Element Parsed {"raw_longitude":755095616,"raw_latitude":119288880,"longitude_deg":75.5095616,"latitude_deg":11.928888,"altitude":31,"angle":280,"satellites":29,"speed":47,"hex_longitude":"2d01d840","hex_latitude":"071c3430","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867740928001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113678301037330432,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":143481899915773952,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776827121000,"timestamp_ms":1776827121000,"timestamp_seconds":1776827121,"priority":1,"record_length":96,"hex_timestamp":"0000019db3263d68"} 
[2026-04-22 08: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-22 08:37:08] 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-22 08: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-22 08:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867740928001,"66":14070,"23":206,"28":26368,"24":47,"16":113678301037330432,"45":143481899915773952},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,28,24,16,45]} 
[2026-04-22 08:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867740928001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:37:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 08:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113678301037330432,"km_value":113678301037330.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":143481899915773952,"description":"Unknown IO ID 45"} 
[2026-04-22 08:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867740928001,"power":14070,"unknown_23":206,"unknown_28":26368,"ignition":47,"odometer":null,"unknown_45":143481899915773952}} 
[2026-04-22 08:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":50447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:37:08] local.INFO: GPS data processed {"connection_id":50447,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:37:08] local.INFO: Acknowledgment sent {"connection_id":50447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:37:16] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:37:16] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:37:16] local.INFO: IMEI packet received {"connection_id":50994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":50994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:37:27] local.INFO: TCP Data received {"connection_id":50056,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:37:27] local.INFO: Processing buffer {"connection_id":50056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:37:27] local.INFO: IMEI packet received {"connection_id":50056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":50056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:37:32] local.INFO: TCP Data received {"connection_id":50056,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:37:32] local.INFO: Processing buffer {"connection_id":50056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:37:32] local.INFO: IMEI packet received {"connection_id":50056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:37:32] local.INFO: TCP Data received {"connection_id":50056,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:37:32] local.INFO: Processing buffer {"connection_id":50056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:37:32] local.INFO: Packet analysis {"connection_id":50056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:37:32] local.INFO: Extracted packet for processing {"connection_id":50056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37: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-22 08:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 08: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-22 08:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:37: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-22 08: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-22 08: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-22 08:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:37:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":50056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:37:32] local.INFO: GPS data processed {"connection_id":50056,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:37:32] local.INFO: Acknowledgment sent {"connection_id":50056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:37:39] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db327a4c8012d007600071be688002900e01d..."} 
[2026-04-22 08:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db327a4c8012d007600071be688002900e01d..."} 
[2026-04-22 08:37:39] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db327a4c8012d007600071be688002900e01d..."} 
[2026-04-22 08:37:39] local.INFO: Packet analysis {"connection_id":50447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db327"} 
[2026-04-22 08:37:39] local.INFO: Extracted packet for processing {"connection_id":50447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db327"} 
[2026-04-22 08:37:39] local.INFO: GPS Element Parsed {"raw_longitude":755004928,"raw_latitude":119269000,"longitude_deg":75.5004928,"latitude_deg":11.9269,"altitude":41,"angle":224,"satellites":29,"speed":51,"hex_longitude":"2d007600","hex_latitude":"071be688","is_valid_coordinates":true} 
[2026-04-22 08:37: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-22 08:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867764736001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113683180120178688,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":39899108483393536,"note":"Value kept but may cause issues"} 
[2026-04-22 08:37:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 08:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776827213000,"timestamp_ms":1776827213000,"timestamp_seconds":1776827213,"priority":1,"record_length":96,"hex_timestamp":"0000019db327a4c8"} 
[2026-04-22 08:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 08:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:37: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-22 08:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867764736001,"66":14428,"24":51,"28":26368,"16":113683180120178688,"45":39899108483393536},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 08:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867764736001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:37:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113683180120178688,"km_value":113683180120178.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":39899108483393536,"description":"Unknown IO ID 45"} 
[2026-04-22 08:37:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454867764736001,"power":14428,"ignition":51,"unknown_28":26368,"odometer":null,"unknown_45":39899108483393536}} 
[2026-04-22 08:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":50447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:37:40] local.INFO: GPS data processed {"connection_id":50447,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:37:40] local.INFO: Acknowledgment sent {"connection_id":50447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:37:56] local.INFO: TCP Data received {"connection_id":50995,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:37:56] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:37:56] local.INFO: IMEI packet received {"connection_id":50995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":50995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:37:56] local.INFO: TCP Data received {"connection_id":50995,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:37:56] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:37:56] local.INFO: IMEI packet received {"connection_id":50995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":50995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:37:56] local.INFO: TCP Data received {"connection_id":50448,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:37:56] local.INFO: Processing buffer {"connection_id":50448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:37:56] local.INFO: IMEI packet received {"connection_id":50448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":50448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:38:01] local.INFO: TCP Data received {"connection_id":50995,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:38:01] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:38:01] local.INFO: IMEI packet received {"connection_id":50995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":50995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:38:02] local.INFO: TCP Data received {"connection_id":50995,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db327ac98012d006e40071be038002800ed1e..."} 
[2026-04-22 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db327ac98012d006e40071be038002800ed1e..."} 
[2026-04-22 08:38:02] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db327ac98012d006e40071be038002800ed1e..."} 
[2026-04-22 08:38:02] local.INFO: Packet analysis {"connection_id":50995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db327"} 
[2026-04-22 08:38:02] local.INFO: Extracted packet for processing {"connection_id":50995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db327"} 
[2026-04-22 08:38:02] local.INFO: GPS Element Parsed {"raw_longitude":755002944,"raw_latitude":119267384,"longitude_deg":75.5002944,"latitude_deg":11.9267384,"altitude":40,"angle":237,"satellites":30,"speed":50,"hex_longitude":"2d006e40","hex_latitude":"071be038","is_valid_coordinates":true} 
[2026-04-22 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-22 08:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867766528001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113683304674230272,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":33214077784721408,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 08:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776827215000,"timestamp_ms":1776827215000,"timestamp_seconds":1776827215,"priority":1,"record_length":96,"hex_timestamp":"0000019db327ac98"} 
[2026-04-22 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-22 08:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 08:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 08:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867766528001,"66":14407,"24":50,"28":26368,"16":113683304674230272,"45":33214077784721408},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 08:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867766528001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:38:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113683304674230272,"km_value":113683304674230.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":33214077784721408,"description":"Unknown IO ID 45"} 
[2026-04-22 08:38:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454867766528001,"power":14407,"ignition":50,"unknown_28":26368,"odometer":null,"unknown_45":33214077784721408}} 
[2026-04-22 08:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":50995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:38:02] local.INFO: GPS data processed {"connection_id":50995,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:38:02] local.INFO: Acknowledgment sent {"connection_id":50995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:38:03] local.INFO: TCP Data received {"connection_id":50056,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:38:03] local.INFO: Processing buffer {"connection_id":50056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:38:03] local.INFO: Packet analysis {"connection_id":50056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:38:03] local.INFO: Extracted packet for processing {"connection_id":50056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38: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-22 08:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 08: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-22 08:38: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:38:04] 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-22 08:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:38:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:38:04] local.INFO: GPS data processed {"connection_id":50056,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:38:04] local.INFO: Acknowledgment sent {"connection_id":50056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:38:27] local.INFO: TCP Data received {"connection_id":50057,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:38:27] local.INFO: Processing buffer {"connection_id":50057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:38:27] local.INFO: IMEI packet received {"connection_id":50057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":50057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:38:32] local.INFO: TCP Data received {"connection_id":50057,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:38:32] local.INFO: Processing buffer {"connection_id":50057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:38:32] local.INFO: IMEI packet received {"connection_id":50057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:38:32] local.INFO: TCP Data received {"connection_id":50057,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:38:32] local.INFO: Processing buffer {"connection_id":50057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:38:32] local.INFO: Packet analysis {"connection_id":50057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:38:32] local.INFO: Extracted packet for processing {"connection_id":50057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38: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-22 08:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 08: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-22 08:38: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:38: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-22 08: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-22 08: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-22 08:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:38:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":50057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:38:32] local.INFO: GPS data processed {"connection_id":50057,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:38:32] local.INFO: Acknowledgment sent {"connection_id":50057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:38:34] local.INFO: TCP Data received {"connection_id":50995,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db327b468012d006580071bdbc0002800f81e..."} 
[2026-04-22 08:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db327b468012d006580071bdbc0002800f81e..."} 
[2026-04-22 08:38:34] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db327b468012d006580071bdbc0002800f81e..."} 
[2026-04-22 08:38:34] local.INFO: Packet analysis {"connection_id":50995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db327"} 
[2026-04-22 08:38:34] local.INFO: Extracted packet for processing {"connection_id":50995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db327"} 
[2026-04-22 08:38:34] local.INFO: GPS Element Parsed {"raw_longitude":755000704,"raw_latitude":119266240,"longitude_deg":75.5000704,"latitude_deg":11.926624,"altitude":40,"angle":248,"satellites":30,"speed":51,"hex_longitude":"2d006580","hex_latitude":"071bdbc0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867767040001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113683424933314560,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":31032646714800128,"note":"Value kept but may cause issues"} 
[2026-04-22 08:38:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 08:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776827217000,"timestamp_ms":1776827217000,"timestamp_seconds":1776827217,"priority":1,"record_length":96,"hex_timestamp":"0000019db327b468"} 
[2026-04-22 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-22 08:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 08:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 08:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867767040001,"66":14428,"24":51,"28":26368,"16":113683424933314560,"45":31032646714800128},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 08:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867767040001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:38:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113683424933314560,"km_value":113683424933314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":31032646714800128,"description":"Unknown IO ID 45"} 
[2026-04-22 08:38:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454867767040001,"power":14428,"ignition":51,"unknown_28":26368,"odometer":null,"unknown_45":31032646714800128}} 
[2026-04-22 08:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":50995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:38:34] local.INFO: GPS data processed {"connection_id":50995,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:38:34] local.INFO: Acknowledgment sent {"connection_id":50995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:38:57] local.INFO: TCP Data received {"connection_id":50316,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:38:57] local.INFO: Processing buffer {"connection_id":50316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:38:57] local.INFO: IMEI packet received {"connection_id":50316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":50316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:38:58] local.INFO: TCP Data received {"connection_id":50316,"ip":"117.225.252.230","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50316,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 08:38:58] local.INFO: Processing buffer {"connection_id":50316,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 08:38:58] local.INFO: IMEI packet received {"connection_id":50316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":50316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:39:02] local.INFO: TCP Data received {"connection_id":50316,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:39:02] local.INFO: Processing buffer {"connection_id":50316,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 08:39:02] local.INFO: IMEI packet received {"connection_id":50316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":50316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:39:03] local.INFO: TCP Data received {"connection_id":50316,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db328d578012cfef9c0071b7320001d01061e..."} 
[2026-04-22 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db328d578012cfef9c0071b7320001d01061e..."} 
[2026-04-22 08:39:03] local.INFO: Processing buffer {"connection_id":50316,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019db3..."} 
[2026-04-22 08:39:03] local.INFO: IMEI packet received {"connection_id":50316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":50316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:39:04] local.INFO: TCP Data received {"connection_id":50057,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:39:04] local.INFO: Processing buffer {"connection_id":50057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:39:04] local.INFO: Packet analysis {"connection_id":50057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:39:04] local.INFO: Extracted packet for processing {"connection_id":50057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08: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-22 08:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 08: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-22 08:39: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-22 08:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:39:04] 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-22 08:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:39:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":50057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:39:04] local.INFO: GPS data processed {"connection_id":50057,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:39:04] local.INFO: Acknowledgment sent {"connection_id":50057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:39:05] local.INFO: TCP Data received {"connection_id":50316,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db328f4b8012cfed5c0071b6b58002100fa1d..."} 
[2026-04-22 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db328f4b8012cfed5c0071b6b58002100fa1d..."} 
[2026-04-22 08:39:05] local.INFO: Processing buffer {"connection_id":50316,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019db328d578012cfef9c0071b7320001d01061e..."} 
[2026-04-22 08:39:05] local.INFO: Packet analysis {"connection_id":50316,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019db328"} 
[2026-04-22 08:39:05] local.INFO: Extracted packet for processing {"connection_id":50316,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db328"} 
[2026-04-22 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":754907584,"raw_latitude":119239456,"longitude_deg":75.4907584,"latitude_deg":11.9239456,"altitude":29,"angle":262,"satellites":30,"speed":47,"hex_longitude":"2cfef9c0","hex_latitude":"071b7320","is_valid_coordinates":true} 
[2026-04-22 08:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867784448001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113688067792961536,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-62979995513294848,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 08:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776827291000,"timestamp_ms":1776827291000,"timestamp_seconds":1776827291,"priority":1,"record_length":96,"hex_timestamp":"0000019db328d578"} 
[2026-04-22 08:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 08:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867784448001,"66":13972,"24":47,"28":26368,"16":113688067792961536,"44":-62979995513294848},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-22 08:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867784448001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113688067792961536,"km_value":113688067792961.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-62979995513294848,"description":"Unknown IO ID 44"} 
[2026-04-22 08:39:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454867784448001,"power":13972,"ignition":47,"unknown_28":26368,"odometer":null,"unknown_44":-62979995513294848}} 
[2026-04-22 08:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":50316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:39:05] local.INFO: GPS data processed {"connection_id":50316,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:39:05] local.INFO: Acknowledgment sent {"connection_id":50316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:39:05] local.INFO: Packet analysis {"connection_id":50316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db328"} 
[2026-04-22 08:39:05] local.INFO: Extracted packet for processing {"connection_id":50316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db328"} 
[2026-04-22 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":754898368,"raw_latitude":119237464,"longitude_deg":75.4898368,"latitude_deg":11.9237464,"altitude":33,"angle":250,"satellites":29,"speed":46,"hex_longitude":"2cfed5c0","hex_latitude":"071b6b58","is_valid_coordinates":true} 
[2026-04-22 08:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867786496001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113688514469560320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73816782117068800,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776827299000,"timestamp_ms":1776827299000,"timestamp_seconds":1776827299,"priority":1,"record_length":96,"hex_timestamp":"0000019db328f4b8"} 
[2026-04-22 08:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-22 08:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867786496001,"66":13993,"250":206,"28":26368,"24":46,"16":113688514469560320,"44":-73816782117068800},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 08:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867786496001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113688514469560320,"km_value":113688514469560.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73816782117068800,"description":"Unknown IO ID 44"} 
[2026-04-22 08:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867786496001,"power":13993,"unknown_250":206,"unknown_28":26368,"ignition":46,"odometer":null,"unknown_44":-73816782117068800}} 
[2026-04-22 08:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":50316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:39:05] local.INFO: GPS data processed {"connection_id":50316,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:39:05] local.INFO: Acknowledgment sent {"connection_id":50316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:39:26] local.INFO: TCP Data received {"connection_id":50996,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:39:26] local.INFO: Processing buffer {"connection_id":50996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:39:26] local.INFO: IMEI packet received {"connection_id":50996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":50996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:39:32] local.INFO: TCP Data received {"connection_id":50996,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:39:32] local.INFO: Processing buffer {"connection_id":50996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:39:32] local.INFO: IMEI packet received {"connection_id":50996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":50996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:39:33] local.INFO: TCP Data received {"connection_id":50996,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:39:33] local.INFO: Processing buffer {"connection_id":50996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:39:33] local.INFO: Packet analysis {"connection_id":50996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:39:33] local.INFO: Extracted packet for processing {"connection_id":50996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:33] 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-22 08:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 08: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-22 08:39: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:39: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-22 08: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-22 08: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-22 08:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:39:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":50996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:39:33] local.INFO: GPS data processed {"connection_id":50996,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:39:33] local.INFO: Acknowledgment sent {"connection_id":50996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:39:37] local.INFO: TCP Data received {"connection_id":50316,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db328f4b8012cfed5c0071b6b58002100fa1d..."} 
[2026-04-22 08:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db328f4b8012cfed5c0071b6b58002100fa1d..."} 
[2026-04-22 08:39:37] local.INFO: Processing buffer {"connection_id":50316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db328f4b8012cfed5c0071b6b58002100fa1d..."} 
[2026-04-22 08:39:37] local.INFO: Packet analysis {"connection_id":50316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db328"} 
[2026-04-22 08:39:37] local.INFO: Extracted packet for processing {"connection_id":50316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db328"} 
[2026-04-22 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":754898368,"raw_latitude":119237464,"longitude_deg":75.4898368,"latitude_deg":11.9237464,"altitude":33,"angle":250,"satellites":29,"speed":46,"hex_longitude":"2cfed5c0","hex_latitude":"071b6b58","is_valid_coordinates":true} 
[2026-04-22 08:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867788544001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113688514469560320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-83949881279162368,"note":"Value kept but may cause issues"} 
[2026-04-22 08:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776827299000,"timestamp_ms":1776827299000,"timestamp_seconds":1776827299,"priority":1,"record_length":96,"hex_timestamp":"0000019db328f4b8"} 
[2026-04-22 08:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 08:39:37] 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-22 08:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867788544001,"66":13993,"250":206,"28":26368,"24":46,"16":113688514469560320,"44":-83949881279162368},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 08:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867788544001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:39:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113688514469560320,"km_value":113688514469560.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-83949881279162368,"description":"Unknown IO ID 44"} 
[2026-04-22 08:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867788544001,"power":13993,"unknown_250":206,"unknown_28":26368,"ignition":46,"odometer":null,"unknown_44":-83949881279162368}} 
[2026-04-22 08:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":50316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:39:37] local.INFO: GPS data processed {"connection_id":50316,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:39:37] local.INFO: Acknowledgment sent {"connection_id":50316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:39:56] local.INFO: TCP Data received {"connection_id":50317,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:39:56] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:39:56] local.INFO: IMEI packet received {"connection_id":50317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":50317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:40:02] local.INFO: TCP Data received {"connection_id":50317,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:40:02] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:40:02] local.INFO: IMEI packet received {"connection_id":50317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":50317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:40:03] local.INFO: TCP Data received {"connection_id":50317,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32913f8012cfeb400071b5e28002400f81d..."} 
[2026-04-22 08:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32913f8012cfeb400071b5e28002400f81d..."} 
[2026-04-22 08:40:03] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32913f8012cfeb400071b5e28002400f81d..."} 
[2026-04-22 08:40:03] local.INFO: Packet analysis {"connection_id":50317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db329"} 
[2026-04-22 08:40:03] local.INFO: Extracted packet for processing {"connection_id":50317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db329"} 
[2026-04-22 08:40:03] local.INFO: GPS Element Parsed {"raw_longitude":754889728,"raw_latitude":119234088,"longitude_deg":75.4889728,"latitude_deg":11.9234088,"altitude":36,"angle":248,"satellites":29,"speed":44,"hex_longitude":"2cfeb400","hex_latitude":"071b5e28","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867788544001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113688956851191808,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-83949881279162368,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776827307000,"timestamp_ms":1776827307000,"timestamp_seconds":1776827307,"priority":1,"record_length":96,"hex_timestamp":"0000019db32913f8"} 
[2026-04-22 08: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-22 08:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 08:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867788544001,"66":13993,"250":206,"28":26368,"24":44,"16":113688956851191808,"44":-83949881279162368},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 08:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867788544001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:40:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113688956851191808,"km_value":113688956851191.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:40:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-83949881279162368,"description":"Unknown IO ID 44"} 
[2026-04-22 08:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867788544001,"power":13993,"unknown_250":206,"unknown_28":26368,"ignition":44,"odometer":null,"unknown_44":-83949881279162368}} 
[2026-04-22 08:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":50317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:40:03] local.INFO: GPS data processed {"connection_id":50317,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:40:03] local.INFO: Acknowledgment sent {"connection_id":50317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:40:04] local.INFO: TCP Data received {"connection_id":50996,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:40:04] local.INFO: Processing buffer {"connection_id":50996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:40:04] local.INFO: Packet analysis {"connection_id":50996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:40:04] local.INFO: Extracted packet for processing {"connection_id":50996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08: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-22 08:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 08: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-22 08:40: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:40:04] 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-22 08:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:40:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":50996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:40:04] local.INFO: GPS data processed {"connection_id":50996,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:40:04] local.INFO: Acknowledgment sent {"connection_id":50996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:40:32] local.INFO: TCP Data received {"connection_id":50058,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:40:32] local.INFO: Processing buffer {"connection_id":50058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:40:32] local.INFO: IMEI packet received {"connection_id":50058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:40:35] local.INFO: TCP Data received {"connection_id":50317,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32a2568012cfda880071b4320001d00f41b..."} 
[2026-04-22 08:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32a2568012cfda880071b4320001d00f41b..."} 
[2026-04-22 08:40:35] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32a2568012cfda880071b4320001d00f41b..."} 
[2026-04-22 08:40:35] local.INFO: Packet analysis {"connection_id":50317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32a"} 
[2026-04-22 08:40:35] local.INFO: Extracted packet for processing {"connection_id":50317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32a"} 
[2026-04-22 08:40:35] local.INFO: GPS Element Parsed {"raw_longitude":754821248,"raw_latitude":119227168,"longitude_deg":75.4821248,"latitude_deg":11.9227168,"altitude":29,"angle":244,"satellites":27,"speed":37,"hex_longitude":"2cfda880","hex_latitude":"071b4320","is_valid_coordinates":true} 
[2026-04-22 08:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867807744001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113692405709930496,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-165999836992708608,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776827377000,"timestamp_ms":1776827377000,"timestamp_seconds":1776827377,"priority":1,"record_length":96,"hex_timestamp":"0000019db32a2568"} 
[2026-04-22 08:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 08:40:35] 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-22 08:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867807744001,"66":14070,"250":206,"28":26368,"24":37,"16":113692405709930496,"44":-165999836992708608},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 08:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867807744001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:40:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113692405709930496,"km_value":113692405709930.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-165999836992708608,"description":"Unknown IO ID 44"} 
[2026-04-22 08:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867807744001,"power":14070,"unknown_250":206,"unknown_28":26368,"ignition":37,"odometer":null,"unknown_44":-165999836992708608}} 
[2026-04-22 08:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":50317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:40:35] local.INFO: GPS data processed {"connection_id":50317,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:40:35] local.INFO: Acknowledgment sent {"connection_id":50317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:40:37] local.INFO: TCP Data received {"connection_id":50058,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:40:37] local.INFO: Processing buffer {"connection_id":50058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:40:37] local.INFO: IMEI packet received {"connection_id":50058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":50058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:40:37] local.INFO: TCP Data received {"connection_id":50058,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:40:37] local.INFO: Processing buffer {"connection_id":50058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:40:37] local.INFO: Packet analysis {"connection_id":50058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:40:37] local.INFO: Extracted packet for processing {"connection_id":50058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:37] 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-22 08:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 08: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-22 08:40: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:40:37] 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-22 08: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-22 08: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-22 08:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:40:37] 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-22 08:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:40:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":50058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:40:37] local.INFO: GPS data processed {"connection_id":50058,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:40:37] local.INFO: Acknowledgment sent {"connection_id":50058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:40:42] local.INFO: TCP Data received {"connection_id":50058,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:40:42] local.INFO: Processing buffer {"connection_id":50058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3266c48012d7f960005afd7d00000015622..."} 
[2026-04-22 08:40:42] local.INFO: Packet analysis {"connection_id":50058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:40:42] local.INFO: Extracted packet for processing {"connection_id":50058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db326"} 
[2026-04-22 08:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":34,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867668992001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:40:42] 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-22 08:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776827133000,"timestamp_ms":1776827133000,"timestamp_seconds":1776827133,"priority":1,"record_length":96,"hex_timestamp":"0000019db3266c48"} 
[2026-04-22 08:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:40:42] 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-22 08:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:40:42] 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-22 08:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867668992001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867668992001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:40:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867668992001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":50058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:40:42] local.INFO: GPS data processed {"connection_id":50058,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:40:42] local.INFO: Acknowledgment sent {"connection_id":50058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:40:56] local.INFO: TCP Data received {"connection_id":50998,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:40:56] local.INFO: Processing buffer {"connection_id":50998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:40:56] local.INFO: IMEI packet received {"connection_id":50998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":50998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:41:02] local.INFO: TCP Data received {"connection_id":50998,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:41:02] local.INFO: Processing buffer {"connection_id":50998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:41:02] local.INFO: IMEI packet received {"connection_id":50998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":50998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:41:03] local.INFO: TCP Data received {"connection_id":50998,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32a40c0012cfd9140071b35a0001d00e81d..."} 
[2026-04-22 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32a40c0012cfd9140071b35a0001d00e81d..."} 
[2026-04-22 08:41:03] local.INFO: Processing buffer {"connection_id":50998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32a40c0012cfd9140071b35a0001d00e81d..."} 
[2026-04-22 08:41:03] local.INFO: Packet analysis {"connection_id":50998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32a"} 
[2026-04-22 08:41:03] local.INFO: Extracted packet for processing {"connection_id":50998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32a"} 
[2026-04-22 08:41:03] local.INFO: GPS Element Parsed {"raw_longitude":754815296,"raw_latitude":119223712,"longitude_deg":75.4815296,"latitude_deg":11.9223712,"altitude":29,"angle":232,"satellites":29,"speed":39,"hex_longitude":"2cfd9140","hex_latitude":"071b35a0","is_valid_coordinates":true} 
[2026-04-22 08:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867808512001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113692736422412288,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-168744218015883264,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776827384000,"timestamp_ms":1776827384000,"timestamp_seconds":1776827384,"priority":1,"record_length":96,"hex_timestamp":"0000019db32a40c0"} 
[2026-04-22 08:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 08:41:03] 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-22 08:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867808512001,"66":13993,"250":206,"28":26368,"24":39,"16":113692736422412288,"44":-168744218015883264},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 08:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867808512001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:41:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:41:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113692736422412288,"km_value":113692736422412.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-168744218015883264,"description":"Unknown IO ID 44"} 
[2026-04-22 08:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867808512001,"power":13993,"unknown_250":206,"unknown_28":26368,"ignition":39,"odometer":null,"unknown_44":-168744218015883264}} 
[2026-04-22 08:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":50998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:41:03] local.INFO: GPS data processed {"connection_id":50998,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:41:03] local.INFO: Acknowledgment sent {"connection_id":50998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:41:27] local.INFO: TCP Data received {"connection_id":50059,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:41:27] local.INFO: Processing buffer {"connection_id":50059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:41:27] local.INFO: IMEI packet received {"connection_id":50059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":50059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:41:32] local.INFO: TCP Data received {"connection_id":50059,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:41:32] local.INFO: Processing buffer {"connection_id":50059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:41:32] local.INFO: IMEI packet received {"connection_id":50059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:41:33] local.INFO: TCP Data received {"connection_id":50059,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:41:33] local.INFO: Processing buffer {"connection_id":50059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:41:33] local.INFO: Packet analysis {"connection_id":50059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:41:33] local.INFO: Extracted packet for processing {"connection_id":50059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:33] 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-22 08:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:41: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-22 08:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:41: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-22 08:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:41:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":50059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:41:33] local.INFO: GPS data processed {"connection_id":50059,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:41:33] local.INFO: Acknowledgment sent {"connection_id":50059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:41:35] local.INFO: TCP Data received {"connection_id":50998,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b1f68012cfcb500071b28d8001c00e01d..."} 
[2026-04-22 08:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b1f68012cfcb500071b28d8001c00e01d..."} 
[2026-04-22 08:41:35] local.INFO: Processing buffer {"connection_id":50998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b1f68012cfcb500071b28d8001c00e01d..."} 
[2026-04-22 08:41:35] local.INFO: Packet analysis {"connection_id":50998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:41:35] local.INFO: Extracted packet for processing {"connection_id":50998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:41:35] local.INFO: GPS Element Parsed {"raw_longitude":754758912,"raw_latitude":119220440,"longitude_deg":75.4758912,"latitude_deg":11.922044,"altitude":28,"angle":224,"satellites":29,"speed":38,"hex_longitude":"2cfcb500","hex_latitude":"071b28d8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867822592001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113695863158603776,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-230598344148082688,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776827441000,"timestamp_ms":1776827441000,"timestamp_seconds":1776827441,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b1f68"} 
[2026-04-22 08: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-22 08:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940732085,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505334468706304,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3005923752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4242735111,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84720752133610274,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3757768910,"corrected_to":0} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147949378,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402207,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3976331264,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.WARNING: Large IO value detected {"io_id":144,"raw_value":9289937455165184,"note":"Value kept but may cause issues"} 
[2026-04-22 08:41:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,251,28,24,241,158,16,237,157,244,44,71,25,27,10,66,240,192,73,26,236,64,1,252,179,4,113,205,47,221,235,29,239,54,2,147,7,31,50,206,144],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3757768910,"validated":0}]} 
[2026-04-22 08:41:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801690659861037056,"timestamp_seconds":1801690659861037.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 08: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-22 08:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867822592001,"66":14559,"251":206,"28":26368,"24":38,"16":113695863158603776,"44":-230598344148082688},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 08:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867822592001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:41:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 08:41:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113695863158603776,"km_value":113695863158603.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:41:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-230598344148082688,"description":"Unknown IO ID 44"} 
[2026-04-22 08:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867822592001,"power":14559,"unknown_251":206,"unknown_28":26368,"ignition":38,"odometer":null,"unknown_44":-230598344148082688}} 
[2026-04-22 08:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":50998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:41:35] local.INFO: GPS data processed {"connection_id":50998,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:41:35] local.INFO: Acknowledgment sent {"connection_id":50998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:41:59] local.INFO: TCP Data received {"connection_id":51000,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:41:59] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:41:59] local.INFO: IMEI packet received {"connection_id":51000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":51000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:42:02] local.INFO: TCP Data received {"connection_id":51000,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:02] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:02] local.INFO: IMEI packet received {"connection_id":51000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":51000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:42:04] local.INFO: TCP Data received {"connection_id":50059,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:42:04] local.INFO: Processing buffer {"connection_id":50059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:42:04] local.INFO: Packet analysis {"connection_id":50059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:42:04] local.INFO: Extracted packet for processing {"connection_id":50059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42: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-22 08:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:42: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-22 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:42:04] 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-22 08:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:42:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":50059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:42:04] local.INFO: GPS data processed {"connection_id":50059,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:42:04] local.INFO: Acknowledgment sent {"connection_id":50059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:42:07] local.INFO: TCP Data received {"connection_id":51000,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:07] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:07] local.INFO: IMEI packet received {"connection_id":51000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":51000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:42:08] local.INFO: TCP Data received {"connection_id":51000,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b3ea8012cfc9c40071b14c0001e00f01d..."} 
[2026-04-22 08:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b3ea8012cfc9c40071b14c0001e00f01d..."} 
[2026-04-22 08:42:08] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b3ea8012cfc9c40071b14c0001e00f01d..."} 
[2026-04-22 08:42:08] local.INFO: Packet analysis {"connection_id":51000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:42:08] local.INFO: Extracted packet for processing {"connection_id":51000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:42:08] local.INFO: GPS Element Parsed {"raw_longitude":754752576,"raw_latitude":119215296,"longitude_deg":75.4752576,"latitude_deg":11.9215296,"altitude":30,"angle":240,"satellites":29,"speed":41,"hex_longitude":"2cfc9c40","hex_latitude":"071b14c0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867824896001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113696254000627712,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-237283374846650368,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776827449000,"timestamp_ms":1776827449000,"timestamp_seconds":1776827449,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b3ea8"} 
[2026-04-22 08: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-22 08:42:08] 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-22 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-22 08:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867824896001,"66":14613,"251":206,"28":26368,"24":41,"16":113696254000627712,"44":-237283374846650368},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 08:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867824896001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:42:08] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 08:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113696254000627712,"km_value":113696254000627.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:42:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-237283374846650368,"description":"Unknown IO ID 44"} 
[2026-04-22 08:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867824896001,"power":14613,"unknown_251":206,"unknown_28":26368,"ignition":41,"odometer":null,"unknown_44":-237283374846650368}} 
[2026-04-22 08:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":51000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:42:08] local.INFO: GPS data processed {"connection_id":51000,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:42:08] local.INFO: Acknowledgment sent {"connection_id":51000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:42:09] local.INFO: TCP Data received {"connection_id":51000,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b4e48012cfc8c80071b0ec0002000fe1d..."} 
[2026-04-22 08:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b4e48012cfc8c80071b0ec0002000fe1d..."} 
[2026-04-22 08:42:09] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b4e48012cfc8c80071b0ec0002000fe1d..."} 
[2026-04-22 08:42:09] local.INFO: Packet analysis {"connection_id":51000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:42:09] local.INFO: Extracted packet for processing {"connection_id":51000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:42:09] local.INFO: GPS Element Parsed {"raw_longitude":754748544,"raw_latitude":119213760,"longitude_deg":75.4748544,"latitude_deg":11.921376,"altitude":32,"angle":254,"satellites":29,"speed":43,"hex_longitude":"2cfc8c80","hex_latitude":"071b0ec0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867826944001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113696460159057920,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-244249880521555968,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776827453000,"timestamp_ms":1776827453000,"timestamp_seconds":1776827453,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b4e48"} 
[2026-04-22 08: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-22 08:42:09] 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-22 08: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-04-22 08:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867826944001,"66":14624,"251":206,"28":26368,"24":43,"16":113696460159057920,"44":-244249880521555968},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 08:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867826944001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:42:09] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 08:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113696460159057920,"km_value":113696460159057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-244249880521555968,"description":"Unknown IO ID 44"} 
[2026-04-22 08:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867826944001,"power":14624,"unknown_251":206,"unknown_28":26368,"ignition":43,"odometer":null,"unknown_44":-244249880521555968}} 
[2026-04-22 08:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":51000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:42:10] local.INFO: GPS data processed {"connection_id":51000,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:42:10] local.INFO: Acknowledgment sent {"connection_id":51000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:42:27] local.INFO: TCP Data received {"connection_id":50451,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:42:27] local.INFO: Processing buffer {"connection_id":50451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:42:27] local.INFO: IMEI packet received {"connection_id":50451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:42:32] local.INFO: TCP Data received {"connection_id":50451,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:42:32] local.INFO: Processing buffer {"connection_id":50451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:42:32] local.INFO: IMEI packet received {"connection_id":50451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:42:32] local.INFO: TCP Data received {"connection_id":50451,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:42:32] local.INFO: Processing buffer {"connection_id":50451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:42:32] local.INFO: Packet analysis {"connection_id":50451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:42:32] local.INFO: Extracted packet for processing {"connection_id":50451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42: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-22 08:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08: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-22 08:42: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-22 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:42: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-22 08: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-22 08: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-22 08:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:42:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":50451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:42:32] local.INFO: GPS data processed {"connection_id":50451,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:42:32] local.INFO: Acknowledgment sent {"connection_id":50451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:42:41] local.INFO: TCP Data received {"connection_id":51000,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32c4460012cfb7f40071ac538000e00e81d..."} 
[2026-04-22 08:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32c4460012cfb7f40071ac538000e00e81d..."} 
[2026-04-22 08:42:41] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32c4460012cfb7f40071ac538000e00e81d..."} 
[2026-04-22 08:42:41] local.INFO: Packet analysis {"connection_id":51000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32c"} 
[2026-04-22 08:42:41] local.INFO: Extracted packet for processing {"connection_id":51000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32c"} 
[2026-04-22 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":754679616,"raw_latitude":119194936,"longitude_deg":75.4679616,"latitude_deg":11.9194936,"altitude":14,"angle":232,"satellites":29,"speed":19,"hex_longitude":"2cfb7f40","hex_latitude":"071ac538","is_valid_coordinates":true} 
[2026-04-22 08:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867842304001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113700089406423040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-320740705446899712,"note":"Value kept but may cause issues"} 
[2026-04-22 08:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776827516000,"timestamp_ms":1776827516000,"timestamp_seconds":1776827516,"priority":1,"record_length":96,"hex_timestamp":"0000019db32c4460"} 
[2026-04-22 08:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-22 08:42:41] 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-22 08:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867842304001,"66":14483,"251":206,"28":26368,"24":19,"16":113700089406423040,"44":-320740705446899712},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 08:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867842304001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:42:41] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 08:42:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113700089406423040,"km_value":113700089406423.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-320740705446899712,"description":"Unknown IO ID 44"} 
[2026-04-22 08:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867842304001,"power":14483,"unknown_251":206,"unknown_28":26368,"ignition":19,"odometer":null,"unknown_44":-320740705446899712}} 
[2026-04-22 08:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":51000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:42:41] local.INFO: GPS data processed {"connection_id":51000,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:42:41] local.INFO: Acknowledgment sent {"connection_id":51000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:42:57] local.INFO: TCP Data received {"connection_id":50060,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:57] local.INFO: Processing buffer {"connection_id":50060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:57] local.INFO: IMEI packet received {"connection_id":50060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":50060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:42:57] local.INFO: TCP Data received {"connection_id":50060,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:57] local.INFO: Processing buffer {"connection_id":50060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:57] local.INFO: IMEI packet received {"connection_id":50060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":50060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:42:59] local.INFO: TCP Data received {"connection_id":50060,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:59] local.INFO: Processing buffer {"connection_id":50060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:42:59] local.INFO: IMEI packet received {"connection_id":50060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":50060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:43:00] local.INFO: TCP Data received {"connection_id":50060,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32c5018012cfb79c0071ac208000f00f81e..."} 
[2026-04-22 08:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32c5018012cfb79c0071ac208000f00f81e..."} 
[2026-04-22 08:43:00] local.INFO: Processing buffer {"connection_id":50060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32c5018012cfb79c0071ac208000f00f81e..."} 
[2026-04-22 08:43:00] local.INFO: Packet analysis {"connection_id":50060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32c"} 
[2026-04-22 08:43:00] local.INFO: Extracted packet for processing {"connection_id":50060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32c"} 
[2026-04-22 08:43:00] local.INFO: GPS Element Parsed {"raw_longitude":754678208,"raw_latitude":119194120,"longitude_deg":75.4678208,"latitude_deg":11.919412,"altitude":15,"angle":248,"satellites":30,"speed":24,"hex_longitude":"2cfb79c0","hex_latitude":"071ac208","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867844096001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113700171010801664,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-324470248889305088,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776827519000,"timestamp_ms":1776827519000,"timestamp_seconds":1776827519,"priority":1,"record_length":96,"hex_timestamp":"0000019db32c5018"} 
[2026-04-22 08: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-22 08:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-22 08:43:00] 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-22 08: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-22 08: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-22 08:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":50060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":50060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":50060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867844096001,"66":14450,"251":206,"28":26368,"24":24,"16":113700171010801664,"44":-324470248889305088},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 08:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867844096001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:43:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 08:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113700171010801664,"km_value":113700171010801.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-324470248889305088,"description":"Unknown IO ID 44"} 
[2026-04-22 08:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867844096001,"power":14450,"unknown_251":206,"unknown_28":26368,"ignition":24,"odometer":null,"unknown_44":-324470248889305088}} 
[2026-04-22 08:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":50060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:43:00] local.INFO: GPS data processed {"connection_id":50060,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:43:00] local.INFO: Acknowledgment sent {"connection_id":50060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:43:04] local.INFO: TCP Data received {"connection_id":50451,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:43:04] local.INFO: Processing buffer {"connection_id":50451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:43:04] local.INFO: Packet analysis {"connection_id":50451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:43:04] local.INFO: Extracted packet for processing {"connection_id":50451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43: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-22 08:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:43: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-22 08:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:43:04] 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-22 08:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:43:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:43:04] local.INFO: GPS data processed {"connection_id":50451,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:43:04] local.INFO: Acknowledgment sent {"connection_id":50451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:43:11] local.INFO: TCP Data received {"connection_id":51001,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:43:12] local.INFO: Processing buffer {"connection_id":51001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:43:12] local.INFO: IMEI packet received {"connection_id":51001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":51001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:43:27] local.INFO: TCP Data received {"connection_id":50318,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:43:27] local.INFO: Processing buffer {"connection_id":50318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:43:27] local.INFO: IMEI packet received {"connection_id":50318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":50318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:43:31] local.INFO: TCP Data received {"connection_id":50060,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32c5bd0012cfb7100071abff0001001041e..."} 
[2026-04-22 08:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32c5bd0012cfb7100071abff0001001041e..."} 
[2026-04-22 08:43:31] local.INFO: Processing buffer {"connection_id":50060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32c5bd0012cfb7100071abff0001001041e..."} 
[2026-04-22 08:43:31] local.INFO: Packet analysis {"connection_id":50060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32c"} 
[2026-04-22 08:43:31] local.INFO: Extracted packet for processing {"connection_id":50060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32c"} 
[2026-04-22 08:43:31] local.INFO: GPS Element Parsed {"raw_longitude":754675968,"raw_latitude":119193584,"longitude_deg":75.4675968,"latitude_deg":11.9193584,"altitude":16,"angle":260,"satellites":30,"speed":33,"hex_longitude":"2cfb7100","hex_latitude":"071abff0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867844864001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113700278384984064,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-326018361261422592,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776827522000,"timestamp_ms":1776827522000,"timestamp_seconds":1776827522,"priority":1,"record_length":96,"hex_timestamp":"0000019db32c5bd0"} 
[2026-04-22 08: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-22 08:43:31] 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-22 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-04-22 08:43:31] 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-22 08: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-22 08: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-22 08:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867844864001,"66":14483,"251":206,"28":26368,"24":33,"16":113700278384984064,"44":-326018361261422592},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 08:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867844864001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:43:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 08:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113700278384984064,"km_value":113700278384984.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-326018361261422592,"description":"Unknown IO ID 44"} 
[2026-04-22 08:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867844864001,"power":14483,"unknown_251":206,"unknown_28":26368,"ignition":33,"odometer":null,"unknown_44":-326018361261422592}} 
[2026-04-22 08:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":50060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:43:31] local.INFO: GPS data processed {"connection_id":50060,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:43:31] local.INFO: Acknowledgment sent {"connection_id":50060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:43:32] local.INFO: TCP Data received {"connection_id":50318,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:43:32] local.INFO: Processing buffer {"connection_id":50318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:43:32] local.INFO: IMEI packet received {"connection_id":50318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":50318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:43:32] local.INFO: TCP Data received {"connection_id":50318,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:43:32] local.INFO: Processing buffer {"connection_id":50318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:43:32] local.INFO: Packet analysis {"connection_id":50318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:43:32] local.INFO: Extracted packet for processing {"connection_id":50318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:43: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-22 08:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08: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-22 08:43: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-22 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:43: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-22 08: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-22 08: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-22 08:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:43:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":50318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:43:32] local.INFO: GPS data processed {"connection_id":50318,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:43:32] local.INFO: Acknowledgment sent {"connection_id":50318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:43:51] local.INFO: TCP Data received {"connection_id":50452,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:43:51] local.INFO: Processing buffer {"connection_id":50452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:43:51] local.INFO: IMEI packet received {"connection_id":50452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":50452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:43:57] local.INFO: TCP Data received {"connection_id":50319,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:43:57] local.INFO: Processing buffer {"connection_id":50319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:43:57] local.INFO: IMEI packet received {"connection_id":50319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":50319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:44:01] local.INFO: TCP Data received {"connection_id":50319,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:44:01] local.INFO: Processing buffer {"connection_id":50319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:44:01] local.INFO: IMEI packet received {"connection_id":50319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":50319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:44:04] local.INFO: TCP Data received {"connection_id":50319,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32c7ef8012cfb4d40071abe88000e01101d..."} 
[2026-04-22 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32c7ef8012cfb4d40071abe88000e01101d..."} 
[2026-04-22 08:44:04] local.INFO: Processing buffer {"connection_id":50319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32c7ef8012cfb4d40071abe88000e01101d..."} 
[2026-04-22 08:44:04] local.INFO: Packet analysis {"connection_id":50319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32c"} 
[2026-04-22 08:44:04] local.INFO: Extracted packet for processing {"connection_id":50319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32c"} 
[2026-04-22 08:44:04] local.INFO: GPS Element Parsed {"raw_longitude":754666816,"raw_latitude":119193224,"longitude_deg":75.4666816,"latitude_deg":11.9193224,"altitude":14,"angle":272,"satellites":29,"speed":43,"hex_longitude":"2cfb4d40","hex_latitude":"071abe88","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867845632001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113700712176680960,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-328481267307778048,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827531000,"timestamp_ms":1776827531000,"timestamp_seconds":1776827531,"priority":1,"record_length":96,"hex_timestamp":"0000019db32c7ef8"} 
[2026-04-22 08: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-22 08:44:04] 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-22 08: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-22 08:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867845632001,"66":14070,"251":206,"28":26368,"24":43,"16":113700712176680960,"44":-328481267307778048},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 08:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867845632001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:44:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 08:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 08:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113700712176680960,"km_value":113700712176680.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-328481267307778048,"description":"Unknown IO ID 44"} 
[2026-04-22 08:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867845632001,"power":14070,"unknown_251":206,"unknown_28":26368,"ignition":43,"odometer":null,"unknown_44":-328481267307778048}} 
[2026-04-22 08:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:44:04] local.INFO: GPS data processed {"connection_id":50319,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:44:04] local.INFO: Acknowledgment sent {"connection_id":50319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:44:04] local.INFO: TCP Data received {"connection_id":50318,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:44:04] local.INFO: Processing buffer {"connection_id":50318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:44:04] local.INFO: Packet analysis {"connection_id":50318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:44:04] local.INFO: Extracted packet for processing {"connection_id":50318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44: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-22 08:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08: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-22 08:44: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-22 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:44:04] 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-22 08:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:44:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:44:04] local.INFO: GPS data processed {"connection_id":50318,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:44:04] local.INFO: Acknowledgment sent {"connection_id":50318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:44:26] local.INFO: TCP Data received {"connection_id":50320,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:44:26] local.INFO: Processing buffer {"connection_id":50320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:44:26] local.INFO: IMEI packet received {"connection_id":50320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":50320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:44:32] local.INFO: TCP Data received {"connection_id":50320,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:44:32] local.INFO: Processing buffer {"connection_id":50320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:44:32] local.INFO: IMEI packet received {"connection_id":50320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:44:32] local.INFO: TCP Data received {"connection_id":50320,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:44:32] local.INFO: Processing buffer {"connection_id":50320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:44:32] local.INFO: Packet analysis {"connection_id":50320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:44:32] local.INFO: Extracted packet for processing {"connection_id":50320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44: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-22 08:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08: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-22 08:44: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-22 08: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:44: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-22 08: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-22 08: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-22 08:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:44:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":50320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:44:32] local.INFO: GPS data processed {"connection_id":50320,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:44:32] local.INFO: Acknowledgment sent {"connection_id":50320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:44:35] local.INFO: TCP Data received {"connection_id":50319,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32dde88012cfa2640071a1418002e00ec1c..."} 
[2026-04-22 08:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32dde88012cfa2640071a1418002e00ec1c..."} 
[2026-04-22 08:44:35] local.INFO: Processing buffer {"connection_id":50319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32dde88012cfa2640071a1418002e00ec1c..."} 
[2026-04-22 08:44:35] local.INFO: Packet analysis {"connection_id":50319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32d"} 
[2026-04-22 08:44:35] local.INFO: Extracted packet for processing {"connection_id":50319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32d"} 
[2026-04-22 08:44:35] local.INFO: GPS Element Parsed {"raw_longitude":754591296,"raw_latitude":119149592,"longitude_deg":75.4591296,"latitude_deg":11.9149592,"altitude":46,"angle":236,"satellites":28,"speed":42,"hex_longitude":"2cfa2640","hex_latitude":"071a1418","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867869184001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113704985669140480,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-414260766470926336,"note":"Value kept but may cause issues"} 
[2026-04-22 08:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776827621000,"timestamp_ms":1776827621000,"timestamp_seconds":1776827621,"priority":1,"record_length":96,"hex_timestamp":"0000019db32dde88"} 
[2026-04-22 08: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-22 08:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-22 08:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867869184001,"66":14048,"107":206,"2":54528,"24":42,"16":113704985669140480,"44":-414260766470926336},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-04-22 08:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867869184001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:44:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-22 08:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113704985669140480,"km_value":113704985669140.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:44:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-414260766470926336,"description":"Unknown IO ID 44"} 
[2026-04-22 08:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867869184001,"power":14048,"unknown_107":206,"power_alt":54528,"ignition":42,"odometer":null,"unknown_44":-414260766470926336}} 
[2026-04-22 08:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":50319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:44:35] local.INFO: GPS data processed {"connection_id":50319,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:44:35] local.INFO: Acknowledgment sent {"connection_id":50319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:44:56] local.INFO: TCP Data received {"connection_id":50062,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:44:56] local.INFO: Processing buffer {"connection_id":50062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:44:56] local.INFO: IMEI packet received {"connection_id":50062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":50062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:45:02] local.INFO: TCP Data received {"connection_id":50062,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:45:02] local.INFO: Processing buffer {"connection_id":50062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:45:02] local.INFO: IMEI packet received {"connection_id":50062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":50062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:45:03] local.INFO: TCP Data received {"connection_id":50062,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32de658012cfa1fc0071a0e58002d00de1d..."} 
[2026-04-22 08:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32de658012cfa1fc0071a0e58002d00de1d..."} 
[2026-04-22 08:45:03] local.INFO: Processing buffer {"connection_id":50062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32de658012cfa1fc0071a0e58002d00de1d..."} 
[2026-04-22 08:45:03] local.INFO: Packet analysis {"connection_id":50062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32d"} 
[2026-04-22 08:45:03] local.INFO: Extracted packet for processing {"connection_id":50062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32d"} 
[2026-04-22 08:45:03] local.INFO: GPS Element Parsed {"raw_longitude":754589632,"raw_latitude":119148120,"longitude_deg":75.4589632,"latitude_deg":11.914812,"altitude":45,"angle":222,"satellites":29,"speed":43,"hex_longitude":"2cfa1fc0","hex_latitude":"071a0e58","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867870976001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113705093043322880,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-421579115866089472,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776827623000,"timestamp_ms":1776827623000,"timestamp_seconds":1776827623,"priority":1,"record_length":96,"hex_timestamp":"0000019db32de658"} 
[2026-04-22 08: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-22 08:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 08:45:03] 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-22 08: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-22 08: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-22 08:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867870976001,"66":14004,"107":206,"2":54528,"24":43,"16":113705093043322880,"44":-421579115866089472},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-04-22 08:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867870976001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:45:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-22 08:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113705093043322880,"km_value":113705093043322.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:45:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-421579115866089472,"description":"Unknown IO ID 44"} 
[2026-04-22 08:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867870976001,"power":14004,"unknown_107":206,"power_alt":54528,"ignition":43,"odometer":null,"unknown_44":-421579115866089472}} 
[2026-04-22 08:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":50062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:45:03] local.INFO: GPS data processed {"connection_id":50062,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:45:03] local.INFO: Acknowledgment sent {"connection_id":50062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:45:04] local.INFO: TCP Data received {"connection_id":50320,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:45:04] local.INFO: Processing buffer {"connection_id":50320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:45:04] local.INFO: Packet analysis {"connection_id":50320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:45:04] local.INFO: Extracted packet for processing {"connection_id":50320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45: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-22 08:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08: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-22 08:45: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-22 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:45:04] 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-22 08:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:45:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":50320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:45:04] local.INFO: GPS data processed {"connection_id":50320,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:45:04] local.INFO: Acknowledgment sent {"connection_id":50320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:45:26] local.INFO: TCP Data received {"connection_id":51002,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:45:26] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:45:26] local.INFO: IMEI packet received {"connection_id":51002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":51002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:45:32] local.INFO: TCP Data received {"connection_id":51002,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:45:32] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:45:32] local.INFO: IMEI packet received {"connection_id":51002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":51002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:45:33] local.INFO: TCP Data received {"connection_id":51002,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:45:33] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:45:33] local.INFO: Packet analysis {"connection_id":51002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:45:33] local.INFO: Extracted packet for processing {"connection_id":51002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:33] 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-22 08:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:45: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-22 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:45: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-22 08:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:45:33] 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-22 08:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":51002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:45:33] local.INFO: GPS data processed {"connection_id":51002,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:45:33] local.INFO: Acknowledgment sent {"connection_id":51002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:45:35] local.INFO: TCP Data received {"connection_id":50062,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32ebd30012cf9d500071a20c8002000061f..."} 
[2026-04-22 08:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32ebd30012cf9d500071a20c8002000061f..."} 
[2026-04-22 08:45:35] local.INFO: Processing buffer {"connection_id":50062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32ebd30012cf9d500071a20c8002000061f..."} 
[2026-04-22 08:45:35] local.INFO: Packet analysis {"connection_id":50062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32e"} 
[2026-04-22 08:45:35] local.INFO: Extracted packet for processing {"connection_id":50062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32e"} 
[2026-04-22 08:45:35] local.INFO: GPS Element Parsed {"raw_longitude":754570496,"raw_latitude":119152840,"longitude_deg":75.4570496,"latitude_deg":11.915284,"altitude":32,"angle":6,"satellites":31,"speed":39,"hex_longitude":"2cf9d500","hex_latitude":"071a20c8","is_valid_coordinates":true} 
[2026-04-22 08:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867884288001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113707154627624960,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-444660063956850688,"note":"Value kept but may cause issues"} 
[2026-04-22 08:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776827678000,"timestamp_ms":1776827678000,"timestamp_seconds":1776827678,"priority":1,"record_length":96,"hex_timestamp":"0000019db32ebd30"} 
[2026-04-22 08:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 08:45:35] 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-22 08:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867884288001,"66":14635,"106":206,"2":54528,"24":39,"16":113707154627624960,"44":-444660063956850688},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 08:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867884288001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:45:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 08:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113707154627624960,"km_value":113707154627624.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:45:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-444660063956850688,"description":"Unknown IO ID 44"} 
[2026-04-22 08:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867884288001,"power":14635,"unknown_106":206,"power_alt":54528,"ignition":39,"odometer":null,"unknown_44":-444660063956850688}} 
[2026-04-22 08:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":50062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:45:35] local.INFO: GPS data processed {"connection_id":50062,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:45:35] local.INFO: Acknowledgment sent {"connection_id":50062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:45:56] local.INFO: TCP Data received {"connection_id":50063,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:45:56] local.INFO: Processing buffer {"connection_id":50063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:45:56] local.INFO: IMEI packet received {"connection_id":50063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":50063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:46:02] local.INFO: TCP Data received {"connection_id":50063,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:46:02] local.INFO: Processing buffer {"connection_id":50063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:46:02] local.INFO: IMEI packet received {"connection_id":50063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":50063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:46:03] local.INFO: TCP Data received {"connection_id":50063,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32ee058012cf9dc00071a4468001e00101f..."} 
[2026-04-22 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32ee058012cf9dc00071a4468001e00101f..."} 
[2026-04-22 08:46:03] local.INFO: Processing buffer {"connection_id":50063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32ee058012cf9dc00071a4468001e00101f..."} 
[2026-04-22 08:46:03] local.INFO: Packet analysis {"connection_id":50063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32e"} 
[2026-04-22 08:46:03] local.INFO: Extracted packet for processing {"connection_id":50063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32e"} 
[2026-04-22 08:46:03] local.INFO: GPS Element Parsed {"raw_longitude":754572288,"raw_latitude":119161960,"longitude_deg":75.4572288,"latitude_deg":11.916196,"altitude":30,"angle":16,"satellites":31,"speed":45,"hex_longitude":"2cf9dc00","hex_latitude":"071a4468","is_valid_coordinates":true} 
[2026-04-22 08:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867885568001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113707605599191040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-444448957722998784,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776827687000,"timestamp_ms":1776827687000,"timestamp_seconds":1776827687,"priority":1,"record_length":96,"hex_timestamp":"0000019db32ee058"} 
[2026-04-22 08:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-22 08:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867885568001,"66":14494,"106":206,"2":54528,"24":45,"16":113707605599191040,"44":-444448957722998784},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 08:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867885568001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:46:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 08:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113707605599191040,"km_value":113707605599191.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-444448957722998784,"description":"Unknown IO ID 44"} 
[2026-04-22 08:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867885568001,"power":14494,"unknown_106":206,"power_alt":54528,"ignition":45,"odometer":null,"unknown_44":-444448957722998784}} 
[2026-04-22 08:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":50063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:46:03] local.INFO: GPS data processed {"connection_id":50063,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:46:03] local.INFO: Acknowledgment sent {"connection_id":50063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:46:04] local.INFO: TCP Data received {"connection_id":51002,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:46:04] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32b0410012d7f960005afd7d00000015621..."} 
[2026-04-22 08:46:04] local.INFO: Packet analysis {"connection_id":51002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:46:04] local.INFO: Extracted packet for processing {"connection_id":51002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32b"} 
[2026-04-22 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867746048001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46: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-22 08:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827434000,"timestamp_ms":1776827434000,"timestamp_seconds":1776827434,"priority":1,"record_length":96,"hex_timestamp":"0000019db32b0410"} 
[2026-04-22 08:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:46: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-22 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:46: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-22 08:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867746048001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867746048001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:46:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867746048001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":51002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:46:04] local.INFO: GPS data processed {"connection_id":51002,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:46:04] local.INFO: Acknowledgment sent {"connection_id":51002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:46:32] local.INFO: TCP Data received {"connection_id":51003,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:46:32] local.INFO: Processing buffer {"connection_id":51003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:46:32] local.INFO: IMEI packet received {"connection_id":51003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":51003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:46:34] local.INFO: TCP Data received {"connection_id":50063,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32eff98012cf9e8c0071a65c0001c001420..."} 
[2026-04-22 08:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32eff98012cf9e8c0071a65c0001c001420..."} 
[2026-04-22 08:46:34] local.INFO: Processing buffer {"connection_id":50063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32eff98012cf9e8c0071a65c0001c001420..."} 
[2026-04-22 08:46:34] local.INFO: Packet analysis {"connection_id":50063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32e"} 
[2026-04-22 08:46:34] local.INFO: Extracted packet for processing {"connection_id":50063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32e"} 
[2026-04-22 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":754575552,"raw_latitude":119170496,"longitude_deg":75.4575552,"latitude_deg":11.9170496,"altitude":28,"angle":20,"satellites":32,"speed":42,"hex_longitude":"2cf9e8c0","hex_latitude":"071a65c0","is_valid_coordinates":true} 
[2026-04-22 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867887872001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113708047980822528,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-442478632883689472,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776827695000,"timestamp_ms":1776827695000,"timestamp_seconds":1776827695,"priority":1,"record_length":96,"hex_timestamp":"0000019db32eff98"} 
[2026-04-22 08:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-22 08:46:34] 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-22 08:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867887872001,"66":14559,"106":206,"2":54528,"24":42,"16":113708047980822528,"44":-442478632883689472},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 08:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867887872001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:46:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 08:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113708047980822528,"km_value":113708047980822.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:46:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-442478632883689472,"description":"Unknown IO ID 44"} 
[2026-04-22 08:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867887872001,"power":14559,"unknown_106":206,"power_alt":54528,"ignition":42,"odometer":null,"unknown_44":-442478632883689472}} 
[2026-04-22 08:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":50063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:46:35] local.INFO: GPS data processed {"connection_id":50063,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:46:35] local.INFO: Acknowledgment sent {"connection_id":50063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:46:37] local.INFO: TCP Data received {"connection_id":51003,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:46:37] local.INFO: Processing buffer {"connection_id":51003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:46:37] local.INFO: IMEI packet received {"connection_id":51003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":51003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:46:38] local.INFO: TCP Data received {"connection_id":51003,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:46:38] local.INFO: Processing buffer {"connection_id":51003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:46:38] local.INFO: Packet analysis {"connection_id":51003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:46:38] local.INFO: Extracted packet for processing {"connection_id":51003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:46:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:38] 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-22 08:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 08:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:46:38] 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-22 08:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:46: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-22 08:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:46:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":51003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:46:38] local.INFO: GPS data processed {"connection_id":51003,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:46:38] local.INFO: Acknowledgment sent {"connection_id":51003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:46:42] local.INFO: TCP Data received {"connection_id":51003,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:46:42] local.INFO: Processing buffer {"connection_id":51003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:46:42] local.INFO: Packet analysis {"connection_id":51003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:46:42] local.INFO: Extracted packet for processing {"connection_id":51003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:46:42] 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-22 08:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 08:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:46:42] 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-22 08:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:46:42] 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-22 08:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:46:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":51003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:46:42] local.INFO: GPS data processed {"connection_id":51003,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:46:42] local.INFO: Acknowledgment sent {"connection_id":51003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:46:57] local.INFO: TCP Data received {"connection_id":50453,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:46:57] local.INFO: Processing buffer {"connection_id":50453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:46:57] local.INFO: IMEI packet received {"connection_id":50453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":50453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:47:02] local.INFO: TCP Data received {"connection_id":50453,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:47:02] local.INFO: Processing buffer {"connection_id":50453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:47:02] local.INFO: IMEI packet received {"connection_id":50453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":50453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:47:03] local.INFO: TCP Data received {"connection_id":50453,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f22c0012cf9f540071a8760001a000f1c..."} 
[2026-04-22 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f22c0012cf9f540071a8760001a000f1c..."} 
[2026-04-22 08:47:03] local.INFO: Processing buffer {"connection_id":50453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f22c0012cf9f540071a8760001a000f1c..."} 
[2026-04-22 08:47:03] local.INFO: Packet analysis {"connection_id":50453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:47:03] local.INFO: Extracted packet for processing {"connection_id":50453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":754578752,"raw_latitude":119179104,"longitude_deg":75.4578752,"latitude_deg":11.9179104,"altitude":26,"angle":15,"satellites":28,"speed":37,"hex_longitude":"2cf9f540","hex_latitude":"071a8760","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867889920001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113708494657421312,"note":"Value kept but may cause issues"} 
[2026-04-22 08:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-438889826928443392,"note":"Value kept but may cause issues"} 
[2026-04-22 08:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776827704000,"timestamp_ms":1776827704000,"timestamp_seconds":1776827704,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f22c0"} 
[2026-04-22 08: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-22 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-22 08:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867889920001,"66":14483,"106":206,"2":54528,"24":37,"16":113708494657421312,"44":-438889826928443392},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 08:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867889920001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:47:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 08:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113708494657421312,"km_value":113708494657421.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-438889826928443392,"description":"Unknown IO ID 44"} 
[2026-04-22 08:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867889920001,"power":14483,"unknown_106":206,"power_alt":54528,"ignition":37,"odometer":null,"unknown_44":-438889826928443392}} 
[2026-04-22 08:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":50453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:47:03] local.INFO: GPS data processed {"connection_id":50453,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:47:03] local.INFO: Acknowledgment sent {"connection_id":50453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:47:27] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:47:27] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:47:27] local.INFO: IMEI packet received {"connection_id":51004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":51004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:47:32] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:47:32] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:47:32] local.INFO: IMEI packet received {"connection_id":51004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":51004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:47:33] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:47:33] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:47:33] local.INFO: Packet analysis {"connection_id":51004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:47:33] local.INFO: Extracted packet for processing {"connection_id":51004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:47:33] 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-22 08:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 08: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-22 08:47: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-22 08:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:47: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-22 08: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-22 08: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-22 08:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":51004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:47:33] local.INFO: GPS data processed {"connection_id":51004,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:47:33] local.INFO: Acknowledgment sent {"connection_id":51004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:47:38] local.INFO: TCP Data received {"connection_id":50453,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db330b900012cf92000071b5e98002301551c..."} 
[2026-04-22 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db330b900012cf92000071b5e98002301551c..."} 
[2026-04-22 08:47:38] local.INFO: Processing buffer {"connection_id":50453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db330b900012cf92000071b5e98002301551c..."} 
[2026-04-22 08:47:38] local.INFO: Packet analysis {"connection_id":50453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db330"} 
[2026-04-22 08:47:38] local.INFO: Extracted packet for processing {"connection_id":50453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db330"} 
[2026-04-22 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":754524160,"raw_latitude":119234200,"longitude_deg":75.452416,"latitude_deg":11.92342,"altitude":35,"angle":341,"satellites":28,"speed":47,"hex_longitude":"2cf92000","hex_latitude":"071b5e98","is_valid_coordinates":true} 
[2026-04-22 08:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867916800001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113712446027333632,"note":"Value kept but may cause issues"} 
[2026-04-22 08:47:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-491103435094108160,"note":"Value kept but may cause issues"} 
[2026-04-22 08:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776827808000,"timestamp_ms":1776827808000,"timestamp_seconds":1776827808,"priority":1,"record_length":96,"hex_timestamp":"0000019db330b900"} 
[2026-04-22 08:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:47:38] 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-22 08:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-22 08:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867916800001,"66":13972,"106":206,"2":54528,"24":47,"16":113712446027333632,"44":-491103435094108160},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 08:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867916800001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:47:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 08:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113712446027333632,"km_value":113712446027333.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:47:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-491103435094108160,"description":"Unknown IO ID 44"} 
[2026-04-22 08:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867916800001,"power":13972,"unknown_106":206,"power_alt":54528,"ignition":47,"odometer":null,"unknown_44":-491103435094108160}} 
[2026-04-22 08:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":50453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:47:38] local.INFO: GPS data processed {"connection_id":50453,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:47:38] local.INFO: Acknowledgment sent {"connection_id":50453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:47:59] local.INFO: TCP Data received {"connection_id":50065,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:47:59] local.INFO: Processing buffer {"connection_id":50065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:47:59] local.INFO: IMEI packet received {"connection_id":50065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":50065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:48:02] local.INFO: TCP Data received {"connection_id":50065,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:02] local.INFO: Processing buffer {"connection_id":50065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:02] local.INFO: IMEI packet received {"connection_id":50065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":50065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:48:04] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:48:04] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:48:04] local.INFO: Packet analysis {"connection_id":51004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:48:04] local.INFO: Extracted packet for processing {"connection_id":51004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48: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-22 08:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 08: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-22 08:48: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-22 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:48:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":51004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:48:04] local.INFO: GPS data processed {"connection_id":51004,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:48:04] local.INFO: Acknowledgment sent {"connection_id":51004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:48:06] local.INFO: TCP Data received {"connection_id":50065,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:06] local.INFO: Processing buffer {"connection_id":50065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:06] local.INFO: IMEI packet received {"connection_id":50065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":50065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:48:09] local.INFO: TCP Data received {"connection_id":50065,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db330b900012cf92000071b5e98002301551c..."} 
[2026-04-22 08:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db330b900012cf92000071b5e98002301551c..."} 
[2026-04-22 08:48:09] local.INFO: Processing buffer {"connection_id":50065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db330b900012cf92000071b5e98002301551c..."} 
[2026-04-22 08:48:09] local.INFO: Packet analysis {"connection_id":50065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db330"} 
[2026-04-22 08:48:09] local.INFO: Extracted packet for processing {"connection_id":50065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db330"} 
[2026-04-22 08:48:09] local.INFO: GPS Element Parsed {"raw_longitude":754524160,"raw_latitude":119234200,"longitude_deg":75.452416,"latitude_deg":11.92342,"altitude":35,"angle":341,"satellites":28,"speed":47,"hex_longitude":"2cf92000","hex_latitude":"071b5e98","is_valid_coordinates":true} 
[2026-04-22 08:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867918848001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113712446027333632,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-495395928486799360,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776827808000,"timestamp_ms":1776827808000,"timestamp_seconds":1776827808,"priority":1,"record_length":96,"hex_timestamp":"0000019db330b900"} 
[2026-04-22 08:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:48:09] 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-22 08:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-22 08:48:09] 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-22 08:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867918848001,"66":13972,"106":206,"2":54528,"24":47,"16":113712446027333632,"44":-495395928486799360},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 08:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867918848001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:48:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 08:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113712446027333632,"km_value":113712446027333.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-495395928486799360,"description":"Unknown IO ID 44"} 
[2026-04-22 08:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867918848001,"power":13972,"unknown_106":206,"power_alt":54528,"ignition":47,"odometer":null,"unknown_44":-495395928486799360}} 
[2026-04-22 08:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":50065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:48:09] local.INFO: GPS data processed {"connection_id":50065,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:48:09] local.INFO: Acknowledgment sent {"connection_id":50065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:48:11] local.INFO: TCP Data received {"connection_id":50065,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db330d840012cf91580071b82a00026015a1c..."} 
[2026-04-22 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db330d840012cf91580071b82a00026015a1c..."} 
[2026-04-22 08:48:11] local.INFO: Processing buffer {"connection_id":50065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db330d840012cf91580071b82a00026015a1c..."} 
[2026-04-22 08:48:11] local.INFO: Packet analysis {"connection_id":50065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db330"} 
[2026-04-22 08:48:11] local.INFO: Extracted packet for processing {"connection_id":50065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db330"} 
[2026-04-22 08:48:11] local.INFO: GPS Element Parsed {"raw_longitude":754521472,"raw_latitude":119243424,"longitude_deg":75.4521472,"latitude_deg":11.9243424,"altitude":38,"angle":346,"satellites":28,"speed":44,"hex_longitude":"2cf91580","hex_latitude":"071b82a0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867918848001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113712909883801600,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-495395928486799360,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776827816000,"timestamp_ms":1776827816000,"timestamp_seconds":1776827816,"priority":1,"record_length":96,"hex_timestamp":"0000019db330d840"} 
[2026-04-22 08: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-22 08:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-22 08:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867918848001,"66":13993,"97":206,"2":54528,"24":44,"16":113712909883801600,"44":-495395928486799360},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-22 08:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867918848001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:48:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 08:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113712909883801600,"km_value":113712909883801.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-495395928486799360,"description":"Unknown IO ID 44"} 
[2026-04-22 08:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867918848001,"power":13993,"unknown_97":206,"power_alt":54528,"ignition":44,"odometer":null,"unknown_44":-495395928486799360}} 
[2026-04-22 08:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":50065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:48:11] local.INFO: GPS data processed {"connection_id":50065,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:48:11] local.INFO: Acknowledgment sent {"connection_id":50065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:48:27] local.INFO: TCP Data received {"connection_id":50066,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:48:27] local.INFO: Processing buffer {"connection_id":50066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:48:27] local.INFO: IMEI packet received {"connection_id":50066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":50066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:48:32] local.INFO: TCP Data received {"connection_id":50066,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:48:32] local.INFO: Processing buffer {"connection_id":50066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:48:32] local.INFO: IMEI packet received {"connection_id":50066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:48:32] local.INFO: TCP Data received {"connection_id":50066,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:48:32] local.INFO: Processing buffer {"connection_id":50066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:48:32] local.INFO: Packet analysis {"connection_id":50066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:48:32] local.INFO: Extracted packet for processing {"connection_id":50066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:48: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-22 08:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 08: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-22 08:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:48: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-22 08: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-22 08: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-22 08:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:48:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":50066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:48:33] local.INFO: GPS data processed {"connection_id":50066,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:48:33] local.INFO: Acknowledgment sent {"connection_id":50066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:48:54] local.INFO: TCP Data received {"connection_id":50322,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:54] local.INFO: Processing buffer {"connection_id":50322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:54] local.INFO: IMEI packet received {"connection_id":50322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":50322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:48:57] local.INFO: TCP Data received {"connection_id":50322,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:57] local.INFO: Processing buffer {"connection_id":50322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:48:57] local.INFO: IMEI packet received {"connection_id":50322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":50322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:49:02] local.INFO: TCP Data received {"connection_id":50322,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:02] local.INFO: Processing buffer {"connection_id":50322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:02] local.INFO: IMEI packet received {"connection_id":50322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":50322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:49:04] local.INFO: TCP Data received {"connection_id":50322,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db330f780012cf90b80071ba598002701531d..."} 
[2026-04-22 08:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db330f780012cf90b80071ba598002701531d..."} 
[2026-04-22 08:49:04] local.INFO: Processing buffer {"connection_id":50322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db330f780012cf90b80071ba598002701531d..."} 
[2026-04-22 08:49:04] local.INFO: Packet analysis {"connection_id":50322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db330"} 
[2026-04-22 08:49:04] local.INFO: Extracted packet for processing {"connection_id":50322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db330"} 
[2026-04-22 08:49:04] local.INFO: GPS Element Parsed {"raw_longitude":754518912,"raw_latitude":119252376,"longitude_deg":75.4518912,"latitude_deg":11.9252376,"altitude":39,"angle":339,"satellites":29,"speed":48,"hex_longitude":"2cf90b80","hex_latitude":"071ba598","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867920896001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113713360855367680,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-498351415739899904,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827824000,"timestamp_ms":1776827824000,"timestamp_seconds":1776827824,"priority":1,"record_length":96,"hex_timestamp":"0000019db330f780"} 
[2026-04-22 08: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-22 08:49:04] 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-22 08:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 08:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867920896001,"66":13993,"97":206,"2":54528,"24":48,"16":113713360855367680,"44":-498351415739899904},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-22 08:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867920896001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 08:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113713360855367680,"km_value":113713360855367.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:49:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-498351415739899904,"description":"Unknown IO ID 44"} 
[2026-04-22 08:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867920896001,"power":13993,"unknown_97":206,"power_alt":54528,"ignition":48,"odometer":null,"unknown_44":-498351415739899904}} 
[2026-04-22 08:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":50322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:49:04] local.INFO: GPS data processed {"connection_id":50322,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:49:04] local.INFO: Acknowledgment sent {"connection_id":50322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:49:04] local.INFO: TCP Data received {"connection_id":50066,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:49:04] local.INFO: Processing buffer {"connection_id":50066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:49:04] local.INFO: Packet analysis {"connection_id":50066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:49:04] local.INFO: Extracted packet for processing {"connection_id":50066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49: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-22 08:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 08: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-22 08:49: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:49:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":50066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:49:04] local.INFO: GPS data processed {"connection_id":50066,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:49:04] local.INFO: Acknowledgment sent {"connection_id":50066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:49:21] local.INFO: TCP Data received {"connection_id":50454,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:49:21] local.INFO: Processing buffer {"connection_id":50454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:49:21] local.INFO: IMEI packet received {"connection_id":50454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":50454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:49:26] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:49:26] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:49:26] local.INFO: IMEI packet received {"connection_id":51006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":51006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:49:31] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:49:31] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:49:31] local.INFO: IMEI packet received {"connection_id":51006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":51006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:49:32] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:49:32] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:49:32] local.INFO: Packet analysis {"connection_id":51006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:49:32] local.INFO: Extracted packet for processing {"connection_id":51006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 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-22 08:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49: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-22 08:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 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-22 08: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:49: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-22 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-22 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-22 08:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08: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-22 08:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":51006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:49:32] local.INFO: GPS data processed {"connection_id":51006,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:49:32] local.INFO: Acknowledgment sent {"connection_id":51006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:49:42] local.INFO: TCP Data received {"connection_id":50322,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3327268012cf7d780071cb3a8001e012e1c..."} 
[2026-04-22 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3327268012cf7d780071cb3a8001e012e1c..."} 
[2026-04-22 08:49:42] local.INFO: Processing buffer {"connection_id":50322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3327268012cf7d780071cb3a8001e012e1c..."} 
[2026-04-22 08:49:42] local.INFO: Packet analysis {"connection_id":50322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db332"} 
[2026-04-22 08:49:42] local.INFO: Extracted packet for processing {"connection_id":50322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db332"} 
[2026-04-22 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":754440064,"raw_latitude":119321512,"longitude_deg":75.4440064,"latitude_deg":11.9321512,"altitude":30,"angle":302,"satellites":28,"speed":47,"hex_longitude":"2cf7d780","hex_latitude":"071cb3a8","is_valid_coordinates":true} 
[2026-04-22 08:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867945728001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113718540585926656,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-578923627804659712,"note":"Value kept but may cause issues"} 
[2026-04-22 08:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776827921000,"timestamp_ms":1776827921000,"timestamp_seconds":1776827921,"priority":1,"record_length":96,"hex_timestamp":"0000019db3327268"} 
[2026-04-22 08:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 08:49:42] 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-22 08:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867945728001,"66":14048,"97":206,"2":54528,"24":47,"16":113718540585926656,"44":-578923627804659712},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-22 08:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867945728001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 08:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113718540585926656,"km_value":113718540585926.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-578923627804659712,"description":"Unknown IO ID 44"} 
[2026-04-22 08:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867945728001,"power":14048,"unknown_97":206,"power_alt":54528,"ignition":47,"odometer":null,"unknown_44":-578923627804659712}} 
[2026-04-22 08:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":50322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:49:42] local.INFO: GPS data processed {"connection_id":50322,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:49:42] local.INFO: Acknowledgment sent {"connection_id":50322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:49:55] local.INFO: TCP Data received {"connection_id":51007,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:55] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:55] local.INFO: IMEI packet received {"connection_id":51007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":51007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:49:56] local.INFO: TCP Data received {"connection_id":50455,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:49:56] local.INFO: Processing buffer {"connection_id":50455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:49:56] local.INFO: IMEI packet received {"connection_id":50455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":50455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:49:57] local.INFO: TCP Data received {"connection_id":51007,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:57] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:57] local.INFO: IMEI packet received {"connection_id":51007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":51007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:49:57] local.INFO: TCP Data received {"connection_id":51007,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:57] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:49:57] local.INFO: IMEI packet received {"connection_id":51007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":51007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:50:02] local.INFO: TCP Data received {"connection_id":51007,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:50:02] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:50:02] local.INFO: IMEI packet received {"connection_id":51007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":51007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:50:03] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:50:03] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:50:03] local.INFO: Packet analysis {"connection_id":51006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:50:03] local.INFO: Extracted packet for processing {"connection_id":51006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50: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-22 08:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 08: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-22 08:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:50: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-22 08:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:50:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:50:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":51006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:50:03] local.INFO: GPS data processed {"connection_id":51006,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:50:03] local.INFO: Acknowledgment sent {"connection_id":51006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:50:04] local.INFO: TCP Data received {"connection_id":51007,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33291a8012cf7b740071cc748002201291c..."} 
[2026-04-22 08:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33291a8012cf7b740071cc748002201291c..."} 
[2026-04-22 08:50:04] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33291a8012cf7b740071cc748002201291c..."} 
[2026-04-22 08:50:04] local.INFO: Packet analysis {"connection_id":51007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db332"} 
[2026-04-22 08:50:04] local.INFO: Extracted packet for processing {"connection_id":51007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db332"} 
[2026-04-22 08:50:04] local.INFO: GPS Element Parsed {"raw_longitude":754431808,"raw_latitude":119326536,"longitude_deg":75.4431808,"latitude_deg":11.9326536,"altitude":34,"angle":297,"satellites":28,"speed":43,"hex_longitude":"2cf7b740","hex_latitude":"071cc748","is_valid_coordinates":true} 
[2026-04-22 08:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867947776001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113719000147427328,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-587860458313897984,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827929000,"timestamp_ms":1776827929000,"timestamp_seconds":1776827929,"priority":1,"record_length":96,"hex_timestamp":"0000019db33291a8"} 
[2026-04-22 08:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 08:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867947776001,"66":14048,"97":206,"2":54528,"24":43,"16":113719000147427328,"44":-587860458313897984},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-22 08:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867947776001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:50:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 08:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113719000147427328,"km_value":113719000147427.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:50:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-587860458313897984,"description":"Unknown IO ID 44"} 
[2026-04-22 08:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867947776001,"power":14048,"unknown_97":206,"power_alt":54528,"ignition":43,"odometer":null,"unknown_44":-587860458313897984}} 
[2026-04-22 08:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":51007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:50:04] local.INFO: GPS data processed {"connection_id":51007,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:50:04] local.INFO: Acknowledgment sent {"connection_id":51007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:50:26] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:50:26] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:50:26] local.INFO: IMEI packet received {"connection_id":50323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":50323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:50:32] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:50:32] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:50:32] local.INFO: IMEI packet received {"connection_id":50323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":50323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:50:33] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:50:33] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:50:33] local.INFO: Packet analysis {"connection_id":50323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:50:33] local.INFO: Extracted packet for processing {"connection_id":50323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:33] 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-22 08:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 08:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:50: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-22 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:50: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-22 08:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:50:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":50323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:50:33] local.INFO: GPS data processed {"connection_id":50323,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:50:33] local.INFO: Acknowledgment sent {"connection_id":50323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:50:38] local.INFO: TCP Data received {"connection_id":51007,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3337438012cf705c0071cf2a0001e01161c..."} 
[2026-04-22 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3337438012cf705c0071cf2a0001e01161c..."} 
[2026-04-22 08:50:38] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3337438012cf705c0071cf2a0001e01161c..."} 
[2026-04-22 08:50:38] local.INFO: Packet analysis {"connection_id":51007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db333"} 
[2026-04-22 08:50:38] local.INFO: Extracted packet for processing {"connection_id":51007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db333"} 
[2026-04-22 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":754386368,"raw_latitude":119337632,"longitude_deg":75.4386368,"latitude_deg":11.9337632,"altitude":30,"angle":278,"satellites":28,"speed":18,"hex_longitude":"2cf705c0","hex_latitude":"071cf2a0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867963392001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113721353789505536,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-644014716163588096,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776827987000,"timestamp_ms":1776827987000,"timestamp_seconds":1776827987,"priority":1,"record_length":96,"hex_timestamp":"0000019db3337438"} 
[2026-04-22 08: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-22 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10133107767312384,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399855874545408,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3006456752,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4151050247,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":14336,"corrected_to":0} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":28,"raw_value":4047503384,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147560695,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3221691625,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":212,"raw_value":1153252421317691164,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":5764636114952126500,"note":"Value kept but may cause issues"} 
[2026-04-22 08:50:38] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,96,2,24,241,158,16,4,157,57,44,246,30,10,66,26,192,242,25,28,6,128,1,240,92,3,179,113,205,32,235,120,80,29,239,54,148,7,36,212,227],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":246,"original":14336,"validated":0},{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 08:50:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945846525571170304,"timestamp_seconds":1945846525571170.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 08: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-22 08:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867963392001,"66":13906,"96":206,"2":54528,"24":18,"16":113721353789505536,"44":-644014716163588096},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 08:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867963392001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:50:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 08:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113721353789505536,"km_value":113721353789505.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:50:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-644014716163588096,"description":"Unknown IO ID 44"} 
[2026-04-22 08:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867963392001,"power":13906,"unknown_96":206,"power_alt":54528,"ignition":18,"odometer":null,"unknown_44":-644014716163588096}} 
[2026-04-22 08:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":51007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:50:38] local.INFO: GPS data processed {"connection_id":51007,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:50:38] local.INFO: Acknowledgment sent {"connection_id":51007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:50:56] local.INFO: TCP Data received {"connection_id":50324,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:50:56] local.INFO: Processing buffer {"connection_id":50324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:50:56] local.INFO: IMEI packet received {"connection_id":50324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":50324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:50:57] local.INFO: TCP Data received {"connection_id":50324,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:50:57] local.INFO: Processing buffer {"connection_id":50324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:50:57] local.INFO: IMEI packet received {"connection_id":50324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":50324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:51:02] local.INFO: TCP Data received {"connection_id":50324,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:02] local.INFO: Processing buffer {"connection_id":50324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:02] local.INFO: IMEI packet received {"connection_id":50324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":50324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:51:03] local.INFO: TCP Data received {"connection_id":50324,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3339378012cf6ff40071cf450002301511e..."} 
[2026-04-22 08:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3339378012cf6ff40071cf450002301511e..."} 
[2026-04-22 08:51:03] local.INFO: Processing buffer {"connection_id":50324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3339378012cf6ff40071cf450002301511e..."} 
[2026-04-22 08:51:03] local.INFO: Packet analysis {"connection_id":50324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db333"} 
[2026-04-22 08:51:03] local.INFO: Extracted packet for processing {"connection_id":50324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db333"} 
[2026-04-22 08:51:03] local.INFO: GPS Element Parsed {"raw_longitude":754384704,"raw_latitude":119338064,"longitude_deg":75.4384704,"latitude_deg":11.9338064,"altitude":35,"angle":337,"satellites":30,"speed":8,"hex_longitude":"2cf6ff40","hex_latitude":"071cf450","is_valid_coordinates":true} 
[2026-04-22 08:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867964672001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113721439688851456,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646899834674831360,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776827995000,"timestamp_ms":1776827995000,"timestamp_seconds":1776827995,"priority":1,"record_length":96,"hex_timestamp":"0000019db3339378"} 
[2026-04-22 08:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:51:03] 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-22 08:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-22 08:51:03] 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-22 08:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867964672001,"66":13820,"96":206,"2":54528,"24":8,"16":113721439688851456,"44":-646899834674831360},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 08:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867964672001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:51:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 08:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113721439688851456,"km_value":113721439688851.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646899834674831360,"description":"Unknown IO ID 44"} 
[2026-04-22 08:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867964672001,"power":13820,"unknown_96":206,"power_alt":54528,"ignition":8,"odometer":null,"unknown_44":-646899834674831360}} 
[2026-04-22 08:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":50324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:51:03] local.INFO: GPS data processed {"connection_id":50324,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:51:03] local.INFO: Acknowledgment sent {"connection_id":50324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:51:04] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:51:04] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db32f9bd8012d7f960005afd7d0000001561e..."} 
[2026-04-22 08:51:04] local.INFO: Packet analysis {"connection_id":50323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:51:04] local.INFO: Extracted packet for processing {"connection_id":50323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db32f"} 
[2026-04-22 08:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867823104001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51: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-22 08:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776827735000,"timestamp_ms":1776827735000,"timestamp_seconds":1776827735,"priority":1,"record_length":96,"hex_timestamp":"0000019db32f9bd8"} 
[2026-04-22 08: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-22 08:51: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:51: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-22 08:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867823104001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867823104001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:51:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867823104001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":50323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:51:04] local.INFO: GPS data processed {"connection_id":50323,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:51:04] local.INFO: Acknowledgment sent {"connection_id":50323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:51:32] local.INFO: TCP Data received {"connection_id":50456,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:51:32] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:51:32] local.INFO: IMEI packet received {"connection_id":50456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:51:36] local.INFO: TCP Data received {"connection_id":50324,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3339b48012cf6fe80071cf6100025015f1e..."} 
[2026-04-22 08:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3339b48012cf6fe80071cf6100025015f1e..."} 
[2026-04-22 08:51:36] local.INFO: Processing buffer {"connection_id":50324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3339b48012cf6fe80071cf6100025015f1e..."} 
[2026-04-22 08:51:36] local.INFO: Packet analysis {"connection_id":50324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db333"} 
[2026-04-22 08:51:36] local.INFO: Extracted packet for processing {"connection_id":50324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db333"} 
[2026-04-22 08:51:36] local.INFO: GPS Element Parsed {"raw_longitude":754384512,"raw_latitude":119338512,"longitude_deg":75.4384512,"latitude_deg":11.9338512,"altitude":37,"angle":351,"satellites":30,"speed":9,"hex_longitude":"2cf6fe80","hex_latitude":"071cf610","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867966720001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113721461163687936,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-648729422023340032,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776827997000,"timestamp_ms":1776827997000,"timestamp_seconds":1776827997,"priority":1,"record_length":96,"hex_timestamp":"0000019db3339b48"} 
[2026-04-22 08: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-22 08:51:36] 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-22 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 08:51:36] 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-22 08: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-22 08: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-22 08:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867966720001,"66":13972,"96":206,"2":54528,"24":9,"16":113721461163687936,"44":-648729422023340032},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 08:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867966720001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:51:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 08:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113721461163687936,"km_value":113721461163687.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-648729422023340032,"description":"Unknown IO ID 44"} 
[2026-04-22 08:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867966720001,"power":13972,"unknown_96":206,"power_alt":54528,"ignition":9,"odometer":null,"unknown_44":-648729422023340032}} 
[2026-04-22 08:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":50324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:51:36] local.INFO: GPS data processed {"connection_id":50324,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:51:36] local.INFO: Acknowledgment sent {"connection_id":50324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:51:37] local.INFO: TCP Data received {"connection_id":50456,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:51:37] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:51:37] local.INFO: IMEI packet received {"connection_id":50456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":50456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:51:38] local.INFO: TCP Data received {"connection_id":50456,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:51:38] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:51:38] local.INFO: Packet analysis {"connection_id":50456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db334"} 
[2026-04-22 08:51:38] local.INFO: Extracted packet for processing {"connection_id":50456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db334"} 
[2026-04-22 08:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867900160001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:38] 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-22 08:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776828036000,"timestamp_ms":1776828036000,"timestamp_seconds":1776828036,"priority":1,"record_length":96,"hex_timestamp":"0000019db33433a0"} 
[2026-04-22 08:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:51: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-22 08:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:51:38] 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-22 08:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867900160001,"66":25343,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867900160001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:51:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867900160001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":50456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:51:38] local.INFO: GPS data processed {"connection_id":50456,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:51:38] local.INFO: Acknowledgment sent {"connection_id":50456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:51:42] local.INFO: TCP Data received {"connection_id":50456,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:51:42] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:51:42] local.INFO: Packet analysis {"connection_id":50456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db334"} 
[2026-04-22 08:51:42] local.INFO: Extracted packet for processing {"connection_id":50456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db334"} 
[2026-04-22 08:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867900160001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:51:42] 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-22 08:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776828036000,"timestamp_ms":1776828036000,"timestamp_seconds":1776828036,"priority":1,"record_length":96,"hex_timestamp":"0000019db33433a0"} 
[2026-04-22 08:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 08:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:51:42] 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-22 08:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:51:42] 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-22 08:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867900160001,"66":25343,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867900160001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:51:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867900160001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":50456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:51:42] local.INFO: GPS data processed {"connection_id":50456,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:51:42] local.INFO: Acknowledgment sent {"connection_id":50456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:51:57] local.INFO: TCP Data received {"connection_id":50325,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:57] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:57] local.INFO: IMEI packet received {"connection_id":50325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":50325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:51:57] local.INFO: TCP Data received {"connection_id":50325,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:57] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:57] local.INFO: IMEI packet received {"connection_id":50325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":50325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:51:59] local.INFO: TCP Data received {"connection_id":50325,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:59] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:51:59] local.INFO: IMEI packet received {"connection_id":50325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":50325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:52:00] local.INFO: TCP Data received {"connection_id":50325,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:52:00] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:52:00] local.INFO: IMEI packet received {"connection_id":50325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":50325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:52:27] local.INFO: TCP Data received {"connection_id":51008,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:52:27] local.INFO: Processing buffer {"connection_id":51008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:52:27] local.INFO: IMEI packet received {"connection_id":51008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":51008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:52:32] local.INFO: TCP Data received {"connection_id":51008,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:52:32] local.INFO: Processing buffer {"connection_id":51008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:52:32] local.INFO: IMEI packet received {"connection_id":51008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":51008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:52:32] local.INFO: TCP Data received {"connection_id":51008,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:52:32] local.INFO: Processing buffer {"connection_id":51008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:52:32] local.INFO: Packet analysis {"connection_id":51008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db334"} 
[2026-04-22 08:52:32] local.INFO: Extracted packet for processing {"connection_id":51008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db334"} 
[2026-04-22 08:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867900160001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:52: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-22 08:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776828036000,"timestamp_ms":1776828036000,"timestamp_seconds":1776828036,"priority":1,"record_length":96,"hex_timestamp":"0000019db33433a0"} 
[2026-04-22 08: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-22 08:52: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-22 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:52: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-22 08: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-22 08: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-22 08:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:52:32] 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-22 08:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867900160001,"66":25343,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867900160001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:52:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867900160001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":51008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:52:32] local.INFO: GPS data processed {"connection_id":51008,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:52:32] local.INFO: Acknowledgment sent {"connection_id":51008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:53:04] local.INFO: TCP Data received {"connection_id":51008,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:53:04] local.INFO: Processing buffer {"connection_id":51008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33433a0012d7f960005afd7d00000015621..."} 
[2026-04-22 08:53:04] local.INFO: Packet analysis {"connection_id":51008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db334"} 
[2026-04-22 08:53:04] local.INFO: Extracted packet for processing {"connection_id":51008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db334"} 
[2026-04-22 08:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95410128,"longitude_deg":76.3336192,"latitude_deg":9.5410128,"altitude":0,"angle":342,"satellites":33,"speed":0,"hex_longitude":"2d7f9600","hex_latitude":"05afd7d0","is_valid_coordinates":true} 
[2026-04-22 08:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867900160001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:53: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-22 08:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828036000,"timestamp_ms":1776828036000,"timestamp_seconds":1776828036,"priority":1,"record_length":96,"hex_timestamp":"0000019db33433a0"} 
[2026-04-22 08:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:53: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-22 08:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 08:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:53:04] 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-22 08:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867900160001,"66":25343,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867900160001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:53:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867900160001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":51008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:53:04] local.INFO: GPS data processed {"connection_id":51008,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:53:04] local.INFO: Acknowledgment sent {"connection_id":51008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:53:25] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:53:25] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:53:25] local.INFO: IMEI packet received {"connection_id":50458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":50458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:53:26] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:53:26] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:53:26] local.INFO: IMEI packet received {"connection_id":50458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":50458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:53:32] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:53:32] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:53:32] local.INFO: IMEI packet received {"connection_id":50458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:53:33] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:53:33] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:53:33] local.INFO: Packet analysis {"connection_id":50458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:53:33] local.INFO: Extracted packet for processing {"connection_id":50458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:53:33] 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-22 08:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08: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-22 08:53: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-22 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:53: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-22 08: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-22 08: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-22 08:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:53:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":50458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:53:33] local.INFO: GPS data processed {"connection_id":50458,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:53:33] local.INFO: Acknowledgment sent {"connection_id":50458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:54:04] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:04] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:04] local.INFO: Packet analysis {"connection_id":50458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:54:04] local.INFO: Extracted packet for processing {"connection_id":50458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54: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-22 08:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08: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-22 08:54: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-22 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:54:04] 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-22 08: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-22 08: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-22 08:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:54:04] 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-22 08:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:54:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":50458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:54:04] local.INFO: GPS data processed {"connection_id":50458,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:54:04] local.INFO: Acknowledgment sent {"connection_id":50458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:54:32] local.INFO: TCP Data received {"connection_id":50071,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:54:32] local.INFO: Processing buffer {"connection_id":50071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:54:32] local.INFO: IMEI packet received {"connection_id":50071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:54:37] local.INFO: TCP Data received {"connection_id":50071,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:54:37] local.INFO: Processing buffer {"connection_id":50071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:54:37] local.INFO: IMEI packet received {"connection_id":50071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":50071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:54:38] local.INFO: TCP Data received {"connection_id":50071,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:38] local.INFO: Processing buffer {"connection_id":50071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:38] local.INFO: Packet analysis {"connection_id":50071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:54:38] local.INFO: Extracted packet for processing {"connection_id":50071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:38] 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-22 08:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08: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-22 08:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:54:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":50071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:54:38] local.INFO: GPS data processed {"connection_id":50071,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:54:38] local.INFO: Acknowledgment sent {"connection_id":50071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:54:42] local.INFO: TCP Data received {"connection_id":50071,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:42] local.INFO: Processing buffer {"connection_id":50071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:42] local.INFO: Packet analysis {"connection_id":50071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:54:42] local.INFO: Extracted packet for processing {"connection_id":50071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:42] 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-22 08:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:54:42] 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-22 08:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:54:42] 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-22 08:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:54:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":50071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:54:42] local.INFO: GPS data processed {"connection_id":50071,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:54:42] local.INFO: Acknowledgment sent {"connection_id":50071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:54:47] local.INFO: TCP Data received {"connection_id":50071,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:47] local.INFO: Processing buffer {"connection_id":50071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:54:47] local.INFO: Packet analysis {"connection_id":50071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:54:47] local.INFO: Extracted packet for processing {"connection_id":50071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:54:47] 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-22 08:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08: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-22 08:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:54:47] 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-22 08: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-22 08: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-22 08:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:54:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":50071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:54:47] local.INFO: GPS data processed {"connection_id":50071,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:54:47] local.INFO: Acknowledgment sent {"connection_id":50071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:55:21] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:55:21] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:55:21] local.INFO: IMEI packet received {"connection_id":51009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":51009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:55:26] local.INFO: TCP Data received {"connection_id":50459,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:55:26] local.INFO: Processing buffer {"connection_id":50459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:55:26] local.INFO: IMEI packet received {"connection_id":50459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":50459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:55:32] local.INFO: TCP Data received {"connection_id":50459,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:55:32] local.INFO: Processing buffer {"connection_id":50459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:55:32] local.INFO: IMEI packet received {"connection_id":50459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:55:33] local.INFO: TCP Data received {"connection_id":50459,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:55:33] local.INFO: Processing buffer {"connection_id":50459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:55:33] local.INFO: Packet analysis {"connection_id":50459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:55:33] local.INFO: Extracted packet for processing {"connection_id":50459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:55:33] 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-22 08:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:55: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-22 08:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:55: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-22 08:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:55:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:55:33] local.INFO: GPS data processed {"connection_id":50459,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:55:33] local.INFO: Acknowledgment sent {"connection_id":50459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:55:51] local.INFO: TCP Data received {"connection_id":51010,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:55:51] local.INFO: Processing buffer {"connection_id":51010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 08:55:51] local.INFO: IMEI packet received {"connection_id":51010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 08:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":51010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:56:04] local.INFO: TCP Data received {"connection_id":50459,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:56:04] local.INFO: Processing buffer {"connection_id":50459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:56:04] local.INFO: Packet analysis {"connection_id":50459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:56:04] local.INFO: Extracted packet for processing {"connection_id":50459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:56: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-22 08:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:56: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-22 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:56:04] 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-22 08:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:56: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-22 08:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:56:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":50459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:56:04] local.INFO: GPS data processed {"connection_id":50459,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:56:04] local.INFO: Acknowledgment sent {"connection_id":50459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:56:27] local.INFO: TCP Data received {"connection_id":51011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:56:27] local.INFO: Processing buffer {"connection_id":51011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:56:27] local.INFO: IMEI packet received {"connection_id":51011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":51011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:56:32] local.INFO: TCP Data received {"connection_id":51011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:56:32] local.INFO: Processing buffer {"connection_id":51011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:56:32] local.INFO: IMEI packet received {"connection_id":51011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":51011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:56:32] local.INFO: TCP Data received {"connection_id":51011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:56:32] local.INFO: Processing buffer {"connection_id":51011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:56:32] local.INFO: Packet analysis {"connection_id":51011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:56:32] local.INFO: Extracted packet for processing {"connection_id":51011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 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-22 08:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:56: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-22 08:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 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-22 08:56: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-22 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":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:56: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-22 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-22 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-22 08:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:56: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-22 08:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:56:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":51011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:56:32] local.INFO: GPS data processed {"connection_id":51011,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:56:32] local.INFO: Acknowledgment sent {"connection_id":51011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:57:02] local.INFO: TCP Data received {"connection_id":50075,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:57:02] local.INFO: Processing buffer {"connection_id":50075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:57:02] local.INFO: IMEI packet received {"connection_id":50075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":50075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:57:04] local.INFO: TCP Data received {"connection_id":51011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:57:04] local.INFO: Processing buffer {"connection_id":51011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:57:04] local.INFO: Packet analysis {"connection_id":51011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:57:04] local.INFO: Extracted packet for processing {"connection_id":51011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57: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-22 08:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:57: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-22 08:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:57:04] 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-22 08:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:57: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-22 08:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"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-22 08:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:57:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":51011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:57:04] local.INFO: GPS data processed {"connection_id":51011,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:57:04] local.INFO: Acknowledgment sent {"connection_id":51011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:57:05] local.INFO: TCP Data received {"connection_id":50075,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3387578012cf6e580071d57b80005009220..."} 
[2026-04-22 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3387578012cf6e580071d57b80005009220..."} 
[2026-04-22 08:57:05] local.INFO: Processing buffer {"connection_id":50075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3387578012cf6e580071d57b80005009220..."} 
[2026-04-22 08:57:05] local.INFO: Packet analysis {"connection_id":50075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db338"} 
[2026-04-22 08:57:05] local.INFO: Extracted packet for processing {"connection_id":50075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db338"} 
[2026-04-22 08:57:05] local.INFO: GPS Element Parsed {"raw_longitude":754378112,"raw_latitude":119363512,"longitude_deg":75.4378112,"latitude_deg":11.9363512,"altitude":5,"angle":146,"satellites":32,"speed":16,"hex_longitude":"2cf6e580","hex_latitude":"071d57b8","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868048384001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723535632891904,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-656118140155383808,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776828315000,"timestamp_ms":1776828315000,"timestamp_seconds":1776828315,"priority":1,"record_length":96,"hex_timestamp":"0000019db3387578"} 
[2026-04-22 08: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-22 08:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 08:57:05] 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-22 08: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-22 08: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-22 08:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868048384001,"66":13961,"96":206,"2":54528,"24":16,"16":113723535632891904,"44":-656118140155383808},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 08:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868048384001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:57:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 08:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723535632891904,"km_value":113723535632891.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:57:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-656118140155383808,"description":"Unknown IO ID 44"} 
[2026-04-22 08:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868048384001,"power":13961,"unknown_96":206,"power_alt":54528,"ignition":16,"odometer":null,"unknown_44":-656118140155383808}} 
[2026-04-22 08:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":50075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:57:05] local.INFO: GPS data processed {"connection_id":50075,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:57:05] local.INFO: Acknowledgment sent {"connection_id":50075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:57:26] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:57:26] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:57:26] local.INFO: IMEI packet received {"connection_id":50460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":50460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:57:32] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:57:32] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:57:32] local.INFO: IMEI packet received {"connection_id":50460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:57:33] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:57:33] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:57:33] local.INFO: Packet analysis {"connection_id":50460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:57:33] local.INFO: Extracted packet for processing {"connection_id":50460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:33] 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-22 08:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:57: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-22 08:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:57: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-22 08:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:57:33] 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-22 08:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:57:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:57:33] local.INFO: GPS data processed {"connection_id":50460,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:57:33] local.INFO: Acknowledgment sent {"connection_id":50460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:57:36] local.INFO: TCP Data received {"connection_id":50075,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3395bf0012cf6f1c0071d4e28000c015420..."} 
[2026-04-22 08:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3395bf0012cf6f1c0071d4e28000c015420..."} 
[2026-04-22 08:57:36] local.INFO: Processing buffer {"connection_id":50075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3395bf0012cf6f1c0071d4e28000c015420..."} 
[2026-04-22 08:57:36] local.INFO: Packet analysis {"connection_id":50075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db339"} 
[2026-04-22 08:57:36] local.INFO: Extracted packet for processing {"connection_id":50075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db339"} 
[2026-04-22 08:57:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":32,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 08:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868058368001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203060224,"note":"Value kept but may cause issues"} 
[2026-04-22 08:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776828374000,"timestamp_ms":1776828374000,"timestamp_seconds":1776828374,"priority":1,"record_length":96,"hex_timestamp":"0000019db3395bf0"} 
[2026-04-22 08:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 08:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868058368001,"66":12841,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203060224},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 08:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868058368001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:57:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 08:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203060224,"description":"Unknown IO ID 44"} 
[2026-04-22 08:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868058368001,"power":12841,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203060224}} 
[2026-04-22 08:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":50075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:57:37] local.INFO: GPS data processed {"connection_id":50075,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:57:37] local.INFO: Acknowledgment sent {"connection_id":50075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:57:56] local.INFO: TCP Data received {"connection_id":51012,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:57:56] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:57:56] local.INFO: IMEI packet received {"connection_id":51012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":51012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:58:02] local.INFO: TCP Data received {"connection_id":51012,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:58:02] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:58:02] local.INFO: IMEI packet received {"connection_id":51012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":51012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:58:04] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:58:04] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db336c3e0012d7f894005afdae80000002c15..."} 
[2026-04-22 08:58:04] local.INFO: Packet analysis {"connection_id":50460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:58:04] local.INFO: Extracted packet for processing {"connection_id":50460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db336"} 
[2026-04-22 08:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":95410920,"longitude_deg":76.3332928,"latitude_deg":9.541092,"altitude":0,"angle":44,"satellites":21,"speed":0,"hex_longitude":"2d7f8940","hex_latitude":"05afdae8","is_valid_coordinates":true} 
[2026-04-22 08:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454867977216001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713748439040,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58: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-22 08:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828204000,"timestamp_ms":1776828204000,"timestamp_seconds":1776828204,"priority":1,"record_length":96,"hex_timestamp":"0000019db336c3e0"} 
[2026-04-22 08:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:58: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-22 08:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 08:58:04] 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-22 08:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454867977216001,"66":25321,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9193535713748439040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 08:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454867977216001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:58:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713748439040,"description":"Unknown IO ID 45"} 
[2026-04-22 08:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454867977216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193535713748439040}} 
[2026-04-22 08:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":50460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:58:04] local.INFO: GPS data processed {"connection_id":50460,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:58:04] local.INFO: Acknowledgment sent {"connection_id":50460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:58:04] local.INFO: TCP Data received {"connection_id":51012,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db339adf8012cf6f1c0071d4e28000c015421..."} 
[2026-04-22 08:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db339adf8012cf6f1c0071d4e28000c015421..."} 
[2026-04-22 08:58:04] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db339adf8012cf6f1c0071d4e28000c015421..."} 
[2026-04-22 08:58:04] local.INFO: Packet analysis {"connection_id":51012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db339"} 
[2026-04-22 08:58:04] local.INFO: Extracted packet for processing {"connection_id":51012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db339"} 
[2026-04-22 08:58:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":33,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 08:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868063744001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828395000,"timestamp_ms":1776828395000,"timestamp_seconds":1776828395,"priority":1,"record_length":96,"hex_timestamp":"0000019db339adf8"} 
[2026-04-22 08:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 08:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868063744001,"66":12841,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 08:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868063744001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:58:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 08:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 08:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868063744001,"power":12841,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 08:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":51012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:58:05] local.INFO: GPS data processed {"connection_id":51012,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:58:05] local.INFO: Acknowledgment sent {"connection_id":51012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:58:27] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:58:27] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:58:27] local.INFO: IMEI packet received {"connection_id":50328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:58:28] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:58:28] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:58:28] local.INFO: IMEI packet received {"connection_id":50328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":50328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:58:32] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:58:32] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:58:32] local.INFO: IMEI packet received {"connection_id":50328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:58:33] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:58:33] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:58:33] local.INFO: Packet analysis {"connection_id":50328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:58:33] local.INFO: Extracted packet for processing {"connection_id":50328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:33] 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-22 08:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 08: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-22 08:58: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-22 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:58: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-22 08: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-22 08: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-22 08:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"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-22 08:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:58:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 08:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 08:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:58:33] local.INFO: GPS data processed {"connection_id":50328,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:58:33] local.INFO: Acknowledgment sent {"connection_id":50328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:58:36] local.INFO: TCP Data received {"connection_id":51012,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33a0000012cf6f1c0071d4e28000c015421..."} 
[2026-04-22 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33a0000012cf6f1c0071d4e28000c015421..."} 
[2026-04-22 08:58:36] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33a0000012cf6f1c0071d4e28000c015421..."} 
[2026-04-22 08:58:36] local.INFO: Packet analysis {"connection_id":51012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33a"} 
[2026-04-22 08:58:36] local.INFO: Extracted packet for processing {"connection_id":51012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33a"} 
[2026-04-22 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":33,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868069120001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 08:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776828416000,"timestamp_ms":1776828416000,"timestamp_seconds":1776828416,"priority":1,"record_length":96,"hex_timestamp":"0000019db33a0000"} 
[2026-04-22 08:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 08:58:36] 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-22 08:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868069120001,"66":12113,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 08:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868069120001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:58:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 08:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 08:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868069120001,"power":12113,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 08:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":51012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:58:36] local.INFO: GPS data processed {"connection_id":51012,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:58:36] local.INFO: Acknowledgment sent {"connection_id":51012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:59:02] local.INFO: TCP Data received {"connection_id":50076,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:59:02] local.INFO: Processing buffer {"connection_id":50076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:59:02] local.INFO: IMEI packet received {"connection_id":50076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":50076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:59:04] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:04] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:04] local.INFO: Packet analysis {"connection_id":50328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:59:04] local.INFO: Extracted packet for processing {"connection_id":50328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 08:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59: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-22 08:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 08:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:59: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-22 08:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:59:04] 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-22 08:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"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-22 08:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:59:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 08:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 08:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":50328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:59:04] local.INFO: GPS data processed {"connection_id":50328,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:59:04] local.INFO: Acknowledgment sent {"connection_id":50328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:59:07] local.INFO: TCP Data received {"connection_id":50076,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:59:07] local.INFO: Processing buffer {"connection_id":50076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:59:07] local.INFO: IMEI packet received {"connection_id":50076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 08:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":50076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:59:11] local.INFO: TCP Data received {"connection_id":50076,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33a5208012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33a5208012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 08:59:11] local.INFO: Processing buffer {"connection_id":50076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33a5208012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 08:59:11] local.INFO: Packet analysis {"connection_id":50076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33a"} 
[2026-04-22 08:59:11] local.INFO: Extracted packet for processing {"connection_id":50076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33a"} 
[2026-04-22 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":34,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868074496001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776828437000,"timestamp_ms":1776828437000,"timestamp_seconds":1776828437,"priority":1,"record_length":96,"hex_timestamp":"0000019db33a5208"} 
[2026-04-22 08: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-22 08:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-04-22 08:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868074496001,"66":12841,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 08:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868074496001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:59:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 08:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 08:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868074496001,"power":12841,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 08:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":50076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:59:12] local.INFO: GPS data processed {"connection_id":50076,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:59:12] local.INFO: Acknowledgment sent {"connection_id":50076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:59:16] local.INFO: TCP Data received {"connection_id":50076,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33aa410012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 08:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33aa410012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 08:59:16] local.INFO: Processing buffer {"connection_id":50076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33aa410012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 08:59:16] local.INFO: Packet analysis {"connection_id":50076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33a"} 
[2026-04-22 08:59:16] local.INFO: Extracted packet for processing {"connection_id":50076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33a"} 
[2026-04-22 08:59:16] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868079872001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 08:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776828458000,"timestamp_ms":1776828458000,"timestamp_seconds":1776828458,"priority":1,"record_length":96,"hex_timestamp":"0000019db33aa410"} 
[2026-04-22 08: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-22 08:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 08:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 08:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 08: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-22 08: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-22 08:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 08:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 08:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 08:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868079872001,"66":12798,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 08:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 08:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 08:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868079872001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:59:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 08:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 08:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868079872001,"power":12798,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 08:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":50076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:59:16] local.INFO: GPS data processed {"connection_id":50076,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:59:16] local.INFO: Acknowledgment sent {"connection_id":50076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:59:32] local.INFO: TCP Data received {"connection_id":50329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:59:32] local.INFO: Processing buffer {"connection_id":50329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:59:32] local.INFO: IMEI packet received {"connection_id":50329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 08:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 08:59:37] local.INFO: TCP Data received {"connection_id":50329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:59:37] local.INFO: Processing buffer {"connection_id":50329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 08:59:37] local.INFO: IMEI packet received {"connection_id":50329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 08:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":50329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 08:59:37] local.INFO: TCP Data received {"connection_id":50329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:37] local.INFO: Processing buffer {"connection_id":50329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:37] local.INFO: Packet analysis {"connection_id":50329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:59:37] local.INFO: Extracted packet for processing {"connection_id":50329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 08:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:37] 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-22 08:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 08:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:59: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-22 08:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:59: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-22 08:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:59:37] 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-22 08:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"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-22 08:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:59:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 08:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 08:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":50329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:59:37] local.INFO: GPS data processed {"connection_id":50329,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:59:37] local.INFO: Acknowledgment sent {"connection_id":50329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:59:42] local.INFO: TCP Data received {"connection_id":50329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:42] local.INFO: Processing buffer {"connection_id":50329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:42] local.INFO: Packet analysis {"connection_id":50329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:59:42] local.INFO: Extracted packet for processing {"connection_id":50329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 08:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:42] 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-22 08:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 08:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:59:42] 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-22 08:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 08:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 08:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:59:42] 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-22 08:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"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-22 08:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:59:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 08:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 08:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":50329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:59:42] local.INFO: GPS data processed {"connection_id":50329,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:59:42] local.INFO: Acknowledgment sent {"connection_id":50329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:59:47] local.INFO: TCP Data received {"connection_id":50329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:47] local.INFO: Processing buffer {"connection_id":50329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 08:59:47] local.INFO: Packet analysis {"connection_id":50329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:59:47] local.INFO: Extracted packet for processing {"connection_id":50329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 08:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 08: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-22 08:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 08:59:47] 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-22 08:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 08: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-22 08:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 08:59:47] 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-22 08: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-22 08: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-22 08:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 08:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 08:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 08:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 08:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 08:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 08:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"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-22 08:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 08:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 08:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 08:59:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 08:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 08:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 08:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 08:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 08:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":50329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 08:59:47] local.INFO: GPS data processed {"connection_id":50329,"processed":1,"errors":0,"total":1} 
[2026-04-22 08:59:47] local.INFO: Acknowledgment sent {"connection_id":50329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 08:59:57] local.INFO: TCP Data received {"connection_id":50461,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:59:57] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 08:59:57] local.INFO: IMEI packet received {"connection_id":50461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 08:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":50461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:00:01] local.INFO: TCP Data received {"connection_id":50461,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:00:01] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:00:01] local.INFO: IMEI packet received {"connection_id":50461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":50461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:00:04] local.INFO: TCP Data received {"connection_id":50461,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33af618012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33af618012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:00:04] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33af618012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:00:04] local.INFO: Packet analysis {"connection_id":50461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33a"} 
[2026-04-22 09:00:04] local.INFO: Extracted packet for processing {"connection_id":50461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33a"} 
[2026-04-22 09:00:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868085248001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828479000,"timestamp_ms":1776828479000,"timestamp_seconds":1776828479,"priority":1,"record_length":96,"hex_timestamp":"0000019db33af618"} 
[2026-04-22 09: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-22 09:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 09:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868085248001,"66":12765,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868085248001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:00:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868085248001,"power":12765,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":50461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:00:04] local.INFO: GPS data processed {"connection_id":50461,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:00:04] local.INFO: Acknowledgment sent {"connection_id":50461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:00:27] local.INFO: TCP Data received {"connection_id":50331,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:00:27] local.INFO: Processing buffer {"connection_id":50331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:00:27] local.INFO: IMEI packet received {"connection_id":50331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:00:32] local.INFO: TCP Data received {"connection_id":50331,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:00:32] local.INFO: Processing buffer {"connection_id":50331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:00:32] local.INFO: IMEI packet received {"connection_id":50331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:00:32] local.INFO: TCP Data received {"connection_id":50331,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:00:32] local.INFO: Processing buffer {"connection_id":50331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:00:32] local.INFO: Packet analysis {"connection_id":50331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:00:32] local.INFO: Extracted packet for processing {"connection_id":50331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 09:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 09:00: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-22 09:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 09: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-22 09:00: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:00:32] local.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-22 09:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:00:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 09:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 09:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":50331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:00:32] local.INFO: GPS data processed {"connection_id":50331,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:00:32] local.INFO: Acknowledgment sent {"connection_id":50331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:00:36] local.INFO: TCP Data received {"connection_id":50461,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b4820012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b4820012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:00:36] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b4820012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:00:36] local.INFO: Packet analysis {"connection_id":50461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:00:36] local.INFO: Extracted packet for processing {"connection_id":50461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":36,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868090624001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776828500000,"timestamp_ms":1776828500000,"timestamp_seconds":1776828500,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b4820"} 
[2026-04-22 09: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-22 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-22 09:00:36] 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-22 09: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-22 09: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-22 09:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868090624001,"66":12776,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868090624001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:00:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868090624001,"power":12776,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":50461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:00:36] local.INFO: GPS data processed {"connection_id":50461,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:00:36] local.INFO: Acknowledgment sent {"connection_id":50461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:00:56] local.INFO: TCP Data received {"connection_id":50078,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:00:56] local.INFO: Processing buffer {"connection_id":50078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:00:56] local.INFO: IMEI packet received {"connection_id":50078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":50078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:01:02] local.INFO: TCP Data received {"connection_id":50078,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:01:02] local.INFO: Processing buffer {"connection_id":50078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:01:02] local.INFO: IMEI packet received {"connection_id":50078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":50078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:01:04] local.INFO: TCP Data received {"connection_id":50331,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:01:04] local.INFO: Processing buffer {"connection_id":50331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:01:04] local.INFO: Packet analysis {"connection_id":50331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:04] local.INFO: Extracted packet for processing {"connection_id":50331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01: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-22 09:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 09: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-22 09: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-22 09:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:01:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 09:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 09:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:01:04] local.INFO: GPS data processed {"connection_id":50331,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:01:04] local.INFO: Acknowledgment sent {"connection_id":50331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:01:04] local.INFO: TCP Data received {"connection_id":50078,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b9a28012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b9a28012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:01:04] local.INFO: Processing buffer {"connection_id":50078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b9a28012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:01:04] local.INFO: Packet analysis {"connection_id":50078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:04] local.INFO: Extracted packet for processing {"connection_id":50078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868096000001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828521000,"timestamp_ms":1776828521000,"timestamp_seconds":1776828521,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b9a28"} 
[2026-04-22 09: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-22 09:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 09:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868096000001,"66":12776,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868096000001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:01:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:01:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868096000001,"power":12776,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:01:04] local.INFO: GPS data processed {"connection_id":50078,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:01:04] local.INFO: Acknowledgment sent {"connection_id":50078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:01:16] local.INFO: TCP Data received {"connection_id":50077,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:01:16] local.INFO: Processing buffer {"connection_id":50077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:01:16] local.INFO: IMEI packet received {"connection_id":50077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":50077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:01:26] local.INFO: TCP Data received {"connection_id":50079,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:01:26] local.INFO: Processing buffer {"connection_id":50079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:01:26] local.INFO: IMEI packet received {"connection_id":50079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":50079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:01:31] local.INFO: TCP Data received {"connection_id":50079,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:01:31] local.INFO: Processing buffer {"connection_id":50079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:01:31] local.INFO: IMEI packet received {"connection_id":50079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:01:35] local.INFO: TCP Data received {"connection_id":50079,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:01:35] local.INFO: Processing buffer {"connection_id":50079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:01:35] local.INFO: Packet analysis {"connection_id":50079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:35] local.INFO: Extracted packet for processing {"connection_id":50079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 09:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01: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-22 09:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 09:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:01: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-22 09:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:01:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 09:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 09:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":50079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:01:35] local.INFO: GPS data processed {"connection_id":50079,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:01:35] local.INFO: Acknowledgment sent {"connection_id":50079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:01:35] local.INFO: TCP Data received {"connection_id":50078,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33bec30012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33bec30012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:01:35] local.INFO: Processing buffer {"connection_id":50078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33bec30012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:01:35] local.INFO: Packet analysis {"connection_id":50078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:35] local.INFO: Extracted packet for processing {"connection_id":50078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":34,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868101376001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776828542000,"timestamp_ms":1776828542000,"timestamp_seconds":1776828542,"priority":1,"record_length":96,"hex_timestamp":"0000019db33bec30"} 
[2026-04-22 09:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 09:01: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-22 09:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868101376001,"66":12765,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868101376001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:01:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868101376001,"power":12765,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":50078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:01:35] local.INFO: GPS data processed {"connection_id":50078,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:01:35] local.INFO: Acknowledgment sent {"connection_id":50078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:01:37] local.INFO: TCP Data received {"connection_id":50079,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:01:37] local.INFO: Processing buffer {"connection_id":50079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:01:37] local.INFO: Packet analysis {"connection_id":50079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:37] local.INFO: Extracted packet for processing {"connection_id":50079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 09:01:37] 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-22 09:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 09:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:01: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-22 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:01: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-22 09:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:01:37] local.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-22 09:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:01:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 09:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 09:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":50079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:01:37] local.INFO: GPS data processed {"connection_id":50079,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:01:37] local.INFO: Acknowledgment sent {"connection_id":50079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:01:56] local.INFO: TCP Data received {"connection_id":50332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:01:56] local.INFO: Processing buffer {"connection_id":50332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:01:56] local.INFO: IMEI packet received {"connection_id":50332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":50332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:01:57] local.INFO: TCP Data received {"connection_id":50333,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:01:57] local.INFO: Processing buffer {"connection_id":50333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:01:57] local.INFO: IMEI packet received {"connection_id":50333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":50333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:02:02] local.INFO: TCP Data received {"connection_id":50333,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:02:02] local.INFO: Processing buffer {"connection_id":50333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:02:02] local.INFO: IMEI packet received {"connection_id":50333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":50333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:02:05] local.INFO: TCP Data received {"connection_id":50333,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33c3e38012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33c3e38012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:02:05] local.INFO: Processing buffer {"connection_id":50333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33c3e38012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:02:05] local.INFO: Packet analysis {"connection_id":50333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33c"} 
[2026-04-22 09:02:05] local.INFO: Extracted packet for processing {"connection_id":50333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33c"} 
[2026-04-22 09:02:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":34,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 09:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868106752001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776828563000,"timestamp_ms":1776828563000,"timestamp_seconds":1776828563,"priority":1,"record_length":96,"hex_timestamp":"0000019db33c3e38"} 
[2026-04-22 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-22 09:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-22 09:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 09:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868106752001,"66":12504,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868106752001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:02:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:02:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868106752001,"power":12504,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":50333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:02:05] local.INFO: GPS data processed {"connection_id":50333,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:02:05] local.INFO: Acknowledgment sent {"connection_id":50333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:02:09] local.INFO: TCP Data received {"connection_id":50079,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:02:09] local.INFO: Processing buffer {"connection_id":50079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:02:09] local.INFO: Packet analysis {"connection_id":50079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:02:09] local.INFO: Extracted packet for processing {"connection_id":50079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02: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-22 09:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 09: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-22 09:02: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-22 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:02: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-22 09: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-22 09: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-22 09:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:02:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 09:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 09:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":50079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:02:09] local.INFO: GPS data processed {"connection_id":50079,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:02:09] local.INFO: Acknowledgment sent {"connection_id":50079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:02:27] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:02:27] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:02:27] local.INFO: IMEI packet received {"connection_id":51014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":51014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:02:32] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:02:32] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:02:32] local.INFO: IMEI packet received {"connection_id":51014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":51014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:02:32] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:02:32] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33b01d0012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:02:32] local.INFO: Packet analysis {"connection_id":51014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:02:32] local.INFO: Extracted packet for processing {"connection_id":51014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33b"} 
[2026-04-22 09:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868020224001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189946907795580928,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02: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-22 09:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776828482000,"timestamp_ms":1776828482000,"timestamp_seconds":1776828482,"priority":1,"record_length":96,"hex_timestamp":"0000019db33b01d0"} 
[2026-04-22 09: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:02:32] 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-22 09:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868020224001,"66":25375,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189946907795580928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868020224001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:02:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189946907795580928,"description":"Unknown IO ID 45"} 
[2026-04-22 09:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868020224001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189946907795580928}} 
[2026-04-22 09:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":51014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:02:32] local.INFO: GPS data processed {"connection_id":51014,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:02:32] local.INFO: Acknowledgment sent {"connection_id":51014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:02:38] local.INFO: TCP Data received {"connection_id":50333,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33c9040012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33c9040012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:02:38] local.INFO: Processing buffer {"connection_id":50333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33c9040012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:02:38] local.INFO: Packet analysis {"connection_id":50333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33c"} 
[2026-04-22 09:02:38] local.INFO: Extracted packet for processing {"connection_id":50333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33c"} 
[2026-04-22 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":34,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868112128001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776828584000,"timestamp_ms":1776828584000,"timestamp_seconds":1776828584,"priority":1,"record_length":96,"hex_timestamp":"0000019db33c9040"} 
[2026-04-22 09: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-22 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 09:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868112128001,"66":12722,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868112128001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:02:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:02:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868112128001,"power":12722,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":50333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:02:38] local.INFO: GPS data processed {"connection_id":50333,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:02:38] local.INFO: Acknowledgment sent {"connection_id":50333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:03:02] local.INFO: TCP Data received {"connection_id":50462,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:03:02] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:03:02] local.INFO: IMEI packet received {"connection_id":50462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":50462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:03:03] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db33ea768012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33ea768012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:03:03] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33ea768012d7f88c005afdb180000002c22..."} 
[2026-04-22 09:03:03] local.INFO: Packet analysis {"connection_id":51014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:03:03] local.INFO: Extracted packet for processing {"connection_id":51014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763332800,"raw_latitude":95410968,"longitude_deg":76.33328,"latitude_deg":9.5410968,"altitude":0,"angle":44,"satellites":34,"speed":0,"hex_longitude":"2d7f88c0","hex_latitude":"05afdb18","is_valid_coordinates":true} 
[2026-04-22 09:03: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-22 09:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868091392001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478356553400320,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307237888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03: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-22 09:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776828721000,"timestamp_ms":1776828721000,"timestamp_seconds":1776828721,"priority":1,"record_length":96,"hex_timestamp":"0000019db33ea768"} 
[2026-04-22 09: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-22 09:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:03:03] 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-22 09:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868091392001,"66":25397,"250":206,"85":12544,"24":0,"16":278478356553400320,"45":9189806170307237888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868091392001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:03:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478356553400320,"km_value":278478356553400.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307237888,"description":"Unknown IO ID 45"} 
[2026-04-22 09:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868091392001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307237888}} 
[2026-04-22 09:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":51014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:03:03] local.INFO: GPS data processed {"connection_id":51014,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:03:03] local.INFO: Acknowledgment sent {"connection_id":51014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:03:07] local.INFO: TCP Data received {"connection_id":50462,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:03:07] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:03:07] local.INFO: IMEI packet received {"connection_id":50462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":50462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:03:12] local.INFO: TCP Data received {"connection_id":50462,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33ce248012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33ce248012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:03:12] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33ce248012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:03:12] local.INFO: Packet analysis {"connection_id":50462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33c"} 
[2026-04-22 09:03:12] local.INFO: Extracted packet for processing {"connection_id":50462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33c"} 
[2026-04-22 09:03:12] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868117504001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776828605000,"timestamp_ms":1776828605000,"timestamp_seconds":1776828605,"priority":1,"record_length":96,"hex_timestamp":"0000019db33ce248"} 
[2026-04-22 09:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:03:12] 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-22 09:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 09:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:03: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-22 09:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868117504001,"66":12711,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868117504001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:03:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868117504001,"power":12711,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":50462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:03:12] local.INFO: GPS data processed {"connection_id":50462,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:03:12] local.INFO: Acknowledgment sent {"connection_id":50462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:03:20] local.INFO: TCP Data received {"connection_id":50462,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33d3450012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33d3450012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:03:20] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33d3450012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:03:20] local.INFO: Packet analysis {"connection_id":50462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33d"} 
[2026-04-22 09:03:20] local.INFO: Extracted packet for processing {"connection_id":50462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33d"} 
[2026-04-22 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868122880001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776828626000,"timestamp_ms":1776828626000,"timestamp_seconds":1776828626,"priority":1,"record_length":96,"hex_timestamp":"0000019db33d3450"} 
[2026-04-22 09:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-22 09:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868122880001,"66":12613,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868122880001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:03:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868122880001,"power":12613,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":50462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:03:20] local.INFO: GPS data processed {"connection_id":50462,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:03:20] local.INFO: Acknowledgment sent {"connection_id":50462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:03:26] local.INFO: TCP Data received {"connection_id":51016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:03:26] local.INFO: Processing buffer {"connection_id":51016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:03:26] local.INFO: IMEI packet received {"connection_id":51016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":51016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:03:32] local.INFO: TCP Data received {"connection_id":51016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:03:32] local.INFO: Processing buffer {"connection_id":51016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:03:32] local.INFO: IMEI packet received {"connection_id":51016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":51016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:03:32] local.INFO: TCP Data received {"connection_id":51016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db33eb708012d7f870005afdc680000000722..."} 
[2026-04-22 09:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33eb708012d7f870005afdc680000000722..."} 
[2026-04-22 09:03:32] local.INFO: Processing buffer {"connection_id":51016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33eb708012d7f870005afdc680000000722..."} 
[2026-04-22 09:03:32] local.INFO: Packet analysis {"connection_id":51016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:03:32] local.INFO: Extracted packet for processing {"connection_id":51016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763332352,"raw_latitude":95411304,"longitude_deg":76.3332352,"latitude_deg":9.5411304,"altitude":0,"angle":7,"satellites":34,"speed":0,"hex_longitude":"2d7f8700","hex_latitude":"05afdc68","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868152576001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478360848367616,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189806170307237888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:03: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-22 09:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776828725000,"timestamp_ms":1776828725000,"timestamp_seconds":1776828725,"priority":1,"record_length":96,"hex_timestamp":"0000019db33eb708"} 
[2026-04-22 09: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-22 09:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:03: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-22 09: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-22 09: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-22 09:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:03:32] 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-22 09:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868152576001,"66":25212,"250":206,"85":12544,"24":0,"16":278478360848367616,"45":9189806170307237888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868152576001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:03:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478360848367616,"km_value":278478360848367.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189806170307237888,"description":"Unknown IO ID 45"} 
[2026-04-22 09:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868152576001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189806170307237888}} 
[2026-04-22 09:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":51016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:03:32] local.INFO: GPS data processed {"connection_id":51016,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:03:32] local.INFO: Acknowledgment sent {"connection_id":51016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:03:57] local.INFO: TCP Data received {"connection_id":50081,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:03:57] local.INFO: Processing buffer {"connection_id":50081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:03:57] local.INFO: IMEI packet received {"connection_id":50081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":50081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:04:02] local.INFO: TCP Data received {"connection_id":50081,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:04:02] local.INFO: Processing buffer {"connection_id":50081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:04:02] local.INFO: IMEI packet received {"connection_id":50081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":50081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:04:03] local.INFO: TCP Data received {"connection_id":50081,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33d8658012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33d8658012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:04:03] local.INFO: Processing buffer {"connection_id":50081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33d8658012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:04:03] local.INFO: Packet analysis {"connection_id":50081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33d"} 
[2026-04-22 09:04:03] local.INFO: Extracted packet for processing {"connection_id":50081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33d"} 
[2026-04-22 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":36,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 09:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868128256001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776828647000,"timestamp_ms":1776828647000,"timestamp_seconds":1776828647,"priority":1,"record_length":96,"hex_timestamp":"0000019db33d8658"} 
[2026-04-22 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-22 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-22 09:04:03] 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-22 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-22 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-22 09:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868128256001,"66":12711,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868128256001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:04:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868128256001,"power":12711,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":50081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:04:03] local.INFO: GPS data processed {"connection_id":50081,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:04:03] local.INFO: Acknowledgment sent {"connection_id":50081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:04:06] local.INFO: TCP Data received {"connection_id":51016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db33f0910012d7f874005afdc980000000722..."} 
[2026-04-22 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33f0910012d7f874005afdc980000000722..."} 
[2026-04-22 09:04:06] local.INFO: Processing buffer {"connection_id":51016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33f0910012d7f874005afdc980000000722..."} 
[2026-04-22 09:04:06] local.INFO: Packet analysis {"connection_id":51016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:04:06] local.INFO: Extracted packet for processing {"connection_id":51016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411352,"longitude_deg":76.3332416,"latitude_deg":9.5411352,"altitude":0,"angle":7,"satellites":34,"speed":0,"hex_longitude":"2d7f8740","hex_latitude":"05afdc98","is_valid_coordinates":true} 
[2026-04-22 09:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868153600001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478378028236800,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189313589098080256,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:06] 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-22 09:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776828746000,"timestamp_ms":1776828746000,"timestamp_seconds":1776828746,"priority":1,"record_length":96,"hex_timestamp":"0000019db33f0910"} 
[2026-04-22 09:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 09:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868153600001,"66":27843,"250":206,"85":12544,"24":0,"16":278478378028236800,"45":9189313589098080256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868153600001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:04:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478378028236800,"km_value":278478378028236.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189313589098080256,"description":"Unknown IO ID 45"} 
[2026-04-22 09:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868153600001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189313589098080256}} 
[2026-04-22 09:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":51016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:04:06] local.INFO: GPS data processed {"connection_id":51016,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:04:06] local.INFO: Acknowledgment sent {"connection_id":51016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:04:32] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:04:32] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:04:32] local.INFO: IMEI packet received {"connection_id":50334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":50334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:04:34] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:04:34] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:04:34] local.INFO: IMEI packet received {"connection_id":50334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":50334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:04:35] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db33f5b18012d7f874005afdc280000000721..."} 
[2026-04-22 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33f5b18012d7f874005afdc280000000721..."} 
[2026-04-22 09:04:35] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33f5b18012d7f874005afdc280000000721..."} 
[2026-04-22 09:04:35] local.INFO: Packet analysis {"connection_id":50334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:04:35] local.INFO: Extracted packet for processing {"connection_id":50334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411240,"longitude_deg":76.3332416,"latitude_deg":9.541124,"altitude":0,"angle":7,"satellites":33,"speed":0,"hex_longitude":"2d7f8740","hex_latitude":"05afdc28","is_valid_coordinates":true} 
[2026-04-22 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-22 09:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868158976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478386618171392,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842270208,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04: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-22 09:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776828767000,"timestamp_ms":1776828767000,"timestamp_seconds":1776828767,"priority":1,"record_length":96,"hex_timestamp":"0000019db33f5b18"} 
[2026-04-22 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-22 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-22 09:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 09:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868158976001,"66":27930,"250":206,"85":12544,"24":0,"16":278478386618171392,"45":9189383957842270208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868158976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:04:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478386618171392,"km_value":278478386618171.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842270208,"description":"Unknown IO ID 45"} 
[2026-04-22 09:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868158976001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842270208}} 
[2026-04-22 09:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":50334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:04:35] local.INFO: GPS data processed {"connection_id":50334,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:04:35] local.INFO: Acknowledgment sent {"connection_id":50334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:04:36] local.INFO: TCP Data received {"connection_id":50081,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33dd860012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33dd860012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:04:36] local.INFO: Processing buffer {"connection_id":50081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33dd860012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:04:36] local.INFO: Packet analysis {"connection_id":50081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33d"} 
[2026-04-22 09:04:36] local.INFO: Extracted packet for processing {"connection_id":50081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33d"} 
[2026-04-22 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868133632001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776828668000,"timestamp_ms":1776828668000,"timestamp_seconds":1776828668,"priority":1,"record_length":96,"hex_timestamp":"0000019db33dd860"} 
[2026-04-22 09: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-22 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-22 09:04: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-22 09: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-22 09: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-22 09:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868133632001,"66":12678,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868133632001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:04:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868133632001,"power":12678,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":50081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:04:36] local.INFO: GPS data processed {"connection_id":50081,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:04:36] local.INFO: Acknowledgment sent {"connection_id":50081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:04:37] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db33f89f8012d7f874005afdc180000011322..."} 
[2026-04-22 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33f89f8012d7f874005afdc180000011322..."} 
[2026-04-22 09:04:37] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33f89f8012d7f874005afdc180000011322..."} 
[2026-04-22 09:04:37] local.INFO: Packet analysis {"connection_id":50334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:04:37] local.INFO: Extracted packet for processing {"connection_id":50334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:04:37] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411224,"longitude_deg":76.3332416,"latitude_deg":9.5411224,"altitude":0,"angle":275,"satellites":34,"speed":1,"hex_longitude":"2d7f8740","hex_latitude":"05afdc18","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868164352001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478399503073280,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842241536,"note":"Value kept but may cause issues"} 
[2026-04-22 09:04:37] 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-22 09:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776828779000,"timestamp_ms":1776828779000,"timestamp_seconds":1776828779,"priority":1,"record_length":96,"hex_timestamp":"0000019db33f89f8"} 
[2026-04-22 09: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-22 09:04: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-22 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 09:04:37] 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-22 09: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-22 09: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-22 09:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:04:37] 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-22 09:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868164352001,"66":28017,"250":206,"85":12544,"24":1,"16":278478399503073280,"45":9189383957842241536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868164352001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:04:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:04:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478399503073280,"km_value":278478399503073.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842241536,"description":"Unknown IO ID 45"} 
[2026-04-22 09:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868164352001,"power":28017,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9189383957842241536}} 
[2026-04-22 09:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":50334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:04:37] local.INFO: GPS data processed {"connection_id":50334,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:04:37] local.INFO: Acknowledgment sent {"connection_id":50334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:04:56] local.INFO: TCP Data received {"connection_id":51018,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:04:56] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:04:56] local.INFO: IMEI packet received {"connection_id":51018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":51018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:05:02] local.INFO: TCP Data received {"connection_id":51018,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:05:02] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:05:02] local.INFO: IMEI packet received {"connection_id":51018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":51018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:05:04] local.INFO: TCP Data received {"connection_id":51018,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33e2a68012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33e2a68012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:05:04] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33e2a68012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:05:04] local.INFO: Packet analysis {"connection_id":51018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:05:04] local.INFO: Extracted packet for processing {"connection_id":51018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":36,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868139008001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828689000,"timestamp_ms":1776828689000,"timestamp_seconds":1776828689,"priority":1,"record_length":96,"hex_timestamp":"0000019db33e2a68"} 
[2026-04-22 09:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 09:05:04] 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-22 09:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868139008001,"66":12667,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868139008001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:05:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:05:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868139008001,"power":12667,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":51018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:05:04] local.INFO: GPS data processed {"connection_id":51018,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:05:04] local.INFO: Acknowledgment sent {"connection_id":51018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:05:08] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db33fd818012d7f874005afdc480000004d23..."} 
[2026-04-22 09:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33fd818012d7f874005afdc480000004d23..."} 
[2026-04-22 09:05:08] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33fd818012d7f874005afdc480000004d23..."} 
[2026-04-22 09:05:08] local.INFO: Packet analysis {"connection_id":50334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:05:08] local.INFO: Extracted packet for processing {"connection_id":50334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411272,"longitude_deg":76.3332416,"latitude_deg":9.5411272,"altitude":0,"angle":77,"satellites":35,"speed":1,"hex_longitude":"2d7f8740","hex_latitude":"05afdc48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868167424001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478403798040576,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842237440,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05: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-22 09:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776828799000,"timestamp_ms":1776828799000,"timestamp_seconds":1776828799,"priority":1,"record_length":96,"hex_timestamp":"0000019db33fd818"} 
[2026-04-22 09: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-22 09:05: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-22 09: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-22 09:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:05: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-22 09:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868167424001,"66":27713,"250":206,"85":12544,"24":1,"16":278478403798040576,"45":9189383957842237440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868167424001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:05:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478403798040576,"km_value":278478403798040.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842237440,"description":"Unknown IO ID 45"} 
[2026-04-22 09:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868167424001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9189383957842237440}} 
[2026-04-22 09:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":50334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:05:08] local.INFO: GPS data processed {"connection_id":50334,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:05:08] local.INFO: Acknowledgment sent {"connection_id":50334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:05:27] local.INFO: TCP Data received {"connection_id":50082,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:05:27] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:05:27] local.INFO: IMEI packet received {"connection_id":50082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:05:28] local.INFO: TCP Data received {"connection_id":50082,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:05:28] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:05:28] local.INFO: IMEI packet received {"connection_id":50082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":50082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:05:29] local.INFO: TCP Data received {"connection_id":50082,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db3410cb0012d7f8b0005afdd300000006526..."} 
[2026-04-22 09:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3410cb0012d7f8b0005afdd300000006526..."} 
[2026-04-22 09:05:29] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3410cb0012d7f8b0005afdd300000006526..."} 
[2026-04-22 09:05:29] local.INFO: Packet analysis {"connection_id":50082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:05:29] local.INFO: Extracted packet for processing {"connection_id":50082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763333376,"raw_latitude":95411504,"longitude_deg":76.3333376,"latitude_deg":9.5411504,"altitude":0,"angle":101,"satellites":38,"speed":2,"hex_longitude":"2d7f8b00","hex_latitude":"05afdd30","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868192000001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478481107451904,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190158014028265472,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05: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-22 09:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776828878000,"timestamp_ms":1776828878000,"timestamp_seconds":1776828878,"priority":1,"record_length":96,"hex_timestamp":"0000019db3410cb0"} 
[2026-04-22 09: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-22 09:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-22 09:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":50082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:05: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-22 09:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868192000001,"66":27843,"250":206,"85":12544,"24":2,"16":278478481107451904,"45":9190158014028265472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868192000001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:05:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478481107451904,"km_value":278478481107451.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190158014028265472,"description":"Unknown IO ID 45"} 
[2026-04-22 09:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868192000001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9190158014028265472}} 
[2026-04-22 09:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":50082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:05:29] local.INFO: GPS data processed {"connection_id":50082,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:05:29] local.INFO: Acknowledgment sent {"connection_id":50082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:05:30] local.INFO: TCP Data received {"connection_id":50082,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db3411c50012d7f8bc005afdd400000004f26..."} 
[2026-04-22 09:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3411c50012d7f8bc005afdd400000004f26..."} 
[2026-04-22 09:05:30] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3411c50012d7f8bc005afdd400000004f26..."} 
[2026-04-22 09:05:30] local.INFO: Packet analysis {"connection_id":50082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:05:30] local.INFO: Extracted packet for processing {"connection_id":50082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763333568,"raw_latitude":95411520,"longitude_deg":76.3333568,"latitude_deg":9.541152,"altitude":0,"angle":79,"satellites":38,"speed":1,"hex_longitude":"2d7f8bc0","hex_latitude":"05afdd40","is_valid_coordinates":true} 
[2026-04-22 09:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868192768001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478493992353792,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190439489004974080,"note":"Value kept but may cause issues"} 
[2026-04-22 09: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-22 09:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776828882000,"timestamp_ms":1776828882000,"timestamp_seconds":1776828882,"priority":1,"record_length":96,"hex_timestamp":"0000019db3411c50"} 
[2026-04-22 09:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-22 09:05: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-22 09:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":50082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:05: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-22 09:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868192768001,"66":27876,"250":206,"85":12544,"24":1,"16":278478493992353792,"45":9190439489004974080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868192768001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:05:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478493992353792,"km_value":278478493992353.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190439489004974080,"description":"Unknown IO ID 45"} 
[2026-04-22 09:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868192768001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190439489004974080}} 
[2026-04-22 09:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":50082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:05:30] local.INFO: GPS data processed {"connection_id":50082,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:05:30] local.INFO: Acknowledgment sent {"connection_id":50082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:05:36] local.INFO: TCP Data received {"connection_id":51018,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33e7c70012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33e7c70012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:05:36] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33e7c70012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:05:36] local.INFO: Packet analysis {"connection_id":51018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:05:36] local.INFO: Extracted packet for processing {"connection_id":51018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":36,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868144384001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776828710000,"timestamp_ms":1776828710000,"timestamp_seconds":1776828710,"priority":1,"record_length":96,"hex_timestamp":"0000019db33e7c70"} 
[2026-04-22 09: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-22 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-22 09:05:36] 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-22 09: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-22 09: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-22 09:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868144384001,"66":12591,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868144384001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:05:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:05:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868144384001,"power":12591,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":51018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:05:37] local.INFO: GPS data processed {"connection_id":51018,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:05:37] local.INFO: Acknowledgment sent {"connection_id":51018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:05:56] local.INFO: TCP Data received {"connection_id":50335,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:05:56] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:05:56] local.INFO: IMEI packet received {"connection_id":50335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":50335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:05:58] local.INFO: TCP Data received {"connection_id":50335,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:05:58] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:05:58] local.INFO: IMEI packet received {"connection_id":50335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":50335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:06:02] local.INFO: TCP Data received {"connection_id":50335,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:06:02] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:06:02] local.INFO: IMEI packet received {"connection_id":50335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":50335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:06:02] local.INFO: TCP Data received {"connection_id":50082,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db34137a8012d7f8e8005afdcd80000004226..."} 
[2026-04-22 09:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34137a8012d7f8e8005afdcd80000004226..."} 
[2026-04-22 09:06:02] local.INFO: Processing buffer {"connection_id":50082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34137a8012d7f8e8005afdcd80000004226..."} 
[2026-04-22 09:06:02] local.INFO: Packet analysis {"connection_id":50082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:06:02] local.INFO: Extracted packet for processing {"connection_id":50082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763334272,"raw_latitude":95411416,"longitude_deg":76.3334272,"latitude_deg":9.5411416,"altitude":0,"angle":66,"satellites":38,"speed":1,"hex_longitude":"2d7f8e80","hex_latitude":"05afdcd8","is_valid_coordinates":true} 
[2026-04-22 09:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868193792001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478528352092160,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190650595237511168,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:02] 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-22 09:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776828889000,"timestamp_ms":1776828889000,"timestamp_seconds":1776828889,"priority":1,"record_length":96,"hex_timestamp":"0000019db34137a8"} 
[2026-04-22 09:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:06: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-22 09:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-22 09:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:06: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-22 09:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868193792001,"66":27843,"250":206,"85":12544,"24":1,"16":278478528352092160,"45":9190650595237511168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868193792001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478528352092160,"km_value":278478528352092.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190650595237511168,"description":"Unknown IO ID 45"} 
[2026-04-22 09:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868193792001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9190650595237511168}} 
[2026-04-22 09:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":50082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:06:02] local.INFO: GPS data processed {"connection_id":50082,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:06:02] local.INFO: Acknowledgment sent {"connection_id":50082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:06:04] local.INFO: TCP Data received {"connection_id":50335,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33ece78012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33ece78012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:06:04] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33ece78012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:06:04] local.INFO: Packet analysis {"connection_id":50335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:06:04] local.INFO: Extracted packet for processing {"connection_id":50335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33e"} 
[2026-04-22 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":36,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868149760001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828731000,"timestamp_ms":1776828731000,"timestamp_seconds":1776828731,"priority":1,"record_length":96,"hex_timestamp":"0000019db33ece78"} 
[2026-04-22 09:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 09:06:04] 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-22 09:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868149760001,"66":12602,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868149760001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:06:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868149760001,"power":12602,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":50335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:06:04] local.INFO: GPS data processed {"connection_id":50335,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:06:04] local.INFO: Acknowledgment sent {"connection_id":50335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:06:27] local.INFO: TCP Data received {"connection_id":50463,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:06:27] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:06:27] local.INFO: IMEI packet received {"connection_id":50463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:06:32] local.INFO: TCP Data received {"connection_id":50463,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:06:32] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:06:32] local.INFO: IMEI packet received {"connection_id":50463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:06:33] local.INFO: TCP Data received {"connection_id":50463,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db3413f78012d7f8f8005afdcf00000003326..."} 
[2026-04-22 09:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3413f78012d7f8f8005afdcf00000003326..."} 
[2026-04-22 09:06:33] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3413f78012d7f8f8005afdcf00000003326..."} 
[2026-04-22 09:06:33] local.INFO: Packet analysis {"connection_id":50463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:06:33] local.INFO: Extracted packet for processing {"connection_id":50463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763334528,"raw_latitude":95411440,"longitude_deg":76.3334528,"latitude_deg":9.541144,"altitude":0,"angle":51,"satellites":38,"speed":2,"hex_longitude":"2d7f8f80","hex_latitude":"05afdcf0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868195584001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478536942026752,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191424651423438848,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:33] 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-22 09:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776828891000,"timestamp_ms":1776828891000,"timestamp_seconds":1776828891,"priority":1,"record_length":96,"hex_timestamp":"0000019db3413f78"} 
[2026-04-22 09: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-22 09:06: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-22 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-22 09:06: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-22 09: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-22 09: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-22 09:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868195584001,"66":27821,"250":206,"85":12544,"24":2,"16":278478536942026752,"45":9191424651423438848},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868195584001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:06:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478536942026752,"km_value":278478536942026.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191424651423438848,"description":"Unknown IO ID 45"} 
[2026-04-22 09:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868195584001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9191424651423438848}} 
[2026-04-22 09:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:06:33] local.INFO: GPS data processed {"connection_id":50463,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:06:33] local.INFO: Acknowledgment sent {"connection_id":50463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:06:37] local.INFO: TCP Data received {"connection_id":50335,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33f2080012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33f2080012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:06:37] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33f2080012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:06:37] local.INFO: Packet analysis {"connection_id":50335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:06:37] local.INFO: Extracted packet for processing {"connection_id":50335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868155136001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776828752000,"timestamp_ms":1776828752000,"timestamp_seconds":1776828752,"priority":1,"record_length":96,"hex_timestamp":"0000019db33f2080"} 
[2026-04-22 09:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 09:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868155136001,"66":12602,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868155136001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:06:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868155136001,"power":12602,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":50335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:06:37] local.INFO: GPS data processed {"connection_id":50335,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:06:37] local.INFO: Acknowledgment sent {"connection_id":50335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:07:01] local.INFO: TCP Data received {"connection_id":50464,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:07:01] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:07:01] local.INFO: IMEI packet received {"connection_id":50464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":50464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:07:04] local.INFO: TCP Data received {"connection_id":50463,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db3413f78012d7f8f8005afdcf00000003326..."} 
[2026-04-22 09:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3413f78012d7f8f8005afdcf00000003326..."} 
[2026-04-22 09:07:04] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3413f78012d7f8f8005afdcf00000003326..."} 
[2026-04-22 09:07:04] local.INFO: Packet analysis {"connection_id":50463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:07:04] local.INFO: Extracted packet for processing {"connection_id":50463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763334528,"raw_latitude":95411440,"longitude_deg":76.3334528,"latitude_deg":9.541144,"altitude":0,"angle":51,"satellites":38,"speed":2,"hex_longitude":"2d7f8f80","hex_latitude":"05afdcf0","is_valid_coordinates":true} 
[2026-04-22 09:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868196096001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478536942026752,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191706126400155648,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07: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-22 09:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828891000,"timestamp_ms":1776828891000,"timestamp_seconds":1776828891,"priority":1,"record_length":96,"hex_timestamp":"0000019db3413f78"} 
[2026-04-22 09: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-22 09:07: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-22 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 09:07:04] 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-22 09: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-22 09: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-22 09:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868196096001,"66":27821,"250":206,"85":12544,"24":2,"16":278478536942026752,"45":9191706126400155648},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868196096001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:07:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478536942026752,"km_value":278478536942026.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191706126400155648,"description":"Unknown IO ID 45"} 
[2026-04-22 09:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868196096001,"power":27821,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9191706126400155648}} 
[2026-04-22 09:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:07:04] local.INFO: GPS data processed {"connection_id":50463,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:07:04] local.INFO: Acknowledgment sent {"connection_id":50463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:07:06] local.INFO: TCP Data received {"connection_id":50464,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:07:06] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:07:06] local.INFO: IMEI packet received {"connection_id":50464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":50464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:07:09] local.INFO: TCP Data received {"connection_id":50464,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33f7288012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33f7288012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:07:09] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33f7288012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:07:09] local.INFO: Packet analysis {"connection_id":50464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:07:09] local.INFO: Extracted packet for processing {"connection_id":50464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:07:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":36,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868160512001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776828773000,"timestamp_ms":1776828773000,"timestamp_seconds":1776828773,"priority":1,"record_length":96,"hex_timestamp":"0000019db33f7288"} 
[2026-04-22 09: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-22 09:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 09:07:09] 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-22 09: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-22 09: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-22 09:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868160512001,"66":12591,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868160512001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:07:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868160512001,"power":12591,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":50464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:07:09] local.INFO: GPS data processed {"connection_id":50464,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:07:09] local.INFO: Acknowledgment sent {"connection_id":50464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:07:26] local.INFO: TCP Data received {"connection_id":50083,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:07:26] local.INFO: Processing buffer {"connection_id":50083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:07:26] local.INFO: IMEI packet received {"connection_id":50083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":50083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:07:27] local.INFO: TCP Data received {"connection_id":50084,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:07:27] local.INFO: Processing buffer {"connection_id":50084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:07:27] local.INFO: IMEI packet received {"connection_id":50084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:07:32] local.INFO: TCP Data received {"connection_id":50084,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:07:32] local.INFO: Processing buffer {"connection_id":50084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:07:32] local.INFO: IMEI packet received {"connection_id":50084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:07:33] local.INFO: TCP Data received {"connection_id":50084,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db3419d38012d7f93c005afdd680000003c27..."} 
[2026-04-22 09:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3419d38012d7f93c005afdd680000003c27..."} 
[2026-04-22 09:07:33] local.INFO: Processing buffer {"connection_id":50084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3419d38012d7f93c005afdd680000003c27..."} 
[2026-04-22 09:07:33] local.INFO: Packet analysis {"connection_id":50084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:07:33] local.INFO: Extracted packet for processing {"connection_id":50084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763335616,"raw_latitude":95411560,"longitude_deg":76.3335616,"latitude_deg":9.541156,"altitude":0,"angle":60,"satellites":39,"speed":0,"hex_longitude":"2d7f93c0","hex_latitude":"05afdd68","is_valid_coordinates":true} 
[2026-04-22 09:07: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-22 09:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868196096001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478536942026752,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191706126400155648,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:33] 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-22 09:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776828915000,"timestamp_ms":1776828915000,"timestamp_seconds":1776828915,"priority":1,"record_length":96,"hex_timestamp":"0000019db3419d38"} 
[2026-04-22 09: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-22 09:07: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-22 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 09:07: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-22 09: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-22 09: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-22 09:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:07:33] 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-22 09:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868196096001,"66":26908,"250":206,"85":12544,"24":0,"16":278478536942026752,"45":9191706126400155648},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868196096001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:07:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478536942026752,"km_value":278478536942026.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191706126400155648,"description":"Unknown IO ID 45"} 
[2026-04-22 09:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868196096001,"power":26908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191706126400155648}} 
[2026-04-22 09:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:07:33] local.INFO: GPS data processed {"connection_id":50084,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:07:33] local.INFO: Acknowledgment sent {"connection_id":50084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:07:42] local.INFO: TCP Data received {"connection_id":50464,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db33fc490012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db33fc490012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:07:42] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db33fc490012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:07:42] local.INFO: Packet analysis {"connection_id":50464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:07:42] local.INFO: Extracted packet for processing {"connection_id":50464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db33f"} 
[2026-04-22 09:07:42] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868165888001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776828794000,"timestamp_ms":1776828794000,"timestamp_seconds":1776828794,"priority":1,"record_length":96,"hex_timestamp":"0000019db33fc490"} 
[2026-04-22 09:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 09:07: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-22 09:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868165888001,"66":12580,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868165888001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:07:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868165888001,"power":12580,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":50464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:07:42] local.INFO: GPS data processed {"connection_id":50464,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:07:42] local.INFO: Acknowledgment sent {"connection_id":50464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:07:51] local.INFO: TCP Data received {"connection_id":50336,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:07:51] local.INFO: Processing buffer {"connection_id":50336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:07:51] local.INFO: IMEI packet received {"connection_id":50336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":50336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:08:01] local.INFO: TCP Data received {"connection_id":50337,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:08:01] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:08:01] local.INFO: IMEI packet received {"connection_id":50337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":50337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:08:04] local.INFO: TCP Data received {"connection_id":50084,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db341b0c0012d7f948005afdd180000009127..."} 
[2026-04-22 09:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db341b0c0012d7f948005afdd180000009127..."} 
[2026-04-22 09:08:04] local.INFO: Processing buffer {"connection_id":50084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db341b0c0012d7f948005afdd180000009127..."} 
[2026-04-22 09:08:04] local.INFO: Packet analysis {"connection_id":50084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:08:04] local.INFO: Extracted packet for processing {"connection_id":50084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763335808,"raw_latitude":95411480,"longitude_deg":76.3335808,"latitude_deg":9.541148,"altitude":0,"angle":145,"satellites":39,"speed":0,"hex_longitude":"2d7f9480","hex_latitude":"05afdd18","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868202240001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478541236994048,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192902395051206656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08: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-22 09:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828920000,"timestamp_ms":1776828920000,"timestamp_seconds":1776828920,"priority":1,"record_length":96,"hex_timestamp":"0000019db341b0c0"} 
[2026-04-22 09: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-22 09:08: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-22 09: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 09:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:08: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-22 09:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868202240001,"66":26702,"250":206,"85":12544,"24":0,"16":278478541236994048,"45":9192902395051206656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868202240001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:08:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478541236994048,"km_value":278478541236994.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192902395051206656,"description":"Unknown IO ID 45"} 
[2026-04-22 09:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868202240001,"power":26702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192902395051206656}} 
[2026-04-22 09:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:08:04] local.INFO: GPS data processed {"connection_id":50084,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:08:04] local.INFO: Acknowledgment sent {"connection_id":50084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:08:04] local.INFO: TCP Data received {"connection_id":50337,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:08:04] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:08:04] local.INFO: IMEI packet received {"connection_id":50337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":50337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:08:07] local.INFO: TCP Data received {"connection_id":50337,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3401698012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3401698012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:08:07] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3401698012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:08:07] local.INFO: Packet analysis {"connection_id":50337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db340"} 
[2026-04-22 09:08:07] local.INFO: Extracted packet for processing {"connection_id":50337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db340"} 
[2026-04-22 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776828815000,"timestamp_ms":1776828815000,"timestamp_seconds":1776828815,"priority":1,"record_length":96,"hex_timestamp":"0000019db3401698"} 
[2026-04-22 09:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-22 09:08:07] 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-22 09:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868171264001,"66":12558,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:08:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:08:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868171264001,"power":12558,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":50337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:08:07] local.INFO: GPS data processed {"connection_id":50337,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:08:07] local.INFO: Acknowledgment sent {"connection_id":50337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:08:09] local.INFO: TCP Data received {"connection_id":50337,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34068a0012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34068a0012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:08:09] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34068a0012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:08:09] local.INFO: Packet analysis {"connection_id":50337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db340"} 
[2026-04-22 09:08:09] local.INFO: Extracted packet for processing {"connection_id":50337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db340"} 
[2026-04-22 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868176640001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776828836000,"timestamp_ms":1776828836000,"timestamp_seconds":1776828836,"priority":1,"record_length":96,"hex_timestamp":"0000019db34068a0"} 
[2026-04-22 09:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3221691726,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3007195752,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3240042788995026472,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":100,"raw_value":6917755539199891456,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.WARNING: Large IO value detected {"io_id":206,"raw_value":204069461194440706,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,96,2,24,241,158,16,7,157,196,44,192,78,12,37,10,66,114,36,32,1,240,58,179,29,4,113,205,124,40,239,49,148,100,57,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:08:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065121322369024,"timestamp_seconds":865065121322369.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868176640001,"66":12526,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868176640001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:08:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868176640001,"power":12526,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":50337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:08:09] local.INFO: GPS data processed {"connection_id":50337,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:08:09] local.INFO: Acknowledgment sent {"connection_id":50337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:08:26] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:08:26] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:08:26] local.INFO: IMEI packet received {"connection_id":50465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":50465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:08:32] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:08:32] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:08:32] local.INFO: IMEI packet received {"connection_id":50465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:08:33] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db34202c8012d7f95c005afdcb00001009126..."} 
[2026-04-22 09:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34202c8012d7f95c005afdcb00001009126..."} 
[2026-04-22 09:08:33] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34202c8012d7f95c005afdcb00001009126..."} 
[2026-04-22 09:08:33] local.INFO: Packet analysis {"connection_id":50465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:08:33] local.INFO: Extracted packet for processing {"connection_id":50465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763336128,"raw_latitude":95411376,"longitude_deg":76.3336128,"latitude_deg":9.5411376,"altitude":1,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f95c0","hex_latitude":"05afdcb0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868203520001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478558416863232,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193113501283719168,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:33] 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-22 09:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776828941000,"timestamp_ms":1776828941000,"timestamp_seconds":1776828941,"priority":1,"record_length":96,"hex_timestamp":"0000019db34202c8"} 
[2026-04-22 09: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-22 09:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 09:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:08:33] 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-22 09:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868203520001,"66":27745,"250":206,"85":12544,"24":0,"16":278478558416863232,"45":9193113501283719168},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868203520001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:08:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478558416863232,"km_value":278478558416863.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193113501283719168,"description":"Unknown IO ID 45"} 
[2026-04-22 09:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868203520001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193113501283719168}} 
[2026-04-22 09:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":50465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:08:33] local.INFO: GPS data processed {"connection_id":50465,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:08:33] local.INFO: Acknowledgment sent {"connection_id":50465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:08:43] local.INFO: TCP Data received {"connection_id":50337,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db340baa8012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db340baa8012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:08:43] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db340baa8012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:08:43] local.INFO: Packet analysis {"connection_id":50337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db340"} 
[2026-04-22 09:08:43] local.INFO: Extracted packet for processing {"connection_id":50337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db340"} 
[2026-04-22 09:08:43] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868182016001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776828857000,"timestamp_ms":1776828857000,"timestamp_seconds":1776828857,"priority":1,"record_length":96,"hex_timestamp":"0000019db340baa8"} 
[2026-04-22 09:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:08:43] 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-22 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 09:08:43] 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-22 09:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868182016001,"66":12558,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868182016001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:08:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:08:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868182016001,"power":12558,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":50337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:08:43] local.INFO: GPS data processed {"connection_id":50337,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:08:43] local.INFO: Acknowledgment sent {"connection_id":50337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:08:57] local.INFO: TCP Data received {"connection_id":51020,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:08:57] local.INFO: Processing buffer {"connection_id":51020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:08:57] local.INFO: IMEI packet received {"connection_id":51020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":51020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:09:01] local.INFO: TCP Data received {"connection_id":51020,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:09:01] local.INFO: Processing buffer {"connection_id":51020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:09:01] local.INFO: IMEI packet received {"connection_id":51020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":51020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:09:03] local.INFO: TCP Data received {"connection_id":51020,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3410cb0012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3410cb0012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:09:03] local.INFO: Processing buffer {"connection_id":51020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3410cb0012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:09:03] local.INFO: Packet analysis {"connection_id":51020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:09:03] local.INFO: Extracted packet for processing {"connection_id":51020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868187392001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776828878000,"timestamp_ms":1776828878000,"timestamp_seconds":1776828878,"priority":1,"record_length":96,"hex_timestamp":"0000019db3410cb0"} 
[2026-04-22 09:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3221691726,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3007237752,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3240042788995026472,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2147560694,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":100,"raw_value":6917755539199891456,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":204069461194440706,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,96,2,24,241,158,16,7,157,104,44,192,78,12,38,10,66,22,37,196,1,240,36,179,29,4,113,205,32,40,239,49,148,100,57,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:09:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065125617336320,"timestamp_seconds":865065125617336.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868187392001,"66":12537,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868187392001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:09:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868187392001,"power":12537,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":51020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:09:04] local.INFO: GPS data processed {"connection_id":51020,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:09:04] local.INFO: Acknowledgment sent {"connection_id":51020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:09:04] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db34254d0012d7f978005afdbd00004009129..."} 
[2026-04-22 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34254d0012d7f978005afdbd00004009129..."} 
[2026-04-22 09:09:04] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34254d0012d7f978005afdbd00004009129..."} 
[2026-04-22 09:09:04] local.INFO: Packet analysis {"connection_id":50465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:09:04] local.INFO: Extracted packet for processing {"connection_id":50465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763336576,"raw_latitude":95411152,"longitude_deg":76.3336576,"latitude_deg":9.5411152,"altitude":4,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f9780","hex_latitude":"05afdbd0","is_valid_coordinates":true} 
[2026-04-22 09:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868208896001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478588481634304,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193465345004580864,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09: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-22 09:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828962000,"timestamp_ms":1776828962000,"timestamp_seconds":1776828962,"priority":1,"record_length":96,"hex_timestamp":"0000019db34254d0"} 
[2026-04-22 09:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:09:04] 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-22 09:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868208896001,"66":27713,"250":206,"85":12544,"24":0,"16":278478588481634304,"45":9193465345004580864},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868208896001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:09:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478588481634304,"km_value":278478588481634.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193465345004580864,"description":"Unknown IO ID 45"} 
[2026-04-22 09:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868208896001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193465345004580864}} 
[2026-04-22 09:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":50465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:09:04] local.INFO: GPS data processed {"connection_id":50465,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:09:04] local.INFO: Acknowledgment sent {"connection_id":50465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:09:32] local.INFO: TCP Data received {"connection_id":50338,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:09:32] local.INFO: Processing buffer {"connection_id":50338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:09:32] local.INFO: IMEI packet received {"connection_id":50338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:09:36] local.INFO: TCP Data received {"connection_id":51020,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3415eb8012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3415eb8012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:09:36] local.INFO: Processing buffer {"connection_id":51020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3415eb8012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:09:36] local.INFO: Packet analysis {"connection_id":51020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:09:36] local.INFO: Extracted packet for processing {"connection_id":51020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868192768001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776828899000,"timestamp_ms":1776828899000,"timestamp_seconds":1776828899,"priority":1,"record_length":96,"hex_timestamp":"0000019db3415eb8"} 
[2026-04-22 09: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-22 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 09:09:36] 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-22 09: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-22 09: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-22 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868192768001,"66":12548,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868192768001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:09:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:09:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868192768001,"power":12548,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":51020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:09:36] local.INFO: GPS data processed {"connection_id":51020,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:09:36] local.INFO: Acknowledgment sent {"connection_id":51020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:09:37] local.INFO: TCP Data received {"connection_id":50338,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:09:37] local.INFO: Processing buffer {"connection_id":50338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:09:37] local.INFO: IMEI packet received {"connection_id":50338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":50338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:09:37] local.INFO: TCP Data received {"connection_id":50338,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:09:37] local.INFO: Processing buffer {"connection_id":50338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:09:37] local.INFO: Packet analysis {"connection_id":50338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:09:37] local.INFO: Extracted packet for processing {"connection_id":50338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411080,"longitude_deg":76.333664,"latitude_deg":9.541108,"altitude":5,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afdb88","is_valid_coordinates":true} 
[2026-04-22 09:09: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-22 09:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868214272001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193957926213767168,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:37] 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-22 09:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776828968000,"timestamp_ms":1776828968000,"timestamp_seconds":1776828968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3426c40"} 
[2026-04-22 09: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-22 09:09: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-22 09: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-22 09:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:09:37] 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-22 09:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868214272001,"66":28006,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9193957926213767168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868214272001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:09:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193957926213767168,"description":"Unknown IO ID 45"} 
[2026-04-22 09:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868214272001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193957926213767168}} 
[2026-04-22 09:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":50338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:09:37] local.INFO: GPS data processed {"connection_id":50338,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:09:37] local.INFO: Acknowledgment sent {"connection_id":50338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:09:42] local.INFO: TCP Data received {"connection_id":50338,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:09:42] local.INFO: Processing buffer {"connection_id":50338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:09:42] local.INFO: Packet analysis {"connection_id":50338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:09:42] local.INFO: Extracted packet for processing {"connection_id":50338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411080,"longitude_deg":76.333664,"latitude_deg":9.541108,"altitude":5,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afdb88","is_valid_coordinates":true} 
[2026-04-22 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-22 09:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868214272001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193957926213767168,"note":"Value kept but may cause issues"} 
[2026-04-22 09:09:42] 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-22 09:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776828968000,"timestamp_ms":1776828968000,"timestamp_seconds":1776828968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3426c40"} 
[2026-04-22 09:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:09: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-22 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-22 09:09:42] 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-22 09:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:09:42] 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-22 09:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868214272001,"66":28006,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9193957926213767168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868214272001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:09:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193957926213767168,"description":"Unknown IO ID 45"} 
[2026-04-22 09:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868214272001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193957926213767168}} 
[2026-04-22 09:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":50338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:09:42] local.INFO: GPS data processed {"connection_id":50338,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:09:42] local.INFO: Acknowledgment sent {"connection_id":50338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:09:57] local.INFO: TCP Data received {"connection_id":50466,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:09:57] local.INFO: Processing buffer {"connection_id":50466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:09:57] local.INFO: IMEI packet received {"connection_id":50466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":50466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:10:02] local.INFO: TCP Data received {"connection_id":50466,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:10:02] local.INFO: Processing buffer {"connection_id":50466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:10:02] local.INFO: IMEI packet received {"connection_id":50466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":50466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:10:05] local.INFO: TCP Data received {"connection_id":50466,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db341b0c0012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db341b0c0012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:10:05] local.INFO: Processing buffer {"connection_id":50466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db341b0c0012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:10:05] local.INFO: Packet analysis {"connection_id":50466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:10:05] local.INFO: Extracted packet for processing {"connection_id":50466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db341"} 
[2026-04-22 09:10:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868198144001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776828920000,"timestamp_ms":1776828920000,"timestamp_seconds":1776828920,"priority":1,"record_length":96,"hex_timestamp":"0000019db341b0c0"} 
[2026-04-22 09:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:10:05] 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-22 09:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3221691726,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3007279752,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2415996150,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.WARNING: Large IO value detected {"io_id":100,"raw_value":6917755539199891456,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:05] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,12,44,192,78,37,10,66,186,38,104,1,240,238,179,29,4,113,205,196,40,239,49,148,100],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:10:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065125617336320,"timestamp_seconds":865065125617336.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868198144001,"66":12548,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868198144001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:10:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868198144001,"power":12548,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":50466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:10:06] local.INFO: GPS data processed {"connection_id":50466,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:10:06] local.INFO: Acknowledgment sent {"connection_id":50466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:10:27] local.INFO: TCP Data received {"connection_id":50087,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:10:27] local.INFO: Processing buffer {"connection_id":50087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:10:27] local.INFO: IMEI packet received {"connection_id":50087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:10:32] local.INFO: TCP Data received {"connection_id":50087,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:10:32] local.INFO: Processing buffer {"connection_id":50087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:10:32] local.INFO: IMEI packet received {"connection_id":50087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:10:33] local.INFO: TCP Data received {"connection_id":50087,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:10:33] local.INFO: Processing buffer {"connection_id":50087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:10:33] local.INFO: Packet analysis {"connection_id":50087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:10:33] local.INFO: Extracted packet for processing {"connection_id":50087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411080,"longitude_deg":76.333664,"latitude_deg":9.541108,"altitude":5,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afdb88","is_valid_coordinates":true} 
[2026-04-22 09:10: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-22 09:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868214272001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193957926213767168,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:33] 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-22 09:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776828968000,"timestamp_ms":1776828968000,"timestamp_seconds":1776828968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3426c40"} 
[2026-04-22 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-22 09: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-22 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-22 09:10:33] 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-22 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-22 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-22 09:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:10:33] 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-22 09:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868214272001,"66":28006,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9193957926213767168},"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-22 09:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868214272001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193957926213767168,"description":"Unknown IO ID 45"} 
[2026-04-22 09:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868214272001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193957926213767168}} 
[2026-04-22 09:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":50087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:10:33] local.INFO: GPS data processed {"connection_id":50087,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:10:33] local.INFO: Acknowledgment sent {"connection_id":50087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:10:40] local.INFO: TCP Data received {"connection_id":50466,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3453718012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3453718012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:10:40] local.INFO: Processing buffer {"connection_id":50466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3453718012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:10:40] local.INFO: Packet analysis {"connection_id":50466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db345"} 
[2026-04-22 09:10:40] local.INFO: Extracted packet for processing {"connection_id":50466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db345"} 
[2026-04-22 09:10:40] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":34,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868257280001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776829151000,"timestamp_ms":1776829151000,"timestamp_seconds":1776829151,"priority":1,"record_length":96,"hex_timestamp":"0000019db3453718"} 
[2026-04-22 09:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:10:40] 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-22 09:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 09:10:40] 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-22 09:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868257280001,"66":12461,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868257280001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:10:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868257280001,"power":12461,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":50466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:10:41] local.INFO: GPS data processed {"connection_id":50466,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:10:41] local.INFO: Acknowledgment sent {"connection_id":50466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:11:02] local.INFO: TCP Data received {"connection_id":50339,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:02] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:02] local.INFO: IMEI packet received {"connection_id":50339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":50339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:11:04] local.INFO: TCP Data received {"connection_id":50087,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:11:04] local.INFO: Processing buffer {"connection_id":50087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:11:04] local.INFO: Packet analysis {"connection_id":50087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:11:04] local.INFO: Extracted packet for processing {"connection_id":50087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411080,"longitude_deg":76.333664,"latitude_deg":9.541108,"altitude":5,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afdb88","is_valid_coordinates":true} 
[2026-04-22 09:11: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-22 09:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868214272001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193957926213767168,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11: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-22 09:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776828968000,"timestamp_ms":1776828968000,"timestamp_seconds":1776828968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3426c40"} 
[2026-04-22 09: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-22 09: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-22 09: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-22 09:11: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-22 09: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-22 09: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-22 09:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:11: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-22 09:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868214272001,"66":28006,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9193957926213767168},"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-22 09:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868214272001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:11:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193957926213767168,"description":"Unknown IO ID 45"} 
[2026-04-22 09:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868214272001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193957926213767168}} 
[2026-04-22 09:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":50087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:11:04] local.INFO: GPS data processed {"connection_id":50087,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:11:04] local.INFO: Acknowledgment sent {"connection_id":50087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:11:07] local.INFO: TCP Data received {"connection_id":50339,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:07] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:07] local.INFO: IMEI packet received {"connection_id":50339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":50339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:11:11] local.INFO: TCP Data received {"connection_id":50339,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3458920012cf6f1c0071d4e28000c015420..."} 
[2026-04-22 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3458920012cf6f1c0071d4e28000c015420..."} 
[2026-04-22 09:11:11] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3458920012cf6f1c0071d4e28000c015420..."} 
[2026-04-22 09:11:11] local.INFO: Packet analysis {"connection_id":50339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db345"} 
[2026-04-22 09:11:11] local.INFO: Extracted packet for processing {"connection_id":50339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db345"} 
[2026-04-22 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":32,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868262656001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776829172000,"timestamp_ms":1776829172000,"timestamp_seconds":1776829172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3458920"} 
[2026-04-22 09:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 09:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868262656001,"66":12156,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868262656001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:11:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868262656001,"power":12156,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":50339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:11:12] local.INFO: GPS data processed {"connection_id":50339,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:11:12] local.INFO: Acknowledgment sent {"connection_id":50339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:11:15] local.INFO: TCP Data received {"connection_id":50339,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db345db28012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db345db28012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:11:15] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db345db28012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:11:15] local.INFO: Packet analysis {"connection_id":50339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db345"} 
[2026-04-22 09:11:15] local.INFO: Extracted packet for processing {"connection_id":50339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db345"} 
[2026-04-22 09:11:15] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":34,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868268032001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776829193000,"timestamp_ms":1776829193000,"timestamp_seconds":1776829193,"priority":1,"record_length":96,"hex_timestamp":"0000019db345db28"} 
[2026-04-22 09: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-22 09:11:15] 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-22 09: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 09:11:15] 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-22 09: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-22 09: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-22 09:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868268032001,"66":12461,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868268032001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:11:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:11:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868268032001,"power":12461,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":50339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:11:15] local.INFO: GPS data processed {"connection_id":50339,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:11:15] local.INFO: Acknowledgment sent {"connection_id":50339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:11:27] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:11:27] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:11:27] local.INFO: IMEI packet received {"connection_id":50468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":50468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:11:32] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:11:32] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:11:32] local.INFO: IMEI packet received {"connection_id":50468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:11:32] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:11:32] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3426c40012d7f97c005afdb880005009129..."} 
[2026-04-22 09:11:32] local.INFO: Packet analysis {"connection_id":50468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:11:32] local.INFO: Extracted packet for processing {"connection_id":50468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db342"} 
[2026-04-22 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763336640,"raw_latitude":95411080,"longitude_deg":76.333664,"latitude_deg":9.541108,"altitude":5,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f97c0","hex_latitude":"05afdb88","is_valid_coordinates":true} 
[2026-04-22 09:11: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-22 09:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868214272001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193957926213767168,"note":"Value kept but may cause issues"} 
[2026-04-22 09:11: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-22 09:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776828968000,"timestamp_ms":1776828968000,"timestamp_seconds":1776828968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3426c40"} 
[2026-04-22 09: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-22 09:11: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-22 09: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-22 09:11: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-22 09: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-22 09: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-22 09:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:11: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-22 09:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868214272001,"66":28006,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9193957926213767168},"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-22 09:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868214272001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:11:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193957926213767168,"description":"Unknown IO ID 45"} 
[2026-04-22 09:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868214272001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9193957926213767168}} 
[2026-04-22 09:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":50468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:11:32] local.INFO: GPS data processed {"connection_id":50468,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:11:32] local.INFO: Acknowledgment sent {"connection_id":50468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:11:55] local.INFO: TCP Data received {"connection_id":50340,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:55] local.INFO: Processing buffer {"connection_id":50340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:55] local.INFO: IMEI packet received {"connection_id":50340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":50340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:11:57] local.INFO: TCP Data received {"connection_id":50340,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:57] local.INFO: Processing buffer {"connection_id":50340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:11:57] local.INFO: IMEI packet received {"connection_id":50340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":50340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:12:01] local.INFO: TCP Data received {"connection_id":50340,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:12:01] local.INFO: Processing buffer {"connection_id":50340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:12:01] local.INFO: IMEI packet received {"connection_id":50340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":50340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:12:03] local.INFO: TCP Data received {"connection_id":50340,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3462d30012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3462d30012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:12:03] local.INFO: Processing buffer {"connection_id":50340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3462d30012cf6f1c0071d4e28000c015423..."} 
[2026-04-22 09:12:03] local.INFO: Packet analysis {"connection_id":50340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db346"} 
[2026-04-22 09:12:03] local.INFO: Extracted packet for processing {"connection_id":50340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db346"} 
[2026-04-22 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":35,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868273408001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776829214000,"timestamp_ms":1776829214000,"timestamp_seconds":1776829214,"priority":1,"record_length":96,"hex_timestamp":"0000019db3462d30"} 
[2026-04-22 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-22 09:12:03] 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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 09:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 09:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868273408001,"66":12428,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868273408001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:12:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868273408001,"power":12428,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":50340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:12:03] local.INFO: GPS data processed {"connection_id":50340,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:12:03] local.INFO: Acknowledgment sent {"connection_id":50340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:12:03] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:12:03] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:12:03] local.INFO: Packet analysis {"connection_id":50468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:12:03] local.INFO: Extracted packet for processing {"connection_id":50468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12: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-22 09:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 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-22 09:12: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-22 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 09:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:12: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-22 09:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:12:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":50468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:12:03] local.INFO: GPS data processed {"connection_id":50468,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:12:03] local.INFO: Acknowledgment sent {"connection_id":50468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:12:26] local.INFO: TCP Data received {"connection_id":50469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:12:26] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:12:26] local.INFO: IMEI packet received {"connection_id":50469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":50469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:12:32] local.INFO: TCP Data received {"connection_id":50469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:12:32] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:12:32] local.INFO: IMEI packet received {"connection_id":50469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:12:32] local.INFO: TCP Data received {"connection_id":50469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:12:32] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:12:32] local.INFO: Packet analysis {"connection_id":50469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:12:32] local.INFO: Extracted packet for processing {"connection_id":50469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12: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-22 09:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 09:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:12: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-22 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:12: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-22 09:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:12:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":50469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:12:32] local.INFO: GPS data processed {"connection_id":50469,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:12:32] local.INFO: Acknowledgment sent {"connection_id":50469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:12:35] local.INFO: TCP Data received {"connection_id":50340,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3467f38012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3467f38012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:12:35] local.INFO: Processing buffer {"connection_id":50340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3467f38012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:12:35] local.INFO: Packet analysis {"connection_id":50340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db346"} 
[2026-04-22 09:12:35] local.INFO: Extracted packet for processing {"connection_id":50340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db346"} 
[2026-04-22 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 09:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868278784001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776829235000,"timestamp_ms":1776829235000,"timestamp_seconds":1776829235,"priority":1,"record_length":96,"hex_timestamp":"0000019db3467f38"} 
[2026-04-22 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-22 09:12:35] 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-22 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 09:12:35] 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-22 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-22 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-22 09:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868278784001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868278784001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:12:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:12:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868278784001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":50340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:12:35] local.INFO: GPS data processed {"connection_id":50340,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:12:35] local.INFO: Acknowledgment sent {"connection_id":50340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:12:57] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:12:57] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:12:57] local.INFO: IMEI packet received {"connection_id":50471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":50471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:12:58] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:12:58] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:12:58] local.INFO: IMEI packet received {"connection_id":50471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":50471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:13:02] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:13:02] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:13:02] local.INFO: IMEI packet received {"connection_id":50471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":50471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:13:03] local.INFO: TCP Data received {"connection_id":50469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:13:03] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:13:03] local.INFO: Packet analysis {"connection_id":50469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:13:03] local.INFO: Extracted packet for processing {"connection_id":50469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13: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-22 09:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 09: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-22 09: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-22 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:13:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":50469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:13:03] local.INFO: GPS data processed {"connection_id":50469,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:13:03] local.INFO: Acknowledgment sent {"connection_id":50469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:13:05] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db346d140012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db346d140012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:13:05] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db346d140012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:13:05] local.INFO: Packet analysis {"connection_id":50471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db346"} 
[2026-04-22 09:13:05] local.INFO: Extracted packet for processing {"connection_id":50471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db346"} 
[2026-04-22 09:13:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868284160001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776829256000,"timestamp_ms":1776829256000,"timestamp_seconds":1776829256,"priority":1,"record_length":96,"hex_timestamp":"0000019db346d140"} 
[2026-04-22 09: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-22 09:13:05] 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-22 09: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868284160001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868284160001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:13:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868284160001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":50471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:13:05] local.INFO: GPS data processed {"connection_id":50471,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:13:05] local.INFO: Acknowledgment sent {"connection_id":50471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:13:06] local.INFO: TCP Data received {"connection_id":50470,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:13:06] local.INFO: Processing buffer {"connection_id":50470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:13:06] local.INFO: IMEI packet received {"connection_id":50470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":50470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:13:26] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:13:26] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:13:26] local.INFO: IMEI packet received {"connection_id":50341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":50341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:13:32] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:13:32] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:13:32] local.INFO: IMEI packet received {"connection_id":50341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:13:34] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:13:34] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:13:34] local.INFO: Packet analysis {"connection_id":50341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:13:34] local.INFO: Extracted packet for processing {"connection_id":50341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13: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-22 09:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 09:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:13: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-22 09:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:13:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:13:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":50341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:13:34] local.INFO: GPS data processed {"connection_id":50341,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:13:34] local.INFO: Acknowledgment sent {"connection_id":50341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:13:39] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3472348012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3472348012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:13:39] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3472348012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:13:39] local.INFO: Packet analysis {"connection_id":50471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:13:39] local.INFO: Extracted packet for processing {"connection_id":50471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:13:39] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868289536001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776829277000,"timestamp_ms":1776829277000,"timestamp_seconds":1776829277,"priority":1,"record_length":96,"hex_timestamp":"0000019db3472348"} 
[2026-04-22 09:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868289536001,"66":12406,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868289536001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:13:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:13:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868289536001,"power":12406,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":50471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:13:39] local.INFO: GPS data processed {"connection_id":50471,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:13:39] local.INFO: Acknowledgment sent {"connection_id":50471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:13:51] local.INFO: TCP Data received {"connection_id":50089,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:13:51] local.INFO: Processing buffer {"connection_id":50089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:13:51] local.INFO: IMEI packet received {"connection_id":50089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":50089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:13:56] local.INFO: TCP Data received {"connection_id":50342,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:13:56] local.INFO: Processing buffer {"connection_id":50342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:13:56] local.INFO: IMEI packet received {"connection_id":50342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":50342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:14:01] local.INFO: TCP Data received {"connection_id":50342,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:14:01] local.INFO: Processing buffer {"connection_id":50342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:14:01] local.INFO: IMEI packet received {"connection_id":50342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":50342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:14:02] local.INFO: TCP Data received {"connection_id":50342,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3477550012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3477550012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:14:02] local.INFO: Processing buffer {"connection_id":50342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3477550012cf6f1c0071d4e28000c015422..."} 
[2026-04-22 09:14:02] local.INFO: Packet analysis {"connection_id":50342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:02] local.INFO: Extracted packet for processing {"connection_id":50342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":34,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868294912001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776829298000,"timestamp_ms":1776829298000,"timestamp_seconds":1776829298,"priority":1,"record_length":96,"hex_timestamp":"0000019db3477550"} 
[2026-04-22 09: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-22 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 09:14:02] 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-22 09: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-22 09: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-22 09:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868294912001,"66":12428,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868294912001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:14:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868294912001,"power":12428,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":50342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:14:02] local.INFO: GPS data processed {"connection_id":50342,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:14:02] local.INFO: Acknowledgment sent {"connection_id":50342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:14:05] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:14:05] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:14:05] local.INFO: Packet analysis {"connection_id":50341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:05] local.INFO: Extracted packet for processing {"connection_id":50341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:05] 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-22 09:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 09: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-22 09:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:14:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":50341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:14:05] local.INFO: GPS data processed {"connection_id":50341,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:14:05] local.INFO: Acknowledgment sent {"connection_id":50341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:14:32] local.INFO: TCP Data received {"connection_id":50472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:14:32] local.INFO: Processing buffer {"connection_id":50472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:14:32] local.INFO: IMEI packet received {"connection_id":50472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:14:34] local.INFO: TCP Data received {"connection_id":50342,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db347c758012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db347c758012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:14:34] local.INFO: Processing buffer {"connection_id":50342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db347c758012cf6f1c0071d4e28000c015424..."} 
[2026-04-22 09:14:34] local.INFO: Packet analysis {"connection_id":50342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:34] local.INFO: Extracted packet for processing {"connection_id":50342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":36,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868300288001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776829319000,"timestamp_ms":1776829319000,"timestamp_seconds":1776829319,"priority":1,"record_length":96,"hex_timestamp":"0000019db347c758"} 
[2026-04-22 09: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-22 09:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 09:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868300288001,"66":12428,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868300288001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:14:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:14:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868300288001,"power":12428,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":50342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:14:34] local.INFO: GPS data processed {"connection_id":50342,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:14:34] local.INFO: Acknowledgment sent {"connection_id":50342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:14:37] local.INFO: TCP Data received {"connection_id":50472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:14:37] local.INFO: Processing buffer {"connection_id":50472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:14:37] local.INFO: IMEI packet received {"connection_id":50472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":50472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:14:38] local.INFO: TCP Data received {"connection_id":50472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:14:38] local.INFO: Processing buffer {"connection_id":50472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:14:38] local.INFO: Packet analysis {"connection_id":50472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:38] local.INFO: Extracted packet for processing {"connection_id":50472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:38] 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-22 09:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 09: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-22 09:14: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-22 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:14: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-22 09:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:14:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":50472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:14:38] local.INFO: GPS data processed {"connection_id":50472,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:14:38] local.INFO: Acknowledgment sent {"connection_id":50472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:14:42] local.INFO: TCP Data received {"connection_id":50472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:14:42] local.INFO: Processing buffer {"connection_id":50472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:14:42] local.INFO: Packet analysis {"connection_id":50472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:42] local.INFO: Extracted packet for processing {"connection_id":50472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:14:42] 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-22 09:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 09:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:14:42] local.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-22 09:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:14:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":50472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:14:42] local.INFO: GPS data processed {"connection_id":50472,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:14:42] local.INFO: Acknowledgment sent {"connection_id":50472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:14:57] local.INFO: TCP Data received {"connection_id":50344,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:14:57] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:14:57] local.INFO: IMEI packet received {"connection_id":50344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":50344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:15:02] local.INFO: TCP Data received {"connection_id":50344,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:15:02] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:15:02] local.INFO: IMEI packet received {"connection_id":50344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":50344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:15:04] local.INFO: TCP Data received {"connection_id":50344,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3481960012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3481960012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:15:04] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3481960012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:15:04] local.INFO: Packet analysis {"connection_id":50344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db348"} 
[2026-04-22 09:15:04] local.INFO: Extracted packet for processing {"connection_id":50344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db348"} 
[2026-04-22 09:15:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868305664001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776829340000,"timestamp_ms":1776829340000,"timestamp_seconds":1776829340,"priority":1,"record_length":96,"hex_timestamp":"0000019db3481960"} 
[2026-04-22 09: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-22 09:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 09:15:04] 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-22 09: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-22 09: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-22 09:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868305664001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868305664001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:15:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868305664001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":50344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:15:04] local.INFO: GPS data processed {"connection_id":50344,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:15:04] local.INFO: Acknowledgment sent {"connection_id":50344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:15:26] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:15:26] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:15:26] local.INFO: IMEI packet received {"connection_id":50473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":50473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:15:31] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:15:31] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:15:31] local.INFO: IMEI packet received {"connection_id":50473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":50473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:15:32] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:15:32] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:15:32] local.INFO: Packet analysis {"connection_id":50473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:15:32] local.INFO: Extracted packet for processing {"connection_id":50473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:15: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-22 09:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 09: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-22 09:15: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-22 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:15: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-22 09:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:15:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":50473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:15:32] local.INFO: GPS data processed {"connection_id":50473,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:15:32] local.INFO: Acknowledgment sent {"connection_id":50473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:15:37] local.INFO: TCP Data received {"connection_id":50344,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3486b68012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3486b68012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:15:37] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3486b68012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:15:37] local.INFO: Packet analysis {"connection_id":50344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db348"} 
[2026-04-22 09:15:37] local.INFO: Extracted packet for processing {"connection_id":50344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db348"} 
[2026-04-22 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868311040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776829361000,"timestamp_ms":1776829361000,"timestamp_seconds":1776829361,"priority":1,"record_length":96,"hex_timestamp":"0000019db3486b68"} 
[2026-04-22 09:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868311040001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868311040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:15:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868311040001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":50344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:15:37] local.INFO: GPS data processed {"connection_id":50344,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:15:37] local.INFO: Acknowledgment sent {"connection_id":50344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:15:57] local.INFO: TCP Data received {"connection_id":51022,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:15:57] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:15:57] local.INFO: IMEI packet received {"connection_id":51022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":51022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:16:02] local.INFO: TCP Data received {"connection_id":51022,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:16:02] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:16:02] local.INFO: IMEI packet received {"connection_id":51022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":51022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:16:03] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:16:03] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:16:03] local.INFO: Packet analysis {"connection_id":50473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:16:03] local.INFO: Extracted packet for processing {"connection_id":50473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16: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-22 09:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 09: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-22 09:16: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-22 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09: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-22 09:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:16:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":50473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:16:03] local.INFO: GPS data processed {"connection_id":50473,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:16:03] local.INFO: Acknowledgment sent {"connection_id":50473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:16:05] local.INFO: TCP Data received {"connection_id":51022,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db348bd70012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db348bd70012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:16:05] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db348bd70012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:16:05] local.INFO: Packet analysis {"connection_id":51022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db348"} 
[2026-04-22 09:16:05] local.INFO: Extracted packet for processing {"connection_id":51022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db348"} 
[2026-04-22 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 09:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868316416001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776829382000,"timestamp_ms":1776829382000,"timestamp_seconds":1776829382,"priority":1,"record_length":96,"hex_timestamp":"0000019db348bd70"} 
[2026-04-22 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-22 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 09:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868316416001,"66":12428,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868316416001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:16:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868316416001,"power":12428,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":51022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:16:05] local.INFO: GPS data processed {"connection_id":51022,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:16:05] local.INFO: Acknowledgment sent {"connection_id":51022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:16:26] local.INFO: TCP Data received {"connection_id":50345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:16:26] local.INFO: Processing buffer {"connection_id":50345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:16:26] local.INFO: IMEI packet received {"connection_id":50345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:16:31] local.INFO: TCP Data received {"connection_id":50345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:16:31] local.INFO: Processing buffer {"connection_id":50345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:16:31] local.INFO: IMEI packet received {"connection_id":50345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:16:32] local.INFO: TCP Data received {"connection_id":50345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:16:32] local.INFO: Processing buffer {"connection_id":50345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34707f0012d7f92c005afda48000d009126..."} 
[2026-04-22 09:16:32] local.INFO: Packet analysis {"connection_id":50345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:16:32] local.INFO: Extracted packet for processing {"connection_id":50345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db347"} 
[2026-04-22 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":13,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868215808001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028294957926400,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16: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-22 09:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776829270000,"timestamp_ms":1776829270000,"timestamp_seconds":1776829270,"priority":1,"record_length":96,"hex_timestamp":"0000019db34707f0"} 
[2026-04-22 09: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-22 09:16: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-22 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 09:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:16: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-22 09:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868215808001,"66":26039,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9194028294957926400},"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-22 09:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868215808001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:16:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028294957926400,"description":"Unknown IO ID 45"} 
[2026-04-22 09:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868215808001,"power":26039,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194028294957926400}} 
[2026-04-22 09:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":50345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:16:32] local.INFO: GPS data processed {"connection_id":50345,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:16:32] local.INFO: Acknowledgment sent {"connection_id":50345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:16:38] local.INFO: TCP Data received {"connection_id":51022,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3490f78012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3490f78012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:16:38] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3490f78012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:16:38] local.INFO: Packet analysis {"connection_id":51022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db349"} 
[2026-04-22 09:16:38] local.INFO: Extracted packet for processing {"connection_id":51022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db349"} 
[2026-04-22 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868321792001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776829403000,"timestamp_ms":1776829403000,"timestamp_seconds":1776829403,"priority":1,"record_length":96,"hex_timestamp":"0000019db3490f78"} 
[2026-04-22 09:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 09:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868321792001,"66":12406,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868321792001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:16:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:16:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868321792001,"power":12406,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":51022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:16:38] local.INFO: GPS data processed {"connection_id":51022,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:16:38] local.INFO: Acknowledgment sent {"connection_id":51022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:16:56] local.INFO: TCP Data received {"connection_id":50475,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:16:56] local.INFO: Processing buffer {"connection_id":50475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:16:56] local.INFO: IMEI packet received {"connection_id":50475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":50475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:17:02] local.INFO: TCP Data received {"connection_id":50475,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:17:02] local.INFO: Processing buffer {"connection_id":50475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:17:02] local.INFO: IMEI packet received {"connection_id":50475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":50475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:17:03] local.INFO: TCP Data received {"connection_id":50345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:17:03] local.INFO: Processing buffer {"connection_id":50345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:17:03] local.INFO: Packet analysis {"connection_id":50345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:17:03] local.INFO: Extracted packet for processing {"connection_id":50345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17: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-22 09:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 09:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:17:03] 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-22 09:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:17: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-22 09:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:17:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":50345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:17:03] local.INFO: GPS data processed {"connection_id":50345,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:17:03] local.INFO: Acknowledgment sent {"connection_id":50345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:17:05] local.INFO: TCP Data received {"connection_id":50475,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3496180012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3496180012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:17:05] local.INFO: Processing buffer {"connection_id":50475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3496180012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:17:05] local.INFO: Packet analysis {"connection_id":50475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db349"} 
[2026-04-22 09:17:05] local.INFO: Extracted packet for processing {"connection_id":50475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db349"} 
[2026-04-22 09:17:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 09:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868327168001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776829424000,"timestamp_ms":1776829424000,"timestamp_seconds":1776829424,"priority":1,"record_length":96,"hex_timestamp":"0000019db3496180"} 
[2026-04-22 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-22 09:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 09:17:05] 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-22 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-22 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-22 09:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868327168001,"66":12428,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868327168001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:17:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868327168001,"power":12428,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":50475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:17:05] local.INFO: GPS data processed {"connection_id":50475,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:17:05] local.INFO: Acknowledgment sent {"connection_id":50475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:17:26] local.INFO: TCP Data received {"connection_id":50476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:17:26] local.INFO: Processing buffer {"connection_id":50476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:17:26] local.INFO: IMEI packet received {"connection_id":50476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":50476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:17:32] local.INFO: TCP Data received {"connection_id":50476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:17:32] local.INFO: Processing buffer {"connection_id":50476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:17:32] local.INFO: IMEI packet received {"connection_id":50476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:17:33] local.INFO: TCP Data received {"connection_id":50476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:17:33] local.INFO: Processing buffer {"connection_id":50476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:17:33] local.INFO: Packet analysis {"connection_id":50476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:17:33] local.INFO: Extracted packet for processing {"connection_id":50476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:33] 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-22 09:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 09: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-22 09: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-22 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:17: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-22 09: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-22 09: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-22 09:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:17: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-22 09:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:17:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:17:33] local.INFO: GPS data processed {"connection_id":50476,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:17:33] local.INFO: Acknowledgment sent {"connection_id":50476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:17:38] local.INFO: TCP Data received {"connection_id":50475,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db349b388012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db349b388012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:17:38] local.INFO: Processing buffer {"connection_id":50475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db349b388012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:17:38] local.INFO: Packet analysis {"connection_id":50475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db349"} 
[2026-04-22 09:17:38] local.INFO: Extracted packet for processing {"connection_id":50475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db349"} 
[2026-04-22 09:17:38] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868332544001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776829445000,"timestamp_ms":1776829445000,"timestamp_seconds":1776829445,"priority":1,"record_length":96,"hex_timestamp":"0000019db349b388"} 
[2026-04-22 09:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:17:38] 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-22 09:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 09:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868332544001,"66":12406,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868332544001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:17:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:17:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868332544001,"power":12406,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":50475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:17:38] local.INFO: GPS data processed {"connection_id":50475,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:17:38] local.INFO: Acknowledgment sent {"connection_id":50475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:17:56] local.INFO: TCP Data received {"connection_id":50477,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:17:56] local.INFO: Processing buffer {"connection_id":50477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:17:56] local.INFO: IMEI packet received {"connection_id":50477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":50477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:18:02] local.INFO: TCP Data received {"connection_id":50477,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:18:02] local.INFO: Processing buffer {"connection_id":50477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:18:02] local.INFO: IMEI packet received {"connection_id":50477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":50477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:18:04] local.INFO: TCP Data received {"connection_id":50477,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34a0590012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34a0590012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:18:04] local.INFO: Processing buffer {"connection_id":50477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34a0590012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:18:04] local.INFO: Packet analysis {"connection_id":50477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34a"} 
[2026-04-22 09:18:04] local.INFO: Extracted packet for processing {"connection_id":50477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34a"} 
[2026-04-22 09:18:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868337920001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776829466000,"timestamp_ms":1776829466000,"timestamp_seconds":1776829466,"priority":1,"record_length":96,"hex_timestamp":"0000019db34a0590"} 
[2026-04-22 09:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:18:04] 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-22 09:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 09:18:04] 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-22 09:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868337920001,"66":12406,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868337920001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:18:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868337920001,"power":12406,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:18:04] local.INFO: GPS data processed {"connection_id":50477,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:18:04] local.INFO: Acknowledgment sent {"connection_id":50477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:18:04] local.INFO: TCP Data received {"connection_id":50476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:18:04] local.INFO: Processing buffer {"connection_id":50476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:18:04] local.INFO: Packet analysis {"connection_id":50476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:18:04] local.INFO: Extracted packet for processing {"connection_id":50476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18: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-22 09:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 09:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:18:04] 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-22 09:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:18: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-22 09:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:18:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:18:04] local.INFO: GPS data processed {"connection_id":50476,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:18:04] local.INFO: Acknowledgment sent {"connection_id":50476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:18:26] local.INFO: TCP Data received {"connection_id":50346,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:18:26] local.INFO: Processing buffer {"connection_id":50346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:18:26] local.INFO: IMEI packet received {"connection_id":50346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":50346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:18:32] local.INFO: TCP Data received {"connection_id":50346,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:18:32] local.INFO: Processing buffer {"connection_id":50346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:18:32] local.INFO: IMEI packet received {"connection_id":50346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:18:32] local.INFO: TCP Data received {"connection_id":50346,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:18:32] local.INFO: Processing buffer {"connection_id":50346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:18:32] local.INFO: Packet analysis {"connection_id":50346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:18:32] local.INFO: Extracted packet for processing {"connection_id":50346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18: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-22 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 09:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:18: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-22 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:18: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-22 09:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:18: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-22 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:18:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":50346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:18:32] local.INFO: GPS data processed {"connection_id":50346,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:18:32] local.INFO: Acknowledgment sent {"connection_id":50346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:18:37] local.INFO: TCP Data received {"connection_id":50477,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34a5798012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34a5798012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:18:37] local.INFO: Processing buffer {"connection_id":50477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34a5798012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:18:37] local.INFO: Packet analysis {"connection_id":50477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34a"} 
[2026-04-22 09:18:37] local.INFO: Extracted packet for processing {"connection_id":50477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34a"} 
[2026-04-22 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868343296001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776829487000,"timestamp_ms":1776829487000,"timestamp_seconds":1776829487,"priority":1,"record_length":96,"hex_timestamp":"0000019db34a5798"} 
[2026-04-22 09:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 09:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868343296001,"66":12406,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868343296001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:18:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868343296001,"power":12406,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":50477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:18:37] local.INFO: GPS data processed {"connection_id":50477,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:18:37] local.INFO: Acknowledgment sent {"connection_id":50477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:19:02] local.INFO: TCP Data received {"connection_id":51023,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:02] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:02] local.INFO: IMEI packet received {"connection_id":51023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":51023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:19:05] local.INFO: TCP Data received {"connection_id":50346,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:19:05] local.INFO: Processing buffer {"connection_id":50346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:19:05] local.INFO: Packet analysis {"connection_id":50346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:19:05] local.INFO: Extracted packet for processing {"connection_id":50346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 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-22 09:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:05] 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-22 09:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 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-22 09:19: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-22 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:19:05] 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-22 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-22 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-22 09:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:19: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-22 09:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:19:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":50346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:19:05] local.INFO: GPS data processed {"connection_id":50346,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:19:05] local.INFO: Acknowledgment sent {"connection_id":50346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:19:06] local.INFO: TCP Data received {"connection_id":51023,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:06] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:06] local.INFO: IMEI packet received {"connection_id":51023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":51023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:19:11] local.INFO: TCP Data received {"connection_id":51023,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34aa9a0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34aa9a0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:19:11] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34aa9a0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:19:11] local.INFO: Packet analysis {"connection_id":51023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34a"} 
[2026-04-22 09:19:11] local.INFO: Extracted packet for processing {"connection_id":51023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34a"} 
[2026-04-22 09:19:11] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868348672001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776829508000,"timestamp_ms":1776829508000,"timestamp_seconds":1776829508,"priority":1,"record_length":96,"hex_timestamp":"0000019db34aa9a0"} 
[2026-04-22 09: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-22 09:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 09:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":51023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":51023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":51023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868348672001,"66":12406,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868348672001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:19:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868348672001,"power":12406,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":51023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:19:11] local.INFO: GPS data processed {"connection_id":51023,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:19:11] local.INFO: Acknowledgment sent {"connection_id":51023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:19:15] local.INFO: TCP Data received {"connection_id":51023,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34afba8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34afba8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:19:15] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34afba8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:19:15] local.INFO: Packet analysis {"connection_id":51023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34a"} 
[2026-04-22 09:19:15] local.INFO: Extracted packet for processing {"connection_id":51023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34a"} 
[2026-04-22 09:19:15] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868354048001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776829529000,"timestamp_ms":1776829529000,"timestamp_seconds":1776829529,"priority":1,"record_length":96,"hex_timestamp":"0000019db34afba8"} 
[2026-04-22 09:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:19:15] 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-22 09:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 09:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":51023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":51023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":51023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868354048001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868354048001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:19:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868354048001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":51023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:19:15] local.INFO: GPS data processed {"connection_id":51023,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:19:15] local.INFO: Acknowledgment sent {"connection_id":51023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:19:21] local.INFO: TCP Data received {"connection_id":50092,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:19:21] local.INFO: Processing buffer {"connection_id":50092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:19:21] local.INFO: IMEI packet received {"connection_id":50092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":50092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:19:27] local.INFO: TCP Data received {"connection_id":50093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:19:27] local.INFO: Processing buffer {"connection_id":50093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:19:27] local.INFO: IMEI packet received {"connection_id":50093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:19:32] local.INFO: TCP Data received {"connection_id":50093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:19:32] local.INFO: Processing buffer {"connection_id":50093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:19:32] local.INFO: IMEI packet received {"connection_id":50093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:19:33] local.INFO: TCP Data received {"connection_id":50093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:19:33] local.INFO: Processing buffer {"connection_id":50093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:19:33] local.INFO: Packet analysis {"connection_id":50093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:19:33] local.INFO: Extracted packet for processing {"connection_id":50093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:19:33] 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-22 09:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 09: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-22 09: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-22 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:19: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-22 09: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-22 09: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-22 09:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:19: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-22 09:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:19:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:19:33] local.INFO: GPS data processed {"connection_id":50093,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:19:33] local.INFO: Acknowledgment sent {"connection_id":50093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:19:51] local.INFO: TCP Data received {"connection_id":50347,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:19:51] local.INFO: Processing buffer {"connection_id":50347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:19:51] local.INFO: IMEI packet received {"connection_id":50347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":50347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:19:57] local.INFO: TCP Data received {"connection_id":50348,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:57] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:57] local.INFO: IMEI packet received {"connection_id":50348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":50348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:19:59] local.INFO: TCP Data received {"connection_id":50348,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:59] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:19:59] local.INFO: IMEI packet received {"connection_id":50348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":50348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:20:02] local.INFO: TCP Data received {"connection_id":50348,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:20:02] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:20:02] local.INFO: IMEI packet received {"connection_id":50348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":50348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:20:04] local.INFO: TCP Data received {"connection_id":50093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:20:04] local.INFO: Processing buffer {"connection_id":50093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:20:04] local.INFO: Packet analysis {"connection_id":50093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:04] local.INFO: Extracted packet for processing {"connection_id":50093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20: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-22 09:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 09: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-22 09:20: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-22 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:20:04] 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-22 09: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-22 09: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-22 09:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:20: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-22 09:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:20:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:20:04] local.INFO: GPS data processed {"connection_id":50093,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:20:04] local.INFO: Acknowledgment sent {"connection_id":50093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:20:05] local.INFO: TCP Data received {"connection_id":50348,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b4db0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b4db0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:20:05] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b4db0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:20:05] local.INFO: Packet analysis {"connection_id":50348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:05] local.INFO: Extracted packet for processing {"connection_id":50348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868359424001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776829550000,"timestamp_ms":1776829550000,"timestamp_seconds":1776829550,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b4db0"} 
[2026-04-22 09: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-22 09:20:05] 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-22 09:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868359424001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868359424001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:20:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868359424001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":50348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:20:06] local.INFO: GPS data processed {"connection_id":50348,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:20:06] local.INFO: Acknowledgment sent {"connection_id":50348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:20:09] local.INFO: TCP Data received {"connection_id":50348,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:20:09] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:20:09] local.INFO: Packet analysis {"connection_id":50348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:09] local.INFO: Extracted packet for processing {"connection_id":50348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868364800001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 09:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:20:09] 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-22 09:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:20:09] 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-22 09:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868364800001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868364800001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:20:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868364800001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":50348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:20:09] local.INFO: GPS data processed {"connection_id":50348,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:20:09] local.INFO: Acknowledgment sent {"connection_id":50348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:20:27] local.INFO: TCP Data received {"connection_id":51024,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:20:27] local.INFO: Processing buffer {"connection_id":51024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:20:27] local.INFO: IMEI packet received {"connection_id":51024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":51024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:20:32] local.INFO: TCP Data received {"connection_id":51024,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:20:32] local.INFO: Processing buffer {"connection_id":51024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:20:32] local.INFO: IMEI packet received {"connection_id":51024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":51024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:20:32] local.INFO: TCP Data received {"connection_id":51024,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:20:32] local.INFO: Processing buffer {"connection_id":51024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:20:32] local.INFO: Packet analysis {"connection_id":51024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:32] local.INFO: Extracted packet for processing {"connection_id":51024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 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-22 09:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20: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-22 09:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 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-22 09:20: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-22 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:20: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-22 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-22 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-22 09:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:20: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-22 09:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:20:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":51024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:20:32] local.INFO: GPS data processed {"connection_id":51024,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:20:32] local.INFO: Acknowledgment sent {"connection_id":51024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:20:43] local.INFO: TCP Data received {"connection_id":50348,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34bf1c0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34bf1c0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:20:43] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34bf1c0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:20:43] local.INFO: Packet analysis {"connection_id":50348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:43] local.INFO: Extracted packet for processing {"connection_id":50348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:20:43] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776829592000,"timestamp_ms":1776829592000,"timestamp_seconds":1776829592,"priority":1,"record_length":96,"hex_timestamp":"0000019db34bf1c0"} 
[2026-04-22 09:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:20:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:20:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":50348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:20:43] local.INFO: GPS data processed {"connection_id":50348,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:20:43] local.INFO: Acknowledgment sent {"connection_id":50348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:20:56] local.INFO: TCP Data received {"connection_id":51026,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:20:56] local.INFO: Processing buffer {"connection_id":51026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:20:56] local.INFO: IMEI packet received {"connection_id":51026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":51026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:21:01] local.INFO: TCP Data received {"connection_id":51026,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:21:01] local.INFO: Processing buffer {"connection_id":51026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:21:01] local.INFO: IMEI packet received {"connection_id":51026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":51026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:21:02] local.INFO: TCP Data received {"connection_id":51026,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34c43c8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34c43c8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:21:02] local.INFO: Processing buffer {"connection_id":51026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34c43c8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:21:02] local.INFO: Packet analysis {"connection_id":51026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34c"} 
[2026-04-22 09:21:02] local.INFO: Extracted packet for processing {"connection_id":51026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34c"} 
[2026-04-22 09:21:02] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868375552001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776829613000,"timestamp_ms":1776829613000,"timestamp_seconds":1776829613,"priority":1,"record_length":96,"hex_timestamp":"0000019db34c43c8"} 
[2026-04-22 09: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-22 09:21:02] 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-22 09: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:21:02] 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-22 09: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-22 09: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-22 09:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868375552001,"66":12341,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868375552001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:21:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868375552001,"power":12341,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":51026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:21:02] local.INFO: GPS data processed {"connection_id":51026,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:21:02] local.INFO: Acknowledgment sent {"connection_id":51026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:21:04] local.INFO: TCP Data received {"connection_id":51024,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:21:04] local.INFO: Processing buffer {"connection_id":51024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:21:04] local.INFO: Packet analysis {"connection_id":51024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:21:04] local.INFO: Extracted packet for processing {"connection_id":51024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:21: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-22 09:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 09: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-22 09:21: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-22 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:21:04] 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-22 09: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-22 09: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-22 09:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:21: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-22 09:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:21:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:21:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":51024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:21:04] local.INFO: GPS data processed {"connection_id":51024,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:21:04] local.INFO: Acknowledgment sent {"connection_id":51024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:21:27] local.INFO: TCP Data received {"connection_id":50094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:21:27] local.INFO: Processing buffer {"connection_id":50094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:21:27] local.INFO: IMEI packet received {"connection_id":50094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:21:32] local.INFO: TCP Data received {"connection_id":50094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:21:32] local.INFO: Processing buffer {"connection_id":50094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:21:32] local.INFO: IMEI packet received {"connection_id":50094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:21:32] local.INFO: TCP Data received {"connection_id":50094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:21:32] local.INFO: Processing buffer {"connection_id":50094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34b9fb8012d7f92c005afda48000c009128..."} 
[2026-04-22 09:21:32] local.INFO: Packet analysis {"connection_id":50094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:21:32] local.INFO: Extracted packet for processing {"connection_id":50094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34b"} 
[2026-04-22 09:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 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-22 09:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868293120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:21: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-22 09:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776829571000,"timestamp_ms":1776829571000,"timestamp_seconds":1776829571,"priority":1,"record_length":96,"hex_timestamp":"0000019db34b9fb8"} 
[2026-04-22 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-22 09:21: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-22 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-22 09:21: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-22 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-22 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-22 09:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:21: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-22 09:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868293120001,"66":25843,"250":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868293120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:21:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868293120001,"power":25843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":50094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:21:33] local.INFO: GPS data processed {"connection_id":50094,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:21:33] local.INFO: Acknowledgment sent {"connection_id":50094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:21:34] local.INFO: TCP Data received {"connection_id":51026,"ip":"117.225.252.230","data_length":93,"data_hex":"00000000000000518e010000019db34c95d0012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51026,"packet_length":93,"packet_hex":"00000000000000518e010000019db34c95d0012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:21:34] local.INFO: Processing buffer {"connection_id":51026,"buffer_length":93,"buffer_hex":"00000000000000518e010000019db34c95d0012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:21:34] local.INFO: Packet analysis {"connection_id":51026,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019db34c"} 
[2026-04-22 09:21:34] local.INFO: Extracted packet for processing {"connection_id":51026,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019db34c"} 
[2026-04-22 09:21:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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":93,"current_offset":40} 
[2026-04-22 09:21:34] 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-22 09:21:34] 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-22 09:21:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:21:34] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 09:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51026,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-22 09:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51026,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-22 09:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51026,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-22 09:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 09:21:34] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 09:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":51026,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 09:21:34] local.ERROR: GPS data processing failed {"connection_id":51026,"error":"No valid data to process"} 
[2026-04-22 09:21:34] local.INFO: Acknowledgment sent {"connection_id":51026,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 09:21:56] local.INFO: TCP Data received {"connection_id":51027,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:21:56] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:21:56] local.INFO: IMEI packet received {"connection_id":51027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":51027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:22:02] local.INFO: TCP Data received {"connection_id":51027,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:22:02] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:22:02] local.INFO: IMEI packet received {"connection_id":51027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":51027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:22:04] local.INFO: TCP Data received {"connection_id":50094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:22:04] local.INFO: Processing buffer {"connection_id":50094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:22:04] local.INFO: Packet analysis {"connection_id":50094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:22:04] local.INFO: Extracted packet for processing {"connection_id":50094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22: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-22 09:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:22: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-22 09:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:22: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-22 09:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:22:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":50094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:22:04] local.INFO: GPS data processed {"connection_id":50094,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:22:04] local.INFO: Acknowledgment sent {"connection_id":50094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:22:05] local.INFO: TCP Data received {"connection_id":51027,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34ce7d8012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34ce7d8012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:22:05] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34ce7d8012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:22:05] local.INFO: Packet analysis {"connection_id":51027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34c"} 
[2026-04-22 09:22:05] local.INFO: Extracted packet for processing {"connection_id":51027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34c"} 
[2026-04-22 09:22:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 09:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868386304001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776829655000,"timestamp_ms":1776829655000,"timestamp_seconds":1776829655,"priority":1,"record_length":96,"hex_timestamp":"0000019db34ce7d8"} 
[2026-04-22 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-22 09:22:05] 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-22 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 09:22:05] 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-22 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-22 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-22 09:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868386304001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868386304001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:22:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868386304001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":51027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:22:05] local.INFO: GPS data processed {"connection_id":51027,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:22:05] local.INFO: Acknowledgment sent {"connection_id":51027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:22:26] local.INFO: TCP Data received {"connection_id":50350,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:22:26] local.INFO: Processing buffer {"connection_id":50350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:22:26] local.INFO: IMEI packet received {"connection_id":50350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":50350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:22:32] local.INFO: TCP Data received {"connection_id":50350,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:22:32] local.INFO: Processing buffer {"connection_id":50350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:22:32] local.INFO: IMEI packet received {"connection_id":50350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:22:32] local.INFO: TCP Data received {"connection_id":50350,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:22:32] local.INFO: Processing buffer {"connection_id":50350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:22:32] local.INFO: Packet analysis {"connection_id":50350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:22:32] local.INFO: Extracted packet for processing {"connection_id":50350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:32] 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-22 09:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09: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-22 09: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-22 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:22: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-22 09:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":50350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:22:32] local.INFO: GPS data processed {"connection_id":50350,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:22:32] local.INFO: Acknowledgment sent {"connection_id":50350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:22:36] local.INFO: TCP Data received {"connection_id":51027,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34d39e0012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34d39e0012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:22:36] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34d39e0012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:22:36] local.INFO: Packet analysis {"connection_id":51027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34d"} 
[2026-04-22 09:22:36] local.INFO: Extracted packet for processing {"connection_id":51027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34d"} 
[2026-04-22 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868391680001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776829676000,"timestamp_ms":1776829676000,"timestamp_seconds":1776829676,"priority":1,"record_length":96,"hex_timestamp":"0000019db34d39e0"} 
[2026-04-22 09: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-22 09:22:36] 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-22 09: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:22: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-22 09: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-22 09: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-22 09:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868391680001,"66":12385,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868391680001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:22:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868391680001,"power":12385,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":51027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:22:36] local.INFO: GPS data processed {"connection_id":51027,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:22:36] local.INFO: Acknowledgment sent {"connection_id":51027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:22:56] local.INFO: TCP Data received {"connection_id":51028,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:22:56] local.INFO: Processing buffer {"connection_id":51028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:22:56] local.INFO: IMEI packet received {"connection_id":51028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":51028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:23:02] local.INFO: TCP Data received {"connection_id":51028,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:23:02] local.INFO: Processing buffer {"connection_id":51028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:23:02] local.INFO: IMEI packet received {"connection_id":51028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":51028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:23:03] local.INFO: TCP Data received {"connection_id":51028,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db34d8be8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db34d8be8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:23:03] local.INFO: Processing buffer {"connection_id":51028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db34d8be8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:23:03] local.INFO: Packet analysis {"connection_id":51028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db34d"} 
[2026-04-22 09:23:03] local.INFO: Extracted packet for processing {"connection_id":51028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db34d"} 
[2026-04-22 09:23:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868397056001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776829697000,"timestamp_ms":1776829697000,"timestamp_seconds":1776829697,"priority":1,"record_length":96,"hex_timestamp":"0000019db34d8be8"} 
[2026-04-22 09:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:23:03] 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-22 09:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 09:23:03] 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-22 09:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868397056001,"66":12341,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868397056001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:23:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868397056001,"power":12341,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":51028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:23:03] local.INFO: GPS data processed {"connection_id":51028,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:23:03] local.INFO: Acknowledgment sent {"connection_id":51028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:23:03] local.INFO: TCP Data received {"connection_id":50350,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:23:03] local.INFO: Processing buffer {"connection_id":50350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:23:03] local.INFO: Packet analysis {"connection_id":50350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:23:03] local.INFO: Extracted packet for processing {"connection_id":50350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23: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-22 09:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:23: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-22 09:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:23: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-22 09:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:23:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":50350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:23:03] local.INFO: GPS data processed {"connection_id":50350,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:23:03] local.INFO: Acknowledgment sent {"connection_id":50350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:23:32] local.INFO: TCP Data received {"connection_id":50478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:23:32] local.INFO: Processing buffer {"connection_id":50478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:23:32] local.INFO: IMEI packet received {"connection_id":50478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:23:34] local.INFO: TCP Data received {"connection_id":51028,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3511240012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3511240012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:23:34] local.INFO: Processing buffer {"connection_id":51028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3511240012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:23:34] local.INFO: Packet analysis {"connection_id":51028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db351"} 
[2026-04-22 09:23:34] local.INFO: Extracted packet for processing {"connection_id":51028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db351"} 
[2026-04-22 09:23:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868456192001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776829928000,"timestamp_ms":1776829928000,"timestamp_seconds":1776829928,"priority":1,"record_length":96,"hex_timestamp":"0000019db3511240"} 
[2026-04-22 09:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:23:34] 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-22 09:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868456192001,"66":12363,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868456192001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:23:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:23:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868456192001,"power":12363,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":51028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:23:35] local.INFO: GPS data processed {"connection_id":51028,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:23:35] local.INFO: Acknowledgment sent {"connection_id":51028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:23:41] local.INFO: TCP Data received {"connection_id":50478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:23:41] local.INFO: Processing buffer {"connection_id":50478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:23:41] local.INFO: IMEI packet received {"connection_id":50478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":50478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:23:42] local.INFO: TCP Data received {"connection_id":50478,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:23:42] local.INFO: Processing buffer {"connection_id":50478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:23:42] local.INFO: Packet analysis {"connection_id":50478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:23:42] local.INFO: Extracted packet for processing {"connection_id":50478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:42] 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-22 09:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":50478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:23:42] local.INFO: GPS data processed {"connection_id":50478,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:23:42] local.INFO: Acknowledgment sent {"connection_id":50478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:23:42] local.INFO: TCP Data received {"connection_id":50478,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:23:43] local.INFO: Processing buffer {"connection_id":50478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:23:43] local.INFO: Packet analysis {"connection_id":50478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:23:43] local.INFO: Extracted packet for processing {"connection_id":50478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:23:43] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:23:43] 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-22 09:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":50478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:23:43] local.INFO: GPS data processed {"connection_id":50478,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:23:43] local.INFO: Acknowledgment sent {"connection_id":50478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:24:02] local.INFO: TCP Data received {"connection_id":50096,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:24:02] local.INFO: Processing buffer {"connection_id":50096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:24:02] local.INFO: IMEI packet received {"connection_id":50096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":50096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:24:07] local.INFO: TCP Data received {"connection_id":50096,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:24:07] local.INFO: Processing buffer {"connection_id":50096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:24:07] local.INFO: IMEI packet received {"connection_id":50096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":50096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:24:11] local.INFO: TCP Data received {"connection_id":50096,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3516448012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3516448012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:24:11] local.INFO: Processing buffer {"connection_id":50096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3516448012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:24:11] local.INFO: Packet analysis {"connection_id":50096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db351"} 
[2026-04-22 09:24:11] local.INFO: Extracted packet for processing {"connection_id":50096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db351"} 
[2026-04-22 09:24:11] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868461568001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776829949000,"timestamp_ms":1776829949000,"timestamp_seconds":1776829949,"priority":1,"record_length":96,"hex_timestamp":"0000019db3516448"} 
[2026-04-22 09: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-22 09:24:11] 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-22 09:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 09:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868461568001,"66":12319,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868461568001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:24:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868461568001,"power":12319,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":50096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:24:11] local.INFO: GPS data processed {"connection_id":50096,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:24:11] local.INFO: Acknowledgment sent {"connection_id":50096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:24:20] local.INFO: TCP Data received {"connection_id":50096,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db351b650012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db351b650012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:24:20] local.INFO: Processing buffer {"connection_id":50096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db351b650012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:24:20] local.INFO: Packet analysis {"connection_id":50096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db351"} 
[2026-04-22 09:24:20] local.INFO: Extracted packet for processing {"connection_id":50096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db351"} 
[2026-04-22 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868466944001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776829970000,"timestamp_ms":1776829970000,"timestamp_seconds":1776829970,"priority":1,"record_length":96,"hex_timestamp":"0000019db351b650"} 
[2026-04-22 09: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-22 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:24:20] 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-22 09: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-22 09: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-22 09:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868466944001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868466944001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:24:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868466944001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":50096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:24:20] local.INFO: GPS data processed {"connection_id":50096,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:24:20] local.INFO: Acknowledgment sent {"connection_id":50096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:24:27] local.INFO: TCP Data received {"connection_id":51029,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:24:27] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:24:27] local.INFO: IMEI packet received {"connection_id":51029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":51029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:24:32] local.INFO: TCP Data received {"connection_id":51029,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:24:32] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:24:32] local.INFO: IMEI packet received {"connection_id":51029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":51029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:24:32] local.INFO: TCP Data received {"connection_id":51029,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:24:32] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:24:32] local.INFO: Packet analysis {"connection_id":51029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:24:32] local.INFO: Extracted packet for processing {"connection_id":51029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:24:32] 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-22 09:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09: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-22 09:24: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-22 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09: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-22 09:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:24:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":51029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:24:33] local.INFO: GPS data processed {"connection_id":51029,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:24:33] local.INFO: Acknowledgment sent {"connection_id":51029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:24:57] local.INFO: TCP Data received {"connection_id":51031,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:24:57] local.INFO: Processing buffer {"connection_id":51031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:24:57] local.INFO: IMEI packet received {"connection_id":51031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":51031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:25:01] local.INFO: TCP Data received {"connection_id":51031,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:25:01] local.INFO: Processing buffer {"connection_id":51031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:25:01] local.INFO: IMEI packet received {"connection_id":51031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":51031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:25:04] local.INFO: TCP Data received {"connection_id":51029,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:25:04] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:25:04] local.INFO: Packet analysis {"connection_id":51029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:25:04] local.INFO: Extracted packet for processing {"connection_id":51029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25: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-22 09:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09: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-22 09:25: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-22 09: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":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09: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-22 09:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":51029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:25:04] local.INFO: GPS data processed {"connection_id":51029,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:25:04] local.INFO: Acknowledgment sent {"connection_id":51029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:25:04] local.INFO: TCP Data received {"connection_id":51031,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3520858012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3520858012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:25:04] local.INFO: Processing buffer {"connection_id":51031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3520858012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:25:04] local.INFO: Packet analysis {"connection_id":51031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db352"} 
[2026-04-22 09:25:04] local.INFO: Extracted packet for processing {"connection_id":51031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db352"} 
[2026-04-22 09:25:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868472320001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776829991000,"timestamp_ms":1776829991000,"timestamp_seconds":1776829991,"priority":1,"record_length":96,"hex_timestamp":"0000019db3520858"} 
[2026-04-22 09: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-22 09:25:04] 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-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5526066173266037007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95745472546734080,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468713783502,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:25:04] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,96,2,24,241,158,16,7,157,100,44,192,78,12,40,10,66,18,1,240,86,179,29,4,113,205,28,239,48,148,39],"length":534,"final_offset":664,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:25:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065138502238208,"timestamp_seconds":865065138502238.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868472320001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868472320001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:25:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868472320001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":51031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:25:04] local.INFO: GPS data processed {"connection_id":51031,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:25:04] local.INFO: Acknowledgment sent {"connection_id":51031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:25:06] local.INFO: TCP Data received {"connection_id":51030,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:25:06] local.INFO: Processing buffer {"connection_id":51030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:25:06] local.INFO: IMEI packet received {"connection_id":51030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":51030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:25:27] local.INFO: TCP Data received {"connection_id":50479,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:25:27] local.INFO: Processing buffer {"connection_id":50479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:25:27] local.INFO: IMEI packet received {"connection_id":50479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:25:32] local.INFO: TCP Data received {"connection_id":50479,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:25:32] local.INFO: Processing buffer {"connection_id":50479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:25:32] local.INFO: IMEI packet received {"connection_id":50479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:25:32] local.INFO: TCP Data received {"connection_id":50479,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:25:32] local.INFO: Processing buffer {"connection_id":50479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:25:32] local.INFO: Packet analysis {"connection_id":50479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:25:32] local.INFO: Extracted packet for processing {"connection_id":50479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:32] 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-22 09:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09: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-22 09:25: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-22 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09: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-22 09:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":50479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:25:32] local.INFO: GPS data processed {"connection_id":50479,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:25:32] local.INFO: Acknowledgment sent {"connection_id":50479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:25:37] local.INFO: TCP Data received {"connection_id":51031,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3525a60012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3525a60012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:25:37] local.INFO: Processing buffer {"connection_id":51031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3525a60012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:25:37] local.INFO: Packet analysis {"connection_id":51031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db352"} 
[2026-04-22 09:25:37] local.INFO: Extracted packet for processing {"connection_id":51031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db352"} 
[2026-04-22 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868477696001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776830012000,"timestamp_ms":1776830012000,"timestamp_seconds":1776830012,"priority":1,"record_length":96,"hex_timestamp":"0000019db3525a60"} 
[2026-04-22 09: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-22 09:25:37] 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-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5525980273920117007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95745472546734080,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468713783502,"note":"Value kept but may cause issues"} 
[2026-04-22 09:25:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:25:37] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,96,2,24,241,158,16,7,157,182,44,192,78,12,41,10,66,100,40,18,1,240,75,179,29,4,113,205,110,239,48,148],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:25:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065134207270912,"timestamp_seconds":865065134207270.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868477696001,"66":12374,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868477696001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:25:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868477696001,"power":12374,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":51031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:25:37] local.INFO: GPS data processed {"connection_id":51031,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:25:37] local.INFO: Acknowledgment sent {"connection_id":51031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:25:51] local.INFO: TCP Data received {"connection_id":50352,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:25:51] local.INFO: Processing buffer {"connection_id":50352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:25:51] local.INFO: IMEI packet received {"connection_id":50352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":50352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:25:55] local.INFO: TCP Data received {"connection_id":50353,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:25:55] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:25:55] local.INFO: IMEI packet received {"connection_id":50353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":50353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:25:56] local.INFO: TCP Data received {"connection_id":50353,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:25:56] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:25:56] local.INFO: IMEI packet received {"connection_id":50353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":50353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:26:02] local.INFO: TCP Data received {"connection_id":50353,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:26:02] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:26:02] local.INFO: IMEI packet received {"connection_id":50353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":50353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:26:03] local.INFO: TCP Data received {"connection_id":50353,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db352ac68012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db352ac68012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:26:03] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db352ac68012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:26:03] local.INFO: Packet analysis {"connection_id":50353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db352"} 
[2026-04-22 09:26:03] local.INFO: Extracted packet for processing {"connection_id":50353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db352"} 
[2026-04-22 09:26:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868483072001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776830033000,"timestamp_ms":1776830033000,"timestamp_seconds":1776830033,"priority":1,"record_length":96,"hex_timestamp":"0000019db352ac68"} 
[2026-04-22 09: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-22 09:26:03] 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-22 09: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:26:03] 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-22 09: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-22 09: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-22 09:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868483072001,"66":12374,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868483072001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:26:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868483072001,"power":12374,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":50353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:26:03] local.INFO: GPS data processed {"connection_id":50353,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:26:03] local.INFO: Acknowledgment sent {"connection_id":50353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:26:03] local.INFO: TCP Data received {"connection_id":50479,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:26:03] local.INFO: Processing buffer {"connection_id":50479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:26:03] local.INFO: Packet analysis {"connection_id":50479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:26:03] local.INFO: Extracted packet for processing {"connection_id":50479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26: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-22 09:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09: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-22 09:26: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-22 09:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:26: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-22 09:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":50479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:26:03] local.INFO: GPS data processed {"connection_id":50479,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:26:03] local.INFO: Acknowledgment sent {"connection_id":50479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:26:28] local.INFO: TCP Data received {"connection_id":50098,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:26:28] local.INFO: Processing buffer {"connection_id":50098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:26:28] local.INFO: IMEI packet received {"connection_id":50098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":50098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:26:32] local.INFO: TCP Data received {"connection_id":50098,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:26:32] local.INFO: Processing buffer {"connection_id":50098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:26:32] local.INFO: IMEI packet received {"connection_id":50098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:26:33] local.INFO: TCP Data received {"connection_id":50098,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:26:33] local.INFO: Processing buffer {"connection_id":50098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3503780012d7f92c005afda48000b009128..."} 
[2026-04-22 09:26:33] local.INFO: Packet analysis {"connection_id":50098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:26:33] local.INFO: Extracted packet for processing {"connection_id":50098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db350"} 
[2026-04-22 09:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868370176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:33] 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-22 09:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776829872000,"timestamp_ms":1776829872000,"timestamp_seconds":1776829872,"priority":1,"record_length":96,"hex_timestamp":"0000019db3503780"} 
[2026-04-22 09: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-22 09: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-22 09: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-04-22 09:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:26: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-22 09:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868370176001,"66":25680,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868370176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:26:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868370176001,"power":25680,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:26:33] local.INFO: GPS data processed {"connection_id":50098,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:26:33] local.INFO: Acknowledgment sent {"connection_id":50098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:26:35] local.INFO: TCP Data received {"connection_id":50353,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db352fe70012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db352fe70012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:26:35] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db352fe70012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:26:35] local.INFO: Packet analysis {"connection_id":50353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db352"} 
[2026-04-22 09:26:35] local.INFO: Extracted packet for processing {"connection_id":50353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db352"} 
[2026-04-22 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868488448001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776830054000,"timestamp_ms":1776830054000,"timestamp_seconds":1776830054,"priority":1,"record_length":96,"hex_timestamp":"0000019db352fe70"} 
[2026-04-22 09:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:26:35] 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-22 09:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:26:35] 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-22 09:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868488448001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868488448001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:26:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868488448001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":50353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:26:36] local.INFO: GPS data processed {"connection_id":50353,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:26:36] local.INFO: Acknowledgment sent {"connection_id":50353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:26:57] local.INFO: TCP Data received {"connection_id":50480,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:26:57] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:26:57] local.INFO: IMEI packet received {"connection_id":50480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":50480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:26:57] local.INFO: TCP Data received {"connection_id":50480,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:26:57] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:26:57] local.INFO: IMEI packet received {"connection_id":50480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":50480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:27:02] local.INFO: TCP Data received {"connection_id":50480,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:27:02] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:27:02] local.INFO: IMEI packet received {"connection_id":50480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":50480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:27:03] local.INFO: TCP Data received {"connection_id":50480,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3535078012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3535078012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:27:03] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3535078012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:27:03] local.INFO: Packet analysis {"connection_id":50480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db353"} 
[2026-04-22 09:27:03] local.INFO: Extracted packet for processing {"connection_id":50480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db353"} 
[2026-04-22 09:27:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868493824001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776830075000,"timestamp_ms":1776830075000,"timestamp_seconds":1776830075,"priority":1,"record_length":96,"hex_timestamp":"0000019db3535078"} 
[2026-04-22 09: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-22 09:27:03] 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-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5525705396013173007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95745472546734080,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019226149070,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:27:03] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,96,2,24,241,158,16,7,157,172,44,192,78,12,42,10,66,90,8,1,240,179,29,4,113,205,100,40,239,48,148,39],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:27:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065147092172800,"timestamp_seconds":865065147092172.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868493824001,"66":12374,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868493824001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:27:03] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868493824001,"power":12374,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":50480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:27:03] local.INFO: GPS data processed {"connection_id":50480,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:27:03] local.INFO: Acknowledgment sent {"connection_id":50480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:27:04] local.INFO: TCP Data received {"connection_id":50098,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:27:04] local.INFO: Processing buffer {"connection_id":50098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:27:04] local.INFO: Packet analysis {"connection_id":50098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:27:04] local.INFO: Extracted packet for processing {"connection_id":50098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27: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-22 09:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 09:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:27: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-22 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:27: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-22 09:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"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-22 09:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:27:04] local.INFO: GPS data processed {"connection_id":50098,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:27:04] local.INFO: Acknowledgment sent {"connection_id":50098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:27:32] local.INFO: TCP Data received {"connection_id":50099,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:27:32] local.INFO: Processing buffer {"connection_id":50099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:27:32] local.INFO: IMEI packet received {"connection_id":50099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:27:37] local.INFO: TCP Data received {"connection_id":50099,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:27:37] local.INFO: Processing buffer {"connection_id":50099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:27:37] local.INFO: IMEI packet received {"connection_id":50099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":50099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:27:37] local.INFO: TCP Data received {"connection_id":50099,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:27:37] local.INFO: Processing buffer {"connection_id":50099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:27:37] local.INFO: Packet analysis {"connection_id":50099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:27:37] local.INFO: Extracted packet for processing {"connection_id":50099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:37] 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-22 09:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 09: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-22 09:27: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-22 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09: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-22 09: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-22 09:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":50099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:27:37] local.INFO: GPS data processed {"connection_id":50099,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:27:37] local.INFO: Acknowledgment sent {"connection_id":50099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:27:38] local.INFO: TCP Data received {"connection_id":50480,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db353a280012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db353a280012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:27:38] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db353a280012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:27:38] local.INFO: Packet analysis {"connection_id":50480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db353"} 
[2026-04-22 09:27:38] local.INFO: Extracted packet for processing {"connection_id":50480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db353"} 
[2026-04-22 09:27:38] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868499200001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776830096000,"timestamp_ms":1776830096000,"timestamp_seconds":1776830096,"priority":1,"record_length":96,"hex_timestamp":"0000019db353a280"} 
[2026-04-22 09:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868499200001,"66":12374,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868499200001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:27:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:27:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868499200001,"power":12374,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":50480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:27:38] local.INFO: GPS data processed {"connection_id":50480,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:27:38] local.INFO: Acknowledgment sent {"connection_id":50480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:27:42] local.INFO: TCP Data received {"connection_id":50099,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:27:42] local.INFO: Processing buffer {"connection_id":50099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:27:42] local.INFO: Packet analysis {"connection_id":50099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:27:42] local.INFO: Extracted packet for processing {"connection_id":50099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:27:42] 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-22 09:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 09:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:27:42] 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-22 09:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":50099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:27:42] local.INFO: GPS data processed {"connection_id":50099,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:27:42] local.INFO: Acknowledgment sent {"connection_id":50099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:27:56] local.INFO: TCP Data received {"connection_id":50101,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:27:56] local.INFO: Processing buffer {"connection_id":50101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:27:56] local.INFO: IMEI packet received {"connection_id":50101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":50101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:28:01] local.INFO: TCP Data received {"connection_id":50101,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:28:01] local.INFO: Processing buffer {"connection_id":50101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:28:01] local.INFO: IMEI packet received {"connection_id":50101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":50101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:28:02] local.INFO: TCP Data received {"connection_id":50101,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db353f0a0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db353f0a0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:28:02] local.INFO: Processing buffer {"connection_id":50101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db353f0a0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:28:02] local.INFO: Packet analysis {"connection_id":50101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db353"} 
[2026-04-22 09:28:02] local.INFO: Extracted packet for processing {"connection_id":50101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db353"} 
[2026-04-22 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868504576001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776830116000,"timestamp_ms":1776830116000,"timestamp_seconds":1776830116,"priority":1,"record_length":96,"hex_timestamp":"0000019db353f0a0"} 
[2026-04-22 09:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:28:02] 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-22 09:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868504576001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868504576001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:28:02] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868504576001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":50101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:28:02] local.INFO: GPS data processed {"connection_id":50101,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:28:02] local.INFO: Acknowledgment sent {"connection_id":50101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:28:27] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:28:27] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:28:27] local.INFO: IMEI packet received {"connection_id":50355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":50355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:28:32] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:28:32] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:28:32] local.INFO: IMEI packet received {"connection_id":50355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:28:33] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:28:33] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:28:33] local.INFO: Packet analysis {"connection_id":50355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:28:33] local.INFO: Extracted packet for processing {"connection_id":50355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:28:33] 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-22 09:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 09: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-22 09:28: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-22 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:28: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-22 09: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-22 09: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-22 09:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:28:33] local.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-22 09:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:28:33] local.INFO: GPS data processed {"connection_id":50355,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:28:33] local.INFO: Acknowledgment sent {"connection_id":50355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:28:33] local.INFO: TCP Data received {"connection_id":50101,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35442a8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35442a8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:28:33] local.INFO: Processing buffer {"connection_id":50101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35442a8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:28:33] local.INFO: Packet analysis {"connection_id":50101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:28:33] local.INFO: Extracted packet for processing {"connection_id":50101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868509696001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:28:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830137000,"timestamp_ms":1776830137000,"timestamp_seconds":1776830137,"priority":1,"record_length":96,"hex_timestamp":"0000019db35442a8"} 
[2026-04-22 09: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-22 09:28:33] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868509696001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868509696001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:28:34] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868509696001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":50101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:28:34] local.INFO: GPS data processed {"connection_id":50101,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:28:34] local.INFO: Acknowledgment sent {"connection_id":50101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:28:56] local.INFO: TCP Data received {"connection_id":51033,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:28:56] local.INFO: Processing buffer {"connection_id":51033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:28:56] local.INFO: IMEI packet received {"connection_id":51033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":51033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:29:02] local.INFO: TCP Data received {"connection_id":51033,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:29:02] local.INFO: Processing buffer {"connection_id":51033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:29:02] local.INFO: IMEI packet received {"connection_id":51033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":51033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:29:03] local.INFO: TCP Data received {"connection_id":51033,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3549898012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3549898012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:29:03] local.INFO: Processing buffer {"connection_id":51033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3549898012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:29:03] local.INFO: Packet analysis {"connection_id":51033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:29:03] local.INFO: Extracted packet for processing {"connection_id":51033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:29:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868515072001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776830159000,"timestamp_ms":1776830159000,"timestamp_seconds":1776830159,"priority":1,"record_length":96,"hex_timestamp":"0000019db3549898"} 
[2026-04-22 09: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-22 09:29:03] 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-22 09:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5525344618760309007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95747671569989632,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972243969966286,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:29:03] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,98,2,24,241,158,16,7,157,240,44,192,78,12,41,10,66,162,42,80,1,86,179,29,4,113,205,172,40,239,48,96,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:29:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065142797205504,"timestamp_seconds":865065142797205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868515072001,"66":12319,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868515072001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:29:03] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868515072001,"power":12319,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":51033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:29:03] local.INFO: GPS data processed {"connection_id":51033,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:29:03] local.INFO: Acknowledgment sent {"connection_id":51033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:29:03] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:29:03] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:29:03] local.INFO: Packet analysis {"connection_id":50355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:29:03] local.INFO: Extracted packet for processing {"connection_id":50355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29: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-22 09:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 09: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-22 09:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:29:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":50355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:29:03] local.INFO: GPS data processed {"connection_id":50355,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:29:03] local.INFO: Acknowledgment sent {"connection_id":50355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:29:27] local.INFO: TCP Data received {"connection_id":50356,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:29:27] local.INFO: Processing buffer {"connection_id":50356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:29:27] local.INFO: IMEI packet received {"connection_id":50356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":50356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:29:32] local.INFO: TCP Data received {"connection_id":50356,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:29:32] local.INFO: Processing buffer {"connection_id":50356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:29:32] local.INFO: IMEI packet received {"connection_id":50356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:29:32] local.INFO: TCP Data received {"connection_id":50356,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:29:32] local.INFO: Processing buffer {"connection_id":50356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:29:32] local.INFO: Packet analysis {"connection_id":50356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:29:32] local.INFO: Extracted packet for processing {"connection_id":50356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 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-22 09:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:32] 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-22 09:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 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-22 09:29: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-22 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:29: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-22 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-22 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-22 09:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:29:32] 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-22 09:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":50356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:29:33] local.INFO: GPS data processed {"connection_id":50356,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:29:33] local.INFO: Acknowledgment sent {"connection_id":50356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:29:35] local.INFO: TCP Data received {"connection_id":51033,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db354eaa0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354eaa0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:29:35] local.INFO: Processing buffer {"connection_id":51033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354eaa0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:29:35] local.INFO: Packet analysis {"connection_id":51033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:29:35] local.INFO: Extracted packet for processing {"connection_id":51033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:29:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868520704001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776830180000,"timestamp_ms":1776830180000,"timestamp_seconds":1776830180,"priority":1,"record_length":96,"hex_timestamp":"0000019db354eaa0"} 
[2026-04-22 09:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:29:35] 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-22 09:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:29:35] 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-22 09:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868520704001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868520704001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:29:35] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868520704001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":51033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:29:35] local.INFO: GPS data processed {"connection_id":51033,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:29:35] local.INFO: Acknowledgment sent {"connection_id":51033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:30:02] local.INFO: TCP Data received {"connection_id":51034,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:30:02] local.INFO: Processing buffer {"connection_id":51034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:30:02] local.INFO: IMEI packet received {"connection_id":51034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":51034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:30:04] local.INFO: TCP Data received {"connection_id":50356,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:30:04] local.INFO: Processing buffer {"connection_id":50356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:30:04] local.INFO: Packet analysis {"connection_id":50356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:30:04] local.INFO: Extracted packet for processing {"connection_id":50356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30: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-22 09:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 09: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-22 09: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-22 09: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":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09: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-22 09: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-22 09:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:30:04] 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-22 09:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":50356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:30:04] local.INFO: GPS data processed {"connection_id":50356,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:30:04] local.INFO: Acknowledgment sent {"connection_id":50356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:30:07] local.INFO: TCP Data received {"connection_id":51034,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:30:07] local.INFO: Processing buffer {"connection_id":51034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:30:07] local.INFO: IMEI packet received {"connection_id":51034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":51034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:30:08] local.INFO: TCP Data received {"connection_id":51034,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3553ca8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3553ca8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:30:08] local.INFO: Processing buffer {"connection_id":51034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3553ca8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:30:08] local.INFO: Packet analysis {"connection_id":51034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db355"} 
[2026-04-22 09:30:08] local.INFO: Extracted packet for processing {"connection_id":51034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db355"} 
[2026-04-22 09:30:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868526080001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776830201000,"timestamp_ms":1776830201000,"timestamp_seconds":1776830201,"priority":1,"record_length":96,"hex_timestamp":"0000019db3553ca8"} 
[2026-04-22 09: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-22 09:30:08] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868526080001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868526080001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:30:08] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:30:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868526080001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":51034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:30:08] local.INFO: GPS data processed {"connection_id":51034,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:30:08] local.INFO: Acknowledgment sent {"connection_id":51034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:30:09] local.INFO: TCP Data received {"connection_id":51034,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3558eb0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3558eb0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:30:09] local.INFO: Processing buffer {"connection_id":51034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3558eb0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:30:09] local.INFO: Packet analysis {"connection_id":51034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db355"} 
[2026-04-22 09:30:09] local.INFO: Extracted packet for processing {"connection_id":51034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db355"} 
[2026-04-22 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868531456001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776830222000,"timestamp_ms":1776830222000,"timestamp_seconds":1776830222,"priority":1,"record_length":96,"hex_timestamp":"0000019db3558eb0"} 
[2026-04-22 09: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-22 09:30:09] 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-22 09:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5525074035820661007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95747671569989632,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972243970097358,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 09:30:09] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2147560694,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:09] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,98,2,24,241,158,16,7,157,234,44,192,78,12,41,10,66,152,1,240,179,29,4,113,205,162,40,42,239,48,148,43],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 09:30:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065142797205504,"timestamp_seconds":865065142797205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868531456001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868531456001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:30:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:30:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868531456001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":51034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:30:09] local.INFO: GPS data processed {"connection_id":51034,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:30:09] local.INFO: Acknowledgment sent {"connection_id":51034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:30:26] local.INFO: TCP Data received {"connection_id":51035,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:30:26] local.INFO: Processing buffer {"connection_id":51035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:30:26] local.INFO: IMEI packet received {"connection_id":51035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":51035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:30:31] local.INFO: TCP Data received {"connection_id":51035,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:30:31] local.INFO: Processing buffer {"connection_id":51035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:30:31] local.INFO: IMEI packet received {"connection_id":51035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":51035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:30:32] local.INFO: TCP Data received {"connection_id":51035,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:30:32] local.INFO: Processing buffer {"connection_id":51035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:30:32] local.INFO: Packet analysis {"connection_id":51035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:30:32] local.INFO: Extracted packet for processing {"connection_id":51035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 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-22 09:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:32] 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-22 09:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 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-22 09:30: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-22 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:30: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-22 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-22 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-22 09:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:30: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-22 09:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":51035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:30:32] local.INFO: GPS data processed {"connection_id":51035,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:30:32] local.INFO: Acknowledgment sent {"connection_id":51035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:30:37] local.INFO: TCP Data received {"connection_id":51035,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:30:37] local.INFO: Processing buffer {"connection_id":51035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:30:37] local.INFO: Packet analysis {"connection_id":51035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:30:37] local.INFO: Extracted packet for processing {"connection_id":51035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:37] 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-22 09:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 09: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-22 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09: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-22 09: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-22 09:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":51035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:30:37] local.INFO: GPS data processed {"connection_id":51035,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:30:37] local.INFO: Acknowledgment sent {"connection_id":51035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:30:40] local.INFO: TCP Data received {"connection_id":51034,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db355e0b8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db355e0b8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:30:40] local.INFO: Processing buffer {"connection_id":51034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db355e0b8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:30:40] local.INFO: Packet analysis {"connection_id":51034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db355"} 
[2026-04-22 09:30:40] local.INFO: Extracted packet for processing {"connection_id":51034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db355"} 
[2026-04-22 09:30:40] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868536832001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776830243000,"timestamp_ms":1776830243000,"timestamp_seconds":1776830243,"priority":1,"record_length":96,"hex_timestamp":"0000019db355e0b8"} 
[2026-04-22 09:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":51034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868536832001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868536832001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:30:40] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868536832001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":51034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:30:40] local.INFO: GPS data processed {"connection_id":51034,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:30:40] local.INFO: Acknowledgment sent {"connection_id":51034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:30:57] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:30:57] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:30:57] local.INFO: IMEI packet received {"connection_id":51036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":51036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:31:02] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:31:02] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:31:02] local.INFO: IMEI packet received {"connection_id":51036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":51036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:31:03] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35632c0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35632c0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:31:03] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35632c0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:31:03] local.INFO: Packet analysis {"connection_id":51036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db356"} 
[2026-04-22 09:31:03] local.INFO: Extracted packet for processing {"connection_id":51036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db356"} 
[2026-04-22 09:31:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868542208001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776830264000,"timestamp_ms":1776830264000,"timestamp_seconds":1776830264,"priority":1,"record_length":96,"hex_timestamp":"0000019db35632c0"} 
[2026-04-22 09:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:31:03] 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-22 09:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:31:03] 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-22 09:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868542208001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868542208001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:31:03] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:31:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868542208001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":51036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:31:03] local.INFO: GPS data processed {"connection_id":51036,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:31:03] local.INFO: Acknowledgment sent {"connection_id":51036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:31:08] local.INFO: TCP Data received {"connection_id":51035,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:31:08] local.INFO: Processing buffer {"connection_id":51035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db354cf48012d7f92c005afda48000c009129..."} 
[2026-04-22 09:31:08] local.INFO: Packet analysis {"connection_id":51035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:31:08] local.INFO: Extracted packet for processing {"connection_id":51035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db354"} 
[2026-04-22 09:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":12,"angle":145,"satellites":41,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868447232001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31: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-22 09:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776830173000,"timestamp_ms":1776830173000,"timestamp_seconds":1776830173,"priority":1,"record_length":96,"hex_timestamp":"0000019db354cf48"} 
[2026-04-22 09: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-22 09: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-22 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 09:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 09: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-22 09: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-22 09:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:31:08] 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-22 09:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868447232001,"66":25615,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868447232001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868447232001,"power":25615,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":51035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:31:08] local.INFO: GPS data processed {"connection_id":51035,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:31:08] local.INFO: Acknowledgment sent {"connection_id":51035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:31:21] local.INFO: TCP Data received {"connection_id":50102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:31:21] local.INFO: Processing buffer {"connection_id":50102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:31:21] local.INFO: IMEI packet received {"connection_id":50102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":50102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:31:26] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:31:26] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:31:26] local.INFO: IMEI packet received {"connection_id":50482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":50482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:31:28] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:31:28] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:31:28] local.INFO: IMEI packet received {"connection_id":50482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":50482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:31:31] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:31:31] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:31:31] local.INFO: IMEI packet received {"connection_id":50482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":50482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:31:32] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db3590d38012d7f92c005afda48000b009128..."} 
[2026-04-22 09:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3590d38012d7f92c005afda48000b009128..."} 
[2026-04-22 09:31:32] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3590d38012d7f92c005afda48000b009128..."} 
[2026-04-22 09:31:32] local.INFO: Packet analysis {"connection_id":50482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:31:32] local.INFO: Extracted packet for processing {"connection_id":50482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763335360,"raw_latitude":95410760,"longitude_deg":76.333536,"latitude_deg":9.541076,"altitude":11,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d7f92c0","hex_latitude":"05afda48","is_valid_coordinates":true} 
[2026-04-22 09:31: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-22 09:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868524288001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478592776601600,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:32] 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-22 09:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776830451000,"timestamp_ms":1776830451000,"timestamp_seconds":1776830451,"priority":1,"record_length":96,"hex_timestamp":"0000019db3590d38"} 
[2026-04-22 09: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-22 09: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-22 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 09:31: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-22 09: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-22 09: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-22 09:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:31: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-22 09:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868524288001,"66":25495,"28":206,"85":12544,"24":0,"16":278478592776601600,"45":9192620920074291200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868524288001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:31:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478592776601600,"km_value":278478592776601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868524288001,"power":25495,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":50482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:31:33] local.INFO: GPS data processed {"connection_id":50482,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:31:33] local.INFO: Acknowledgment sent {"connection_id":50482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:31:35] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35684c8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35684c8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:31:35] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35684c8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:31:35] local.INFO: Packet analysis {"connection_id":51036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db356"} 
[2026-04-22 09:31:35] local.INFO: Extracted packet for processing {"connection_id":51036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db356"} 
[2026-04-22 09:31:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868547584001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776830285000,"timestamp_ms":1776830285000,"timestamp_seconds":1776830285,"priority":1,"record_length":96,"hex_timestamp":"0000019db35684c8"} 
[2026-04-22 09:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:31:35] 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-22 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:31:35] 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-22 09:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868547584001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868547584001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:31:35] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868547584001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":51036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:31:36] local.INFO: GPS data processed {"connection_id":51036,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:31:36] local.INFO: Acknowledgment sent {"connection_id":51036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:31:52] local.INFO: TCP Data received {"connection_id":50103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:31:52] local.INFO: Processing buffer {"connection_id":50103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:31:52] local.INFO: IMEI packet received {"connection_id":50103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":50103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:31:56] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:31:56] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:31:56] local.INFO: IMEI packet received {"connection_id":51037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":51037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:32:02] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:32:02] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:32:02] local.INFO: IMEI packet received {"connection_id":51037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":51037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:32:03] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db3591cd8012d7f87c005afdbb8000b005e26..."} 
[2026-04-22 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3591cd8012d7f87c005afdbb8000b005e26..."} 
[2026-04-22 09:32:03] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3591cd8012d7f87c005afdbb8000b005e26..."} 
[2026-04-22 09:32:03] local.INFO: Packet analysis {"connection_id":50482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:32:03] local.INFO: Extracted packet for processing {"connection_id":50482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763332544,"raw_latitude":95411128,"longitude_deg":76.3332544,"latitude_deg":9.5411128,"altitude":11,"angle":94,"satellites":38,"speed":0,"hex_longitude":"2d7f87c0","hex_latitude":"05afdbb8","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868595456001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478597071568896,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192620920074291200,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32: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-22 09:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776830455000,"timestamp_ms":1776830455000,"timestamp_seconds":1776830455,"priority":1,"record_length":96,"hex_timestamp":"0000019db3591cd8"} 
[2026-04-22 09: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-22 09: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-22 09:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 09:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:32: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-22 09:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868595456001,"66":25343,"28":206,"85":12544,"24":0,"16":278478597071568896,"45":9192620920074291200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868595456001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478597071568896,"km_value":278478597071568.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192620920074291200,"description":"Unknown IO ID 45"} 
[2026-04-22 09:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868595456001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192620920074291200}} 
[2026-04-22 09:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":50482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:32:04] local.INFO: GPS data processed {"connection_id":50482,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:32:04] local.INFO: Acknowledgment sent {"connection_id":50482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:32:07] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db356d6d0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db356d6d0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:32:07] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db356d6d0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:32:07] local.INFO: Packet analysis {"connection_id":51037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db356"} 
[2026-04-22 09:32:07] local.INFO: Extracted packet for processing {"connection_id":51037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db356"} 
[2026-04-22 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868552960001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776830306000,"timestamp_ms":1776830306000,"timestamp_seconds":1776830306,"priority":1,"record_length":96,"hex_timestamp":"0000019db356d6d0"} 
[2026-04-22 09:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868552960001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868552960001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:32:07] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868552960001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":51037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:32:07] local.INFO: GPS data processed {"connection_id":51037,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:32:07] local.INFO: Acknowledgment sent {"connection_id":51037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:32:27] local.INFO: TCP Data received {"connection_id":50104,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:32:27] local.INFO: Processing buffer {"connection_id":50104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:32:27] local.INFO: IMEI packet received {"connection_id":50104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":50104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:32:32] local.INFO: TCP Data received {"connection_id":50104,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:32:32] local.INFO: Processing buffer {"connection_id":50104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:32:32] local.INFO: IMEI packet received {"connection_id":50104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:32:33] local.INFO: TCP Data received {"connection_id":50104,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db3592c78012d7f87c005afdbc0000b012927..."} 
[2026-04-22 09:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3592c78012d7f87c005afdbc0000b012927..."} 
[2026-04-22 09:32:33] local.INFO: Processing buffer {"connection_id":50104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3592c78012d7f87c005afdbc0000b012927..."} 
[2026-04-22 09:32:33] local.INFO: Packet analysis {"connection_id":50104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:32:33] local.INFO: Extracted packet for processing {"connection_id":50104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763332544,"raw_latitude":95411136,"longitude_deg":76.3332544,"latitude_deg":9.5411136,"altitude":11,"angle":297,"satellites":39,"speed":1,"hex_longitude":"2d7f87c0","hex_latitude":"05afdbc0","is_valid_coordinates":true} 
[2026-04-22 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-22 09:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868596480001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478597071568896,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330568192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:33] 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-22 09:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830459000,"timestamp_ms":1776830459000,"timestamp_seconds":1776830459,"priority":1,"record_length":96,"hex_timestamp":"0000019db3592c78"} 
[2026-04-22 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-22 09:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:32: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-22 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-22 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-22 09:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868596480001,"66":25375,"28":206,"85":12544,"24":1,"16":278478597071568896,"45":9189524695330568192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868596480001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:32:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478597071568896,"km_value":278478597071568.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330568192,"description":"Unknown IO ID 45"} 
[2026-04-22 09:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868596480001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9189524695330568192}} 
[2026-04-22 09:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:32:33] local.INFO: GPS data processed {"connection_id":50104,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:32:33] local.INFO: Acknowledgment sent {"connection_id":50104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:32:41] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35728d8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35728d8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:32:41] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35728d8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:32:41] local.INFO: Packet analysis {"connection_id":51037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db357"} 
[2026-04-22 09:32:41] local.INFO: Extracted packet for processing {"connection_id":51037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db357"} 
[2026-04-22 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868558336001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776830327000,"timestamp_ms":1776830327000,"timestamp_seconds":1776830327,"priority":1,"record_length":96,"hex_timestamp":"0000019db35728d8"} 
[2026-04-22 09:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868558336001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868558336001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:32:41] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868558336001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":51037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:32:41] local.INFO: GPS data processed {"connection_id":51037,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:32:41] local.INFO: Acknowledgment sent {"connection_id":51037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:32:55] local.INFO: TCP Data received {"connection_id":50105,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:32:55] local.INFO: Processing buffer {"connection_id":50105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:32:55] local.INFO: IMEI packet received {"connection_id":50105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":50105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:32:57] local.INFO: TCP Data received {"connection_id":50105,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:32:57] local.INFO: Processing buffer {"connection_id":50105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:32:57] local.INFO: IMEI packet received {"connection_id":50105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":50105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:33:02] local.INFO: TCP Data received {"connection_id":50105,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:33:02] local.INFO: Processing buffer {"connection_id":50105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:33:02] local.INFO: IMEI packet received {"connection_id":50105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":50105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:33:04] local.INFO: TCP Data received {"connection_id":50104,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db3593060012d7f87c005afdbd0000b011626..."} 
[2026-04-22 09:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3593060012d7f87c005afdbd0000b011626..."} 
[2026-04-22 09:33:04] local.INFO: Processing buffer {"connection_id":50104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3593060012d7f87c005afdbd0000b011626..."} 
[2026-04-22 09:33:04] local.INFO: Packet analysis {"connection_id":50104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:33:04] local.INFO: Extracted packet for processing {"connection_id":50104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763332544,"raw_latitude":95411152,"longitude_deg":76.3332544,"latitude_deg":9.5411152,"altitude":11,"angle":278,"satellites":38,"speed":1,"hex_longitude":"2d7f87c0","hex_latitude":"05afdbd0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868597504001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478597071568896,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330570240,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33: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-22 09:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830460000,"timestamp_ms":1776830460000,"timestamp_seconds":1776830460,"priority":1,"record_length":96,"hex_timestamp":"0000019db3593060"} 
[2026-04-22 09: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-22 09:33: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-22 09: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868597504001,"66":25299,"28":206,"85":12544,"24":1,"16":278478597071568896,"45":9189524695330570240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868597504001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478597071568896,"km_value":278478597071568.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330570240,"description":"Unknown IO ID 45"} 
[2026-04-22 09:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868597504001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9189524695330570240}} 
[2026-04-22 09:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:33:04] local.INFO: GPS data processed {"connection_id":50104,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:33:04] local.INFO: Acknowledgment sent {"connection_id":50104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:33:06] local.INFO: TCP Data received {"connection_id":50105,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3577ae0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3577ae0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:33:06] local.INFO: Processing buffer {"connection_id":50105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3577ae0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:33:06] local.INFO: Packet analysis {"connection_id":50105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db357"} 
[2026-04-22 09:33:06] local.INFO: Extracted packet for processing {"connection_id":50105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db357"} 
[2026-04-22 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868563712001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776830348000,"timestamp_ms":1776830348000,"timestamp_seconds":1776830348,"priority":1,"record_length":96,"hex_timestamp":"0000019db3577ae0"} 
[2026-04-22 09: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-22 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868563712001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868563712001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:33:06] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868563712001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":50105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:33:06] local.INFO: GPS data processed {"connection_id":50105,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:33:06] local.INFO: Acknowledgment sent {"connection_id":50105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:33:27] local.INFO: TCP Data received {"connection_id":51038,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:33:27] local.INFO: Processing buffer {"connection_id":51038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:33:27] local.INFO: IMEI packet received {"connection_id":51038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":51038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:33:32] local.INFO: TCP Data received {"connection_id":51038,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:33:32] local.INFO: Processing buffer {"connection_id":51038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:33:32] local.INFO: IMEI packet received {"connection_id":51038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":51038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:33:33] local.INFO: TCP Data received {"connection_id":51038,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:33:33] local.INFO: Processing buffer {"connection_id":51038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:33:33] local.INFO: Packet analysis {"connection_id":51038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:33:33] local.INFO: Extracted packet for processing {"connection_id":51038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411168,"longitude_deg":76.3332416,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8740","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:33: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-22 09:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868597760001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330574336,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:33] 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-22 09:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830465000,"timestamp_ms":1776830465000,"timestamp_seconds":1776830465,"priority":1,"record_length":96,"hex_timestamp":"0000019db35943e8"} 
[2026-04-22 09: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-22 09:33: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-22 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 09:33:33] 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-22 09: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-22 09: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-22 09:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868597760001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189524695330574336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868597760001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:33:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330574336,"description":"Unknown IO ID 45"} 
[2026-04-22 09:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868597760001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189524695330574336}} 
[2026-04-22 09:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":51038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:33:33] local.INFO: GPS data processed {"connection_id":51038,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:33:33] local.INFO: Acknowledgment sent {"connection_id":51038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:33:40] local.INFO: TCP Data received {"connection_id":50105,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db357cce8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db357cce8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:33:40] local.INFO: Processing buffer {"connection_id":50105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db357cce8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:33:40] local.INFO: Packet analysis {"connection_id":50105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db357"} 
[2026-04-22 09:33:40] local.INFO: Extracted packet for processing {"connection_id":50105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db357"} 
[2026-04-22 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868569088001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776830369000,"timestamp_ms":1776830369000,"timestamp_seconds":1776830369,"priority":1,"record_length":96,"hex_timestamp":"0000019db357cce8"} 
[2026-04-22 09:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868569088001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868569088001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:33:40] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868569088001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":50105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:33:40] local.INFO: GPS data processed {"connection_id":50105,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:33:40] local.INFO: Acknowledgment sent {"connection_id":50105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:33:56] local.INFO: TCP Data received {"connection_id":50357,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:33:56] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:33:56] local.INFO: IMEI packet received {"connection_id":50357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":50357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:33:58] local.INFO: TCP Data received {"connection_id":50357,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:33:58] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:33:58] local.INFO: IMEI packet received {"connection_id":50357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":50357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:34:02] local.INFO: TCP Data received {"connection_id":50357,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:34:02] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:34:02] local.INFO: IMEI packet received {"connection_id":50357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":50357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:34:04] local.INFO: TCP Data received {"connection_id":50357,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3581ef0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3581ef0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:34:04] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3581ef0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:34:04] local.INFO: Packet analysis {"connection_id":50357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db358"} 
[2026-04-22 09:34:04] local.INFO: Extracted packet for processing {"connection_id":50357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db358"} 
[2026-04-22 09:34:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868574464001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830390000,"timestamp_ms":1776830390000,"timestamp_seconds":1776830390,"priority":1,"record_length":96,"hex_timestamp":"0000019db3581ef0"} 
[2026-04-22 09: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-22 09:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5524352481314933007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95746572058361856,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569738645710,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3221302518,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,98,2,24,241,158,16,7,157,122,44,192,78,12,41,10,66,40,214,1,240,255,179,29,4,113,205,50,239,48,148,39],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 09:34:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065138502238208,"timestamp_seconds":865065138502238.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868574464001,"66":11624,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868574464001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:34:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868574464001,"power":11624,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":50357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:34:04] local.INFO: GPS data processed {"connection_id":50357,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:34:04] local.INFO: Acknowledgment sent {"connection_id":50357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:34:04] local.INFO: TCP Data received {"connection_id":51038,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:34:04] local.INFO: Processing buffer {"connection_id":51038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:34:04] local.INFO: Packet analysis {"connection_id":51038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:34:04] local.INFO: Extracted packet for processing {"connection_id":51038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411168,"longitude_deg":76.3332416,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8740","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:34: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-22 09:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868597760001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330574336,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34: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-22 09:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830465000,"timestamp_ms":1776830465000,"timestamp_seconds":1776830465,"priority":1,"record_length":96,"hex_timestamp":"0000019db35943e8"} 
[2026-04-22 09: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-22 09: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-22 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 09:34:04] 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-22 09: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-22 09: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-22 09:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:34: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-22 09:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868597760001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189524695330574336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868597760001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330574336,"description":"Unknown IO ID 45"} 
[2026-04-22 09:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868597760001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189524695330574336}} 
[2026-04-22 09:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":51038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:34:04] local.INFO: GPS data processed {"connection_id":51038,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:34:04] local.INFO: Acknowledgment sent {"connection_id":51038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:34:27] local.INFO: TCP Data received {"connection_id":50358,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:34:27] local.INFO: Processing buffer {"connection_id":50358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:34:27] local.INFO: IMEI packet received {"connection_id":50358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:34:32] local.INFO: TCP Data received {"connection_id":50358,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:34:32] local.INFO: Processing buffer {"connection_id":50358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:34:32] local.INFO: IMEI packet received {"connection_id":50358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:34:33] local.INFO: TCP Data received {"connection_id":50358,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:34:33] local.INFO: Processing buffer {"connection_id":50358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:34:33] local.INFO: Packet analysis {"connection_id":50358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:34:33] local.INFO: Extracted packet for processing {"connection_id":50358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411168,"longitude_deg":76.3332416,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8740","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:34: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-22 09:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868597760001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330574336,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:33] 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-22 09:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830465000,"timestamp_ms":1776830465000,"timestamp_seconds":1776830465,"priority":1,"record_length":96,"hex_timestamp":"0000019db35943e8"} 
[2026-04-22 09: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-22 09:34: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-22 09: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":211,"data_length":795,"current_offset":136} 
[2026-04-22 09:34:33] 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-22 09: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-22 09: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-22 09:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:34:33] 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-22 09:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868597760001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189524695330574336},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868597760001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330574336,"description":"Unknown IO ID 45"} 
[2026-04-22 09:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868597760001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189524695330574336}} 
[2026-04-22 09:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:34:33] local.INFO: GPS data processed {"connection_id":50358,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:34:33] local.INFO: Acknowledgment sent {"connection_id":50358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:34:36] local.INFO: TCP Data received {"connection_id":50357,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3586d10012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3586d10012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:34:36] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3586d10012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:34:36] local.INFO: Packet analysis {"connection_id":50357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db358"} 
[2026-04-22 09:34:36] local.INFO: Extracted packet for processing {"connection_id":50357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db358"} 
[2026-04-22 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868579840001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776830410000,"timestamp_ms":1776830410000,"timestamp_seconds":1776830410,"priority":1,"record_length":96,"hex_timestamp":"0000019db3586d10"} 
[2026-04-22 09:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 09:34:36] 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-22 09:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868579840001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868579840001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:34:36] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868579840001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":50357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:34:36] local.INFO: GPS data processed {"connection_id":50357,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:34:36] local.INFO: Acknowledgment sent {"connection_id":50357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:34:56] local.INFO: TCP Data received {"connection_id":50106,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:34:56] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:34:56] local.INFO: IMEI packet received {"connection_id":50106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":50106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:35:01] local.INFO: TCP Data received {"connection_id":50106,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:35:01] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:35:01] local.INFO: IMEI packet received {"connection_id":50106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":50106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:35:02] local.INFO: TCP Data received {"connection_id":50106,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:35:02] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:35:02] local.INFO: IMEI packet received {"connection_id":50106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":50106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:35:04] local.INFO: TCP Data received {"connection_id":50358,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:35:04] local.INFO: Processing buffer {"connection_id":50358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:35:04] local.INFO: Packet analysis {"connection_id":50358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:35:04] local.INFO: Extracted packet for processing {"connection_id":50358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411168,"longitude_deg":76.3332416,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8740","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:35: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-22 09:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868597760001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330574336,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35: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-22 09:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830465000,"timestamp_ms":1776830465000,"timestamp_seconds":1776830465,"priority":1,"record_length":96,"hex_timestamp":"0000019db35943e8"} 
[2026-04-22 09: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-22 09:35: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-22 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 09:35:04] 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-22 09: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-22 09: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-22 09:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:35: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-22 09:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868597760001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189524695330574336},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868597760001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:35:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330574336,"description":"Unknown IO ID 45"} 
[2026-04-22 09:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868597760001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189524695330574336}} 
[2026-04-22 09:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:35:04] local.INFO: GPS data processed {"connection_id":50358,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:35:04] local.INFO: Acknowledgment sent {"connection_id":50358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:35:05] local.INFO: TCP Data received {"connection_id":50106,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db358bf18012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db358bf18012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:35:05] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db358bf18012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:35:05] local.INFO: Packet analysis {"connection_id":50106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db358"} 
[2026-04-22 09:35:05] local.INFO: Extracted packet for processing {"connection_id":50106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db358"} 
[2026-04-22 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868584960001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776830431000,"timestamp_ms":1776830431000,"timestamp_seconds":1776830431,"priority":1,"record_length":96,"hex_timestamp":"0000019db358bf18"} 
[2026-04-22 09:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868584960001,"66":11906,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 09:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868584960001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:35:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 09:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868584960001,"power":11906,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":50106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:35:05] local.INFO: GPS data processed {"connection_id":50106,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:35:05] local.INFO: Acknowledgment sent {"connection_id":50106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:35:08] local.INFO: TCP Data received {"connection_id":50106,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3591508012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3591508012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:35:08] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3591508012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:35:08] local.INFO: Packet analysis {"connection_id":50106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:35:08] local.INFO: Extracted packet for processing {"connection_id":50106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868590336001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776830453000,"timestamp_ms":1776830453000,"timestamp_seconds":1776830453,"priority":1,"record_length":96,"hex_timestamp":"0000019db3591508"} 
[2026-04-22 09: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-22 09:35:08] 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-22 09: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-22 09:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868590336001,"66":12319,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868590336001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:35:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:35:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868590336001,"power":12319,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":50106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:35:08] local.INFO: GPS data processed {"connection_id":50106,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:35:08] local.INFO: Acknowledgment sent {"connection_id":50106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:35:26] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:35:26] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:35:26] local.INFO: IMEI packet received {"connection_id":50485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":50485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:35:32] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:35:32] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:35:32] local.INFO: IMEI packet received {"connection_id":50485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:35:33] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:35:33] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:35:33] local.INFO: Packet analysis {"connection_id":50485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:35:33] local.INFO: Extracted packet for processing {"connection_id":50485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411168,"longitude_deg":76.3332416,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8740","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:35: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-22 09:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868597760001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330574336,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:33] 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-22 09:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830465000,"timestamp_ms":1776830465000,"timestamp_seconds":1776830465,"priority":1,"record_length":96,"hex_timestamp":"0000019db35943e8"} 
[2026-04-22 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-22 09: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-22 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":211,"data_length":795,"current_offset":136} 
[2026-04-22 09:35:33] 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-22 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-22 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-22 09:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868597760001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189524695330574336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868597760001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330574336,"description":"Unknown IO ID 45"} 
[2026-04-22 09:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868597760001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189524695330574336}} 
[2026-04-22 09:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:35:33] local.INFO: GPS data processed {"connection_id":50485,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:35:33] local.INFO: Acknowledgment sent {"connection_id":50485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:35:40] local.INFO: TCP Data received {"connection_id":50106,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3596710012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3596710012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:35:40] local.INFO: Processing buffer {"connection_id":50106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3596710012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:35:40] local.INFO: Packet analysis {"connection_id":50106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:35:40] local.INFO: Extracted packet for processing {"connection_id":50106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868595968001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776830474000,"timestamp_ms":1776830474000,"timestamp_seconds":1776830474,"priority":1,"record_length":96,"hex_timestamp":"0000019db3596710"} 
[2026-04-22 09:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:35:40] 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-22 09:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868595968001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868595968001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:35:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868595968001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":50106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:35:40] local.INFO: GPS data processed {"connection_id":50106,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:35:40] local.INFO: Acknowledgment sent {"connection_id":50106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:36:01] local.INFO: TCP Data received {"connection_id":51041,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:36:01] local.INFO: Processing buffer {"connection_id":51041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:36:01] local.INFO: IMEI packet received {"connection_id":51041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":51041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:36:04] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:36:04] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:36:04] local.INFO: Packet analysis {"connection_id":50485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:36:04] local.INFO: Extracted packet for processing {"connection_id":50485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411168,"longitude_deg":76.3332416,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8740","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868597760001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330574336,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36: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-22 09:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830465000,"timestamp_ms":1776830465000,"timestamp_seconds":1776830465,"priority":1,"record_length":96,"hex_timestamp":"0000019db35943e8"} 
[2026-04-22 09: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-22 09: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-22 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 09:36:04] 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-22 09: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-22 09: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-22 09:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868597760001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189524695330574336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868597760001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330574336,"description":"Unknown IO ID 45"} 
[2026-04-22 09:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868597760001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189524695330574336}} 
[2026-04-22 09:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":50485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:36:04] local.INFO: GPS data processed {"connection_id":50485,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:36:04] local.INFO: Acknowledgment sent {"connection_id":50485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:36:07] local.INFO: TCP Data received {"connection_id":51041,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:36:07] local.INFO: Processing buffer {"connection_id":51041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:36:07] local.INFO: IMEI packet received {"connection_id":51041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":51041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:36:09] local.INFO: TCP Data received {"connection_id":51041,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db359b918012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db359b918012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:36:09] local.INFO: Processing buffer {"connection_id":51041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db359b918012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:36:09] local.INFO: Packet analysis {"connection_id":51041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:36:09] local.INFO: Extracted packet for processing {"connection_id":51041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868601344001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776830495000,"timestamp_ms":1776830495000,"timestamp_seconds":1776830495,"priority":1,"record_length":96,"hex_timestamp":"0000019db359b918"} 
[2026-04-22 09: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-22 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5523901509748853007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95746572058361856,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832575,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920996270286,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 09:36:09] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3892391158,"corrected_to":0} 
[2026-04-22 09:36:09] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,96,2,24,241,158,16,7,157,21,44,192,78,12,40,10,66,191,39,98,109,1,240,255,179,29,4,113,205,204,41,239,48,148],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0},{"io_id":204,"original":3892391158,"validated":0}]} 
[2026-04-22 09:36:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065138502238208,"timestamp_seconds":865065138502238.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868601344001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868601344001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:36:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868601344001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":51041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:36:09] local.INFO: GPS data processed {"connection_id":51041,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:36:09] local.INFO: Acknowledgment sent {"connection_id":51041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:36:11] local.INFO: TCP Data received {"connection_id":51041,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35a0b20012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35a0b20012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:36:11] local.INFO: Processing buffer {"connection_id":51041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35a0b20012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:36:11] local.INFO: Packet analysis {"connection_id":51041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35a"} 
[2026-04-22 09:36:11] local.INFO: Extracted packet for processing {"connection_id":51041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35a"} 
[2026-04-22 09:36:11] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868606720001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776830516000,"timestamp_ms":1776830516000,"timestamp_seconds":1776830516,"priority":1,"record_length":96,"hex_timestamp":"0000019db35a0b20"} 
[2026-04-22 09:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":51041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":51041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":51041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868606720001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868606720001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:36:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868606720001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":51041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:36:11] local.INFO: GPS data processed {"connection_id":51041,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:36:11] local.INFO: Acknowledgment sent {"connection_id":51041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:36:26] local.INFO: TCP Data received {"connection_id":50107,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:36:26] local.INFO: Processing buffer {"connection_id":50107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:36:26] local.INFO: IMEI packet received {"connection_id":50107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":50107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:36:32] local.INFO: TCP Data received {"connection_id":50107,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:36:32] local.INFO: Processing buffer {"connection_id":50107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:36:32] local.INFO: IMEI packet received {"connection_id":50107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:36:32] local.INFO: TCP Data received {"connection_id":50107,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:36:32] local.INFO: Processing buffer {"connection_id":50107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35943e8012d7f874005afdbe0000b011628..."} 
[2026-04-22 09:36:32] local.INFO: Packet analysis {"connection_id":50107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:36:32] local.INFO: Extracted packet for processing {"connection_id":50107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db359"} 
[2026-04-22 09:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":95411168,"longitude_deg":76.3332416,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8740","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:36: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-22 09:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868597760001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330574336,"note":"Value kept but may cause issues"} 
[2026-04-22 09:36:32] 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-22 09:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776830465000,"timestamp_ms":1776830465000,"timestamp_seconds":1776830465,"priority":1,"record_length":96,"hex_timestamp":"0000019db35943e8"} 
[2026-04-22 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-22 09:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":211,"data_length":795,"current_offset":136} 
[2026-04-22 09:36: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-22 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-22 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-22 09:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:36: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-22 09:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868597760001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189524695330574336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 09:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868597760001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 09:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330574336,"description":"Unknown IO ID 45"} 
[2026-04-22 09:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868597760001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189524695330574336}} 
[2026-04-22 09:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":50107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:36:32] local.INFO: GPS data processed {"connection_id":50107,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:36:32] local.INFO: Acknowledgment sent {"connection_id":50107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:36:56] local.INFO: TCP Data received {"connection_id":50359,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:36:56] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:36:56] local.INFO: IMEI packet received {"connection_id":50359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":50359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:37:02] local.INFO: TCP Data received {"connection_id":50359,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:37:02] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:37:02] local.INFO: IMEI packet received {"connection_id":50359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":50359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:37:04] local.INFO: TCP Data received {"connection_id":50107,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:37:04] local.INFO: Processing buffer {"connection_id":50107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:37:04] local.INFO: Packet analysis {"connection_id":50107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:37:04] local.INFO: Extracted packet for processing {"connection_id":50107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37: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-22 09:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 09: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-22 09:37: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-22 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"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-22 09:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:37:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":50107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:37:04] local.INFO: GPS data processed {"connection_id":50107,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:37:04] local.INFO: Acknowledgment sent {"connection_id":50107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:37:04] local.INFO: TCP Data received {"connection_id":50359,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35a5d28012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35a5d28012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:37:04] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35a5d28012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:37:04] local.INFO: Packet analysis {"connection_id":50359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35a"} 
[2026-04-22 09:37:04] local.INFO: Extracted packet for processing {"connection_id":50359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35a"} 
[2026-04-22 09:37:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868612096001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830537000,"timestamp_ms":1776830537000,"timestamp_seconds":1776830537,"priority":1,"record_length":96,"hex_timestamp":"0000019db35a5d28"} 
[2026-04-22 09: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-22 09:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5523721121122421007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95746572058361856,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832575,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3271866011437105358,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 09:37:04] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:04] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,185,44,192,78,12,40,10,66,103,41,21,1,240,31,179,29,4,113,205,109,239,47,98,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 09:37:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065129912303616,"timestamp_seconds":865065129912303.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868612096001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868612096001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:37:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868612096001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":50359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:37:04] local.INFO: GPS data processed {"connection_id":50359,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:37:04] local.INFO: Acknowledgment sent {"connection_id":50359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:37:21] local.INFO: TCP Data received {"connection_id":50108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:37:21] local.INFO: Processing buffer {"connection_id":50108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:37:21] local.INFO: IMEI packet received {"connection_id":50108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":50108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:37:27] local.INFO: TCP Data received {"connection_id":50360,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:37:27] local.INFO: Processing buffer {"connection_id":50360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:37:27] local.INFO: IMEI packet received {"connection_id":50360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":50360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:37:32] local.INFO: TCP Data received {"connection_id":50360,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:37:32] local.INFO: Processing buffer {"connection_id":50360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:37:32] local.INFO: IMEI packet received {"connection_id":50360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:37:32] local.INFO: TCP Data received {"connection_id":50360,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:37:32] local.INFO: Processing buffer {"connection_id":50360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:37:32] local.INFO: Packet analysis {"connection_id":50360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:37:32] local.INFO: Extracted packet for processing {"connection_id":50360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:33] 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-22 09:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 09: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-22 09:37: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-22 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:37: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-22 09: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-22 09: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-22 09:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:37:33] 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-22 09:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:37:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":50360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:37:33] local.INFO: GPS data processed {"connection_id":50360,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:37:33] local.INFO: Acknowledgment sent {"connection_id":50360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:37:35] local.INFO: TCP Data received {"connection_id":50359,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35de380012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35de380012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:37:35] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35de380012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:37:35] local.INFO: Packet analysis {"connection_id":50359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:37:35] local.INFO: Extracted packet for processing {"connection_id":50359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:37:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868670976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776830768000,"timestamp_ms":1776830768000,"timestamp_seconds":1776830768,"priority":1,"record_length":96,"hex_timestamp":"0000019db35de380"} 
[2026-04-22 09:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:37:35] 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-22 09:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5522728983677045007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95745472546734080,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145739956430,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:37:35] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":1342254326,"corrected_to":0} 
[2026-04-22 09:37:35] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:37:35] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,96,2,24,241,158,16,7,157,59,44,192,78,12,41,10,66,233,151,1,240,179,29,4,113,205,247,40,239,47,148],"length":534,"final_offset":664,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0},{"io_id":247,"original":1342254326,"validated":0}]} 
[2026-04-22 09:37:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065138502238208,"timestamp_seconds":865065138502238.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868670976001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868670976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:37:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868670976001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":50359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:37:36] local.INFO: GPS data processed {"connection_id":50359,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:37:36] local.INFO: Acknowledgment sent {"connection_id":50359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:37:51] local.INFO: TCP Data received {"connection_id":51042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:37:51] local.INFO: Processing buffer {"connection_id":51042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:37:51] local.INFO: IMEI packet received {"connection_id":51042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":51042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:37:57] local.INFO: TCP Data received {"connection_id":50486,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:37:57] local.INFO: Processing buffer {"connection_id":50486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:37:57] local.INFO: IMEI packet received {"connection_id":50486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":50486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:38:02] local.INFO: TCP Data received {"connection_id":50486,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:38:02] local.INFO: Processing buffer {"connection_id":50486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:38:02] local.INFO: IMEI packet received {"connection_id":50486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":50486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:38:04] local.INFO: TCP Data received {"connection_id":50486,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35e3588012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35e3588012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:38:04] local.INFO: Processing buffer {"connection_id":50486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35e3588012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:38:04] local.INFO: Packet analysis {"connection_id":50486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35e"} 
[2026-04-22 09:38:04] local.INFO: Extracted packet for processing {"connection_id":50486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35e"} 
[2026-04-22 09:38:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868676608001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830789000,"timestamp_ms":1776830789000,"timestamp_seconds":1776830789,"priority":1,"record_length":96,"hex_timestamp":"0000019db35e3588"} 
[2026-04-22 09:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:38:04] 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-22 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:38:04] 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-22 09:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868676608001,"66":11471,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868676608001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:38:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868676608001,"power":11471,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:38:04] local.INFO: GPS data processed {"connection_id":50486,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:38:04] local.INFO: Acknowledgment sent {"connection_id":50486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:38:04] local.INFO: TCP Data received {"connection_id":50360,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:38:04] local.INFO: Processing buffer {"connection_id":50360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:38:04] local.INFO: Packet analysis {"connection_id":50360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:38:04] local.INFO: Extracted packet for processing {"connection_id":50360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38: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-22 09:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 09:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:38: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-22 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:38:04] 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-22 09:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:38:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:38:04] local.INFO: GPS data processed {"connection_id":50360,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:38:04] local.INFO: Acknowledgment sent {"connection_id":50360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:38:27] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:38:27] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:38:27] local.INFO: IMEI packet received {"connection_id":50487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":50487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:38:32] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:38:32] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:38:32] local.INFO: IMEI packet received {"connection_id":50487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:38:33] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:38:33] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:38:33] local.INFO: Packet analysis {"connection_id":50487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:38:33] local.INFO: Extracted packet for processing {"connection_id":50487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:33] 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-22 09:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 09: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-22 09:38: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-22 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:38: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-22 09: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-22 09: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-22 09:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:38:33] 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-22 09:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:38:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":50487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:38:33] local.INFO: GPS data processed {"connection_id":50487,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:38:33] local.INFO: Acknowledgment sent {"connection_id":50487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:38:36] local.INFO: TCP Data received {"connection_id":50486,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35e8790012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35e8790012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:38:36] local.INFO: Processing buffer {"connection_id":50486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35e8790012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:38:36] local.INFO: Packet analysis {"connection_id":50486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35e"} 
[2026-04-22 09:38:36] local.INFO: Extracted packet for processing {"connection_id":50486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35e"} 
[2026-04-22 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868681984001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776830810000,"timestamp_ms":1776830810000,"timestamp_seconds":1776830810,"priority":1,"record_length":96,"hex_timestamp":"0000019db35e8790"} 
[2026-04-22 09:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:38:36] 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-22 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 09:38:36] 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-22 09:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868681984001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868681984001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:38:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868681984001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":50486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:38:36] local.INFO: GPS data processed {"connection_id":50486,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:38:36] local.INFO: Acknowledgment sent {"connection_id":50486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:39:02] local.INFO: TCP Data received {"connection_id":51043,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:39:02] local.INFO: Processing buffer {"connection_id":51043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:39:02] local.INFO: IMEI packet received {"connection_id":51043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":51043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:39:04] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:39:04] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:39:04] local.INFO: Packet analysis {"connection_id":50487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:39:04] local.INFO: Extracted packet for processing {"connection_id":50487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09: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-22 09:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 09: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-22 09: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-22 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:39: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-22 09:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:39:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":50487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:39:04] local.INFO: GPS data processed {"connection_id":50487,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:39:04] local.INFO: Acknowledgment sent {"connection_id":50487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:39:11] local.INFO: TCP Data received {"connection_id":51043,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:39:11] local.INFO: Processing buffer {"connection_id":51043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:39:11] local.INFO: IMEI packet received {"connection_id":51043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":51043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:39:12] local.INFO: TCP Data received {"connection_id":51043,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35ed998012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35ed998012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:39:12] local.INFO: Processing buffer {"connection_id":51043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35ed998012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:39:12] local.INFO: Packet analysis {"connection_id":51043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35e"} 
[2026-04-22 09:39:12] local.INFO: Extracted packet for processing {"connection_id":51043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35e"} 
[2026-04-22 09:39:12] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:39: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-22 09:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868687360001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776830831000,"timestamp_ms":1776830831000,"timestamp_seconds":1776830831,"priority":1,"record_length":96,"hex_timestamp":"0000019db35ed998"} 
[2026-04-22 09:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:39:12] 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-22 09:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:39: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-22 09:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":51043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":51043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":51043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868687360001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868687360001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:39:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868687360001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":51043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:39:12] local.INFO: GPS data processed {"connection_id":51043,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:39:12] local.INFO: Acknowledgment sent {"connection_id":51043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:39:13] local.INFO: TCP Data received {"connection_id":51043,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35f2ba0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35f2ba0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:39:13] local.INFO: Processing buffer {"connection_id":51043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35f2ba0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:39:13] local.INFO: Packet analysis {"connection_id":51043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35f"} 
[2026-04-22 09:39:13] local.INFO: Extracted packet for processing {"connection_id":51043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35f"} 
[2026-04-22 09:39:13] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868692736001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776830852000,"timestamp_ms":1776830852000,"timestamp_seconds":1776830852,"priority":1,"record_length":96,"hex_timestamp":"0000019db35f2ba0"} 
[2026-04-22 09:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:39:13] 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-22 09:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":51043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":51043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":51043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868692736001,"66":12265,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868692736001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:39:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868692736001,"power":12265,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":51043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:39:13] local.INFO: GPS data processed {"connection_id":51043,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:39:13] local.INFO: Acknowledgment sent {"connection_id":51043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:39:27] local.INFO: TCP Data received {"connection_id":50110,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:39:27] local.INFO: Processing buffer {"connection_id":50110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:39:27] local.INFO: IMEI packet received {"connection_id":50110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:39:32] local.INFO: TCP Data received {"connection_id":50110,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:39:32] local.INFO: Processing buffer {"connection_id":50110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:39:32] local.INFO: IMEI packet received {"connection_id":50110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":50110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:39:33] local.INFO: TCP Data received {"connection_id":50110,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:39:33] local.INFO: Processing buffer {"connection_id":50110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:39:33] local.INFO: Packet analysis {"connection_id":50110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:39:33] local.INFO: Extracted packet for processing {"connection_id":50110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09:39:33] 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-22 09:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 09: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-22 09:39: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-22 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:39: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-22 09: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-22 09: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-22 09:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:39:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":50110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:39:33] local.INFO: GPS data processed {"connection_id":50110,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:39:33] local.INFO: Acknowledgment sent {"connection_id":50110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:40:04] local.INFO: TCP Data received {"connection_id":50110,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:40:04] local.INFO: Processing buffer {"connection_id":50110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:40:04] local.INFO: Packet analysis {"connection_id":50110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:40:04] local.INFO: Extracted packet for processing {"connection_id":50110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09: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-22 09:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 09: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-22 09: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-22 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:40:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":50110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:40:04] local.INFO: GPS data processed {"connection_id":50110,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:40:04] local.INFO: Acknowledgment sent {"connection_id":50110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:40:26] local.INFO: TCP Data received {"connection_id":51044,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:40:26] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:40:26] local.INFO: IMEI packet received {"connection_id":51044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":51044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:40:26] local.INFO: TCP Data received {"connection_id":51045,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:40:26] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:40:26] local.INFO: IMEI packet received {"connection_id":51045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":51045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:40:32] local.INFO: TCP Data received {"connection_id":51044,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:40:32] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:40:32] local.INFO: IMEI packet received {"connection_id":51044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":51044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:40:32] local.INFO: TCP Data received {"connection_id":51045,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:40:32] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:40:32] local.INFO: IMEI packet received {"connection_id":51045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":51045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:40:33] local.INFO: TCP Data received {"connection_id":51044,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:40:33] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:40:33] local.INFO: Packet analysis {"connection_id":51044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:40:33] local.INFO: Extracted packet for processing {"connection_id":51044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09:40:33] 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-22 09:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 09: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-22 09:40: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-22 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:40: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-22 09: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-22 09: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-22 09:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:40:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":51044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:40:33] local.INFO: GPS data processed {"connection_id":51044,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:40:33] local.INFO: Acknowledgment sent {"connection_id":51044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:40:36] local.INFO: TCP Data received {"connection_id":51045,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35f7da8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35f7da8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:40:36] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35f7da8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:40:36] local.INFO: Packet analysis {"connection_id":51045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35f"} 
[2026-04-22 09:40:36] local.INFO: Extracted packet for processing {"connection_id":51045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35f"} 
[2026-04-22 09:40:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868698112001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:40:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776830873000,"timestamp_ms":1776830873000,"timestamp_seconds":1776830873,"priority":1,"record_length":96,"hex_timestamp":"0000019db35f7da8"} 
[2026-04-22 09: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-22 09:40:36] 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-22 09: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868698112001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868698112001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:40:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:40:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868698112001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":51045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:40:36] local.INFO: GPS data processed {"connection_id":51045,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:40:36] local.INFO: Acknowledgment sent {"connection_id":51045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:40:58] local.INFO: TCP Data received {"connection_id":51047,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:40:58] local.INFO: Processing buffer {"connection_id":51047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:40:58] local.INFO: IMEI packet received {"connection_id":51047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":51047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:41:02] local.INFO: TCP Data received {"connection_id":51047,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:41:02] local.INFO: Processing buffer {"connection_id":51047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:41:02] local.INFO: IMEI packet received {"connection_id":51047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":51047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:41:04] local.INFO: TCP Data received {"connection_id":51044,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:41:04] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:41:04] local.INFO: Packet analysis {"connection_id":51044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:41:04] local.INFO: Extracted packet for processing {"connection_id":51044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41: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-22 09:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 09: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-22 09: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-22 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:41:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":51044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:41:04] local.INFO: GPS data processed {"connection_id":51044,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:41:04] local.INFO: Acknowledgment sent {"connection_id":51044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:41:07] local.INFO: TCP Data received {"connection_id":51047,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:41:07] local.INFO: Processing buffer {"connection_id":51047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:41:07] local.INFO: IMEI packet received {"connection_id":51047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":51047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:41:08] local.INFO: TCP Data received {"connection_id":51047,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db35fcfb0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35fcfb0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:41:08] local.INFO: Processing buffer {"connection_id":51047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35fcfb0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:41:08] local.INFO: Packet analysis {"connection_id":51047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35f"} 
[2026-04-22 09:41:08] local.INFO: Extracted packet for processing {"connection_id":51047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35f"} 
[2026-04-22 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868703488001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776830894000,"timestamp_ms":1776830894000,"timestamp_seconds":1776830894,"priority":1,"record_length":96,"hex_timestamp":"0000019db35fcfb0"} 
[2026-04-22 09: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-22 09:41:08] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868703488001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868703488001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:41:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:41:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868703488001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":51047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:41:08] local.INFO: GPS data processed {"connection_id":51047,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:41:08] local.INFO: Acknowledgment sent {"connection_id":51047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:41:12] local.INFO: TCP Data received {"connection_id":51047,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36021b8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36021b8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:41:12] local.INFO: Processing buffer {"connection_id":51047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36021b8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:41:12] local.INFO: Packet analysis {"connection_id":51047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db360"} 
[2026-04-22 09:41:12] local.INFO: Extracted packet for processing {"connection_id":51047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db360"} 
[2026-04-22 09:41:12] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868708864001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776830915000,"timestamp_ms":1776830915000,"timestamp_seconds":1776830915,"priority":1,"record_length":96,"hex_timestamp":"0000019db36021b8"} 
[2026-04-22 09: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-22 09:41:12] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":51047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":51047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":51047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868708864001,"66":12265,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868708864001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:41:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868708864001,"power":12265,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":51047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:41:12] local.INFO: GPS data processed {"connection_id":51047,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:41:12] local.INFO: Acknowledgment sent {"connection_id":51047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:41:26] local.INFO: TCP Data received {"connection_id":50112,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:41:26] local.INFO: Processing buffer {"connection_id":50112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:41:26] local.INFO: IMEI packet received {"connection_id":50112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":50112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:41:32] local.INFO: TCP Data received {"connection_id":50112,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:41:32] local.INFO: Processing buffer {"connection_id":50112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:41:32] local.INFO: IMEI packet received {"connection_id":50112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:41:32] local.INFO: TCP Data received {"connection_id":50112,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:41:32] local.INFO: Processing buffer {"connection_id":50112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db35deb50012d7f868005afdbe0000b011629..."} 
[2026-04-22 09:41:32] local.INFO: Packet analysis {"connection_id":50112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:41:32] local.INFO: Extracted packet for processing {"connection_id":50112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db35d"} 
[2026-04-22 09:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 09:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868599040001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189383957842223104,"note":"Value kept but may cause issues"} 
[2026-04-22 09:41: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-22 09:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776830770000,"timestamp_ms":1776830770000,"timestamp_seconds":1776830770,"priority":1,"record_length":96,"hex_timestamp":"0000019db35deb50"} 
[2026-04-22 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-22 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-22 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-22 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-22 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-22 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-22 09:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868599040001,"66":25430,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189383957842223104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868599040001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:41:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189383957842223104,"description":"Unknown IO ID 45"} 
[2026-04-22 09:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868599040001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189383957842223104}} 
[2026-04-22 09:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":50112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:41:33] local.INFO: GPS data processed {"connection_id":50112,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:41:33] local.INFO: Acknowledgment sent {"connection_id":50112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:42:01] local.INFO: TCP Data received {"connection_id":51049,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:01] local.INFO: Processing buffer {"connection_id":51049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:01] local.INFO: IMEI packet received {"connection_id":51049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":51049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:42:01] local.INFO: TCP Data received {"connection_id":51049,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:01] local.INFO: Processing buffer {"connection_id":51049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:01] local.INFO: IMEI packet received {"connection_id":51049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":51049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:42:04] local.INFO: TCP Data received {"connection_id":50112,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:42:04] local.INFO: Processing buffer {"connection_id":50112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:42:04] local.INFO: Packet analysis {"connection_id":50112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:42:04] local.INFO: Extracted packet for processing {"connection_id":50112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42: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-22 09:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 09: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-22 09:42: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-22 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:42: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-22 09: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-22 09: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-22 09:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:42:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":50112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:42:04] local.INFO: GPS data processed {"connection_id":50112,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:42:04] local.INFO: Acknowledgment sent {"connection_id":50112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:42:07] local.INFO: TCP Data received {"connection_id":51049,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:07] local.INFO: Processing buffer {"connection_id":51049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:07] local.INFO: IMEI packet received {"connection_id":51049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":51049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:42:08] local.INFO: TCP Data received {"connection_id":51049,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36073c0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36073c0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:42:08] local.INFO: Processing buffer {"connection_id":51049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36073c0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:42:08] local.INFO: Packet analysis {"connection_id":51049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db360"} 
[2026-04-22 09:42:08] local.INFO: Extracted packet for processing {"connection_id":51049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db360"} 
[2026-04-22 09:42:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868714240001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776830936000,"timestamp_ms":1776830936000,"timestamp_seconds":1776830936,"priority":1,"record_length":96,"hex_timestamp":"0000019db36073c0"} 
[2026-04-22 09: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-22 09:42:08] 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-22 09: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 09:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868714240001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868714240001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:42:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:42:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868714240001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":51049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:42:08] local.INFO: GPS data processed {"connection_id":51049,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:42:08] local.INFO: Acknowledgment sent {"connection_id":51049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:42:27] local.INFO: TCP Data received {"connection_id":50488,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:42:27] local.INFO: Processing buffer {"connection_id":50488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:42:27] local.INFO: IMEI packet received {"connection_id":50488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:42:32] local.INFO: TCP Data received {"connection_id":50488,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:42:32] local.INFO: Processing buffer {"connection_id":50488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:42:32] local.INFO: IMEI packet received {"connection_id":50488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:42:33] local.INFO: TCP Data received {"connection_id":50488,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:42:33] local.INFO: Processing buffer {"connection_id":50488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:42:33] local.INFO: Packet analysis {"connection_id":50488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:42:33] local.INFO: Extracted packet for processing {"connection_id":50488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 09:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:33] 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-22 09:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 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-22 09:42: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-22 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 09:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:42:33] 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-22 09:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:42:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:42:33] local.INFO: GPS data processed {"connection_id":50488,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:42:33] local.INFO: Acknowledgment sent {"connection_id":50488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:42:40] local.INFO: TCP Data received {"connection_id":51049,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db360c1e0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db360c1e0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:42:40] local.INFO: Processing buffer {"connection_id":51049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db360c1e0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:42:40] local.INFO: Packet analysis {"connection_id":51049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db360"} 
[2026-04-22 09:42:40] local.INFO: Extracted packet for processing {"connection_id":51049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db360"} 
[2026-04-22 09:42:40] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868719616001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776830956000,"timestamp_ms":1776830956000,"timestamp_seconds":1776830956,"priority":1,"record_length":96,"hex_timestamp":"0000019db360c1e0"} 
[2026-04-22 09:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:42:40] 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-22 09:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":51049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":51049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":51049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868719616001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868719616001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:42:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868719616001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":51049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:42:40] local.INFO: GPS data processed {"connection_id":51049,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:42:40] local.INFO: Acknowledgment sent {"connection_id":51049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:42:57] local.INFO: TCP Data received {"connection_id":50489,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:57] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:42:57] local.INFO: IMEI packet received {"connection_id":50489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":50489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:43:02] local.INFO: TCP Data received {"connection_id":50489,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:43:02] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:43:02] local.INFO: IMEI packet received {"connection_id":50489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":50489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:43:04] local.INFO: TCP Data received {"connection_id":50489,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36113e8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36113e8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:43:04] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36113e8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:43:04] local.INFO: Packet analysis {"connection_id":50489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db361"} 
[2026-04-22 09:43:04] local.INFO: Extracted packet for processing {"connection_id":50489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db361"} 
[2026-04-22 09:43:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868724736001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776830977000,"timestamp_ms":1776830977000,"timestamp_seconds":1776830977,"priority":1,"record_length":96,"hex_timestamp":"0000019db36113e8"} 
[2026-04-22 09:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:43:04] 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-22 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:43:04] 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-22 09:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868724736001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868724736001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868724736001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:43:04] local.INFO: GPS data processed {"connection_id":50489,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:43:04] local.INFO: Acknowledgment sent {"connection_id":50489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:43:04] local.INFO: TCP Data received {"connection_id":50488,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:43:04] local.INFO: Processing buffer {"connection_id":50488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:43:04] local.INFO: Packet analysis {"connection_id":50488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:43:04] local.INFO: Extracted packet for processing {"connection_id":50488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43: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-22 09:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 09:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:43: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-22 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:43: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-22 09:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:43: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-22 09:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:43:04] local.INFO: GPS data processed {"connection_id":50488,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:43:04] local.INFO: Acknowledgment sent {"connection_id":50488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:43:06] local.INFO: TCP Data received {"connection_id":50361,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:43:06] local.INFO: Processing buffer {"connection_id":50361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:43:06] local.INFO: IMEI packet received {"connection_id":50361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":50361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:43:27] local.INFO: TCP Data received {"connection_id":50113,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:43:27] local.INFO: Processing buffer {"connection_id":50113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:43:27] local.INFO: IMEI packet received {"connection_id":50113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":50113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:43:32] local.INFO: TCP Data received {"connection_id":50113,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:43:32] local.INFO: Processing buffer {"connection_id":50113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:43:32] local.INFO: IMEI packet received {"connection_id":50113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":50113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:43:33] local.INFO: TCP Data received {"connection_id":50113,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:43:33] local.INFO: Processing buffer {"connection_id":50113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:43:33] local.INFO: Packet analysis {"connection_id":50113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:43:33] local.INFO: Extracted packet for processing {"connection_id":50113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:33] 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-22 09:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 09: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-22 09:43: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-22 09: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:43:33] 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-22 09:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:43:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":50113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:43:33] local.INFO: GPS data processed {"connection_id":50113,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:43:33] local.INFO: Acknowledgment sent {"connection_id":50113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:43:35] local.INFO: TCP Data received {"connection_id":50489,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36165f0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36165f0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:43:35] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36165f0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:43:35] local.INFO: Packet analysis {"connection_id":50489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db361"} 
[2026-04-22 09:43:35] local.INFO: Extracted packet for processing {"connection_id":50489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db361"} 
[2026-04-22 09:43:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868730112001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776830998000,"timestamp_ms":1776830998000,"timestamp_seconds":1776830998,"priority":1,"record_length":96,"hex_timestamp":"0000019db36165f0"} 
[2026-04-22 09: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-22 09:43:35] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:43:35] 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-22 09: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-22 09: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-22 09:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868730112001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868730112001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:43:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:43:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868730112001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":50489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:43:36] local.INFO: GPS data processed {"connection_id":50489,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:43:36] local.INFO: Acknowledgment sent {"connection_id":50489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:43:51] local.INFO: TCP Data received {"connection_id":51050,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:43:51] local.INFO: Processing buffer {"connection_id":51050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:43:51] local.INFO: IMEI packet received {"connection_id":51050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":51050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:43:56] local.INFO: TCP Data received {"connection_id":50490,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:43:56] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:43:56] local.INFO: IMEI packet received {"connection_id":50490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":50490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:44:04] local.INFO: TCP Data received {"connection_id":50113,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:44:04] local.INFO: Processing buffer {"connection_id":50113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:44:04] local.INFO: Packet analysis {"connection_id":50113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:44:04] local.INFO: Extracted packet for processing {"connection_id":50113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44: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-22 09:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 09: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-22 09:44: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-22 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:44: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-22 09: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-22 09: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-22 09:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:44: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-22 09:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:44:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:44:04] local.INFO: GPS data processed {"connection_id":50113,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:44:04] local.INFO: Acknowledgment sent {"connection_id":50113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:44:04] local.INFO: TCP Data received {"connection_id":50490,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:44:04] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:44:04] local.INFO: IMEI packet received {"connection_id":50490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":50490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:44:05] local.INFO: TCP Data received {"connection_id":50490,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db361b7f8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db361b7f8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:44:05] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db361b7f8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:44:05] local.INFO: Packet analysis {"connection_id":50490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db361"} 
[2026-04-22 09:44:05] local.INFO: Extracted packet for processing {"connection_id":50490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db361"} 
[2026-04-22 09:44:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868735488001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776831019000,"timestamp_ms":1776831019000,"timestamp_seconds":1776831019,"priority":1,"record_length":96,"hex_timestamp":"0000019db361b7f8"} 
[2026-04-22 09: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-22 09:44:05] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868735488001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868735488001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:44:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868735488001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":50490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:44:06] local.INFO: GPS data processed {"connection_id":50490,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:44:06] local.INFO: Acknowledgment sent {"connection_id":50490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:44:26] local.INFO: TCP Data received {"connection_id":51051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:44:26] local.INFO: Processing buffer {"connection_id":51051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:44:26] local.INFO: IMEI packet received {"connection_id":51051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":51051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:44:32] local.INFO: TCP Data received {"connection_id":51051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:44:32] local.INFO: Processing buffer {"connection_id":51051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:44:32] local.INFO: IMEI packet received {"connection_id":51051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":51051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:44:32] local.INFO: TCP Data received {"connection_id":51051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:44:32] local.INFO: Processing buffer {"connection_id":51051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:44:32] local.INFO: Packet analysis {"connection_id":51051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:44:32] local.INFO: Extracted packet for processing {"connection_id":51051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 09:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44: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-22 09:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 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-22 09:44: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-22 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:44: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-22 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-22 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-22 09:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:44: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-22 09:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:44:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":51051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:44:32] local.INFO: GPS data processed {"connection_id":51051,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:44:32] local.INFO: Acknowledgment sent {"connection_id":51051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:44:37] local.INFO: TCP Data received {"connection_id":50490,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3620a00012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3620a00012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:44:37] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3620a00012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:44:37] local.INFO: Packet analysis {"connection_id":50490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:44:37] local.INFO: Extracted packet for processing {"connection_id":50490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:44:37] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868740864001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776831040000,"timestamp_ms":1776831040000,"timestamp_seconds":1776831040,"priority":1,"record_length":96,"hex_timestamp":"0000019db3620a00"} 
[2026-04-22 09: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-22 09:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868740864001,"66":11547,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868740864001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:44:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868740864001,"power":11547,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":50490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:44:37] local.INFO: GPS data processed {"connection_id":50490,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:44:37] local.INFO: Acknowledgment sent {"connection_id":50490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:44:56] local.INFO: TCP Data received {"connection_id":50363,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:44:56] local.INFO: Processing buffer {"connection_id":50363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:44:56] local.INFO: IMEI packet received {"connection_id":50363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":50363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:45:02] local.INFO: TCP Data received {"connection_id":50363,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:45:02] local.INFO: Processing buffer {"connection_id":50363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:45:02] local.INFO: IMEI packet received {"connection_id":50363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":50363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:45:03] local.INFO: TCP Data received {"connection_id":51051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:45:03] local.INFO: Processing buffer {"connection_id":51051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:45:03] local.INFO: Packet analysis {"connection_id":51051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:45:03] local.INFO: Extracted packet for processing {"connection_id":51051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45: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-22 09:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 09: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-22 09:45: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-22 09:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:45: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-22 09:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:45:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":51051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:45:03] local.INFO: GPS data processed {"connection_id":51051,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:45:03] local.INFO: Acknowledgment sent {"connection_id":51051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:45:04] local.INFO: TCP Data received {"connection_id":50363,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3625ff0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3625ff0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:45:04] local.INFO: Processing buffer {"connection_id":50363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3625ff0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:45:04] local.INFO: Packet analysis {"connection_id":50363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:45:04] local.INFO: Extracted packet for processing {"connection_id":50363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:45:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868746240001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776831062000,"timestamp_ms":1776831062000,"timestamp_seconds":1776831062,"priority":1,"record_length":96,"hex_timestamp":"0000019db3625ff0"} 
[2026-04-22 09: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-22 09:45:04] 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-22 09: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 09:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868746240001,"66":12319,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868746240001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:45:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:45:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868746240001,"power":12319,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":50363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:45:04] local.INFO: GPS data processed {"connection_id":50363,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:45:04] local.INFO: Acknowledgment sent {"connection_id":50363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:45:26] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:45:26] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:45:26] local.INFO: IMEI packet received {"connection_id":51053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":51053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:45:32] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:45:32] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:45:32] local.INFO: IMEI packet received {"connection_id":51053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":51053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:45:33] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:45:33] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:45:33] local.INFO: Packet analysis {"connection_id":51053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:45:33] local.INFO: Extracted packet for processing {"connection_id":51053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:33] 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-22 09:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 09:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:45: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-22 09:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:45:33] local.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-22 09:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:45:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":51053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:45:33] local.INFO: GPS data processed {"connection_id":51053,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:45:33] local.INFO: Acknowledgment sent {"connection_id":51053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:45:36] local.INFO: TCP Data received {"connection_id":50363,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db362b1f8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db362b1f8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:45:36] local.INFO: Processing buffer {"connection_id":50363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db362b1f8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:45:36] local.INFO: Packet analysis {"connection_id":50363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:45:36] local.INFO: Extracted packet for processing {"connection_id":50363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868751872001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776831083000,"timestamp_ms":1776831083000,"timestamp_seconds":1776831083,"priority":1,"record_length":96,"hex_timestamp":"0000019db362b1f8"} 
[2026-04-22 09: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-22 09:45:36] 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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:45:36] 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-22 09: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-22 09: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-22 09:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868751872001,"66":12145,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868751872001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:45:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868751872001,"power":12145,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":50363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:45:36] local.INFO: GPS data processed {"connection_id":50363,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:45:36] local.INFO: Acknowledgment sent {"connection_id":50363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:45:56] local.INFO: TCP Data received {"connection_id":50114,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:45:56] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:45:56] local.INFO: IMEI packet received {"connection_id":50114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":50114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:46:02] local.INFO: TCP Data received {"connection_id":50114,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:46:02] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:46:02] local.INFO: IMEI packet received {"connection_id":50114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":50114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:46:03] local.INFO: TCP Data received {"connection_id":50114,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3630400012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3630400012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:46:03] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3630400012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:46:03] local.INFO: Packet analysis {"connection_id":50114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db363"} 
[2026-04-22 09:46:03] local.INFO: Extracted packet for processing {"connection_id":50114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db363"} 
[2026-04-22 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868757248001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831104000,"timestamp_ms":1776831104000,"timestamp_seconds":1776831104,"priority":1,"record_length":96,"hex_timestamp":"0000019db3630400"} 
[2026-04-22 09:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:46:03] 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-22 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-22 09:46:03] 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-22 09:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868757248001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868757248001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:46:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868757248001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":50114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:46:03] local.INFO: GPS data processed {"connection_id":50114,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:46:03] local.INFO: Acknowledgment sent {"connection_id":50114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:46:04] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:46:04] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:46:04] local.INFO: Packet analysis {"connection_id":51053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:46:04] local.INFO: Extracted packet for processing {"connection_id":51053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46: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-22 09:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 09: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-22 09:46: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-22 09: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-22 09: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-22 09: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-22 09: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-22 09:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":51053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:46:04] local.INFO: GPS data processed {"connection_id":51053,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:46:04] local.INFO: Acknowledgment sent {"connection_id":51053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:46:32] local.INFO: TCP Data received {"connection_id":51055,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:46:32] local.INFO: Processing buffer {"connection_id":51055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:46:32] local.INFO: IMEI packet received {"connection_id":51055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":51055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:46:35] local.INFO: TCP Data received {"connection_id":50114,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3635608012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3635608012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:46:35] local.INFO: Processing buffer {"connection_id":50114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3635608012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:46:35] local.INFO: Packet analysis {"connection_id":50114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db363"} 
[2026-04-22 09:46:35] local.INFO: Extracted packet for processing {"connection_id":50114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db363"} 
[2026-04-22 09:46:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868762624001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776831125000,"timestamp_ms":1776831125000,"timestamp_seconds":1776831125,"priority":1,"record_length":96,"hex_timestamp":"0000019db3635608"} 
[2026-04-22 09:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:46:35] 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-22 09:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5521199975319669007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95747671569989632,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920996139214,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":101,"raw_value":4026608886,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:35] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,177,44,192,78,12,42,10,66,95,41,1,240,27,179,29,4,113,205,101,40,39,239,47,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:46:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065134207270912,"timestamp_seconds":865065134207270.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868762624001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868762624001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:46:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868762624001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":50114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:46:35] local.INFO: GPS data processed {"connection_id":50114,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:46:35] local.INFO: Acknowledgment sent {"connection_id":50114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:46:37] local.INFO: TCP Data received {"connection_id":51055,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:46:37] local.INFO: Processing buffer {"connection_id":51055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:46:37] local.INFO: IMEI packet received {"connection_id":51055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":51055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:46:37] local.INFO: TCP Data received {"connection_id":51055,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:46:37] local.INFO: Processing buffer {"connection_id":51055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:46:37] local.INFO: Packet analysis {"connection_id":51055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:46:37] local.INFO: Extracted packet for processing {"connection_id":51055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:37] 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-22 09:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 09: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-22 09:46: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-22 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:46:37] 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-22 09: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-22 09: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-22 09:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:46:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":51055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:46:37] local.INFO: GPS data processed {"connection_id":51055,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:46:37] local.INFO: Acknowledgment sent {"connection_id":51055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:46:42] local.INFO: TCP Data received {"connection_id":51055,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:46:42] local.INFO: Processing buffer {"connection_id":51055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3628318012d7f868005afdbe0000b01162b..."} 
[2026-04-22 09:46:42] local.INFO: Packet analysis {"connection_id":51055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:46:42] local.INFO: Extracted packet for processing {"connection_id":51055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db362"} 
[2026-04-22 09:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868677120001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:46:42] 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-22 09:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776831071000,"timestamp_ms":1776831071000,"timestamp_seconds":1776831071,"priority":1,"record_length":96,"hex_timestamp":"0000019db3628318"} 
[2026-04-22 09:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 09:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 09:46:42] 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-22 09:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868677120001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868677120001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:46:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868677120001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":51055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:46:42] local.INFO: GPS data processed {"connection_id":51055,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:46:42] local.INFO: Acknowledgment sent {"connection_id":51055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:47:02] local.INFO: TCP Data received {"connection_id":50491,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:02] local.INFO: Processing buffer {"connection_id":50491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:02] local.INFO: IMEI packet received {"connection_id":50491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":50491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:47:07] local.INFO: TCP Data received {"connection_id":50491,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:07] local.INFO: Processing buffer {"connection_id":50491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:07] local.INFO: IMEI packet received {"connection_id":50491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":50491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:47:08] local.INFO: TCP Data received {"connection_id":50491,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db363a810012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db363a810012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:47:08] local.INFO: Processing buffer {"connection_id":50491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db363a810012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:47:08] local.INFO: Packet analysis {"connection_id":50491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db363"} 
[2026-04-22 09:47:08] local.INFO: Extracted packet for processing {"connection_id":50491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db363"} 
[2026-04-22 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868768000001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:47:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776831146000,"timestamp_ms":1776831146000,"timestamp_seconds":1776831146,"priority":1,"record_length":96,"hex_timestamp":"0000019db363a810"} 
[2026-04-22 09: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-22 09:47:08] 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-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868768000001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868768000001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:47:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:47:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868768000001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":50491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:47:08] local.INFO: GPS data processed {"connection_id":50491,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:47:08] local.INFO: Acknowledgment sent {"connection_id":50491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:47:12] local.INFO: TCP Data received {"connection_id":50491,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db363fa18012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db363fa18012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:47:12] local.INFO: Processing buffer {"connection_id":50491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db363fa18012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:47:12] local.INFO: Packet analysis {"connection_id":50491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db363"} 
[2026-04-22 09:47:12] local.INFO: Extracted packet for processing {"connection_id":50491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db363"} 
[2026-04-22 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868773376001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776831167000,"timestamp_ms":1776831167000,"timestamp_seconds":1776831167,"priority":1,"record_length":96,"hex_timestamp":"0000019db363fa18"} 
[2026-04-22 09:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868773376001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868773376001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:47:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868773376001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":50491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:47:12] local.INFO: GPS data processed {"connection_id":50491,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:47:12] local.INFO: Acknowledgment sent {"connection_id":50491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:47:27] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:47:27] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:47:27] local.INFO: IMEI packet received {"connection_id":50364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:47:32] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:47:32] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:47:32] local.INFO: IMEI packet received {"connection_id":50364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:47:33] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:47:33] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:47:33] local.INFO: Packet analysis {"connection_id":50364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:47:33] local.INFO: Extracted packet for processing {"connection_id":50364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":10,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868754176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:47:33] 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-22 09:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776831371000,"timestamp_ms":1776831371000,"timestamp_seconds":1776831371,"priority":1,"record_length":96,"hex_timestamp":"0000019db36716f8"} 
[2026-04-22 09: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-22 09:47: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-22 09:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:47: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-22 09: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-22 09: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-22 09:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868754176001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868754176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868754176001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:47:33] local.INFO: GPS data processed {"connection_id":50364,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:47:33] local.INFO: Acknowledgment sent {"connection_id":50364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:47:57] local.INFO: TCP Data received {"connection_id":50365,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:57] local.INFO: Processing buffer {"connection_id":50365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:57] local.INFO: IMEI packet received {"connection_id":50365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":50365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:47:58] local.INFO: TCP Data received {"connection_id":50365,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:58] local.INFO: Processing buffer {"connection_id":50365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:47:58] local.INFO: IMEI packet received {"connection_id":50365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":50365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:48:01] local.INFO: TCP Data received {"connection_id":50365,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3678070012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3678070012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:48:01] local.INFO: Processing buffer {"connection_id":50365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3678070012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:48:01] local.INFO: Packet analysis {"connection_id":50365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:48:01] local.INFO: Extracted packet for processing {"connection_id":50365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:48:01] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868832512001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776831398000,"timestamp_ms":1776831398000,"timestamp_seconds":1776831398,"priority":1,"record_length":96,"hex_timestamp":"0000019db3678070"} 
[2026-04-22 09:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:48:01] 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-22 09:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5520027449247861007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95747671569989632,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920996139214,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:48:01] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143908,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:01] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,220,44,192,78,12,40,10,66,134,39,52,1,240,255,179,29,4,113,205,144,41,239,47,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:48:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065134207270912,"timestamp_seconds":865065134207270.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":50365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":50365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":50365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868832512001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868832512001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:48:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868832512001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":50365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:48:01] local.INFO: GPS data processed {"connection_id":50365,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:48:01] local.INFO: Acknowledgment sent {"connection_id":50365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:48:04] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:48:04] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:48:04] local.INFO: Packet analysis {"connection_id":50364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:48:04] local.INFO: Extracted packet for processing {"connection_id":50364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":10,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868754176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48: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-22 09:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776831371000,"timestamp_ms":1776831371000,"timestamp_seconds":1776831371,"priority":1,"record_length":96,"hex_timestamp":"0000019db36716f8"} 
[2026-04-22 09: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-22 09:48: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-22 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:48: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-22 09:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868754176001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868754176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:48:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868754176001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":50364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:48:04] local.INFO: GPS data processed {"connection_id":50364,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:48:04] local.INFO: Acknowledgment sent {"connection_id":50364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:48:09] local.INFO: TCP Data received {"connection_id":50365,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db367d278012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db367d278012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:48:09] local.INFO: Processing buffer {"connection_id":50365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db367d278012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:48:09] local.INFO: Packet analysis {"connection_id":50365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:48:09] local.INFO: Extracted packet for processing {"connection_id":50365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:48:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868837888001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776831419000,"timestamp_ms":1776831419000,"timestamp_seconds":1776831419,"priority":1,"record_length":96,"hex_timestamp":"0000019db367d278"} 
[2026-04-22 09: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-22 09:48:09] 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-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5519937254934645007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95746572058361856,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471508504782,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:48:09] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:09] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,46,44,192,78,12,40,10,66,220,134,1,240,255,179,29,4,113,205,226,41,239,47,148,42],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:48:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065134207270912,"timestamp_seconds":865065134207270.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868837888001,"66":12319,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868837888001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:48:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868837888001,"power":12319,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":50365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:48:09] local.INFO: GPS data processed {"connection_id":50365,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:48:09] local.INFO: Acknowledgment sent {"connection_id":50365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:48:26] local.INFO: TCP Data received {"connection_id":51056,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:48:26] local.INFO: Processing buffer {"connection_id":51056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:48:26] local.INFO: IMEI packet received {"connection_id":51056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":51056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:48:32] local.INFO: TCP Data received {"connection_id":51056,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:48:32] local.INFO: Processing buffer {"connection_id":51056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:48:32] local.INFO: IMEI packet received {"connection_id":51056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":51056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:48:32] local.INFO: TCP Data received {"connection_id":51056,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:48:32] local.INFO: Processing buffer {"connection_id":51056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:48:32] local.INFO: Packet analysis {"connection_id":51056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:48:32] local.INFO: Extracted packet for processing {"connection_id":51056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":10,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 09:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868754176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48: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-22 09:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831371000,"timestamp_ms":1776831371000,"timestamp_seconds":1776831371,"priority":1,"record_length":96,"hex_timestamp":"0000019db36716f8"} 
[2026-04-22 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-22 09:48: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:48: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-22 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-22 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-22 09:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:48:32] 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-22 09:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868754176001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868754176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:48:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868754176001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":51056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:48:32] local.INFO: GPS data processed {"connection_id":51056,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:48:32] local.INFO: Acknowledgment sent {"connection_id":51056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:48:40] local.INFO: TCP Data received {"connection_id":50365,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3682480012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3682480012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:48:40] local.INFO: Processing buffer {"connection_id":50365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3682480012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:48:40] local.INFO: Packet analysis {"connection_id":50365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db368"} 
[2026-04-22 09:48:40] local.INFO: Extracted packet for processing {"connection_id":50365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db368"} 
[2026-04-22 09:48:40] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868843264001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776831440000,"timestamp_ms":1776831440000,"timestamp_seconds":1776831440,"priority":1,"record_length":96,"hex_timestamp":"0000019db3682480"} 
[2026-04-22 09:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:48:40] 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-22 09:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868843264001,"66":12254,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868843264001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:48:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868843264001,"power":12254,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":50365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:48:40] local.INFO: GPS data processed {"connection_id":50365,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:48:40] local.INFO: Acknowledgment sent {"connection_id":50365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:48:57] local.INFO: TCP Data received {"connection_id":50118,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:48:57] local.INFO: Processing buffer {"connection_id":50118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:48:57] local.INFO: IMEI packet received {"connection_id":50118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":50118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:49:01] local.INFO: TCP Data received {"connection_id":50118,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:49:01] local.INFO: Processing buffer {"connection_id":50118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:49:01] local.INFO: IMEI packet received {"connection_id":50118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":50118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:49:02] local.INFO: TCP Data received {"connection_id":50118,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3687688012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3687688012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:49:02] local.INFO: Processing buffer {"connection_id":50118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3687688012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:49:02] local.INFO: Packet analysis {"connection_id":50118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db368"} 
[2026-04-22 09:49:02] local.INFO: Extracted packet for processing {"connection_id":50118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db368"} 
[2026-04-22 09:49:02] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868848640001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776831461000,"timestamp_ms":1776831461000,"timestamp_seconds":1776831461,"priority":1,"record_length":96,"hex_timestamp":"0000019db3687688"} 
[2026-04-22 09: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-22 09:49: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-22 09: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-04-22 09:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868848640001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868848640001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:49:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:49:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868848640001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":50118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:49:02] local.INFO: GPS data processed {"connection_id":50118,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:49:02] local.INFO: Acknowledgment sent {"connection_id":50118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:49:03] local.INFO: TCP Data received {"connection_id":51056,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:49:03] local.INFO: Processing buffer {"connection_id":51056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:49:03] local.INFO: Packet analysis {"connection_id":51056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:49:03] local.INFO: Extracted packet for processing {"connection_id":51056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":10,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868754176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49: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-22 09:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831371000,"timestamp_ms":1776831371000,"timestamp_seconds":1776831371,"priority":1,"record_length":96,"hex_timestamp":"0000019db36716f8"} 
[2026-04-22 09: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-22 09:49: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-22 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:49:04] 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-22 09:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868754176001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868754176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:49:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868754176001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":51056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:49:04] local.INFO: GPS data processed {"connection_id":51056,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:49:04] local.INFO: Acknowledgment sent {"connection_id":51056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:49:06] local.INFO: TCP Data received {"connection_id":50117,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:49:06] local.INFO: Processing buffer {"connection_id":50117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:49:06] local.INFO: IMEI packet received {"connection_id":50117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":50117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:49:26] local.INFO: TCP Data received {"connection_id":50492,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:49:26] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:49:26] local.INFO: IMEI packet received {"connection_id":50492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":50492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:49:32] local.INFO: TCP Data received {"connection_id":50492,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:49:32] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:49:32] local.INFO: IMEI packet received {"connection_id":50492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:49:32] local.INFO: TCP Data received {"connection_id":50492,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:49:32] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:49:32] local.INFO: Packet analysis {"connection_id":50492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:49:32] local.INFO: Extracted packet for processing {"connection_id":50492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":10,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 09:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868754176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49: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-22 09:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831371000,"timestamp_ms":1776831371000,"timestamp_seconds":1776831371,"priority":1,"record_length":96,"hex_timestamp":"0000019db36716f8"} 
[2026-04-22 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-22 09:49: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:49: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-22 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-22 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-22 09:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:49:32] 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-22 09:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868754176001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868754176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868754176001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":50492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:49:32] local.INFO: GPS data processed {"connection_id":50492,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:49:32] local.INFO: Acknowledgment sent {"connection_id":50492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:49:33] local.INFO: TCP Data received {"connection_id":50118,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db368c4a8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db368c4a8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:49:33] local.INFO: Processing buffer {"connection_id":50118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db368c4a8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:49:33] local.INFO: Packet analysis {"connection_id":50118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db368"} 
[2026-04-22 09:49:33] local.INFO: Extracted packet for processing {"connection_id":50118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db368"} 
[2026-04-22 09:49:33] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868854016001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776831481000,"timestamp_ms":1776831481000,"timestamp_seconds":1776831481,"priority":1,"record_length":96,"hex_timestamp":"0000019db368c4a8"} 
[2026-04-22 09: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-22 09:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5519666671994997007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95744373035106304,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920996139214,"note":"Value kept but may cause issues"} 
[2026-04-22 09:49:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:49:34] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,96,2,24,241,158,16,7,157,36,44,192,78,12,40,10,66,210,128,1,240,179,29,4,113,205,220,239,48,148],"length":534,"final_offset":664,"validated_count":30,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:49:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065129912303616,"timestamp_seconds":865065129912303.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868854016001,"66":12319,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868854016001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:49:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868854016001,"power":12319,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":50118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:49:34] local.INFO: GPS data processed {"connection_id":50118,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:49:34] local.INFO: Acknowledgment sent {"connection_id":50118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:49:56] local.INFO: TCP Data received {"connection_id":51057,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:49:56] local.INFO: Processing buffer {"connection_id":51057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:49:56] local.INFO: IMEI packet received {"connection_id":51057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":51057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:49:57] local.INFO: TCP Data received {"connection_id":51058,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:49:57] local.INFO: Processing buffer {"connection_id":51058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:49:57] local.INFO: IMEI packet received {"connection_id":51058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":51058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:50:02] local.INFO: TCP Data received {"connection_id":51058,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:50:02] local.INFO: Processing buffer {"connection_id":51058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:50:02] local.INFO: IMEI packet received {"connection_id":51058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":51058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:50:03] local.INFO: TCP Data received {"connection_id":51058,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3691a98012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3691a98012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:50:03] local.INFO: Processing buffer {"connection_id":51058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3691a98012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:50:03] local.INFO: Packet analysis {"connection_id":51058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db369"} 
[2026-04-22 09:50:03] local.INFO: Extracted packet for processing {"connection_id":51058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db369"} 
[2026-04-22 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868859136001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831503000,"timestamp_ms":1776831503000,"timestamp_seconds":1776831503,"priority":1,"record_length":96,"hex_timestamp":"0000019db3691a98"} 
[2026-04-22 09:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:50:03] 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-22 09:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868859136001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868859136001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:50:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868859136001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":51058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:50:03] local.INFO: GPS data processed {"connection_id":51058,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:50:03] local.INFO: Acknowledgment sent {"connection_id":51058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:50:04] local.INFO: TCP Data received {"connection_id":50492,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:50:04] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:50:04] local.INFO: Packet analysis {"connection_id":50492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:50:04] local.INFO: Extracted packet for processing {"connection_id":50492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":10,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868754176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50: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-22 09:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776831371000,"timestamp_ms":1776831371000,"timestamp_seconds":1776831371,"priority":1,"record_length":96,"hex_timestamp":"0000019db36716f8"} 
[2026-04-22 09:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:50: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-22 09:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:50:04] 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-22 09:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868754176001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868754176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:50:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868754176001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":50492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:50:04] local.INFO: GPS data processed {"connection_id":50492,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:50:04] local.INFO: Acknowledgment sent {"connection_id":50492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:50:32] local.INFO: TCP Data received {"connection_id":50119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:50:32] local.INFO: Processing buffer {"connection_id":50119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:50:32] local.INFO: IMEI packet received {"connection_id":50119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":50119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:50:34] local.INFO: TCP Data received {"connection_id":51058,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36968b8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36968b8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:50:34] local.INFO: Processing buffer {"connection_id":51058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36968b8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:50:34] local.INFO: Packet analysis {"connection_id":51058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db369"} 
[2026-04-22 09:50:34] local.INFO: Extracted packet for processing {"connection_id":51058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db369"} 
[2026-04-22 09:50:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776831523000,"timestamp_ms":1776831523000,"timestamp_seconds":1776831523,"priority":1,"record_length":96,"hex_timestamp":"0000019db36968b8"} 
[2026-04-22 09:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:50:34] 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-22 09:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868864768001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:50:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868864768001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":51058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:50:34] local.INFO: GPS data processed {"connection_id":51058,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:50:34] local.INFO: Acknowledgment sent {"connection_id":51058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:50:37] local.INFO: TCP Data received {"connection_id":50119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:50:37] local.INFO: Processing buffer {"connection_id":50119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:50:37] local.INFO: IMEI packet received {"connection_id":50119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":50119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:50:38] local.INFO: TCP Data received {"connection_id":50119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:50:38] local.INFO: Processing buffer {"connection_id":50119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:50:38] local.INFO: Packet analysis {"connection_id":50119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:50:38] local.INFO: Extracted packet for processing {"connection_id":50119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":10,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868754176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:38] 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-22 09:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776831371000,"timestamp_ms":1776831371000,"timestamp_seconds":1776831371,"priority":1,"record_length":96,"hex_timestamp":"0000019db36716f8"} 
[2026-04-22 09: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-22 09:50: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-22 09:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:50:38] 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-22 09: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-22 09: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-22 09:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:50:38] local.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-22 09:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868754176001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868754176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:50:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868754176001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":50119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:50:38] local.INFO: GPS data processed {"connection_id":50119,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:50:38] local.INFO: Acknowledgment sent {"connection_id":50119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:50:42] local.INFO: TCP Data received {"connection_id":50119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:50:42] local.INFO: Processing buffer {"connection_id":50119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:50:42] local.INFO: Packet analysis {"connection_id":50119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:50:42] local.INFO: Extracted packet for processing {"connection_id":50119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":10,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868754176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:50:42] 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-22 09:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776831371000,"timestamp_ms":1776831371000,"timestamp_seconds":1776831371,"priority":1,"record_length":96,"hex_timestamp":"0000019db36716f8"} 
[2026-04-22 09:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:50:42] 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-22 09:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:50:42] local.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-22 09:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868754176001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 09:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868754176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:50:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868754176001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":50119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:50:42] local.INFO: GPS data processed {"connection_id":50119,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:50:42] local.INFO: Acknowledgment sent {"connection_id":50119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:50:56] local.INFO: TCP Data received {"connection_id":50494,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:50:56] local.INFO: Processing buffer {"connection_id":50494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:50:56] local.INFO: IMEI packet received {"connection_id":50494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":50494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:51:02] local.INFO: TCP Data received {"connection_id":50494,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:51:02] local.INFO: Processing buffer {"connection_id":50494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:51:02] local.INFO: IMEI packet received {"connection_id":50494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":50494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:51:03] local.INFO: TCP Data received {"connection_id":50494,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db369bac0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db369bac0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:51:03] local.INFO: Processing buffer {"connection_id":50494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db369bac0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:51:03] local.INFO: Packet analysis {"connection_id":50494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db369"} 
[2026-04-22 09:51:03] local.INFO: Extracted packet for processing {"connection_id":50494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db369"} 
[2026-04-22 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868869888001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831544000,"timestamp_ms":1776831544000,"timestamp_seconds":1776831544,"priority":1,"record_length":96,"hex_timestamp":"0000019db369bac0"} 
[2026-04-22 09:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5519391794088053007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95745472546734080,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145739956430,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:51:03] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,96,2,24,241,158,16,7,157,26,44,192,78,12,41,10,66,196,40,118,1,240,179,29,4,113,205,210,239,48,148],"length":534,"final_offset":664,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:51:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065147092172800,"timestamp_seconds":865065147092172.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868869888001,"66":12319,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868869888001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:51:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868869888001,"power":12319,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":50494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:51:03] local.INFO: GPS data processed {"connection_id":50494,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:51:03] local.INFO: Acknowledgment sent {"connection_id":50494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:51:27] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:51:27] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:51:27] local.INFO: IMEI packet received {"connection_id":50366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":50366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:51:32] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:51:32] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:51:32] local.INFO: IMEI packet received {"connection_id":50366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:51:33] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:51:33] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36716f8012d7f868005afdbe0000a011628..."} 
[2026-04-22 09:51:33] local.INFO: Packet analysis {"connection_id":50366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:51:33] local.INFO: Extracted packet for processing {"connection_id":50366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db367"} 
[2026-04-22 09:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":10,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868754176001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:33] 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-22 09:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776831371000,"timestamp_ms":1776831371000,"timestamp_seconds":1776831371,"priority":1,"record_length":96,"hex_timestamp":"0000019db36716f8"} 
[2026-04-22 09: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-22 09:51: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-22 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:51: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-22 09: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-22 09: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-22 09:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868754176001,"66":25397,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868754176001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:51:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868754176001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:51:33] local.INFO: GPS data processed {"connection_id":50366,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:51:33] local.INFO: Acknowledgment sent {"connection_id":50366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:51:34] local.INFO: TCP Data received {"connection_id":50494,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36a0cc8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36a0cc8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:51:34] local.INFO: Processing buffer {"connection_id":50494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36a0cc8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:51:34] local.INFO: Packet analysis {"connection_id":50494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36a"} 
[2026-04-22 09:51:34] local.INFO: Extracted packet for processing {"connection_id":50494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36a"} 
[2026-04-22 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868875264001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776831565000,"timestamp_ms":1776831565000,"timestamp_seconds":1776831565,"priority":1,"record_length":96,"hex_timestamp":"0000019db36a0cc8"} 
[2026-04-22 09: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-22 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:51:34] 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-22 09: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-22 09: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-22 09:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868875264001,"66":11384,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868875264001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:51:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:51:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868875264001,"power":11384,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":50494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:51:35] local.INFO: GPS data processed {"connection_id":50494,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:51:35] local.INFO: Acknowledgment sent {"connection_id":50494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:51:56] local.INFO: TCP Data received {"connection_id":50368,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:51:56] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:51:56] local.INFO: IMEI packet received {"connection_id":50368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":50368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:52:02] local.INFO: TCP Data received {"connection_id":50368,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:52:02] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:52:02] local.INFO: IMEI packet received {"connection_id":50368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":50368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:52:03] local.INFO: TCP Data received {"connection_id":50368,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36a5ed0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36a5ed0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:52:03] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36a5ed0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:52:03] local.INFO: Packet analysis {"connection_id":50368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36a"} 
[2026-04-22 09:52:03] local.INFO: Extracted packet for processing {"connection_id":50368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36a"} 
[2026-04-22 09:52:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868880640001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831586000,"timestamp_ms":1776831586000,"timestamp_seconds":1776831586,"priority":1,"record_length":96,"hex_timestamp":"0000019db36a5ed0"} 
[2026-04-22 09: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-22 09:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-22 09:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1498,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868880640001,"66":12319,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868880640001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:52:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:52:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868880640001,"power":12319,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":50368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:52:03] local.INFO: GPS data processed {"connection_id":50368,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:52:03] local.INFO: Acknowledgment sent {"connection_id":50368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:52:04] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:52:04] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:52:04] local.INFO: Packet analysis {"connection_id":50366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:52:04] local.INFO: Extracted packet for processing {"connection_id":50366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52: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-22 09:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 09: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-22 09:52: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-22 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:52: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-22 09:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:52:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":50366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:52:04] local.INFO: GPS data processed {"connection_id":50366,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:52:04] local.INFO: Acknowledgment sent {"connection_id":50366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:52:26] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:52:26] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:52:26] local.INFO: IMEI packet received {"connection_id":50369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":50369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:52:31] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:52:31] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:52:31] local.INFO: IMEI packet received {"connection_id":50369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":50369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:52:32] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:52:32] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:52:32] local.INFO: Packet analysis {"connection_id":50369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:52:32] local.INFO: Extracted packet for processing {"connection_id":50369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52: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-22 09:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 09: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-22 09:52: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-22 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:52: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-22 09: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-22 09: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-22 09:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:52: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-22 09:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:52:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":50369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:52:32] local.INFO: GPS data processed {"connection_id":50369,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:52:32] local.INFO: Acknowledgment sent {"connection_id":50369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:52:36] local.INFO: TCP Data received {"connection_id":50368,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36ab0d8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36ab0d8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:52:36] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36ab0d8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:52:36] local.INFO: Packet analysis {"connection_id":50368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36a"} 
[2026-04-22 09:52:36] local.INFO: Extracted packet for processing {"connection_id":50368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36a"} 
[2026-04-22 09:52:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868886016001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776831607000,"timestamp_ms":1776831607000,"timestamp_seconds":1776831607,"priority":1,"record_length":96,"hex_timestamp":"0000019db36ab0d8"} 
[2026-04-22 09: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-22 09:52:36] 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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:52:36] 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-22 09: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-22 09: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-22 09:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868886016001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868886016001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:52:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868886016001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":50368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:52:36] local.INFO: GPS data processed {"connection_id":50368,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:52:36] local.INFO: Acknowledgment sent {"connection_id":50368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:53:02] local.INFO: TCP Data received {"connection_id":51060,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:02] local.INFO: Processing buffer {"connection_id":51060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:02] local.INFO: IMEI packet received {"connection_id":51060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":51060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:53:04] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:53:04] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:53:04] local.INFO: Packet analysis {"connection_id":50369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:53:04] local.INFO: Extracted packet for processing {"connection_id":50369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53: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-22 09:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 09:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:53: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-22 09:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:53:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":50369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:53:04] local.INFO: GPS data processed {"connection_id":50369,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:53:04] local.INFO: Acknowledgment sent {"connection_id":50369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:53:07] local.INFO: TCP Data received {"connection_id":51060,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:07] local.INFO: Processing buffer {"connection_id":51060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:07] local.INFO: IMEI packet received {"connection_id":51060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":51060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:53:09] local.INFO: TCP Data received {"connection_id":51060,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36b02e0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36b02e0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:53:09] local.INFO: Processing buffer {"connection_id":51060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36b02e0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:53:09] local.INFO: Packet analysis {"connection_id":51060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:53:09] local.INFO: Extracted packet for processing {"connection_id":51060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:53:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868891392001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776831628000,"timestamp_ms":1776831628000,"timestamp_seconds":1776831628,"priority":1,"record_length":96,"hex_timestamp":"0000019db36b02e0"} 
[2026-04-22 09:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5519031016835189007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95745472546734080,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120250880206,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2550213878,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:09] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,94,44,192,78,12,43,10,66,186,1,240,31,179,29,4,113,205,26,40,41,239,47,148,39],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:53:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065138502238208,"timestamp_seconds":865065138502238.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868891392001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868891392001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:53:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868891392001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":51060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:53:09] local.INFO: GPS data processed {"connection_id":51060,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:53:09] local.INFO: Acknowledgment sent {"connection_id":51060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:53:12] local.INFO: TCP Data received {"connection_id":51060,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36b58d0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36b58d0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:53:12] local.INFO: Processing buffer {"connection_id":51060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36b58d0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 09:53:12] local.INFO: Packet analysis {"connection_id":51060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:53:12] local.INFO: Extracted packet for processing {"connection_id":51060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868896768001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776831650000,"timestamp_ms":1776831650000,"timestamp_seconds":1776831650,"priority":1,"record_length":96,"hex_timestamp":"0000019db36b58d0"} 
[2026-04-22 09:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:53:12] 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-22 09:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":51060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":51060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":51060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868896768001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868896768001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:53:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868896768001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":51060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:53:12] local.INFO: GPS data processed {"connection_id":51060,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:53:12] local.INFO: Acknowledgment sent {"connection_id":51060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:53:26] local.INFO: TCP Data received {"connection_id":50120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:53:26] local.INFO: Processing buffer {"connection_id":50120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:53:26] local.INFO: IMEI packet received {"connection_id":50120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":50120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:53:31] local.INFO: TCP Data received {"connection_id":50120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:53:31] local.INFO: Processing buffer {"connection_id":50120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:53:31] local.INFO: IMEI packet received {"connection_id":50120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":50120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:53:32] local.INFO: TCP Data received {"connection_id":50120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:53:32] local.INFO: Processing buffer {"connection_id":50120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:53:32] local.INFO: Packet analysis {"connection_id":50120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:53:32] local.INFO: Extracted packet for processing {"connection_id":50120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 09:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:53: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-22 09:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 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-22 09: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:53: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-22 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-22 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-22 09:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:53: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-22 09:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:53:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":50120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:53:32] local.INFO: GPS data processed {"connection_id":50120,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:53:32] local.INFO: Acknowledgment sent {"connection_id":50120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:53:54] local.INFO: TCP Data received {"connection_id":50496,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:54] local.INFO: Processing buffer {"connection_id":50496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:54] local.INFO: IMEI packet received {"connection_id":50496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":50496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:53:56] local.INFO: TCP Data received {"connection_id":50496,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:56] local.INFO: Processing buffer {"connection_id":50496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:53:56] local.INFO: IMEI packet received {"connection_id":50496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":50496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:54:02] local.INFO: TCP Data received {"connection_id":50496,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:54:02] local.INFO: Processing buffer {"connection_id":50496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:54:02] local.INFO: IMEI packet received {"connection_id":50496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":50496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:54:03] local.INFO: TCP Data received {"connection_id":50120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:54:03] local.INFO: Processing buffer {"connection_id":50120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:54:03] local.INFO: Packet analysis {"connection_id":50120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:54:03] local.INFO: Extracted packet for processing {"connection_id":50120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54: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-22 09:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 09: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-22 09:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:54: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-22 09:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:54:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":50120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:54:03] local.INFO: GPS data processed {"connection_id":50120,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:54:03] local.INFO: Acknowledgment sent {"connection_id":50120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:54:03] local.INFO: TCP Data received {"connection_id":50496,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baad8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baad8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:54:03] local.INFO: Processing buffer {"connection_id":50496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baad8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:54:03] local.INFO: Packet analysis {"connection_id":50496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:54:03] local.INFO: Extracted packet for processing {"connection_id":50496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:54:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868902400001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831671000,"timestamp_ms":1776831671000,"timestamp_seconds":1776831671,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baad8"} 
[2026-04-22 09: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-22 09:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868902400001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868902400001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:54:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868902400001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":50496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:54:03] local.INFO: GPS data processed {"connection_id":50496,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:54:03] local.INFO: Acknowledgment sent {"connection_id":50496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:54:26] local.INFO: TCP Data received {"connection_id":50121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:54:26] local.INFO: Processing buffer {"connection_id":50121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:54:26] local.INFO: IMEI packet received {"connection_id":50121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":50121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:54:31] local.INFO: TCP Data received {"connection_id":50121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:54:31] local.INFO: Processing buffer {"connection_id":50121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:54:31] local.INFO: IMEI packet received {"connection_id":50121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:54:32] local.INFO: TCP Data received {"connection_id":50121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:54:32] local.INFO: Processing buffer {"connection_id":50121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:54:32] local.INFO: Packet analysis {"connection_id":50121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:54:32] local.INFO: Extracted packet for processing {"connection_id":50121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54: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-22 09:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 09: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-22 09: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-22 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:54: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-22 09: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-22 09: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-22 09:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:54: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-22 09:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:54:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":50121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:54:32] local.INFO: GPS data processed {"connection_id":50121,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:54:32] local.INFO: Acknowledgment sent {"connection_id":50121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:54:35] local.INFO: TCP Data received {"connection_id":50496,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36bfce0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36bfce0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:54:35] local.INFO: Processing buffer {"connection_id":50496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36bfce0012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:54:35] local.INFO: Packet analysis {"connection_id":50496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:54:35] local.INFO: Extracted packet for processing {"connection_id":50496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:54:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868907776001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776831692000,"timestamp_ms":1776831692000,"timestamp_seconds":1776831692,"priority":1,"record_length":96,"hex_timestamp":"0000019db36bfce0"} 
[2026-04-22 09:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:54:35] 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-22 09:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:54:35] 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-22 09:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868907776001,"66":11417,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868907776001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:54:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868907776001,"power":11417,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":50496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:54:36] local.INFO: GPS data processed {"connection_id":50496,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:54:36] local.INFO: Acknowledgment sent {"connection_id":50496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:54:57] local.INFO: TCP Data received {"connection_id":51062,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:54:57] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:54:57] local.INFO: IMEI packet received {"connection_id":51062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":51062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:54:59] local.INFO: TCP Data received {"connection_id":51062,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:54:59] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:54:59] local.INFO: IMEI packet received {"connection_id":51062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":51062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:55:01] local.INFO: TCP Data received {"connection_id":51062,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:55:01] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:55:01] local.INFO: IMEI packet received {"connection_id":51062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":51062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:55:03] local.INFO: TCP Data received {"connection_id":51062,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36c4ee8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36c4ee8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:55:03] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36c4ee8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:55:03] local.INFO: Packet analysis {"connection_id":51062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36c"} 
[2026-04-22 09:55:03] local.INFO: Extracted packet for processing {"connection_id":51062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36c"} 
[2026-04-22 09:55:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868913152001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831713000,"timestamp_ms":1776831713000,"timestamp_seconds":1776831713,"priority":1,"record_length":96,"hex_timestamp":"0000019db36c4ee8"} 
[2026-04-22 09: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-22 09:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-22 09:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868913152001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868913152001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:55:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868913152001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:55:03] local.INFO: TCP Data received {"connection_id":50121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:55:03] local.INFO: Processing buffer {"connection_id":50121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:55:03] local.INFO: Packet analysis {"connection_id":50121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:55:03] local.INFO: Extracted packet for processing {"connection_id":50121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55: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-22 09:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 09: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-22 09:55: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-22 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:55: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-22 09:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:55:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:55:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":50121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:55:03] local.INFO: GPS data processed {"connection_id":50121,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:55:03] local.INFO: Acknowledgment sent {"connection_id":50121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":51062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:55:03] local.INFO: GPS data processed {"connection_id":51062,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:55:03] local.INFO: Acknowledgment sent {"connection_id":51062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:55:09] local.INFO: TCP Data received {"connection_id":51062,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36ca0f0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36ca0f0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:55:09] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36ca0f0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:55:09] local.INFO: Packet analysis {"connection_id":51062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36c"} 
[2026-04-22 09:55:09] local.INFO: Extracted packet for processing {"connection_id":51062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36c"} 
[2026-04-22 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:55: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-22 09:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868918528001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776831734000,"timestamp_ms":1776831734000,"timestamp_seconds":1776831734,"priority":1,"record_length":96,"hex_timestamp":"0000019db36ca0f0"} 
[2026-04-22 09:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:55: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-22 09:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868918528001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868918528001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:55:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868918528001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":51062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:55:09] local.INFO: GPS data processed {"connection_id":51062,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:55:09] local.INFO: Acknowledgment sent {"connection_id":51062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:55:16] local.INFO: TCP Data received {"connection_id":51061,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:55:16] local.INFO: Processing buffer {"connection_id":51061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:55:16] local.INFO: IMEI packet received {"connection_id":51061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":51061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:55:31] local.INFO: TCP Data received {"connection_id":50371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:55:31] local.INFO: Processing buffer {"connection_id":50371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:55:31] local.INFO: IMEI packet received {"connection_id":50371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":50371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:55:37] local.INFO: TCP Data received {"connection_id":50371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:55:37] local.INFO: Processing buffer {"connection_id":50371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:55:37] local.INFO: IMEI packet received {"connection_id":50371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":50371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:55:37] local.INFO: TCP Data received {"connection_id":50371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:55:37] local.INFO: Processing buffer {"connection_id":50371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:55:37] local.INFO: Packet analysis {"connection_id":50371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:55:37] local.INFO: Extracted packet for processing {"connection_id":50371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:37] 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-22 09:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 09:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:55: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-22 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:55:37] 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-22 09:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:55: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-22 09:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:55:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":50371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:55:37] local.INFO: GPS data processed {"connection_id":50371,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:55:37] local.INFO: Acknowledgment sent {"connection_id":50371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:55:41] local.INFO: TCP Data received {"connection_id":51062,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36cf2f8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36cf2f8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:55:41] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36cf2f8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:55:41] local.INFO: Packet analysis {"connection_id":51062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36c"} 
[2026-04-22 09:55:41] local.INFO: Extracted packet for processing {"connection_id":51062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36c"} 
[2026-04-22 09:55:41] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868923904001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776831755000,"timestamp_ms":1776831755000,"timestamp_seconds":1776831755,"priority":1,"record_length":96,"hex_timestamp":"0000019db36cf2f8"} 
[2026-04-22 09:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:55:41] 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-22 09:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5518494145923189007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95746572058361856,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145739956430,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:55:41] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:41] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,96,2,24,241,158,16,7,157,78,44,192,12,42,10,66,252,39,170,1,240,255,179,29,4,113,205,40,239,47,148,43],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:55:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065134207270912,"timestamp_seconds":865065134207270.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868923904001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868923904001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:55:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868923904001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":51062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:55:41] local.INFO: GPS data processed {"connection_id":51062,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:55:41] local.INFO: Acknowledgment sent {"connection_id":51062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:55:42] local.INFO: TCP Data received {"connection_id":50371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:55:42] local.INFO: Processing buffer {"connection_id":50371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:55:42] local.INFO: Packet analysis {"connection_id":50371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:55:42] local.INFO: Extracted packet for processing {"connection_id":50371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:55:42] 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-22 09:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 09: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-22 09:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:55:42] 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-22 09: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-22 09: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-22 09:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:55:42] local.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-22 09:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:55:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":50371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:55:42] local.INFO: GPS data processed {"connection_id":50371,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:55:42] local.INFO: Acknowledgment sent {"connection_id":50371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:55:51] local.INFO: TCP Data received {"connection_id":50497,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:55:51] local.INFO: Processing buffer {"connection_id":50497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 09:55:51] local.INFO: IMEI packet received {"connection_id":50497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 09:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":50497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:55:56] local.INFO: TCP Data received {"connection_id":50122,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:55:56] local.INFO: Processing buffer {"connection_id":50122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:55:56] local.INFO: IMEI packet received {"connection_id":50122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":50122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:56:01] local.INFO: TCP Data received {"connection_id":50122,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:56:01] local.INFO: Processing buffer {"connection_id":50122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:56:01] local.INFO: IMEI packet received {"connection_id":50122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":50122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:56:02] local.INFO: TCP Data received {"connection_id":50122,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36d4118012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36d4118012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:56:02] local.INFO: Processing buffer {"connection_id":50122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36d4118012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:56:02] local.INFO: Packet analysis {"connection_id":50122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36d"} 
[2026-04-22 09:56:02] local.INFO: Extracted packet for processing {"connection_id":50122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36d"} 
[2026-04-22 09:56:02] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868929280001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776831775000,"timestamp_ms":1776831775000,"timestamp_seconds":1776831775,"priority":1,"record_length":96,"hex_timestamp":"0000019db36d4118"} 
[2026-04-22 09:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:56: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-22 09:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:56:02] 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-22 09:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868929280001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868929280001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:56:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:56:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868929280001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":50122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:56:02] local.INFO: GPS data processed {"connection_id":50122,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:56:02] local.INFO: Acknowledgment sent {"connection_id":50122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:56:26] local.INFO: TCP Data received {"connection_id":50498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:56:26] local.INFO: Processing buffer {"connection_id":50498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:56:26] local.INFO: IMEI packet received {"connection_id":50498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":50498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:56:31] local.INFO: TCP Data received {"connection_id":50498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:56:31] local.INFO: Processing buffer {"connection_id":50498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:56:31] local.INFO: IMEI packet received {"connection_id":50498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":50498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:56:32] local.INFO: TCP Data received {"connection_id":50498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:56:32] local.INFO: Processing buffer {"connection_id":50498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36baec0012d7f868005afdbe0000901162d..."} 
[2026-04-22 09:56:32] local.INFO: Packet analysis {"connection_id":50498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:56:32] local.INFO: Extracted packet for processing {"connection_id":50498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36b"} 
[2026-04-22 09:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":45,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868830976001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56: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-22 09:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831672000,"timestamp_ms":1776831672000,"timestamp_seconds":1776831672,"priority":1,"record_length":96,"hex_timestamp":"0000019db36baec0"} 
[2026-04-22 09: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-22 09: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-22 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:56: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-22 09: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-22 09: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-22 09:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:56: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-22 09:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868830976001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868830976001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:56:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868830976001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":50498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:56:32] local.INFO: GPS data processed {"connection_id":50498,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:56:32] local.INFO: Acknowledgment sent {"connection_id":50498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:56:34] local.INFO: TCP Data received {"connection_id":50122,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36d9320012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36d9320012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:56:34] local.INFO: Processing buffer {"connection_id":50122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36d9320012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:56:34] local.INFO: Packet analysis {"connection_id":50122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36d"} 
[2026-04-22 09:56:34] local.INFO: Extracted packet for processing {"connection_id":50122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36d"} 
[2026-04-22 09:56:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868934400001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776831796000,"timestamp_ms":1776831796000,"timestamp_seconds":1776831796,"priority":1,"record_length":96,"hex_timestamp":"0000019db36d9320"} 
[2026-04-22 09: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-22 09:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5518313757296757007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95748771081617408,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920996139214,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3623955702,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:56:34] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,96,2,24,241,158,16,7,157,242,44,192,78,12,41,10,66,160,40,1,240,255,179,29,4,113,205,170,42,239,47,148],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:56:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065138502238208,"timestamp_seconds":865065138502238.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09: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-22 09:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868934400001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868934400001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:56:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:56:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868934400001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":50122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:56:34] local.INFO: GPS data processed {"connection_id":50122,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:56:34] local.INFO: Acknowledgment sent {"connection_id":50122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:56:56] local.INFO: TCP Data received {"connection_id":50372,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:56:56] local.INFO: Processing buffer {"connection_id":50372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:56:56] local.INFO: IMEI packet received {"connection_id":50372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":50372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:57:02] local.INFO: TCP Data received {"connection_id":50372,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:57:02] local.INFO: Processing buffer {"connection_id":50372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:57:02] local.INFO: IMEI packet received {"connection_id":50372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":50372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:57:03] local.INFO: TCP Data received {"connection_id":50498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:57:03] local.INFO: Processing buffer {"connection_id":50498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:57:03] local.INFO: Packet analysis {"connection_id":50498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:57:03] local.INFO: Extracted packet for processing {"connection_id":50498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57: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-22 09:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 09: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-22 09:57: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-22 09:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:57: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-22 09:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:57:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":50498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:57:03] local.INFO: GPS data processed {"connection_id":50498,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:57:03] local.INFO: Acknowledgment sent {"connection_id":50498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:57:03] local.INFO: TCP Data received {"connection_id":50372,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36de528012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36de528012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:57:03] local.INFO: Processing buffer {"connection_id":50372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36de528012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 09:57:03] local.INFO: Packet analysis {"connection_id":50372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36d"} 
[2026-04-22 09:57:03] local.INFO: Extracted packet for processing {"connection_id":50372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36d"} 
[2026-04-22 09:57:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868939776001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831817000,"timestamp_ms":1776831817000,"timestamp_seconds":1776831817,"priority":1,"record_length":96,"hex_timestamp":"0000019db36de528"} 
[2026-04-22 09: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-22 09:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 09:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868939776001,"66":12341,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868939776001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:57:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868939776001,"power":12341,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":50372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:57:03] local.INFO: GPS data processed {"connection_id":50372,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:57:03] local.INFO: Acknowledgment sent {"connection_id":50372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:57:26] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:57:26] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:57:26] local.INFO: IMEI packet received {"connection_id":50373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":50373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:57:31] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:57:31] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:57:31] local.INFO: IMEI packet received {"connection_id":50373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":50373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:57:32] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:57:32] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:57:32] local.INFO: Packet analysis {"connection_id":50373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:57:32] local.INFO: Extracted packet for processing {"connection_id":50373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 09:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57: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-22 09:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 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-22 09:57: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-22 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:57: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-22 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-22 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-22 09:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:57: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-22 09:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:57:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":50373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:57:32] local.INFO: GPS data processed {"connection_id":50373,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:57:32] local.INFO: Acknowledgment sent {"connection_id":50373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:57:34] local.INFO: TCP Data received {"connection_id":50372,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36e3730012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36e3730012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:57:34] local.INFO: Processing buffer {"connection_id":50372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36e3730012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 09:57:34] local.INFO: Packet analysis {"connection_id":50372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36e"} 
[2026-04-22 09:57:34] local.INFO: Extracted packet for processing {"connection_id":50372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36e"} 
[2026-04-22 09:57:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868945152001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776831838000,"timestamp_ms":1776831838000,"timestamp_seconds":1776831838,"priority":1,"record_length":96,"hex_timestamp":"0000019db36e3730"} 
[2026-04-22 09: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-22 09:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:57:34] 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-22 09: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-22 09: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-22 09:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868945152001,"66":12319,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868945152001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:57:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:57:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868945152001,"power":12319,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":50372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:57:34] local.INFO: GPS data processed {"connection_id":50372,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:57:34] local.INFO: Acknowledgment sent {"connection_id":50372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:58:02] local.INFO: TCP Data received {"connection_id":50123,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:58:02] local.INFO: Processing buffer {"connection_id":50123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:58:02] local.INFO: IMEI packet received {"connection_id":50123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":50123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:58:03] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:58:03] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:58:03] local.INFO: Packet analysis {"connection_id":50373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:58:03] local.INFO: Extracted packet for processing {"connection_id":50373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58: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-22 09:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 09: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-22 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 09:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09: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-22 09: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-22 09:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:58: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-22 09:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:58:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":50373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:58:03] local.INFO: GPS data processed {"connection_id":50373,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:58:03] local.INFO: Acknowledgment sent {"connection_id":50373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:58:07] local.INFO: TCP Data received {"connection_id":50123,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:58:07] local.INFO: Processing buffer {"connection_id":50123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:58:07] local.INFO: IMEI packet received {"connection_id":50123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":50123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:58:08] local.INFO: TCP Data received {"connection_id":50123,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36e8938012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36e8938012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:58:08] local.INFO: Processing buffer {"connection_id":50123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36e8938012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:58:08] local.INFO: Packet analysis {"connection_id":50123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36e"} 
[2026-04-22 09:58:08] local.INFO: Extracted packet for processing {"connection_id":50123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36e"} 
[2026-04-22 09:58:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776831859000,"timestamp_ms":1776831859000,"timestamp_seconds":1776831859,"priority":1,"record_length":96,"hex_timestamp":"0000019db36e8938"} 
[2026-04-22 09: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-22 09:58:08] 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-22 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:58:08] 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-22 09: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-22 09: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-22 09:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868950528001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:58:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:58:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868950528001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":50123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:58:08] local.INFO: GPS data processed {"connection_id":50123,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:58:08] local.INFO: Acknowledgment sent {"connection_id":50123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:58:09] local.INFO: TCP Data received {"connection_id":50123,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36edb40012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36edb40012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:58:09] local.INFO: Processing buffer {"connection_id":50123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36edb40012cf6f1c0071d4e28000c015426..."} 
[2026-04-22 09:58:09] local.INFO: Packet analysis {"connection_id":50123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36e"} 
[2026-04-22 09:58:09] local.INFO: Extracted packet for processing {"connection_id":50123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36e"} 
[2026-04-22 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:58: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-22 09:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868955904001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776831880000,"timestamp_ms":1776831880000,"timestamp_seconds":1776831880,"priority":1,"record_length":96,"hex_timestamp":"0000019db36edb40"} 
[2026-04-22 09:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5517948685076597007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95745472546734080,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145739956430,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4160826614,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:09] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,96,2,24,241,158,16,7,157,55,44,192,78,12,39,10,66,229,41,147,1,240,255,179,29,4,113,205,242,40,239,47,148,42],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:58:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065142797205504,"timestamp_seconds":865065142797205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868955904001,"66":12341,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868955904001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:58:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:58:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868955904001,"power":12341,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":50123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:58:09] local.INFO: GPS data processed {"connection_id":50123,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:58:09] local.INFO: Acknowledgment sent {"connection_id":50123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:58:26] local.INFO: TCP Data received {"connection_id":51064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:58:26] local.INFO: Processing buffer {"connection_id":51064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:58:26] local.INFO: IMEI packet received {"connection_id":51064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":51064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:58:31] local.INFO: TCP Data received {"connection_id":51064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:58:31] local.INFO: Processing buffer {"connection_id":51064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:58:31] local.INFO: IMEI packet received {"connection_id":51064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":51064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:58:32] local.INFO: TCP Data received {"connection_id":51064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:58:32] local.INFO: Processing buffer {"connection_id":51064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:58:32] local.INFO: Packet analysis {"connection_id":51064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:58:32] local.INFO: Extracted packet for processing {"connection_id":51064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09: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-22 09:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58: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-22 09:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 09: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-22 09: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-22 09: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:58: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-22 09: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-22 09: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-22 09:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:58: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-22 09:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:58:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":51064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:58:32] local.INFO: GPS data processed {"connection_id":51064,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:58:32] local.INFO: Acknowledgment sent {"connection_id":51064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:58:41] local.INFO: TCP Data received {"connection_id":50123,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36f2d48012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36f2d48012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:58:41] local.INFO: Processing buffer {"connection_id":50123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36f2d48012cf6f1c0071d4e28000c015425..."} 
[2026-04-22 09:58:41] local.INFO: Packet analysis {"connection_id":50123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36f"} 
[2026-04-22 09:58:41] local.INFO: Extracted packet for processing {"connection_id":50123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36f"} 
[2026-04-22 09:58:41] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868961280001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776831901000,"timestamp_ms":1776831901000,"timestamp_seconds":1776831901,"priority":1,"record_length":96,"hex_timestamp":"0000019db36f2d48"} 
[2026-04-22 09:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:58:41] 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-22 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868961280001,"66":12341,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868961280001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:58:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868961280001,"power":12341,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":50123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:58:42] local.INFO: GPS data processed {"connection_id":50123,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:58:42] local.INFO: Acknowledgment sent {"connection_id":50123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:58:57] local.INFO: TCP Data received {"connection_id":50124,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:58:57] local.INFO: Processing buffer {"connection_id":50124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:58:57] local.INFO: IMEI packet received {"connection_id":50124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":50124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:59:02] local.INFO: TCP Data received {"connection_id":50124,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:59:02] local.INFO: Processing buffer {"connection_id":50124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:59:02] local.INFO: IMEI packet received {"connection_id":50124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 09:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":50124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:59:03] local.INFO: TCP Data received {"connection_id":51064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:59:03] local.INFO: Processing buffer {"connection_id":51064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:59:03] local.INFO: Packet analysis {"connection_id":51064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:59:03] local.INFO: Extracted packet for processing {"connection_id":51064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 09:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59: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-22 09:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 09:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:59: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-22 09:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:59: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-22 09:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:59:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":51064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:59:03] local.INFO: GPS data processed {"connection_id":51064,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:59:03] local.INFO: Acknowledgment sent {"connection_id":51064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:59:06] local.INFO: TCP Data received {"connection_id":50124,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36f7f50012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36f7f50012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:59:06] local.INFO: Processing buffer {"connection_id":50124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36f7f50012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 09:59:06] local.INFO: Packet analysis {"connection_id":50124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36f"} 
[2026-04-22 09:59:06] local.INFO: Extracted packet for processing {"connection_id":50124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36f"} 
[2026-04-22 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868966656001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776831922000,"timestamp_ms":1776831922000,"timestamp_seconds":1776831922,"priority":1,"record_length":96,"hex_timestamp":"0000019db36f7f50"} 
[2026-04-22 09:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 09:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 09:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 09:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868966656001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868966656001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:59:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868966656001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":50124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:59:06] local.INFO: GPS data processed {"connection_id":50124,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:59:06] local.INFO: Acknowledgment sent {"connection_id":50124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:59:08] local.INFO: TCP Data received {"connection_id":50124,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db36fd158012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36fd158012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:59:08] local.INFO: Processing buffer {"connection_id":50124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36fd158012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:59:08] local.INFO: Packet analysis {"connection_id":50124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36f"} 
[2026-04-22 09:59:08] local.INFO: Extracted packet for processing {"connection_id":50124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36f"} 
[2026-04-22 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868972032001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776831943000,"timestamp_ms":1776831943000,"timestamp_seconds":1776831943,"priority":1,"record_length":96,"hex_timestamp":"0000019db36fd158"} 
[2026-04-22 09:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:59:08] 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-22 09:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5517682397104245007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95746572058361856,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920996139214,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:59:08] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,45,44,192,78,12,37,10,66,219,38,137,1,240,179,29,4,113,205,229,40,41,239,48,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:59:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065134207270912,"timestamp_seconds":865065134207270.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868972032001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868972032001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:59:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:59:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868972032001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":50124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:59:08] local.INFO: GPS data processed {"connection_id":50124,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:59:08] local.INFO: Acknowledgment sent {"connection_id":50124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:59:26] local.INFO: TCP Data received {"connection_id":51065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:59:26] local.INFO: Processing buffer {"connection_id":51065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:59:26] local.INFO: IMEI packet received {"connection_id":51065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 09:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":51065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 09:59:31] local.INFO: TCP Data received {"connection_id":51065,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:59:31] local.INFO: Processing buffer {"connection_id":51065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 09:59:31] local.INFO: IMEI packet received {"connection_id":51065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 09:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":51065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 09:59:32] local.INFO: TCP Data received {"connection_id":51065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:59:32] local.INFO: Processing buffer {"connection_id":51065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 09:59:32] local.INFO: Packet analysis {"connection_id":51065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:59:32] local.INFO: Extracted packet for processing {"connection_id":51065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59: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-22 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 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-22 09: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-22 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 09:59: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-22 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-22 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-22 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 09:59: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-22 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:59:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 09:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":51065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:59:32] local.INFO: GPS data processed {"connection_id":51065,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:59:32] local.INFO: Acknowledgment sent {"connection_id":51065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:59:43] local.INFO: TCP Data received {"connection_id":50124,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3702748012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3702748012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:59:43] local.INFO: Processing buffer {"connection_id":50124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3702748012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 09:59:43] local.INFO: Packet analysis {"connection_id":50124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:59:43] local.INFO: Extracted packet for processing {"connection_id":50124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 09:59:43] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 09:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868977408001,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 09:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776831965000,"timestamp_ms":1776831965000,"timestamp_seconds":1776831965,"priority":1,"record_length":96,"hex_timestamp":"0000019db3702748"} 
[2026-04-22 09:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 09:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 09:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5517592202791029007,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95746572058361856,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569738514638,"note":"Value kept but may cause issues"} 
[2026-04-22 09:59:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 09:59:43] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,96,2,24,241,158,16,7,157,127,44,192,78,12,40,10,66,45,37,219,1,240,53,179,29,4,113,205,55,39,239,48,148,41],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 09:59:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065142797205504,"timestamp_seconds":865065142797205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 09:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 09:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 09:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 09:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 09:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 09:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 09:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 09:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868977408001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 09:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 09:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 09:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868977408001,"description":"Unknown IO ID 0"} 
[2026-04-22 09:59:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 09:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 09:59:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 09:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868977408001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 09:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":50124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 09:59:44] local.INFO: GPS data processed {"connection_id":50124,"processed":1,"errors":0,"total":1} 
[2026-04-22 09:59:44] local.INFO: Acknowledgment sent {"connection_id":50124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 09:59:57] local.INFO: TCP Data received {"connection_id":50125,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:59:57] local.INFO: Processing buffer {"connection_id":50125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 09:59:57] local.INFO: IMEI packet received {"connection_id":50125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 09:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":50125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:00:02] local.INFO: TCP Data received {"connection_id":50125,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:00:02] local.INFO: Processing buffer {"connection_id":50125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:00:02] local.INFO: IMEI packet received {"connection_id":50125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":50125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:00:03] local.INFO: TCP Data received {"connection_id":51065,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:00:03] local.INFO: Processing buffer {"connection_id":51065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:00:03] local.INFO: Packet analysis {"connection_id":51065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:03] local.INFO: Extracted packet for processing {"connection_id":51065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00: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-22 10:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 10: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-22 10: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-22 10: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:00: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-22 10:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:00:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":51065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:00:03] local.INFO: GPS data processed {"connection_id":51065,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:00:03] local.INFO: Acknowledgment sent {"connection_id":51065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:00:06] local.INFO: TCP Data received {"connection_id":50125,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3707950012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3707950012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:00:06] local.INFO: Processing buffer {"connection_id":50125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3707950012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:00:06] local.INFO: Packet analysis {"connection_id":50125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:06] local.INFO: Extracted packet for processing {"connection_id":50125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868983040001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776831986000,"timestamp_ms":1776831986000,"timestamp_seconds":1776831986,"priority":1,"record_length":96,"hex_timestamp":"0000019db3707950"} 
[2026-04-22 10:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5517502008477813007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95744373035106304,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120250880206,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:00:06] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,209,44,192,78,12,42,10,66,127,40,45,1,240,53,179,29,4,113,205,137,239,48,148,41],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 10:00:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065142797205504,"timestamp_seconds":865065142797205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868983040001,"66":11558,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868983040001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:00:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868983040001,"power":11558,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":50125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:00:06] local.INFO: GPS data processed {"connection_id":50125,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:00:06] local.INFO: Acknowledgment sent {"connection_id":50125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:00:32] local.INFO: TCP Data received {"connection_id":50126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:00:32] local.INFO: Processing buffer {"connection_id":50126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:00:32] local.INFO: IMEI packet received {"connection_id":50126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:00:37] local.INFO: TCP Data received {"connection_id":50126,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:00:37] local.INFO: Processing buffer {"connection_id":50126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:00:37] local.INFO: IMEI packet received {"connection_id":50126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":50126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:00:37] local.INFO: TCP Data received {"connection_id":50126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:00:37] local.INFO: Processing buffer {"connection_id":50126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:00:37] local.INFO: Packet analysis {"connection_id":50126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:37] local.INFO: Extracted packet for processing {"connection_id":50126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:37] 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-22 10:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 10: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-22 10: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-22 10: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:00: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-22 10: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-22 10: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-22 10:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:00: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-22 10:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:00:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":50126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:00:37] local.INFO: GPS data processed {"connection_id":50126,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:00:37] local.INFO: Acknowledgment sent {"connection_id":50126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:00:38] local.INFO: TCP Data received {"connection_id":50125,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db370cb58012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db370cb58012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:00:38] local.INFO: Processing buffer {"connection_id":50125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db370cb58012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:00:38] local.INFO: Packet analysis {"connection_id":50125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:38] local.INFO: Extracted packet for processing {"connection_id":50125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:38] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868988416001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776832007000,"timestamp_ms":1776832007000,"timestamp_seconds":1776832007,"priority":1,"record_length":96,"hex_timestamp":"0000019db370cb58"} 
[2026-04-22 10:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 10:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868988416001,"66":12319,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868988416001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:00:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:00:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868988416001,"power":12319,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":50125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:00:38] local.INFO: GPS data processed {"connection_id":50125,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:00:38] local.INFO: Acknowledgment sent {"connection_id":50125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:00:42] local.INFO: TCP Data received {"connection_id":50126,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:00:42] local.INFO: Processing buffer {"connection_id":50126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:00:42] local.INFO: Packet analysis {"connection_id":50126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:42] local.INFO: Extracted packet for processing {"connection_id":50126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:00:42] 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-22 10:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 10:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:00:42] 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-22 10:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:00:42] local.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-22 10:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:00:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":50126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:00:42] local.INFO: GPS data processed {"connection_id":50126,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:00:42] local.INFO: Acknowledgment sent {"connection_id":50126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:00:55] local.INFO: TCP Data received {"connection_id":50127,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:00:55] local.INFO: Processing buffer {"connection_id":50127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:00:55] local.INFO: IMEI packet received {"connection_id":50127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":50127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:00:56] local.INFO: TCP Data received {"connection_id":50127,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:00:56] local.INFO: Processing buffer {"connection_id":50127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:00:56] local.INFO: IMEI packet received {"connection_id":50127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":50127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:01:02] local.INFO: TCP Data received {"connection_id":50127,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:01:02] local.INFO: Processing buffer {"connection_id":50127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:01:02] local.INFO: IMEI packet received {"connection_id":50127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":50127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:01:03] local.INFO: TCP Data received {"connection_id":50127,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3711978012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3711978012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:01:03] local.INFO: Processing buffer {"connection_id":50127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3711978012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:01:03] local.INFO: Packet analysis {"connection_id":50127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db371"} 
[2026-04-22 10:01:03] local.INFO: Extracted packet for processing {"connection_id":50127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db371"} 
[2026-04-22 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868993792001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832027000,"timestamp_ms":1776832027000,"timestamp_seconds":1776832027,"priority":1,"record_length":96,"hex_timestamp":"0000019db3711978"} 
[2026-04-22 10:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:01:03] 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-22 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:01:03] 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-22 10:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868993792001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868993792001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:01:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868993792001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:01:04] local.INFO: GPS data processed {"connection_id":50127,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:01:04] local.INFO: Acknowledgment sent {"connection_id":50127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:01:11] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:01:11] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:01:11] local.INFO: IMEI packet received {"connection_id":50374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":50374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:01:27] local.INFO: TCP Data received {"connection_id":50502,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:01:27] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:01:27] local.INFO: IMEI packet received {"connection_id":50502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":50502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:01:32] local.INFO: TCP Data received {"connection_id":50502,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:01:32] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:01:32] local.INFO: IMEI packet received {"connection_id":50502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":50502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:01:33] local.INFO: TCP Data received {"connection_id":50502,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:01:33] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3704688012d7f868005afdbe0000501162c..."} 
[2026-04-22 10:01:33] local.INFO: Packet analysis {"connection_id":50502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:01:33] local.INFO: Extracted packet for processing {"connection_id":50502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db370"} 
[2026-04-22 10:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":5,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868908032001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:33] 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-22 10:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776831973000,"timestamp_ms":1776831973000,"timestamp_seconds":1776831973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3704688"} 
[2026-04-22 10: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-22 10: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-22 10: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:01: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-22 10: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-22 10: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-22 10:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:01: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-22 10:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868908032001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868908032001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:01:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868908032001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":50502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:01:33] local.INFO: GPS data processed {"connection_id":50502,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:01:33] local.INFO: Acknowledgment sent {"connection_id":50502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:01:37] local.INFO: TCP Data received {"connection_id":50127,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3716b80012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3716b80012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:01:37] local.INFO: Processing buffer {"connection_id":50127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3716b80012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:01:37] local.INFO: Packet analysis {"connection_id":50127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db371"} 
[2026-04-22 10:01:37] local.INFO: Extracted packet for processing {"connection_id":50127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db371"} 
[2026-04-22 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868998912001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776832048000,"timestamp_ms":1776832048000,"timestamp_seconds":1776832048,"priority":1,"record_length":96,"hex_timestamp":"0000019db3716b80"} 
[2026-04-22 10:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5517231425538165007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":22529,"corrected_to":0} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95742174011850752,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569738514638,"note":"Value kept but may cause issues"} 
[2026-04-22 10:01:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:01:37] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,96,2,24,241,158,16,7,157,203,44,192,78,12,10,66,121,39,1,240,179,29,4,113,205,127,40,239,48,148,38],"length":534,"final_offset":664,"validated_count":31,"validation_warnings":[{"io_id":203,"original":22529,"validated":0},{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 10:01:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065142797205504,"timestamp_seconds":865065142797205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868998912001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868998912001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:01:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868998912001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":50127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:01:37] local.INFO: GPS data processed {"connection_id":50127,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:01:37] local.INFO: Acknowledgment sent {"connection_id":50127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:01:51] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:01:51] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:01:51] local.INFO: IMEI packet received {"connection_id":50375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":50375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:01:56] local.INFO: TCP Data received {"connection_id":50503,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:01:56] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:01:56] local.INFO: IMEI packet received {"connection_id":50503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":50503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:01:57] local.INFO: TCP Data received {"connection_id":50503,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:01:57] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:01:57] local.INFO: IMEI packet received {"connection_id":50503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":50503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:02:02] local.INFO: TCP Data received {"connection_id":50503,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:02:02] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:02:02] local.INFO: IMEI packet received {"connection_id":50503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":50503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:02:04] local.INFO: TCP Data received {"connection_id":50503,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db371bd88012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db371bd88012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:02:04] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db371bd88012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:02:04] local.INFO: Packet analysis {"connection_id":50503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db371"} 
[2026-04-22 10:02:04] local.INFO: Extracted packet for processing {"connection_id":50503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db371"} 
[2026-04-22 10:02:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869004288001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832069000,"timestamp_ms":1776832069000,"timestamp_seconds":1776832069,"priority":1,"record_length":96,"hex_timestamp":"0000019db371bd88"} 
[2026-04-22 10: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-22 10:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:02:04] 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-22 10: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-22 10: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-22 10:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869004288001,"66":12319,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869004288001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:02:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:02:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869004288001,"power":12319,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":50503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:02:04] local.INFO: GPS data processed {"connection_id":50503,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:02:04] local.INFO: Acknowledgment sent {"connection_id":50503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:02:04] local.INFO: TCP Data received {"connection_id":50502,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:02:04] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:02:04] local.INFO: Packet analysis {"connection_id":50502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:02:04] local.INFO: Extracted packet for processing {"connection_id":50502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":3,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02: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-22 10:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832274000,"timestamp_ms":1776832274000,"timestamp_seconds":1776832274,"priority":1,"record_length":96,"hex_timestamp":"0000019db374de50"} 
[2026-04-22 10: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-22 10:02: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:02:04] 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-22 10: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-22 10: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-22 10:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:02: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-22 10:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868985088001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:02:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868985088001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":50502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:02:04] local.INFO: GPS data processed {"connection_id":50502,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:02:04] local.INFO: Acknowledgment sent {"connection_id":50502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:02:35] local.INFO: TCP Data received {"connection_id":50503,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3720f90012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3720f90012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:02:35] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3720f90012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:02:35] local.INFO: Packet analysis {"connection_id":50503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db372"} 
[2026-04-22 10:02:35] local.INFO: Extracted packet for processing {"connection_id":50503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db372"} 
[2026-04-22 10:02:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869009664001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776832090000,"timestamp_ms":1776832090000,"timestamp_seconds":1776832090,"priority":1,"record_length":96,"hex_timestamp":"0000019db3720f90"} 
[2026-04-22 10:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:02:35] 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-22 10:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869009664001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869009664001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:02:35] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869009664001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":50503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:02:36] local.INFO: GPS data processed {"connection_id":50503,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:02:36] local.INFO: Acknowledgment sent {"connection_id":50503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:02:42] local.INFO: TCP Data received {"connection_id":50376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:02:42] local.INFO: Processing buffer {"connection_id":50376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:02:42] local.INFO: IMEI packet received {"connection_id":50376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":50376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:02:47] local.INFO: TCP Data received {"connection_id":50376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:02:47] local.INFO: Processing buffer {"connection_id":50376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:02:47] local.INFO: IMEI packet received {"connection_id":50376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":50376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:02:48] local.INFO: TCP Data received {"connection_id":50376,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:02:48] local.INFO: Processing buffer {"connection_id":50376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:02:48] local.INFO: Packet analysis {"connection_id":50376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:02:48] local.INFO: Extracted packet for processing {"connection_id":50376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":3,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:02:48] 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-22 10:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776832274000,"timestamp_ms":1776832274000,"timestamp_seconds":1776832274,"priority":1,"record_length":96,"hex_timestamp":"0000019db374de50"} 
[2026-04-22 10:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:02: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-22 10:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:02:48] 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-22 10:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868985088001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:02:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:02:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868985088001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":50376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:02:48] local.INFO: GPS data processed {"connection_id":50376,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:02:48] local.INFO: Acknowledgment sent {"connection_id":50376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:02:56] local.INFO: TCP Data received {"connection_id":51067,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:02:56] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:02:56] local.INFO: IMEI packet received {"connection_id":51067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":51067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:03:01] local.INFO: TCP Data received {"connection_id":51067,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:03:01] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:03:01] local.INFO: IMEI packet received {"connection_id":51067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":51067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:03:02] local.INFO: TCP Data received {"connection_id":51067,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:03:02] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:03:02] local.INFO: IMEI packet received {"connection_id":51067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":51067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:03:04] local.INFO: TCP Data received {"connection_id":51067,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3726198012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3726198012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:03:04] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3726198012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:03:04] local.INFO: Packet analysis {"connection_id":51067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db372"} 
[2026-04-22 10:03:04] local.INFO: Extracted packet for processing {"connection_id":51067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db372"} 
[2026-04-22 10:03:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869015040001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832111000,"timestamp_ms":1776832111000,"timestamp_seconds":1776832111,"priority":1,"record_length":96,"hex_timestamp":"0000019db3726198"} 
[2026-04-22 10:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869015040001,"66":12319,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869015040001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:03:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869015040001,"power":12319,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":51067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:03:04] local.INFO: GPS data processed {"connection_id":51067,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:03:04] local.INFO: Acknowledgment sent {"connection_id":51067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:03:08] local.INFO: TCP Data received {"connection_id":51067,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db372b3a0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db372b3a0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:03:08] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db372b3a0012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:03:08] local.INFO: Packet analysis {"connection_id":51067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db372"} 
[2026-04-22 10:03:08] local.INFO: Extracted packet for processing {"connection_id":51067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db372"} 
[2026-04-22 10:03:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869020416001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776832132000,"timestamp_ms":1776832132000,"timestamp_seconds":1776832132,"priority":1,"record_length":96,"hex_timestamp":"0000019db372b3a0"} 
[2026-04-22 10: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-22 10:03:08] 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-22 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:03:08] 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-22 10: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-22 10: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-22 10:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869020416001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869020416001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:03:08] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:03:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869020416001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":51067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:03:08] local.INFO: GPS data processed {"connection_id":51067,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:03:08] local.INFO: Acknowledgment sent {"connection_id":51067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:03:27] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:03:27] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:03:27] local.INFO: IMEI packet received {"connection_id":50504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:03:32] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:03:32] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:03:32] local.INFO: IMEI packet received {"connection_id":50504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:03:33] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:03:33] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:03:33] local.INFO: Packet analysis {"connection_id":50504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:03:33] local.INFO: Extracted packet for processing {"connection_id":50504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":3,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:33] 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-22 10:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776832274000,"timestamp_ms":1776832274000,"timestamp_seconds":1776832274,"priority":1,"record_length":96,"hex_timestamp":"0000019db374de50"} 
[2026-04-22 10:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:03: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-22 10:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:03: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-22 10:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:03: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-22 10:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868985088001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868985088001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:03:33] local.INFO: GPS data processed {"connection_id":50504,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:03:33] local.INFO: Acknowledgment sent {"connection_id":50504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:03:39] local.INFO: TCP Data received {"connection_id":51067,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37305a8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37305a8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:03:39] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37305a8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:03:39] local.INFO: Packet analysis {"connection_id":51067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db373"} 
[2026-04-22 10:03:39] local.INFO: Extracted packet for processing {"connection_id":51067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db373"} 
[2026-04-22 10:03:39] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869025792001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776832153000,"timestamp_ms":1776832153000,"timestamp_seconds":1776832153,"priority":1,"record_length":96,"hex_timestamp":"0000019db37305a8"} 
[2026-04-22 10:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:03:39] 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-22 10:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5516776159004789007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95749870593245184,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120250880206,"note":"Value kept but may cause issues"} 
[2026-04-22 10:03:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:03:39] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,98,2,24,241,158,16,7,157,97,44,192,78,12,42,10,66,15,40,189,1,240,31,179,29,4,113,205,25,239,48,96,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 10:03:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065138502238208,"timestamp_seconds":865065138502238.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869025792001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869025792001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:03:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:03:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869025792001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":51067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:03:40] local.INFO: GPS data processed {"connection_id":51067,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:03:40] local.INFO: Acknowledgment sent {"connection_id":51067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:04:02] local.INFO: TCP Data received {"connection_id":50505,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:04:02] local.INFO: Processing buffer {"connection_id":50505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:04:02] local.INFO: IMEI packet received {"connection_id":50505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":50505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:04:03] local.INFO: TCP Data received {"connection_id":50505,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:04:03] local.INFO: Processing buffer {"connection_id":50505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:04:03] local.INFO: IMEI packet received {"connection_id":50505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":50505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:04:04] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:04:04] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:04:04] local.INFO: Packet analysis {"connection_id":50504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:04:04] local.INFO: Extracted packet for processing {"connection_id":50504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":3,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04: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-22 10:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832274000,"timestamp_ms":1776832274000,"timestamp_seconds":1776832274,"priority":1,"record_length":96,"hex_timestamp":"0000019db374de50"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:04:04] 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-22 10: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-22 10: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-22 10:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:04: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-22 10:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868985088001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868985088001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:04:04] local.INFO: GPS data processed {"connection_id":50504,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:04:04] local.INFO: Acknowledgment sent {"connection_id":50504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:04:05] local.INFO: TCP Data received {"connection_id":50505,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37357b0012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37357b0012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:04:05] local.INFO: Processing buffer {"connection_id":50505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37357b0012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:04:05] local.INFO: Packet analysis {"connection_id":50505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db373"} 
[2026-04-22 10:04:05] local.INFO: Extracted packet for processing {"connection_id":50505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db373"} 
[2026-04-22 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 10:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869031168001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776832174000,"timestamp_ms":1776832174000,"timestamp_seconds":1776832174,"priority":1,"record_length":96,"hex_timestamp":"0000019db37357b0"} 
[2026-04-22 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-22 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 10:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869031168001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869031168001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:04:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:04:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869031168001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":50505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:04:05] local.INFO: GPS data processed {"connection_id":50505,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:04:05] local.INFO: Acknowledgment sent {"connection_id":50505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:04:07] local.INFO: TCP Data received {"connection_id":50505,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db373a9b8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db373a9b8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:04:07] local.INFO: Processing buffer {"connection_id":50505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db373a9b8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:04:07] local.INFO: Packet analysis {"connection_id":50505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db373"} 
[2026-04-22 10:04:07] local.INFO: Extracted packet for processing {"connection_id":50505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db373"} 
[2026-04-22 10:04:07] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869036544001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776832195000,"timestamp_ms":1776832195000,"timestamp_seconds":1776832195,"priority":1,"record_length":96,"hex_timestamp":"0000019db373a9b8"} 
[2026-04-22 10:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869036544001,"66":12319,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869036544001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:04:07] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:04:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869036544001,"power":12319,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":50505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:04:07] local.INFO: GPS data processed {"connection_id":50505,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:04:07] local.INFO: Acknowledgment sent {"connection_id":50505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:04:27] local.INFO: TCP Data received {"connection_id":51069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:04:27] local.INFO: Processing buffer {"connection_id":51069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:04:27] local.INFO: IMEI packet received {"connection_id":51069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":51069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:04:32] local.INFO: TCP Data received {"connection_id":51069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:04:32] local.INFO: Processing buffer {"connection_id":51069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:04:32] local.INFO: IMEI packet received {"connection_id":51069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":51069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:04:32] local.INFO: TCP Data received {"connection_id":51069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:04:32] local.INFO: Processing buffer {"connection_id":51069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:04:32] local.INFO: Packet analysis {"connection_id":51069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:04:32] local.INFO: Extracted packet for processing {"connection_id":51069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":3,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10: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-22 10:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832274000,"timestamp_ms":1776832274000,"timestamp_seconds":1776832274,"priority":1,"record_length":96,"hex_timestamp":"0000019db374de50"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:04: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-22 10: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-22 10: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-22 10:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:04: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-22 10:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868985088001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:04:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868985088001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":51069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:04:32] local.INFO: GPS data processed {"connection_id":51069,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:04:32] local.INFO: Acknowledgment sent {"connection_id":51069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:04:39] local.INFO: TCP Data received {"connection_id":50505,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db373fbc0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db373fbc0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:04:39] local.INFO: Processing buffer {"connection_id":50505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db373fbc0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:04:39] local.INFO: Packet analysis {"connection_id":50505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db373"} 
[2026-04-22 10:04:39] local.INFO: Extracted packet for processing {"connection_id":50505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db373"} 
[2026-04-22 10:04:39] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869041920001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776832216000,"timestamp_ms":1776832216000,"timestamp_seconds":1776832216,"priority":1,"record_length":96,"hex_timestamp":"0000019db373fbc0"} 
[2026-04-22 10:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:04:39] 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-22 10:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:04:39] 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-22 10:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869041920001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869041920001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:04:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869041920001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":50505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:04:39] local.INFO: GPS data processed {"connection_id":50505,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:04:39] local.INFO: Acknowledgment sent {"connection_id":50505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:04:57] local.INFO: TCP Data received {"connection_id":50377,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:04:57] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:04:57] local.INFO: IMEI packet received {"connection_id":50377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":50377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:05:02] local.INFO: TCP Data received {"connection_id":50377,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:05:02] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:05:02] local.INFO: IMEI packet received {"connection_id":50377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":50377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:05:03] local.INFO: TCP Data received {"connection_id":51069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:05:03] local.INFO: Processing buffer {"connection_id":51069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:05:03] local.INFO: Packet analysis {"connection_id":51069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:05:03] local.INFO: Extracted packet for processing {"connection_id":51069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":3,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05: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-22 10:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832274000,"timestamp_ms":1776832274000,"timestamp_seconds":1776832274,"priority":1,"record_length":96,"hex_timestamp":"0000019db374de50"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:05: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-22 10: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-22 10: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-22 10:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10: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-22 10:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868985088001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:05:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868985088001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":51069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:05:03] local.INFO: GPS data processed {"connection_id":51069,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:05:03] local.INFO: Acknowledgment sent {"connection_id":51069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:05:05] local.INFO: TCP Data received {"connection_id":50377,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3744dc8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3744dc8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:05:05] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3744dc8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:05:05] local.INFO: Packet analysis {"connection_id":50377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:05:05] local.INFO: Extracted packet for processing {"connection_id":50377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869047296001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776832237000,"timestamp_ms":1776832237000,"timestamp_seconds":1776832237,"priority":1,"record_length":96,"hex_timestamp":"0000019db3744dc8"} 
[2026-04-22 10: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-22 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869047296001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869047296001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:05:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869047296001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":50377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:05:05] local.INFO: GPS data processed {"connection_id":50377,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:05:05] local.INFO: Acknowledgment sent {"connection_id":50377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:05:26] local.INFO: TCP Data received {"connection_id":51071,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:05:26] local.INFO: Processing buffer {"connection_id":51071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:05:26] local.INFO: IMEI packet received {"connection_id":51071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":51071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:05:32] local.INFO: TCP Data received {"connection_id":51071,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:05:32] local.INFO: Processing buffer {"connection_id":51071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:05:32] local.INFO: IMEI packet received {"connection_id":51071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":51071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:05:32] local.INFO: TCP Data received {"connection_id":51071,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:05:32] local.INFO: Processing buffer {"connection_id":51071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:05:32] local.INFO: Packet analysis {"connection_id":51071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:05:32] local.INFO: Extracted packet for processing {"connection_id":51071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":3,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05: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-22 10:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832274000,"timestamp_ms":1776832274000,"timestamp_seconds":1776832274,"priority":1,"record_length":96,"hex_timestamp":"0000019db374de50"} 
[2026-04-22 10: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-22 10:05: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-22 10: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:05: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-22 10: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-22 10: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-22 10:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868985088001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:05:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868985088001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":51071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:05:32] local.INFO: GPS data processed {"connection_id":51071,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:05:32] local.INFO: Acknowledgment sent {"connection_id":51071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:05:37] local.INFO: TCP Data received {"connection_id":50377,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db374a3b8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374a3b8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:05:37] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374a3b8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:05:37] local.INFO: Packet analysis {"connection_id":50377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:05:37] local.INFO: Extracted packet for processing {"connection_id":50377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:05:37] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869052672001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776832259000,"timestamp_ms":1776832259000,"timestamp_seconds":1776832259,"priority":1,"record_length":96,"hex_timestamp":"0000019db374a3b8"} 
[2026-04-22 10: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-22 10:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869052672001,"66":11971,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869052672001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:05:37] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869052672001,"power":11971,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":50377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:05:37] local.INFO: GPS data processed {"connection_id":50377,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:05:37] local.INFO: Acknowledgment sent {"connection_id":50377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:05:57] local.INFO: TCP Data received {"connection_id":51072,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:05:57] local.INFO: Processing buffer {"connection_id":51072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:05:57] local.INFO: IMEI packet received {"connection_id":51072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":51072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:06:02] local.INFO: TCP Data received {"connection_id":51072,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:06:02] local.INFO: Processing buffer {"connection_id":51072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:06:02] local.INFO: IMEI packet received {"connection_id":51072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":51072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:06:04] local.INFO: TCP Data received {"connection_id":51071,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:06:04] local.INFO: Processing buffer {"connection_id":51071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:06:04] local.INFO: Packet analysis {"connection_id":51071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:06:04] local.INFO: Extracted packet for processing {"connection_id":51071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":3,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06: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-22 10:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832274000,"timestamp_ms":1776832274000,"timestamp_seconds":1776832274,"priority":1,"record_length":96,"hex_timestamp":"0000019db374de50"} 
[2026-04-22 10:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:06: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-22 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:06:04] 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-22 10:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868985088001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:06:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868985088001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":51071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:06:04] local.INFO: GPS data processed {"connection_id":51071,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:06:04] local.INFO: Acknowledgment sent {"connection_id":51071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:06:04] local.INFO: TCP Data received {"connection_id":51072,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db374f5c0012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374f5c0012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:06:04] local.INFO: Processing buffer {"connection_id":51072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374f5c0012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:06:04] local.INFO: Packet analysis {"connection_id":51072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:06:04] local.INFO: Extracted packet for processing {"connection_id":51072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:06:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869058304001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832280000,"timestamp_ms":1776832280000,"timestamp_seconds":1776832280,"priority":1,"record_length":96,"hex_timestamp":"0000019db374f5c0"} 
[2026-04-22 10:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-22 10:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869058304001,"66":12232,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869058304001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:06:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869058304001,"power":12232,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":51072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:06:04] local.INFO: GPS data processed {"connection_id":51072,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:06:04] local.INFO: Acknowledgment sent {"connection_id":51072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:06:26] local.INFO: TCP Data received {"connection_id":50507,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:06:26] local.INFO: Processing buffer {"connection_id":50507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:06:26] local.INFO: IMEI packet received {"connection_id":50507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":50507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:06:32] local.INFO: TCP Data received {"connection_id":50507,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:06:32] local.INFO: Processing buffer {"connection_id":50507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:06:32] local.INFO: IMEI packet received {"connection_id":50507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:06:32] local.INFO: TCP Data received {"connection_id":50507,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:06:32] local.INFO: Processing buffer {"connection_id":50507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db374de50012d7f868005afdbe0000301162c..."} 
[2026-04-22 10:06:32] local.INFO: Packet analysis {"connection_id":50507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:06:32] local.INFO: Extracted packet for processing {"connection_id":50507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db374"} 
[2026-04-22 10:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":3,"angle":278,"satellites":44,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06: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-22 10:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832274000,"timestamp_ms":1776832274000,"timestamp_seconds":1776832274,"priority":1,"record_length":96,"hex_timestamp":"0000019db374de50"} 
[2026-04-22 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-22 10: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-22 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":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:06: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-22 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-22 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-22 10:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:06:32] local.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-22 10:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868985088001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:06:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868985088001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":50507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:06:32] local.INFO: GPS data processed {"connection_id":50507,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:06:32] local.INFO: Acknowledgment sent {"connection_id":50507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:06:35] local.INFO: TCP Data received {"connection_id":51072,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3787830012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3787830012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:06:35] local.INFO: Processing buffer {"connection_id":51072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3787830012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:06:35] local.INFO: Packet analysis {"connection_id":51072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db378"} 
[2026-04-22 10:06:35] local.INFO: Extracted packet for processing {"connection_id":51072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db378"} 
[2026-04-22 10:06:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869117184001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776832510000,"timestamp_ms":1776832510000,"timestamp_seconds":1776832510,"priority":1,"record_length":96,"hex_timestamp":"0000019db3787830"} 
[2026-04-22 10:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:06:35] 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-22 10:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:06:35] 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-22 10:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869117184001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869117184001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:06:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869117184001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":51072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:06:35] local.INFO: GPS data processed {"connection_id":51072,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:06:35] local.INFO: Acknowledgment sent {"connection_id":51072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:06:56] local.INFO: TCP Data received {"connection_id":50508,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:06:56] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:06:56] local.INFO: IMEI packet received {"connection_id":50508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":50508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:07:02] local.INFO: TCP Data received {"connection_id":50508,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:07:02] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:07:02] local.INFO: IMEI packet received {"connection_id":50508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":50508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:07:03] local.INFO: TCP Data received {"connection_id":50507,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:07:03] local.INFO: Processing buffer {"connection_id":50507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:07:03] local.INFO: Packet analysis {"connection_id":50507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:07:03] local.INFO: Extracted packet for processing {"connection_id":50507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07: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-22 10:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 10:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:07: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-22 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:07: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-22 10:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:07:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:07:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":50507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:07:03] local.INFO: GPS data processed {"connection_id":50507,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:07:03] local.INFO: Acknowledgment sent {"connection_id":50507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:07:03] local.INFO: TCP Data received {"connection_id":50508,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db378ca38012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db378ca38012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:07:03] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db378ca38012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:07:03] local.INFO: Packet analysis {"connection_id":50508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db378"} 
[2026-04-22 10:07:03] local.INFO: Extracted packet for processing {"connection_id":50508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db378"} 
[2026-04-22 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869122560001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832531000,"timestamp_ms":1776832531000,"timestamp_seconds":1776832531,"priority":1,"record_length":96,"hex_timestamp":"0000019db378ca38"} 
[2026-04-22 10:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5515156956334197007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95749870593245184,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471508635854,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 10:07:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:03] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,38,44,192,78,12,42,10,66,212,98,130,1,240,53,179,29,4,113,205,222,40,239,47,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 10:07:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065147092172800,"timestamp_seconds":865065147092172.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869122560001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869122560001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:07:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869122560001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:07:04] local.INFO: GPS data processed {"connection_id":50508,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:07:04] local.INFO: Acknowledgment sent {"connection_id":50508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:07:16] local.INFO: TCP Data received {"connection_id":50128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:07:16] local.INFO: Processing buffer {"connection_id":50128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:07:16] local.INFO: IMEI packet received {"connection_id":50128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":50128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:07:27] local.INFO: TCP Data received {"connection_id":50378,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:07:27] local.INFO: Processing buffer {"connection_id":50378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:07:27] local.INFO: IMEI packet received {"connection_id":50378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:07:32] local.INFO: TCP Data received {"connection_id":50378,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:07:32] local.INFO: Processing buffer {"connection_id":50378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:07:32] local.INFO: IMEI packet received {"connection_id":50378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:07:33] local.INFO: TCP Data received {"connection_id":50378,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:07:33] local.INFO: Processing buffer {"connection_id":50378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:07:33] local.INFO: Packet analysis {"connection_id":50378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:07:33] local.INFO: Extracted packet for processing {"connection_id":50378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:33] 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-22 10:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 10: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-22 10:07: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-22 10:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:07: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-22 10: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-22 10: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-22 10:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:07:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:07:33] local.INFO: GPS data processed {"connection_id":50378,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:07:33] local.INFO: Acknowledgment sent {"connection_id":50378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:07:35] local.INFO: TCP Data received {"connection_id":50508,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3792028012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3792028012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:07:35] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3792028012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:07:35] local.INFO: Packet analysis {"connection_id":50508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:07:35] local.INFO: Extracted packet for processing {"connection_id":50508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:07:35] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869127936001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776832553000,"timestamp_ms":1776832553000,"timestamp_seconds":1776832553,"priority":1,"record_length":96,"hex_timestamp":"0000019db3792028"} 
[2026-04-22 10:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:07:35] 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-22 10:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:07:35] 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-22 10:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869127936001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869127936001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:07:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:07:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869127936001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":50508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:07:35] local.INFO: GPS data processed {"connection_id":50508,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:07:35] local.INFO: Acknowledgment sent {"connection_id":50508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:07:51] local.INFO: TCP Data received {"connection_id":50509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:07:51] local.INFO: Processing buffer {"connection_id":50509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:07:51] local.INFO: IMEI packet received {"connection_id":50509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":50509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:07:56] local.INFO: TCP Data received {"connection_id":51073,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:07:56] local.INFO: Processing buffer {"connection_id":51073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:07:56] local.INFO: IMEI packet received {"connection_id":51073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":51073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:07:56] local.INFO: TCP Data received {"connection_id":50509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:07:56] local.INFO: Processing buffer {"connection_id":50509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:07:56] local.INFO: IMEI packet received {"connection_id":50509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 10:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":50509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:07:57] local.INFO: TCP Data received {"connection_id":50509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db36ef698012cb29a4007822fd80042004230..."} 
[2026-04-22 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db36ef698012cb29a4007822fd80042004230..."} 
[2026-04-22 10:07:57] local.INFO: Processing buffer {"connection_id":50509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db36ef698012cb29a4007822fd80042004230..."} 
[2026-04-22 10:07:57] local.INFO: Packet analysis {"connection_id":50509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db36e"} 
[2026-04-22 10:07:57] local.INFO: Extracted packet for processing {"connection_id":50509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db36e"} 
[2026-04-22 10:07:57] local.INFO: GPS Element Parsed {"raw_longitude":749902400,"raw_latitude":125972440,"longitude_deg":74.99024,"latitude_deg":12.597244,"altitude":66,"angle":66,"satellites":48,"speed":0,"hex_longitude":"2cb29a40","hex_latitude":"07822fd8","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454868886016001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577074787551815680,"note":"Value kept but may cause issues"} 
[2026-04-22 10:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776831887000,"timestamp_ms":1776831887000,"timestamp_seconds":1776831887,"priority":1,"record_length":96,"hex_timestamp":"0000019db36ef698"} 
[2026-04-22 10: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-22 10:07:57] 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-22 10: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-04-22 10:07:57] 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-22 10: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-22 10: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-22 10:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":50509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":50509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 10:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":50509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 10:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-22 10:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-22 10:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454868886016001,"66":25234,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5577074787551815680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-22 10:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-22 10:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-22 10:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454868886016001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:07:57] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-22 10:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-22 10:07:57] 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-22 10:07:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577074787551815680,"description":"Unknown IO ID 44"} 
[2026-04-22 10:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454868886016001,"power":25234,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577074787551815680}} 
[2026-04-22 10:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":50509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:07:57] local.INFO: GPS data processed {"connection_id":50509,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:07:57] local.INFO: Acknowledgment sent {"connection_id":50509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:08:02] local.INFO: TCP Data received {"connection_id":51073,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:08:02] local.INFO: Processing buffer {"connection_id":51073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:08:02] local.INFO: IMEI packet received {"connection_id":51073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":51073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:08:04] local.INFO: TCP Data received {"connection_id":50378,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:08:04] local.INFO: Processing buffer {"connection_id":50378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:08:04] local.INFO: Packet analysis {"connection_id":50378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:08:04] local.INFO: Extracted packet for processing {"connection_id":50378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08: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-22 10:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 10: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-22 10:08: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-22 10:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:08:04] 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-22 10: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-22 10: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-22 10:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:08:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:08:04] local.INFO: GPS data processed {"connection_id":50378,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:08:04] local.INFO: Acknowledgment sent {"connection_id":50378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:08:04] local.INFO: TCP Data received {"connection_id":51073,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797230012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797230012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:08:04] local.INFO: Processing buffer {"connection_id":51073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797230012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:08:04] local.INFO: Packet analysis {"connection_id":51073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:08:04] local.INFO: Extracted packet for processing {"connection_id":51073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:08:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869133568001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832574000,"timestamp_ms":1776832574000,"timestamp_seconds":1776832574,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797230"} 
[2026-04-22 10: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-22 10:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:08:04] 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-22 10: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-22 10: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-22 10:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869133568001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869133568001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:08:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869133568001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":51073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:08:04] local.INFO: GPS data processed {"connection_id":51073,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:08:04] local.INFO: Acknowledgment sent {"connection_id":51073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:08:27] local.INFO: TCP Data received {"connection_id":50129,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:08:27] local.INFO: Processing buffer {"connection_id":50129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:08:27] local.INFO: IMEI packet received {"connection_id":50129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":50129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:08:31] local.INFO: TCP Data received {"connection_id":50129,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:08:32] local.INFO: Processing buffer {"connection_id":50129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:08:32] local.INFO: IMEI packet received {"connection_id":50129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:08:32] local.INFO: TCP Data received {"connection_id":50129,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:08:32] local.INFO: Processing buffer {"connection_id":50129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:08:32] local.INFO: Packet analysis {"connection_id":50129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:08:32] local.INFO: Extracted packet for processing {"connection_id":50129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08: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-22 10:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 10: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-22 10:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10: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-22 10: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-22 10: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-22 10:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:08:32] 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-22 10:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:08:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":50129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:08:32] local.INFO: GPS data processed {"connection_id":50129,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:08:32] local.INFO: Acknowledgment sent {"connection_id":50129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:08:36] local.INFO: TCP Data received {"connection_id":51073,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db379c050012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db379c050012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:08:36] local.INFO: Processing buffer {"connection_id":51073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db379c050012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:08:36] local.INFO: Packet analysis {"connection_id":51073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:08:36] local.INFO: Extracted packet for processing {"connection_id":51073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:08:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869138944001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776832594000,"timestamp_ms":1776832594000,"timestamp_seconds":1776832594,"priority":1,"record_length":96,"hex_timestamp":"0000019db379c050"} 
[2026-04-22 10:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:08:36] 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-22 10:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5514886373394549007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95745472546734080,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569738645710,"note":"Value kept but may cause issues"} 
[2026-04-22 10:08:36] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":14337,"corrected_to":0} 
[2026-04-22 10:08:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:08:36] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,96,2,24,241,158,16,7,157,32,44,192,78,12,43,10,66,202,120,1,240,179,29,4,113,205,212,40,42,239,48,98,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":202,"original":14337,"validated":0},{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 10:08:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065147092172800,"timestamp_seconds":865065147092172.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869138944001,"66":12287,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869138944001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:08:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869138944001,"power":12287,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":51073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:08:36] local.INFO: GPS data processed {"connection_id":51073,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:08:36] local.INFO: Acknowledgment sent {"connection_id":51073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:08:41] local.INFO: TCP Data received {"connection_id":50510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:08:41] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:08:41] local.INFO: IMEI packet received {"connection_id":50510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":50510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:08:57] local.INFO: TCP Data received {"connection_id":50130,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:08:57] local.INFO: Processing buffer {"connection_id":50130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:08:57] local.INFO: IMEI packet received {"connection_id":50130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":50130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:09:02] local.INFO: TCP Data received {"connection_id":50130,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:09:02] local.INFO: Processing buffer {"connection_id":50130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:09:02] local.INFO: IMEI packet received {"connection_id":50130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":50130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:09:04] local.INFO: TCP Data received {"connection_id":50129,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:09:04] local.INFO: Processing buffer {"connection_id":50129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:09:04] local.INFO: Packet analysis {"connection_id":50129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:09:04] local.INFO: Extracted packet for processing {"connection_id":50129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09: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-22 10:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 10:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:09: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-22 10:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:09:04] 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-22 10:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:09:04] 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-22 10:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:09:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":50129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:09:04] local.INFO: GPS data processed {"connection_id":50129,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:09:04] local.INFO: Acknowledgment sent {"connection_id":50129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:09:07] local.INFO: TCP Data received {"connection_id":50130,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:09:07] local.INFO: Processing buffer {"connection_id":50130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:09:07] local.INFO: IMEI packet received {"connection_id":50130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":50130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:09:08] local.INFO: TCP Data received {"connection_id":50130,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37a1258012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37a1258012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:09:08] local.INFO: Processing buffer {"connection_id":50130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37a1258012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:09:08] local.INFO: Packet analysis {"connection_id":50130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37a"} 
[2026-04-22 10:09:08] local.INFO: Extracted packet for processing {"connection_id":50130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37a"} 
[2026-04-22 10:09:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869144064001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776832615000,"timestamp_ms":1776832615000,"timestamp_seconds":1776832615,"priority":1,"record_length":96,"hex_timestamp":"0000019db37a1258"} 
[2026-04-22 10: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-22 10:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869144064001,"66":12341,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869144064001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:09:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:09:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869144064001,"power":12341,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":50130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:09:08] local.INFO: GPS data processed {"connection_id":50130,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:09:08] local.INFO: Acknowledgment sent {"connection_id":50130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:09:13] local.INFO: TCP Data received {"connection_id":50130,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37a6460012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37a6460012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:09:13] local.INFO: Processing buffer {"connection_id":50130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37a6460012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:09:13] local.INFO: Packet analysis {"connection_id":50130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37a"} 
[2026-04-22 10:09:13] local.INFO: Extracted packet for processing {"connection_id":50130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37a"} 
[2026-04-22 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869149440001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776832636000,"timestamp_ms":1776832636000,"timestamp_seconds":1776832636,"priority":1,"record_length":96,"hex_timestamp":"0000019db37a6460"} 
[2026-04-22 10:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:09:13] 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-22 10:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869149440001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869149440001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:09:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869149440001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":50130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:09:13] local.INFO: GPS data processed {"connection_id":50130,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:09:13] local.INFO: Acknowledgment sent {"connection_id":50130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:09:26] local.INFO: TCP Data received {"connection_id":50511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:09:26] local.INFO: Processing buffer {"connection_id":50511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:09:26] local.INFO: IMEI packet received {"connection_id":50511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":50511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:09:31] local.INFO: TCP Data received {"connection_id":50511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:09:31] local.INFO: Processing buffer {"connection_id":50511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:09:31] local.INFO: IMEI packet received {"connection_id":50511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":50511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:09:32] local.INFO: TCP Data received {"connection_id":50511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:09:32] local.INFO: Processing buffer {"connection_id":50511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:09:32] local.INFO: Packet analysis {"connection_id":50511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:09:32] local.INFO: Extracted packet for processing {"connection_id":50511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:09: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-22 10:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 10: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-22 10:09: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:09: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-22 10: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-22 10: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-22 10:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:09:32] 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-22 10:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:09:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":50511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:09:32] local.INFO: GPS data processed {"connection_id":50511,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:09:32] local.INFO: Acknowledgment sent {"connection_id":50511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:09:57] local.INFO: TCP Data received {"connection_id":50512,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:09:57] local.INFO: Processing buffer {"connection_id":50512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:09:57] local.INFO: IMEI packet received {"connection_id":50512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":50512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:10:01] local.INFO: TCP Data received {"connection_id":50512,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:10:01] local.INFO: Processing buffer {"connection_id":50512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:10:01] local.INFO: IMEI packet received {"connection_id":50512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":50512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:10:02] local.INFO: TCP Data received {"connection_id":50512,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37ab668012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37ab668012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:10:02] local.INFO: Processing buffer {"connection_id":50512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37ab668012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:10:02] local.INFO: Packet analysis {"connection_id":50512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37a"} 
[2026-04-22 10:10:02] local.INFO: Extracted packet for processing {"connection_id":50512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37a"} 
[2026-04-22 10:10:02] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869154816001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776832657000,"timestamp_ms":1776832657000,"timestamp_seconds":1776832657,"priority":1,"record_length":96,"hex_timestamp":"0000019db37ab668"} 
[2026-04-22 10:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:10:02] 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-22 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5514615790454901007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95748771081617408,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145739956430,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:10:02] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":939601142,"corrected_to":0} 
[2026-04-22 10:10:02] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:02] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,96,2,24,241,158,16,7,157,18,44,192,78,12,43,10,66,42,114,1,240,179,29,4,113,205,202,40,239,47,148],"length":534,"final_offset":664,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0},{"io_id":202,"original":939601142,"validated":0}]} 
[2026-04-22 10:10:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065147092172800,"timestamp_seconds":865065147092172.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869154816001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869154816001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:10:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869154816001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":50512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:10:02] local.INFO: GPS data processed {"connection_id":50512,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:10:02] local.INFO: Acknowledgment sent {"connection_id":50512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:10:03] local.INFO: TCP Data received {"connection_id":50511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:10:03] local.INFO: Processing buffer {"connection_id":50511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:10:03] local.INFO: Packet analysis {"connection_id":50511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:10:03] local.INFO: Extracted packet for processing {"connection_id":50511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10: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-22 10:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 10: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-22 10:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:10: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-22 10: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-22 10: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-22 10:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:10: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-22 10:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:10:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":50511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:10:03] local.INFO: GPS data processed {"connection_id":50511,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:10:03] local.INFO: Acknowledgment sent {"connection_id":50511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:10:26] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:10:26] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:10:26] local.INFO: IMEI packet received {"connection_id":50379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":50379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:10:31] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:10:31] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:10:31] local.INFO: IMEI packet received {"connection_id":50379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":50379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:10:32] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:10:32] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:10:32] local.INFO: Packet analysis {"connection_id":50379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:10:32] local.INFO: Extracted packet for processing {"connection_id":50379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10: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-22 10:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:10: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-22 10: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-22 10: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-22 10:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":50379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:10:32] local.INFO: GPS data processed {"connection_id":50379,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:10:32] local.INFO: Acknowledgment sent {"connection_id":50379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:10:34] local.INFO: TCP Data received {"connection_id":50512,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37b0870012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37b0870012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:10:34] local.INFO: Processing buffer {"connection_id":50512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37b0870012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:10:34] local.INFO: Packet analysis {"connection_id":50512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37b"} 
[2026-04-22 10:10:34] local.INFO: Extracted packet for processing {"connection_id":50512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37b"} 
[2026-04-22 10:10:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869160192001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776832678000,"timestamp_ms":1776832678000,"timestamp_seconds":1776832678,"priority":1,"record_length":96,"hex_timestamp":"0000019db37b0870"} 
[2026-04-22 10: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-22 10:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5514525596141685007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95749870593245184,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920996139214,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:10:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242660,"note":"Value kept but may cause issues"} 
[2026-04-22 10:10:34] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,96,2,24,241,158,16,7,157,100,44,192,78,12,43,10,66,18,1,240,255,179,29,4,113,205,32,40,239,47,148],"length":534,"final_offset":664,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 10:10:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065151387140096,"timestamp_seconds":865065151387140.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10: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-22 10:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869160192001,"66":12298,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869160192001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:10:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869160192001,"power":12298,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":50512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:10:34] local.INFO: GPS data processed {"connection_id":50512,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:10:34] local.INFO: Acknowledgment sent {"connection_id":50512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:10:57] local.INFO: TCP Data received {"connection_id":51075,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:10:57] local.INFO: Processing buffer {"connection_id":51075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:10:57] local.INFO: IMEI packet received {"connection_id":51075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":51075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:11:02] local.INFO: TCP Data received {"connection_id":51075,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:11:02] local.INFO: Processing buffer {"connection_id":51075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:11:02] local.INFO: IMEI packet received {"connection_id":51075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":51075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:11:03] local.INFO: TCP Data received {"connection_id":51075,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37b5a78012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37b5a78012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:11:03] local.INFO: Processing buffer {"connection_id":51075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37b5a78012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:11:03] local.INFO: Packet analysis {"connection_id":51075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37b"} 
[2026-04-22 10:11:03] local.INFO: Extracted packet for processing {"connection_id":51075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37b"} 
[2026-04-22 10:11:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869165568001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832699000,"timestamp_ms":1776832699000,"timestamp_seconds":1776832699,"priority":1,"record_length":96,"hex_timestamp":"0000019db37b5a78"} 
[2026-04-22 10:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5514435401828469007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95748771081617408,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920996139214,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:11:03] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,96,2,24,241,158,16,7,157,182,44,192,78,12,10,66,100,43,18,1,240,53,179,29,4,113,205,114,40,239,48,148],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 10:11:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065151387140096,"timestamp_seconds":865065151387140.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869165568001,"66":12330,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869165568001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:11:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:11:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869165568001,"power":12330,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":51075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:11:03] local.INFO: GPS data processed {"connection_id":51075,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:11:03] local.INFO: Acknowledgment sent {"connection_id":51075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:11:03] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:11:03] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:11:03] local.INFO: Packet analysis {"connection_id":50379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:11:03] local.INFO: Extracted packet for processing {"connection_id":50379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:11:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11: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-22 10:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 10:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:11: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-22 10:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:11:03] 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-22 10:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:11:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:11:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":50379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:11:03] local.INFO: GPS data processed {"connection_id":50379,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:11:03] local.INFO: Acknowledgment sent {"connection_id":50379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:11:26] local.INFO: TCP Data received {"connection_id":50380,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:11:26] local.INFO: Processing buffer {"connection_id":50380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:11:26] local.INFO: IMEI packet received {"connection_id":50380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":50380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:11:31] local.INFO: TCP Data received {"connection_id":50380,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:11:31] local.INFO: Processing buffer {"connection_id":50380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:11:31] local.INFO: IMEI packet received {"connection_id":50380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":50380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:11:32] local.INFO: TCP Data received {"connection_id":50380,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:11:32] local.INFO: Processing buffer {"connection_id":50380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3797618012d7f868005afdbe00009011625..."} 
[2026-04-22 10:11:32] local.INFO: Packet analysis {"connection_id":50380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:11:32] local.INFO: Extracted packet for processing {"connection_id":50380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db379"} 
[2026-04-22 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869062144001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11: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-22 10:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832575000,"timestamp_ms":1776832575000,"timestamp_seconds":1776832575,"priority":1,"record_length":96,"hex_timestamp":"0000019db3797618"} 
[2026-04-22 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-22 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-22 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":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:11: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-22 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-22 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-22 10:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:11:32] local.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-22 10:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869062144001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869062144001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:11:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869062144001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":50380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:11:32] local.INFO: GPS data processed {"connection_id":50380,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:11:32] local.INFO: Acknowledgment sent {"connection_id":50380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:11:34] local.INFO: TCP Data received {"connection_id":51075,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37bac80012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37bac80012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:11:34] local.INFO: Processing buffer {"connection_id":51075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37bac80012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:11:34] local.INFO: Packet analysis {"connection_id":51075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37b"} 
[2026-04-22 10:11:34] local.INFO: Extracted packet for processing {"connection_id":51075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37b"} 
[2026-04-22 10:11:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869170944001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776832720000,"timestamp_ms":1776832720000,"timestamp_seconds":1776832720,"priority":1,"record_length":96,"hex_timestamp":"0000019db37bac80"} 
[2026-04-22 10: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-22 10:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-22 10:11:34] 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-22 10: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-22 10: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-22 10:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869170944001,"66":12341,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869170944001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:11:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:11:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869170944001,"power":12341,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":51075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:11:34] local.INFO: GPS data processed {"connection_id":51075,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:11:34] local.INFO: Acknowledgment sent {"connection_id":51075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:11:56] local.INFO: TCP Data received {"connection_id":50382,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:11:56] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:11:56] local.INFO: IMEI packet received {"connection_id":50382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":50382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:12:02] local.INFO: TCP Data received {"connection_id":50382,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:12:02] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:12:02] local.INFO: IMEI packet received {"connection_id":50382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":50382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:12:03] local.INFO: TCP Data received {"connection_id":50382,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37bfe88012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37bfe88012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:12:03] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37bfe88012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:12:03] local.INFO: Packet analysis {"connection_id":50382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37b"} 
[2026-04-22 10:12:03] local.INFO: Extracted packet for processing {"connection_id":50382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37b"} 
[2026-04-22 10:12:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869176320001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832741000,"timestamp_ms":1776832741000,"timestamp_seconds":1776832741,"priority":1,"record_length":96,"hex_timestamp":"0000019db37bfe88"} 
[2026-04-22 10: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-22 10:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:12:03] 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-22 10: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-22 10: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-22 10:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869176320001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869176320001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:12:03] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869176320001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":50382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:12:03] local.INFO: GPS data processed {"connection_id":50382,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:12:03] local.INFO: Acknowledgment sent {"connection_id":50382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:12:03] local.INFO: TCP Data received {"connection_id":50380,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:12:03] local.INFO: Processing buffer {"connection_id":50380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:12:03] local.INFO: Packet analysis {"connection_id":50380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:12:03] local.INFO: Extracted packet for processing {"connection_id":50380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12: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-22 10:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 10: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-22 10: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-22 10: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-22 10: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-22 10: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-22 10: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-22 10:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:12:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":50380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:12:03] local.INFO: GPS data processed {"connection_id":50380,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:12:03] local.INFO: Acknowledgment sent {"connection_id":50380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:12:26] local.INFO: TCP Data received {"connection_id":50132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:12:26] local.INFO: Processing buffer {"connection_id":50132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:12:26] local.INFO: IMEI packet received {"connection_id":50132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":50132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:12:31] local.INFO: TCP Data received {"connection_id":50132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:12:31] local.INFO: Processing buffer {"connection_id":50132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:12:31] local.INFO: IMEI packet received {"connection_id":50132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":50132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:12:32] local.INFO: TCP Data received {"connection_id":50132,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:12:32] local.INFO: Processing buffer {"connection_id":50132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:12:32] local.INFO: Packet analysis {"connection_id":50132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:12:32] local.INFO: Extracted packet for processing {"connection_id":50132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12: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-22 10:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 10:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:12: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-22 10:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:12: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-22 10:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:12:32] local.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-22 10:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:12:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":50132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:12:32] local.INFO: GPS data processed {"connection_id":50132,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:12:32] local.INFO: Acknowledgment sent {"connection_id":50132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:12:34] local.INFO: TCP Data received {"connection_id":50382,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37c5090012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37c5090012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:12:34] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37c5090012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:12:34] local.INFO: Packet analysis {"connection_id":50382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37c"} 
[2026-04-22 10:12:34] local.INFO: Extracted packet for processing {"connection_id":50382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37c"} 
[2026-04-22 10:12:34] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776832762000,"timestamp_ms":1776832762000,"timestamp_seconds":1776832762,"priority":1,"record_length":96,"hex_timestamp":"0000019db37c5090"} 
[2026-04-22 10: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-22 10:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:12:34] 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-22 10: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-22 10: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-22 10:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869181696001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:12:34] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:12:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869181696001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":50382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:12:34] local.INFO: GPS data processed {"connection_id":50382,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:12:34] local.INFO: Acknowledgment sent {"connection_id":50382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:13:01] local.INFO: TCP Data received {"connection_id":50383,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:13:01] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:13:01] local.INFO: IMEI packet received {"connection_id":50383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":50383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:13:03] local.INFO: TCP Data received {"connection_id":50132,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:13:03] local.INFO: Processing buffer {"connection_id":50132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:13:03] local.INFO: Packet analysis {"connection_id":50132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:13:03] local.INFO: Extracted packet for processing {"connection_id":50132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13: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-22 10:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 10: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-22 10:13: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:13: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-22 10: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-22 10: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-22 10:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:13:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":50132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:13:03] local.INFO: GPS data processed {"connection_id":50132,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:13:03] local.INFO: Acknowledgment sent {"connection_id":50132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:13:07] local.INFO: TCP Data received {"connection_id":50383,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:13:07] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:13:07] local.INFO: IMEI packet received {"connection_id":50383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":50383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:13:09] local.INFO: TCP Data received {"connection_id":50383,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37ca298012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37ca298012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:13:09] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37ca298012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:13:09] local.INFO: Packet analysis {"connection_id":50383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37c"} 
[2026-04-22 10:13:09] local.INFO: Extracted packet for processing {"connection_id":50383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37c"} 
[2026-04-22 10:13:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 10:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869187072001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776832783000,"timestamp_ms":1776832783000,"timestamp_seconds":1776832783,"priority":1,"record_length":96,"hex_timestamp":"0000019db37ca298"} 
[2026-04-22 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-22 10:13:09] 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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5514074624575605007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95748771081617408,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145739956430,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:13:09] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,98,2,24,241,158,16,7,157,254,44,192,78,12,43,10,66,172,42,96,90,1,240,179,29,4,113,205,182,40,239,48,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 10:13:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065147092172800,"timestamp_seconds":865065147092172.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 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-22 10:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869187072001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869187072001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:13:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869187072001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":50383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:13:09] local.INFO: GPS data processed {"connection_id":50383,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:13:09] local.INFO: Acknowledgment sent {"connection_id":50383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:13:27] local.INFO: TCP Data received {"connection_id":50384,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:13:27] local.INFO: Processing buffer {"connection_id":50384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:13:27] local.INFO: IMEI packet received {"connection_id":50384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:13:32] local.INFO: TCP Data received {"connection_id":50384,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:13:32] local.INFO: Processing buffer {"connection_id":50384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:13:32] local.INFO: IMEI packet received {"connection_id":50384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:13:32] local.INFO: TCP Data received {"connection_id":50384,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:13:32] local.INFO: Processing buffer {"connection_id":50384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:13:32] local.INFO: Packet analysis {"connection_id":50384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:13:32] local.INFO: Extracted packet for processing {"connection_id":50384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13: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-22 10:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:13: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-22 10: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-22 10: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-22 10:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:13: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-22 10:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:13:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":50384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:13:32] local.INFO: GPS data processed {"connection_id":50384,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:13:32] local.INFO: Acknowledgment sent {"connection_id":50384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:13:42] local.INFO: TCP Data received {"connection_id":50383,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37cf4a0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37cf4a0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:13:42] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37cf4a0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:13:42] local.INFO: Packet analysis {"connection_id":50383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37c"} 
[2026-04-22 10:13:42] local.INFO: Extracted packet for processing {"connection_id":50383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37c"} 
[2026-04-22 10:13:42] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869192448001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776832804000,"timestamp_ms":1776832804000,"timestamp_seconds":1776832804,"priority":1,"record_length":96,"hex_timestamp":"0000019db37cf4a0"} 
[2026-04-22 10:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869192448001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869192448001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:13:42] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869192448001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":50383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:13:42] local.INFO: GPS data processed {"connection_id":50383,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:13:42] local.INFO: Acknowledgment sent {"connection_id":50383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:14:01] local.INFO: TCP Data received {"connection_id":50134,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:14:01] local.INFO: Processing buffer {"connection_id":50134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:14:01] local.INFO: IMEI packet received {"connection_id":50134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":50134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:14:02] local.INFO: TCP Data received {"connection_id":51076,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:02] local.INFO: Processing buffer {"connection_id":51076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:02] local.INFO: IMEI packet received {"connection_id":51076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":51076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:14:04] local.INFO: TCP Data received {"connection_id":50384,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:14:04] local.INFO: Processing buffer {"connection_id":50384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:14:04] local.INFO: Packet analysis {"connection_id":50384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:14:04] local.INFO: Extracted packet for processing {"connection_id":50384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14: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-22 10:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:14:04] 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-22 10: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-22 10: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-22 10:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:14: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-22 10:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:14:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":50384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:14:04] local.INFO: GPS data processed {"connection_id":50384,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:14:04] local.INFO: Acknowledgment sent {"connection_id":50384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:14:07] local.INFO: TCP Data received {"connection_id":51076,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:07] local.INFO: Processing buffer {"connection_id":51076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:07] local.INFO: IMEI packet received {"connection_id":51076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":51076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:14:10] local.INFO: TCP Data received {"connection_id":51076,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37d46a8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37d46a8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:14:10] local.INFO: Processing buffer {"connection_id":51076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37d46a8012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:14:10] local.INFO: Packet analysis {"connection_id":51076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37d"} 
[2026-04-22 10:14:10] local.INFO: Extracted packet for processing {"connection_id":51076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37d"} 
[2026-04-22 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869197824001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776832825000,"timestamp_ms":1776832825000,"timestamp_seconds":1776832825,"priority":1,"record_length":96,"hex_timestamp":"0000019db37d46a8"} 
[2026-04-22 10:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:14:10] 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-22 10:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":51076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":51076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":51076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869197824001,"66":12319,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869197824001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:14:10] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869197824001,"power":12319,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":51076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:14:10] local.INFO: GPS data processed {"connection_id":51076,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:14:10] local.INFO: Acknowledgment sent {"connection_id":51076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:14:12] local.INFO: TCP Data received {"connection_id":51076,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37d98b0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37d98b0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:14:12] local.INFO: Processing buffer {"connection_id":51076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37d98b0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:14:12] local.INFO: Packet analysis {"connection_id":51076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37d"} 
[2026-04-22 10:14:12] local.INFO: Extracted packet for processing {"connection_id":51076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37d"} 
[2026-04-22 10:14:12] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869203200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776832846000,"timestamp_ms":1776832846000,"timestamp_seconds":1776832846,"priority":1,"record_length":96,"hex_timestamp":"0000019db37d98b0"} 
[2026-04-22 10:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:14:12] 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-22 10:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":51076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":51076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":51076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869203200001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869203200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:14:12] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869203200001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":51076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:14:12] local.INFO: GPS data processed {"connection_id":51076,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:14:12] local.INFO: Acknowledgment sent {"connection_id":51076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:14:27] local.INFO: TCP Data received {"connection_id":50135,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:14:27] local.INFO: Processing buffer {"connection_id":50135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:14:27] local.INFO: IMEI packet received {"connection_id":50135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:14:31] local.INFO: TCP Data received {"connection_id":50135,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:14:31] local.INFO: Processing buffer {"connection_id":50135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:14:31] local.INFO: IMEI packet received {"connection_id":50135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":50135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:14:32] local.INFO: TCP Data received {"connection_id":50135,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:14:32] local.INFO: Processing buffer {"connection_id":50135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:14:32] local.INFO: Packet analysis {"connection_id":50135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:14:32] local.INFO: Extracted packet for processing {"connection_id":50135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:14: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-22 10:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:14: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-22 10: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-22 10: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-22 10:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:14:32] 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-22 10:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:14:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":50135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:14:32] local.INFO: GPS data processed {"connection_id":50135,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:14:32] local.INFO: Acknowledgment sent {"connection_id":50135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:14:55] local.INFO: TCP Data received {"connection_id":50514,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:55] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:55] local.INFO: IMEI packet received {"connection_id":50514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":50514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:14:56] local.INFO: TCP Data received {"connection_id":50514,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:56] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:14:56] local.INFO: IMEI packet received {"connection_id":50514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":50514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:15:02] local.INFO: TCP Data received {"connection_id":50514,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:15:02] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:15:02] local.INFO: IMEI packet received {"connection_id":50514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":50514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:15:03] local.INFO: TCP Data received {"connection_id":50514,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37deab8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37deab8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:15:03] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37deab8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:15:03] local.INFO: Packet analysis {"connection_id":50514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37d"} 
[2026-04-22 10:15:03] local.INFO: Extracted packet for processing {"connection_id":50514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37d"} 
[2026-04-22 10:15:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869208576001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832867000,"timestamp_ms":1776832867000,"timestamp_seconds":1776832867,"priority":1,"record_length":96,"hex_timestamp":"0000019db37deab8"} 
[2026-04-22 10:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:15:03] 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-22 10:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869208576001,"66":12363,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869208576001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:15:03] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869208576001,"power":12363,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":50514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:15:03] local.INFO: GPS data processed {"connection_id":50514,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:15:03] local.INFO: Acknowledgment sent {"connection_id":50514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:15:03] local.INFO: TCP Data received {"connection_id":50135,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:15:03] local.INFO: Processing buffer {"connection_id":50135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:15:03] local.INFO: Packet analysis {"connection_id":50135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:15:03] local.INFO: Extracted packet for processing {"connection_id":50135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15: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-22 10:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 10:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:15: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-22 10:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:15: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-22 10:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:15:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":50135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:15:03] local.INFO: GPS data processed {"connection_id":50135,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:15:03] local.INFO: Acknowledgment sent {"connection_id":50135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:15:26] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:15:26] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:15:26] local.INFO: IMEI packet received {"connection_id":50385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":50385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:15:32] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:15:32] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:15:32] local.INFO: IMEI packet received {"connection_id":50385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:15:32] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:15:32] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:15:32] local.INFO: Packet analysis {"connection_id":50385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:15:32] local.INFO: Extracted packet for processing {"connection_id":50385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15: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-22 10:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 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-22 10:15: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-22 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":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:15: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-22 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-22 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-22 10:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:15:32] 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-22 10:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:15:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":50385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:15:32] local.INFO: GPS data processed {"connection_id":50385,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:15:32] local.INFO: Acknowledgment sent {"connection_id":50385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:15:36] local.INFO: TCP Data received {"connection_id":50514,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e3cc0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e3cc0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:15:36] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e3cc0012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:15:36] local.INFO: Packet analysis {"connection_id":50514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:15:36] local.INFO: Extracted packet for processing {"connection_id":50514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869213952001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776832888000,"timestamp_ms":1776832888000,"timestamp_seconds":1776832888,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e3cc0"} 
[2026-04-22 10: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-22 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 10:15:36] 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-22 10: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-22 10: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-22 10:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869213952001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869213952001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:15:36] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869213952001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":50514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:15:36] local.INFO: GPS data processed {"connection_id":50514,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:15:36] local.INFO: Acknowledgment sent {"connection_id":50514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:15:56] local.INFO: TCP Data received {"connection_id":50136,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:15:56] local.INFO: Processing buffer {"connection_id":50136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:15:56] local.INFO: IMEI packet received {"connection_id":50136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":50136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:15:58] local.INFO: TCP Data received {"connection_id":50136,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:15:58] local.INFO: Processing buffer {"connection_id":50136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:15:58] local.INFO: IMEI packet received {"connection_id":50136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":50136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:16:02] local.INFO: TCP Data received {"connection_id":50136,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:16:02] local.INFO: Processing buffer {"connection_id":50136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:16:02] local.INFO: IMEI packet received {"connection_id":50136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":50136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:16:03] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:16:03] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:16:03] local.INFO: Packet analysis {"connection_id":50385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:16:03] local.INFO: Extracted packet for processing {"connection_id":50385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16: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-22 10:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:16: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-22 10: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-22 10: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-22 10:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:16: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-22 10:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:16:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":50385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:16:03] local.INFO: GPS data processed {"connection_id":50385,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:16:03] local.INFO: Acknowledgment sent {"connection_id":50385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:16:04] local.INFO: TCP Data received {"connection_id":50136,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e8ec8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e8ec8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:16:04] local.INFO: Processing buffer {"connection_id":50136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e8ec8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:16:04] local.INFO: Packet analysis {"connection_id":50136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:16:04] local.INFO: Extracted packet for processing {"connection_id":50136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:16:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869219328001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832909000,"timestamp_ms":1776832909000,"timestamp_seconds":1776832909,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e8ec8"} 
[2026-04-22 10: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-22 10:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:16:04] 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-22 10: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-22 10: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-22 10:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869219328001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869219328001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:16:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869219328001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":50136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:16:04] local.INFO: GPS data processed {"connection_id":50136,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:16:04] local.INFO: Acknowledgment sent {"connection_id":50136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:16:26] local.INFO: TCP Data received {"connection_id":50387,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:16:26] local.INFO: Processing buffer {"connection_id":50387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:16:26] local.INFO: IMEI packet received {"connection_id":50387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:16:31] local.INFO: TCP Data received {"connection_id":50387,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:16:31] local.INFO: Processing buffer {"connection_id":50387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:16:31] local.INFO: IMEI packet received {"connection_id":50387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:16:32] local.INFO: TCP Data received {"connection_id":50387,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:16:32] local.INFO: Processing buffer {"connection_id":50387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37e0de0012d7f868005afdbe0000c011623..."} 
[2026-04-22 10:16:32] local.INFO: Packet analysis {"connection_id":50387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:16:32] local.INFO: Extracted packet for processing {"connection_id":50387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":35,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869139200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16: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-22 10:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776832876000,"timestamp_ms":1776832876000,"timestamp_seconds":1776832876,"priority":1,"record_length":96,"hex_timestamp":"0000019db37e0de0"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:16: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-22 10: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-22 10: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-22 10:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869139200001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869139200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:16:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869139200001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":50387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:16:32] local.INFO: GPS data processed {"connection_id":50387,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:16:32] local.INFO: Acknowledgment sent {"connection_id":50387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:16:39] local.INFO: TCP Data received {"connection_id":50136,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37ee0d0012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37ee0d0012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:16:39] local.INFO: Processing buffer {"connection_id":50136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37ee0d0012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:16:39] local.INFO: Packet analysis {"connection_id":50136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:16:39] local.INFO: Extracted packet for processing {"connection_id":50136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37e"} 
[2026-04-22 10:16:39] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869224704001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776832930000,"timestamp_ms":1776832930000,"timestamp_seconds":1776832930,"priority":1,"record_length":96,"hex_timestamp":"0000019db37ee0d0"} 
[2026-04-22 10: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-22 10:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:16:39] 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-22 10: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-22 10: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-22 10:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869224704001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869224704001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:16:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:16:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869224704001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":50136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:16:39] local.INFO: GPS data processed {"connection_id":50136,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:16:39] local.INFO: Acknowledgment sent {"connection_id":50136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:17:02] local.INFO: TCP Data received {"connection_id":50137,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:02] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:02] local.INFO: IMEI packet received {"connection_id":50137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":50137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:17:03] local.INFO: TCP Data received {"connection_id":50137,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:03] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:03] local.INFO: IMEI packet received {"connection_id":50137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":50137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:17:03] local.INFO: TCP Data received {"connection_id":50387,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:17:03] local.INFO: Processing buffer {"connection_id":50387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:17:03] local.INFO: Packet analysis {"connection_id":50387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:17:03] local.INFO: Extracted packet for processing {"connection_id":50387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17: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-22 10:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 10:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:17: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-22 10:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:17:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":50387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:17:03] local.INFO: GPS data processed {"connection_id":50387,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:17:03] local.INFO: Acknowledgment sent {"connection_id":50387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:17:07] local.INFO: TCP Data received {"connection_id":50137,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:07] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:07] local.INFO: IMEI packet received {"connection_id":50137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":50137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:17:12] local.INFO: TCP Data received {"connection_id":50137,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37f32d8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37f32d8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:17:12] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37f32d8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:17:12] local.INFO: Packet analysis {"connection_id":50137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37f"} 
[2026-04-22 10:17:12] local.INFO: Extracted packet for processing {"connection_id":50137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37f"} 
[2026-04-22 10:17:12] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869230080001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776832951000,"timestamp_ms":1776832951000,"timestamp_seconds":1776832951,"priority":1,"record_length":96,"hex_timestamp":"0000019db37f32d8"} 
[2026-04-22 10:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:17:12] 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-22 10:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869230080001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869230080001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:17:12] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869230080001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":50137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:17:12] local.INFO: GPS data processed {"connection_id":50137,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:17:12] local.INFO: Acknowledgment sent {"connection_id":50137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:17:18] local.INFO: TCP Data received {"connection_id":50137,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37f84e0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37f84e0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:17:18] local.INFO: Processing buffer {"connection_id":50137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37f84e0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:17:18] local.INFO: Packet analysis {"connection_id":50137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37f"} 
[2026-04-22 10:17:18] local.INFO: Extracted packet for processing {"connection_id":50137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37f"} 
[2026-04-22 10:17:18] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869235456001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776832972000,"timestamp_ms":1776832972000,"timestamp_seconds":1776832972,"priority":1,"record_length":96,"hex_timestamp":"0000019db37f84e0"} 
[2026-04-22 10:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:17: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-22 10:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":50137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":50137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":50137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869235456001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869235456001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:17:18] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:17:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869235456001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":50137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:17:18] local.INFO: GPS data processed {"connection_id":50137,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:17:18] local.INFO: Acknowledgment sent {"connection_id":50137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:17:27] local.INFO: TCP Data received {"connection_id":50138,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:17:27] local.INFO: Processing buffer {"connection_id":50138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:17:27] local.INFO: IMEI packet received {"connection_id":50138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":50138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:17:31] local.INFO: TCP Data received {"connection_id":50138,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:17:31] local.INFO: Processing buffer {"connection_id":50138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:17:31] local.INFO: IMEI packet received {"connection_id":50138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":50138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:17:32] local.INFO: TCP Data received {"connection_id":50138,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:17:32] local.INFO: Processing buffer {"connection_id":50138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:17:32] local.INFO: Packet analysis {"connection_id":50138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:17:32] local.INFO: Extracted packet for processing {"connection_id":50138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:17: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-22 10:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 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-22 10: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-22 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10: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-22 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-22 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-22 10:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:17:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":50138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:17:32] local.INFO: GPS data processed {"connection_id":50138,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:17:32] local.INFO: Acknowledgment sent {"connection_id":50138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:17:57] local.INFO: TCP Data received {"connection_id":51078,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:57] local.INFO: Processing buffer {"connection_id":51078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:17:57] local.INFO: IMEI packet received {"connection_id":51078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":51078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:18:02] local.INFO: TCP Data received {"connection_id":51078,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:18:02] local.INFO: Processing buffer {"connection_id":51078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:18:02] local.INFO: IMEI packet received {"connection_id":51078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":51078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:18:04] local.INFO: TCP Data received {"connection_id":50138,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:18:04] local.INFO: Processing buffer {"connection_id":50138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:18:04] local.INFO: Packet analysis {"connection_id":50138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:18:04] local.INFO: Extracted packet for processing {"connection_id":50138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18: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-22 10:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 10:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:18:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:18:04] local.INFO: GPS data processed {"connection_id":50138,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:18:04] local.INFO: Acknowledgment sent {"connection_id":50138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:18:04] local.INFO: TCP Data received {"connection_id":51078,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db37fd6e8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db37fd6e8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:18:04] local.INFO: Processing buffer {"connection_id":51078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db37fd6e8012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:18:04] local.INFO: Packet analysis {"connection_id":51078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db37f"} 
[2026-04-22 10:18:04] local.INFO: Extracted packet for processing {"connection_id":51078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db37f"} 
[2026-04-22 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869240832001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776832993000,"timestamp_ms":1776832993000,"timestamp_seconds":1776832993,"priority":1,"record_length":96,"hex_timestamp":"0000019db37fd6e8"} 
[2026-04-22 10:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5513172681443445007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95748771081617408,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569738645710,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 10:18:04] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3087084790,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:04] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,98,2,24,241,158,16,7,157,50,44,192,78,12,42,10,66,224,142,1,240,255,179,29,4,113,205,234,40,43,239,48,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 10:18:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065142797205504,"timestamp_seconds":865065142797205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869240832001,"66":12319,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869240832001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:18:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869240832001,"power":12319,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":51078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:18:04] local.INFO: GPS data processed {"connection_id":51078,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:18:04] local.INFO: Acknowledgment sent {"connection_id":51078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:18:26] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:18:27] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:18:27] local.INFO: IMEI packet received {"connection_id":50388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:18:31] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:18:31] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:18:31] local.INFO: IMEI packet received {"connection_id":50388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":50388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:18:32] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:18:32] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:18:32] local.INFO: Packet analysis {"connection_id":50388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:18:32] local.INFO: Extracted packet for processing {"connection_id":50388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18: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-22 10:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 10:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:18: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-22 10:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:18: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-22 10:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:18:32] 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-22 10:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:18:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":50388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:18:32] local.INFO: GPS data processed {"connection_id":50388,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:18:32] local.INFO: Acknowledgment sent {"connection_id":50388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:18:38] local.INFO: TCP Data received {"connection_id":51078,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3835d40012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3835d40012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:18:38] local.INFO: Processing buffer {"connection_id":51078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3835d40012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:18:38] local.INFO: Packet analysis {"connection_id":51078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db383"} 
[2026-04-22 10:18:38] local.INFO: Extracted packet for processing {"connection_id":51078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db383"} 
[2026-04-22 10:18:38] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869299968001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776833224000,"timestamp_ms":1776833224000,"timestamp_seconds":1776833224,"priority":1,"record_length":96,"hex_timestamp":"0000019db3835d40"} 
[2026-04-22 10: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-22 10:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5512180543998069007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95745472546734080,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569738645710,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2177046529,"note":"Value kept but may cause issues"} 
[2026-04-22 10:18:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 10:18:38] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,98,2,24,241,158,16,7,157,185,44,192,78,12,39,10,66,103,21,1,240,179,29,4,113,205,40,41,239,48,148],"length":534,"final_offset":664,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 10:18:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065121322369024,"timestamp_seconds":865065121322369.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10: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-22 10:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869299968001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869299968001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:18:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:18:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869299968001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":51078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:18:38] local.INFO: GPS data processed {"connection_id":51078,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:18:38] local.INFO: Acknowledgment sent {"connection_id":51078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:18:56] local.INFO: TCP Data received {"connection_id":51079,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:18:56] local.INFO: Processing buffer {"connection_id":51079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:18:56] local.INFO: IMEI packet received {"connection_id":51079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":51079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:19:02] local.INFO: TCP Data received {"connection_id":51079,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:19:02] local.INFO: Processing buffer {"connection_id":51079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:19:02] local.INFO: IMEI packet received {"connection_id":51079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":51079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:19:03] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:19:03] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:19:03] local.INFO: Packet analysis {"connection_id":50388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:19:03] local.INFO: Extracted packet for processing {"connection_id":50388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19: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-22 10:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 10: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-22 10:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:19:03] 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-22 10:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:19:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:19:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":50388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:19:03] local.INFO: GPS data processed {"connection_id":50388,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:19:03] local.INFO: Acknowledgment sent {"connection_id":50388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:19:05] local.INFO: TCP Data received {"connection_id":51079,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db383af48012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db383af48012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:19:05] local.INFO: Processing buffer {"connection_id":51079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db383af48012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:19:05] local.INFO: Packet analysis {"connection_id":51079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db383"} 
[2026-04-22 10:19:05] local.INFO: Extracted packet for processing {"connection_id":51079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db383"} 
[2026-04-22 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 10:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869305344001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776833245000,"timestamp_ms":1776833245000,"timestamp_seconds":1776833245,"priority":1,"record_length":96,"hex_timestamp":"0000019db383af48"} 
[2026-04-22 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-22 10:19: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-22 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 10:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869305344001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869305344001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:19:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869305344001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":51079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:19:05] local.INFO: GPS data processed {"connection_id":51079,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:19:05] local.INFO: Acknowledgment sent {"connection_id":51079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:19:26] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:19:26] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:19:26] local.INFO: IMEI packet received {"connection_id":50515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":50515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:19:31] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:19:31] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:19:31] local.INFO: IMEI packet received {"connection_id":50515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":50515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:19:32] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:19:32] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:19:32] local.INFO: Packet analysis {"connection_id":50515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:19:32] local.INFO: Extracted packet for processing {"connection_id":50515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19: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-22 10:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 10: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-22 10:19: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-22 10: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-22 10: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-22 10: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-22 10: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-22 10:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:19: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-22 10:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:19:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":50515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:19:32] local.INFO: GPS data processed {"connection_id":50515,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:19:32] local.INFO: Acknowledgment sent {"connection_id":50515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:19:38] local.INFO: TCP Data received {"connection_id":51079,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3840150012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3840150012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:19:38] local.INFO: Processing buffer {"connection_id":51079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3840150012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:19:38] local.INFO: Packet analysis {"connection_id":51079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db384"} 
[2026-04-22 10:19:38] local.INFO: Extracted packet for processing {"connection_id":51079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db384"} 
[2026-04-22 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869310720001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776833266000,"timestamp_ms":1776833266000,"timestamp_seconds":1776833266,"priority":1,"record_length":96,"hex_timestamp":"0000019db3840150"} 
[2026-04-22 10:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5512000155371637007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95747671569989632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145740087502,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2187798529,"note":"Value kept but may cause issues"} 
[2026-04-22 10:19:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 10:19:38] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,98,2,24,241,158,16,7,157,93,44,192,78,12,42,10,66,11,37,185,1,240,53,179,29,4,113,205,21,40,41,239,48,148],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 10:19:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065142797205504,"timestamp_seconds":865065142797205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869310720001,"66":12363,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869310720001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:19:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:19:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869310720001,"power":12363,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":51079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:19:38] local.INFO: GPS data processed {"connection_id":51079,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:19:38] local.INFO: Acknowledgment sent {"connection_id":51079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:19:56] local.INFO: TCP Data received {"connection_id":50389,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:19:56] local.INFO: Processing buffer {"connection_id":50389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:19:56] local.INFO: IMEI packet received {"connection_id":50389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":50389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:20:02] local.INFO: TCP Data received {"connection_id":50390,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:20:02] local.INFO: Processing buffer {"connection_id":50390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:20:02] local.INFO: IMEI packet received {"connection_id":50390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":50390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:20:04] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:20:04] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:20:04] local.INFO: Packet analysis {"connection_id":50515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:20:04] local.INFO: Extracted packet for processing {"connection_id":50515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20: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-22 10:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 10: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-22 10:20: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-22 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:20: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-22 10:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:20:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:20:04] local.INFO: GPS data processed {"connection_id":50515,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:20:04] local.INFO: Acknowledgment sent {"connection_id":50515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:20:07] local.INFO: TCP Data received {"connection_id":50390,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:20:07] local.INFO: Processing buffer {"connection_id":50390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:20:07] local.INFO: IMEI packet received {"connection_id":50390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":50390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:20:09] local.INFO: TCP Data received {"connection_id":50390,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3845358012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3845358012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:20:09] local.INFO: Processing buffer {"connection_id":50390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3845358012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:20:09] local.INFO: Packet analysis {"connection_id":50390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db384"} 
[2026-04-22 10:20:09] local.INFO: Extracted packet for processing {"connection_id":50390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db384"} 
[2026-04-22 10:20:09] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869316096001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776833287000,"timestamp_ms":1776833287000,"timestamp_seconds":1776833287,"priority":1,"record_length":96,"hex_timestamp":"0000019db3845358"} 
[2026-04-22 10:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 10:20:09] 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-22 10:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869316096001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869316096001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:20:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869316096001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":50390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:20:09] local.INFO: GPS data processed {"connection_id":50390,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:20:09] local.INFO: Acknowledgment sent {"connection_id":50390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:20:10] local.INFO: TCP Data received {"connection_id":50390,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db384a560012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db384a560012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:20:10] local.INFO: Processing buffer {"connection_id":50390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db384a560012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:20:10] local.INFO: Packet analysis {"connection_id":50390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db384"} 
[2026-04-22 10:20:10] local.INFO: Extracted packet for processing {"connection_id":50390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db384"} 
[2026-04-22 10:20:10] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869321472001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776833308000,"timestamp_ms":1776833308000,"timestamp_seconds":1776833308,"priority":1,"record_length":96,"hex_timestamp":"0000019db384a560"} 
[2026-04-22 10: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-22 10:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:20:10] 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-22 10: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-22 10: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-22 10:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869321472001,"66":12319,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869321472001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:20:10] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869321472001,"power":12319,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":50390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:20:10] local.INFO: GPS data processed {"connection_id":50390,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:20:10] local.INFO: Acknowledgment sent {"connection_id":50390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:20:26] local.INFO: TCP Data received {"connection_id":50141,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:20:26] local.INFO: Processing buffer {"connection_id":50141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:20:26] local.INFO: IMEI packet received {"connection_id":50141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":50141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:20:31] local.INFO: TCP Data received {"connection_id":50141,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:20:31] local.INFO: Processing buffer {"connection_id":50141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:20:31] local.INFO: IMEI packet received {"connection_id":50141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":50141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:20:32] local.INFO: TCP Data received {"connection_id":50141,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:20:32] local.INFO: Processing buffer {"connection_id":50141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:20:32] local.INFO: Packet analysis {"connection_id":50141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:20:32] local.INFO: Extracted packet for processing {"connection_id":50141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20: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-22 10:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 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-22 10:20: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-22 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:20: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-22 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-22 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-22 10:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:20: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-22 10:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:20:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":50141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:20:32] local.INFO: GPS data processed {"connection_id":50141,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:20:32] local.INFO: Acknowledgment sent {"connection_id":50141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:20:44] local.INFO: TCP Data received {"connection_id":50390,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db384f768012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db384f768012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:20:44] local.INFO: Processing buffer {"connection_id":50390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db384f768012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:20:44] local.INFO: Packet analysis {"connection_id":50390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db384"} 
[2026-04-22 10:20:44] local.INFO: Extracted packet for processing {"connection_id":50390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db384"} 
[2026-04-22 10:20:44] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869326848001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776833329000,"timestamp_ms":1776833329000,"timestamp_seconds":1776833329,"priority":1,"record_length":96,"hex_timestamp":"0000019db384f768"} 
[2026-04-22 10: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-22 10:20:44] 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-22 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:20:44] 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-22 10: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-22 10: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-22 10:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869326848001,"66":12287,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869326848001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:20:44] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869326848001,"power":12287,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":50390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:20:44] local.INFO: GPS data processed {"connection_id":50390,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:20:44] local.INFO: Acknowledgment sent {"connection_id":50390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:20:56] local.INFO: TCP Data received {"connection_id":50142,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:20:56] local.INFO: Processing buffer {"connection_id":50142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:20:56] local.INFO: IMEI packet received {"connection_id":50142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":50142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:21:02] local.INFO: TCP Data received {"connection_id":50142,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:21:02] local.INFO: Processing buffer {"connection_id":50142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:21:02] local.INFO: IMEI packet received {"connection_id":50142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":50142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:21:03] local.INFO: TCP Data received {"connection_id":50141,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:21:03] local.INFO: Processing buffer {"connection_id":50141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:21:03] local.INFO: Packet analysis {"connection_id":50141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:21:03] local.INFO: Extracted packet for processing {"connection_id":50141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21: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-22 10:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 10: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-22 10: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-22 10: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:21: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-22 10:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:21:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":50141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:21:03] local.INFO: GPS data processed {"connection_id":50141,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:21:03] local.INFO: Acknowledgment sent {"connection_id":50141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:21:04] local.INFO: TCP Data received {"connection_id":50142,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3854970012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3854970012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:21:04] local.INFO: Processing buffer {"connection_id":50142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3854970012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:21:04] local.INFO: Packet analysis {"connection_id":50142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db385"} 
[2026-04-22 10:21:04] local.INFO: Extracted packet for processing {"connection_id":50142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db385"} 
[2026-04-22 10:21:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869332224001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776833350000,"timestamp_ms":1776833350000,"timestamp_seconds":1776833350,"priority":1,"record_length":96,"hex_timestamp":"0000019db3854970"} 
[2026-04-22 10: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-22 10:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:21:04] 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-22 10: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-22 10: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-22 10:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869332224001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869332224001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:21:04] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:21:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869332224001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":50142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:21:04] local.INFO: GPS data processed {"connection_id":50142,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:21:04] local.INFO: Acknowledgment sent {"connection_id":50142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:21:31] local.INFO: TCP Data received {"connection_id":50516,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:21:31] local.INFO: Processing buffer {"connection_id":50516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:21:31] local.INFO: IMEI packet received {"connection_id":50516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":50516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:21:37] local.INFO: TCP Data received {"connection_id":50516,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:21:37] local.INFO: Processing buffer {"connection_id":50516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:21:37] local.INFO: IMEI packet received {"connection_id":50516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":50516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:21:37] local.INFO: TCP Data received {"connection_id":50142,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3859b78012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3859b78012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:21:37] local.INFO: Processing buffer {"connection_id":50142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3859b78012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:21:37] local.INFO: Packet analysis {"connection_id":50142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db385"} 
[2026-04-22 10:21:37] local.INFO: Extracted packet for processing {"connection_id":50142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db385"} 
[2026-04-22 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869337600001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776833371000,"timestamp_ms":1776833371000,"timestamp_seconds":1776833371,"priority":1,"record_length":96,"hex_timestamp":"0000019db3859b78"} 
[2026-04-22 10: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-22 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869337600001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869337600001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:21:37] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869337600001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":50142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:21:37] local.INFO: GPS data processed {"connection_id":50142,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:21:37] local.INFO: Acknowledgment sent {"connection_id":50142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:21:37] local.INFO: TCP Data received {"connection_id":50516,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:21:37] local.INFO: Processing buffer {"connection_id":50516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:21:37] local.INFO: Packet analysis {"connection_id":50516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:21:37] local.INFO: Extracted packet for processing {"connection_id":50516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:37] 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-22 10:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 10: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-22 10:21: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-22 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:21: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-22 10: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-22 10: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-22 10:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:21:37] 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-22 10:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:21:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":50516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:21:37] local.INFO: GPS data processed {"connection_id":50516,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:21:37] local.INFO: Acknowledgment sent {"connection_id":50516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:21:42] local.INFO: TCP Data received {"connection_id":50516,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:21:42] local.INFO: Processing buffer {"connection_id":50516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db382a5a8012d7f868005afdbe0000c01162a..."} 
[2026-04-22 10:21:42] local.INFO: Packet analysis {"connection_id":50516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:21:42] local.INFO: Extracted packet for processing {"connection_id":50516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db382"} 
[2026-04-22 10:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":12,"angle":278,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869216256001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:21:42] 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-22 10:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776833177000,"timestamp_ms":1776833177000,"timestamp_seconds":1776833177,"priority":1,"record_length":96,"hex_timestamp":"0000019db382a5a8"} 
[2026-04-22 10:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:21:42] 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-22 10:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:21:42] 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-22 10:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869216256001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869216256001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:21:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869216256001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":50516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:21:42] local.INFO: GPS data processed {"connection_id":50516,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:21:42] local.INFO: Acknowledgment sent {"connection_id":50516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:21:55] local.INFO: TCP Data received {"connection_id":50391,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:21:55] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:21:55] local.INFO: IMEI packet received {"connection_id":50391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":50391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:21:57] local.INFO: TCP Data received {"connection_id":50391,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:21:57] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:21:57] local.INFO: IMEI packet received {"connection_id":50391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":50391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:22:02] local.INFO: TCP Data received {"connection_id":50391,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:22:02] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:22:02] local.INFO: IMEI packet received {"connection_id":50391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":50391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:22:05] local.INFO: TCP Data received {"connection_id":50391,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db385ed80012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db385ed80012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:22:05] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db385ed80012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:22:05] local.INFO: Packet analysis {"connection_id":50391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db385"} 
[2026-04-22 10:22:05] local.INFO: Extracted packet for processing {"connection_id":50391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db385"} 
[2026-04-22 10:22:05] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 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-22 10:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869342976001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776833392000,"timestamp_ms":1776833392000,"timestamp_seconds":1776833392,"priority":1,"record_length":96,"hex_timestamp":"0000019db385ed80"} 
[2026-04-22 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-22 10:22: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-22 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5511458989492341007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95747671569989632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145740087502,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":26625,"corrected_to":0} 
[2026-04-22 10:22:05] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2220054529,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 10:22:05] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,98,2,24,241,158,16,7,157,73,44,192,78,12,43,10,66,247,42,165,1,240,31,179,29,4,113,205,40,41,239,48,148],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":247,"original":26625,"validated":0},{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 10:22:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065142797205504,"timestamp_seconds":865065142797205.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 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-22 10:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869342976001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869342976001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:22:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869342976001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":50391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:22:05] local.INFO: GPS data processed {"connection_id":50391,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:22:05] local.INFO: Acknowledgment sent {"connection_id":50391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:22:36] local.INFO: TCP Data received {"connection_id":50144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:22:37] local.INFO: Processing buffer {"connection_id":50144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:22:37] local.INFO: IMEI packet received {"connection_id":50144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":50144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:22:38] local.INFO: TCP Data received {"connection_id":50391,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3863f88012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3863f88012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:22:38] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3863f88012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:22:38] local.INFO: Packet analysis {"connection_id":50391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db386"} 
[2026-04-22 10:22:38] local.INFO: Extracted packet for processing {"connection_id":50391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db386"} 
[2026-04-22 10:22:38] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869348352001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776833413000,"timestamp_ms":1776833413000,"timestamp_seconds":1776833413,"priority":1,"record_length":96,"hex_timestamp":"0000019db3863f88"} 
[2026-04-22 10: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-22 10:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869348352001,"66":12363,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869348352001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:22:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:22:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869348352001,"power":12363,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":50391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:22:38] local.INFO: GPS data processed {"connection_id":50391,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:22:38] local.INFO: Acknowledgment sent {"connection_id":50391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:22:41] local.INFO: TCP Data received {"connection_id":50144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:22:41] local.INFO: Processing buffer {"connection_id":50144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:22:41] local.INFO: IMEI packet received {"connection_id":50144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":50144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:22:42] local.INFO: TCP Data received {"connection_id":50144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:22:42] local.INFO: Processing buffer {"connection_id":50144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:22:42] local.INFO: Packet analysis {"connection_id":50144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:22:42] local.INFO: Extracted packet for processing {"connection_id":50144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869293312001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:22:42] 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-22 10:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776833478000,"timestamp_ms":1776833478000,"timestamp_seconds":1776833478,"priority":1,"record_length":96,"hex_timestamp":"0000019db3873d70"} 
[2026-04-22 10:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:22:42] 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-22 10:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:22:42] local.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-22 10:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869293312001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869293312001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:22:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869293312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":50144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:22:42] local.INFO: GPS data processed {"connection_id":50144,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:22:42] local.INFO: Acknowledgment sent {"connection_id":50144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:22:56] local.INFO: TCP Data received {"connection_id":50393,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:22:56] local.INFO: Processing buffer {"connection_id":50393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:22:56] local.INFO: IMEI packet received {"connection_id":50393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":50393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:22:58] local.INFO: TCP Data received {"connection_id":50393,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:22:58] local.INFO: Processing buffer {"connection_id":50393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:22:58] local.INFO: IMEI packet received {"connection_id":50393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":50393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:23:02] local.INFO: TCP Data received {"connection_id":50393,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:23:02] local.INFO: Processing buffer {"connection_id":50393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:23:02] local.INFO: IMEI packet received {"connection_id":50393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":50393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:23:03] local.INFO: TCP Data received {"connection_id":50393,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3869190012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3869190012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:23:03] local.INFO: Processing buffer {"connection_id":50393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3869190012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:23:03] local.INFO: Packet analysis {"connection_id":50393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db386"} 
[2026-04-22 10:23:03] local.INFO: Extracted packet for processing {"connection_id":50393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db386"} 
[2026-04-22 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869353728001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776833434000,"timestamp_ms":1776833434000,"timestamp_seconds":1776833434,"priority":1,"record_length":96,"hex_timestamp":"0000019db3869190"} 
[2026-04-22 10:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 10:23:03] 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-22 10:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869353728001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869353728001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:23:03] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869353728001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":50393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:23:03] local.INFO: GPS data processed {"connection_id":50393,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:23:03] local.INFO: Acknowledgment sent {"connection_id":50393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:23:26] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:23:26] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:23:26] local.INFO: IMEI packet received {"connection_id":50394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":50394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:23:31] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:23:31] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:23:31] local.INFO: IMEI packet received {"connection_id":50394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":50394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:23:33] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:23:33] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:23:33] local.INFO: Packet analysis {"connection_id":50394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:23:33] local.INFO: Extracted packet for processing {"connection_id":50394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869293312001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:23:33] 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-22 10:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776833478000,"timestamp_ms":1776833478000,"timestamp_seconds":1776833478,"priority":1,"record_length":96,"hex_timestamp":"0000019db3873d70"} 
[2026-04-22 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-22 10:23: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-22 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-22 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-22 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-22 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-22 10:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869293312001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869293312001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:23:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869293312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:23:33] local.INFO: GPS data processed {"connection_id":50394,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:23:33] local.INFO: Acknowledgment sent {"connection_id":50394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:23:36] local.INFO: TCP Data received {"connection_id":50393,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db386e398012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db386e398012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:23:36] local.INFO: Processing buffer {"connection_id":50393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db386e398012cf6f1c0071d4e28000c015428..."} 
[2026-04-22 10:23:36] local.INFO: Packet analysis {"connection_id":50393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db386"} 
[2026-04-22 10:23:36] local.INFO: Extracted packet for processing {"connection_id":50393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db386"} 
[2026-04-22 10:23:36] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869359104001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776833455000,"timestamp_ms":1776833455000,"timestamp_seconds":1776833455,"priority":1,"record_length":96,"hex_timestamp":"0000019db386e398"} 
[2026-04-22 10: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-22 10:23:36] 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-22 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869359104001,"66":11700,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869359104001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:23:36] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869359104001,"power":11700,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":50393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:23:36] local.INFO: GPS data processed {"connection_id":50393,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:23:36] local.INFO: Acknowledgment sent {"connection_id":50393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:23:56] local.INFO: TCP Data received {"connection_id":51081,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:23:56] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:23:56] local.INFO: IMEI packet received {"connection_id":51081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":51081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:24:03] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:24:03] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:24:03] local.INFO: Packet analysis {"connection_id":50394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:03] local.INFO: Extracted packet for processing {"connection_id":50394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869293312001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24: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-22 10:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776833478000,"timestamp_ms":1776833478000,"timestamp_seconds":1776833478,"priority":1,"record_length":96,"hex_timestamp":"0000019db3873d70"} 
[2026-04-22 10:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:24: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-22 10:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:24: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-22 10:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869293312001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869293312001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:24:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869293312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":50394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:24:03] local.INFO: GPS data processed {"connection_id":50394,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:24:03] local.INFO: Acknowledgment sent {"connection_id":50394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:24:05] local.INFO: TCP Data received {"connection_id":51081,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:24:05] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:24:05] local.INFO: IMEI packet received {"connection_id":51081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":51081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:24:06] local.INFO: TCP Data received {"connection_id":51081,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:24:06] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:24:06] local.INFO: IMEI packet received {"connection_id":51081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":51081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:24:07] local.INFO: TCP Data received {"connection_id":51081,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38735a0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38735a0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:24:07] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38735a0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:24:07] local.INFO: Packet analysis {"connection_id":51081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:07] local.INFO: Extracted packet for processing {"connection_id":51081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:07] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869364480001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776833476000,"timestamp_ms":1776833476000,"timestamp_seconds":1776833476,"priority":1,"record_length":96,"hex_timestamp":"0000019db38735a0"} 
[2026-04-22 10:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 10:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869364480001,"66":12254,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869364480001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:24:07] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869364480001,"power":12254,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":51081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:24:07] local.INFO: GPS data processed {"connection_id":51081,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:24:07] local.INFO: Acknowledgment sent {"connection_id":51081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:24:08] local.INFO: TCP Data received {"connection_id":51081,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38787a8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38787a8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:24:08] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38787a8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:24:08] local.INFO: Packet analysis {"connection_id":51081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:08] local.INFO: Extracted packet for processing {"connection_id":51081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869369856001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776833497000,"timestamp_ms":1776833497000,"timestamp_seconds":1776833497,"priority":1,"record_length":96,"hex_timestamp":"0000019db38787a8"} 
[2026-04-22 10:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-04-22 10:24:08] 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-22 10:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869369856001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869369856001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:24:08] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869369856001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":51081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:24:08] local.INFO: GPS data processed {"connection_id":51081,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:24:08] local.INFO: Acknowledgment sent {"connection_id":51081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:24:26] local.INFO: TCP Data received {"connection_id":51082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:24:26] local.INFO: Processing buffer {"connection_id":51082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:24:26] local.INFO: IMEI packet received {"connection_id":51082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":51082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:24:31] local.INFO: TCP Data received {"connection_id":51082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:24:31] local.INFO: Processing buffer {"connection_id":51082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:24:31] local.INFO: IMEI packet received {"connection_id":51082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":51082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:24:32] local.INFO: TCP Data received {"connection_id":51082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:24:32] local.INFO: Processing buffer {"connection_id":51082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:24:32] local.INFO: Packet analysis {"connection_id":51082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:32] local.INFO: Extracted packet for processing {"connection_id":51082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869293312001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24: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-22 10:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776833478000,"timestamp_ms":1776833478000,"timestamp_seconds":1776833478,"priority":1,"record_length":96,"hex_timestamp":"0000019db3873d70"} 
[2026-04-22 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-22 10: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-22 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-22 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-22 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-22 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-22 10:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:24: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-22 10:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869293312001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869293312001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:24:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869293312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":51082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:24:32] local.INFO: GPS data processed {"connection_id":51082,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:24:32] local.INFO: Acknowledgment sent {"connection_id":51082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:24:44] local.INFO: TCP Data received {"connection_id":51081,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db387d9b0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db387d9b0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:24:44] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db387d9b0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:24:44] local.INFO: Packet analysis {"connection_id":51081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:44] local.INFO: Extracted packet for processing {"connection_id":51081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:24:44] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869375232001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776833518000,"timestamp_ms":1776833518000,"timestamp_seconds":1776833518,"priority":1,"record_length":96,"hex_timestamp":"0000019db387d9b0"} 
[2026-04-22 10: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-22 10:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5510917823613045007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95747671569989632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145740087502,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2252310529,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 10:24:44] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2147560694,"note":"Value kept but may cause issues"} 
[2026-04-22 10:24:44] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,98,2,24,241,158,16,7,157,53,44,192,78,12,42,10,66,227,40,145,1,240,179,29,4,113,205,237,239,48,148,43],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 10:24:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065138502238208,"timestamp_seconds":865065138502238.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10: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-22 10:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":51081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869375232001,"66":12363,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869375232001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:24:44] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:24:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869375232001,"power":12363,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":51081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:24:44] local.INFO: GPS data processed {"connection_id":51081,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:24:44] local.INFO: Acknowledgment sent {"connection_id":51081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:25:02] local.INFO: TCP Data received {"connection_id":51084,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:25:02] local.INFO: Processing buffer {"connection_id":51084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:25:02] local.INFO: IMEI packet received {"connection_id":51084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":51084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:25:03] local.INFO: TCP Data received {"connection_id":51082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:25:03] local.INFO: Processing buffer {"connection_id":51082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:25:03] local.INFO: Packet analysis {"connection_id":51082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:25:03] local.INFO: Extracted packet for processing {"connection_id":51082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869293312001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10: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-22 10:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776833478000,"timestamp_ms":1776833478000,"timestamp_seconds":1776833478,"priority":1,"record_length":96,"hex_timestamp":"0000019db3873d70"} 
[2026-04-22 10:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10: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-22 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:25: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-22 10:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10: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-22 10:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869293312001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869293312001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:25:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869293312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":51082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:25:03] local.INFO: GPS data processed {"connection_id":51082,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:25:03] local.INFO: Acknowledgment sent {"connection_id":51082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:25:04] local.INFO: TCP Data received {"connection_id":51084,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:25:04] local.INFO: Processing buffer {"connection_id":51084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:25:04] local.INFO: IMEI packet received {"connection_id":51084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":51084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:25:07] local.INFO: TCP Data received {"connection_id":51084,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3882bb8012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3882bb8012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 10:25:07] local.INFO: Processing buffer {"connection_id":51084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3882bb8012cf6f1c0071d4e28000c015427..."} 
[2026-04-22 10:25:07] local.INFO: Packet analysis {"connection_id":51084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db388"} 
[2026-04-22 10:25:07] local.INFO: Extracted packet for processing {"connection_id":51084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db388"} 
[2026-04-22 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":39,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869380608001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776833539000,"timestamp_ms":1776833539000,"timestamp_seconds":1776833539,"priority":1,"record_length":96,"hex_timestamp":"0000019db3882bb8"} 
[2026-04-22 10:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 10:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869380608001,"66":12298,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869380608001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:25:07] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:25:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869380608001,"power":12298,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":51084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:25:07] local.INFO: GPS data processed {"connection_id":51084,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:25:07] local.INFO: Acknowledgment sent {"connection_id":51084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:25:10] local.INFO: TCP Data received {"connection_id":51084,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3887dc0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3887dc0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:25:10] local.INFO: Processing buffer {"connection_id":51084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3887dc0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:25:10] local.INFO: Packet analysis {"connection_id":51084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db388"} 
[2026-04-22 10:25:10] local.INFO: Extracted packet for processing {"connection_id":51084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db388"} 
[2026-04-22 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869385984001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776833560000,"timestamp_ms":1776833560000,"timestamp_seconds":1776833560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3887dc0"} 
[2026-04-22 10:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-3098450155351834112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452692,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":6485183463413514241,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5510737434986613007,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4143038471,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":192,"raw_value":512651866296549716,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":12,"raw_value":95746572058361856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019226280142,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2263062529,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684144334,"corrected_to":0} 
[2026-04-22 10:25:10] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2415996150,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:10] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,98,2,24,241,158,16,7,157,217,44,192,78,12,43,10,66,135,41,53,1,240,222,179,29,4,113,205,145,40,42,239,48,148],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1684144334,"validated":0}]} 
[2026-04-22 10:25:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065129912303616,"timestamp_seconds":865065129912303.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":51084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":51084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":51084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869385984001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869385984001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:25:10] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869385984001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":51084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:25:10] local.INFO: GPS data processed {"connection_id":51084,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:25:10] local.INFO: Acknowledgment sent {"connection_id":51084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:25:26] local.INFO: TCP Data received {"connection_id":50145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:25:26] local.INFO: Processing buffer {"connection_id":50145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:25:26] local.INFO: IMEI packet received {"connection_id":50145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":50145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:25:26] local.INFO: TCP Data received {"connection_id":51083,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:25:26] local.INFO: Processing buffer {"connection_id":51083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:25:26] local.INFO: IMEI packet received {"connection_id":51083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":51083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:25:31] local.INFO: TCP Data received {"connection_id":50145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:25:31] local.INFO: Processing buffer {"connection_id":50145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:25:31] local.INFO: IMEI packet received {"connection_id":50145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":50145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:25:32] local.INFO: TCP Data received {"connection_id":50145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:25:32] local.INFO: Processing buffer {"connection_id":50145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:25:32] local.INFO: Packet analysis {"connection_id":50145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:25:32] local.INFO: Extracted packet for processing {"connection_id":50145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869293312001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25: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-22 10:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776833478000,"timestamp_ms":1776833478000,"timestamp_seconds":1776833478,"priority":1,"record_length":96,"hex_timestamp":"0000019db3873d70"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:25: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-22 10: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-22 10: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-22 10:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:25: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-22 10:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869293312001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869293312001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:25:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869293312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":50145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:25:32] local.INFO: GPS data processed {"connection_id":50145,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:25:32] local.INFO: Acknowledgment sent {"connection_id":50145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:25:43] local.INFO: TCP Data received {"connection_id":51084,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db388cfc8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db388cfc8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:25:43] local.INFO: Processing buffer {"connection_id":51084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db388cfc8012cf6f1c0071d4e28000c015429..."} 
[2026-04-22 10:25:43] local.INFO: Packet analysis {"connection_id":51084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db388"} 
[2026-04-22 10:25:43] local.INFO: Extracted packet for processing {"connection_id":51084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db388"} 
[2026-04-22 10:25:43] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869391360001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776833581000,"timestamp_ms":1776833581000,"timestamp_seconds":1776833581,"priority":1,"record_length":96,"hex_timestamp":"0000019db388cfc8"} 
[2026-04-22 10:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":51084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":51084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":51084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869391360001,"66":12363,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869391360001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:25:43] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869391360001,"power":12363,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":51084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:25:43] local.INFO: GPS data processed {"connection_id":51084,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:25:43] local.INFO: Acknowledgment sent {"connection_id":51084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:25:55] local.INFO: TCP Data received {"connection_id":50146,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:25:55] local.INFO: Processing buffer {"connection_id":50146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:25:55] local.INFO: IMEI packet received {"connection_id":50146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":50146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:25:57] local.INFO: TCP Data received {"connection_id":51085,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:25:57] local.INFO: Processing buffer {"connection_id":51085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:25:57] local.INFO: IMEI packet received {"connection_id":51085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":51085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:26:02] local.INFO: TCP Data received {"connection_id":51085,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:26:02] local.INFO: Processing buffer {"connection_id":51085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:26:02] local.INFO: IMEI packet received {"connection_id":51085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":51085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:26:03] local.INFO: TCP Data received {"connection_id":50145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:26:03] local.INFO: Processing buffer {"connection_id":50145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:26:03] local.INFO: Packet analysis {"connection_id":50145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:26:03] local.INFO: Extracted packet for processing {"connection_id":50145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869293312001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10: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-22 10:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776833478000,"timestamp_ms":1776833478000,"timestamp_seconds":1776833478,"priority":1,"record_length":96,"hex_timestamp":"0000019db3873d70"} 
[2026-04-22 10:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:26: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-22 10:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10: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-22 10:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869293312001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869293312001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:26:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869293312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":50145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:26:03] local.INFO: GPS data processed {"connection_id":50145,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:26:03] local.INFO: Acknowledgment sent {"connection_id":50145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:26:07] local.INFO: TCP Data received {"connection_id":51085,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38921d0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38921d0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:26:07] local.INFO: Processing buffer {"connection_id":51085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38921d0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:26:07] local.INFO: Packet analysis {"connection_id":51085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db389"} 
[2026-04-22 10:26:07] local.INFO: Extracted packet for processing {"connection_id":51085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db389"} 
[2026-04-22 10:26:07] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869396736001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776833602000,"timestamp_ms":1776833602000,"timestamp_seconds":1776833602,"priority":1,"record_length":96,"hex_timestamp":"0000019db38921d0"} 
[2026-04-22 10:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 10:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869396736001,"66":12341,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869396736001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:26:07] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869396736001,"power":12341,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":51085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:26:07] local.INFO: GPS data processed {"connection_id":51085,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:26:07] local.INFO: Acknowledgment sent {"connection_id":51085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:26:13] local.INFO: TCP Data received {"connection_id":51085,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38973d8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38973d8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:26:13] local.INFO: Processing buffer {"connection_id":51085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38973d8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:26:13] local.INFO: Packet analysis {"connection_id":51085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db389"} 
[2026-04-22 10:26:13] local.INFO: Extracted packet for processing {"connection_id":51085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db389"} 
[2026-04-22 10:26:13] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869402112001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776833623000,"timestamp_ms":1776833623000,"timestamp_seconds":1776833623,"priority":1,"record_length":96,"hex_timestamp":"0000019db38973d8"} 
[2026-04-22 10: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-22 10:26:13] 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-22 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":51085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":51085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":51085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869402112001,"66":12374,"98":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-22 10:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869402112001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:26:13] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-22 10:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:26:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869402112001,"power":12374,"unknown_98":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":51085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:26:13] local.INFO: GPS data processed {"connection_id":51085,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:26:13] local.INFO: Acknowledgment sent {"connection_id":51085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:26:26] local.INFO: TCP Data received {"connection_id":50147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:26:26] local.INFO: Processing buffer {"connection_id":50147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:26:26] local.INFO: IMEI packet received {"connection_id":50147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":50147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:26:32] local.INFO: TCP Data received {"connection_id":50147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:26:32] local.INFO: Processing buffer {"connection_id":50147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:26:32] local.INFO: IMEI packet received {"connection_id":50147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:26:33] local.INFO: TCP Data received {"connection_id":50147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:26:33] local.INFO: Processing buffer {"connection_id":50147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3873d70012d7f868005afdbe0000b01162b..."} 
[2026-04-22 10:26:33] local.INFO: Packet analysis {"connection_id":50147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:26:33] local.INFO: Extracted packet for processing {"connection_id":50147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db387"} 
[2026-04-22 10:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":11,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869293312001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:26:33] 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-22 10:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776833478000,"timestamp_ms":1776833478000,"timestamp_seconds":1776833478,"priority":1,"record_length":96,"hex_timestamp":"0000019db3873d70"} 
[2026-04-22 10: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-22 10:26: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:26: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-22 10: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-22 10: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-22 10:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869293312001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869293312001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:26:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869293312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:26:33] local.INFO: GPS data processed {"connection_id":50147,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:26:33] local.INFO: Acknowledgment sent {"connection_id":50147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:27:01] local.INFO: TCP Data received {"connection_id":50395,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:27:01] local.INFO: Processing buffer {"connection_id":50395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:27:01] local.INFO: IMEI packet received {"connection_id":50395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":50395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:27:03] local.INFO: TCP Data received {"connection_id":50147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:27:03] local.INFO: Processing buffer {"connection_id":50147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:27:03] local.INFO: Packet analysis {"connection_id":50147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:27:03] local.INFO: Extracted packet for processing {"connection_id":50147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27: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-22 10:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:27: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-22 10: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-22 10: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-22 10:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10: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-22 10:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:27:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":50147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:27:03] local.INFO: GPS data processed {"connection_id":50147,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:27:03] local.INFO: Acknowledgment sent {"connection_id":50147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:27:07] local.INFO: TCP Data received {"connection_id":50395,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:27:07] local.INFO: Processing buffer {"connection_id":50395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:27:07] local.INFO: IMEI packet received {"connection_id":50395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":50395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:27:08] local.INFO: TCP Data received {"connection_id":50395,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db389c5e0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db389c5e0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:27:08] local.INFO: Processing buffer {"connection_id":50395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db389c5e0012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:27:08] local.INFO: Packet analysis {"connection_id":50395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db389"} 
[2026-04-22 10:27:08] local.INFO: Extracted packet for processing {"connection_id":50395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db389"} 
[2026-04-22 10:27:08] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869407488001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776833644000,"timestamp_ms":1776833644000,"timestamp_seconds":1776833644,"priority":1,"record_length":96,"hex_timestamp":"0000019db389c5e0"} 
[2026-04-22 10: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-22 10:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 10:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869407488001,"66":12341,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869407488001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:27:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869407488001,"power":12341,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":50395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:27:09] local.INFO: GPS data processed {"connection_id":50395,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:27:09] local.INFO: Acknowledgment sent {"connection_id":50395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:27:32] local.INFO: TCP Data received {"connection_id":50148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:27:32] local.INFO: Processing buffer {"connection_id":50148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:27:32] local.INFO: IMEI packet received {"connection_id":50148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:27:36] local.INFO: TCP Data received {"connection_id":50148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:27:36] local.INFO: Processing buffer {"connection_id":50148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:27:36] local.INFO: IMEI packet received {"connection_id":50148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":50148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:27:37] local.INFO: TCP Data received {"connection_id":50148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:27:37] local.INFO: Processing buffer {"connection_id":50148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:27:37] local.INFO: Packet analysis {"connection_id":50148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:27:37] local.INFO: Extracted packet for processing {"connection_id":50148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:37] 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-22 10:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 10: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-22 10:27: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:27: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-22 10: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-22 10: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-22 10:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:27: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-22 10:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:27:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":50148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:27:37] local.INFO: GPS data processed {"connection_id":50148,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:27:37] local.INFO: Acknowledgment sent {"connection_id":50148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:27:43] local.INFO: TCP Data received {"connection_id":50395,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38a17e8012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38a17e8012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:27:43] local.INFO: Processing buffer {"connection_id":50395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38a17e8012cf6f1c0071d4e28000c01542c..."} 
[2026-04-22 10:27:43] local.INFO: Packet analysis {"connection_id":50395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38a"} 
[2026-04-22 10:27:43] local.INFO: Extracted packet for processing {"connection_id":50395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38a"} 
[2026-04-22 10:27:43] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776833665000,"timestamp_ms":1776833665000,"timestamp_seconds":1776833665,"priority":1,"record_length":96,"hex_timestamp":"0000019db38a17e8"} 
[2026-04-22 10:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 10:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869412864001,"66":12330,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:27:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869412864001,"power":12330,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":50395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:27:44] local.INFO: GPS data processed {"connection_id":50395,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:27:44] local.INFO: Acknowledgment sent {"connection_id":50395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:27:57] local.INFO: TCP Data received {"connection_id":51087,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:27:57] local.INFO: Processing buffer {"connection_id":51087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:27:57] local.INFO: IMEI packet received {"connection_id":51087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":51087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:28:02] local.INFO: TCP Data received {"connection_id":51087,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:28:02] local.INFO: Processing buffer {"connection_id":51087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:28:02] local.INFO: IMEI packet received {"connection_id":51087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":51087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:28:04] local.INFO: TCP Data received {"connection_id":51087,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38a69f0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38a69f0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:28:04] local.INFO: Processing buffer {"connection_id":51087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38a69f0012cf6f1c0071d4e28000c01542b..."} 
[2026-04-22 10:28:04] local.INFO: Packet analysis {"connection_id":51087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38a"} 
[2026-04-22 10:28:04] local.INFO: Extracted packet for processing {"connection_id":51087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38a"} 
[2026-04-22 10:28:04] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869418240001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776833686000,"timestamp_ms":1776833686000,"timestamp_seconds":1776833686,"priority":1,"record_length":96,"hex_timestamp":"0000019db38a69f0"} 
[2026-04-22 10:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-22 10:28:04] 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-22 10:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869418240001,"66":12363,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869418240001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:28:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:28:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869418240001,"power":12363,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":51087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:28:04] local.INFO: GPS data processed {"connection_id":51087,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:28:04] local.INFO: Acknowledgment sent {"connection_id":51087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:28:08] local.INFO: TCP Data received {"connection_id":50148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:28:08] local.INFO: Processing buffer {"connection_id":50148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:28:08] local.INFO: Packet analysis {"connection_id":50148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:28:08] local.INFO: Extracted packet for processing {"connection_id":50148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28: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-22 10:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 10: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-22 10:28: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-22 10: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10: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-22 10:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:28:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":50148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:28:08] local.INFO: GPS data processed {"connection_id":50148,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:28:08] local.INFO: Acknowledgment sent {"connection_id":50148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:28:26] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:28:26] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:28:26] local.INFO: IMEI packet received {"connection_id":50519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":50519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:28:31] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:28:31] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:28:31] local.INFO: IMEI packet received {"connection_id":50519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":50519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:28:32] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:28:32] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:28:32] local.INFO: Packet analysis {"connection_id":50519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:28:32] local.INFO: Extracted packet for processing {"connection_id":50519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28: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-22 10:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:28: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-22 10: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-22 10: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-22 10:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10: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-22 10:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:28:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":50519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:28:32] local.INFO: GPS data processed {"connection_id":50519,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:28:32] local.INFO: Acknowledgment sent {"connection_id":50519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:28:40] local.INFO: TCP Data received {"connection_id":51087,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38abbf8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38abbf8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:28:40] local.INFO: Processing buffer {"connection_id":51087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38abbf8012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:28:40] local.INFO: Packet analysis {"connection_id":51087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38a"} 
[2026-04-22 10:28:40] local.INFO: Extracted packet for processing {"connection_id":51087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38a"} 
[2026-04-22 10:28:40] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869423616001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776833707000,"timestamp_ms":1776833707000,"timestamp_seconds":1776833707,"priority":1,"record_length":96,"hex_timestamp":"0000019db38abbf8"} 
[2026-04-22 10:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 10:28:40] 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-22 10:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":51087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":51087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":51087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869423616001,"66":12330,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869423616001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:28:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869423616001,"power":12330,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":51087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:28:40] local.INFO: GPS data processed {"connection_id":51087,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:28:40] local.INFO: Acknowledgment sent {"connection_id":51087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:28:56] local.INFO: TCP Data received {"connection_id":50397,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:28:56] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:28:56] local.INFO: IMEI packet received {"connection_id":50397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":50397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:29:03] local.INFO: TCP Data received {"connection_id":50397,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:29:03] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:29:03] local.INFO: IMEI packet received {"connection_id":50397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":50397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:29:04] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:29:04] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:29:04] local.INFO: Packet analysis {"connection_id":50519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:29:04] local.INFO: Extracted packet for processing {"connection_id":50519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:29: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-22 10:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 10:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:29: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-22 10:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:29:04] 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-22 10:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:29: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-22 10:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:29:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":50519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:29:04] local.INFO: GPS data processed {"connection_id":50519,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:29:04] local.INFO: Acknowledgment sent {"connection_id":50519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:29:11] local.INFO: TCP Data received {"connection_id":50397,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38b0e00012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38b0e00012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:29:11] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38b0e00012cf6f1c0071d4e28000c01542a..."} 
[2026-04-22 10:29:11] local.INFO: Packet analysis {"connection_id":50397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:29:11] local.INFO: Extracted packet for processing {"connection_id":50397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:29:11] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":119361064,"longitude_deg":75.4381248,"latitude_deg":11.9361064,"altitude":12,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2cf6f1c0","hex_latitude":"071d4e28","is_valid_coordinates":true} 
[2026-04-22 10:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869428992001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113723973719556096,"note":"Value kept but may cause issues"} 
[2026-04-22 10:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334203045888,"note":"Value kept but may cause issues"} 
[2026-04-22 10:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776833728000,"timestamp_ms":1776833728000,"timestamp_seconds":1776833728,"priority":1,"record_length":96,"hex_timestamp":"0000019db38b0e00"} 
[2026-04-22 10:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-22 10:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869428992001,"66":12341,"96":206,"2":54528,"24":0,"16":113723973719556096,"44":-652529334203045888},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869428992001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:29:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113723973719556096,"km_value":113723973719556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334203045888,"description":"Unknown IO ID 44"} 
[2026-04-22 10:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869428992001,"power":12341,"unknown_96":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-652529334203045888}} 
[2026-04-22 10:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":50397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:29:11] local.INFO: GPS data processed {"connection_id":50397,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:29:11] local.INFO: Acknowledgment sent {"connection_id":50397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:29:27] local.INFO: TCP Data received {"connection_id":50149,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:29:27] local.INFO: Processing buffer {"connection_id":50149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:29:27] local.INFO: IMEI packet received {"connection_id":50149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":50149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:29:31] local.INFO: TCP Data received {"connection_id":50149,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:29:31] local.INFO: Processing buffer {"connection_id":50149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:29:31] local.INFO: IMEI packet received {"connection_id":50149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":50149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:29:33] local.INFO: TCP Data received {"connection_id":50149,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:29:33] local.INFO: Processing buffer {"connection_id":50149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:29:33] local.INFO: Packet analysis {"connection_id":50149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:29:33] local.INFO: Extracted packet for processing {"connection_id":50149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:29:33] 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-22 10:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:29: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-22 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-22 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-22 10:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:29:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":50149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:29:33] local.INFO: GPS data processed {"connection_id":50149,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:29:33] local.INFO: Acknowledgment sent {"connection_id":50149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:29:56] local.INFO: TCP Data received {"connection_id":50399,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:29:56] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:29:56] local.INFO: IMEI packet received {"connection_id":50399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":50399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:30:02] local.INFO: TCP Data received {"connection_id":50399,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:30:02] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:30:02] local.INFO: IMEI packet received {"connection_id":50399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":50399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:30:03] local.INFO: TCP Data received {"connection_id":50399,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38e4250012cf6e540071d59c0000401602b..."} 
[2026-04-22 10:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38e4250012cf6e540071d59c0000401602b..."} 
[2026-04-22 10:30:03] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38e4250012cf6e540071d59c0000401602b..."} 
[2026-04-22 10:30:03] local.INFO: Packet analysis {"connection_id":50399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38e"} 
[2026-04-22 10:30:03] local.INFO: Extracted packet for processing {"connection_id":50399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38e"} 
[2026-04-22 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":754378048,"raw_latitude":119364032,"longitude_deg":75.4378048,"latitude_deg":11.9364032,"altitude":4,"angle":352,"satellites":43,"speed":14,"hex_longitude":"2cf6e540","hex_latitude":"071d59c0","is_valid_coordinates":true} 
[2026-04-22 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869487872001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113724441870991360,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-655977402667079680,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776833938000,"timestamp_ms":1776833938000,"timestamp_seconds":1776833938,"priority":1,"record_length":96,"hex_timestamp":"0000019db38e4250"} 
[2026-04-22 10:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4222133256388608,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399855874806016,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3012431752,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4142743559,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2384918529,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2147949905,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":3,"raw_value":-3458433599823411427,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.WARNING: Large IO value detected {"io_id":71,"raw_value":6341074872460574729,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,96,2,24,241,158,16,7,157,58,44,128,87,4,45,10,66,46,84,43,42,1,240,154,179,29,113,205,11,35,237,216,239,54,148,6,15,3,71],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 10:30:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288593408263323648,"timestamp_seconds":288593408263323.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869487872001,"66":13830,"96":206,"2":54528,"24":14,"16":113724441870991360,"44":-655977402667079680},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869487872001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:30:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113724441870991360,"km_value":113724441870991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-655977402667079680,"description":"Unknown IO ID 44"} 
[2026-04-22 10:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869487872001,"power":13830,"unknown_96":206,"power_alt":54528,"ignition":14,"odometer":null,"unknown_44":-655977402667079680}} 
[2026-04-22 10:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":50399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:30:03] local.INFO: GPS data processed {"connection_id":50399,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:30:03] local.INFO: Acknowledgment sent {"connection_id":50399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:30:04] local.INFO: TCP Data received {"connection_id":50149,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:30:04] local.INFO: Processing buffer {"connection_id":50149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:30:04] local.INFO: Packet analysis {"connection_id":50149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:30:04] local.INFO: Extracted packet for processing {"connection_id":50149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30: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-22 10:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 10: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-22 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:30:04] 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-22 10: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-22 10: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-22 10:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:30:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":50149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:30:04] local.INFO: GPS data processed {"connection_id":50149,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:30:04] local.INFO: Acknowledgment sent {"connection_id":50149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:30:26] local.INFO: TCP Data received {"connection_id":50520,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:30:26] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:30:26] local.INFO: IMEI packet received {"connection_id":50520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":50520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:30:32] local.INFO: TCP Data received {"connection_id":50520,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:30:32] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:30:32] local.INFO: IMEI packet received {"connection_id":50520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:30:33] local.INFO: TCP Data received {"connection_id":50520,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:30:33] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:30:33] local.INFO: Packet analysis {"connection_id":50520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:30:33] local.INFO: Extracted packet for processing {"connection_id":50520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:33] 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-22 10:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:30: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-22 10: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-22 10: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-22 10:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:30: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-22 10:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:30:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":50520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:30:33] local.INFO: GPS data processed {"connection_id":50520,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:30:33] local.INFO: Acknowledgment sent {"connection_id":50520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:30:38] local.INFO: TCP Data received {"connection_id":50399,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38e4638012cf6e540071d5b50000400062b..."} 
[2026-04-22 10:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38e4638012cf6e540071d5b50000400062b..."} 
[2026-04-22 10:30:38] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38e4638012cf6e540071d5b50000400062b..."} 
[2026-04-22 10:30:38] local.INFO: Packet analysis {"connection_id":50399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38e"} 
[2026-04-22 10:30:38] local.INFO: Extracted packet for processing {"connection_id":50399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38e"} 
[2026-04-22 10:30:38] local.INFO: GPS Element Parsed {"raw_longitude":754378048,"raw_latitude":119364432,"longitude_deg":75.4378048,"latitude_deg":11.9364432,"altitude":4,"angle":6,"satellites":43,"speed":16,"hex_longitude":"2cf6e540","hex_latitude":"071d5b50","is_valid_coordinates":true} 
[2026-04-22 10:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869488128001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113724463345827840,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-656047771411169280,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776833939000,"timestamp_ms":1776833939000,"timestamp_seconds":1776833939,"priority":1,"record_length":96,"hex_timestamp":"0000019db38e4638"} 
[2026-04-22 10:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3096233349545984,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399855874811136,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3012436752,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4142694407,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2385174529,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684013262,"corrected_to":0} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-8646580370541639907,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4160826614,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743844,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.WARNING: Large IO value detected {"io_id":75,"raw_value":7493996377251971087,"note":"Value kept but may cause issues"} 
[2026-04-22 10:30:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,96,2,24,241,158,16,7,157,62,44,128,88,4,45,10,66,58,87,46,1,240,252,179,29,113,205,15,38,237,43,239,53,148,5,11,75],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1684013262,"validated":0}]} 
[2026-04-22 10:30:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288617588929200128,"timestamp_seconds":288617588929200.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869488128001,"66":13820,"96":206,"2":54528,"24":16,"16":113724463345827840,"44":-656047771411169280},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869488128001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:30:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113724463345827840,"km_value":113724463345827.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:30:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-656047771411169280,"description":"Unknown IO ID 44"} 
[2026-04-22 10:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869488128001,"power":13820,"unknown_96":206,"power_alt":54528,"ignition":16,"odometer":null,"unknown_44":-656047771411169280}} 
[2026-04-22 10:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":50399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:30:38] local.INFO: GPS data processed {"connection_id":50399,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:30:38] local.INFO: Acknowledgment sent {"connection_id":50399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:31:02] local.INFO: TCP Data received {"connection_id":50521,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:02] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:02] local.INFO: IMEI packet received {"connection_id":50521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":50521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:31:03] local.INFO: TCP Data received {"connection_id":50521,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:03] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:03] local.INFO: IMEI packet received {"connection_id":50521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":50521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:31:04] local.INFO: TCP Data received {"connection_id":50520,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:31:04] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:31:04] local.INFO: Packet analysis {"connection_id":50520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:31:04] local.INFO: Extracted packet for processing {"connection_id":50520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10: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-22 10:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 10: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-22 10:31: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-22 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:31:04] 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-22 10: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-22 10: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-22 10:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:31: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-22 10:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:31:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":50520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:31:04] local.INFO: GPS data processed {"connection_id":50520,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:31:04] local.INFO: Acknowledgment sent {"connection_id":50520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:31:05] local.INFO: TCP Data received {"connection_id":50521,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38f53c0012cf6e740071d56e80002007729..."} 
[2026-04-22 10:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38f53c0012cf6e740071d56e80002007729..."} 
[2026-04-22 10:31:05] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38f53c0012cf6e740071d56e80002007729..."} 
[2026-04-22 10:31:05] local.INFO: Packet analysis {"connection_id":50521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38f"} 
[2026-04-22 10:31:05] local.INFO: Extracted packet for processing {"connection_id":50521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38f"} 
[2026-04-22 10:31:05] local.INFO: GPS Element Parsed {"raw_longitude":754378560,"raw_latitude":119363304,"longitude_deg":75.437856,"latitude_deg":11.9363304,"altitude":2,"angle":119,"satellites":41,"speed":12,"hex_longitude":"2cf6e740","hex_latitude":"071d56e8","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869505792001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113724892842557440,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-655695927690418176,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776834008000,"timestamp_ms":1776834008000,"timestamp_seconds":1776834008,"priority":1,"record_length":96,"hex_timestamp":"0000019db38f53c0"} 
[2026-04-22 10: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-22 10:31: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-22 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 10:31:05] 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-22 10: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-22 10: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-22 10:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869505792001,"66":14102,"96":206,"2":54528,"24":12,"16":113724892842557440,"44":-655695927690418176},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869505792001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:31:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113724892842557440,"km_value":113724892842557.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-655695927690418176,"description":"Unknown IO ID 44"} 
[2026-04-22 10:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869505792001,"power":14102,"unknown_96":206,"power_alt":54528,"ignition":12,"odometer":null,"unknown_44":-655695927690418176}} 
[2026-04-22 10:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":50521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:31:05] local.INFO: GPS data processed {"connection_id":50521,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:31:05] local.INFO: Acknowledgment sent {"connection_id":50521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:31:26] local.INFO: TCP Data received {"connection_id":50400,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:31:26] local.INFO: Processing buffer {"connection_id":50400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:31:26] local.INFO: IMEI packet received {"connection_id":50400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":50400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:31:26] local.INFO: TCP Data received {"connection_id":50150,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:31:26] local.INFO: Processing buffer {"connection_id":50150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:31:26] local.INFO: IMEI packet received {"connection_id":50150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":50150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:31:31] local.INFO: TCP Data received {"connection_id":50400,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:31:32] local.INFO: Processing buffer {"connection_id":50400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:31:32] local.INFO: IMEI packet received {"connection_id":50400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:31:32] local.INFO: TCP Data received {"connection_id":50400,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:31:32] local.INFO: Processing buffer {"connection_id":50400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38bd538012d7f868005afdbe0000801162b..."} 
[2026-04-22 10:31:32] local.INFO: Packet analysis {"connection_id":50400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:31:32] local.INFO: Extracted packet for processing {"connection_id":50400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38b"} 
[2026-04-22 10:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":8,"angle":278,"satellites":43,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869370368001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31: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-22 10:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776833779000,"timestamp_ms":1776833779000,"timestamp_seconds":1776833779,"priority":1,"record_length":96,"hex_timestamp":"0000019db38bd538"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:31: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-22 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-22 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-22 10:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:31:32] local.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-22 10:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869370368001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869370368001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:31:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869370368001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":50400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:31:33] local.INFO: GPS data processed {"connection_id":50400,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:31:33] local.INFO: Acknowledgment sent {"connection_id":50400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:31:36] local.INFO: TCP Data received {"connection_id":50521,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db38f6b30012cf6ecc0071d54700001008229..."} 
[2026-04-22 10:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db38f6b30012cf6ecc0071d54700001008229..."} 
[2026-04-22 10:31:36] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db38f6b30012cf6ecc0071d54700001008229..."} 
[2026-04-22 10:31:36] local.INFO: Packet analysis {"connection_id":50521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db38f"} 
[2026-04-22 10:31:36] local.INFO: Extracted packet for processing {"connection_id":50521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db38f"} 
[2026-04-22 10:31:36] local.INFO: GPS Element Parsed {"raw_longitude":754379968,"raw_latitude":119362672,"longitude_deg":75.4379968,"latitude_deg":11.9362672,"altitude":1,"angle":130,"satellites":41,"speed":8,"hex_longitude":"2cf6ecc0","hex_latitude":"071d5470","is_valid_coordinates":true} 
[2026-04-22 10:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869506048001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113724965857001472,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-655484821457934336,"note":"Value kept but may cause issues"} 
[2026-04-22 10:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776834014000,"timestamp_ms":1776834014000,"timestamp_seconds":1776834014,"priority":1,"record_length":96,"hex_timestamp":"0000019db38f6b30"} 
[2026-04-22 10:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:31:36] 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-22 10:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 10:31:36] 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-22 10:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869506048001,"66":14135,"96":206,"2":54528,"24":8,"16":113724965857001472,"44":-655484821457934336},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869506048001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:31:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113724965857001472,"km_value":113724965857001.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:31:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-655484821457934336,"description":"Unknown IO ID 44"} 
[2026-04-22 10:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869506048001,"power":14135,"unknown_96":206,"power_alt":54528,"ignition":8,"odometer":null,"unknown_44":-655484821457934336}} 
[2026-04-22 10:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":50521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:31:36] local.INFO: GPS data processed {"connection_id":50521,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:31:36] local.INFO: Acknowledgment sent {"connection_id":50521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:31:51] local.INFO: TCP Data received {"connection_id":50522,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:31:51] local.INFO: Processing buffer {"connection_id":50522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:31:51] local.INFO: IMEI packet received {"connection_id":50522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":50522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:31:57] local.INFO: TCP Data received {"connection_id":50151,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:57] local.INFO: Processing buffer {"connection_id":50151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:57] local.INFO: IMEI packet received {"connection_id":50151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":50151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:31:59] local.INFO: TCP Data received {"connection_id":50151,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:59] local.INFO: Processing buffer {"connection_id":50151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:31:59] local.INFO: IMEI packet received {"connection_id":50151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":50151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:32:02] local.INFO: TCP Data received {"connection_id":50151,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39026b0012cf6e700071d0d40000b00a325..."} 
[2026-04-22 10:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39026b0012cf6e700071d0d40000b00a325..."} 
[2026-04-22 10:32:02] local.INFO: Processing buffer {"connection_id":50151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39026b0012cf6e700071d0d40000b00a325..."} 
[2026-04-22 10:32:02] local.INFO: Packet analysis {"connection_id":50151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:32:02] local.INFO: Extracted packet for processing {"connection_id":50151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:32:02] local.INFO: GPS Element Parsed {"raw_longitude":754378496,"raw_latitude":119344448,"longitude_deg":75.4378496,"latitude_deg":11.9344448,"altitude":11,"angle":163,"satellites":37,"speed":6,"hex_longitude":"2cf6e700","hex_latitude":"071d0d40","is_valid_coordinates":true} 
[2026-04-22 10:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869517056001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113725880685035520,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-655625558950098944,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776834062000,"timestamp_ms":1776834062000,"timestamp_seconds":1776834062,"priority":1,"record_length":96,"hex_timestamp":"0000019db39026b0"} 
[2026-04-22 10:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:32: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-22 10:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 10:32:02] 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-22 10:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869517056001,"66":14233,"96":206,"2":54528,"24":6,"16":113725880685035520,"44":-655625558950098944},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869517056001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:32:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113725880685035520,"km_value":113725880685035.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:32:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-655625558950098944,"description":"Unknown IO ID 44"} 
[2026-04-22 10:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869517056001,"power":14233,"unknown_96":206,"power_alt":54528,"ignition":6,"odometer":null,"unknown_44":-655625558950098944}} 
[2026-04-22 10:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":50151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:32:02] local.INFO: GPS data processed {"connection_id":50151,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:32:02] local.INFO: Acknowledgment sent {"connection_id":50151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:32:04] local.INFO: TCP Data received {"connection_id":50400,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:32:04] local.INFO: Processing buffer {"connection_id":50400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:32:04] local.INFO: Packet analysis {"connection_id":50400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:32:04] local.INFO: Extracted packet for processing {"connection_id":50400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32: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-22 10:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10: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-22 10:32: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-22 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:32:04] 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-22 10: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-22 10: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-22 10:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:32:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":50400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:32:04] local.INFO: GPS data processed {"connection_id":50400,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:32:04] local.INFO: Acknowledgment sent {"connection_id":50400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:32:31] local.INFO: TCP Data received {"connection_id":50523,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:32:31] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:32:31] local.INFO: IMEI packet received {"connection_id":50523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":50523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:32:34] local.INFO: TCP Data received {"connection_id":50151,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db390da60012cf6fe40071cf5400015008327..."} 
[2026-04-22 10:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db390da60012cf6fe40071cf5400015008327..."} 
[2026-04-22 10:32:34] local.INFO: Processing buffer {"connection_id":50151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db390da60012cf6fe40071cf5400015008327..."} 
[2026-04-22 10:32:34] local.INFO: Packet analysis {"connection_id":50151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:32:34] local.INFO: Extracted packet for processing {"connection_id":50151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:32:34] local.INFO: GPS Element Parsed {"raw_longitude":754384448,"raw_latitude":119338304,"longitude_deg":75.4384448,"latitude_deg":11.9338304,"altitude":21,"angle":131,"satellites":39,"speed":8,"hex_longitude":"2cf6fe40","hex_latitude":"071cf540","is_valid_coordinates":true} 
[2026-04-22 10:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869531392001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113726344541503488,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-649151634488299520,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776834108000,"timestamp_ms":1776834108000,"timestamp_seconds":1776834108,"priority":1,"record_length":96,"hex_timestamp":"0000019db390da60"} 
[2026-04-22 10:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:32:34] 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-22 10:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 10:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869531392001,"66":13015,"96":206,"2":54528,"24":8,"16":113726344541503488,"44":-649151634488299520},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869531392001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:32:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113726344541503488,"km_value":113726344541503.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:32:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-649151634488299520,"description":"Unknown IO ID 44"} 
[2026-04-22 10:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869531392001,"power":13015,"unknown_96":206,"power_alt":54528,"ignition":8,"odometer":null,"unknown_44":-649151634488299520}} 
[2026-04-22 10:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":50151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:32:34] local.INFO: GPS data processed {"connection_id":50151,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:32:34] local.INFO: Acknowledgment sent {"connection_id":50151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:32:36] local.INFO: TCP Data received {"connection_id":50523,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:32:36] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:32:36] local.INFO: IMEI packet received {"connection_id":50523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":50523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:32:37] local.INFO: TCP Data received {"connection_id":50523,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:32:37] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:32:37] local.INFO: Packet analysis {"connection_id":50523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:32:37] local.INFO: Extracted packet for processing {"connection_id":50523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:32:37] 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-22 10:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10: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-22 10:32: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-22 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:32:37] 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-22 10: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-22 10: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-22 10:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:32:37] local.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-22 10:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:32:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":50523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:32:37] local.INFO: GPS data processed {"connection_id":50523,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:32:37] local.INFO: Acknowledgment sent {"connection_id":50523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:32:56] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:32:57] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:32:57] local.INFO: IMEI packet received {"connection_id":51089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":51089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:32:58] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:32:58] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:32:58] local.INFO: IMEI packet received {"connection_id":51089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":51089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:33:01] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:33:01] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:33:01] local.INFO: IMEI packet received {"connection_id":51089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":51089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:33:03] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db390de48012cf6ff40071cf4c00015007227..."} 
[2026-04-22 10:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db390de48012cf6ff40071cf4c00015007227..."} 
[2026-04-22 10:33:03] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db390de48012cf6ff40071cf4c00015007227..."} 
[2026-04-22 10:33:03] local.INFO: Packet analysis {"connection_id":51089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:33:03] local.INFO: Extracted packet for processing {"connection_id":51089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:33:03] local.INFO: GPS Element Parsed {"raw_longitude":754384704,"raw_latitude":119338176,"longitude_deg":75.4384704,"latitude_deg":11.9338176,"altitude":21,"angle":114,"satellites":39,"speed":9,"hex_longitude":"2cf6ff40","hex_latitude":"071cf4c0","is_valid_coordinates":true} 
[2026-04-22 10:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869531648001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113726357426405376,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-649010896999989248,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834109000,"timestamp_ms":1776834109000,"timestamp_seconds":1776834109,"priority":1,"record_length":96,"hex_timestamp":"0000019db390de48"} 
[2026-04-22 10:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:33: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-22 10:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 10:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869531648001,"66":13928,"96":206,"2":54528,"24":9,"16":113726357426405376,"44":-649010896999989248},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869531648001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:33:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113726357426405376,"km_value":113726357426405.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-649010896999989248,"description":"Unknown IO ID 44"} 
[2026-04-22 10:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869531648001,"power":13928,"unknown_96":206,"power_alt":54528,"ignition":9,"odometer":null,"unknown_44":-649010896999989248}} 
[2026-04-22 10:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":51089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:33:03] local.INFO: GPS data processed {"connection_id":51089,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:33:03] local.INFO: Acknowledgment sent {"connection_id":51089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:33:04] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db390e618012cf701c0071cf4180015006225..."} 
[2026-04-22 10:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db390e618012cf701c0071cf4180015006225..."} 
[2026-04-22 10:33:04] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db390e618012cf701c0071cf4180015006225..."} 
[2026-04-22 10:33:04] local.INFO: Packet analysis {"connection_id":51089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:33:04] local.INFO: Extracted packet for processing {"connection_id":51089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:33:04] local.INFO: GPS Element Parsed {"raw_longitude":754385344,"raw_latitude":119338008,"longitude_deg":75.4385344,"latitude_deg":11.9338008,"altitude":21,"angle":98,"satellites":37,"speed":16,"hex_longitude":"2cf701c0","hex_latitude":"071cf418","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869531904001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113726391786143744,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-648729422023311360,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776834111000,"timestamp_ms":1776834111000,"timestamp_seconds":1776834111,"priority":1,"record_length":96,"hex_timestamp":"0000019db390e618"} 
[2026-04-22 10: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-22 10:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 10:33:04] 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-22 10: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-22 10: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-22 10:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869531904001,"66":14254,"96":206,"2":54528,"24":16,"16":113726391786143744,"44":-648729422023311360},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869531904001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:33:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113726391786143744,"km_value":113726391786143.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:33:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-648729422023311360,"description":"Unknown IO ID 44"} 
[2026-04-22 10:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869531904001,"power":14254,"unknown_96":206,"power_alt":54528,"ignition":16,"odometer":null,"unknown_44":-648729422023311360}} 
[2026-04-22 10:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":51089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:33:04] local.INFO: GPS data processed {"connection_id":51089,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:33:04] local.INFO: Acknowledgment sent {"connection_id":51089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:33:08] local.INFO: TCP Data received {"connection_id":50523,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:33:08] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:33:08] local.INFO: Packet analysis {"connection_id":50523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:33:08] local.INFO: Extracted packet for processing {"connection_id":50523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33: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-22 10:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:33: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-22 10: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-22 10: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-22 10:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:33:08] local.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-22 10:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:33:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":50523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:33:08] local.INFO: GPS data processed {"connection_id":50523,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:33:08] local.INFO: Acknowledgment sent {"connection_id":50523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:33:26] local.INFO: TCP Data received {"connection_id":50152,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:33:26] local.INFO: Processing buffer {"connection_id":50152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:33:26] local.INFO: IMEI packet received {"connection_id":50152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":50152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:33:31] local.INFO: TCP Data received {"connection_id":50152,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:33:31] local.INFO: Processing buffer {"connection_id":50152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:33:31] local.INFO: IMEI packet received {"connection_id":50152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":50152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:33:32] local.INFO: TCP Data received {"connection_id":50152,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:33:32] local.INFO: Processing buffer {"connection_id":50152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:33:32] local.INFO: Packet analysis {"connection_id":50152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:33:32] local.INFO: Extracted packet for processing {"connection_id":50152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33: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-22 10:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:33: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-22 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-22 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-22 10:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:33: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-22 10:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:33:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":50152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:33:32] local.INFO: GPS data processed {"connection_id":50152,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:33:32] local.INFO: Acknowledgment sent {"connection_id":50152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:33:42] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3910558012cf71640071cf3480016005626..."} 
[2026-04-22 10:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3910558012cf71640071cf3480016005626..."} 
[2026-04-22 10:33:42] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3910558012cf71640071cf3480016005626..."} 
[2026-04-22 10:33:42] local.INFO: Packet analysis {"connection_id":51089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db391"} 
[2026-04-22 10:33:42] local.INFO: Extracted packet for processing {"connection_id":51089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db391"} 
[2026-04-22 10:33:42] local.INFO: GPS Element Parsed {"raw_longitude":754390592,"raw_latitude":119337800,"longitude_deg":75.4390592,"latitude_deg":11.93378,"altitude":22,"angle":86,"satellites":38,"speed":31,"hex_longitude":"2cf71640","hex_latitude":"071cf348","is_valid_coordinates":true} 
[2026-04-22 10:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869532416001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113726636599279616,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-648025734581577728,"note":"Value kept but may cause issues"} 
[2026-04-22 10:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776834119000,"timestamp_ms":1776834119000,"timestamp_seconds":1776834119,"priority":1,"record_length":96,"hex_timestamp":"0000019db3910558"} 
[2026-04-22 10:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-22 10:33:42] 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-22 10:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869532416001,"66":13559,"96":206,"2":54528,"24":31,"16":113726636599279616,"44":-648025734581577728},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-04-22 10:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869532416001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:33:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-22 10:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113726636599279616,"km_value":113726636599279.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-648025734581577728,"description":"Unknown IO ID 44"} 
[2026-04-22 10:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869532416001,"power":13559,"unknown_96":206,"power_alt":54528,"ignition":31,"odometer":null,"unknown_44":-648025734581577728}} 
[2026-04-22 10:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":51089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:33:42] local.INFO: GPS data processed {"connection_id":51089,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:33:42] local.INFO: Acknowledgment sent {"connection_id":51089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:33:56] local.INFO: TCP Data received {"connection_id":50524,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:33:56] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:33:56] local.INFO: IMEI packet received {"connection_id":50524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":50524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:33:59] local.INFO: TCP Data received {"connection_id":50524,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:33:59] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:33:59] local.INFO: IMEI packet received {"connection_id":50524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":50524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:34:01] local.INFO: TCP Data received {"connection_id":50524,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:34:01] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:34:01] local.INFO: IMEI packet received {"connection_id":50524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":50524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:34:03] local.INFO: TCP Data received {"connection_id":50524,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db391fb70012cf7ca40071cbd400014007927..."} 
[2026-04-22 10:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db391fb70012cf7ca40071cbd400014007927..."} 
[2026-04-22 10:34:03] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db391fb70012cf7ca40071cbd400014007927..."} 
[2026-04-22 10:34:03] local.INFO: Packet analysis {"connection_id":50524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db391"} 
[2026-04-22 10:34:03] local.INFO: Extracted packet for processing {"connection_id":50524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db391"} 
[2026-04-22 10:34:03] local.INFO: GPS Element Parsed {"raw_longitude":754436672,"raw_latitude":119323968,"longitude_deg":75.4436672,"latitude_deg":11.9323968,"altitude":20,"angle":121,"satellites":39,"speed":45,"hex_longitude":"2cf7ca40","hex_latitude":"071cbd40","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869547776001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113729058960834560,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-601371257194254336,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834182000,"timestamp_ms":1776834182000,"timestamp_seconds":1776834182,"priority":1,"record_length":96,"hex_timestamp":"0000019db391fb70"} 
[2026-04-22 10: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-22 10:34: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-22 10: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 10:34:03] 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-22 10: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-22 10: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-22 10:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869547776001,"66":14298,"97":206,"2":54528,"24":45,"16":113729058960834560,"44":-601371257194254336},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-22 10:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869547776001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 10:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113729058960834560,"km_value":113729058960834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-601371257194254336,"description":"Unknown IO ID 44"} 
[2026-04-22 10:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869547776001,"power":14298,"unknown_97":206,"power_alt":54528,"ignition":45,"odometer":null,"unknown_44":-601371257194254336}} 
[2026-04-22 10:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":50524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:34:03] local.INFO: GPS data processed {"connection_id":50524,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:34:03] local.INFO: Acknowledgment sent {"connection_id":50524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:34:04] local.INFO: TCP Data received {"connection_id":50152,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:34:04] local.INFO: Processing buffer {"connection_id":50152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:34:04] local.INFO: Packet analysis {"connection_id":50152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:34:04] local.INFO: Extracted packet for processing {"connection_id":50152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34: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-22 10:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10: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-22 10:34: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-22 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:34:04] 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-22 10: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-22 10: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-22 10:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10: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-22 10:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:34:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":50152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:34:04] local.INFO: GPS data processed {"connection_id":50152,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:34:04] local.INFO: Acknowledgment sent {"connection_id":50152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:34:27] local.INFO: TCP Data received {"connection_id":50154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:34:27] local.INFO: Processing buffer {"connection_id":50154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:34:27] local.INFO: IMEI packet received {"connection_id":50154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:34:31] local.INFO: TCP Data received {"connection_id":50154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:34:31] local.INFO: Processing buffer {"connection_id":50154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:34:31] local.INFO: IMEI packet received {"connection_id":50154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":50154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:34:32] local.INFO: TCP Data received {"connection_id":50154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:34:32] local.INFO: Processing buffer {"connection_id":50154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:34:32] local.INFO: Packet analysis {"connection_id":50154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:34:32] local.INFO: Extracted packet for processing {"connection_id":50154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34: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-22 10:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10: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-22 10: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-22 10: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":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:34: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-22 10: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-22 10: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-22 10:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:34:32] 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-22 10:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:34:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":50154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:34:32] local.INFO: GPS data processed {"connection_id":50154,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:34:32] local.INFO: Acknowledgment sent {"connection_id":50154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:34:34] local.INFO: TCP Data received {"connection_id":50524,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3921ab0012cf7e800071ca9d00013007c28..."} 
[2026-04-22 10:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3921ab0012cf7e800071ca9d00013007c28..."} 
[2026-04-22 10:34:34] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3921ab0012cf7e800071ca9d00013007c28..."} 
[2026-04-22 10:34:34] local.INFO: Packet analysis {"connection_id":50524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db392"} 
[2026-04-22 10:34:34] local.INFO: Extracted packet for processing {"connection_id":50524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db392"} 
[2026-04-22 10:34:34] local.INFO: GPS Element Parsed {"raw_longitude":754444288,"raw_latitude":119318992,"longitude_deg":75.4444288,"latitude_deg":11.9318992,"altitude":19,"angle":124,"satellites":40,"speed":41,"hex_longitude":"2cf7e800","hex_latitude":"071ca9d0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869550592001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113729492752531456,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-591590001754685440,"note":"Value kept but may cause issues"} 
[2026-04-22 10:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776834190000,"timestamp_ms":1776834190000,"timestamp_seconds":1776834190,"priority":1,"record_length":96,"hex_timestamp":"0000019db3921ab0"} 
[2026-04-22 10: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-22 10:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 10:34:34] 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-22 10: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-22 10: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-22 10:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869550592001,"66":14265,"97":206,"2":54528,"24":41,"16":113729492752531456,"44":-591590001754685440},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-22 10:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869550592001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 10:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113729492752531456,"km_value":113729492752531.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-591590001754685440,"description":"Unknown IO ID 44"} 
[2026-04-22 10:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869550592001,"power":14265,"unknown_97":206,"power_alt":54528,"ignition":41,"odometer":null,"unknown_44":-591590001754685440}} 
[2026-04-22 10:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":50524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:34:34] local.INFO: GPS data processed {"connection_id":50524,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:34:34] local.INFO: Acknowledgment sent {"connection_id":50524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:34:56] local.INFO: TCP Data received {"connection_id":51090,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:34:56] local.INFO: Processing buffer {"connection_id":51090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:34:56] local.INFO: IMEI packet received {"connection_id":51090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":51090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:34:58] local.INFO: TCP Data received {"connection_id":51090,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:34:58] local.INFO: Processing buffer {"connection_id":51090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:34:58] local.INFO: IMEI packet received {"connection_id":51090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":51090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:35:02] local.INFO: TCP Data received {"connection_id":51090,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:35:02] local.INFO: Processing buffer {"connection_id":51090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:35:02] local.INFO: IMEI packet received {"connection_id":51090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":51090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:35:03] local.INFO: TCP Data received {"connection_id":50154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:35:03] local.INFO: Processing buffer {"connection_id":50154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:35:03] local.INFO: Packet analysis {"connection_id":50154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:35:03] local.INFO: Extracted packet for processing {"connection_id":50154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35: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-22 10:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10: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-22 10:35: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-22 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:35: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-22 10: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-22 10: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-22 10:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:35: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-22 10:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:35:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":50154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:35:03] local.INFO: GPS data processed {"connection_id":50154,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:35:03] local.INFO: Acknowledgment sent {"connection_id":50154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:35:04] local.INFO: TCP Data received {"connection_id":51090,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39241c0012cf80900071c96080013007627..."} 
[2026-04-22 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39241c0012cf80900071c96080013007627..."} 
[2026-04-22 10:35:04] local.INFO: Processing buffer {"connection_id":51090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39241c0012cf80900071c96080013007627..."} 
[2026-04-22 10:35:04] local.INFO: Packet analysis {"connection_id":51090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db392"} 
[2026-04-22 10:35:04] local.INFO: Extracted packet for processing {"connection_id":51090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db392"} 
[2026-04-22 10:35:04] local.INFO: GPS Element Parsed {"raw_longitude":754452736,"raw_latitude":119313928,"longitude_deg":75.4452736,"latitude_deg":11.9313928,"altitude":19,"angle":118,"satellites":39,"speed":38,"hex_longitude":"2cf80900","hex_latitude":"071c9608","is_valid_coordinates":true} 
[2026-04-22 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-22 10:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869552640001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113729965198934016,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-583216121198817280,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776834200000,"timestamp_ms":1776834200000,"timestamp_seconds":1776834200,"priority":1,"record_length":96,"hex_timestamp":"0000019db39241c0"} 
[2026-04-22 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-22 10:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 10:35:04] 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-22 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-22 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-22 10:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869552640001,"66":14233,"97":206,"2":54528,"24":38,"16":113729965198934016,"44":-583216121198817280},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-22 10:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869552640001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:35:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 10:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113729965198934016,"km_value":113729965198934.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:35:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-583216121198817280,"description":"Unknown IO ID 44"} 
[2026-04-22 10:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869552640001,"power":14233,"unknown_97":206,"power_alt":54528,"ignition":38,"odometer":null,"unknown_44":-583216121198817280}} 
[2026-04-22 10:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":51090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:35:04] local.INFO: GPS data processed {"connection_id":51090,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:35:04] local.INFO: Acknowledgment sent {"connection_id":51090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:35:26] local.INFO: TCP Data received {"connection_id":50402,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:35:26] local.INFO: Processing buffer {"connection_id":50402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:35:26] local.INFO: IMEI packet received {"connection_id":50402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":50402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:35:31] local.INFO: TCP Data received {"connection_id":50402,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:35:32] local.INFO: Processing buffer {"connection_id":50402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:35:32] local.INFO: IMEI packet received {"connection_id":50402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:35:32] local.INFO: TCP Data received {"connection_id":50402,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:35:32] local.INFO: Processing buffer {"connection_id":50402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:35:32] local.INFO: Packet analysis {"connection_id":50402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:35:32] local.INFO: Extracted packet for processing {"connection_id":50402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35: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-22 10:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:35: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-22 10: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-22 10: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-22 10:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:35:32] 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-22 10:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:35:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":50402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:35:32] local.INFO: GPS data processed {"connection_id":50402,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:35:32] local.INFO: Acknowledgment sent {"connection_id":50402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:35:35] local.INFO: TCP Data received {"connection_id":51090,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39264e8012cf82b80071c83a80011007727..."} 
[2026-04-22 10:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39264e8012cf82b80071c83a80011007727..."} 
[2026-04-22 10:35:35] local.INFO: Processing buffer {"connection_id":51090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39264e8012cf82b80071c83a80011007727..."} 
[2026-04-22 10:35:35] local.INFO: Packet analysis {"connection_id":51090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db392"} 
[2026-04-22 10:35:35] local.INFO: Extracted packet for processing {"connection_id":51090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db392"} 
[2026-04-22 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":754461568,"raw_latitude":119309224,"longitude_deg":75.4461568,"latitude_deg":11.9309224,"altitude":17,"angle":119,"satellites":39,"speed":48,"hex_longitude":"2cf82b80","hex_latitude":"071c83a8","is_valid_coordinates":true} 
[2026-04-22 10:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869555200001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113730441940303872,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-573927446968662016,"note":"Value kept but may cause issues"} 
[2026-04-22 10:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776834209000,"timestamp_ms":1776834209000,"timestamp_seconds":1776834209,"priority":1,"record_length":96,"hex_timestamp":"0000019db39264e8"} 
[2026-04-22 10:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:35:35] 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-22 10:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-22 10:35:35] 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-22 10:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869555200001,"66":14363,"97":206,"2":54528,"24":48,"16":113730441940303872,"44":-573927446968662016},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-22 10:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869555200001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 10:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113730441940303872,"km_value":113730441940303.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-573927446968662016,"description":"Unknown IO ID 44"} 
[2026-04-22 10:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869555200001,"power":14363,"unknown_97":206,"power_alt":54528,"ignition":48,"odometer":null,"unknown_44":-573927446968662016}} 
[2026-04-22 10:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":51090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:35:36] local.INFO: GPS data processed {"connection_id":51090,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:35:36] local.INFO: Acknowledgment sent {"connection_id":51090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:36:02] local.INFO: TCP Data received {"connection_id":50525,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:36:02] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:36:02] local.INFO: IMEI packet received {"connection_id":50525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":50525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:36:02] local.INFO: TCP Data received {"connection_id":50525,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:36:02] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:36:02] local.INFO: IMEI packet received {"connection_id":50525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":50525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:36:03] local.INFO: TCP Data received {"connection_id":50402,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:36:03] local.INFO: Processing buffer {"connection_id":50402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:36:03] local.INFO: Packet analysis {"connection_id":50402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:36:03] local.INFO: Extracted packet for processing {"connection_id":50402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36: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-22 10:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:36: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-22 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:36: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-22 10:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"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-22 10:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:36:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:36:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":50402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:36:03] local.INFO: GPS data processed {"connection_id":50402,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:36:03] local.INFO: Acknowledgment sent {"connection_id":50402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:36:03] local.INFO: TCP Data received {"connection_id":50525,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db393ef70012cf91800071b7b60001c00a427..."} 
[2026-04-22 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db393ef70012cf91800071b7b60001c00a427..."} 
[2026-04-22 10:36:03] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db393ef70012cf91800071b7b60001c00a427..."} 
[2026-04-22 10:36:03] local.INFO: Packet analysis {"connection_id":50525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db393"} 
[2026-04-22 10:36:03] local.INFO: Extracted packet for processing {"connection_id":50525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db393"} 
[2026-04-22 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":754522112,"raw_latitude":119241568,"longitude_deg":75.4522112,"latitude_deg":11.9241568,"altitude":28,"angle":164,"satellites":39,"speed":43,"hex_longitude":"2cf91800","hex_latitude":"071b7b60","is_valid_coordinates":true} 
[2026-04-22 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869580800001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113734986015703040,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-500321740575137792,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834310000,"timestamp_ms":1776834310000,"timestamp_seconds":1776834310,"priority":1,"record_length":96,"hex_timestamp":"0000019db393ef70"} 
[2026-04-22 10:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:36: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-22 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 10:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869580800001,"66":14080,"106":206,"2":54528,"24":43,"16":113734986015703040,"44":-500321740575137792},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 10:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869580800001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:36:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 10:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113734986015703040,"km_value":113734986015703.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:36:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-500321740575137792,"description":"Unknown IO ID 44"} 
[2026-04-22 10:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869580800001,"power":14080,"unknown_106":206,"power_alt":54528,"ignition":43,"odometer":null,"unknown_44":-500321740575137792}} 
[2026-04-22 10:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":50525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:36:04] local.INFO: GPS data processed {"connection_id":50525,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:36:04] local.INFO: Acknowledgment sent {"connection_id":50525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:36:07] local.INFO: TCP Data received {"connection_id":50525,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3940eb0012cf92300071b5650001b009f27..."} 
[2026-04-22 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3940eb0012cf92300071b5650001b009f27..."} 
[2026-04-22 10:36:07] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3940eb0012cf92300071b5650001b009f27..."} 
[2026-04-22 10:36:07] local.INFO: Packet analysis {"connection_id":50525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:36:07] local.INFO: Extracted packet for processing {"connection_id":50525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:36:07] local.INFO: GPS Element Parsed {"raw_longitude":754524928,"raw_latitude":119232080,"longitude_deg":75.4524928,"latitude_deg":11.923208,"altitude":27,"angle":159,"satellites":39,"speed":50,"hex_longitude":"2cf92300","hex_latitude":"071b5650","is_valid_coordinates":true} 
[2026-04-22 10:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869583360001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113735467052040192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-497647728298598400,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776834318000,"timestamp_ms":1776834318000,"timestamp_seconds":1776834318,"priority":1,"record_length":96,"hex_timestamp":"0000019db3940eb0"} 
[2026-04-22 10:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:36:07] 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-22 10:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445907712,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3012757752,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":24577,"corrected_to":0} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4175659015,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3972005908,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2471190529,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1684078798,"corrected_to":0} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3221691401,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837540,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,2,24,241,158,16,17,157,200,44,128,27,38,10,66,176,174,26,130,1,240,224,179,4,113,205,37,40,207,136,239,55,97,148,7,18,43],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":200,"original":24577,"validated":0},{"io_id":205,"original":1684078798,"validated":0}]} 
[2026-04-22 10:36:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2017793120475480064,"timestamp_seconds":2017793120475480.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869583360001,"66":14070,"106":206,"2":54528,"24":50,"16":113735467052040192,"44":-497647728298598400},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 10:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869583360001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:36:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 10:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113735467052040192,"km_value":113735467052040.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:36:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-497647728298598400,"description":"Unknown IO ID 44"} 
[2026-04-22 10:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869583360001,"power":14070,"unknown_106":206,"power_alt":54528,"ignition":50,"odometer":null,"unknown_44":-497647728298598400}} 
[2026-04-22 10:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":50525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:36:07] local.INFO: GPS data processed {"connection_id":50525,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:36:07] local.INFO: Acknowledgment sent {"connection_id":50525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:36:31] local.INFO: TCP Data received {"connection_id":50155,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:36:31] local.INFO: Processing buffer {"connection_id":50155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:36:31] local.INFO: IMEI packet received {"connection_id":50155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":50155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:36:36] local.INFO: TCP Data received {"connection_id":50155,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:36:36] local.INFO: Processing buffer {"connection_id":50155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:36:36] local.INFO: IMEI packet received {"connection_id":50155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":50155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:36:37] local.INFO: TCP Data received {"connection_id":50155,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:36:37] local.INFO: Processing buffer {"connection_id":50155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:36:37] local.INFO: Packet analysis {"connection_id":50155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:36:37] local.INFO: Extracted packet for processing {"connection_id":50155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:37] 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-22 10:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:36: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-22 10:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:36:37] 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-22 10:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:36:37] 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-22 10:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:36:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":50155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:36:37] local.INFO: GPS data processed {"connection_id":50155,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:36:37] local.INFO: Acknowledgment sent {"connection_id":50155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:36:38] local.INFO: TCP Data received {"connection_id":50525,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3942620012cf930c0071b3ba8001a009427..."} 
[2026-04-22 10:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3942620012cf930c0071b3ba8001a009427..."} 
[2026-04-22 10:36:38] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3942620012cf930c0071b3ba8001a009427..."} 
[2026-04-22 10:36:38] local.INFO: Packet analysis {"connection_id":50525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:36:38] local.INFO: Extracted packet for processing {"connection_id":50525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:36:38] local.INFO: GPS Element Parsed {"raw_longitude":754528448,"raw_latitude":119225256,"longitude_deg":75.4528448,"latitude_deg":11.9225256,"altitude":26,"angle":148,"satellites":39,"speed":50,"hex_longitude":"2cf930c0","hex_latitude":"071b3ba8","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869585408001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113735836419227648,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-494551503557210112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776834324000,"timestamp_ms":1776834324000,"timestamp_seconds":1776834324,"priority":1,"record_length":96,"hex_timestamp":"0000019db3942620"} 
[2026-04-22 10: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-22 10:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 10:36:38] 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-22 10: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-22 10: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-22 10:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869585408001,"66":14102,"106":206,"2":54528,"24":50,"16":113735836419227648,"44":-494551503557210112},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 10:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869585408001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:36:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 10:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113735836419227648,"km_value":113735836419227.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:36:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-494551503557210112,"description":"Unknown IO ID 44"} 
[2026-04-22 10:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869585408001,"power":14102,"unknown_106":206,"power_alt":54528,"ignition":50,"odometer":null,"unknown_44":-494551503557210112}} 
[2026-04-22 10:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":50525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:36:38] local.INFO: GPS data processed {"connection_id":50525,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:36:38] local.INFO: Acknowledgment sent {"connection_id":50525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:36:42] local.INFO: TCP Data received {"connection_id":50155,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:36:42] local.INFO: Processing buffer {"connection_id":50155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3906d00012d7f868005afdbe00009011626..."} 
[2026-04-22 10:36:42] local.INFO: Packet analysis {"connection_id":50155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:36:42] local.INFO: Extracted packet for processing {"connection_id":50155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db390"} 
[2026-04-22 10:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411168,"longitude_deg":76.3332224,"latitude_deg":9.5411168,"altitude":9,"angle":278,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdbe0","is_valid_coordinates":true} 
[2026-04-22 10:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869447424001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:36:42] 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-22 10:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776834080000,"timestamp_ms":1776834080000,"timestamp_seconds":1776834080,"priority":1,"record_length":96,"hex_timestamp":"0000019db3906d00"} 
[2026-04-22 10:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 10:36:42] 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-22 10:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:36:42] 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-22 10:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869447424001,"66":25375,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189172851609690112},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869447424001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:36:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609690112,"description":"Unknown IO ID 45"} 
[2026-04-22 10:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869447424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609690112}} 
[2026-04-22 10:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":50155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:36:42] local.INFO: GPS data processed {"connection_id":50155,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:36:42] local.INFO: Acknowledgment sent {"connection_id":50155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:36:57] local.INFO: TCP Data received {"connection_id":51092,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:36:57] local.INFO: Processing buffer {"connection_id":51092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:36:57] local.INFO: IMEI packet received {"connection_id":51092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":51092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:37:02] local.INFO: TCP Data received {"connection_id":51092,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:37:02] local.INFO: Processing buffer {"connection_id":51092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:37:02] local.INFO: IMEI packet received {"connection_id":51092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":51092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:37:03] local.INFO: TCP Data received {"connection_id":51092,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3944560012cf94900071b1d900019008a27..."} 
[2026-04-22 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3944560012cf94900071b1d900019008a27..."} 
[2026-04-22 10:37:03] local.INFO: Processing buffer {"connection_id":51092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3944560012cf94900071b1d900019008a27..."} 
[2026-04-22 10:37:03] local.INFO: Packet analysis {"connection_id":51092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:37:03] local.INFO: Extracted packet for processing {"connection_id":51092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":754534656,"raw_latitude":119217552,"longitude_deg":75.4534656,"latitude_deg":11.9217552,"altitude":25,"angle":138,"satellites":39,"speed":49,"hex_longitude":"2cf94900","hex_latitude":"071b1d90","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869586944001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113736313160597504,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-490681222629185536,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834332000,"timestamp_ms":1776834332000,"timestamp_seconds":1776834332,"priority":1,"record_length":96,"hex_timestamp":"0000019db3944560"} 
[2026-04-22 10: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-22 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 10:37:03] 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-22 10: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-22 10: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-22 10:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869586944001,"66":13733,"106":206,"2":54528,"24":49,"16":113736313160597504,"44":-490681222629185536},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 10:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869586944001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:37:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 10:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113736313160597504,"km_value":113736313160597.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-490681222629185536,"description":"Unknown IO ID 44"} 
[2026-04-22 10:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869586944001,"power":13733,"unknown_106":206,"power_alt":54528,"ignition":49,"odometer":null,"unknown_44":-490681222629185536}} 
[2026-04-22 10:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":51092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:37:03] local.INFO: GPS data processed {"connection_id":51092,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:37:03] local.INFO: Acknowledgment sent {"connection_id":51092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:37:07] local.INFO: TCP Data received {"connection_id":51092,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39464a0012cf96600071b03880019008127..."} 
[2026-04-22 10:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39464a0012cf96600071b03880019008127..."} 
[2026-04-22 10:37:07] local.INFO: Processing buffer {"connection_id":51092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39464a0012cf96600071b03880019008127..."} 
[2026-04-22 10:37:07] local.INFO: Packet analysis {"connection_id":51092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:37:07] local.INFO: Extracted packet for processing {"connection_id":51092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:37:07] local.INFO: GPS Element Parsed {"raw_longitude":754542080,"raw_latitude":119210888,"longitude_deg":75.454208,"latitude_deg":11.9210888,"altitude":25,"angle":129,"satellites":39,"speed":47,"hex_longitude":"2cf96600","hex_latitude":"071b0388","is_valid_coordinates":true} 
[2026-04-22 10:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869588992001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113736789901967360,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-483855454445924352,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776834340000,"timestamp_ms":1776834340000,"timestamp_seconds":1776834340,"priority":1,"record_length":96,"hex_timestamp":"0000019db39464a0"} 
[2026-04-22 10:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-04-22 10:37:07] 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-22 10:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869588992001,"66":13820,"106":206,"2":54528,"24":47,"16":113736789901967360,"44":-483855454445924352},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 10:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869588992001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:37:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 10:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113736789901967360,"km_value":113736789901967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:37:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-483855454445924352,"description":"Unknown IO ID 44"} 
[2026-04-22 10:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869588992001,"power":13820,"unknown_106":206,"power_alt":54528,"ignition":47,"odometer":null,"unknown_44":-483855454445924352}} 
[2026-04-22 10:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":51092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:37:07] local.INFO: GPS data processed {"connection_id":51092,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:37:07] local.INFO: Acknowledgment sent {"connection_id":51092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:37:11] local.INFO: TCP Data received {"connection_id":51091,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:37:11] local.INFO: Processing buffer {"connection_id":51091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:37:11] local.INFO: IMEI packet received {"connection_id":51091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":51091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:37:26] local.INFO: TCP Data received {"connection_id":50526,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:37:26] local.INFO: Processing buffer {"connection_id":50526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:37:26] local.INFO: IMEI packet received {"connection_id":50526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":50526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:37:31] local.INFO: TCP Data received {"connection_id":50526,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:37:31] local.INFO: Processing buffer {"connection_id":50526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:37:31] local.INFO: IMEI packet received {"connection_id":50526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":50526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:37:32] local.INFO: TCP Data received {"connection_id":50526,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db39599380100000000000000000000000000..."} 
[2026-04-22 10:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39599380100000000000000000000000000..."} 
[2026-04-22 10:37:32] local.INFO: Processing buffer {"connection_id":50526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39599380100000000000000000000000000..."} 
[2026-04-22 10:37:32] local.INFO: Packet analysis {"connection_id":50526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db395"} 
[2026-04-22 10:37:32] local.INFO: Extracted packet for processing {"connection_id":50526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db395"} 
[2026-04-22 10:37:32] 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-22 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-22 10:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869524480001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609690112,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37: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-22 10:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776834419000,"timestamp_ms":1776834419000,"timestamp_seconds":1776834419,"priority":1,"record_length":96,"hex_timestamp":"0000019db3959938"} 
[2026-04-22 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-22 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-22 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":31,"data_length":795,"current_offset":136} 
[2026-04-22 10:37: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-22 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-22 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-22 10:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:37:32] 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-22 10:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":50526,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-22 10:37:32] local.INFO: GPS data processed {"connection_id":50526,"processed":0,"errors":0,"total":1} 
[2026-04-22 10:37:32] local.INFO: Acknowledgment sent {"connection_id":50526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:37:38] local.INFO: TCP Data received {"connection_id":51092,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39483e0012cf98340071aebd80019008226..."} 
[2026-04-22 10:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39483e0012cf98340071aebd80019008226..."} 
[2026-04-22 10:37:38] local.INFO: Processing buffer {"connection_id":51092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39483e0012cf98340071aebd80019008226..."} 
[2026-04-22 10:37:38] local.INFO: Packet analysis {"connection_id":51092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:37:38] local.INFO: Extracted packet for processing {"connection_id":51092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":754549568,"raw_latitude":119204824,"longitude_deg":75.4549568,"latitude_deg":11.9204824,"altitude":25,"angle":130,"satellites":38,"speed":48,"hex_longitude":"2cf98340","hex_latitude":"071aebd8","is_valid_coordinates":true} 
[2026-04-22 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869591040001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113737253758435328,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-475692680123021312,"note":"Value kept but may cause issues"} 
[2026-04-22 10:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776834348000,"timestamp_ms":1776834348000,"timestamp_seconds":1776834348,"priority":1,"record_length":96,"hex_timestamp":"0000019db39483e0"} 
[2026-04-22 10:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 10:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869591040001,"66":13852,"106":206,"2":54528,"24":48,"16":113737253758435328,"44":-475692680123021312},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 10:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869591040001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:37:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 10:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113737253758435328,"km_value":113737253758435.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:37:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-475692680123021312,"description":"Unknown IO ID 44"} 
[2026-04-22 10:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869591040001,"power":13852,"unknown_106":206,"power_alt":54528,"ignition":48,"odometer":null,"unknown_44":-475692680123021312}} 
[2026-04-22 10:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":51092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:37:38] local.INFO: GPS data processed {"connection_id":51092,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:37:38] local.INFO: Acknowledgment sent {"connection_id":51092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:37:56] local.INFO: TCP Data received {"connection_id":50527,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:37:56] local.INFO: Processing buffer {"connection_id":50527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:37:56] local.INFO: IMEI packet received {"connection_id":50527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":50527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:37:57] local.INFO: TCP Data received {"connection_id":50404,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:37:57] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:37:57] local.INFO: IMEI packet received {"connection_id":50404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":50404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:37:58] local.INFO: TCP Data received {"connection_id":50404,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:37:58] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:37:58] local.INFO: IMEI packet received {"connection_id":50404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":50404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:38:02] local.INFO: TCP Data received {"connection_id":50404,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:38:02] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:38:02] local.INFO: IMEI packet received {"connection_id":50404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":50404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:38:03] local.INFO: TCP Data received {"connection_id":50404,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db394a320012cf9a140071ad518001b007e27..."} 
[2026-04-22 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db394a320012cf9a140071ad518001b007e27..."} 
[2026-04-22 10:38:03] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db394a320012cf9a140071ad518001b007e27..."} 
[2026-04-22 10:38:03] local.INFO: Packet analysis {"connection_id":50404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:38:03] local.INFO: Extracted packet for processing {"connection_id":50404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":754557248,"raw_latitude":119199000,"longitude_deg":75.4557248,"latitude_deg":11.9199,"altitude":27,"angle":126,"satellites":39,"speed":44,"hex_longitude":"2cf9a140","hex_latitude":"071ad518","is_valid_coordinates":true} 
[2026-04-22 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869593088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113737713319936000,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-467459537055787008,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834356000,"timestamp_ms":1776834356000,"timestamp_seconds":1776834356,"priority":1,"record_length":96,"hex_timestamp":"0000019db394a320"} 
[2026-04-22 10:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:38: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-22 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 10:38:03] 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-22 10:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869593088001,"66":13896,"106":206,"2":54528,"24":44,"16":113737713319936000,"44":-467459537055787008},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 10:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869593088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:38:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 10:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113737713319936000,"km_value":113737713319936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:38:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-467459537055787008,"description":"Unknown IO ID 44"} 
[2026-04-22 10:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869593088001,"power":13896,"unknown_106":206,"power_alt":54528,"ignition":44,"odometer":null,"unknown_44":-467459537055787008}} 
[2026-04-22 10:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":50404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:38:03] local.INFO: GPS data processed {"connection_id":50404,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:38:03] local.INFO: Acknowledgment sent {"connection_id":50404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:38:03] local.INFO: TCP Data received {"connection_id":50526,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db3951468012d7f880005afdcd00008012c28..."} 
[2026-04-22 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3951468012d7f880005afdcd00008012c28..."} 
[2026-04-22 10:38:03] local.INFO: Processing buffer {"connection_id":50526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3951468012d7f880005afdcd00008012c28..."} 
[2026-04-22 10:38:03] local.INFO: Packet analysis {"connection_id":50526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db395"} 
[2026-04-22 10:38:03] local.INFO: Extracted packet for processing {"connection_id":50526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db395"} 
[2026-04-22 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763332608,"raw_latitude":95411408,"longitude_deg":76.3332608,"latitude_deg":9.5411408,"altitude":8,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8800","hex_latitude":"05afdcd0","is_valid_coordinates":true} 
[2026-04-22 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834385000,"timestamp_ms":1776834385000,"timestamp_seconds":1776834385,"priority":1,"record_length":96,"hex_timestamp":"0000019db3951468"} 
[2026-04-22 10:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:38: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-22 10:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:38: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-22 10:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25321,"250":206,"85":12544,"24":0,"16":278478601366536192},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-22 10:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-22 10:38:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:38:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:38:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-22 10:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":50526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:38:03] local.INFO: GPS data processed {"connection_id":50526,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:38:03] local.INFO: Acknowledgment sent {"connection_id":50526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:38:06] local.INFO: TCP Data received {"connection_id":50404,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db394c260012cf9c280071ac110001a007327..."} 
[2026-04-22 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db394c260012cf9c280071ac110001a007327..."} 
[2026-04-22 10:38:06] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db394c260012cf9c280071ac110001a007327..."} 
[2026-04-22 10:38:06] local.INFO: Packet analysis {"connection_id":50404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:38:06] local.INFO: Extracted packet for processing {"connection_id":50404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db394"} 
[2026-04-22 10:38:06] local.INFO: GPS Element Parsed {"raw_longitude":754565760,"raw_latitude":119193872,"longitude_deg":75.456576,"latitude_deg":11.9193872,"altitude":26,"angle":115,"satellites":39,"speed":50,"hex_longitude":"2cf9c280","hex_latitude":"071ac110","is_valid_coordinates":true} 
[2026-04-22 10:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869595136001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113738185766338560,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-459015287755958272,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776834364000,"timestamp_ms":1776834364000,"timestamp_seconds":1776834364,"priority":1,"record_length":96,"hex_timestamp":"0000019db394c260"} 
[2026-04-22 10:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-04-22 10:38:06] 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-22 10:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869595136001,"66":14363,"106":206,"2":54528,"24":50,"16":113738185766338560,"44":-459015287755958272},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,2,24,16,44]} 
[2026-04-22 10:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869595136001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:38:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 10:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113738185766338560,"km_value":113738185766338.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:38:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-459015287755958272,"description":"Unknown IO ID 44"} 
[2026-04-22 10:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869595136001,"power":14363,"unknown_106":206,"power_alt":54528,"ignition":50,"odometer":null,"unknown_44":-459015287755958272}} 
[2026-04-22 10:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":50404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:38:07] local.INFO: GPS data processed {"connection_id":50404,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:38:07] local.INFO: Acknowledgment sent {"connection_id":50404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:38:26] local.INFO: TCP Data received {"connection_id":50405,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:38:26] local.INFO: Processing buffer {"connection_id":50405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:38:26] local.INFO: IMEI packet received {"connection_id":50405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":50405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:38:31] local.INFO: TCP Data received {"connection_id":50405,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:38:31] local.INFO: Processing buffer {"connection_id":50405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:38:31] local.INFO: IMEI packet received {"connection_id":50405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":50405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:38:32] local.INFO: TCP Data received {"connection_id":50405,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db3951468012d7f880005afdcd00008012c28..."} 
[2026-04-22 10:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3951468012d7f880005afdcd00008012c28..."} 
[2026-04-22 10:38:32] local.INFO: Processing buffer {"connection_id":50405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3951468012d7f880005afdcd00008012c28..."} 
[2026-04-22 10:38:32] local.INFO: Packet analysis {"connection_id":50405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db395"} 
[2026-04-22 10:38:32] local.INFO: Extracted packet for processing {"connection_id":50405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db395"} 
[2026-04-22 10:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763332608,"raw_latitude":95411408,"longitude_deg":76.3332608,"latitude_deg":9.5411408,"altitude":8,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8800","hex_latitude":"05afdcd0","is_valid_coordinates":true} 
[2026-04-22 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-22 10:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776834385000,"timestamp_ms":1776834385000,"timestamp_seconds":1776834385,"priority":1,"record_length":96,"hex_timestamp":"0000019db3951468"} 
[2026-04-22 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-22 10: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:38: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-22 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-22 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-22 10:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:38:32] 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-22 10:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25321,"250":206,"85":12544,"24":0,"16":278478601366536192},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-22 10:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-22 10:38:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:38:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-22 10:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":50405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:38:32] local.INFO: GPS data processed {"connection_id":50405,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:38:32] local.INFO: Acknowledgment sent {"connection_id":50405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:38:38] local.INFO: TCP Data received {"connection_id":50404,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3967010012cf9e3000719d5700021006428..."} 
[2026-04-22 10:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3967010012cf9e3000719d5700021006428..."} 
[2026-04-22 10:38:38] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3967010012cf9e3000719d5700021006428..."} 
[2026-04-22 10:38:38] local.INFO: Packet analysis {"connection_id":50404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db396"} 
[2026-04-22 10:38:38] local.INFO: Extracted packet for processing {"connection_id":50404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db396"} 
[2026-04-22 10:38:38] local.INFO: GPS Element Parsed {"raw_longitude":754574080,"raw_latitude":119133552,"longitude_deg":75.457408,"latitude_deg":11.9133552,"altitude":33,"angle":100,"satellites":40,"speed":9,"hex_longitude":"2cf9e300","hex_latitude":"0719d570","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869625088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113741613150240768,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-440789783030679552,"note":"Value kept but may cause issues"} 
[2026-04-22 10:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776834474000,"timestamp_ms":1776834474000,"timestamp_seconds":1776834474,"priority":1,"record_length":96,"hex_timestamp":"0000019db3967010"} 
[2026-04-22 10: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-22 10:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 10:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869625088001,"66":14374,"107":206,"2":54528,"24":9,"16":113741613150240768,"44":-440789783030679552},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-04-22 10:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869625088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:38:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-22 10:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113741613150240768,"km_value":113741613150240.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:38:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-440789783030679552,"description":"Unknown IO ID 44"} 
[2026-04-22 10:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869625088001,"power":14374,"unknown_107":206,"power_alt":54528,"ignition":9,"odometer":null,"unknown_44":-440789783030679552}} 
[2026-04-22 10:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":50404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:38:38] local.INFO: GPS data processed {"connection_id":50404,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:38:38] local.INFO: Acknowledgment sent {"connection_id":50404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:39:27] local.INFO: TCP Data received {"connection_id":50529,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:27] local.INFO: Processing buffer {"connection_id":50529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:27] local.INFO: IMEI packet received {"connection_id":50529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:39:27] local.INFO: TCP Data received {"connection_id":50529,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:27] local.INFO: Processing buffer {"connection_id":50529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:27] local.INFO: IMEI packet received {"connection_id":50529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:39:32] local.INFO: TCP Data received {"connection_id":50529,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:32] local.INFO: Processing buffer {"connection_id":50529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:32] local.INFO: IMEI packet received {"connection_id":50529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":50529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:39:33] local.INFO: TCP Data received {"connection_id":50529,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39673f8012cf9e3c00719d5600021005528..."} 
[2026-04-22 10:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39673f8012cf9e3c00719d5600021005528..."} 
[2026-04-22 10:39:33] local.INFO: Processing buffer {"connection_id":50529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39673f8012cf9e3c00719d5600021005528..."} 
[2026-04-22 10:39:33] local.INFO: Packet analysis {"connection_id":50529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db396"} 
[2026-04-22 10:39:33] local.INFO: Extracted packet for processing {"connection_id":50529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db396"} 
[2026-04-22 10:39:33] local.INFO: GPS Element Parsed {"raw_longitude":754574272,"raw_latitude":119133536,"longitude_deg":75.4574272,"latitude_deg":11.9133536,"altitude":33,"angle":85,"satellites":40,"speed":11,"hex_longitude":"2cf9e3c0","hex_latitude":"0719d560","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869625344001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113741626035142656,"note":"Value kept but may cause issues"} 
[2026-04-22 10:39:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-440508308053987328,"note":"Value kept but may cause issues"} 
[2026-04-22 10:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776834475000,"timestamp_ms":1776834475000,"timestamp_seconds":1776834475,"priority":1,"record_length":96,"hex_timestamp":"0000019db39673f8"} 
[2026-04-22 10: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-22 10:39: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-22 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 10:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869625344001,"66":14070,"107":206,"2":54528,"24":11,"16":113741626035142656,"44":-440508308053987328},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-04-22 10:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869625344001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:39:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-22 10:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113741626035142656,"km_value":113741626035142.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:39:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-440508308053987328,"description":"Unknown IO ID 44"} 
[2026-04-22 10:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869625344001,"power":14070,"unknown_107":206,"power_alt":54528,"ignition":11,"odometer":null,"unknown_44":-440508308053987328}} 
[2026-04-22 10:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":50529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:39:33] local.INFO: GPS data processed {"connection_id":50529,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:39:33] local.INFO: Acknowledgment sent {"connection_id":50529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:39:57] local.INFO: TCP Data received {"connection_id":51093,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:57] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:39:57] local.INFO: IMEI packet received {"connection_id":51093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":51093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:40:02] local.INFO: TCP Data received {"connection_id":51093,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:02] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:02] local.INFO: IMEI packet received {"connection_id":51093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":51093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:40:06] local.INFO: TCP Data received {"connection_id":51093,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:06] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:06] local.INFO: IMEI packet received {"connection_id":51093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":51093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:40:08] local.INFO: TCP Data received {"connection_id":51093,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39677e0012cf9e5400719d5d00021004428..."} 
[2026-04-22 10:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39677e0012cf9e5400719d5d00021004428..."} 
[2026-04-22 10:40:08] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39677e0012cf9e5400719d5d00021004428..."} 
[2026-04-22 10:40:08] local.INFO: Packet analysis {"connection_id":51093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db396"} 
[2026-04-22 10:40:08] local.INFO: Extracted packet for processing {"connection_id":51093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db396"} 
[2026-04-22 10:40:08] local.INFO: GPS Element Parsed {"raw_longitude":754574656,"raw_latitude":119133648,"longitude_deg":75.4574656,"latitude_deg":11.9133648,"altitude":33,"angle":68,"satellites":40,"speed":15,"hex_longitude":"2cf9e540","hex_latitude":"0719d5d0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113741643215011840,"note":"Value kept but may cause issues"} 
[2026-04-22 10:40:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-440297201821458432,"note":"Value kept but may cause issues"} 
[2026-04-22 10:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776834476000,"timestamp_ms":1776834476000,"timestamp_seconds":1776834476,"priority":1,"record_length":96,"hex_timestamp":"0000019db39677e0"} 
[2026-04-22 10: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-22 10:40:08] 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-22 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 10:40:08] 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-22 10: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-22 10: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-22 10:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869625600001,"66":14070,"107":206,"2":54528,"24":15,"16":113741643215011840,"44":-440297201821458432},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-04-22 10:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:40:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-22 10:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113741643215011840,"km_value":113741643215011.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:40:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-440297201821458432,"description":"Unknown IO ID 44"} 
[2026-04-22 10:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869625600001,"power":14070,"unknown_107":206,"power_alt":54528,"ignition":15,"odometer":null,"unknown_44":-440297201821458432}} 
[2026-04-22 10:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":51093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:40:08] local.INFO: GPS data processed {"connection_id":51093,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:40:08] local.INFO: Acknowledgment sent {"connection_id":51093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:40:10] local.INFO: TCP Data received {"connection_id":51093,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3968398012cf9ea400719d898002200392a..."} 
[2026-04-22 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3968398012cf9ea400719d898002200392a..."} 
[2026-04-22 10:40:10] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3968398012cf9ea400719d898002200392a..."} 
[2026-04-22 10:40:10] local.INFO: Packet analysis {"connection_id":51093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db396"} 
[2026-04-22 10:40:10] local.INFO: Extracted packet for processing {"connection_id":51093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db396"} 
[2026-04-22 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":754575936,"raw_latitude":119134360,"longitude_deg":75.4575936,"latitude_deg":11.913436,"altitude":34,"angle":57,"satellites":42,"speed":21,"hex_longitude":"2cf9ea40","hex_latitude":"0719d898","is_valid_coordinates":true} 
[2026-04-22 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-22 10:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869625856001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113741716229455872,"note":"Value kept but may cause issues"} 
[2026-04-22 10:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-439874989356363776,"note":"Value kept but may cause issues"} 
[2026-04-22 10:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776834479000,"timestamp_ms":1776834479000,"timestamp_seconds":1776834479,"priority":1,"record_length":96,"hex_timestamp":"0000019db3968398"} 
[2026-04-22 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-22 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 10:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 10:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":51093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869625856001,"66":14004,"107":206,"2":54528,"24":21,"16":113741716229455872,"44":-439874989356363776},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-04-22 10:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869625856001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:40:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-22 10:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113741716229455872,"km_value":113741716229455.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-439874989356363776,"description":"Unknown IO ID 44"} 
[2026-04-22 10:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869625856001,"power":14004,"unknown_107":206,"power_alt":54528,"ignition":21,"odometer":null,"unknown_44":-439874989356363776}} 
[2026-04-22 10:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":51093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:40:10] local.INFO: GPS data processed {"connection_id":51093,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:40:10] local.INFO: Acknowledgment sent {"connection_id":51093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:40:41] local.INFO: TCP Data received {"connection_id":51093,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3982590012cfb2e00071abf08000c005127..."} 
[2026-04-22 10:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3982590012cfb2e00071abf08000c005127..."} 
[2026-04-22 10:40:41] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3982590012cfb2e00071abf08000c005127..."} 
[2026-04-22 10:40:41] local.INFO: Packet analysis {"connection_id":51093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:40:41] local.INFO: Extracted packet for processing {"connection_id":51093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:40:41] local.INFO: GPS Element Parsed {"raw_longitude":754658816,"raw_latitude":119193352,"longitude_deg":75.4658816,"latitude_deg":11.9193352,"altitude":12,"angle":81,"satellites":39,"speed":37,"hex_longitude":"2cfb2e00","hex_latitude":"071abf08","is_valid_coordinates":true} 
[2026-04-22 10:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869653504001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113746655441846272,"note":"Value kept but may cause issues"} 
[2026-04-22 10:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-349451153072912384,"note":"Value kept but may cause issues"} 
[2026-04-22 10:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776834586000,"timestamp_ms":1776834586000,"timestamp_seconds":1776834586,"priority":1,"record_length":96,"hex_timestamp":"0000019db3982590"} 
[2026-04-22 10:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 10:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869653504001,"66":14211,"251":206,"28":26368,"24":37,"16":113746655441846272,"44":-349451153072912384},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 10:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869653504001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:40:41] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 10:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113746655441846272,"km_value":113746655441846.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-349451153072912384,"description":"Unknown IO ID 44"} 
[2026-04-22 10:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869653504001,"power":14211,"unknown_251":206,"unknown_28":26368,"ignition":37,"odometer":null,"unknown_44":-349451153072912384}} 
[2026-04-22 10:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":51093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:40:41] local.INFO: GPS data processed {"connection_id":51093,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:40:41] local.INFO: Acknowledgment sent {"connection_id":51093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:40:57] local.INFO: TCP Data received {"connection_id":50406,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:57] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:57] local.INFO: IMEI packet received {"connection_id":50406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":50406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:40:57] local.INFO: TCP Data received {"connection_id":50406,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:57] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:40:57] local.INFO: IMEI packet received {"connection_id":50406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":50406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:41:02] local.INFO: TCP Data received {"connection_id":50406,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:41:02] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:41:02] local.INFO: IMEI packet received {"connection_id":50406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":50406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:41:03] local.INFO: TCP Data received {"connection_id":50406,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3983918012cfb4040071abfa0000a005c29..."} 
[2026-04-22 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3983918012cfb4040071abfa0000a005c29..."} 
[2026-04-22 10:41:03] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3983918012cfb4040071abfa0000a005c29..."} 
[2026-04-22 10:41:03] local.INFO: Packet analysis {"connection_id":50406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:41:03] local.INFO: Extracted packet for processing {"connection_id":50406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":754663488,"raw_latitude":119193504,"longitude_deg":75.4663488,"latitude_deg":11.9193504,"altitude":10,"angle":92,"satellites":41,"speed":34,"hex_longitude":"2cfb4040","hex_latitude":"071abfa0","is_valid_coordinates":true} 
[2026-04-22 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869654016001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113746874485178368,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-347340090747451392,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834591000,"timestamp_ms":1776834591000,"timestamp_seconds":1776834591,"priority":1,"record_length":96,"hex_timestamp":"0000019db3983918"} 
[2026-04-22 10:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:41: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-22 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 10:41:03] 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-22 10:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869654016001,"66":14080,"251":206,"28":26368,"24":34,"16":113746874485178368,"44":-347340090747451392},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 10:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869654016001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:41:03] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 10:41:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113746874485178368,"km_value":113746874485178.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-347340090747451392,"description":"Unknown IO ID 44"} 
[2026-04-22 10:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869654016001,"power":14080,"unknown_251":206,"unknown_28":26368,"ignition":34,"odometer":null,"unknown_44":-347340090747451392}} 
[2026-04-22 10:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":50406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:41:03] local.INFO: GPS data processed {"connection_id":50406,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:41:03] local.INFO: Acknowledgment sent {"connection_id":50406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:41:05] local.INFO: TCP Data received {"connection_id":50406,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3986028012cfb6600071abf500008005626..."} 
[2026-04-22 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3986028012cfb6600071abf500008005626..."} 
[2026-04-22 10:41:05] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3986028012cfb6600071abf500008005626..."} 
[2026-04-22 10:41:05] local.INFO: Packet analysis {"connection_id":50406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:41:05] local.INFO: Extracted packet for processing {"connection_id":50406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":754673152,"raw_latitude":119193424,"longitude_deg":75.4673152,"latitude_deg":11.9193424,"altitude":8,"angle":86,"satellites":38,"speed":41,"hex_longitude":"2cfb6600","hex_latitude":"071abf50","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869655296001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113747338341646336,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-342203172422443008,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776834601000,"timestamp_ms":1776834601000,"timestamp_seconds":1776834601,"priority":1,"record_length":96,"hex_timestamp":"0000019db3986028"} 
[2026-04-22 10: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-22 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454008064,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3013054752,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4210343943,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2548502529,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2564292627,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3757768910,"corrected_to":0} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2147949185,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288387039,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,251,28,24,241,158,16,157,37,44,191,12,39,10,66,27,29,128,189,13,6,192,1,240,60,179,26,4,113,205,45,188,215,41,239,55,2,148,7,22,40],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3757768910,"validated":0}]} 
[2026-04-22 10:41:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720677271544922112,"timestamp_seconds":720677271544922.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10: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-22 10:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869655296001,"66":14026,"251":206,"28":26368,"24":41,"16":113747338341646336,"44":-342203172422443008},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 10:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869655296001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:41:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 10:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113747338341646336,"km_value":113747338341646.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-342203172422443008,"description":"Unknown IO ID 44"} 
[2026-04-22 10:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869655296001,"power":14026,"unknown_251":206,"unknown_28":26368,"ignition":41,"odometer":null,"unknown_44":-342203172422443008}} 
[2026-04-22 10:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":50406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:41:05] local.INFO: GPS data processed {"connection_id":50406,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:41:05] local.INFO: Acknowledgment sent {"connection_id":50406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:41:37] local.INFO: TCP Data received {"connection_id":50406,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39873b0012cfb7a00071ac250000a004326..."} 
[2026-04-22 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39873b0012cfb7a00071ac250000a004326..."} 
[2026-04-22 10:41:37] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39873b0012cfb7a00071ac250000a004326..."} 
[2026-04-22 10:41:37] local.INFO: Packet analysis {"connection_id":50406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:41:37] local.INFO: Extracted packet for processing {"connection_id":50406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":754678272,"raw_latitude":119194192,"longitude_deg":75.4678272,"latitude_deg":11.9194192,"altitude":10,"angle":67,"satellites":38,"speed":38,"hex_longitude":"2cfb7a00","hex_latitude":"071ac250","is_valid_coordinates":true} 
[2026-04-22 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869657856001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113747583154782208,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-331577492051636224,"note":"Value kept but may cause issues"} 
[2026-04-22 10:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776834606000,"timestamp_ms":1776834606000,"timestamp_seconds":1776834606,"priority":1,"record_length":96,"hex_timestamp":"0000019db39873b0"} 
[2026-04-22 10:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-22 10:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869657856001,"66":14102,"251":206,"28":26368,"24":38,"16":113747583154782208,"44":-331577492051636224},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 10:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869657856001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:41:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 10:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113747583154782208,"km_value":113747583154782.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-331577492051636224,"description":"Unknown IO ID 44"} 
[2026-04-22 10:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869657856001,"power":14102,"unknown_251":206,"unknown_28":26368,"ignition":38,"odometer":null,"unknown_44":-331577492051636224}} 
[2026-04-22 10:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":50406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:41:37] local.INFO: GPS data processed {"connection_id":50406,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:41:37] local.INFO: Acknowledgment sent {"connection_id":50406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:41:57] local.INFO: TCP Data received {"connection_id":50158,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:41:57] local.INFO: Processing buffer {"connection_id":50158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:41:57] local.INFO: IMEI packet received {"connection_id":50158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":50158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:41:58] local.INFO: TCP Data received {"connection_id":50158,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:41:58] local.INFO: Processing buffer {"connection_id":50158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:41:58] local.INFO: IMEI packet received {"connection_id":50158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":50158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:42:00] local.INFO: TCP Data received {"connection_id":50158,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3987b80012cfb80c0071ac620000a003527..."} 
[2026-04-22 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3987b80012cfb80c0071ac620000a003527..."} 
[2026-04-22 10:42:00] local.INFO: Processing buffer {"connection_id":50158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3987b80012cfb80c0071ac620000a003527..."} 
[2026-04-22 10:42:00] local.INFO: Packet analysis {"connection_id":50158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:42:00] local.INFO: Extracted packet for processing {"connection_id":50158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db398"} 
[2026-04-22 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":754680000,"raw_latitude":119195168,"longitude_deg":75.468,"latitude_deg":11.9195168,"altitude":10,"angle":53,"satellites":39,"speed":39,"hex_longitude":"2cfb80c0","hex_latitude":"071ac620","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869659136001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113747681939030016,"note":"Value kept but may cause issues"} 
[2026-04-22 10:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-325947992517226496,"note":"Value kept but may cause issues"} 
[2026-04-22 10:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776834608000,"timestamp_ms":1776834608000,"timestamp_seconds":1776834608,"priority":1,"record_length":96,"hex_timestamp":"0000019db3987b80"} 
[2026-04-22 10: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-22 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 10:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":50158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":50158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":50158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869659136001,"66":14048,"251":206,"28":26368,"24":39,"16":113747681939030016,"44":-325947992517226496},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,44]} 
[2026-04-22 10:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869659136001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:42:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 10:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113747681939030016,"km_value":113747681939030.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-325947992517226496,"description":"Unknown IO ID 44"} 
[2026-04-22 10:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869659136001,"power":14048,"unknown_251":206,"unknown_28":26368,"ignition":39,"odometer":null,"unknown_44":-325947992517226496}} 
[2026-04-22 10:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":50158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:42:00] local.INFO: GPS data processed {"connection_id":50158,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:42:00] local.INFO: Acknowledgment sent {"connection_id":50158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:42:31] local.INFO: TCP Data received {"connection_id":50158,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39a0220012cfcd5c0071b4880001f003a28..."} 
[2026-04-22 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39a0220012cfcd5c0071b4880001f003a28..."} 
[2026-04-22 10:42:31] local.INFO: Processing buffer {"connection_id":50158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39a0220012cfcd5c0071b4880001f003a28..."} 
[2026-04-22 10:42:31] local.INFO: Packet analysis {"connection_id":50158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39a"} 
[2026-04-22 10:42:31] local.INFO: Extracted packet for processing {"connection_id":50158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39a"} 
[2026-04-22 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":754767296,"raw_latitude":119228544,"longitude_deg":75.4767296,"latitude_deg":11.9228544,"altitude":31,"angle":58,"satellites":40,"speed":35,"hex_longitude":"2cfcd5c0","hex_latitude":"071b4880","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869683968001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113752449352728576,"note":"Value kept but may cause issues"} 
[2026-04-22 10:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-232005719032094720,"note":"Value kept but may cause issues"} 
[2026-04-22 10:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776834708000,"timestamp_ms":1776834708000,"timestamp_seconds":1776834708,"priority":1,"record_length":96,"hex_timestamp":"0000019db39a0220"} 
[2026-04-22 10: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-22 10:42:31] 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-22 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 10:42:31] 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-22 10: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-22 10: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-22 10:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869683968001,"66":13798,"250":206,"28":26368,"24":35,"16":113752449352728576,"44":-232005719032094720},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 10:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869683968001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:42:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113752449352728576,"km_value":113752449352728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-232005719032094720,"description":"Unknown IO ID 44"} 
[2026-04-22 10:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869683968001,"power":13798,"unknown_250":206,"unknown_28":26368,"ignition":35,"odometer":null,"unknown_44":-232005719032094720}} 
[2026-04-22 10:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":50158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:42:31] local.INFO: GPS data processed {"connection_id":50158,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:42:31] local.INFO: Acknowledgment sent {"connection_id":50158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:42:57] local.INFO: TCP Data received {"connection_id":50408,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:42:57] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:42:57] local.INFO: IMEI packet received {"connection_id":50408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":50408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:42:57] local.INFO: TCP Data received {"connection_id":50408,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:42:57] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:42:57] local.INFO: IMEI packet received {"connection_id":50408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":50408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:42:59] local.INFO: TCP Data received {"connection_id":50408,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:42:59] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:42:59] local.INFO: IMEI packet received {"connection_id":50408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":50408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:43:02] local.INFO: TCP Data received {"connection_id":50408,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39a09f0012cfcdc40071b4ad0001e004f29..."} 
[2026-04-22 10:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39a09f0012cfcdc40071b4ad0001e004f29..."} 
[2026-04-22 10:43:02] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39a09f0012cfcdc40071b4ad0001e004f29..."} 
[2026-04-22 10:43:02] local.INFO: Packet analysis {"connection_id":50408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39a"} 
[2026-04-22 10:43:02] local.INFO: Extracted packet for processing {"connection_id":50408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39a"} 
[2026-04-22 10:43:02] local.INFO: GPS Element Parsed {"raw_longitude":754768960,"raw_latitude":119229136,"longitude_deg":75.476896,"latitude_deg":11.9229136,"altitude":30,"angle":79,"satellites":41,"speed":36,"hex_longitude":"2cfcdc40","hex_latitude":"071b4ad0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869685248001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113752535252074496,"note":"Value kept but may cause issues"} 
[2026-04-22 10:43:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-228065069357301760,"note":"Value kept but may cause issues"} 
[2026-04-22 10:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776834710000,"timestamp_ms":1776834710000,"timestamp_seconds":1776834710,"priority":1,"record_length":96,"hex_timestamp":"0000019db39a09f0"} 
[2026-04-22 10: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-22 10:43: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-22 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 10:43:02] 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-22 10: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-22 10: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-22 10:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869685248001,"66":13537,"250":206,"28":26368,"24":36,"16":113752535252074496,"44":-228065069357301760},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 10:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869685248001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:43:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113752535252074496,"km_value":113752535252074.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:43:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-228065069357301760,"description":"Unknown IO ID 44"} 
[2026-04-22 10:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869685248001,"power":13537,"unknown_250":206,"unknown_28":26368,"ignition":36,"odometer":null,"unknown_44":-228065069357301760}} 
[2026-04-22 10:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":50408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:43:02] local.INFO: GPS data processed {"connection_id":50408,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:43:02] local.INFO: Acknowledgment sent {"connection_id":50408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:43:26] local.INFO: TCP Data received {"connection_id":50407,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:43:26] local.INFO: Processing buffer {"connection_id":50407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:43:26] local.INFO: IMEI packet received {"connection_id":50407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":50407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:43:34] local.INFO: TCP Data received {"connection_id":50408,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39aec80012cfda100071b40300020003a27..."} 
[2026-04-22 10:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39aec80012cfda100071b40300020003a27..."} 
[2026-04-22 10:43:34] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39aec80012cfda100071b40300020003a27..."} 
[2026-04-22 10:43:34] local.INFO: Packet analysis {"connection_id":50408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39a"} 
[2026-04-22 10:43:34] local.INFO: Extracted packet for processing {"connection_id":50408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39a"} 
[2026-04-22 10:43:34] local.INFO: GPS Element Parsed {"raw_longitude":754819328,"raw_latitude":119226416,"longitude_deg":75.4819328,"latitude_deg":11.9226416,"altitude":32,"angle":58,"satellites":39,"speed":47,"hex_longitude":"2cfda100","hex_latitude":"071b4030","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869698304001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113755245376438272,"note":"Value kept but may cause issues"} 
[2026-04-22 10:43:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-178806948434905088,"note":"Value kept but may cause issues"} 
[2026-04-22 10:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776834768000,"timestamp_ms":1776834768000,"timestamp_seconds":1776834768,"priority":1,"record_length":96,"hex_timestamp":"0000019db39aec80"} 
[2026-04-22 10: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-22 10:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 10:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869698304001,"66":14070,"250":206,"28":26368,"24":47,"16":113755245376438272,"44":-178806948434905088},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 10:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869698304001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:43:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:43:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113755245376438272,"km_value":113755245376438.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:43:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-178806948434905088,"description":"Unknown IO ID 44"} 
[2026-04-22 10:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869698304001,"power":14070,"unknown_250":206,"unknown_28":26368,"ignition":47,"odometer":null,"unknown_44":-178806948434905088}} 
[2026-04-22 10:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":50408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:43:34] local.INFO: GPS data processed {"connection_id":50408,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:43:34] local.INFO: Acknowledgment sent {"connection_id":50408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:43:51] local.INFO: TCP Data received {"connection_id":50530,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:43:51] local.INFO: Processing buffer {"connection_id":50530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:43:51] local.INFO: IMEI packet received {"connection_id":50530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":50530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:43:56] local.INFO: TCP Data received {"connection_id":50159,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:43:56] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:43:56] local.INFO: IMEI packet received {"connection_id":50159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":50159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:43:57] local.INFO: TCP Data received {"connection_id":50159,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:43:57] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:43:57] local.INFO: IMEI packet received {"connection_id":50159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":50159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:44:00] local.INFO: TCP Data received {"connection_id":50159,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:44:00] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:44:00] local.INFO: IMEI packet received {"connection_id":50159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":50159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:44:02] local.INFO: TCP Data received {"connection_id":50159,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:44:02] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:44:02] local.INFO: IMEI packet received {"connection_id":50159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":50159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:44:03] local.INFO: TCP Data received {"connection_id":50159,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39afc20012cfdb280071b4840001f004b25..."} 
[2026-04-22 10:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39afc20012cfdb280071b4840001f004b25..."} 
[2026-04-22 10:44:03] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39afc20012cfdb280071b4840001f004b25..."} 
[2026-04-22 10:44:03] local.INFO: Packet analysis {"connection_id":50159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39a"} 
[2026-04-22 10:44:03] local.INFO: Extracted packet for processing {"connection_id":50159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39a"} 
[2026-04-22 10:44:03] local.INFO: GPS Element Parsed {"raw_longitude":754823808,"raw_latitude":119228480,"longitude_deg":75.4823808,"latitude_deg":11.922848,"altitude":31,"angle":75,"satellites":37,"speed":46,"hex_longitude":"2cfdb280","hex_latitude":"071b4840","is_valid_coordinates":true} 
[2026-04-22 10:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869700608001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113755481599639552,"note":"Value kept but may cause issues"} 
[2026-04-22 10:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-170855280341405696,"note":"Value kept but may cause issues"} 
[2026-04-22 10:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834772000,"timestamp_ms":1776834772000,"timestamp_seconds":1776834772,"priority":1,"record_length":96,"hex_timestamp":"0000019db39afc20"} 
[2026-04-22 10:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:44: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-22 10:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 10:44:03] 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-22 10:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869700608001,"66":14070,"250":206,"28":26368,"24":46,"16":113755481599639552,"44":-170855280341405696},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 10:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869700608001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:44:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113755481599639552,"km_value":113755481599639.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-170855280341405696,"description":"Unknown IO ID 44"} 
[2026-04-22 10:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869700608001,"power":14070,"unknown_250":206,"unknown_28":26368,"ignition":46,"odometer":null,"unknown_44":-170855280341405696}} 
[2026-04-22 10:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:44:04] local.INFO: GPS data processed {"connection_id":50159,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:44:04] local.INFO: Acknowledgment sent {"connection_id":50159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:44:04] local.INFO: TCP Data received {"connection_id":50159,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39b03f0012cfdbc40071b48d0001d005b26..."} 
[2026-04-22 10:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39b03f0012cfdbc40071b48d0001d005b26..."} 
[2026-04-22 10:44:04] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39b03f0012cfdbc40071b48d0001d005b26..."} 
[2026-04-22 10:44:04] local.INFO: Packet analysis {"connection_id":50159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39b"} 
[2026-04-22 10:44:04] local.INFO: Extracted packet for processing {"connection_id":50159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39b"} 
[2026-04-22 10:44:04] local.INFO: GPS Element Parsed {"raw_longitude":754826304,"raw_latitude":119228624,"longitude_deg":75.4826304,"latitude_deg":11.9228624,"altitude":29,"angle":91,"satellites":38,"speed":47,"hex_longitude":"2cfdbc40","hex_latitude":"071b48d0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869701632001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113755597563756544,"note":"Value kept but may cause issues"} 
[2026-04-22 10:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-165929468248440832,"note":"Value kept but may cause issues"} 
[2026-04-22 10:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776834774000,"timestamp_ms":1776834774000,"timestamp_seconds":1776834774,"priority":1,"record_length":96,"hex_timestamp":"0000019db39b03f0"} 
[2026-04-22 10: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-22 10:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 10:44:04] 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-22 10: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-22 10: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-22 10:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869701632001,"66":14026,"250":206,"28":26368,"24":47,"16":113755597563756544,"44":-165929468248440832},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 10:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869701632001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:44:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113755597563756544,"km_value":113755597563756.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-165929468248440832,"description":"Unknown IO ID 44"} 
[2026-04-22 10:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869701632001,"power":14026,"unknown_250":206,"unknown_28":26368,"ignition":47,"odometer":null,"unknown_44":-165929468248440832}} 
[2026-04-22 10:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:44:04] local.INFO: GPS data processed {"connection_id":50159,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:44:04] local.INFO: Acknowledgment sent {"connection_id":50159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:44:37] local.INFO: TCP Data received {"connection_id":50159,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39b9c48012cfe5fc0071b48100022004a29..."} 
[2026-04-22 10:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39b9c48012cfe5fc0071b48100022004a29..."} 
[2026-04-22 10:44:37] local.INFO: Processing buffer {"connection_id":50159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39b9c48012cfe5fc0071b48100022004a29..."} 
[2026-04-22 10:44:37] local.INFO: Packet analysis {"connection_id":50159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39b"} 
[2026-04-22 10:44:37] local.INFO: Extracted packet for processing {"connection_id":50159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39b"} 
[2026-04-22 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":754868160,"raw_latitude":119228432,"longitude_deg":75.486816,"latitude_deg":11.9228432,"altitude":34,"angle":74,"satellites":41,"speed":48,"hex_longitude":"2cfe5fc0","hex_latitude":"071b4810","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869710848001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113757745047404544,"note":"Value kept but may cause issues"} 
[2026-04-22 10:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-123778590486267904,"note":"Value kept but may cause issues"} 
[2026-04-22 10:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776834813000,"timestamp_ms":1776834813000,"timestamp_seconds":1776834813,"priority":1,"record_length":96,"hex_timestamp":"0000019db39b9c48"} 
[2026-04-22 10: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-22 10:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 10:44:37] 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-22 10: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-22 10: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-22 10:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869710848001,"66":14026,"250":206,"28":26368,"24":48,"16":113757745047404544,"44":-123778590486267904},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 10:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869710848001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:44:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113757745047404544,"km_value":113757745047404.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-123778590486267904,"description":"Unknown IO ID 44"} 
[2026-04-22 10:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869710848001,"power":14026,"unknown_250":206,"unknown_28":26368,"ignition":48,"odometer":null,"unknown_44":-123778590486267904}} 
[2026-04-22 10:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":50159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:44:37] local.INFO: GPS data processed {"connection_id":50159,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:44:37] local.INFO: Acknowledgment sent {"connection_id":50159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:44:56] local.INFO: TCP Data received {"connection_id":50532,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:44:56] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:44:56] local.INFO: IMEI packet received {"connection_id":50532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":50532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:45:01] local.INFO: TCP Data received {"connection_id":50532,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:45:01] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:45:01] local.INFO: IMEI packet received {"connection_id":50532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":50532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:45:03] local.INFO: TCP Data received {"connection_id":50532,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39bbb88012cfe84c0071b51a00024004f29..."} 
[2026-04-22 10:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39bbb88012cfe84c0071b51a00024004f29..."} 
[2026-04-22 10:45:03] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39bbb88012cfe84c0071b51a00024004f29..."} 
[2026-04-22 10:45:03] local.INFO: Packet analysis {"connection_id":50532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39b"} 
[2026-04-22 10:45:03] local.INFO: Extracted packet for processing {"connection_id":50532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39b"} 
[2026-04-22 10:45:03] local.INFO: GPS Element Parsed {"raw_longitude":754877632,"raw_latitude":119230880,"longitude_deg":75.4877632,"latitude_deg":11.923088,"altitude":36,"angle":79,"satellites":41,"speed":45,"hex_longitude":"2cfe84c0","hex_latitude":"071b51a0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869712128001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758208903872512,"note":"Value kept but may cause issues"} 
[2026-04-22 10:45:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-117163928533331968,"note":"Value kept but may cause issues"} 
[2026-04-22 10:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834821000,"timestamp_ms":1776834821000,"timestamp_seconds":1776834821,"priority":1,"record_length":96,"hex_timestamp":"0000019db39bbb88"} 
[2026-04-22 10: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-22 10:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-22 10:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869712128001,"66":14070,"250":206,"28":26368,"24":45,"16":113758208903872512,"44":-117163928533331968},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 10:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869712128001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:45:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758208903872512,"km_value":113758208903872.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:45:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-117163928533331968,"description":"Unknown IO ID 44"} 
[2026-04-22 10:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869712128001,"power":14070,"unknown_250":206,"unknown_28":26368,"ignition":45,"odometer":null,"unknown_44":-117163928533331968}} 
[2026-04-22 10:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":50532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:45:03] local.INFO: GPS data processed {"connection_id":50532,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:45:03] local.INFO: Acknowledgment sent {"connection_id":50532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:45:34] local.INFO: TCP Data received {"connection_id":50532,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39bdeb0012cfea980071b5a68002800472c..."} 
[2026-04-22 10:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39bdeb0012cfea980071b5a68002800472c..."} 
[2026-04-22 10:45:34] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39bdeb0012cfea980071b5a68002800472c..."} 
[2026-04-22 10:45:34] local.INFO: Packet analysis {"connection_id":50532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39b"} 
[2026-04-22 10:45:34] local.INFO: Extracted packet for processing {"connection_id":50532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39b"} 
[2026-04-22 10:45:34] local.INFO: GPS Element Parsed {"raw_longitude":754887040,"raw_latitude":119233128,"longitude_deg":75.488704,"latitude_deg":11.9233128,"altitude":40,"angle":71,"satellites":44,"speed":38,"hex_longitude":"2cfea980","hex_latitude":"071b5a68","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869714176001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113758668465373184,"note":"Value kept but may cause issues"} 
[2026-04-22 10:45:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-106749354394411008,"note":"Value kept but may cause issues"} 
[2026-04-22 10:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 10:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776834830000,"timestamp_ms":1776834830000,"timestamp_seconds":1776834830,"priority":1,"record_length":96,"hex_timestamp":"0000019db39bdeb0"} 
[2026-04-22 10: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-22 10:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 10:45:34] 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-22 10: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-22 10: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-22 10:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869714176001,"66":13993,"250":206,"28":26368,"24":38,"16":113758668465373184,"44":-106749354394411008},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,44]} 
[2026-04-22 10:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869714176001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:45:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:45:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113758668465373184,"km_value":113758668465373.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:45:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-106749354394411008,"description":"Unknown IO ID 44"} 
[2026-04-22 10:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869714176001,"power":13993,"unknown_250":206,"unknown_28":26368,"ignition":38,"odometer":null,"unknown_44":-106749354394411008}} 
[2026-04-22 10:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":50532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:45:34] local.INFO: GPS data processed {"connection_id":50532,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:45:34] local.INFO: Acknowledgment sent {"connection_id":50532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:45:56] local.INFO: TCP Data received {"connection_id":50409,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:45:56] local.INFO: Processing buffer {"connection_id":50409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:45:56] local.INFO: IMEI packet received {"connection_id":50409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":50409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:46:02] local.INFO: TCP Data received {"connection_id":50409,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:46:02] local.INFO: Processing buffer {"connection_id":50409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:46:02] local.INFO: IMEI packet received {"connection_id":50409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":50409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:46:03] local.INFO: TCP Data received {"connection_id":50409,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39c05c0012cfecb00071b68180027004226..."} 
[2026-04-22 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39c05c0012cfecb00071b68180027004226..."} 
[2026-04-22 10:46:03] local.INFO: Processing buffer {"connection_id":50409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39c05c0012cfecb00071b68180027004226..."} 
[2026-04-22 10:46:03] local.INFO: Packet analysis {"connection_id":50409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39c"} 
[2026-04-22 10:46:03] local.INFO: Extracted packet for processing {"connection_id":50409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39c"} 
[2026-04-22 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":754895616,"raw_latitude":119236632,"longitude_deg":75.4895616,"latitude_deg":11.9236632,"altitude":39,"angle":66,"satellites":38,"speed":44,"hex_longitude":"2cfecb00","hex_latitude":"071b6818","is_valid_coordinates":true} 
[2026-04-22 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869716480001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759110847004672,"note":"Value kept but may cause issues"} 
[2026-04-22 10:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-96405148999718912,"note":"Value kept but may cause issues"} 
[2026-04-22 10:46:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776834840000,"timestamp_ms":1776834840000,"timestamp_seconds":1776834840,"priority":1,"record_length":96,"hex_timestamp":"0000019db39c05c0"} 
[2026-04-22 10:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 10:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869716480001,"66":14363,"24":44,"28":26368,"16":113759110847004672,"44":-96405148999718912},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-22 10:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869716480001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:46:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759110847004672,"km_value":113759110847004.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-96405148999718912,"description":"Unknown IO ID 44"} 
[2026-04-22 10:46:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869716480001,"power":14363,"ignition":44,"unknown_28":26368,"odometer":null,"unknown_44":-96405148999718912}} 
[2026-04-22 10:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":50409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:46:03] local.INFO: GPS data processed {"connection_id":50409,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:46:03] local.INFO: Acknowledgment sent {"connection_id":50409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:46:35] local.INFO: TCP Data received {"connection_id":50409,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39c2118012cfee9c0071b71000024004e25..."} 
[2026-04-22 10:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39c2118012cfee9c0071b71000024004e25..."} 
[2026-04-22 10:46:35] local.INFO: Processing buffer {"connection_id":50409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39c2118012cfee9c0071b71000024004e25..."} 
[2026-04-22 10:46:35] local.INFO: Packet analysis {"connection_id":50409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39c"} 
[2026-04-22 10:46:35] local.INFO: Extracted packet for processing {"connection_id":50409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39c"} 
[2026-04-22 10:46:35] local.INFO: GPS Element Parsed {"raw_longitude":754903488,"raw_latitude":119238912,"longitude_deg":75.4903488,"latitude_deg":11.9238912,"altitude":36,"angle":78,"satellites":37,"speed":50,"hex_longitude":"2cfee9c0","hex_latitude":"071b7100","is_valid_coordinates":true} 
[2026-04-22 10:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869719040001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759501689028608,"note":"Value kept but may cause issues"} 
[2026-04-22 10:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-86975737279014912,"note":"Value kept but may cause issues"} 
[2026-04-22 10:46:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776834847000,"timestamp_ms":1776834847000,"timestamp_seconds":1776834847,"priority":1,"record_length":96,"hex_timestamp":"0000019db39c2118"} 
[2026-04-22 10:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 10:46:35] 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-22 10:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869719040001,"66":14374,"24":50,"28":26368,"16":113759501689028608,"44":-86975737279014912},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-22 10:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869719040001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:46:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759501689028608,"km_value":113759501689028.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-86975737279014912,"description":"Unknown IO ID 44"} 
[2026-04-22 10:46:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869719040001,"power":14374,"ignition":50,"unknown_28":26368,"odometer":null,"unknown_44":-86975737279014912}} 
[2026-04-22 10:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":50409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:46:35] local.INFO: GPS data processed {"connection_id":50409,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:46:35] local.INFO: Acknowledgment sent {"connection_id":50409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:46:56] local.INFO: TCP Data received {"connection_id":51095,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:46:56] local.INFO: Processing buffer {"connection_id":51095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:46:56] local.INFO: IMEI packet received {"connection_id":51095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":51095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:47:02] local.INFO: TCP Data received {"connection_id":51095,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:47:02] local.INFO: Processing buffer {"connection_id":51095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:47:02] local.INFO: IMEI packet received {"connection_id":51095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":51095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:47:04] local.INFO: TCP Data received {"connection_id":51095,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39c3c70012cff0e00071b76480021005124..."} 
[2026-04-22 10:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39c3c70012cff0e00071b76480021005124..."} 
[2026-04-22 10:47:04] local.INFO: Processing buffer {"connection_id":51095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39c3c70012cff0e00071b76480021005124..."} 
[2026-04-22 10:47:04] local.INFO: Packet analysis {"connection_id":51095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39c"} 
[2026-04-22 10:47:04] local.INFO: Extracted packet for processing {"connection_id":51095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39c"} 
[2026-04-22 10:47:04] local.INFO: GPS Element Parsed {"raw_longitude":754912768,"raw_latitude":119240264,"longitude_deg":75.4912768,"latitude_deg":11.9240264,"altitude":33,"angle":81,"satellites":36,"speed":51,"hex_longitude":"2cff0e00","hex_latitude":"071b7648","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869720832001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113759948365627392,"note":"Value kept but may cause issues"} 
[2026-04-22 10:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-78320381744578560,"note":"Value kept but may cause issues"} 
[2026-04-22 10:47:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776834854000,"timestamp_ms":1776834854000,"timestamp_seconds":1776834854,"priority":1,"record_length":96,"hex_timestamp":"0000019db39c3c70"} 
[2026-04-22 10: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-22 10:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 10:47:04] 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-22 10: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-22 10: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-22 10:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869720832001,"66":14407,"24":51,"28":26368,"16":113759948365627392,"44":-78320381744578560},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-22 10:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869720832001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:47:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113759948365627392,"km_value":113759948365627.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-78320381744578560,"description":"Unknown IO ID 44"} 
[2026-04-22 10:47:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869720832001,"power":14407,"ignition":51,"unknown_28":26368,"odometer":null,"unknown_44":-78320381744578560}} 
[2026-04-22 10:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":51095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:47:04] local.INFO: GPS data processed {"connection_id":51095,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:47:04] local.INFO: Acknowledgment sent {"connection_id":51095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:47:35] local.INFO: TCP Data received {"connection_id":51095,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39e0d48012d001ec0071bc6c00020004026..."} 
[2026-04-22 10:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39e0d48012d001ec0071bc6c00020004026..."} 
[2026-04-22 10:47:35] local.INFO: Processing buffer {"connection_id":51095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39e0d48012d001ec0071bc6c00020004026..."} 
[2026-04-22 10:47:35] local.INFO: Packet analysis {"connection_id":51095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39e"} 
[2026-04-22 10:47:35] local.INFO: Extracted packet for processing {"connection_id":51095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39e"} 
[2026-04-22 10:47:35] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869747712001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:47:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776834973000,"timestamp_ms":1776834973000,"timestamp_seconds":1776834973,"priority":1,"record_length":96,"hex_timestamp":"0000019db39e0d48"} 
[2026-04-22 10:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 10:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869747712001,"66":12972,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869747712001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:47:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:47:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869747712001,"power":12972,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":51095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:47:35] local.INFO: GPS data processed {"connection_id":51095,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:47:35] local.INFO: Acknowledgment sent {"connection_id":51095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:48:02] local.INFO: TCP Data received {"connection_id":50162,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:02] local.INFO: Processing buffer {"connection_id":50162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:02] local.INFO: IMEI packet received {"connection_id":50162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":50162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:48:07] local.INFO: TCP Data received {"connection_id":50162,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:07] local.INFO: Processing buffer {"connection_id":50162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:07] local.INFO: IMEI packet received {"connection_id":50162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":50162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:48:08] local.INFO: TCP Data received {"connection_id":50162,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39e5f50012d001ec0071bc6c0002000401f..."} 
[2026-04-22 10:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39e5f50012d001ec0071bc6c0002000401f..."} 
[2026-04-22 10:48:08] local.INFO: Processing buffer {"connection_id":50162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39e5f50012d001ec0071bc6c0002000401f..."} 
[2026-04-22 10:48:08] local.INFO: Packet analysis {"connection_id":50162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39e"} 
[2026-04-22 10:48:08] local.INFO: Extracted packet for processing {"connection_id":50162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39e"} 
[2026-04-22 10:48:08] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869753088001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:48:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776834994000,"timestamp_ms":1776834994000,"timestamp_seconds":1776834994,"priority":1,"record_length":96,"hex_timestamp":"0000019db39e5f50"} 
[2026-04-22 10: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-22 10:48:08] 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-22 10: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 10:48:08] 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-22 10: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-22 10: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-22 10:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869753088001,"66":12950,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869753088001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:48:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869753088001,"power":12950,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":50162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:48:08] local.INFO: GPS data processed {"connection_id":50162,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:48:08] local.INFO: Acknowledgment sent {"connection_id":50162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:48:12] local.INFO: TCP Data received {"connection_id":50162,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39eb158012d001ec0071bc6c00020004025..."} 
[2026-04-22 10:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39eb158012d001ec0071bc6c00020004025..."} 
[2026-04-22 10:48:12] local.INFO: Processing buffer {"connection_id":50162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39eb158012d001ec0071bc6c00020004025..."} 
[2026-04-22 10:48:12] local.INFO: Packet analysis {"connection_id":50162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39e"} 
[2026-04-22 10:48:12] local.INFO: Extracted packet for processing {"connection_id":50162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39e"} 
[2026-04-22 10:48:12] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":37,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869758464001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:48:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776835015000,"timestamp_ms":1776835015000,"timestamp_seconds":1776835015,"priority":1,"record_length":96,"hex_timestamp":"0000019db39eb158"} 
[2026-04-22 10:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 10:48:12] 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-22 10:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869758464001,"66":12950,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869758464001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:48:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:48:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869758464001,"power":12950,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":50162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:48:13] local.INFO: GPS data processed {"connection_id":50162,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:48:13] local.INFO: Acknowledgment sent {"connection_id":50162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:48:56] local.INFO: TCP Data received {"connection_id":50163,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:56] local.INFO: Processing buffer {"connection_id":50163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:56] local.INFO: IMEI packet received {"connection_id":50163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":50163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:48:57] local.INFO: TCP Data received {"connection_id":50163,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:57] local.INFO: Processing buffer {"connection_id":50163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:48:57] local.INFO: IMEI packet received {"connection_id":50163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":50163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:49:02] local.INFO: TCP Data received {"connection_id":50163,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:49:02] local.INFO: Processing buffer {"connection_id":50163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:49:02] local.INFO: IMEI packet received {"connection_id":50163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":50163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:49:04] local.INFO: TCP Data received {"connection_id":50163,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39f0360012d001ec0071bc6c00020004027..."} 
[2026-04-22 10:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39f0360012d001ec0071bc6c00020004027..."} 
[2026-04-22 10:49:04] local.INFO: Processing buffer {"connection_id":50163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39f0360012d001ec0071bc6c00020004027..."} 
[2026-04-22 10:49:04] local.INFO: Packet analysis {"connection_id":50163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39f"} 
[2026-04-22 10:49:04] local.INFO: Extracted packet for processing {"connection_id":50163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39f"} 
[2026-04-22 10:49:04] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":39,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869763840001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:49:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776835036000,"timestamp_ms":1776835036000,"timestamp_seconds":1776835036,"priority":1,"record_length":96,"hex_timestamp":"0000019db39f0360"} 
[2026-04-22 10: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-22 10:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 10:49:04] 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-22 10: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-22 10: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-22 10:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869763840001,"66":12917,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869763840001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:49:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869763840001,"power":12917,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":50163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:49:04] local.INFO: GPS data processed {"connection_id":50163,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:49:04] local.INFO: Acknowledgment sent {"connection_id":50163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:49:06] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:49:06] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:49:06] local.INFO: IMEI packet received {"connection_id":50410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":50410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:49:07] local.INFO: TCP Data received {"connection_id":50163,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39f5568012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39f5568012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:49:07] local.INFO: Processing buffer {"connection_id":50163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39f5568012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:49:07] local.INFO: Packet analysis {"connection_id":50163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39f"} 
[2026-04-22 10:49:07] local.INFO: Extracted packet for processing {"connection_id":50163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39f"} 
[2026-04-22 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":40,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869769216001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:49:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776835057000,"timestamp_ms":1776835057000,"timestamp_seconds":1776835057,"priority":1,"record_length":96,"hex_timestamp":"0000019db39f5568"} 
[2026-04-22 10:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:49: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-22 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-22 10:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869769216001,"66":12874,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869769216001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:49:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869769216001,"power":12874,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":50163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:49:07] local.INFO: GPS data processed {"connection_id":50163,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:49:07] local.INFO: Acknowledgment sent {"connection_id":50163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:49:39] local.INFO: TCP Data received {"connection_id":50163,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39fa770012d001ec0071bc6c00020004024..."} 
[2026-04-22 10:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39fa770012d001ec0071bc6c00020004024..."} 
[2026-04-22 10:49:39] local.INFO: Processing buffer {"connection_id":50163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39fa770012d001ec0071bc6c00020004024..."} 
[2026-04-22 10:49:39] local.INFO: Packet analysis {"connection_id":50163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39f"} 
[2026-04-22 10:49:39] local.INFO: Extracted packet for processing {"connection_id":50163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39f"} 
[2026-04-22 10:49:39] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869774592001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:49:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776835078000,"timestamp_ms":1776835078000,"timestamp_seconds":1776835078,"priority":1,"record_length":96,"hex_timestamp":"0000019db39fa770"} 
[2026-04-22 10:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-22 10:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869774592001,"66":12667,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869774592001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:49:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:49:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869774592001,"power":12667,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":50163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:49:39] local.INFO: GPS data processed {"connection_id":50163,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:49:39] local.INFO: Acknowledgment sent {"connection_id":50163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:49:51] local.INFO: TCP Data received {"connection_id":50411,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:49:51] local.INFO: Processing buffer {"connection_id":50411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:49:51] local.INFO: IMEI packet received {"connection_id":50411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":50411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:49:56] local.INFO: TCP Data received {"connection_id":50412,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:49:56] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:49:56] local.INFO: IMEI packet received {"connection_id":50412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":50412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:50:01] local.INFO: TCP Data received {"connection_id":50412,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:50:01] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:50:01] local.INFO: IMEI packet received {"connection_id":50412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":50412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:50:02] local.INFO: TCP Data received {"connection_id":50412,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db39ff978012d001ec0071bc6c00020004022..."} 
[2026-04-22 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39ff978012d001ec0071bc6c00020004022..."} 
[2026-04-22 10:50:02] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39ff978012d001ec0071bc6c00020004022..."} 
[2026-04-22 10:50:02] local.INFO: Packet analysis {"connection_id":50412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39f"} 
[2026-04-22 10:50:02] local.INFO: Extracted packet for processing {"connection_id":50412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39f"} 
[2026-04-22 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869779968001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776835099000,"timestamp_ms":1776835099000,"timestamp_seconds":1776835099,"priority":1,"record_length":96,"hex_timestamp":"0000019db39ff978"} 
[2026-04-22 10: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-22 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-22 10:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869779968001,"66":12809,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869779968001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:50:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:50:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869779968001,"power":12809,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":50412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:50:02] local.INFO: GPS data processed {"connection_id":50412,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:50:02] local.INFO: Acknowledgment sent {"connection_id":50412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:50:34] local.INFO: TCP Data received {"connection_id":50412,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a04b80012d001ec0071bc6c00020004024..."} 
[2026-04-22 10:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a04b80012d001ec0071bc6c00020004024..."} 
[2026-04-22 10:50:34] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a04b80012d001ec0071bc6c00020004024..."} 
[2026-04-22 10:50:34] local.INFO: Packet analysis {"connection_id":50412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a0"} 
[2026-04-22 10:50:34] local.INFO: Extracted packet for processing {"connection_id":50412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a0"} 
[2026-04-22 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869785344001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776835120000,"timestamp_ms":1776835120000,"timestamp_seconds":1776835120,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a04b80"} 
[2026-04-22 10:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3013479752,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-7080995615315845440,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3334471712,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3759669454,"corrected_to":0} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221691334,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052611536826872292,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2001498191182184489,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.WARNING: Large IO value detected {"io_id":103,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 10:50:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,24,28,241,158,16,43,157,167,45,192,198,32,36,10,66,85,40,3,1,240,117,179,27,4,113,205,95,30,31,239,50,2,148,7,103,65],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3759669454,"validated":0}]} 
[2026-04-22 10:50:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2305913523986759680,"timestamp_seconds":2305913523986759.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869785344001,"66":12819,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869785344001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:50:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:50:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869785344001,"power":12819,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":50412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:50:34] local.INFO: GPS data processed {"connection_id":50412,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:50:34] local.INFO: Acknowledgment sent {"connection_id":50412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:50:56] local.INFO: TCP Data received {"connection_id":51098,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:50:56] local.INFO: Processing buffer {"connection_id":51098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:50:56] local.INFO: IMEI packet received {"connection_id":51098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":51098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:51:02] local.INFO: TCP Data received {"connection_id":51098,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:51:02] local.INFO: Processing buffer {"connection_id":51098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:51:02] local.INFO: IMEI packet received {"connection_id":51098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":51098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:51:03] local.INFO: TCP Data received {"connection_id":51098,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a09d88012d001ec0071bc6c00020004025..."} 
[2026-04-22 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a09d88012d001ec0071bc6c00020004025..."} 
[2026-04-22 10:51:03] local.INFO: Processing buffer {"connection_id":51098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a09d88012d001ec0071bc6c00020004025..."} 
[2026-04-22 10:51:03] local.INFO: Packet analysis {"connection_id":51098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a0"} 
[2026-04-22 10:51:03] local.INFO: Extracted packet for processing {"connection_id":51098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a0"} 
[2026-04-22 10:51:03] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":37,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869790720001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776835141000,"timestamp_ms":1776835141000,"timestamp_seconds":1776835141,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a09d88"} 
[2026-04-22 10:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505335519838208,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3013500752,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":9007474820513792,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-7057905871132549440,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3334471712,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-2299086724532862952,"corrected_to":0} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221691334,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182152400208128,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878605661286884,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2001498191182184486,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":103,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195056128,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84724100060617670,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,24,28,241,158,16,43,157,249,45,192,198,32,34,10,66,167,36,85,1,240,74,179,27,4,113,205,177,30,37,239,50,2,148,7,103,65,69,64],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-2299086724532862952,"validated":0}]} 
[2026-04-22 10:51:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2305913532576694272,"timestamp_seconds":2305913532576694.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 10:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869790720001,"66":12798,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869790720001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:51:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:51:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869790720001,"power":12798,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":51098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:51:03] local.INFO: GPS data processed {"connection_id":51098,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:51:03] local.INFO: Acknowledgment sent {"connection_id":51098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:51:34] local.INFO: TCP Data received {"connection_id":51098,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a0ef90012d001ec0071bc6c00020004025..."} 
[2026-04-22 10:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a0ef90012d001ec0071bc6c00020004025..."} 
[2026-04-22 10:51:34] local.INFO: Processing buffer {"connection_id":51098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a0ef90012d001ec0071bc6c00020004025..."} 
[2026-04-22 10:51:34] local.INFO: Packet analysis {"connection_id":51098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a0"} 
[2026-04-22 10:51:34] local.INFO: Extracted packet for processing {"connection_id":51098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a0"} 
[2026-04-22 10:51:34] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":37,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869796096001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:51:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776835162000,"timestamp_ms":1776835162000,"timestamp_seconds":1776835162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a0ef90"} 
[2026-04-22 10: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-22 10:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 10:51:34] 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-22 10: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-22 10: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-22 10:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869796096001,"66":12776,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869796096001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:51:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:51:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869796096001,"power":12776,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":51098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:51:34] local.INFO: GPS data processed {"connection_id":51098,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:51:34] local.INFO: Acknowledgment sent {"connection_id":51098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:51:56] local.INFO: TCP Data received {"connection_id":50413,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:51:56] local.INFO: Processing buffer {"connection_id":50413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:51:56] local.INFO: IMEI packet received {"connection_id":50413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":50413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:52:01] local.INFO: TCP Data received {"connection_id":50413,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:52:01] local.INFO: Processing buffer {"connection_id":50413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:52:01] local.INFO: IMEI packet received {"connection_id":50413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":50413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:52:03] local.INFO: TCP Data received {"connection_id":50413,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a14198012d001ec0071bc6c00020004029..."} 
[2026-04-22 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a14198012d001ec0071bc6c00020004029..."} 
[2026-04-22 10:52:03] local.INFO: Processing buffer {"connection_id":50413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a14198012d001ec0071bc6c00020004029..."} 
[2026-04-22 10:52:03] local.INFO: Packet analysis {"connection_id":50413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a1"} 
[2026-04-22 10:52:03] local.INFO: Extracted packet for processing {"connection_id":50413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a1"} 
[2026-04-22 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869801472001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:52:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776835183000,"timestamp_ms":1776835183000,"timestamp_seconds":1776835183,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a14198"} 
[2026-04-22 10: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-22 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 10:52:03] 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-22 10: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-22 10: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-22 10:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869801472001,"66":12776,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869801472001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:52:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869801472001,"power":12776,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":50413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:52:03] local.INFO: GPS data processed {"connection_id":50413,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:52:03] local.INFO: Acknowledgment sent {"connection_id":50413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:52:35] local.INFO: TCP Data received {"connection_id":50413,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a193a0012d001ec0071bc6c00020004027..."} 
[2026-04-22 10:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a193a0012d001ec0071bc6c00020004027..."} 
[2026-04-22 10:52:35] local.INFO: Processing buffer {"connection_id":50413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a193a0012d001ec0071bc6c00020004027..."} 
[2026-04-22 10:52:35] local.INFO: Packet analysis {"connection_id":50413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a1"} 
[2026-04-22 10:52:35] local.INFO: Extracted packet for processing {"connection_id":50413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a1"} 
[2026-04-22 10:52:35] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":39,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869806848001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:52:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776835204000,"timestamp_ms":1776835204000,"timestamp_seconds":1776835204,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a193a0"} 
[2026-04-22 10:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 10:52: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-22 10:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869806848001,"66":12776,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869806848001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:52:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869806848001,"power":12776,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":50413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:52:35] local.INFO: GPS data processed {"connection_id":50413,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:52:35] local.INFO: Acknowledgment sent {"connection_id":50413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:52:56] local.INFO: TCP Data received {"connection_id":50164,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:52:56] local.INFO: Processing buffer {"connection_id":50164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:52:56] local.INFO: IMEI packet received {"connection_id":50164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":50164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:53:01] local.INFO: TCP Data received {"connection_id":50164,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:53:01] local.INFO: Processing buffer {"connection_id":50164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:53:01] local.INFO: IMEI packet received {"connection_id":50164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":50164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:53:03] local.INFO: TCP Data received {"connection_id":50164,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a1e5a8012d001ec0071bc6c00020004029..."} 
[2026-04-22 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a1e5a8012d001ec0071bc6c00020004029..."} 
[2026-04-22 10:53:03] local.INFO: Processing buffer {"connection_id":50164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a1e5a8012d001ec0071bc6c00020004029..."} 
[2026-04-22 10:53:03] local.INFO: Packet analysis {"connection_id":50164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a1"} 
[2026-04-22 10:53:03] local.INFO: Extracted packet for processing {"connection_id":50164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a1"} 
[2026-04-22 10:53:03] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869812224001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:53:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776835225000,"timestamp_ms":1776835225000,"timestamp_seconds":1776835225,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a1e5a8"} 
[2026-04-22 10: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-22 10:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 10:53:03] 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-22 10: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-22 10: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-22 10:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869812224001,"66":12428,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869812224001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:53:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869812224001,"power":12428,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":50164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:53:03] local.INFO: GPS data processed {"connection_id":50164,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:53:03] local.INFO: Acknowledgment sent {"connection_id":50164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:53:35] local.INFO: TCP Data received {"connection_id":50164,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a237b0012d001ec0071bc6c0002000402a..."} 
[2026-04-22 10:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a237b0012d001ec0071bc6c0002000402a..."} 
[2026-04-22 10:53:35] local.INFO: Processing buffer {"connection_id":50164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a237b0012d001ec0071bc6c0002000402a..."} 
[2026-04-22 10:53:35] local.INFO: Packet analysis {"connection_id":50164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:53:35] local.INFO: Extracted packet for processing {"connection_id":50164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:53:35] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":42,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869817600001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:53:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776835246000,"timestamp_ms":1776835246000,"timestamp_seconds":1776835246,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a237b0"} 
[2026-04-22 10:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 10:53:35] 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-22 10:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869817600001,"66":12743,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869817600001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:53:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869817600001,"power":12743,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":50164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:53:35] local.INFO: GPS data processed {"connection_id":50164,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:53:35] local.INFO: Acknowledgment sent {"connection_id":50164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:54:02] local.INFO: TCP Data received {"connection_id":50414,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:02] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:02] local.INFO: IMEI packet received {"connection_id":50414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":50414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:54:07] local.INFO: TCP Data received {"connection_id":50414,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:07] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:07] local.INFO: IMEI packet received {"connection_id":50414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":50414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:54:08] local.INFO: TCP Data received {"connection_id":50414,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a289b8012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a289b8012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:54:08] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a289b8012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:54:08] local.INFO: Packet analysis {"connection_id":50414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:54:08] local.INFO: Extracted packet for processing {"connection_id":50414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:54:08] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":40,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869822976001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:54:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776835267000,"timestamp_ms":1776835267000,"timestamp_seconds":1776835267,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a289b8"} 
[2026-04-22 10: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-22 10:54:08] 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-22 10: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-22 10:54:08] 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-22 10: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-22 10: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-22 10:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869822976001,"66":12722,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869822976001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:54:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869822976001,"power":12722,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":50414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:54:08] local.INFO: GPS data processed {"connection_id":50414,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:54:08] local.INFO: Acknowledgment sent {"connection_id":50414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:54:12] local.INFO: TCP Data received {"connection_id":50414,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a2dbc0012d001ec0071bc6c00020004027..."} 
[2026-04-22 10:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a2dbc0012d001ec0071bc6c00020004027..."} 
[2026-04-22 10:54:12] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a2dbc0012d001ec0071bc6c00020004027..."} 
[2026-04-22 10:54:12] local.INFO: Packet analysis {"connection_id":50414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:54:12] local.INFO: Extracted packet for processing {"connection_id":50414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:54:12] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":39,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869828352001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:54:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776835288000,"timestamp_ms":1776835288000,"timestamp_seconds":1776835288,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a2dbc0"} 
[2026-04-22 10: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-22 10:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 10:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869828352001,"66":12689,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869828352001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:54:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869828352001,"power":12689,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":50414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:54:12] local.INFO: GPS data processed {"connection_id":50414,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:54:12] local.INFO: Acknowledgment sent {"connection_id":50414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:54:54] local.INFO: TCP Data received {"connection_id":50537,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:54] local.INFO: Processing buffer {"connection_id":50537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:54] local.INFO: IMEI packet received {"connection_id":50537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":50537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:54:56] local.INFO: TCP Data received {"connection_id":50537,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:56] local.INFO: Processing buffer {"connection_id":50537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:54:56] local.INFO: IMEI packet received {"connection_id":50537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":50537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:55:02] local.INFO: TCP Data received {"connection_id":50537,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:55:02] local.INFO: Processing buffer {"connection_id":50537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:55:02] local.INFO: IMEI packet received {"connection_id":50537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":50537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:55:03] local.INFO: TCP Data received {"connection_id":50537,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a32dc8012d001ec0071bc6c00020004029..."} 
[2026-04-22 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a32dc8012d001ec0071bc6c00020004029..."} 
[2026-04-22 10:55:03] local.INFO: Processing buffer {"connection_id":50537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a32dc8012d001ec0071bc6c00020004029..."} 
[2026-04-22 10:55:03] local.INFO: Packet analysis {"connection_id":50537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a3"} 
[2026-04-22 10:55:03] local.INFO: Extracted packet for processing {"connection_id":50537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a3"} 
[2026-04-22 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:55:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776835309000,"timestamp_ms":1776835309000,"timestamp_seconds":1776835309,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a32dc8"} 
[2026-04-22 10: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-22 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 10:55:03] 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-22 10: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-22 10: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-22 10:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":12689,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:55:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869833728001,"power":12689,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":50537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:55:03] local.INFO: GPS data processed {"connection_id":50537,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:55:03] local.INFO: Acknowledgment sent {"connection_id":50537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:55:16] local.INFO: TCP Data received {"connection_id":50536,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:55:16] local.INFO: Processing buffer {"connection_id":50536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:55:16] local.INFO: IMEI packet received {"connection_id":50536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":50536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:55:35] local.INFO: TCP Data received {"connection_id":50537,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a37fd0012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a37fd0012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:55:35] local.INFO: Processing buffer {"connection_id":50537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a37fd0012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:55:35] local.INFO: Packet analysis {"connection_id":50537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a3"} 
[2026-04-22 10:55:35] local.INFO: Extracted packet for processing {"connection_id":50537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a3"} 
[2026-04-22 10:55:35] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":40,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869839104001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:55:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776835330000,"timestamp_ms":1776835330000,"timestamp_seconds":1776835330,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a37fd0"} 
[2026-04-22 10:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 10:55:35] 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-22 10:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869839104001,"66":12689,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869839104001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:55:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:55:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869839104001,"power":12689,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":50537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:55:35] local.INFO: GPS data processed {"connection_id":50537,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:55:35] local.INFO: Acknowledgment sent {"connection_id":50537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:55:51] local.INFO: TCP Data received {"connection_id":50538,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:55:51] local.INFO: Processing buffer {"connection_id":50538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 10:55:51] local.INFO: IMEI packet received {"connection_id":50538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 10:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":50538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:55:56] local.INFO: TCP Data received {"connection_id":51099,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:55:56] local.INFO: Processing buffer {"connection_id":51099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:55:56] local.INFO: IMEI packet received {"connection_id":51099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":51099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:55:57] local.INFO: TCP Data received {"connection_id":51099,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:55:57] local.INFO: Processing buffer {"connection_id":51099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:55:57] local.INFO: IMEI packet received {"connection_id":51099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":51099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:56:01] local.INFO: TCP Data received {"connection_id":51099,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:56:01] local.INFO: Processing buffer {"connection_id":51099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:56:01] local.INFO: IMEI packet received {"connection_id":51099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":51099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:56:02] local.INFO: TCP Data received {"connection_id":51100,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:02] local.INFO: Processing buffer {"connection_id":51100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:02] local.INFO: IMEI packet received {"connection_id":51100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":51100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:56:02] local.INFO: TCP Data received {"connection_id":51099,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a3d1d8012d001ec0071bc6c0002000402a..."} 
[2026-04-22 10:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a3d1d8012d001ec0071bc6c0002000402a..."} 
[2026-04-22 10:56:02] local.INFO: Processing buffer {"connection_id":51099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a3d1d8012d001ec0071bc6c0002000402a..."} 
[2026-04-22 10:56:02] local.INFO: Packet analysis {"connection_id":51099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a3"} 
[2026-04-22 10:56:02] local.INFO: Extracted packet for processing {"connection_id":51099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a3"} 
[2026-04-22 10:56:02] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":42,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869844480001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776835351000,"timestamp_ms":1776835351000,"timestamp_seconds":1776835351,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a3d1d8"} 
[2026-04-22 10: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-22 10:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 10:56:02] 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-22 10: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-22 10: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-22 10:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869844480001,"66":12678,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869844480001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:56:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:56:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869844480001,"power":12678,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":51099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:56:02] local.INFO: GPS data processed {"connection_id":51099,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:56:02] local.INFO: Acknowledgment sent {"connection_id":51099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:56:07] local.INFO: TCP Data received {"connection_id":51100,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:07] local.INFO: Processing buffer {"connection_id":51100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:07] local.INFO: IMEI packet received {"connection_id":51100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":51100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:56:08] local.INFO: TCP Data received {"connection_id":51100,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db399ac30012d7f888005afdcc8000b012c28..."} 
[2026-04-22 10:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db399ac30012d7f888005afdcc8000b012c28..."} 
[2026-04-22 10:56:08] local.INFO: Processing buffer {"connection_id":51100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db399ac30012d7f888005afdcc8000b012c28..."} 
[2026-04-22 10:56:08] local.INFO: Packet analysis {"connection_id":51100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db399"} 
[2026-04-22 10:56:08] local.INFO: Extracted packet for processing {"connection_id":51100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db399"} 
[2026-04-22 10:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869602560001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189595064074817536,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56: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-22 10:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776834686000,"timestamp_ms":1776834686000,"timestamp_seconds":1776834686,"priority":1,"record_length":96,"hex_timestamp":"0000019db399ac30"} 
[2026-04-22 10: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-22 10:56: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-22 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 10:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869602560001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189595064074817536},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869602560001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:56:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189595064074817536,"description":"Unknown IO ID 45"} 
[2026-04-22 10:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869602560001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189595064074817536}} 
[2026-04-22 10:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":51100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:56:08] local.INFO: GPS data processed {"connection_id":51100,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:56:08] local.INFO: Acknowledgment sent {"connection_id":51100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:56:31] local.INFO: TCP Data received {"connection_id":50415,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:31] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:31] local.INFO: IMEI packet received {"connection_id":50415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":50415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:56:34] local.INFO: TCP Data received {"connection_id":51099,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a423e0012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a423e0012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:56:34] local.INFO: Processing buffer {"connection_id":51099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a423e0012d001ec0071bc6c00020004028..."} 
[2026-04-22 10:56:34] local.INFO: Packet analysis {"connection_id":51099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a4"} 
[2026-04-22 10:56:34] local.INFO: Extracted packet for processing {"connection_id":51099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a4"} 
[2026-04-22 10:56:34] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":40,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869849856001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776835372000,"timestamp_ms":1776835372000,"timestamp_seconds":1776835372,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a423e0"} 
[2026-04-22 10: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-22 10:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 10:56:34] 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-22 10: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-22 10: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-22 10:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869849856001,"66":12678,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869849856001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:56:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869849856001,"power":12678,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":51099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:56:34] local.INFO: GPS data processed {"connection_id":51099,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:56:34] local.INFO: Acknowledgment sent {"connection_id":51099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:56:37] local.INFO: TCP Data received {"connection_id":50415,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:37] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:56:37] local.INFO: IMEI packet received {"connection_id":50415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":50415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:56:38] local.INFO: TCP Data received {"connection_id":50415,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db39e43f8012d7f888005afdcc8000f012c28..."} 
[2026-04-22 10:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db39e43f8012d7f888005afdcc8000f012c28..."} 
[2026-04-22 10:56:38] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db39e43f8012d7f888005afdcc8000f012c28..."} 
[2026-04-22 10:56:38] local.INFO: Packet analysis {"connection_id":50415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db39e"} 
[2026-04-22 10:56:38] local.INFO: Extracted packet for processing {"connection_id":50415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db39e"} 
[2026-04-22 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":15,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869679616001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 10:56:38] 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-22 10:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776834987000,"timestamp_ms":1776834987000,"timestamp_seconds":1776834987,"priority":1,"record_length":96,"hex_timestamp":"0000019db39e43f8"} 
[2026-04-22 10:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 10:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869679616001,"66":25321,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869679616001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:56:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 10:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869679616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 10:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":50415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:56:38] local.INFO: GPS data processed {"connection_id":50415,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:56:38] local.INFO: Acknowledgment sent {"connection_id":50415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:56:56] local.INFO: TCP Data received {"connection_id":50166,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:56:56] local.INFO: Processing buffer {"connection_id":50166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:56:56] local.INFO: IMEI packet received {"connection_id":50166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":50166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:57:01] local.INFO: TCP Data received {"connection_id":50166,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:57:01] local.INFO: Processing buffer {"connection_id":50166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:57:01] local.INFO: IMEI packet received {"connection_id":50166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":50166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:57:03] local.INFO: TCP Data received {"connection_id":50166,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a475e8012d001ec0071bc6c0002000402a..."} 
[2026-04-22 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a475e8012d001ec0071bc6c0002000402a..."} 
[2026-04-22 10:57:03] local.INFO: Processing buffer {"connection_id":50166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a475e8012d001ec0071bc6c0002000402a..."} 
[2026-04-22 10:57:03] local.INFO: Packet analysis {"connection_id":50166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a4"} 
[2026-04-22 10:57:03] local.INFO: Extracted packet for processing {"connection_id":50166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a4"} 
[2026-04-22 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":119260864,"longitude_deg":75.4982592,"latitude_deg":11.9260864,"altitude":32,"angle":64,"satellites":42,"speed":0,"hex_longitude":"2d001ec0","hex_latitude":"071bc6c0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869855232001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763448763973632,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655386064633856,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776835393000,"timestamp_ms":1776835393000,"timestamp_seconds":1776835393,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a475e8"} 
[2026-04-22 10: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-22 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 10:57:03] 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-22 10: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-22 10: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-22 10:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869855232001,"66":12645,"24":0,"28":26368,"16":113763448763973632,"45":8655386064633856},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869855232001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763448763973632,"km_value":113763448763973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655386064633856,"description":"Unknown IO ID 45"} 
[2026-04-22 10:57:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869855232001,"power":12645,"ignition":0,"unknown_28":26368,"odometer":null,"unknown_45":8655386064633856}} 
[2026-04-22 10:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":50166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:57:03] local.INFO: GPS data processed {"connection_id":50166,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:57:03] local.INFO: Acknowledgment sent {"connection_id":50166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:57:13] local.INFO: TCP Data received {"connection_id":50415,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:57:13] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:57:13] local.INFO: Packet analysis {"connection_id":50415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:57:13] local.INFO: Extracted packet for processing {"connection_id":50415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":33,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869756672001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:13] 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-22 10:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776835288000,"timestamp_ms":1776835288000,"timestamp_seconds":1776835288,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a2dbc0"} 
[2026-04-22 10: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-22 10:57: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-22 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 10:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869756672001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869756672001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:57:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 10:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869756672001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 10:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":50415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:57:13] local.INFO: GPS data processed {"connection_id":50415,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:57:13] local.INFO: Acknowledgment sent {"connection_id":50415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:57:26] local.INFO: TCP Data received {"connection_id":50167,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:57:26] local.INFO: Processing buffer {"connection_id":50167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:57:26] local.INFO: IMEI packet received {"connection_id":50167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":50167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:57:32] local.INFO: TCP Data received {"connection_id":50167,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:57:32] local.INFO: Processing buffer {"connection_id":50167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:57:32] local.INFO: IMEI packet received {"connection_id":50167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:57:34] local.INFO: TCP Data received {"connection_id":50166,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a79a98012d004640071bd3500020004b25..."} 
[2026-04-22 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a79a98012d004640071bd3500020004b25..."} 
[2026-04-22 10:57:34] local.INFO: Processing buffer {"connection_id":50166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a79a98012d004640071bd3500020004b25..."} 
[2026-04-22 10:57:34] local.INFO: Packet analysis {"connection_id":50166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a7"} 
[2026-04-22 10:57:34] local.INFO: Extracted packet for processing {"connection_id":50166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a7"} 
[2026-04-22 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":754992704,"raw_latitude":119264080,"longitude_deg":75.4992704,"latitude_deg":11.926408,"altitude":32,"angle":75,"satellites":37,"speed":33,"hex_longitude":"2d004640","hex_latitude":"071bd350","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869909760001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113763951275147264,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9499810994837504,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776835599000,"timestamp_ms":1776835599000,"timestamp_seconds":1776835599,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a79a98"} 
[2026-04-22 10: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-22 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-22 10:57:34] 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-22 10: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-22 10: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-22 10:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869909760001,"66":13961,"24":33,"28":26368,"16":113763951275147264,"45":9499810994837504},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869909760001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113763951275147264,"km_value":113763951275147.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9499810994837504,"description":"Unknown IO ID 45"} 
[2026-04-22 10:57:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869909760001,"power":13961,"ignition":33,"unknown_28":26368,"odometer":null,"unknown_45":9499810994837504}} 
[2026-04-22 10:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":50166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:57:34] local.INFO: GPS data processed {"connection_id":50166,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:57:34] local.INFO: Acknowledgment sent {"connection_id":50166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:57:37] local.INFO: TCP Data received {"connection_id":50167,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:57:37] local.INFO: Processing buffer {"connection_id":50167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:57:37] local.INFO: Packet analysis {"connection_id":50167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:57:37] local.INFO: Extracted packet for processing {"connection_id":50167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":33,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 10:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869756672001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 10:57:37] 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-22 10:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776835288000,"timestamp_ms":1776835288000,"timestamp_seconds":1776835288,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a2dbc0"} 
[2026-04-22 10:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:57: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-22 10:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 10:57: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-22 10:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869756672001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869756672001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:57:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 10:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869756672001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 10:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":50167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:57:37] local.INFO: GPS data processed {"connection_id":50167,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:57:37] local.INFO: Acknowledgment sent {"connection_id":50167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:57:56] local.INFO: TCP Data received {"connection_id":50539,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:57:56] local.INFO: Processing buffer {"connection_id":50539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:57:56] local.INFO: IMEI packet received {"connection_id":50539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":50539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:58:01] local.INFO: TCP Data received {"connection_id":50539,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:58:01] local.INFO: Processing buffer {"connection_id":50539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:58:01] local.INFO: IMEI packet received {"connection_id":50539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":50539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:58:02] local.INFO: TCP Data received {"connection_id":50539,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a7c1a8012d0068c0071bddd00022004125..."} 
[2026-04-22 10:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a7c1a8012d0068c0071bddd00022004125..."} 
[2026-04-22 10:58:02] local.INFO: Processing buffer {"connection_id":50539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a7c1a8012d0068c0071bddd00022004125..."} 
[2026-04-22 10:58:02] local.INFO: Packet analysis {"connection_id":50539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a7"} 
[2026-04-22 10:58:02] local.INFO: Extracted packet for processing {"connection_id":50539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a7"} 
[2026-04-22 10:58:02] local.INFO: GPS Element Parsed {"raw_longitude":755001536,"raw_latitude":119266768,"longitude_deg":75.5001536,"latitude_deg":11.9266768,"altitude":34,"angle":65,"satellites":37,"speed":37,"hex_longitude":"2d0068c0","hex_latitude":"071bddd0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869913344001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113764393656778752,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":19773647645528064,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776835609000,"timestamp_ms":1776835609000,"timestamp_seconds":1776835609,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a7c1a8"} 
[2026-04-22 10: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-22 10:58:02] 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-22 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 10:58:02] 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-22 10: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-22 10: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-22 10:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869913344001,"66":14407,"24":37,"28":26368,"16":113764393656778752,"45":19773647645528064},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869913344001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:58:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113764393656778752,"km_value":113764393656778.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":19773647645528064,"description":"Unknown IO ID 45"} 
[2026-04-22 10:58:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869913344001,"power":14407,"ignition":37,"unknown_28":26368,"odometer":null,"unknown_45":19773647645528064}} 
[2026-04-22 10:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":50539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:58:02] local.INFO: GPS data processed {"connection_id":50539,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:58:02] local.INFO: Acknowledgment sent {"connection_id":50539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:58:09] local.INFO: TCP Data received {"connection_id":50167,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:58:09] local.INFO: Processing buffer {"connection_id":50167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:58:09] local.INFO: Packet analysis {"connection_id":50167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:58:09] local.INFO: Extracted packet for processing {"connection_id":50167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":33,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 10:58: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-22 10:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869756672001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58: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-22 10:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776835288000,"timestamp_ms":1776835288000,"timestamp_seconds":1776835288,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a2dbc0"} 
[2026-04-22 10:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:58: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-22 10:58: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-22 10:58: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-22 10:58: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-22 10:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869756672001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869756672001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:58:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 10:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869756672001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 10:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":50167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:58:09] local.INFO: GPS data processed {"connection_id":50167,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:58:09] local.INFO: Acknowledgment sent {"connection_id":50167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:58:27] local.INFO: TCP Data received {"connection_id":50168,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:58:27] local.INFO: Processing buffer {"connection_id":50168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:58:27] local.INFO: IMEI packet received {"connection_id":50168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:58:32] local.INFO: TCP Data received {"connection_id":50168,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:58:32] local.INFO: Processing buffer {"connection_id":50168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:58:32] local.INFO: IMEI packet received {"connection_id":50168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:58:33] local.INFO: TCP Data received {"connection_id":50168,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:58:33] local.INFO: Processing buffer {"connection_id":50168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:58:33] local.INFO: Packet analysis {"connection_id":50168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:58:33] local.INFO: Extracted packet for processing {"connection_id":50168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":33,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869756672001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:33] 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-22 10:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776835288000,"timestamp_ms":1776835288000,"timestamp_seconds":1776835288,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a2dbc0"} 
[2026-04-22 10: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-22 10: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-22 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 10:58: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-22 10: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-22 10: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-22 10:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869756672001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869756672001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:58:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 10:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869756672001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 10:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:58:33] local.INFO: GPS data processed {"connection_id":50168,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:58:33] local.INFO: Acknowledgment sent {"connection_id":50168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:58:34] local.INFO: TCP Data received {"connection_id":50539,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a7cd60012d007280071be3d00023003126..."} 
[2026-04-22 10:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a7cd60012d007280071be3d00023003126..."} 
[2026-04-22 10:58:34] local.INFO: Processing buffer {"connection_id":50539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a7cd60012d007280071be3d00023003126..."} 
[2026-04-22 10:58:34] local.INFO: Packet analysis {"connection_id":50539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a7"} 
[2026-04-22 10:58:34] local.INFO: Extracted packet for processing {"connection_id":50539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a7"} 
[2026-04-22 10:58:34] local.INFO: GPS Element Parsed {"raw_longitude":755004032,"raw_latitude":119268304,"longitude_deg":75.5004032,"latitude_deg":11.9268304,"altitude":35,"angle":49,"satellites":38,"speed":39,"hex_longitude":"2d007280","hex_latitude":"071be3d0","is_valid_coordinates":true} 
[2026-04-22 10: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-22 10:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869915904001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113764535390699520,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":29484534342733824,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776835612000,"timestamp_ms":1776835612000,"timestamp_seconds":1776835612,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a7cd60"} 
[2026-04-22 10: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-22 10:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 10:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10: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-22 10: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-22 10:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869915904001,"66":13961,"24":39,"28":26368,"16":113764535390699520,"45":29484534342733824},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869915904001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:58:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113764535390699520,"km_value":113764535390699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":29484534342733824,"description":"Unknown IO ID 45"} 
[2026-04-22 10:58:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869915904001,"power":13961,"ignition":39,"unknown_28":26368,"odometer":null,"unknown_45":29484534342733824}} 
[2026-04-22 10:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":50539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:58:34] local.INFO: GPS data processed {"connection_id":50539,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:58:34] local.INFO: Acknowledgment sent {"connection_id":50539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:58:38] local.INFO: TCP Data received {"connection_id":50168,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:58:38] local.INFO: Processing buffer {"connection_id":50168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:58:38] local.INFO: Packet analysis {"connection_id":50168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:58:38] local.INFO: Extracted packet for processing {"connection_id":50168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":33,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869756672001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 10:58:38] 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-22 10:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776835288000,"timestamp_ms":1776835288000,"timestamp_seconds":1776835288,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a2dbc0"} 
[2026-04-22 10:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 10:58: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-22 10:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869756672001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869756672001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:58:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 10:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869756672001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 10:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":50168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:58:38] local.INFO: GPS data processed {"connection_id":50168,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:58:38] local.INFO: Acknowledgment sent {"connection_id":50168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:59:01] local.INFO: TCP Data received {"connection_id":50417,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:59:01] local.INFO: Processing buffer {"connection_id":50417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:59:01] local.INFO: IMEI packet received {"connection_id":50417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 10:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":50417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:59:01] local.INFO: TCP Data received {"connection_id":50417,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:59:01] local.INFO: Processing buffer {"connection_id":50417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:59:01] local.INFO: IMEI packet received {"connection_id":50417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":50417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:59:06] local.INFO: TCP Data received {"connection_id":50417,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:59:06] local.INFO: Processing buffer {"connection_id":50417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 10:59:06] local.INFO: IMEI packet received {"connection_id":50417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 10:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":50417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:59:07] local.INFO: TCP Data received {"connection_id":50417,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a7f470012d008c40071c00c00024002d26..."} 
[2026-04-22 10:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a7f470012d008c40071c00c00024002d26..."} 
[2026-04-22 10:59:07] local.INFO: Processing buffer {"connection_id":50417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a7f470012d008c40071c00c00024002d26..."} 
[2026-04-22 10:59:07] local.INFO: Packet analysis {"connection_id":50417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a7"} 
[2026-04-22 10:59:07] local.INFO: Extracted packet for processing {"connection_id":50417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a7"} 
[2026-04-22 10:59:07] local.INFO: GPS Element Parsed {"raw_longitude":755010624,"raw_latitude":119275712,"longitude_deg":75.5010624,"latitude_deg":11.9275712,"altitude":36,"angle":45,"satellites":38,"speed":38,"hex_longitude":"2d008c40","hex_latitude":"071c00c0","is_valid_coordinates":true} 
[2026-04-22 10:59: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-22 10:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869916672001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113765012132069376,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":32228915366055936,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776835622000,"timestamp_ms":1776835622000,"timestamp_seconds":1776835622,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a7f470"} 
[2026-04-22 10:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:59:07] 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-22 10:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 10:59:07] 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-22 10:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869916672001,"66":14396,"24":38,"28":26368,"16":113765012132069376,"45":32228915366055936},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869916672001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113765012132069376,"km_value":113765012132069.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":32228915366055936,"description":"Unknown IO ID 45"} 
[2026-04-22 10:59:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869916672001,"power":14396,"ignition":38,"unknown_28":26368,"odometer":null,"unknown_45":32228915366055936}} 
[2026-04-22 10:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":50417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:59:07] local.INFO: GPS data processed {"connection_id":50417,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:59:07] local.INFO: Acknowledgment sent {"connection_id":50417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:59:09] local.INFO: TCP Data received {"connection_id":50168,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:59:09] local.INFO: Processing buffer {"connection_id":50168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:59:09] local.INFO: Packet analysis {"connection_id":50168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:59:09] local.INFO: Extracted packet for processing {"connection_id":50168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":33,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 10:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869756672001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59: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-22 10:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776835288000,"timestamp_ms":1776835288000,"timestamp_seconds":1776835288,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a2dbc0"} 
[2026-04-22 10:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:59: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-22 10:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 10:59: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-22 10:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869756672001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869756672001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:59:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 10:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869756672001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 10:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":50168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:59:09] local.INFO: GPS data processed {"connection_id":50168,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:59:09] local.INFO: Acknowledgment sent {"connection_id":50168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:59:12] local.INFO: TCP Data received {"connection_id":50417,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a80028012d009580071c07c00025003a27..."} 
[2026-04-22 10:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a80028012d009580071c07c00025003a27..."} 
[2026-04-22 10:59:12] local.INFO: Processing buffer {"connection_id":50417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a80028012d009580071c07c00025003a27..."} 
[2026-04-22 10:59:12] local.INFO: Packet analysis {"connection_id":50417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a8"} 
[2026-04-22 10:59:12] local.INFO: Extracted packet for processing {"connection_id":50417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a8"} 
[2026-04-22 10:59:12] local.INFO: GPS Element Parsed {"raw_longitude":755012992,"raw_latitude":119277504,"longitude_deg":75.5012992,"latitude_deg":11.9277504,"altitude":37,"angle":58,"satellites":39,"speed":41,"hex_longitude":"2d009580","hex_latitude":"071c07c0","is_valid_coordinates":true} 
[2026-04-22 10:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 10:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869919232001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113765153865990144,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":39476896018251776,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 10:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776835625000,"timestamp_ms":1776835625000,"timestamp_seconds":1776835625,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a80028"} 
[2026-04-22 10:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 10:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 10:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 10:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 10:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 10:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 10:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 10:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 10:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 10:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869919232001,"66":14298,"24":41,"28":26368,"16":113765153865990144,"45":39476896018251776},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,45]} 
[2026-04-22 10:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 10:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 10:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869919232001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 10:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113765153865990144,"km_value":113765153865990.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":39476896018251776,"description":"Unknown IO ID 45"} 
[2026-04-22 10:59:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454869919232001,"power":14298,"ignition":41,"unknown_28":26368,"odometer":null,"unknown_45":39476896018251776}} 
[2026-04-22 10:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":50417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:59:12] local.INFO: GPS data processed {"connection_id":50417,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:59:12] local.INFO: Acknowledgment sent {"connection_id":50417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 10:59:26] local.INFO: TCP Data received {"connection_id":51102,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:59:26] local.INFO: Processing buffer {"connection_id":51102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:59:26] local.INFO: IMEI packet received {"connection_id":51102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 10:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":51102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 10:59:32] local.INFO: TCP Data received {"connection_id":51102,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:59:32] local.INFO: Processing buffer {"connection_id":51102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 10:59:32] local.INFO: IMEI packet received {"connection_id":51102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 10:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":51102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 10:59:33] local.INFO: TCP Data received {"connection_id":51102,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:59:33] local.INFO: Processing buffer {"connection_id":51102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a2dbc0012d7f888005afdcc80011012c21..."} 
[2026-04-22 10:59:33] local.INFO: Packet analysis {"connection_id":51102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:59:33] local.INFO: Extracted packet for processing {"connection_id":51102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a2"} 
[2026-04-22 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":33,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 10:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869756672001,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 10:59:33] 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-22 10:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776835288000,"timestamp_ms":1776835288000,"timestamp_seconds":1776835288,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a2dbc0"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 10:59: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-22 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-22 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-22 10:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 10:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 10:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 10:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 10:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 10:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 10:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869756672001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 10:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 10:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 10:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869756672001,"description":"Unknown IO ID 0"} 
[2026-04-22 10:59:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 10:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 10:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 10:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 10:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869756672001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 10:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":51102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 10:59:33] local.INFO: GPS data processed {"connection_id":51102,"processed":1,"errors":0,"total":1} 
[2026-04-22 10:59:33] local.INFO: Acknowledgment sent {"connection_id":51102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:00:01] local.INFO: TCP Data received {"connection_id":50540,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:01] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:01] local.INFO: IMEI packet received {"connection_id":50540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":50540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:00:05] local.INFO: TCP Data received {"connection_id":51102,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:00:05] local.INFO: Processing buffer {"connection_id":51102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:00:05] local.INFO: Packet analysis {"connection_id":51102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:05] local.INFO: Extracted packet for processing {"connection_id":51102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:00:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":51102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:00:05] local.INFO: GPS data processed {"connection_id":51102,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:00:05] local.INFO: Acknowledgment sent {"connection_id":51102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:00:05] local.INFO: TCP Data received {"connection_id":50540,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:05] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:05] local.INFO: IMEI packet received {"connection_id":50540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":50540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:00:06] local.INFO: TCP Data received {"connection_id":50540,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:06] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:06] local.INFO: IMEI packet received {"connection_id":50540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":50540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:00:08] local.INFO: TCP Data received {"connection_id":50540,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a96f58012d01df40071c3388001b006624..."} 
[2026-04-22 11:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a96f58012d01df40071c3388001b006624..."} 
[2026-04-22 11:00:08] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a96f58012d01df40071c3388001b006624..."} 
[2026-04-22 11:00:08] local.INFO: Packet analysis {"connection_id":50540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:08] local.INFO: Extracted packet for processing {"connection_id":50540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:08] local.INFO: GPS Element Parsed {"raw_longitude":755097408,"raw_latitude":119288712,"longitude_deg":75.5097408,"latitude_deg":11.9288712,"altitude":27,"angle":102,"satellites":36,"speed":37,"hex_longitude":"2d01df40","hex_latitude":"071c3388","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869941760001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113769551912501248,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":124904551453777920,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776835719000,"timestamp_ms":1776835719000,"timestamp_seconds":1776835719,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a96f58"} 
[2026-04-22 11: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-22 11:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 11:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869941760001,"66":14396,"137":206,"28":26368,"24":37,"16":113769551912501248,"45":124904551453777920},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,28,24,16,45]} 
[2026-04-22 11:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869941760001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:00:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 11:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113769551912501248,"km_value":113769551912501.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":124904551453777920,"description":"Unknown IO ID 45"} 
[2026-04-22 11:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869941760001,"power":14396,"unknown_137":206,"unknown_28":26368,"ignition":37,"odometer":null,"unknown_45":124904551453777920}} 
[2026-04-22 11:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":50540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:00:08] local.INFO: GPS data processed {"connection_id":50540,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:00:08] local.INFO: Acknowledgment sent {"connection_id":50540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:00:12] local.INFO: TCP Data received {"connection_id":50540,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a99280012d020240071c2d90001a006421..."} 
[2026-04-22 11:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a99280012d020240071c2d90001a006421..."} 
[2026-04-22 11:00:12] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a99280012d020240071c2d90001a006421..."} 
[2026-04-22 11:00:12] local.INFO: Packet analysis {"connection_id":50540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:12] local.INFO: Extracted packet for processing {"connection_id":50540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:12] local.INFO: GPS Element Parsed {"raw_longitude":755106368,"raw_latitude":119287184,"longitude_deg":75.5106368,"latitude_deg":11.9287184,"altitude":26,"angle":100,"satellites":33,"speed":39,"hex_longitude":"2d020240","hex_latitude":"071c2d90","is_valid_coordinates":true} 
[2026-04-22 11:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869944064001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113769981409230848,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":134896913126492160,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776835728000,"timestamp_ms":1776835728000,"timestamp_seconds":1776835728,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a99280"} 
[2026-04-22 11:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 11:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869944064001,"66":14352,"137":206,"28":26368,"24":39,"16":113769981409230848,"45":134896913126492160},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,28,24,16,45]} 
[2026-04-22 11:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869944064001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:00:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 11:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113769981409230848,"km_value":113769981409230.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":134896913126492160,"description":"Unknown IO ID 45"} 
[2026-04-22 11:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869944064001,"power":14352,"unknown_137":206,"unknown_28":26368,"ignition":39,"odometer":null,"unknown_45":134896913126492160}} 
[2026-04-22 11:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":50540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:00:12] local.INFO: GPS data processed {"connection_id":50540,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:00:12] local.INFO: Acknowledgment sent {"connection_id":50540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:00:32] local.INFO: TCP Data received {"connection_id":50541,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:00:32] local.INFO: Processing buffer {"connection_id":50541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:00:32] local.INFO: IMEI packet received {"connection_id":50541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:00:37] local.INFO: TCP Data received {"connection_id":50541,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:00:37] local.INFO: Processing buffer {"connection_id":50541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:00:37] local.INFO: IMEI packet received {"connection_id":50541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":50541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:00:38] local.INFO: TCP Data received {"connection_id":50541,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:00:38] local.INFO: Processing buffer {"connection_id":50541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:00:38] local.INFO: Packet analysis {"connection_id":50541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:38] local.INFO: Extracted packet for processing {"connection_id":50541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00: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-22 11:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:00:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:00:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":50541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:00:39] local.INFO: GPS data processed {"connection_id":50541,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:00:39] local.INFO: Acknowledgment sent {"connection_id":50541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:00:43] local.INFO: TCP Data received {"connection_id":50541,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:00:43] local.INFO: Processing buffer {"connection_id":50541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:00:43] local.INFO: Packet analysis {"connection_id":50541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:43] local.INFO: Extracted packet for processing {"connection_id":50541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:00:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11: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-22 11:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:00:43] 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-22 11: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-22 11: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-22 11:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:00:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:00:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":50541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:00:43] local.INFO: GPS data processed {"connection_id":50541,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:00:43] local.INFO: Acknowledgment sent {"connection_id":50541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:00:56] local.INFO: TCP Data received {"connection_id":51103,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:56] local.INFO: Processing buffer {"connection_id":51103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:00:56] local.INFO: IMEI packet received {"connection_id":51103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":51103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:01:01] local.INFO: TCP Data received {"connection_id":51103,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:01:01] local.INFO: Processing buffer {"connection_id":51103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:01:01] local.INFO: IMEI packet received {"connection_id":51103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":51103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:01:02] local.INFO: TCP Data received {"connection_id":51103,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9b990012d022840071c2ae00017005a25..."} 
[2026-04-22 11:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9b990012d022840071c2ae00017005a25..."} 
[2026-04-22 11:01:02] local.INFO: Processing buffer {"connection_id":51103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9b990012d022840071c2ae00017005a25..."} 
[2026-04-22 11:01:02] local.INFO: Packet analysis {"connection_id":51103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:01:02] local.INFO: Extracted packet for processing {"connection_id":51103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:01:02] local.INFO: GPS Element Parsed {"raw_longitude":755116096,"raw_latitude":119286496,"longitude_deg":75.5116096,"latitude_deg":11.9286496,"altitude":23,"angle":90,"satellites":37,"speed":37,"hex_longitude":"2d022840","hex_latitude":"071c2ae0","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869946368001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113770445265698816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":144748537310973952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776835738000,"timestamp_ms":1776835738000,"timestamp_seconds":1776835738,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9b990"} 
[2026-04-22 11: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-22 11:01:02] 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-22 11: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505335581310976,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3014186752,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":64,"raw_value":11822263158449408,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84725207088438363,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1297044510956585001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2836246529,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636563190505495,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3759603918,"corrected_to":0} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3221691486,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2818147,"corrected_to":0} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837664,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:02] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,137,28,24,241,158,16,49,157,111,45,64,51,27,36,10,66,48,76,192,59,29,37,23,44,1,240,147,47,179,4,113,205,238,80,200,31,239,55,2,148,7,43,206],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3759603918,"validated":0},{"io_id":200,"original":2818147,"validated":0}]} 
[2026-04-22 11:01:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873607537885380608,"timestamp_seconds":1873607537885380.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 11: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-22 11:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869946368001,"66":14461,"137":206,"28":26368,"24":37,"16":113770445265698816,"45":144748537310973952},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,28,24,16,45]} 
[2026-04-22 11:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869946368001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:01:02] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 11:01:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113770445265698816,"km_value":113770445265698.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":144748537310973952,"description":"Unknown IO ID 45"} 
[2026-04-22 11:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869946368001,"power":14461,"unknown_137":206,"unknown_28":26368,"ignition":37,"odometer":null,"unknown_45":144748537310973952}} 
[2026-04-22 11:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":51103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:01:03] local.INFO: GPS data processed {"connection_id":51103,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:01:03] local.INFO: Acknowledgment sent {"connection_id":51103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:01:06] local.INFO: TCP Data received {"connection_id":50170,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:01:06] local.INFO: Processing buffer {"connection_id":50170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:01:06] local.INFO: IMEI packet received {"connection_id":50170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":50170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:01:26] local.INFO: TCP Data received {"connection_id":50171,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:01:26] local.INFO: Processing buffer {"connection_id":50171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:01:26] local.INFO: IMEI packet received {"connection_id":50171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":50171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:01:31] local.INFO: TCP Data received {"connection_id":50171,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:01:31] local.INFO: Processing buffer {"connection_id":50171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:01:31] local.INFO: IMEI packet received {"connection_id":50171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:01:32] local.INFO: TCP Data received {"connection_id":50171,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:01:32] local.INFO: Processing buffer {"connection_id":50171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:01:32] local.INFO: Packet analysis {"connection_id":50171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:01:32] local.INFO: Extracted packet for processing {"connection_id":50171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:01: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-22 11: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-22 11: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-22 11:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:01:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:01:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":50171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:01:32] local.INFO: GPS data processed {"connection_id":50171,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:01:32] local.INFO: Acknowledgment sent {"connection_id":50171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:01:51] local.INFO: TCP Data received {"connection_id":50419,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:01:51] local.INFO: Processing buffer {"connection_id":50419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:01:51] local.INFO: IMEI packet received {"connection_id":50419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":50419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:02:00] local.INFO: TCP Data received {"connection_id":51103,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ab2ca8012d037d80071c2d80002b006923..."} 
[2026-04-22 11:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ab2ca8012d037d80071c2d80002b006923..."} 
[2026-04-22 11:02:00] local.INFO: Processing buffer {"connection_id":51103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ab2ca8012d037d80071c2d80002b006923..."} 
[2026-04-22 11:02:00] local.INFO: Packet analysis {"connection_id":51103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ab"} 
[2026-04-22 11:02:00] local.INFO: Extracted packet for processing {"connection_id":51103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ab"} 
[2026-04-22 11:02:00] local.INFO: GPS Element Parsed {"raw_longitude":755203456,"raw_latitude":119287168,"longitude_deg":75.5203456,"latitude_deg":11.9287168,"altitude":43,"angle":105,"satellites":35,"speed":36,"hex_longitude":"2d037d80","hex_latitude":"071c2d80","is_valid_coordinates":true} 
[2026-04-22 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-22 11:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869971712001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113774692988354560,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":246149897671163904,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776835833000,"timestamp_ms":1776835833000,"timestamp_seconds":1776835833,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ab2ca8"} 
[2026-04-22 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-22 11:02:00] 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-22 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 11:02:00] 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-22 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-22 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-22 11:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":51103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":51103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":51103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869971712001,"66":14004,"136":206,"28":26368,"24":36,"16":113774692988354560,"45":246149897671163904},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-04-22 11:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869971712001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:02:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-22 11:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113774692988354560,"km_value":113774692988354.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":246149897671163904,"description":"Unknown IO ID 45"} 
[2026-04-22 11:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869971712001,"power":14004,"unknown_136":206,"unknown_28":26368,"ignition":36,"odometer":null,"unknown_45":246149897671163904}} 
[2026-04-22 11:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":51103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:02:00] local.INFO: GPS data processed {"connection_id":51103,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:02:00] local.INFO: Acknowledgment sent {"connection_id":51103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:02:03] local.INFO: TCP Data received {"connection_id":51104,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:03] local.INFO: Processing buffer {"connection_id":51104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:03] local.INFO: IMEI packet received {"connection_id":51104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":51104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:02:04] local.INFO: TCP Data received {"connection_id":51104,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:04] local.INFO: Processing buffer {"connection_id":51104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:04] local.INFO: IMEI packet received {"connection_id":51104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":51104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:02:06] local.INFO: TCP Data received {"connection_id":50171,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:02:06] local.INFO: Processing buffer {"connection_id":50171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:02:06] local.INFO: Packet analysis {"connection_id":50171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:02:06] local.INFO: Extracted packet for processing {"connection_id":50171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02: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-22 11:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:02: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-22 11:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:02: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-22 11:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:02:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:02:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":50171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:02:06] local.INFO: GPS data processed {"connection_id":50171,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:02:06] local.INFO: Acknowledgment sent {"connection_id":50171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:02:06] local.INFO: TCP Data received {"connection_id":51104,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:06] local.INFO: Processing buffer {"connection_id":51104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:06] local.INFO: IMEI packet received {"connection_id":51104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":51104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:02:07] local.INFO: TCP Data received {"connection_id":51104,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ab53b8012d03a280071c1fe80028007124..."} 
[2026-04-22 11:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ab53b8012d03a280071c1fe80028007124..."} 
[2026-04-22 11:02:07] local.INFO: Processing buffer {"connection_id":51104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ab53b8012d03a280071c1fe80028007124..."} 
[2026-04-22 11:02:07] local.INFO: Packet analysis {"connection_id":51104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ab"} 
[2026-04-22 11:02:07] local.INFO: Extracted packet for processing {"connection_id":51104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ab"} 
[2026-04-22 11:02:07] local.INFO: GPS Element Parsed {"raw_longitude":755212928,"raw_latitude":119283688,"longitude_deg":75.5212928,"latitude_deg":11.9283688,"altitude":40,"angle":113,"satellites":36,"speed":41,"hex_longitude":"2d03a280","hex_latitude":"071c1fe8","is_valid_coordinates":true} 
[2026-04-22 11:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869973248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113775174024691712,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":251497922228486144,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776835843000,"timestamp_ms":1776835843000,"timestamp_seconds":1776835843,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ab53b8"} 
[2026-04-22 11:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:02:07] 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-22 11:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 11:02:07] 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-22 11:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869973248001,"66":13298,"136":206,"28":26368,"24":41,"16":113775174024691712,"45":251497922228486144},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-04-22 11:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869973248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:02:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-22 11:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113775174024691712,"km_value":113775174024691.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":251497922228486144,"description":"Unknown IO ID 45"} 
[2026-04-22 11:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869973248001,"power":13298,"unknown_136":206,"unknown_28":26368,"ignition":41,"odometer":null,"unknown_45":251497922228486144}} 
[2026-04-22 11:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":51104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:02:07] local.INFO: GPS data processed {"connection_id":51104,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:02:07] local.INFO: Acknowledgment sent {"connection_id":51104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:02:12] local.INFO: TCP Data received {"connection_id":51104,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ab7ac8012d03c600071c12000027006825..."} 
[2026-04-22 11:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ab7ac8012d03c600071c12000027006825..."} 
[2026-04-22 11:02:12] local.INFO: Processing buffer {"connection_id":51104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ab7ac8012d03c600071c12000027006825..."} 
[2026-04-22 11:02:12] local.INFO: Packet analysis {"connection_id":51104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ab"} 
[2026-04-22 11:02:12] local.INFO: Extracted packet for processing {"connection_id":51104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ab"} 
[2026-04-22 11:02:12] local.INFO: GPS Element Parsed {"raw_longitude":755222016,"raw_latitude":119280128,"longitude_deg":75.5222016,"latitude_deg":11.9280128,"altitude":39,"angle":104,"satellites":37,"speed":35,"hex_longitude":"2d03c600","hex_latitude":"071c1200","is_valid_coordinates":true} 
[2026-04-22 11:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869975808001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113775637881159680,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":261912496365889536,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776835853000,"timestamp_ms":1776835853000,"timestamp_seconds":1776835853,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ab7ac8"} 
[2026-04-22 11:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-04-22 11:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":51104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":51104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":51104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869975808001,"66":13917,"136":206,"28":26368,"24":35,"16":113775637881159680,"45":261912496365889536},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-04-22 11:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869975808001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:02:12] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-22 11:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113775637881159680,"km_value":113775637881159.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":261912496365889536,"description":"Unknown IO ID 45"} 
[2026-04-22 11:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869975808001,"power":13917,"unknown_136":206,"unknown_28":26368,"ignition":35,"odometer":null,"unknown_45":261912496365889536}} 
[2026-04-22 11:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":51104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:02:12] local.INFO: GPS data processed {"connection_id":51104,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:02:12] local.INFO: Acknowledgment sent {"connection_id":51104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:02:26] local.INFO: TCP Data received {"connection_id":50172,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:02:26] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:02:26] local.INFO: IMEI packet received {"connection_id":50172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":50172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:02:32] local.INFO: TCP Data received {"connection_id":50172,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:02:32] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:02:32] local.INFO: IMEI packet received {"connection_id":50172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:02:33] local.INFO: TCP Data received {"connection_id":50172,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:02:33] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:02:33] local.INFO: Packet analysis {"connection_id":50172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:02:33] local.INFO: Extracted packet for processing {"connection_id":50172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:02: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-22 11:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11: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-22 11:02: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:02: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-22 11: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-22 11: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-22 11:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:02:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:02:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:02:33] local.INFO: GPS data processed {"connection_id":50172,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:02:33] local.INFO: Acknowledgment sent {"connection_id":50172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:02:56] local.INFO: TCP Data received {"connection_id":51106,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:56] local.INFO: Processing buffer {"connection_id":51106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:56] local.INFO: IMEI packet received {"connection_id":51106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":51106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:02:59] local.INFO: TCP Data received {"connection_id":51106,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:59] local.INFO: Processing buffer {"connection_id":51106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:02:59] local.INFO: IMEI packet received {"connection_id":51106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":51106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:03:01] local.INFO: TCP Data received {"connection_id":51106,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:03:01] local.INFO: Processing buffer {"connection_id":51106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:03:01] local.INFO: IMEI packet received {"connection_id":51106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":51106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:03:03] local.INFO: TCP Data received {"connection_id":51106,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ab8e50012d03d940071c0f480026005b24..."} 
[2026-04-22 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ab8e50012d03d940071c0f480026005b24..."} 
[2026-04-22 11:03:03] local.INFO: Processing buffer {"connection_id":51106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ab8e50012d03d940071c0f480026005b24..."} 
[2026-04-22 11:03:03] local.INFO: Packet analysis {"connection_id":51106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ab"} 
[2026-04-22 11:03:03] local.INFO: Extracted packet for processing {"connection_id":51106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ab"} 
[2026-04-22 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":755226944,"raw_latitude":119279432,"longitude_deg":75.5226944,"latitude_deg":11.9279432,"altitude":38,"angle":91,"satellites":36,"speed":37,"hex_longitude":"2d03d940","hex_latitude":"071c0f48","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869978368001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113775874104360960,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":271904858038206464,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776835858000,"timestamp_ms":1776835858000,"timestamp_seconds":1776835858,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ab8e50"} 
[2026-04-22 11: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-22 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-22 11:03:03] 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-22 11: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-22 11: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-22 11:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869978368001,"66":13928,"136":206,"28":26368,"24":37,"16":113775874104360960,"45":271904858038206464},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,28,24,16,45]} 
[2026-04-22 11:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869978368001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:03:03] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-22 11:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113775874104360960,"km_value":113775874104360.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":271904858038206464,"description":"Unknown IO ID 45"} 
[2026-04-22 11:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869978368001,"power":13928,"unknown_136":206,"unknown_28":26368,"ignition":37,"odometer":null,"unknown_45":271904858038206464}} 
[2026-04-22 11:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":51106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:03:03] local.INFO: GPS data processed {"connection_id":51106,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:03:03] local.INFO: Acknowledgment sent {"connection_id":51106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:03:06] local.INFO: TCP Data received {"connection_id":50172,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:03:06] local.INFO: Processing buffer {"connection_id":50172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:03:06] local.INFO: Packet analysis {"connection_id":50172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:03:06] local.INFO: Extracted packet for processing {"connection_id":50172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:03: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-22 11: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-22 11: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-22 11:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:03:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:03:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":50172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:03:06] local.INFO: GPS data processed {"connection_id":50172,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:03:06] local.INFO: Acknowledgment sent {"connection_id":50172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:03:26] local.INFO: TCP Data received {"connection_id":50421,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:03:26] local.INFO: Processing buffer {"connection_id":50421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:03:26] local.INFO: IMEI packet received {"connection_id":50421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":50421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:03:32] local.INFO: TCP Data received {"connection_id":50421,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:03:32] local.INFO: Processing buffer {"connection_id":50421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:03:32] local.INFO: IMEI packet received {"connection_id":50421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:03:33] local.INFO: TCP Data received {"connection_id":50421,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:03:33] local.INFO: Processing buffer {"connection_id":50421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:03:33] local.INFO: Packet analysis {"connection_id":50421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:03:33] local.INFO: Extracted packet for processing {"connection_id":50421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11: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-22 11:03: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-22 11: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:03: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-22 11: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-22 11: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-22 11:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:03:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:03:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:03:33] local.INFO: GPS data processed {"connection_id":50421,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:03:33] local.INFO: Acknowledgment sent {"connection_id":50421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:03:34] local.INFO: TCP Data received {"connection_id":51106,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ad3430012d055800071c7c480023005626..."} 
[2026-04-22 11:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ad3430012d055800071c7c480023005626..."} 
[2026-04-22 11:03:34] local.INFO: Processing buffer {"connection_id":51106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ad3430012d055800071c7c480023005626..."} 
[2026-04-22 11:03:34] local.INFO: Packet analysis {"connection_id":51106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ad"} 
[2026-04-22 11:03:34] local.INFO: Extracted packet for processing {"connection_id":51106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ad"} 
[2026-04-22 11:03:34] local.INFO: GPS Element Parsed {"raw_longitude":755324928,"raw_latitude":119307336,"longitude_deg":75.5324928,"latitude_deg":11.9307336,"altitude":35,"angle":86,"satellites":38,"speed":55,"hex_longitude":"2d055800","hex_latitude":"071c7c48","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870005504001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113780946460737536,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":374361749567750144,"note":"Value kept but may cause issues"} 
[2026-04-22 11:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776835966000,"timestamp_ms":1776835966000,"timestamp_seconds":1776835966,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ad3430"} 
[2026-04-22 11: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-22 11:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 11:03:34] 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-22 11: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-22 11: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-22 11:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870005504001,"66":13993,"60":206,"28":26368,"24":55,"16":113780946460737536,"45":374361749567750144},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 11:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870005504001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:03:34] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 11:03:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113780946460737536,"km_value":113780946460737.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":374361749567750144,"description":"Unknown IO ID 45"} 
[2026-04-22 11:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870005504001,"power":13993,"unknown_60":206,"unknown_28":26368,"ignition":55,"odometer":null,"unknown_45":374361749567750144}} 
[2026-04-22 11:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":51106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:03:34] local.INFO: GPS data processed {"connection_id":51106,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:03:34] local.INFO: Acknowledgment sent {"connection_id":51106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:04:01] local.INFO: TCP Data received {"connection_id":50542,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:04:01] local.INFO: Processing buffer {"connection_id":50542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:04:01] local.INFO: IMEI packet received {"connection_id":50542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":50542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:04:04] local.INFO: TCP Data received {"connection_id":50542,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:04:04] local.INFO: Processing buffer {"connection_id":50542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:04:04] local.INFO: IMEI packet received {"connection_id":50542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":50542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:04:05] local.INFO: TCP Data received {"connection_id":50421,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:04:05] local.INFO: Processing buffer {"connection_id":50421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:04:05] local.INFO: Packet analysis {"connection_id":50421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:04:05] local.INFO: Extracted packet for processing {"connection_id":50421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:04: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-22 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-22 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-22 11:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:04:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:04:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":50421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:04:05] local.INFO: GPS data processed {"connection_id":50421,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:04:05] local.INFO: Acknowledgment sent {"connection_id":50421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:04:05] local.INFO: TCP Data received {"connection_id":50542,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ad4f88012d057d00071c7d80001f005926..."} 
[2026-04-22 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ad4f88012d057d00071c7d80001f005926..."} 
[2026-04-22 11:04:05] local.INFO: Processing buffer {"connection_id":50542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ad4f88012d057d00071c7d80001f005926..."} 
[2026-04-22 11:04:05] local.INFO: Packet analysis {"connection_id":50542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ad"} 
[2026-04-22 11:04:05] local.INFO: Extracted packet for processing {"connection_id":50542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ad"} 
[2026-04-22 11:04:05] local.INFO: GPS Element Parsed {"raw_longitude":755334400,"raw_latitude":119307648,"longitude_deg":75.53344,"latitude_deg":11.9307648,"altitude":31,"angle":89,"satellites":38,"speed":44,"hex_longitude":"2d057d00","hex_latitude":"071c7d80","is_valid_coordinates":true} 
[2026-04-22 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-22 11:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870007296001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113781397432303616,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":385057798682855424,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776835973000,"timestamp_ms":1776835973000,"timestamp_seconds":1776835973,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ad4f88"} 
[2026-04-22 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-22 11:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 11:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 11:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870007296001,"66":14374,"60":206,"28":26368,"24":44,"16":113781397432303616,"45":385057798682855424},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 11:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870007296001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:04:05] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 11:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113781397432303616,"km_value":113781397432303.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":385057798682855424,"description":"Unknown IO ID 45"} 
[2026-04-22 11:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870007296001,"power":14374,"unknown_60":206,"unknown_28":26368,"ignition":44,"odometer":null,"unknown_45":385057798682855424}} 
[2026-04-22 11:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":50542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:04:06] local.INFO: GPS data processed {"connection_id":50542,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:04:06] local.INFO: Acknowledgment sent {"connection_id":50542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:04:07] local.INFO: TCP Data received {"connection_id":50542,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ad5758012d0585c0071c7ca0001e006526..."} 
[2026-04-22 11:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ad5758012d0585c0071c7ca0001e006526..."} 
[2026-04-22 11:04:07] local.INFO: Processing buffer {"connection_id":50542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ad5758012d0585c0071c7ca0001e006526..."} 
[2026-04-22 11:04:07] local.INFO: Packet analysis {"connection_id":50542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ad"} 
[2026-04-22 11:04:07] local.INFO: Extracted packet for processing {"connection_id":50542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ad"} 
[2026-04-22 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":755336640,"raw_latitude":119307424,"longitude_deg":75.533664,"latitude_deg":11.9307424,"altitude":30,"angle":101,"satellites":38,"speed":43,"hex_longitude":"2d0585c0","hex_latitude":"071c7ca0","is_valid_coordinates":true} 
[2026-04-22 11:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870009088001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113781500511518720,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":395472372821229568,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776835975000,"timestamp_ms":1776835975000,"timestamp_seconds":1776835975,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ad5758"} 
[2026-04-22 11:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:04:07] 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-22 11:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 11:04:07] 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-22 11:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870009088001,"66":13678,"60":206,"28":26368,"24":43,"16":113781500511518720,"45":395472372821229568},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 11:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870009088001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:04:07] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 11:04:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113781500511518720,"km_value":113781500511518.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":395472372821229568,"description":"Unknown IO ID 45"} 
[2026-04-22 11:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870009088001,"power":13678,"unknown_60":206,"unknown_28":26368,"ignition":43,"odometer":null,"unknown_45":395472372821229568}} 
[2026-04-22 11:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":50542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:04:07] local.INFO: GPS data processed {"connection_id":50542,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:04:07] local.INFO: Acknowledgment sent {"connection_id":50542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:04:32] local.INFO: TCP Data received {"connection_id":51107,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:04:32] local.INFO: Processing buffer {"connection_id":51107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:04:32] local.INFO: IMEI packet received {"connection_id":51107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":51107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:04:37] local.INFO: TCP Data received {"connection_id":51107,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:04:37] local.INFO: Processing buffer {"connection_id":51107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:04:37] local.INFO: IMEI packet received {"connection_id":51107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":51107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:04:39] local.INFO: TCP Data received {"connection_id":50542,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ad72b0012d05a280071c7388001f007026..."} 
[2026-04-22 11:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ad72b0012d05a280071c7388001f007026..."} 
[2026-04-22 11:04:39] local.INFO: Processing buffer {"connection_id":50542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ad72b0012d05a280071c7388001f007026..."} 
[2026-04-22 11:04:39] local.INFO: Packet analysis {"connection_id":50542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ad"} 
[2026-04-22 11:04:39] local.INFO: Extracted packet for processing {"connection_id":50542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ad"} 
[2026-04-22 11:04:39] local.INFO: GPS Element Parsed {"raw_longitude":755344000,"raw_latitude":119305096,"longitude_deg":75.5344,"latitude_deg":11.9305096,"altitude":31,"angle":112,"satellites":38,"speed":45,"hex_longitude":"2d05a280","hex_latitude":"071c7388","is_valid_coordinates":true} 
[2026-04-22 11:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870009600001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113781869878706176,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":397935278867390464,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776835982000,"timestamp_ms":1776835982000,"timestamp_seconds":1776835982,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ad72b0"} 
[2026-04-22 11:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:04:39] 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-22 11:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 11:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870009600001,"66":14396,"60":206,"28":26368,"24":45,"16":113781869878706176,"45":397935278867390464},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 11:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870009600001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:04:39] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 11:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113781869878706176,"km_value":113781869878706.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":397935278867390464,"description":"Unknown IO ID 45"} 
[2026-04-22 11:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870009600001,"power":14396,"unknown_60":206,"unknown_28":26368,"ignition":45,"odometer":null,"unknown_45":397935278867390464}} 
[2026-04-22 11:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":50542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:04:39] local.INFO: GPS data processed {"connection_id":50542,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:04:39] local.INFO: Acknowledgment sent {"connection_id":50542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:04:41] local.INFO: TCP Data received {"connection_id":51107,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:04:41] local.INFO: Processing buffer {"connection_id":51107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:04:41] local.INFO: Packet analysis {"connection_id":51107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:04:41] local.INFO: Extracted packet for processing {"connection_id":51107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:04:41] 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-22 11:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:04:41] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:04:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":51107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:04:41] local.INFO: GPS data processed {"connection_id":51107,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:04:41] local.INFO: Acknowledgment sent {"connection_id":51107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:04:44] local.INFO: TCP Data received {"connection_id":51107,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:04:44] local.INFO: Processing buffer {"connection_id":51107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3a9f810012d7f888005afdcc8000e012c27..."} 
[2026-04-22 11:04:44] local.INFO: Packet analysis {"connection_id":51107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:04:44] local.INFO: Extracted packet for processing {"connection_id":51107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3a9"} 
[2026-04-22 11:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776835754000,"timestamp_ms":1776835754000,"timestamp_seconds":1776835754,"priority":1,"record_length":96,"hex_timestamp":"0000019db3a9f810"} 
[2026-04-22 11:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:04: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-22 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:04:44] 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-22 11:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":51107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":51107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":51107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869833728001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:04:44] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:04:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869833728001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":51107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:04:44] local.INFO: GPS data processed {"connection_id":51107,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:04:44] local.INFO: Acknowledgment sent {"connection_id":51107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:04:57] local.INFO: TCP Data received {"connection_id":50543,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:04:57] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:04:57] local.INFO: IMEI packet received {"connection_id":50543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":50543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:05:24] local.INFO: TCP Data received {"connection_id":50543,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:05:24] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:05:24] local.INFO: IMEI packet received {"connection_id":50543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":50543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:05:26] local.INFO: TCP Data received {"connection_id":50544,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:05:26] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:05:26] local.INFO: IMEI packet received {"connection_id":50544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":50544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:05:27] local.INFO: TCP Data received {"connection_id":50543,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae5540012d069b80071c34100022006b22..."} 
[2026-04-22 11:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae5540012d069b80071c34100022006b22..."} 
[2026-04-22 11:05:27] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae5540012d069b80071c34100022006b22..."} 
[2026-04-22 11:05:27] local.INFO: Packet analysis {"connection_id":50543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:05:27] local.INFO: Extracted packet for processing {"connection_id":50543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:05:27] local.INFO: GPS Element Parsed {"raw_longitude":755407744,"raw_latitude":119288848,"longitude_deg":75.5407744,"latitude_deg":11.9288848,"altitude":34,"angle":107,"satellites":34,"speed":36,"hex_longitude":"2d069b80","hex_latitude":"071c3410","is_valid_coordinates":true} 
[2026-04-22 11:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870025216001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113785112579014656,"note":"Value kept but may cause issues"} 
[2026-04-22 11:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":471470616528527360,"note":"Value kept but may cause issues"} 
[2026-04-22 11:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776836040000,"timestamp_ms":1776836040000,"timestamp_seconds":1776836040,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae5540"} 
[2026-04-22 11:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:05: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-22 11:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 11:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":50543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":50543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":50543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870025216001,"66":13993,"60":206,"28":26368,"24":36,"16":113785112579014656,"45":471470616528527360},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 11:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870025216001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:05:27] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 11:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113785112579014656,"km_value":113785112579014.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":471470616528527360,"description":"Unknown IO ID 45"} 
[2026-04-22 11:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870025216001,"power":13993,"unknown_60":206,"unknown_28":26368,"ignition":36,"odometer":null,"unknown_45":471470616528527360}} 
[2026-04-22 11:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":50543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:05:27] local.INFO: GPS data processed {"connection_id":50543,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:05:27] local.INFO: Acknowledgment sent {"connection_id":50543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:05:29] local.INFO: TCP Data received {"connection_id":50543,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae7c50012d06bcc0071c26880022006f25..."} 
[2026-04-22 11:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae7c50012d06bcc0071c26880022006f25..."} 
[2026-04-22 11:05:29] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae7c50012d06bcc0071c26880022006f25..."} 
[2026-04-22 11:05:29] local.INFO: Packet analysis {"connection_id":50543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:05:29] local.INFO: Extracted packet for processing {"connection_id":50543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:05:29] local.INFO: GPS Element Parsed {"raw_longitude":755416256,"raw_latitude":119285384,"longitude_deg":75.5416256,"latitude_deg":11.9285384,"altitude":34,"angle":111,"satellites":37,"speed":39,"hex_longitude":"2d06bcc0","hex_latitude":"071c2688","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870026240001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113785554960646144,"note":"Value kept but may cause issues"} 
[2026-04-22 11:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":476114953644019712,"note":"Value kept but may cause issues"} 
[2026-04-22 11:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776836050000,"timestamp_ms":1776836050000,"timestamp_seconds":1776836050,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae7c50"} 
[2026-04-22 11: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-22 11:05:29] 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-22 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 11:05:29] 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-22 11: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-22 11: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-22 11:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":50543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":50543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":50543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870026240001,"66":13798,"60":206,"28":26368,"24":39,"16":113785554960646144,"45":476114953644019712},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-04-22 11:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870026240001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:05:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 11:05:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-22 11:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113785554960646144,"km_value":113785554960646.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":476114953644019712,"description":"Unknown IO ID 45"} 
[2026-04-22 11:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870026240001,"power":13798,"unknown_60":206,"unknown_28":26368,"ignition":39,"odometer":null,"unknown_45":476114953644019712}} 
[2026-04-22 11:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":50543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:05:29] local.INFO: GPS data processed {"connection_id":50543,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:05:29] local.INFO: Acknowledgment sent {"connection_id":50543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:05:32] local.INFO: TCP Data received {"connection_id":50544,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:05:32] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:05:32] local.INFO: IMEI packet received {"connection_id":50544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:05:33] local.INFO: TCP Data received {"connection_id":50544,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:05:33] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:05:33] local.INFO: Packet analysis {"connection_id":50544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:05:33] local.INFO: Extracted packet for processing {"connection_id":50544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":9,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869953024001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836055000,"timestamp_ms":1776836055000,"timestamp_seconds":1776836055,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae8fd8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:05: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-22 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-22 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-22 11:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869953024001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869953024001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:05:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:05:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869953024001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":50544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:05:33] local.INFO: GPS data processed {"connection_id":50544,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:05:33] local.INFO: Acknowledgment sent {"connection_id":50544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:06:05] local.INFO: TCP Data received {"connection_id":50544,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:06:05] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:06:05] local.INFO: Packet analysis {"connection_id":50544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:06:05] local.INFO: Extracted packet for processing {"connection_id":50544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":9,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869953024001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836055000,"timestamp_ms":1776836055000,"timestamp_seconds":1776836055,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae8fd8"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:06: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-22 11: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-22 11: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-22 11:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869953024001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869953024001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:06:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:06:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869953024001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":50544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:06:05] local.INFO: GPS data processed {"connection_id":50544,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:06:05] local.INFO: Acknowledgment sent {"connection_id":50544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:06:26] local.INFO: TCP Data received {"connection_id":50425,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:26] local.INFO: Processing buffer {"connection_id":50425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:26] local.INFO: IMEI packet received {"connection_id":50425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":50425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:06:26] local.INFO: TCP Data received {"connection_id":50424,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:06:26] local.INFO: Processing buffer {"connection_id":50424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:06:26] local.INFO: IMEI packet received {"connection_id":50424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":50424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:06:27] local.INFO: TCP Data received {"connection_id":50425,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:27] local.INFO: Processing buffer {"connection_id":50425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:27] local.INFO: IMEI packet received {"connection_id":50425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:06:29] local.INFO: TCP Data received {"connection_id":50425,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:29] local.INFO: Processing buffer {"connection_id":50425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:29] local.INFO: IMEI packet received {"connection_id":50425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":50425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:06:31] local.INFO: TCP Data received {"connection_id":50425,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:31] local.INFO: Processing buffer {"connection_id":50425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:06:31] local.INFO: IMEI packet received {"connection_id":50425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":50425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:06:32] local.INFO: TCP Data received {"connection_id":50424,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:06:32] local.INFO: Processing buffer {"connection_id":50424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:06:32] local.INFO: IMEI packet received {"connection_id":50424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:06:32] local.INFO: TCP Data received {"connection_id":50425,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3afdfc8012d07adc0071c18980049004c27..."} 
[2026-04-22 11:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3afdfc8012d07adc0071c18980049004c27..."} 
[2026-04-22 11:06:32] local.INFO: Processing buffer {"connection_id":50425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3afdfc8012d07adc0071c18980049004c27..."} 
[2026-04-22 11:06:32] local.INFO: Packet analysis {"connection_id":50425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3af"} 
[2026-04-22 11:06:32] local.INFO: Extracted packet for processing {"connection_id":50425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3af"} 
[2026-04-22 11:06:32] local.INFO: GPS Element Parsed {"raw_longitude":755477952,"raw_latitude":119281816,"longitude_deg":75.5477952,"latitude_deg":11.9281816,"altitude":73,"angle":76,"satellites":39,"speed":31,"hex_longitude":"2d07adc0","hex_latitude":"071c1898","is_valid_coordinates":true} 
[2026-04-22 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-22 11:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870051328001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113789132668403712,"note":"Value kept but may cause issues"} 
[2026-04-22 11:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":550846559958710272,"note":"Value kept but may cause issues"} 
[2026-04-22 11:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776836141000,"timestamp_ms":1776836141000,"timestamp_seconds":1776836141,"priority":1,"record_length":96,"hex_timestamp":"0000019db3afdfc8"} 
[2026-04-22 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-22 11:06:32] 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-22 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 11:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 11:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870051328001,"66":13798,"79":206,"28":31744,"24":31,"16":113789132668403712,"45":550846559958710272},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,28,24,16,45]} 
[2026-04-22 11:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870051328001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:06:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-22 11:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113789132668403712,"km_value":113789132668403.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":550846559958710272,"description":"Unknown IO ID 45"} 
[2026-04-22 11:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870051328001,"power":13798,"unknown_79":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":550846559958710272}} 
[2026-04-22 11:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":50425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:06:32] local.INFO: GPS data processed {"connection_id":50425,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:06:32] local.INFO: Acknowledgment sent {"connection_id":50425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:06:33] local.INFO: TCP Data received {"connection_id":50424,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:06:33] local.INFO: Processing buffer {"connection_id":50424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:06:33] local.INFO: Packet analysis {"connection_id":50424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:06:33] local.INFO: Extracted packet for processing {"connection_id":50424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":9,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869953024001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836055000,"timestamp_ms":1776836055000,"timestamp_seconds":1776836055,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae8fd8"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:06: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-22 11: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-22 11: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-22 11:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869953024001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869953024001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:06:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869953024001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:06:33] local.INFO: GPS data processed {"connection_id":50424,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:06:33] local.INFO: Acknowledgment sent {"connection_id":50424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:07:02] local.INFO: TCP Data received {"connection_id":50174,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:07:02] local.INFO: Processing buffer {"connection_id":50174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:07:02] local.INFO: IMEI packet received {"connection_id":50174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":50174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:07:03] local.INFO: TCP Data received {"connection_id":50174,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:07:03] local.INFO: Processing buffer {"connection_id":50174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:07:03] local.INFO: IMEI packet received {"connection_id":50174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":50174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:07:04] local.INFO: TCP Data received {"connection_id":50174,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3afff08012d07cdc0071c1ec00047005b23..."} 
[2026-04-22 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3afff08012d07cdc0071c1ec00047005b23..."} 
[2026-04-22 11:07:04] local.INFO: Processing buffer {"connection_id":50174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3afff08012d07cdc0071c1ec00047005b23..."} 
[2026-04-22 11:07:04] local.INFO: Packet analysis {"connection_id":50174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3af"} 
[2026-04-22 11:07:04] local.INFO: Extracted packet for processing {"connection_id":50174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3af"} 
[2026-04-22 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":755486144,"raw_latitude":119283392,"longitude_deg":75.5486144,"latitude_deg":11.9283392,"altitude":71,"angle":91,"satellites":35,"speed":44,"hex_longitude":"2d07cdc0","hex_latitude":"071c1ec0","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870052096001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113789532100362240,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":553309466005116928,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776836149000,"timestamp_ms":1776836149000,"timestamp_seconds":1776836149,"priority":1,"record_length":96,"hex_timestamp":"0000019db3afff08"} 
[2026-04-22 11: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-22 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 11:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870052096001,"66":13276,"79":206,"28":31744,"24":44,"16":113789532100362240,"45":553309466005116928},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,28,24,16,45]} 
[2026-04-22 11:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870052096001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:07:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-22 11:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113789532100362240,"km_value":113789532100362.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":553309466005116928,"description":"Unknown IO ID 45"} 
[2026-04-22 11:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870052096001,"power":13276,"unknown_79":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":553309466005116928}} 
[2026-04-22 11:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:07:04] local.INFO: GPS data processed {"connection_id":50174,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:07:04] local.INFO: Acknowledgment sent {"connection_id":50174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:07:06] local.INFO: TCP Data received {"connection_id":50424,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:07:06] local.INFO: Processing buffer {"connection_id":50424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:07:06] local.INFO: Packet analysis {"connection_id":50424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:07:06] local.INFO: Extracted packet for processing {"connection_id":50424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":9,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869953024001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776836055000,"timestamp_ms":1776836055000,"timestamp_seconds":1776836055,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae8fd8"} 
[2026-04-22 11:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:07: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-22 11:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:07: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-22 11:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869953024001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869953024001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:07:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:07:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869953024001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":50424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:07:06] local.INFO: GPS data processed {"connection_id":50424,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:07:06] local.INFO: Acknowledgment sent {"connection_id":50424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:07:07] local.INFO: TCP Data received {"connection_id":50174,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b006d8012d07d680071c1d400047006826..."} 
[2026-04-22 11:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b006d8012d07d680071c1d400047006826..."} 
[2026-04-22 11:07:07] local.INFO: Processing buffer {"connection_id":50174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b006d8012d07d680071c1d400047006826..."} 
[2026-04-22 11:07:07] local.INFO: Packet analysis {"connection_id":50174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b0"} 
[2026-04-22 11:07:07] local.INFO: Extracted packet for processing {"connection_id":50174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b0"} 
[2026-04-22 11:07:07] local.INFO: GPS Element Parsed {"raw_longitude":755488384,"raw_latitude":119283008,"longitude_deg":75.5488384,"latitude_deg":11.9283008,"altitude":71,"angle":104,"satellites":38,"speed":44,"hex_longitude":"2d07d680","hex_latitude":"071c1d40","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870054144001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113789639474544640,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562316665260261376,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776836151000,"timestamp_ms":1776836151000,"timestamp_seconds":1776836151,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b006d8"} 
[2026-04-22 11: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-22 11:07:07] 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-22 11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-22 11:07:07] 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-22 11: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-22 11: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-22 11:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870054144001,"66":13993,"79":206,"28":31744,"24":44,"16":113789639474544640,"45":562316665260261376},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,28,24,16,45]} 
[2026-04-22 11:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870054144001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:07:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-22 11:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113789639474544640,"km_value":113789639474544.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":562316665260261376,"description":"Unknown IO ID 45"} 
[2026-04-22 11:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870054144001,"power":13993,"unknown_79":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":562316665260261376}} 
[2026-04-22 11:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":50174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:07:07] local.INFO: GPS data processed {"connection_id":50174,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:07:07] local.INFO: Acknowledgment sent {"connection_id":50174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:07:16] local.INFO: TCP Data received {"connection_id":50545,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:07:16] local.INFO: Processing buffer {"connection_id":50545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:07:16] local.INFO: IMEI packet received {"connection_id":50545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":50545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:07:32] local.INFO: TCP Data received {"connection_id":50546,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:07:32] local.INFO: Processing buffer {"connection_id":50546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:07:32] local.INFO: IMEI packet received {"connection_id":50546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:07:37] local.INFO: TCP Data received {"connection_id":50546,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:07:37] local.INFO: Processing buffer {"connection_id":50546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:07:37] local.INFO: IMEI packet received {"connection_id":50546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":50546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:07:38] local.INFO: TCP Data received {"connection_id":50174,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b02618012d07f7c0071c16080047005b1a..."} 
[2026-04-22 11:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b02618012d07f7c0071c16080047005b1a..."} 
[2026-04-22 11:07:38] local.INFO: Processing buffer {"connection_id":50174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b02618012d07f7c0071c16080047005b1a..."} 
[2026-04-22 11:07:38] local.INFO: Packet analysis {"connection_id":50174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b0"} 
[2026-04-22 11:07:38] local.INFO: Extracted packet for processing {"connection_id":50174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b0"} 
[2026-04-22 11:07:38] local.INFO: GPS Element Parsed {"raw_longitude":755496896,"raw_latitude":119281160,"longitude_deg":75.5496896,"latitude_deg":11.928116,"altitude":71,"angle":91,"satellites":26,"speed":42,"hex_longitude":"2d07f7c0","hex_latitude":"071c1608","is_valid_coordinates":true} 
[2026-04-22 11:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870054656001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113790056086372352,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564779571306381312,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776836159000,"timestamp_ms":1776836159000,"timestamp_seconds":1776836159,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b02618"} 
[2026-04-22 11:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 11:07:38] 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-22 11:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870054656001,"66":13798,"79":206,"28":31744,"24":42,"16":113790056086372352,"45":564779571306381312},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,28,24,16,45]} 
[2026-04-22 11:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870054656001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:07:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-22 11:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113790056086372352,"km_value":113790056086372.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":564779571306381312,"description":"Unknown IO ID 45"} 
[2026-04-22 11:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870054656001,"power":13798,"unknown_79":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":564779571306381312}} 
[2026-04-22 11:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":50174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:07:38] local.INFO: GPS data processed {"connection_id":50174,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:07:38] local.INFO: Acknowledgment sent {"connection_id":50174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:07:39] local.INFO: TCP Data received {"connection_id":50546,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:07:39] local.INFO: Processing buffer {"connection_id":50546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:07:39] local.INFO: Packet analysis {"connection_id":50546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:07:39] local.INFO: Extracted packet for processing {"connection_id":50546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":9,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869953024001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07: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-22 11:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776836055000,"timestamp_ms":1776836055000,"timestamp_seconds":1776836055,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae8fd8"} 
[2026-04-22 11:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:07: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-22 11:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869953024001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869953024001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:07:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:07:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869953024001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":50546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:07:39] local.INFO: GPS data processed {"connection_id":50546,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:07:39] local.INFO: Acknowledgment sent {"connection_id":50546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:07:42] local.INFO: TCP Data received {"connection_id":50546,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:07:42] local.INFO: Processing buffer {"connection_id":50546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:07:42] local.INFO: Packet analysis {"connection_id":50546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:07:42] local.INFO: Extracted packet for processing {"connection_id":50546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":9,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869953024001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776836055000,"timestamp_ms":1776836055000,"timestamp_seconds":1776836055,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae8fd8"} 
[2026-04-22 11:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:07:42] 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-22 11:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869953024001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869953024001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:07:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:07:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869953024001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":50546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:07:42] local.INFO: GPS data processed {"connection_id":50546,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:07:42] local.INFO: Acknowledgment sent {"connection_id":50546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:07:51] local.INFO: TCP Data received {"connection_id":50175,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:07:51] local.INFO: Processing buffer {"connection_id":50175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:07:51] local.INFO: IMEI packet received {"connection_id":50175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":50175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:08:27] local.INFO: TCP Data received {"connection_id":50426,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:08:27] local.INFO: Processing buffer {"connection_id":50426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:08:27] local.INFO: IMEI packet received {"connection_id":50426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":50426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:08:32] local.INFO: TCP Data received {"connection_id":50426,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:08:32] local.INFO: Processing buffer {"connection_id":50426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:08:32] local.INFO: IMEI packet received {"connection_id":50426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:08:34] local.INFO: TCP Data received {"connection_id":50426,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:08:34] local.INFO: Processing buffer {"connection_id":50426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:08:34] local.INFO: Packet analysis {"connection_id":50426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:08:34] local.INFO: Extracted packet for processing {"connection_id":50426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":9,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869953024001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:08: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-22 11:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776836055000,"timestamp_ms":1776836055000,"timestamp_seconds":1776836055,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae8fd8"} 
[2026-04-22 11:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869953024001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869953024001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:08:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:08:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869953024001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":50426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:08:34] local.INFO: GPS data processed {"connection_id":50426,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:08:34] local.INFO: Acknowledgment sent {"connection_id":50426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:09:06] local.INFO: TCP Data received {"connection_id":50426,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:09:06] local.INFO: Processing buffer {"connection_id":50426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:09:06] local.INFO: Packet analysis {"connection_id":50426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:09:06] local.INFO: Extracted packet for processing {"connection_id":50426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":9,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869953024001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776836055000,"timestamp_ms":1776836055000,"timestamp_seconds":1776836055,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae8fd8"} 
[2026-04-22 11:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11: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-22 11:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:09: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-22 11:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869953024001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869953024001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:09:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:09:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869953024001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":50426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:09:06] local.INFO: GPS data processed {"connection_id":50426,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:09:06] local.INFO: Acknowledgment sent {"connection_id":50426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:09:26] local.INFO: TCP Data received {"connection_id":50177,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:09:26] local.INFO: Processing buffer {"connection_id":50177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:09:26] local.INFO: IMEI packet received {"connection_id":50177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":50177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:09:32] local.INFO: TCP Data received {"connection_id":50177,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:09:32] local.INFO: Processing buffer {"connection_id":50177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:09:32] local.INFO: IMEI packet received {"connection_id":50177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:09:33] local.INFO: TCP Data received {"connection_id":50177,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:09:33] local.INFO: Processing buffer {"connection_id":50177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ae8fd8012d7f888005afdcc80009012c27..."} 
[2026-04-22 11:09:33] local.INFO: Packet analysis {"connection_id":50177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:09:33] local.INFO: Extracted packet for processing {"connection_id":50177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ae"} 
[2026-04-22 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":9,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454869953024001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836055000,"timestamp_ms":1776836055000,"timestamp_seconds":1776836055,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ae8fd8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:09: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-22 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-22 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-22 11:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454869953024001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454869953024001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:09:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:09:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454869953024001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":50177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:09:33] local.INFO: GPS data processed {"connection_id":50177,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:09:33] local.INFO: Acknowledgment sent {"connection_id":50177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:10:05] local.INFO: TCP Data received {"connection_id":50177,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:10:05] local.INFO: Processing buffer {"connection_id":50177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:10:05] local.INFO: Packet analysis {"connection_id":50177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:10:05] local.INFO: Extracted packet for processing {"connection_id":50177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11: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-22 11:10: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:10:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:10:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":50177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:10:05] local.INFO: GPS data processed {"connection_id":50177,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:10:05] local.INFO: Acknowledgment sent {"connection_id":50177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:10:32] local.INFO: TCP Data received {"connection_id":50427,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:10:32] local.INFO: Processing buffer {"connection_id":50427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:10:32] local.INFO: IMEI packet received {"connection_id":50427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:10:37] local.INFO: TCP Data received {"connection_id":50427,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:10:37] local.INFO: Processing buffer {"connection_id":50427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:10:37] local.INFO: IMEI packet received {"connection_id":50427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":50427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:10:38] local.INFO: TCP Data received {"connection_id":50427,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:10:38] local.INFO: Processing buffer {"connection_id":50427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:10:38] local.INFO: Packet analysis {"connection_id":50427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:10:38] local.INFO: Extracted packet for processing {"connection_id":50427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:10: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-22 11:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:10:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:10:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":50427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:10:38] local.INFO: GPS data processed {"connection_id":50427,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:10:38] local.INFO: Acknowledgment sent {"connection_id":50427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:10:42] local.INFO: TCP Data received {"connection_id":50427,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:10:42] local.INFO: Processing buffer {"connection_id":50427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:10:42] local.INFO: Packet analysis {"connection_id":50427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:10:42] local.INFO: Extracted packet for processing {"connection_id":50427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:10:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:10:42] 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-22 11:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:10:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:10:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":50427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:10:42] local.INFO: GPS data processed {"connection_id":50427,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:10:42] local.INFO: Acknowledgment sent {"connection_id":50427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:11:26] local.INFO: TCP Data received {"connection_id":51110,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:11:26] local.INFO: Processing buffer {"connection_id":51110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:11:26] local.INFO: IMEI packet received {"connection_id":51110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":51110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:11:32] local.INFO: TCP Data received {"connection_id":51110,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:11:32] local.INFO: Processing buffer {"connection_id":51110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:11:32] local.INFO: IMEI packet received {"connection_id":51110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":51110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:11:33] local.INFO: TCP Data received {"connection_id":51110,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:11:33] local.INFO: Processing buffer {"connection_id":51110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:11:33] local.INFO: Packet analysis {"connection_id":51110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:11:33] local.INFO: Extracted packet for processing {"connection_id":51110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11: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-22 11:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:11: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-22 11: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-22 11: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-22 11:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:11:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":51110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:11:33] local.INFO: GPS data processed {"connection_id":51110,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:11:33] local.INFO: Acknowledgment sent {"connection_id":51110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:12:05] local.INFO: TCP Data received {"connection_id":51110,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:12:05] local.INFO: Processing buffer {"connection_id":51110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:12:05] local.INFO: Packet analysis {"connection_id":51110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:12:05] local.INFO: Extracted packet for processing {"connection_id":51110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11: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-22 11:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:12: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-22 11:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:12:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:12:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":51110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:12:05] local.INFO: GPS data processed {"connection_id":51110,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:12:05] local.INFO: Acknowledgment sent {"connection_id":51110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:12:26] local.INFO: TCP Data received {"connection_id":50429,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:12:26] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:12:26] local.INFO: IMEI packet received {"connection_id":50429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":50429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:12:32] local.INFO: TCP Data received {"connection_id":50429,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:12:32] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:12:32] local.INFO: IMEI packet received {"connection_id":50429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:12:34] local.INFO: TCP Data received {"connection_id":50429,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:12:34] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:12:34] local.INFO: Packet analysis {"connection_id":50429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:12:34] local.INFO: Extracted packet for processing {"connection_id":50429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 11:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:12:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:12:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":50429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:12:34] local.INFO: GPS data processed {"connection_id":50429,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:12:34] local.INFO: Acknowledgment sent {"connection_id":50429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:13:05] local.INFO: TCP Data received {"connection_id":50429,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:13:05] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:13:05] local.INFO: Packet analysis {"connection_id":50429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:13:05] local.INFO: Extracted packet for processing {"connection_id":50429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11: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-22 11:13: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:13:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:13:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":50429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:13:05] local.INFO: GPS data processed {"connection_id":50429,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:13:05] local.INFO: Acknowledgment sent {"connection_id":50429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:13:20] local.INFO: TCP Data received {"connection_id":51111,"ip":"117.225.252.230","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:13:20] local.INFO: Processing buffer {"connection_id":51111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:13:20] local.INFO: IMEI packet received {"connection_id":51111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":51111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:13:21] local.INFO: TCP Data received {"connection_id":51111,"ip":"117.225.252.230","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b4e8d8012d0c3100071cbdc80030005b26..."} 
[2026-04-22 11:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b4e8d8012d0c3100071cbdc80030005b26..."} 
[2026-04-22 11:13:21] local.INFO: Processing buffer {"connection_id":51111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b4e8d8012d0c3100071cbdc80030005b26..."} 
[2026-04-22 11:13:21] local.INFO: Packet analysis {"connection_id":51111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b4"} 
[2026-04-22 11:13:21] local.INFO: Extracted packet for processing {"connection_id":51111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b4"} 
[2026-04-22 11:13:21] local.INFO: GPS Element Parsed {"raw_longitude":755773696,"raw_latitude":119324104,"longitude_deg":75.5773696,"latitude_deg":11.9324104,"altitude":48,"angle":91,"satellites":38,"speed":42,"hex_longitude":"2d0c3100","hex_latitude":"071cbdc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870133760001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113803550873616384,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867435540025102336,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776836471000,"timestamp_ms":1776836471000,"timestamp_seconds":1776836471,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b4e8d8"} 
[2026-04-22 11: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-22 11:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 11:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":51111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":51111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":51111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.230","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870133760001,"66":14080,"250":206,"28":31744,"24":42,"16":113803550873616384,"45":867435540025102336},"client_ip":"117.225.252.230","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-04-22 11:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870133760001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:13:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 11:13:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113803550873616384,"km_value":113803550873616.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":867435540025102336,"description":"Unknown IO ID 45"} 
[2026-04-22 11:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870133760001,"power":14080,"unknown_250":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":867435540025102336}} 
[2026-04-22 11:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":51111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:13:21] local.INFO: GPS data processed {"connection_id":51111,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:13:21] local.INFO: Acknowledgment sent {"connection_id":51111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:13:21] local.INFO: TCP Data received {"connection_id":50550,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:13:21] local.INFO: Processing buffer {"connection_id":50550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:13:21] local.INFO: IMEI packet received {"connection_id":50550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":50550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:13:32] local.INFO: TCP Data received {"connection_id":50551,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:13:32] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:13:32] local.INFO: IMEI packet received {"connection_id":50551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:13:37] local.INFO: TCP Data received {"connection_id":50551,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:13:37] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:13:37] local.INFO: IMEI packet received {"connection_id":50551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":50551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:13:38] local.INFO: TCP Data received {"connection_id":50551,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:13:38] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:13:38] local.INFO: Packet analysis {"connection_id":50551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:13:38] local.INFO: Extracted packet for processing {"connection_id":50551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13: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-22 11:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:13: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-22 11:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:13:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:13:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":50551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:13:38] local.INFO: GPS data processed {"connection_id":50551,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:13:38] local.INFO: Acknowledgment sent {"connection_id":50551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:13:43] local.INFO: TCP Data received {"connection_id":50551,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:13:43] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:13:43] local.INFO: Packet analysis {"connection_id":50551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:13:43] local.INFO: Extracted packet for processing {"connection_id":50551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:13:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:13:43] 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-22 11:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:13:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:13:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":50551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:13:43] local.INFO: GPS data processed {"connection_id":50551,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:13:43] local.INFO: Acknowledgment sent {"connection_id":50551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:13:51] local.INFO: TCP Data received {"connection_id":50552,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:13:51] local.INFO: Processing buffer {"connection_id":50552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:13:51] local.INFO: IMEI packet received {"connection_id":50552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":50552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:14:27] local.INFO: TCP Data received {"connection_id":50430,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:14:27] local.INFO: Processing buffer {"connection_id":50430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:14:27] local.INFO: IMEI packet received {"connection_id":50430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:14:32] local.INFO: TCP Data received {"connection_id":50430,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:14:32] local.INFO: Processing buffer {"connection_id":50430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:14:32] local.INFO: IMEI packet received {"connection_id":50430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:14:33] local.INFO: TCP Data received {"connection_id":50430,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:14:33] local.INFO: Processing buffer {"connection_id":50430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:14:33] local.INFO: Packet analysis {"connection_id":50430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:14:33] local.INFO: Extracted packet for processing {"connection_id":50430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:14: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-22 11:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11: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-22 11:14: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-22 11:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:14: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-22 11: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-22 11: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-22 11:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:14:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:14:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":50430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:14:33] local.INFO: GPS data processed {"connection_id":50430,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:14:33] local.INFO: Acknowledgment sent {"connection_id":50430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:14:39] local.INFO: TCP Data received {"connection_id":50430,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:14:39] local.INFO: Processing buffer {"connection_id":50430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b327a0012d7f888005afdcc8000a012c29..."} 
[2026-04-22 11:14:39] local.INFO: Packet analysis {"connection_id":50430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:14:39] local.INFO: Extracted packet for processing {"connection_id":50430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b3"} 
[2026-04-22 11:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870030080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:14: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-22 11:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776836356000,"timestamp_ms":1776836356000,"timestamp_seconds":1776836356,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b327a0"} 
[2026-04-22 11:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:14: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-22 11:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870030080001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870030080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:14:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:14:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870030080001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":50430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:14:39] local.INFO: GPS data processed {"connection_id":50430,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:14:39] local.INFO: Acknowledgment sent {"connection_id":50430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:15:11] local.INFO: TCP Data received {"connection_id":50430,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:15:11] local.INFO: Processing buffer {"connection_id":50430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:15:11] local.INFO: Packet analysis {"connection_id":50430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:15:11] local.INFO: Extracted packet for processing {"connection_id":50430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:15: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-22 11:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 11:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:15: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-22 11:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:15:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:15:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":50430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:15:11] local.INFO: GPS data processed {"connection_id":50430,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:15:11] local.INFO: Acknowledgment sent {"connection_id":50430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:15:26] local.INFO: TCP Data received {"connection_id":50553,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:15:26] local.INFO: Processing buffer {"connection_id":50553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:15:26] local.INFO: IMEI packet received {"connection_id":50553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":50553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:15:32] local.INFO: TCP Data received {"connection_id":50553,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:15:32] local.INFO: Processing buffer {"connection_id":50553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:15:32] local.INFO: IMEI packet received {"connection_id":50553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:15:33] local.INFO: TCP Data received {"connection_id":50553,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:15:33] local.INFO: Processing buffer {"connection_id":50553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:15:33] local.INFO: Packet analysis {"connection_id":50553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:15:33] local.INFO: Extracted packet for processing {"connection_id":50553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:15: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-22 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-22 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-22 11:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:15:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:15:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:15:33] local.INFO: GPS data processed {"connection_id":50553,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:15:33] local.INFO: Acknowledgment sent {"connection_id":50553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:16:05] local.INFO: TCP Data received {"connection_id":50553,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:16:05] local.INFO: Processing buffer {"connection_id":50553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:16:05] local.INFO: Packet analysis {"connection_id":50553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:16:05] local.INFO: Extracted packet for processing {"connection_id":50553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 11: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-22 11:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:16: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-22 11: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-22 11: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-22 11:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:16:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:16:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":50553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:16:05] local.INFO: GPS data processed {"connection_id":50553,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:16:05] local.INFO: Acknowledgment sent {"connection_id":50553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:16:32] local.INFO: TCP Data received {"connection_id":50432,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:16:32] local.INFO: Processing buffer {"connection_id":50432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:16:32] local.INFO: IMEI packet received {"connection_id":50432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":50432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:16:37] local.INFO: TCP Data received {"connection_id":50432,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:16:37] local.INFO: Processing buffer {"connection_id":50432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:16:37] local.INFO: IMEI packet received {"connection_id":50432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":50432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:16:39] local.INFO: TCP Data received {"connection_id":50432,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:16:39] local.INFO: Processing buffer {"connection_id":50432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:16:39] local.INFO: Packet analysis {"connection_id":50432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:16:39] local.INFO: Extracted packet for processing {"connection_id":50432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:16: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-22 11:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 11:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:16: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-22 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:16:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:16:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":50432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:16:39] local.INFO: GPS data processed {"connection_id":50432,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:16:39] local.INFO: Acknowledgment sent {"connection_id":50432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:16:42] local.INFO: TCP Data received {"connection_id":50432,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:16:42] local.INFO: Processing buffer {"connection_id":50432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:16:42] local.INFO: Packet analysis {"connection_id":50432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:16:42] local.INFO: Extracted packet for processing {"connection_id":50432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 11: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-22 11:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:16:42] 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-22 11: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-22 11: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-22 11:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:16:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:16:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":50432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:16:42] local.INFO: GPS data processed {"connection_id":50432,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:16:42] local.INFO: Acknowledgment sent {"connection_id":50432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:17:26] local.INFO: TCP Data received {"connection_id":50554,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:17:26] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:17:26] local.INFO: IMEI packet received {"connection_id":50554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":50554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:17:32] local.INFO: TCP Data received {"connection_id":50554,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:17:32] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:17:32] local.INFO: IMEI packet received {"connection_id":50554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:17:33] local.INFO: TCP Data received {"connection_id":50554,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:17:33] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:17:33] local.INFO: Packet analysis {"connection_id":50554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:17:33] local.INFO: Extracted packet for processing {"connection_id":50554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 11: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-22 11:17: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:17: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-22 11: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-22 11: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-22 11:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:17:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:17:33] local.INFO: GPS data processed {"connection_id":50554,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:17:33] local.INFO: Acknowledgment sent {"connection_id":50554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:18:05] local.INFO: TCP Data received {"connection_id":50554,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:18:05] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:18:05] local.INFO: Packet analysis {"connection_id":50554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:18:05] local.INFO: Extracted packet for processing {"connection_id":50554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 11: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-22 11:18: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:18: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-22 11: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-22 11: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-22 11:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:18:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:18:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":50554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:18:05] local.INFO: GPS data processed {"connection_id":50554,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:18:05] local.INFO: Acknowledgment sent {"connection_id":50554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:18:26] local.INFO: TCP Data received {"connection_id":50434,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:18:26] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:18:26] local.INFO: IMEI packet received {"connection_id":50434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":50434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:18:32] local.INFO: TCP Data received {"connection_id":50434,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:18:32] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:18:32] local.INFO: IMEI packet received {"connection_id":50434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:18:33] local.INFO: TCP Data received {"connection_id":50434,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:18:33] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:18:33] local.INFO: Packet analysis {"connection_id":50434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:18:33] local.INFO: Extracted packet for processing {"connection_id":50434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:18: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-22 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-22 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-22 11:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:18:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":50434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:18:33] local.INFO: GPS data processed {"connection_id":50434,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:18:33] local.INFO: Acknowledgment sent {"connection_id":50434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:18:48] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:48] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:48] local.INFO: IMEI packet received {"connection_id":50435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":50435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:18:49] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:49] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:49] local.INFO: IMEI packet received {"connection_id":50435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":50435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:18:51] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:51] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:51] local.INFO: IMEI packet received {"connection_id":50435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":50435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:18:52] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:52] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:18:52] local.INFO: IMEI packet received {"connection_id":50435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":50435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:18:59] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3badc48012d0f7180071e2d900030005622..."} 
[2026-04-22 11:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3badc48012d0f7180071e2d900030005622..."} 
[2026-04-22 11:18:59] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3badc48012d0f7180071e2d900030005622..."} 
[2026-04-22 11:18:59] local.INFO: Packet analysis {"connection_id":50435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ba"} 
[2026-04-22 11:18:59] local.INFO: Extracted packet for processing {"connection_id":50435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ba"} 
[2026-04-22 11:18:59] local.INFO: GPS Element Parsed {"raw_longitude":755986816,"raw_latitude":119418256,"longitude_deg":75.5986816,"latitude_deg":11.9418256,"altitude":48,"angle":86,"satellites":34,"speed":45,"hex_longitude":"2d0f7180","hex_latitude":"071e2d90","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113812806528139264,"note":"Value kept but may cause issues"} 
[2026-04-22 11:18:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 11:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776836861000,"timestamp_ms":1776836861000,"timestamp_seconds":1776836861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3badc48"} 
[2026-04-22 11: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-22 11:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 11:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":50435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13972,"5":206,"28":31744,"24":45,"16":113812806528139264},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16]} 
[2026-04-22 11:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-22 11:18:59] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-22 11:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113812806528139264,"km_value":113812806528139.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:18:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13972,"unknown_5":206,"unknown_28":31744,"ignition":45,"odometer":null}} 
[2026-04-22 11:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":50435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:18:59] local.INFO: GPS data processed {"connection_id":50435,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:18:59] local.INFO: Acknowledgment sent {"connection_id":50435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:19:01] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bafb88012d0f9480071e32080030005326..."} 
[2026-04-22 11:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bafb88012d0f9480071e32080030005326..."} 
[2026-04-22 11:19:01] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bafb88012d0f9480071e32080030005326..."} 
[2026-04-22 11:19:01] local.INFO: Packet analysis {"connection_id":50435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ba"} 
[2026-04-22 11:19:01] local.INFO: Extracted packet for processing {"connection_id":50435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ba"} 
[2026-04-22 11:19:01] local.INFO: GPS Element Parsed {"raw_longitude":755995776,"raw_latitude":119419400,"longitude_deg":75.5995776,"latitude_deg":11.94194,"altitude":48,"angle":83,"satellites":38,"speed":45,"hex_longitude":"2d0f9480","hex_latitude":"071e3208","is_valid_coordinates":true} 
[2026-04-22 11:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870236416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113813236024868864,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1112811350996652032,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776836869000,"timestamp_ms":1776836869000,"timestamp_seconds":1776836869,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bafb88"} 
[2026-04-22 11:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-22 11:19:01] 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-22 11:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":50435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870236416001,"66":14070,"5":206,"28":31744,"24":45,"16":113813236024868864,"45":1112811350996652032},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-04-22 11:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870236416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:19:01] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-22 11:19:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113813236024868864,"km_value":113813236024868.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1112811350996652032,"description":"Unknown IO ID 45"} 
[2026-04-22 11:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870236416001,"power":14070,"unknown_5":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1112811350996652032}} 
[2026-04-22 11:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":50435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:19:01] local.INFO: GPS data processed {"connection_id":50435,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:19:01] local.INFO: Acknowledgment sent {"connection_id":50435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:19:05] local.INFO: TCP Data received {"connection_id":50434,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:19:05] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:19:05] local.INFO: Packet analysis {"connection_id":50434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:19:05] local.INFO: Extracted packet for processing {"connection_id":50434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 11:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11: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-22 11:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:19: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-22 11:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:19:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:19:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":50434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:19:05] local.INFO: GPS data processed {"connection_id":50434,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:19:05] local.INFO: Acknowledgment sent {"connection_id":50434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:19:16] local.INFO: TCP Data received {"connection_id":50555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:19:16] local.INFO: Processing buffer {"connection_id":50555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:19:16] local.INFO: IMEI packet received {"connection_id":50555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":50555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:19:27] local.INFO: TCP Data received {"connection_id":50556,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:19:27] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:19:27] local.INFO: IMEI packet received {"connection_id":50556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:19:32] local.INFO: TCP Data received {"connection_id":50556,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:19:32] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:19:32] local.INFO: IMEI packet received {"connection_id":50556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:19:33] local.INFO: TCP Data received {"connection_id":50556,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:19:33] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3b7bf68012d7f888005afdcc8000a012c28..."} 
[2026-04-22 11:19:33] local.INFO: Packet analysis {"connection_id":50556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:19:33] local.INFO: Extracted packet for processing {"connection_id":50556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3b7"} 
[2026-04-22 11:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":10,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870107136001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836657000,"timestamp_ms":1776836657000,"timestamp_seconds":1776836657,"priority":1,"record_length":96,"hex_timestamp":"0000019db3b7bf68"} 
[2026-04-22 11: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-22 11:19: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:19: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-22 11: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-22 11: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-22 11:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870107136001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870107136001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:19:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:19:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870107136001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:19:33] local.INFO: GPS data processed {"connection_id":50556,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:19:33] local.INFO: Acknowledgment sent {"connection_id":50556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:19:33] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bbbed8012d106f80071e2d500030004723..."} 
[2026-04-22 11:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bbbed8012d106f80071e2d500030004723..."} 
[2026-04-22 11:19:33] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bbbed8012d106f80071e2d500030004723..."} 
[2026-04-22 11:19:33] local.INFO: Packet analysis {"connection_id":50435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bb"} 
[2026-04-22 11:19:33] local.INFO: Extracted packet for processing {"connection_id":50435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bb"} 
[2026-04-22 11:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756051840,"raw_latitude":119418192,"longitude_deg":75.605184,"latitude_deg":11.9418192,"altitude":48,"angle":71,"satellites":35,"speed":49,"hex_longitude":"2d106f80","hex_latitude":"071e2d50","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870249216001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113816092178120704,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1174102527174948864,"note":"Value kept but may cause issues"} 
[2026-04-22 11:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836919000,"timestamp_ms":1776836919000,"timestamp_seconds":1776836919,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bbbed8"} 
[2026-04-22 11: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-22 11:19: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-22 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 11:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870249216001,"66":14004,"201":206,"28":31744,"24":49,"16":113816092178120704,"45":1174102527174948864},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-04-22 11:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870249216001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:19:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-22 11:19:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113816092178120704,"km_value":113816092178120.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1174102527174948864,"description":"Unknown IO ID 45"} 
[2026-04-22 11:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870249216001,"power":14004,"unknown_201":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":1174102527174948864}} 
[2026-04-22 11:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:19:33] local.INFO: GPS data processed {"connection_id":50435,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:19:33] local.INFO: Acknowledgment sent {"connection_id":50435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:19:51] local.INFO: TCP Data received {"connection_id":50182,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:19:51] local.INFO: Processing buffer {"connection_id":50182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:19:51] local.INFO: IMEI packet received {"connection_id":50182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":50182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:20:05] local.INFO: TCP Data received {"connection_id":50556,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:20:05] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:20:05] local.INFO: Packet analysis {"connection_id":50556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:20:05] local.INFO: Extracted packet for processing {"connection_id":50556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:20: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-22 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-22 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-22 11:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:20:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:20:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":50556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:20:05] local.INFO: GPS data processed {"connection_id":50556,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:20:05] local.INFO: Acknowledgment sent {"connection_id":50556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:20:06] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bbda30012d109100071e3cd8002f003f22..."} 
[2026-04-22 11:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bbda30012d109100071e3cd8002f003f22..."} 
[2026-04-22 11:20:06] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bbda30012d109100071e3cd8002f003f22..."} 
[2026-04-22 11:20:06] local.INFO: Packet analysis {"connection_id":50435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bb"} 
[2026-04-22 11:20:06] local.INFO: Extracted packet for processing {"connection_id":50435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bb"} 
[2026-04-22 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756060416,"raw_latitude":119422168,"longitude_deg":75.6060416,"latitude_deg":11.9422168,"altitude":47,"angle":63,"satellites":34,"speed":53,"hex_longitude":"2d109100","hex_latitude":"071e3cd8","is_valid_coordinates":true} 
[2026-04-22 11:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870251264001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113816543149686784,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1184305995081142272,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776836926000,"timestamp_ms":1776836926000,"timestamp_seconds":1776836926,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bbda30"} 
[2026-04-22 11:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 11:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870251264001,"66":14004,"201":206,"28":31744,"24":53,"16":113816543149686784,"45":1184305995081142272},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-04-22 11:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870251264001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:20:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-22 11:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113816543149686784,"km_value":113816543149686.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1184305995081142272,"description":"Unknown IO ID 45"} 
[2026-04-22 11:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870251264001,"power":14004,"unknown_201":206,"unknown_28":31744,"ignition":53,"odometer":null,"unknown_45":1184305995081142272}} 
[2026-04-22 11:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":50435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:20:06] local.INFO: GPS data processed {"connection_id":50435,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:20:06] local.INFO: Acknowledgment sent {"connection_id":50435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:20:26] local.INFO: TCP Data received {"connection_id":50183,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:20:26] local.INFO: Processing buffer {"connection_id":50183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:20:26] local.INFO: IMEI packet received {"connection_id":50183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":50183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:20:32] local.INFO: TCP Data received {"connection_id":50183,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:20:32] local.INFO: Processing buffer {"connection_id":50183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:20:32] local.INFO: IMEI packet received {"connection_id":50183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:20:34] local.INFO: TCP Data received {"connection_id":50183,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:20:34] local.INFO: Processing buffer {"connection_id":50183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:20:34] local.INFO: Packet analysis {"connection_id":50183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:20:34] local.INFO: Extracted packet for processing {"connection_id":50183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11: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-22 11:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:20: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-22 11: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-22 11: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-22 11:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:20:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:20:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":50183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:20:34] local.INFO: GPS data processed {"connection_id":50183,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:20:34] local.INFO: Acknowledgment sent {"connection_id":50183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:20:38] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bbf1a0012d10ab40071e4d48002e003026..."} 
[2026-04-22 11:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bbf1a0012d10ab40071e4d48002e003026..."} 
[2026-04-22 11:20:38] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bbf1a0012d10ab40071e4d48002e003026..."} 
[2026-04-22 11:20:38] local.INFO: Packet analysis {"connection_id":50435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bb"} 
[2026-04-22 11:20:38] local.INFO: Extracted packet for processing {"connection_id":50435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bb"} 
[2026-04-22 11:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756067136,"raw_latitude":119426376,"longitude_deg":75.6067136,"latitude_deg":11.9426376,"altitude":46,"angle":48,"satellites":38,"speed":50,"hex_longitude":"2d10ab40","hex_latitude":"071e4d48","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870253056001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113816921106808832,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1193735406801967104,"note":"Value kept but may cause issues"} 
[2026-04-22 11:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776836932000,"timestamp_ms":1776836932000,"timestamp_seconds":1776836932,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bbf1a0"} 
[2026-04-22 11: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-22 11:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 11:20:38] 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-22 11: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-22 11: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-22 11:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870253056001,"66":14048,"201":206,"28":31744,"24":50,"16":113816921106808832,"45":1193735406801967104},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-04-22 11:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870253056001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:20:38] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-22 11:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113816921106808832,"km_value":113816921106808.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1193735406801967104,"description":"Unknown IO ID 45"} 
[2026-04-22 11:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870253056001,"power":14048,"unknown_201":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1193735406801967104}} 
[2026-04-22 11:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":50435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:20:38] local.INFO: GPS data processed {"connection_id":50435,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:20:38] local.INFO: Acknowledgment sent {"connection_id":50435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:21:05] local.INFO: TCP Data received {"connection_id":50183,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:21:05] local.INFO: Processing buffer {"connection_id":50183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:21:05] local.INFO: Packet analysis {"connection_id":50183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:21:05] local.INFO: Extracted packet for processing {"connection_id":50183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:21: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-22 11: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-22 11: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-22 11:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:21:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:21:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":50183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:21:05] local.INFO: GPS data processed {"connection_id":50183,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:21:05] local.INFO: Acknowledgment sent {"connection_id":50183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:21:09] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bd1a80012d1156c0071f3e700035004627..."} 
[2026-04-22 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bd1a80012d1156c0071f3e700035004627..."} 
[2026-04-22 11:21:09] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bd1a80012d1156c0071f3e700035004627..."} 
[2026-04-22 11:21:09] local.INFO: Packet analysis {"connection_id":50435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bd"} 
[2026-04-22 11:21:09] local.INFO: Extracted packet for processing {"connection_id":50435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bd"} 
[2026-04-22 11:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756111040,"raw_latitude":119488112,"longitude_deg":75.611104,"latitude_deg":11.9488112,"altitude":53,"angle":70,"satellites":39,"speed":39,"hex_longitude":"2d1156c0","hex_latitude":"071f3e70","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870271488001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 11:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113820713562931200,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1239967671742816256,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 11:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776837008000,"timestamp_ms":1776837008000,"timestamp_seconds":1776837008,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bd1a80"} 
[2026-04-22 11: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-22 11:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 11:21:09] 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-22 11: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-22 11: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-22 11:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870271488001,"66":13939,"200":0,"28":31744,"24":39,"16":113820713562931200,"45":1239967671742816256},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-22 11:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870271488001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113820713562931200,"km_value":113820713562931.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1239967671742816256,"description":"Unknown IO ID 45"} 
[2026-04-22 11:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870271488001,"power":13939,"gsm_signal":0,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1239967671742816256}} 
[2026-04-22 11:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":50435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:21:09] local.INFO: GPS data processed {"connection_id":50435,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:21:09] local.INFO: Acknowledgment sent {"connection_id":50435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:21:26] local.INFO: TCP Data received {"connection_id":50558,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:21:26] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:21:26] local.INFO: IMEI packet received {"connection_id":50558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":50558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:21:32] local.INFO: TCP Data received {"connection_id":50558,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:21:32] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:21:32] local.INFO: IMEI packet received {"connection_id":50558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:21:33] local.INFO: TCP Data received {"connection_id":50558,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:21:33] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:21:33] local.INFO: Packet analysis {"connection_id":50558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:21:33] local.INFO: Extracted packet for processing {"connection_id":50558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11: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-22 11:21: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:21: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-22 11: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-22 11: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-22 11:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:21:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":50558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:21:33] local.INFO: GPS data processed {"connection_id":50558,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:21:33] local.INFO: Acknowledgment sent {"connection_id":50558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:21:47] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bd4190012d117b40071f49300036005021..."} 
[2026-04-22 11:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bd4190012d117b40071f49300036005021..."} 
[2026-04-22 11:21:47] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bd4190012d117b40071f49300036005021..."} 
[2026-04-22 11:21:47] local.INFO: Packet analysis {"connection_id":50435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bd"} 
[2026-04-22 11:21:47] local.INFO: Extracted packet for processing {"connection_id":50435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bd"} 
[2026-04-22 11:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756120384,"raw_latitude":119490864,"longitude_deg":75.6120384,"latitude_deg":11.9490864,"altitude":54,"angle":80,"satellites":33,"speed":38,"hex_longitude":"2d117b40","hex_latitude":"071f4930","is_valid_coordinates":true} 
[2026-04-22 11:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870274048001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 11:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113821177419399168,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1249397083463380992,"note":"Value kept but may cause issues"} 
[2026-04-22 11:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 11:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776837018000,"timestamp_ms":1776837018000,"timestamp_seconds":1776837018,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bd4190"} 
[2026-04-22 11:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-22 11:21:47] 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-22 11:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870274048001,"66":14004,"200":0,"28":31744,"24":38,"16":113821177419399168,"45":1249397083463380992},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-22 11:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870274048001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:21:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113821177419399168,"km_value":113821177419399.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1249397083463380992,"description":"Unknown IO ID 45"} 
[2026-04-22 11:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870274048001,"power":14004,"gsm_signal":0,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1249397083463380992}} 
[2026-04-22 11:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":50435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:21:47] local.INFO: GPS data processed {"connection_id":50435,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:21:47] local.INFO: Acknowledgment sent {"connection_id":50435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:22:05] local.INFO: TCP Data received {"connection_id":50558,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:22:05] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:22:05] local.INFO: Packet analysis {"connection_id":50558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:22:05] local.INFO: Extracted packet for processing {"connection_id":50558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11: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-22 11: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-22 11: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:22: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-22 11: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-22 11: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-22 11:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:22:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":50558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:22:05] local.INFO: GPS data processed {"connection_id":50558,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:22:05] local.INFO: Acknowledgment sent {"connection_id":50558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:22:19] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3be5300012d12b640071f2718002b005c23..."} 
[2026-04-22 11:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3be5300012d12b640071f2718002b005c23..."} 
[2026-04-22 11:22:19] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3be5300012d12b640071f2718002b005c23..."} 
[2026-04-22 11:22:19] local.INFO: Packet analysis {"connection_id":50435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3be"} 
[2026-04-22 11:22:19] local.INFO: Extracted packet for processing {"connection_id":50435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3be"} 
[2026-04-22 11:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756201024,"raw_latitude":119482136,"longitude_deg":75.6201024,"latitude_deg":11.9482136,"altitude":43,"angle":92,"satellites":35,"speed":63,"hex_longitude":"2d12b640","hex_latitude":"071f2718","is_valid_coordinates":true} 
[2026-04-22 11:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870292992001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 11:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113825128789311488,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1338202438613897216,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 11:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776837088000,"timestamp_ms":1776837088000,"timestamp_seconds":1776837088,"priority":1,"record_length":96,"hex_timestamp":"0000019db3be5300"} 
[2026-04-22 11:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:22: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-22 11:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 11:22: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-22 11:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":50435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870292992001,"66":13917,"200":0,"28":31744,"24":63,"16":113825128789311488,"45":1338202438613897216},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-22 11:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870292992001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113825128789311488,"km_value":113825128789311.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1338202438613897216,"description":"Unknown IO ID 45"} 
[2026-04-22 11:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870292992001,"power":13917,"gsm_signal":0,"unknown_28":31744,"ignition":63,"odometer":null,"unknown_45":1338202438613897216}} 
[2026-04-22 11:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":50435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:22:19] local.INFO: GPS data processed {"connection_id":50435,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:22:19] local.INFO: Acknowledgment sent {"connection_id":50435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:22:32] local.INFO: TCP Data received {"connection_id":50436,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:22:32] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:22:32] local.INFO: IMEI packet received {"connection_id":50436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:22:37] local.INFO: TCP Data received {"connection_id":50436,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:22:37] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:22:37] local.INFO: IMEI packet received {"connection_id":50436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":50436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:22:39] local.INFO: TCP Data received {"connection_id":50436,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:22:39] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:22:39] local.INFO: Packet analysis {"connection_id":50436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:22:39] local.INFO: Extracted packet for processing {"connection_id":50436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11: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-22 11:22: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:22:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:22:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":50436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:22:39] local.INFO: GPS data processed {"connection_id":50436,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:22:39] local.INFO: Acknowledgment sent {"connection_id":50436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:22:42] local.INFO: TCP Data received {"connection_id":50436,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:22:42] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:22:42] local.INFO: Packet analysis {"connection_id":50436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:22:42] local.INFO: Extracted packet for processing {"connection_id":50436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:22:42] 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-22 11:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:22:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:22:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":50436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:22:42] local.INFO: GPS data processed {"connection_id":50436,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:22:42] local.INFO: Acknowledgment sent {"connection_id":50436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:22:50] local.INFO: TCP Data received {"connection_id":50435,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3be6688012d12d5c0071f22600029006823..."} 
[2026-04-22 11:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3be6688012d12d5c0071f22600029006823..."} 
[2026-04-22 11:22:50] local.INFO: Processing buffer {"connection_id":50435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3be6688012d12d5c0071f22600029006823..."} 
[2026-04-22 11:22:50] local.INFO: Packet analysis {"connection_id":50435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3be"} 
[2026-04-22 11:22:50] local.INFO: Extracted packet for processing {"connection_id":50435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3be"} 
[2026-04-22 11:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756209088,"raw_latitude":119480928,"longitude_deg":75.6209088,"latitude_deg":11.9480928,"altitude":41,"angle":104,"satellites":35,"speed":63,"hex_longitude":"2d12d5c0","hex_latitude":"071f2260","is_valid_coordinates":true} 
[2026-04-22 11:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870294528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 11:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113825519631335424,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1348335537775646720,"note":"Value kept but may cause issues"} 
[2026-04-22 11:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 11:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776837093000,"timestamp_ms":1776837093000,"timestamp_seconds":1776837093,"priority":1,"record_length":96,"hex_timestamp":"0000019db3be6688"} 
[2026-04-22 11:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-22 11:22: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-22 11:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":50435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":50435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870294528001,"66":13830,"200":0,"28":31744,"24":63,"16":113825519631335424,"45":1348335537775646720},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-22 11:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870294528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:22:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113825519631335424,"km_value":113825519631335.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1348335537775646720,"description":"Unknown IO ID 45"} 
[2026-04-22 11:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870294528001,"power":13830,"gsm_signal":0,"unknown_28":31744,"ignition":63,"odometer":null,"unknown_45":1348335537775646720}} 
[2026-04-22 11:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":50435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:22:51] local.INFO: GPS data processed {"connection_id":50435,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:22:51] local.INFO: Acknowledgment sent {"connection_id":50435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:23:27] local.INFO: TCP Data received {"connection_id":50560,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:23:27] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:23:27] local.INFO: IMEI packet received {"connection_id":50560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":50560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:23:28] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.249.93","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:23:28] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:23:28] local.INFO: IMEI packet received {"connection_id":50437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":50437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:23:30] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.249.93","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:23:30] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:23:30] local.INFO: IMEI packet received {"connection_id":50437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":50437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:23:32] local.INFO: TCP Data received {"connection_id":50560,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:23:32] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:23:32] local.INFO: IMEI packet received {"connection_id":50560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:23:33] local.INFO: TCP Data received {"connection_id":50560,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:23:33] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:23:33] local.INFO: Packet analysis {"connection_id":50560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:23:33] local.INFO: Extracted packet for processing {"connection_id":50560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:23:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:23:33] local.INFO: GPS data processed {"connection_id":50560,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:23:33] local.INFO: Acknowledgment sent {"connection_id":50560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:23:33] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.249.93","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:23:33] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:23:33] local.INFO: IMEI packet received {"connection_id":50437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":50437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:23:34] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3be7df8012d12f7c0071f15b00027006f23..."} 
[2026-04-22 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3be7df8012d12f7c0071f15b00027006f23..."} 
[2026-04-22 11:23:34] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3be7df8012d12f7c0071f15b00027006f23..."} 
[2026-04-22 11:23:34] local.INFO: Packet analysis {"connection_id":50437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3be"} 
[2026-04-22 11:23:34] local.INFO: Extracted packet for processing {"connection_id":50437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3be"} 
[2026-04-22 11:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756217792,"raw_latitude":119477680,"longitude_deg":75.6217792,"latitude_deg":11.947768,"altitude":39,"angle":111,"satellites":35,"speed":57,"hex_longitude":"2d12f7c0","hex_latitude":"071f15b0","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870295808001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113825962012966912,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1357201999541723136,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 11:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837099000,"timestamp_ms":1776837099000,"timestamp_seconds":1776837099,"priority":1,"record_length":96,"hex_timestamp":"0000019db3be7df8"} 
[2026-04-22 11: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-22 11:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 11:23:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13507708,"corrected_to":0} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":24,"raw_value":12947857534418944,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399855880699136,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3015559752,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3187734529,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3888644302,"corrected_to":0} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":171,"raw_value":576791782210144031,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6917584004885839922,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:34] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,200,28,24,241,158,16,99,157,83,45,64,39,43,35,10,66,59,36,51,33,98,32,1,240,137,179,31,4,113,205,42,237,52,56,34,239,54,2,148,7,46,171,44],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":200,"original":13507708,"validated":0},{"io_id":205,"original":3888644302,"validated":0}]} 
[2026-04-22 11:23:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954475855092318208,"timestamp_seconds":2954475855092318.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 11: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-22 11:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870295808001,"66":14428,"200":0,"28":31744,"24":57,"16":113825962012966912,"45":1357201999541723136},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-22 11:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870295808001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:23:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113825962012966912,"km_value":113825962012966.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1357201999541723136,"description":"Unknown IO ID 45"} 
[2026-04-22 11:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870295808001,"power":14428,"gsm_signal":0,"unknown_28":31744,"ignition":57,"odometer":null,"unknown_45":1357201999541723136}} 
[2026-04-22 11:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":50437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:23:34] local.INFO: GPS data processed {"connection_id":50437,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:23:34] local.INFO: Acknowledgment sent {"connection_id":50437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:23:37] local.INFO: TCP Data received {"connection_id":50560,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:23:37] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:23:37] local.INFO: Packet analysis {"connection_id":50560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:23:37] local.INFO: Extracted packet for processing {"connection_id":50560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:23: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-22 11: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-22 11: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-22 11:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:23:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:23:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":50560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:23:37] local.INFO: GPS data processed {"connection_id":50560,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:23:37] local.INFO: Acknowledgment sent {"connection_id":50560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:24:06] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bfd9a0012d1460c0071f4b70002a004426..."} 
[2026-04-22 11:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bfd9a0012d1460c0071f4b70002a004426..."} 
[2026-04-22 11:24:06] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bfd9a0012d1460c0071f4b70002a004426..."} 
[2026-04-22 11:24:06] local.INFO: Packet analysis {"connection_id":50437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bf"} 
[2026-04-22 11:24:06] local.INFO: Extracted packet for processing {"connection_id":50437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bf"} 
[2026-04-22 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756310208,"raw_latitude":119491440,"longitude_deg":75.6310208,"latitude_deg":11.949144,"altitude":42,"angle":68,"satellites":38,"speed":47,"hex_longitude":"2d1460c0","hex_latitude":"071f4b70","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870318080001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113830591987712000,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1458110778694414336,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776837188000,"timestamp_ms":1776837188000,"timestamp_seconds":1776837188,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bfd9a0"} 
[2026-04-22 11: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-22 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 11:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870318080001,"66":13961,"133":206,"28":31744,"24":47,"16":113830591987712000,"45":1458110778694414336},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 11:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870318080001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:24:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 11:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113830591987712000,"km_value":113830591987712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1458110778694414336,"description":"Unknown IO ID 45"} 
[2026-04-22 11:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870318080001,"power":13961,"unknown_133":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1458110778694414336}} 
[2026-04-22 11:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":50437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:24:06] local.INFO: GPS data processed {"connection_id":50437,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:24:06] local.INFO: Acknowledgment sent {"connection_id":50437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:24:10] local.INFO: TCP Data received {"connection_id":50560,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:24:10] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:24:10] local.INFO: Packet analysis {"connection_id":50560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:24:10] local.INFO: Extracted packet for processing {"connection_id":50560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11: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-22 11:24: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:24:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:24:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":50560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:24:10] local.INFO: GPS data processed {"connection_id":50560,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:24:10] local.INFO: Acknowledgment sent {"connection_id":50560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:24:26] local.INFO: TCP Data received {"connection_id":50561,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:24:26] local.INFO: Processing buffer {"connection_id":50561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:24:26] local.INFO: IMEI packet received {"connection_id":50561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":50561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:24:32] local.INFO: TCP Data received {"connection_id":50561,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:24:32] local.INFO: Processing buffer {"connection_id":50561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:24:32] local.INFO: IMEI packet received {"connection_id":50561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:24:34] local.INFO: TCP Data received {"connection_id":50561,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:24:34] local.INFO: Processing buffer {"connection_id":50561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bc5730012d7f888005afdcc8000d012c2a..."} 
[2026-04-22 11:24:34] local.INFO: Packet analysis {"connection_id":50561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:24:34] local.INFO: Extracted packet for processing {"connection_id":50561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bc"} 
[2026-04-22 11:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870184192001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24: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-22 11:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776836958000,"timestamp_ms":1776836958000,"timestamp_seconds":1776836958,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bc5730"} 
[2026-04-22 11:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:24: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-22 11:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870184192001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870184192001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:24:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:24:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870184192001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":50561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:24:34] local.INFO: GPS data processed {"connection_id":50561,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:24:34] local.INFO: Acknowledgment sent {"connection_id":50561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:24:37] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3bff110012d147740071f5860002c003624..."} 
[2026-04-22 11:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3bff110012d147740071f5860002c003624..."} 
[2026-04-22 11:24:37] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3bff110012d147740071f5860002c003624..."} 
[2026-04-22 11:24:37] local.INFO: Packet analysis {"connection_id":50437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3bf"} 
[2026-04-22 11:24:37] local.INFO: Extracted packet for processing {"connection_id":50437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3bf"} 
[2026-04-22 11:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756315968,"raw_latitude":119494752,"longitude_deg":75.6315968,"latitude_deg":11.9494752,"altitude":44,"angle":54,"satellites":36,"speed":42,"hex_longitude":"2d147740","hex_latitude":"071f5860","is_valid_coordinates":true} 
[2026-04-22 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-22 11:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870320128001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113830909815291904,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1468384615345123328,"note":"Value kept but may cause issues"} 
[2026-04-22 11:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776837194000,"timestamp_ms":1776837194000,"timestamp_seconds":1776837194,"priority":1,"record_length":96,"hex_timestamp":"0000019db3bff110"} 
[2026-04-22 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-22 11:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 11:24:37] 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-22 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-22 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-22 11:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870320128001,"66":14004,"133":206,"28":31744,"24":42,"16":113830909815291904,"45":1468384615345123328},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 11:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870320128001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:24:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 11:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113830909815291904,"km_value":113830909815291.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1468384615345123328,"description":"Unknown IO ID 45"} 
[2026-04-22 11:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870320128001,"power":14004,"unknown_133":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1468384615345123328}} 
[2026-04-22 11:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":50437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:24:37] local.INFO: GPS data processed {"connection_id":50437,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:24:37] local.INFO: Acknowledgment sent {"connection_id":50437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:25:07] local.INFO: TCP Data received {"connection_id":50561,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:25:07] local.INFO: Processing buffer {"connection_id":50561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:25:07] local.INFO: Packet analysis {"connection_id":50561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:25:07] local.INFO: Extracted packet for processing {"connection_id":50561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25: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-22 11:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:25: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-22 11:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:25:07] 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-22 11:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:25:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:25:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":50561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:25:07] local.INFO: GPS data processed {"connection_id":50561,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:25:07] local.INFO: Acknowledgment sent {"connection_id":50561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:25:08] local.INFO: TCP Data received {"connection_id":50437,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c01438012d149540071f6f480032003525..."} 
[2026-04-22 11:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c01438012d149540071f6f480032003525..."} 
[2026-04-22 11:25:08] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c01438012d149540071f6f480032003525..."} 
[2026-04-22 11:25:08] local.INFO: Packet analysis {"connection_id":50437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:25:08] local.INFO: Extracted packet for processing {"connection_id":50437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756323648,"raw_latitude":119500616,"longitude_deg":75.6323648,"latitude_deg":11.9500616,"altitude":50,"angle":53,"satellites":37,"speed":41,"hex_longitude":"2d149540","hex_latitude":"071f6f48","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870321664001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113831369376792576,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1474717802321960960,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776837203000,"timestamp_ms":1776837203000,"timestamp_seconds":1776837203,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c01438"} 
[2026-04-22 11: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-22 11:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 11:25:08] 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-22 11: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-22 11: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-22 11:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870321664001,"66":13820,"133":206,"28":31744,"24":41,"16":113831369376792576,"45":1474717802321960960},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-22 11:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870321664001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:25:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-22 11:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113831369376792576,"km_value":113831369376792.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1474717802321960960,"description":"Unknown IO ID 45"} 
[2026-04-22 11:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870321664001,"power":13820,"unknown_133":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1474717802321960960}} 
[2026-04-22 11:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":50437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:25:09] local.INFO: GPS data processed {"connection_id":50437,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:25:09] local.INFO: Acknowledgment sent {"connection_id":50437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:25:16] local.INFO: TCP Data received {"connection_id":50562,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:25:16] local.INFO: Processing buffer {"connection_id":50562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:25:16] local.INFO: IMEI packet received {"connection_id":50562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":50562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:25:32] local.INFO: TCP Data received {"connection_id":50185,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:25:32] local.INFO: Processing buffer {"connection_id":50185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:25:32] local.INFO: IMEI packet received {"connection_id":50185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:25:33] local.INFO: TCP Data received {"connection_id":51114,"ip":"117.225.249.93","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:25:33] local.INFO: Processing buffer {"connection_id":51114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:25:33] local.INFO: IMEI packet received {"connection_id":51114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":51114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:25:34] local.INFO: TCP Data received {"connection_id":51114,"ip":"117.225.249.93","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:25:34] local.INFO: Processing buffer {"connection_id":51114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:25:34] local.INFO: IMEI packet received {"connection_id":51114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":51114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:25:35] local.INFO: TCP Data received {"connection_id":51114,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c11220012d15aa40071fd0100021004a27..."} 
[2026-04-22 11:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c11220012d15aa40071fd0100021004a27..."} 
[2026-04-22 11:25:35] local.INFO: Processing buffer {"connection_id":51114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c11220012d15aa40071fd0100021004a27..."} 
[2026-04-22 11:25:35] local.INFO: Packet analysis {"connection_id":51114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c1"} 
[2026-04-22 11:25:35] local.INFO: Extracted packet for processing {"connection_id":51114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c1"} 
[2026-04-22 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756394560,"raw_latitude":119525392,"longitude_deg":75.639456,"latitude_deg":11.9525392,"altitude":33,"angle":74,"satellites":39,"speed":45,"hex_longitude":"2d15aa40","hex_latitude":"071fd010","is_valid_coordinates":true} 
[2026-04-22 11:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338560001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113835054458732544,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1550927152273637376,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776837268000,"timestamp_ms":1776837268000,"timestamp_seconds":1776837268,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c11220"} 
[2026-04-22 11:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 11:25:35] 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-22 11:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338560001,"66":13830,"132":206,"28":31744,"24":45,"16":113835054458732544,"45":1550927152273637376},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-04-22 11:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338560001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:25:35] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-04-22 11:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113835054458732544,"km_value":113835054458732.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1550927152273637376,"description":"Unknown IO ID 45"} 
[2026-04-22 11:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338560001,"power":13830,"unknown_132":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1550927152273637376}} 
[2026-04-22 11:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":51114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:25:35] local.INFO: GPS data processed {"connection_id":51114,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:25:35] local.INFO: Acknowledgment sent {"connection_id":51114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:25:37] local.INFO: TCP Data received {"connection_id":50185,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:25:37] local.INFO: Processing buffer {"connection_id":50185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:25:37] local.INFO: IMEI packet received {"connection_id":50185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":50185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:25:38] local.INFO: TCP Data received {"connection_id":50185,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:25:38] local.INFO: Processing buffer {"connection_id":50185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:25:38] local.INFO: Packet analysis {"connection_id":50185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:25:38] local.INFO: Extracted packet for processing {"connection_id":50185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25: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-22 11:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:25: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-22 11:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:25:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:25:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":50185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:25:38] local.INFO: GPS data processed {"connection_id":50185,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:25:38] local.INFO: Acknowledgment sent {"connection_id":50185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:25:39] local.INFO: TCP Data received {"connection_id":51114,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c13160012d15cd00071fd7d0001e004f29..."} 
[2026-04-22 11:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c13160012d15cd00071fd7d0001e004f29..."} 
[2026-04-22 11:25:39] local.INFO: Processing buffer {"connection_id":51114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c13160012d15cd00071fd7d0001e004f29..."} 
[2026-04-22 11:25:39] local.INFO: Packet analysis {"connection_id":51114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c1"} 
[2026-04-22 11:25:39] local.INFO: Extracted packet for processing {"connection_id":51114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c1"} 
[2026-04-22 11:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756403456,"raw_latitude":119527376,"longitude_deg":75.6403456,"latitude_deg":11.9527376,"altitude":30,"angle":79,"satellites":41,"speed":45,"hex_longitude":"2d15cd00","hex_latitude":"071fd7d0","is_valid_coordinates":true} 
[2026-04-22 11:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870340608001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113835483955462144,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561130620179976192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776837276000,"timestamp_ms":1776837276000,"timestamp_seconds":1776837276,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c13160"} 
[2026-04-22 11:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":24,"raw_value":14073757441261568,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399855881319936,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3015748752,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3233302529,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3336568874,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884253390,"corrected_to":0} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2415996181,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":141,"raw_value":5764938566459197215,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.WARNING: Large IO value detected {"io_id":169,"raw_value":8070504409159237681,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:39] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,132,28,24,241,158,16,108,157,242,45,199,34,39,10,66,107,223,192,197,36,133,196,1,240,104,179,31,4,113,205,51,172,44,224,37,239,56,2,148,7,43,50,141,169],"length":528,"final_offset":658,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3884253390,"validated":0}]} 
[2026-04-22 11:25:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377982134618750976,"timestamp_seconds":2377982134618751.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 11:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870340608001,"66":14428,"132":206,"28":31744,"24":45,"16":113835483955462144,"45":1561130620179976192},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-04-22 11:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870340608001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:25:39] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-04-22 11:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113835483955462144,"km_value":113835483955462.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561130620179976192,"description":"Unknown IO ID 45"} 
[2026-04-22 11:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870340608001,"power":14428,"unknown_132":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1561130620179976192}} 
[2026-04-22 11:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":51114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:25:39] local.INFO: GPS data processed {"connection_id":51114,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:25:39] local.INFO: Acknowledgment sent {"connection_id":51114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:25:43] local.INFO: TCP Data received {"connection_id":50185,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:25:43] local.INFO: Processing buffer {"connection_id":50185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:25:43] local.INFO: Packet analysis {"connection_id":50185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:25:43] local.INFO: Extracted packet for processing {"connection_id":50185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:25:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:25:43] 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-22 11:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:25:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:25:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":50185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:25:43] local.INFO: GPS data processed {"connection_id":50185,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:25:43] local.INFO: Acknowledgment sent {"connection_id":50185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:25:51] local.INFO: TCP Data received {"connection_id":50438,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:25:51] local.INFO: Processing buffer {"connection_id":50438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:25:51] local.INFO: IMEI packet received {"connection_id":50438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":50438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:26:11] local.INFO: TCP Data received {"connection_id":51114,"ip":"117.225.249.93","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c15488012d15f100071fdd60001e005427..."} 
[2026-04-22 11:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c15488012d15f100071fdd60001e005427..."} 
[2026-04-22 11:26:11] local.INFO: Processing buffer {"connection_id":51114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c15488012d15f100071fdd60001e005427..."} 
[2026-04-22 11:26:11] local.INFO: Packet analysis {"connection_id":51114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c1"} 
[2026-04-22 11:26:11] local.INFO: Extracted packet for processing {"connection_id":51114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c1"} 
[2026-04-22 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756412672,"raw_latitude":119528800,"longitude_deg":75.6412672,"latitude_deg":11.95288,"altitude":30,"angle":84,"satellites":39,"speed":34,"hex_longitude":"2d15f100","hex_latitude":"071fdd60","is_valid_coordinates":true} 
[2026-04-22 11:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870342656001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113835926337093632,"note":"Value kept but may cause issues"} 
[2026-04-22 11:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1570911875621179392,"note":"Value kept but may cause issues"} 
[2026-04-22 11:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776837285000,"timestamp_ms":1776837285000,"timestamp_seconds":1776837285,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c15488"} 
[2026-04-22 11:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 11:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":51114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":51114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":51114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.249.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870342656001,"66":14396,"131":206,"28":31744,"24":34,"16":113835926337093632,"45":1570911875621179392},"client_ip":"117.225.249.93","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-22 11:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870342656001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:26:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 11:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113835926337093632,"km_value":113835926337093.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1570911875621179392,"description":"Unknown IO ID 45"} 
[2026-04-22 11:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870342656001,"power":14396,"unknown_131":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1570911875621179392}} 
[2026-04-22 11:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":51114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:26:11] local.INFO: GPS data processed {"connection_id":51114,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:26:11] local.INFO: Acknowledgment sent {"connection_id":51114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:26:27] local.INFO: TCP Data received {"connection_id":51115,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:26:27] local.INFO: Processing buffer {"connection_id":51115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:26:27] local.INFO: IMEI packet received {"connection_id":51115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":51115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:26:32] local.INFO: TCP Data received {"connection_id":51115,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:26:32] local.INFO: Processing buffer {"connection_id":51115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:26:32] local.INFO: IMEI packet received {"connection_id":51115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":51115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:26:33] local.INFO: TCP Data received {"connection_id":51115,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:26:33] local.INFO: Processing buffer {"connection_id":51115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:26:33] local.INFO: Packet analysis {"connection_id":51115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:26:33] local.INFO: Extracted packet for processing {"connection_id":51115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11: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-22 11:26: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:26: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-22 11: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-22 11: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-22 11:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:26:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:26:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":51115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:26:33] local.INFO: GPS data processed {"connection_id":51115,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:26:33] local.INFO: Acknowledgment sent {"connection_id":51115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:27:06] local.INFO: TCP Data received {"connection_id":51115,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:27:06] local.INFO: Processing buffer {"connection_id":51115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:27:06] local.INFO: Packet analysis {"connection_id":51115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:27:06] local.INFO: Extracted packet for processing {"connection_id":51115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27: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-22 11:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:27: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-22 11:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:27: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-22 11:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:27:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:27:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":51115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:27:06] local.INFO: GPS data processed {"connection_id":51115,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:27:06] local.INFO: Acknowledgment sent {"connection_id":51115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:27:26] local.INFO: TCP Data received {"connection_id":50439,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:27:26] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:27:26] local.INFO: IMEI packet received {"connection_id":50439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":50439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:27:32] local.INFO: TCP Data received {"connection_id":50439,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:27:32] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:27:32] local.INFO: IMEI packet received {"connection_id":50439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:27:33] local.INFO: TCP Data received {"connection_id":50439,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:27:33] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:27:33] local.INFO: Packet analysis {"connection_id":50439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:27:33] local.INFO: Extracted packet for processing {"connection_id":50439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11: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-22 11:27: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:27: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-22 11: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-22 11: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-22 11:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:27:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":50439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:27:33] local.INFO: GPS data processed {"connection_id":50439,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:27:33] local.INFO: Acknowledgment sent {"connection_id":50439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:27:43] local.INFO: TCP Data received {"connection_id":51117,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:27:43] local.INFO: Processing buffer {"connection_id":51117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:27:43] local.INFO: IMEI packet received {"connection_id":51117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":51117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:27:43] local.INFO: TCP Data received {"connection_id":51117,"ip":"117.225.129.107","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 11:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51117,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 11:27:43] local.INFO: Processing buffer {"connection_id":51117,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 11:27:43] local.INFO: IMEI packet received {"connection_id":51117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":51117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:27:48] local.INFO: TCP Data received {"connection_id":51117,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:27:48] local.INFO: Processing buffer {"connection_id":51117,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 11:27:48] local.INFO: IMEI packet received {"connection_id":51117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":51117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:27:50] local.INFO: TCP Data received {"connection_id":51117,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c2ac48012d171480072092c8002c002c27..."} 
[2026-04-22 11:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c2ac48012d171480072092c8002c002c27..."} 
[2026-04-22 11:27:50] local.INFO: Processing buffer {"connection_id":51117,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019db3..."} 
[2026-04-22 11:27:50] local.INFO: IMEI packet received {"connection_id":51117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":51117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:27:53] local.INFO: TCP Data received {"connection_id":51117,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c2cb88012d1730400720ab50002e003326..."} 
[2026-04-22 11:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c2cb88012d1730400720ab50002e003326..."} 
[2026-04-22 11:27:53] local.INFO: Processing buffer {"connection_id":51117,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019db3c2ac48012d171480072092c8002c002c27..."} 
[2026-04-22 11:27:53] local.INFO: Packet analysis {"connection_id":51117,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019db3c2"} 
[2026-04-22 11:27:53] local.INFO: Extracted packet for processing {"connection_id":51117,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c2"} 
[2026-04-22 11:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756487296,"raw_latitude":119575240,"longitude_deg":75.6487296,"latitude_deg":11.957524,"altitude":44,"angle":44,"satellites":39,"speed":47,"hex_longitude":"2d171480","hex_latitude":"072092c8","is_valid_coordinates":true} 
[2026-04-22 11:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870365440001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113840255664128000,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1656058056086673408,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27: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-22 11:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776837373000,"timestamp_ms":1776837373000,"timestamp_seconds":1776837373,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c2ac48"} 
[2026-04-22 11:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:27: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-22 11:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 11:27:53] 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-22 11:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":51117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":51117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":51117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870365440001,"66":13993,"107":206,"83":41984,"24":47,"16":113840255664128000,"45":1656058056086673408},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-22 11:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870365440001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:27:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-22 11:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 11:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113840255664128000,"km_value":113840255664128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1656058056086673408,"description":"Unknown IO ID 45"} 
[2026-04-22 11:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870365440001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1656058056086673408}} 
[2026-04-22 11:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":51117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:27:53] local.INFO: GPS data processed {"connection_id":51117,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:27:53] local.INFO: Acknowledgment sent {"connection_id":51117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:27:53] local.INFO: Packet analysis {"connection_id":51117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c2"} 
[2026-04-22 11:27:53] local.INFO: Extracted packet for processing {"connection_id":51117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c2"} 
[2026-04-22 11:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756494400,"raw_latitude":119581520,"longitude_deg":75.64944,"latitude_deg":11.958152,"altitude":46,"angle":51,"satellites":38,"speed":45,"hex_longitude":"2d173040","hex_latitude":"0720ab50","is_valid_coordinates":true} 
[2026-04-22 11:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870367488001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113840706635694080,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1663094930506172416,"note":"Value kept but may cause issues"} 
[2026-04-22 11:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776837381000,"timestamp_ms":1776837381000,"timestamp_seconds":1776837381,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c2cb88"} 
[2026-04-22 11:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:27: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-22 11:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 11:27:53] 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-22 11:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":51117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":51117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":51117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870367488001,"66":14070,"122":206,"28":31744,"24":45,"16":113840706635694080,"45":1663094930506172416},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-22 11:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870367488001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:27:53] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 11:27:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113840706635694080,"km_value":113840706635694.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1663094930506172416,"description":"Unknown IO ID 45"} 
[2026-04-22 11:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870367488001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1663094930506172416}} 
[2026-04-22 11:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":51117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:27:53] local.INFO: GPS data processed {"connection_id":51117,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:27:53] local.INFO: Acknowledgment sent {"connection_id":51117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:28:05] local.INFO: TCP Data received {"connection_id":50439,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:28:05] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:28:05] local.INFO: Packet analysis {"connection_id":50439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:28:05] local.INFO: Extracted packet for processing {"connection_id":50439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:28: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-22 11: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-22 11: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-22 11:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:28:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:28:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":50439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:28:05] local.INFO: GPS data processed {"connection_id":50439,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:28:05] local.INFO: Acknowledgment sent {"connection_id":50439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:28:26] local.INFO: TCP Data received {"connection_id":50564,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:28:26] local.INFO: Processing buffer {"connection_id":50564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:28:26] local.INFO: IMEI packet received {"connection_id":50564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":50564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:28:32] local.INFO: TCP Data received {"connection_id":50564,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:28:32] local.INFO: Processing buffer {"connection_id":50564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:28:32] local.INFO: IMEI packet received {"connection_id":50564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:28:33] local.INFO: TCP Data received {"connection_id":50440,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:28:33] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:28:33] local.INFO: IMEI packet received {"connection_id":50440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":50440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:28:33] local.INFO: TCP Data received {"connection_id":50564,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:28:33] local.INFO: Processing buffer {"connection_id":50564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:28:33] local.INFO: Packet analysis {"connection_id":50564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:28:33] local.INFO: Extracted packet for processing {"connection_id":50564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:28: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-22 11: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-22 11: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-22 11:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:28:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:28:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:28:33] local.INFO: GPS data processed {"connection_id":50564,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:28:33] local.INFO: Acknowledgment sent {"connection_id":50564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:28:37] local.INFO: TCP Data received {"connection_id":50440,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:28:37] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:28:37] local.INFO: IMEI packet received {"connection_id":50440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":50440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:28:38] local.INFO: TCP Data received {"connection_id":50440,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c2eac8012d174bc00720c1680031003325..."} 
[2026-04-22 11:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c2eac8012d174bc00720c1680031003325..."} 
[2026-04-22 11:28:38] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c2eac8012d174bc00720c1680031003325..."} 
[2026-04-22 11:28:38] local.INFO: Packet analysis {"connection_id":50440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c2"} 
[2026-04-22 11:28:38] local.INFO: Extracted packet for processing {"connection_id":50440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c2"} 
[2026-04-22 11:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756501440,"raw_latitude":119587176,"longitude_deg":75.650144,"latitude_deg":11.9587176,"altitude":49,"angle":51,"satellites":37,"speed":42,"hex_longitude":"2d174bc0","hex_latitude":"0720c168","is_valid_coordinates":true} 
[2026-04-22 11:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870369536001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113841144722358272,"note":"Value kept but may cause issues"} 
[2026-04-22 11:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1670905861111500800,"note":"Value kept but may cause issues"} 
[2026-04-22 11:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776837389000,"timestamp_ms":1776837389000,"timestamp_seconds":1776837389,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c2eac8"} 
[2026-04-22 11:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 11:28:38] 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-22 11:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870369536001,"66":13993,"122":206,"28":31744,"24":42,"16":113841144722358272,"45":1670905861111500800},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-22 11:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870369536001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:28:38] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 11:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113841144722358272,"km_value":113841144722358.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1670905861111500800,"description":"Unknown IO ID 45"} 
[2026-04-22 11:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870369536001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1670905861111500800}} 
[2026-04-22 11:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":50440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:28:38] local.INFO: GPS data processed {"connection_id":50440,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:28:38] local.INFO: Acknowledgment sent {"connection_id":50440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:29:05] local.INFO: TCP Data received {"connection_id":50564,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:29:05] local.INFO: Processing buffer {"connection_id":50564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:29:05] local.INFO: Packet analysis {"connection_id":50564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:29:05] local.INFO: Extracted packet for processing {"connection_id":50564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:29: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-22 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-22 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-22 11:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:29:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:29:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":50564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:29:05] local.INFO: GPS data processed {"connection_id":50564,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:29:05] local.INFO: Acknowledgment sent {"connection_id":50564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:29:09] local.INFO: TCP Data received {"connection_id":50440,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c48108012d181d000721a860004a005424..."} 
[2026-04-22 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c48108012d181d000721a860004a005424..."} 
[2026-04-22 11:29:09] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c48108012d181d000721a860004a005424..."} 
[2026-04-22 11:29:09] local.INFO: Packet analysis {"connection_id":50440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c4"} 
[2026-04-22 11:29:09] local.INFO: Extracted packet for processing {"connection_id":50440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c4"} 
[2026-04-22 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646304,"longitude_deg":75.6555008,"latitude_deg":11.9646304,"altitude":74,"angle":84,"satellites":36,"speed":11,"hex_longitude":"2d181d00","hex_latitude":"0721a860","is_valid_coordinates":true} 
[2026-04-22 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-22 11:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870397952001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845014487891968,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143422464,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:09] 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-22 11:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776837493000,"timestamp_ms":1776837493000,"timestamp_seconds":1776837493,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c48108"} 
[2026-04-22 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-22 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-22 11:29:09] 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-22 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-22 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-22 11:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870397952001,"66":13678,"120":206,"28":31744,"24":11,"16":113845014487891968,"45":1737193218143422464},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870397952001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:29:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:29:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845014487891968,"km_value":113845014487891.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143422464,"description":"Unknown IO ID 45"} 
[2026-04-22 11:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870397952001,"power":13678,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737193218143422464}} 
[2026-04-22 11:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":50440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:29:10] local.INFO: GPS data processed {"connection_id":50440,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:29:10] local.INFO: Acknowledgment sent {"connection_id":50440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:29:28] local.INFO: TCP Data received {"connection_id":51119,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:29:28] local.INFO: Processing buffer {"connection_id":51119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:29:28] local.INFO: IMEI packet received {"connection_id":51119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":51119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:29:32] local.INFO: TCP Data received {"connection_id":50187,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:29:32] local.INFO: Processing buffer {"connection_id":50187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:29:32] local.INFO: IMEI packet received {"connection_id":50187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:29:33] local.INFO: TCP Data received {"connection_id":51119,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:29:33] local.INFO: Processing buffer {"connection_id":51119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:29:33] local.INFO: IMEI packet received {"connection_id":51119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":51119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:29:34] local.INFO: TCP Data received {"connection_id":51119,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c484f0012d181e400721a818004b007625..."} 
[2026-04-22 11:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c484f0012d181e400721a818004b007625..."} 
[2026-04-22 11:29:34] local.INFO: Processing buffer {"connection_id":51119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c484f0012d181e400721a818004b007625..."} 
[2026-04-22 11:29:34] local.INFO: Packet analysis {"connection_id":51119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c4"} 
[2026-04-22 11:29:34] local.INFO: Extracted packet for processing {"connection_id":51119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c4"} 
[2026-04-22 11:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646232,"longitude_deg":75.6555328,"latitude_deg":11.9646232,"altitude":75,"angle":118,"satellites":37,"speed":12,"hex_longitude":"2d181e40","hex_latitude":"0721a818","is_valid_coordinates":true} 
[2026-04-22 11:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870398208001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845031667761152,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864333312,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:34] 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-22 11:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837494000,"timestamp_ms":1776837494000,"timestamp_seconds":1776837494,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c484f0"} 
[2026-04-22 11:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 11:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870398208001,"66":13678,"120":206,"28":31744,"24":12,"16":113845031667761152,"45":1737545061864333312},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870398208001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:29:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:29:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845031667761152,"km_value":113845031667761.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864333312,"description":"Unknown IO ID 45"} 
[2026-04-22 11:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870398208001,"power":13678,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1737545061864333312}} 
[2026-04-22 11:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":51119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:29:34] local.INFO: GPS data processed {"connection_id":51119,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:29:34] local.INFO: Acknowledgment sent {"connection_id":51119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:29:37] local.INFO: TCP Data received {"connection_id":50187,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:29:37] local.INFO: Processing buffer {"connection_id":50187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:29:37] local.INFO: IMEI packet received {"connection_id":50187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":50187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:29:38] local.INFO: TCP Data received {"connection_id":50187,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:29:38] local.INFO: Processing buffer {"connection_id":50187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:29:38] local.INFO: Packet analysis {"connection_id":50187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:29:38] local.INFO: Extracted packet for processing {"connection_id":50187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29: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-22 11:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:29: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-22 11:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:29:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:29:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":50187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:29:38] local.INFO: GPS data processed {"connection_id":50187,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:29:38] local.INFO: Acknowledgment sent {"connection_id":50187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:29:43] local.INFO: TCP Data received {"connection_id":50187,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:29:43] local.INFO: Processing buffer {"connection_id":50187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c0eef8012d7f888005afdcc8000e012c29..."} 
[2026-04-22 11:29:43] local.INFO: Packet analysis {"connection_id":50187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:29:43] local.INFO: Extracted packet for processing {"connection_id":50187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c0"} 
[2026-04-22 11:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870261248001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776837259000,"timestamp_ms":1776837259000,"timestamp_seconds":1776837259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c0eef8"} 
[2026-04-22 11:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:29:43] 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-22 11:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870261248001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870261248001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:29:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:29:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870261248001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":50187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:29:43] local.INFO: GPS data processed {"connection_id":50187,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:29:43] local.INFO: Acknowledgment sent {"connection_id":50187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:30:06] local.INFO: TCP Data received {"connection_id":51119,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c48cc0012d181fc00721a6e8004b008324..."} 
[2026-04-22 11:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c48cc0012d181fc00721a6e8004b008324..."} 
[2026-04-22 11:30:06] local.INFO: Processing buffer {"connection_id":51119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c48cc0012d181fc00721a6e8004b008324..."} 
[2026-04-22 11:30:06] local.INFO: Packet analysis {"connection_id":51119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c4"} 
[2026-04-22 11:30:06] local.INFO: Extracted packet for processing {"connection_id":51119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c4"} 
[2026-04-22 11:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645928,"longitude_deg":75.6555712,"latitude_deg":11.9645928,"altitude":75,"angle":131,"satellites":36,"speed":9,"hex_longitude":"2d181fc0","hex_latitude":"0721a6e8","is_valid_coordinates":true} 
[2026-04-22 11:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870398464001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845053142597632,"note":"Value kept but may cause issues"} 
[2026-04-22 11:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585203200,"note":"Value kept but may cause issues"} 
[2026-04-22 11:30:06] 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-22 11:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776837496000,"timestamp_ms":1776837496000,"timestamp_seconds":1776837496,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c48cc0"} 
[2026-04-22 11:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 11:30:06] 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-22 11:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870398464001,"66":13493,"120":206,"28":31744,"24":9,"16":113845053142597632,"45":1737896905585203200},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870398464001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:30:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845053142597632,"km_value":113845053142597.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585203200,"description":"Unknown IO ID 45"} 
[2026-04-22 11:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870398464001,"power":13493,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737896905585203200}} 
[2026-04-22 11:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":51119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:30:06] local.INFO: GPS data processed {"connection_id":51119,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:30:06] local.INFO: Acknowledgment sent {"connection_id":51119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:30:28] local.INFO: TCP Data received {"connection_id":50565,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:30:28] local.INFO: Processing buffer {"connection_id":50565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:30:28] local.INFO: IMEI packet received {"connection_id":50565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":50565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:30:28] local.INFO: TCP Data received {"connection_id":51121,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:30:28] local.INFO: Processing buffer {"connection_id":51121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:30:28] local.INFO: IMEI packet received {"connection_id":51121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":51121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:30:32] local.INFO: TCP Data received {"connection_id":50565,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:30:32] local.INFO: Processing buffer {"connection_id":50565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:30:32] local.INFO: IMEI packet received {"connection_id":50565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:30:33] local.INFO: TCP Data received {"connection_id":50565,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:30:33] local.INFO: Processing buffer {"connection_id":50565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:30:33] local.INFO: Packet analysis {"connection_id":50565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:30:33] local.INFO: Extracted packet for processing {"connection_id":50565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338304001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776837560000,"timestamp_ms":1776837560000,"timestamp_seconds":1776837560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c586c0"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:30: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-22 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-22 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-22 11:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338304001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338304001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:30:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:30:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338304001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":50565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:30:33] local.INFO: GPS data processed {"connection_id":50565,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:30:33] local.INFO: Acknowledgment sent {"connection_id":50565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:30:33] local.INFO: TCP Data received {"connection_id":51121,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:30:33] local.INFO: Processing buffer {"connection_id":51121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:30:33] local.INFO: IMEI packet received {"connection_id":51121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":51121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:30:34] local.INFO: TCP Data received {"connection_id":51121,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c4dec8012d18290007219d10004d008524..."} 
[2026-04-22 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c4dec8012d18290007219d10004d008524..."} 
[2026-04-22 11:30:34] local.INFO: Processing buffer {"connection_id":51121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c4dec8012d18290007219d10004d008524..."} 
[2026-04-22 11:30:34] local.INFO: Packet analysis {"connection_id":51121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c4"} 
[2026-04-22 11:30:34] local.INFO: Extracted packet for processing {"connection_id":51121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c4"} 
[2026-04-22 11:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":77,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870398976001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845220646322176,"note":"Value kept but may cause issues"} 
[2026-04-22 11:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050191360,"note":"Value kept but may cause issues"} 
[2026-04-22 11:30:34] 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-22 11:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837517000,"timestamp_ms":1776837517000,"timestamp_seconds":1776837517,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c4dec8"} 
[2026-04-22 11: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-22 11:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 11:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870398976001,"66":13091,"120":206,"28":31744,"24":0,"16":113845220646322176,"45":1738319118050191360},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870398976001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:30:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:30:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845220646322176,"km_value":113845220646322.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050191360,"description":"Unknown IO ID 45"} 
[2026-04-22 11:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870398976001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050191360}} 
[2026-04-22 11:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":51121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:30:35] local.INFO: GPS data processed {"connection_id":51121,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:30:35] local.INFO: Acknowledgment sent {"connection_id":51121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:31:06] local.INFO: TCP Data received {"connection_id":50565,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:31:06] local.INFO: Processing buffer {"connection_id":50565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:31:06] local.INFO: Packet analysis {"connection_id":50565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:06] local.INFO: Extracted packet for processing {"connection_id":50565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338304001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31: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-22 11:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776837560000,"timestamp_ms":1776837560000,"timestamp_seconds":1776837560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c586c0"} 
[2026-04-22 11: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-22 11:31: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:31: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-22 11: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-22 11: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-22 11:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338304001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338304001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:31:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:31:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338304001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":50565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:31:06] local.INFO: GPS data processed {"connection_id":50565,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:31:06] local.INFO: Acknowledgment sent {"connection_id":50565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:31:06] local.INFO: TCP Data received {"connection_id":51121,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c530d0012d182a4007219bc0004d008d25..."} 
[2026-04-22 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c530d0012d182a4007219bc0004d008d25..."} 
[2026-04-22 11:31:06] local.INFO: Processing buffer {"connection_id":51121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c530d0012d182a4007219bc0004d008d25..."} 
[2026-04-22 11:31:06] local.INFO: Packet analysis {"connection_id":51121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:06] local.INFO: Extracted packet for processing {"connection_id":51121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870404352001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:06] 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-22 11:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776837538000,"timestamp_ms":1776837538000,"timestamp_seconds":1776837538,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c530d0"} 
[2026-04-22 11: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-22 11:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 11:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870404352001,"66":13091,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1740922761584119808},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870404352001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:31:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-04-22 11:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870404352001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-04-22 11:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":51121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:31:06] local.INFO: GPS data processed {"connection_id":51121,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:31:06] local.INFO: Acknowledgment sent {"connection_id":51121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:31:21] local.INFO: TCP Data received {"connection_id":50188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:31:21] local.INFO: Processing buffer {"connection_id":50188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:31:21] local.INFO: IMEI packet received {"connection_id":50188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":50188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:31:26] local.INFO: TCP Data received {"connection_id":50566,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:31:26] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:31:26] local.INFO: IMEI packet received {"connection_id":50566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":50566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:31:32] local.INFO: TCP Data received {"connection_id":50566,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:31:32] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:31:32] local.INFO: IMEI packet received {"connection_id":50566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:31:33] local.INFO: TCP Data received {"connection_id":50189,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:31:33] local.INFO: Processing buffer {"connection_id":50189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:31:33] local.INFO: IMEI packet received {"connection_id":50189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":50189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:31:34] local.INFO: TCP Data received {"connection_id":50566,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:31:34] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:31:34] local.INFO: Packet analysis {"connection_id":50566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:34] local.INFO: Extracted packet for processing {"connection_id":50566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338304001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31: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-22 11:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837560000,"timestamp_ms":1776837560000,"timestamp_seconds":1776837560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c586c0"} 
[2026-04-22 11: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-22 11:31: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338304001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338304001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:31:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:31:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338304001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":50566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:31:34] local.INFO: GPS data processed {"connection_id":50566,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:31:34] local.INFO: Acknowledgment sent {"connection_id":50566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:31:38] local.INFO: TCP Data received {"connection_id":50189,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:31:38] local.INFO: Processing buffer {"connection_id":50189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:31:38] local.INFO: IMEI packet received {"connection_id":50189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":50189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:31:39] local.INFO: TCP Data received {"connection_id":50189,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c582d8012d182a4007219bc0004d008d28..."} 
[2026-04-22 11:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c582d8012d182a4007219bc0004d008d28..."} 
[2026-04-22 11:31:39] local.INFO: Processing buffer {"connection_id":50189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c582d8012d182a4007219bc0004d008d28..."} 
[2026-04-22 11:31:39] local.INFO: Packet analysis {"connection_id":50189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:39] local.INFO: Extracted packet for processing {"connection_id":50189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:31: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-22 11:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870409728001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776837559000,"timestamp_ms":1776837559000,"timestamp_seconds":1776837559,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c582d8"} 
[2026-04-22 11:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 11:31:39] 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-22 11:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870409728001,"66":12406,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870409728001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:31:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:31:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870409728001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":50189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:31:40] local.INFO: GPS data processed {"connection_id":50189,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:31:40] local.INFO: Acknowledgment sent {"connection_id":50189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:31:43] local.INFO: TCP Data received {"connection_id":50189,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c5d4e0012d182a4007219bc0004d008d27..."} 
[2026-04-22 11:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c5d4e0012d182a4007219bc0004d008d27..."} 
[2026-04-22 11:31:43] local.INFO: Processing buffer {"connection_id":50189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c5d4e0012d182a4007219bc0004d008d27..."} 
[2026-04-22 11:31:43] local.INFO: Packet analysis {"connection_id":50189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:43] local.INFO: Extracted packet for processing {"connection_id":50189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:31:43] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415104001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:31:43] 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-22 11:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776837580000,"timestamp_ms":1776837580000,"timestamp_seconds":1776837580,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c5d4e0"} 
[2026-04-22 11: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-22 11:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 11:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415104001,"66":13004,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415104001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:31:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:31:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415104001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":50189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:31:43] local.INFO: GPS data processed {"connection_id":50189,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:31:43] local.INFO: Acknowledgment sent {"connection_id":50189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:31:51] local.INFO: TCP Data received {"connection_id":51122,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:31:51] local.INFO: Processing buffer {"connection_id":51122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:31:51] local.INFO: IMEI packet received {"connection_id":51122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":51122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:32:05] local.INFO: TCP Data received {"connection_id":50566,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:32:05] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:32:05] local.INFO: Packet analysis {"connection_id":50566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:32:05] local.INFO: Extracted packet for processing {"connection_id":50566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338304001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776837560000,"timestamp_ms":1776837560000,"timestamp_seconds":1776837560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c586c0"} 
[2026-04-22 11:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11: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-22 11:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:32: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-22 11:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338304001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338304001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:32:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:32:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338304001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":50566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:32:05] local.INFO: GPS data processed {"connection_id":50566,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:32:05] local.INFO: Acknowledgment sent {"connection_id":50566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:32:24] local.INFO: TCP Data received {"connection_id":51123,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:32:24] local.INFO: Processing buffer {"connection_id":51123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:32:24] local.INFO: IMEI packet received {"connection_id":51123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":51123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:32:28] local.INFO: TCP Data received {"connection_id":51123,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:32:28] local.INFO: Processing buffer {"connection_id":51123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:32:28] local.INFO: IMEI packet received {"connection_id":51123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":51123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:32:32] local.INFO: TCP Data received {"connection_id":51124,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:32:32] local.INFO: Processing buffer {"connection_id":51124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:32:32] local.INFO: IMEI packet received {"connection_id":51124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":51124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:32:33] local.INFO: TCP Data received {"connection_id":51123,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:32:33] local.INFO: Processing buffer {"connection_id":51123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:32:33] local.INFO: IMEI packet received {"connection_id":51123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":51123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:32:34] local.INFO: TCP Data received {"connection_id":51123,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c626e8012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c626e8012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:32:34] local.INFO: Processing buffer {"connection_id":51123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c626e8012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:32:34] local.INFO: Packet analysis {"connection_id":51123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c6"} 
[2026-04-22 11:32:34] local.INFO: Extracted packet for processing {"connection_id":51123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c6"} 
[2026-04-22 11:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870420480001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:34] 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-22 11:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837601000,"timestamp_ms":1776837601000,"timestamp_seconds":1776837601,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c626e8"} 
[2026-04-22 11: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-22 11:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 11:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870420480001,"66":12993,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870420480001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:32:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:32:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870420480001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":51123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:32:35] local.INFO: GPS data processed {"connection_id":51123,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:32:35] local.INFO: Acknowledgment sent {"connection_id":51123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:32:37] local.INFO: TCP Data received {"connection_id":51124,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:32:37] local.INFO: Processing buffer {"connection_id":51124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:32:37] local.INFO: IMEI packet received {"connection_id":51124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":51124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:32:38] local.INFO: TCP Data received {"connection_id":51124,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:32:38] local.INFO: Processing buffer {"connection_id":51124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:32:38] local.INFO: Packet analysis {"connection_id":51124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:32:38] local.INFO: Extracted packet for processing {"connection_id":51124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338304001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32: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-22 11:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776837560000,"timestamp_ms":1776837560000,"timestamp_seconds":1776837560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c586c0"} 
[2026-04-22 11: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-22 11:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:32: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-22 11: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-22 11: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-22 11:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338304001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338304001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:32:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:32:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338304001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":51124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:32:39] local.INFO: GPS data processed {"connection_id":51124,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:32:39] local.INFO: Acknowledgment sent {"connection_id":51124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:32:39] local.INFO: TCP Data received {"connection_id":51123,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c678f0012d182a4007219bc0004d008d24..."} 
[2026-04-22 11:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c678f0012d182a4007219bc0004d008d24..."} 
[2026-04-22 11:32:39] local.INFO: Processing buffer {"connection_id":51123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c678f0012d182a4007219bc0004d008d24..."} 
[2026-04-22 11:32:39] local.INFO: Packet analysis {"connection_id":51123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c6"} 
[2026-04-22 11:32:39] local.INFO: Extracted packet for processing {"connection_id":51123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c6"} 
[2026-04-22 11:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":36,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870425856001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776837622000,"timestamp_ms":1776837622000,"timestamp_seconds":1776837622,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c678f0"} 
[2026-04-22 11:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-22 11:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870425856001,"66":12972,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870425856001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:32:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870425856001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":51123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:32:39] local.INFO: GPS data processed {"connection_id":51123,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:32:39] local.INFO: Acknowledgment sent {"connection_id":51123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:32:42] local.INFO: TCP Data received {"connection_id":51124,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:32:42] local.INFO: Processing buffer {"connection_id":51124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:32:42] local.INFO: Packet analysis {"connection_id":51124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:32:42] local.INFO: Extracted packet for processing {"connection_id":51124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338304001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776837560000,"timestamp_ms":1776837560000,"timestamp_seconds":1776837560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c586c0"} 
[2026-04-22 11:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:32:42] 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-22 11:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338304001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338304001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:32:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:32:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338304001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":51124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:32:42] local.INFO: GPS data processed {"connection_id":51124,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:32:42] local.INFO: Acknowledgment sent {"connection_id":51124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:33:11] local.INFO: TCP Data received {"connection_id":51123,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c6caf8012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c6caf8012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:33:11] local.INFO: Processing buffer {"connection_id":51123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c6caf8012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:33:11] local.INFO: Packet analysis {"connection_id":51123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c6"} 
[2026-04-22 11:33:11] local.INFO: Extracted packet for processing {"connection_id":51123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c6"} 
[2026-04-22 11:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870431232001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:33:11] 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-22 11:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776837643000,"timestamp_ms":1776837643000,"timestamp_seconds":1776837643,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c6caf8"} 
[2026-04-22 11:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 11:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":51123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":51123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":51123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870431232001,"66":12319,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870431232001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:33:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870431232001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":51123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:33:11] local.INFO: GPS data processed {"connection_id":51123,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:33:11] local.INFO: Acknowledgment sent {"connection_id":51123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:33:27] local.INFO: TCP Data received {"connection_id":50567,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:33:27] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:33:27] local.INFO: IMEI packet received {"connection_id":50567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:33:27] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:33:27] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:33:27] local.INFO: IMEI packet received {"connection_id":50441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:33:28] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:33:28] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:33:28] local.INFO: IMEI packet received {"connection_id":50441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":50441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:33:32] local.INFO: TCP Data received {"connection_id":50567,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:33:32] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:33:32] local.INFO: IMEI packet received {"connection_id":50567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:33:33] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:33:33] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:33:33] local.INFO: IMEI packet received {"connection_id":50441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":50441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:33:34] local.INFO: TCP Data received {"connection_id":50567,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:33:34] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:33:34] local.INFO: Packet analysis {"connection_id":50567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:33:34] local.INFO: Extracted packet for processing {"connection_id":50567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338304001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:33: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-22 11:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837560000,"timestamp_ms":1776837560000,"timestamp_seconds":1776837560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c586c0"} 
[2026-04-22 11:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338304001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338304001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:33:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:33:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338304001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":50567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:33:34] local.INFO: GPS data processed {"connection_id":50567,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:33:34] local.INFO: Acknowledgment sent {"connection_id":50567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:33:34] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c71d00012d182a4007219bc0004d008d27..."} 
[2026-04-22 11:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c71d00012d182a4007219bc0004d008d27..."} 
[2026-04-22 11:33:34] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c71d00012d182a4007219bc0004d008d27..."} 
[2026-04-22 11:33:34] local.INFO: Packet analysis {"connection_id":50441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c7"} 
[2026-04-22 11:33:34] local.INFO: Extracted packet for processing {"connection_id":50441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c7"} 
[2026-04-22 11:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870436608001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:33:34] 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-22 11:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837664000,"timestamp_ms":1776837664000,"timestamp_seconds":1776837664,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c71d00"} 
[2026-04-22 11:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 11:33:34] 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-22 11:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870436608001,"66":12885,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870436608001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:33:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:33:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870436608001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":50441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:33:34] local.INFO: GPS data processed {"connection_id":50441,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:33:34] local.INFO: Acknowledgment sent {"connection_id":50441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:34:06] local.INFO: TCP Data received {"connection_id":50567,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:34:06] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:34:06] local.INFO: Packet analysis {"connection_id":50567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:34:06] local.INFO: Extracted packet for processing {"connection_id":50567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338304001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776837560000,"timestamp_ms":1776837560000,"timestamp_seconds":1776837560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c586c0"} 
[2026-04-22 11:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:34: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-22 11:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:34: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-22 11: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-22 11:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338304001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338304001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:34:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:34:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338304001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:34:06] local.INFO: TCP Data received {"connection_id":50441,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c76f08012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c76f08012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:34:06] local.INFO: Processing buffer {"connection_id":50441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c76f08012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:34:06] local.INFO: Packet analysis {"connection_id":50441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c7"} 
[2026-04-22 11:34:06] local.INFO: Extracted packet for processing {"connection_id":50441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c7"} 
[2026-04-22 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870441984001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:06] 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-22 11:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776837685000,"timestamp_ms":1776837685000,"timestamp_seconds":1776837685,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c76f08"} 
[2026-04-22 11:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 11:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870441984001,"66":12885,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870441984001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:34:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:34:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870441984001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":50567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:34:06] local.INFO: GPS data processed {"connection_id":50567,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:34:06] local.INFO: Acknowledgment sent {"connection_id":50567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":50441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:34:06] local.INFO: GPS data processed {"connection_id":50441,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:34:06] local.INFO: Acknowledgment sent {"connection_id":50441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:34:26] local.INFO: TCP Data received {"connection_id":50442,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:34:26] local.INFO: Processing buffer {"connection_id":50442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:34:26] local.INFO: IMEI packet received {"connection_id":50442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":50442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:34:28] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:34:28] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:34:28] local.INFO: IMEI packet received {"connection_id":50190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":50190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:34:30] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:34:30] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:34:30] local.INFO: IMEI packet received {"connection_id":50190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":50190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:34:32] local.INFO: TCP Data received {"connection_id":50442,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:34:32] local.INFO: Processing buffer {"connection_id":50442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:34:32] local.INFO: IMEI packet received {"connection_id":50442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:34:33] local.INFO: TCP Data received {"connection_id":50442,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:34:33] local.INFO: Processing buffer {"connection_id":50442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c586c0012d7f888005afdcc80011012c29..."} 
[2026-04-22 11:34:33] local.INFO: Packet analysis {"connection_id":50442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:34:33] local.INFO: Extracted packet for processing {"connection_id":50442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c5"} 
[2026-04-22 11:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870338304001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776837560000,"timestamp_ms":1776837560000,"timestamp_seconds":1776837560,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c586c0"} 
[2026-04-22 11: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-22 11:34: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-22 11: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-22 11: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-22 11: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-22 11: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-22 11:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870338304001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870338304001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:34:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:34:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870338304001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:34:33] local.INFO: GPS data processed {"connection_id":50442,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:34:33] local.INFO: Acknowledgment sent {"connection_id":50442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:34:35] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:34:35] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:34:35] local.INFO: IMEI packet received {"connection_id":50190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":50190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:34:38] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c7c110012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c7c110012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:34:38] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c7c110012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:34:38] local.INFO: Packet analysis {"connection_id":50190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c7"} 
[2026-04-22 11:34:38] local.INFO: Extracted packet for processing {"connection_id":50190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c7"} 
[2026-04-22 11:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870447360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:38] 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-22 11:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776837706000,"timestamp_ms":1776837706000,"timestamp_seconds":1776837706,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c7c110"} 
[2026-04-22 11:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 11:34:38] 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-22 11:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870447360001,"66":12645,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870447360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:34:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870447360001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":50190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:34:38] local.INFO: GPS data processed {"connection_id":50190,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:34:38] local.INFO: Acknowledgment sent {"connection_id":50190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:34:39] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c81318012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c81318012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:34:39] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c81318012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:34:39] local.INFO: Packet analysis {"connection_id":50190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c8"} 
[2026-04-22 11:34:39] local.INFO: Extracted packet for processing {"connection_id":50190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c8"} 
[2026-04-22 11:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870452736001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776837727000,"timestamp_ms":1776837727000,"timestamp_seconds":1776837727,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c81318"} 
[2026-04-22 11:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-22 11:34:39] 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-22 11:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870452736001,"66":12841,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870452736001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:34:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870452736001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":50190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:34:39] local.INFO: GPS data processed {"connection_id":50190,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:34:39] local.INFO: Acknowledgment sent {"connection_id":50190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:35:05] local.INFO: TCP Data received {"connection_id":50442,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:35:05] local.INFO: Processing buffer {"connection_id":50442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:35:05] local.INFO: Packet analysis {"connection_id":50442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:35:05] local.INFO: Extracted packet for processing {"connection_id":50442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35: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-22 11:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 11:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:35: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-22 11:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:35: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-22 11:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:35:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:35:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":50442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:35:05] local.INFO: GPS data processed {"connection_id":50442,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:35:05] local.INFO: Acknowledgment sent {"connection_id":50442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:35:11] local.INFO: TCP Data received {"connection_id":50190,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c86520012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c86520012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:35:11] local.INFO: Processing buffer {"connection_id":50190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c86520012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:35:11] local.INFO: Packet analysis {"connection_id":50190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c8"} 
[2026-04-22 11:35:11] local.INFO: Extracted packet for processing {"connection_id":50190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c8"} 
[2026-04-22 11:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870458112001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:11] 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-22 11:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776837748000,"timestamp_ms":1776837748000,"timestamp_seconds":1776837748,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c86520"} 
[2026-04-22 11:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 11:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870458112001,"66":12841,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870458112001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:35:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:35:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870458112001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":50190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:35:11] local.INFO: GPS data processed {"connection_id":50190,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:35:11] local.INFO: Acknowledgment sent {"connection_id":50190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:35:32] local.INFO: TCP Data received {"connection_id":50443,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:35:32] local.INFO: Processing buffer {"connection_id":50443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:35:32] local.INFO: IMEI packet received {"connection_id":50443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:35:33] local.INFO: TCP Data received {"connection_id":50444,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:35:33] local.INFO: Processing buffer {"connection_id":50444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:35:33] local.INFO: IMEI packet received {"connection_id":50444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":50444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:35:37] local.INFO: TCP Data received {"connection_id":50443,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:35:37] local.INFO: Processing buffer {"connection_id":50443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:35:37] local.INFO: IMEI packet received {"connection_id":50443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":50443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:35:38] local.INFO: TCP Data received {"connection_id":50444,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:35:38] local.INFO: Processing buffer {"connection_id":50444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:35:38] local.INFO: IMEI packet received {"connection_id":50444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":50444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:35:38] local.INFO: TCP Data received {"connection_id":50443,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:35:38] local.INFO: Processing buffer {"connection_id":50443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:35:38] local.INFO: Packet analysis {"connection_id":50443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:35:38] local.INFO: Extracted packet for processing {"connection_id":50443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35: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-22 11:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 11:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:35: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-22 11:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:35:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:35:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":50443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:35:38] local.INFO: GPS data processed {"connection_id":50443,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:35:38] local.INFO: Acknowledgment sent {"connection_id":50443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:35:39] local.INFO: TCP Data received {"connection_id":50444,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c8b728012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c8b728012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:35:39] local.INFO: Processing buffer {"connection_id":50444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c8b728012d182a4007219bc0004d008d26..."} 
[2026-04-22 11:35:39] local.INFO: Packet analysis {"connection_id":50444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c8"} 
[2026-04-22 11:35:39] local.INFO: Extracted packet for processing {"connection_id":50444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c8"} 
[2026-04-22 11:35:39] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":38,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870463488001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776837769000,"timestamp_ms":1776837769000,"timestamp_seconds":1776837769,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c8b728"} 
[2026-04-22 11:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 11:35:39] 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-22 11:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870463488001,"66":12798,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870463488001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:35:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:35:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870463488001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":50444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:35:39] local.INFO: GPS data processed {"connection_id":50444,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:35:39] local.INFO: Acknowledgment sent {"connection_id":50444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:35:42] local.INFO: TCP Data received {"connection_id":50443,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:35:42] local.INFO: Processing buffer {"connection_id":50443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:35:42] local.INFO: Packet analysis {"connection_id":50443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:35:42] local.INFO: Extracted packet for processing {"connection_id":50443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:35:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 11:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:35:42] 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-22 11:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:35:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:35:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":50443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:35:42] local.INFO: GPS data processed {"connection_id":50443,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:35:42] local.INFO: Acknowledgment sent {"connection_id":50443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:36:10] local.INFO: TCP Data received {"connection_id":50444,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c90930012d182a4007219bc0004d008d28..."} 
[2026-04-22 11:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c90930012d182a4007219bc0004d008d28..."} 
[2026-04-22 11:36:10] local.INFO: Processing buffer {"connection_id":50444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c90930012d182a4007219bc0004d008d28..."} 
[2026-04-22 11:36:10] local.INFO: Packet analysis {"connection_id":50444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:36:10] local.INFO: Extracted packet for processing {"connection_id":50444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 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-22 11:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870468864001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776837790000,"timestamp_ms":1776837790000,"timestamp_seconds":1776837790,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c90930"} 
[2026-04-22 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-22 11:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 11:36:10] 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-22 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-22 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-22 11:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870468864001,"66":12841,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870468864001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:36:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870468864001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":50444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:36:10] local.INFO: GPS data processed {"connection_id":50444,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:36:10] local.INFO: Acknowledgment sent {"connection_id":50444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:36:26] local.INFO: TCP Data received {"connection_id":51126,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:36:26] local.INFO: Processing buffer {"connection_id":51126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:36:26] local.INFO: IMEI packet received {"connection_id":51126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":51126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:36:28] local.INFO: TCP Data received {"connection_id":50571,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:36:28] local.INFO: Processing buffer {"connection_id":50571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:36:28] local.INFO: IMEI packet received {"connection_id":50571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":50571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:36:32] local.INFO: TCP Data received {"connection_id":51126,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:36:32] local.INFO: Processing buffer {"connection_id":51126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:36:32] local.INFO: IMEI packet received {"connection_id":51126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":51126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:36:33] local.INFO: TCP Data received {"connection_id":51126,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:36:33] local.INFO: Processing buffer {"connection_id":51126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:36:33] local.INFO: Packet analysis {"connection_id":51126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:36:33] local.INFO: Extracted packet for processing {"connection_id":51126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 11: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-22 11:36: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:36: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-22 11: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-22 11: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-22 11:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:36:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:36:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":51126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:36:33] local.INFO: GPS data processed {"connection_id":51126,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:36:33] local.INFO: Acknowledgment sent {"connection_id":51126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:36:33] local.INFO: TCP Data received {"connection_id":50571,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:36:33] local.INFO: Processing buffer {"connection_id":50571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:36:33] local.INFO: IMEI packet received {"connection_id":50571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":50571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:36:34] local.INFO: TCP Data received {"connection_id":50571,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c95b38012d182a4007219bc0004d008d25..."} 
[2026-04-22 11:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c95b38012d182a4007219bc0004d008d25..."} 
[2026-04-22 11:36:34] local.INFO: Processing buffer {"connection_id":50571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c95b38012d182a4007219bc0004d008d25..."} 
[2026-04-22 11:36:34] local.INFO: Packet analysis {"connection_id":50571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:36:34] local.INFO: Extracted packet for processing {"connection_id":50571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870474240001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:36:34] 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-22 11:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837811000,"timestamp_ms":1776837811000,"timestamp_seconds":1776837811,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c95b38"} 
[2026-04-22 11: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-22 11:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 11:36:34] 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-22 11: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-22 11: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-22 11:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870474240001,"66":13928,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870474240001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:36:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:36:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870474240001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":50571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:36:34] local.INFO: GPS data processed {"connection_id":50571,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:36:34] local.INFO: Acknowledgment sent {"connection_id":50571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:37:05] local.INFO: TCP Data received {"connection_id":51126,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:37:05] local.INFO: Processing buffer {"connection_id":51126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:37:05] local.INFO: Packet analysis {"connection_id":51126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:37:05] local.INFO: Extracted packet for processing {"connection_id":51126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 11:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:37: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-22 11:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11: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-22 11:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:37:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:37:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":51126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:37:05] local.INFO: GPS data processed {"connection_id":51126,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:37:05] local.INFO: Acknowledgment sent {"connection_id":51126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:37:05] local.INFO: TCP Data received {"connection_id":50571,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c9ad40012d182a4007219bc0004d008d25..."} 
[2026-04-22 11:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c9ad40012d182a4007219bc0004d008d25..."} 
[2026-04-22 11:37:05] local.INFO: Processing buffer {"connection_id":50571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c9ad40012d182a4007219bc0004d008d25..."} 
[2026-04-22 11:37:05] local.INFO: Packet analysis {"connection_id":50571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:37:05] local.INFO: Extracted packet for processing {"connection_id":50571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643072,"longitude_deg":75.65584,"latitude_deg":11.9643072,"altitude":77,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-04-22 11:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870479616001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845246416125952,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776837832000,"timestamp_ms":1776837832000,"timestamp_seconds":1776837832,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c9ad40"} 
[2026-04-22 11:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 11:37:05] 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-22 11:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870479616001,"66":12972,"120":206,"28":31744,"24":0,"16":113845246416125952,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870479616001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:37:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845246416125952,"km_value":113845246416125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870479616001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":50571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:37:06] local.INFO: GPS data processed {"connection_id":50571,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:37:06] local.INFO: Acknowledgment sent {"connection_id":50571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:37:21] local.INFO: TCP Data received {"connection_id":50191,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:37:21] local.INFO: Processing buffer {"connection_id":50191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:37:21] local.INFO: IMEI packet received {"connection_id":50191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":50191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:37:26] local.INFO: TCP Data received {"connection_id":51127,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:37:26] local.INFO: Processing buffer {"connection_id":51127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:37:26] local.INFO: IMEI packet received {"connection_id":51127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":51127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:37:28] local.INFO: TCP Data received {"connection_id":50572,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:37:28] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:37:28] local.INFO: IMEI packet received {"connection_id":50572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":50572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:37:29] local.INFO: TCP Data received {"connection_id":50572,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:37:29] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:37:29] local.INFO: IMEI packet received {"connection_id":50572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":50572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:37:32] local.INFO: TCP Data received {"connection_id":51127,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:37:32] local.INFO: Processing buffer {"connection_id":51127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:37:32] local.INFO: IMEI packet received {"connection_id":51127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":51127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:37:33] local.INFO: TCP Data received {"connection_id":51127,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:37:33] local.INFO: Processing buffer {"connection_id":51127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:37:33] local.INFO: Packet analysis {"connection_id":51127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:37:33] local.INFO: Extracted packet for processing {"connection_id":51127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 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-22 11:37: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:37: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-22 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-22 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-22 11:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:37:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:37:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":51127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:37:33] local.INFO: GPS data processed {"connection_id":51127,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:37:33] local.INFO: Acknowledgment sent {"connection_id":51127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:37:33] local.INFO: TCP Data received {"connection_id":50572,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:37:33] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:37:33] local.INFO: IMEI packet received {"connection_id":50572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":50572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:37:34] local.INFO: TCP Data received {"connection_id":50572,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c9e3f0012d182b0007219b980050008126..."} 
[2026-04-22 11:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c9e3f0012d182b0007219b980050008126..."} 
[2026-04-22 11:37:34] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c9e3f0012d182b0007219b980050008126..."} 
[2026-04-22 11:37:34] local.INFO: Packet analysis {"connection_id":50572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:37:34] local.INFO: Extracted packet for processing {"connection_id":50572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643032,"longitude_deg":75.6558592,"latitude_deg":11.9643032,"altitude":80,"angle":129,"satellites":38,"speed":5,"hex_longitude":"2d182b00","hex_latitude":"07219b98","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870484992001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845255006060544,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304922112,"note":"Value kept but may cause issues"} 
[2026-04-22 11:37:34] 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-22 11:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837846000,"timestamp_ms":1776837846000,"timestamp_seconds":1776837846,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c9e3f0"} 
[2026-04-22 11: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-22 11:37:34] 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-22 11: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 11:37:34] 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-22 11: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-22 11: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-22 11:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870484992001,"66":12950,"120":206,"28":31744,"24":5,"16":113845255006060544,"45":1741274605304922112},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-22 11:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870484992001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:37:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 11:37:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845255006060544,"km_value":113845255006060.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304922112,"description":"Unknown IO ID 45"} 
[2026-04-22 11:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870484992001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1741274605304922112}} 
[2026-04-22 11:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":50572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:37:34] local.INFO: GPS data processed {"connection_id":50572,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:37:34] local.INFO: Acknowledgment sent {"connection_id":50572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:37:51] local.INFO: TCP Data received {"connection_id":50192,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:37:51] local.INFO: Processing buffer {"connection_id":50192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:37:51] local.INFO: IMEI packet received {"connection_id":50192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":50192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:38:05] local.INFO: TCP Data received {"connection_id":51127,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:38:05] local.INFO: Processing buffer {"connection_id":51127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:38:05] local.INFO: Packet analysis {"connection_id":51127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:38:05] local.INFO: Extracted packet for processing {"connection_id":51127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:38: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-22 11: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-22 11: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-22 11:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":51127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:38:05] local.INFO: GPS data processed {"connection_id":51127,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:38:05] local.INFO: Acknowledgment sent {"connection_id":51127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:38:05] local.INFO: TCP Data received {"connection_id":50572,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3c9efa8012d182d8007219a20004f007326..."} 
[2026-04-22 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3c9efa8012d182d8007219a20004f007326..."} 
[2026-04-22 11:38:05] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3c9efa8012d182d8007219a20004f007326..."} 
[2026-04-22 11:38:05] local.INFO: Packet analysis {"connection_id":50572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:38:05] local.INFO: Extracted packet for processing {"connection_id":50572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3c9"} 
[2026-04-22 11:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756559232,"raw_latitude":119642656,"longitude_deg":75.6559232,"latitude_deg":11.9642656,"altitude":79,"angle":115,"satellites":38,"speed":10,"hex_longitude":"2d182d80","hex_latitude":"07219a20","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870488576001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845289365798912,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537444864,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776837849000,"timestamp_ms":1776837849000,"timestamp_seconds":1776837849,"priority":1,"record_length":96,"hex_timestamp":"0000019db3c9efa8"} 
[2026-04-22 11: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-22 11:38:05] 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-22 11: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 11:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870488576001,"66":12711,"121":206,"28":31744,"24":10,"16":113845289365798912,"45":1741485711537444864},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 11:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870488576001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845289365798912,"km_value":113845289365798.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537444864,"description":"Unknown IO ID 45"} 
[2026-04-22 11:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870488576001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1741485711537444864}} 
[2026-04-22 11:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":50572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:38:06] local.INFO: GPS data processed {"connection_id":50572,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:38:06] local.INFO: Acknowledgment sent {"connection_id":50572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:38:28] local.INFO: TCP Data received {"connection_id":50573,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:38:28] local.INFO: Processing buffer {"connection_id":50573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:38:28] local.INFO: IMEI packet received {"connection_id":50573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":50573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:38:32] local.INFO: TCP Data received {"connection_id":50193,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:38:32] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:38:32] local.INFO: IMEI packet received {"connection_id":50193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:38:33] local.INFO: TCP Data received {"connection_id":50573,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:38:33] local.INFO: Processing buffer {"connection_id":50573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:38:33] local.INFO: IMEI packet received {"connection_id":50573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":50573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:38:34] local.INFO: TCP Data received {"connection_id":50573,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ccb698012d183ec007219010005000bc20..."} 
[2026-04-22 11:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ccb698012d183ec007219010005000bc20..."} 
[2026-04-22 11:38:34] local.INFO: Processing buffer {"connection_id":50573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ccb698012d183ec007219010005000bc20..."} 
[2026-04-22 11:38:34] local.INFO: Packet analysis {"connection_id":50573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3cc"} 
[2026-04-22 11:38:34] local.INFO: Extracted packet for processing {"connection_id":50573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3cc"} 
[2026-04-22 11:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640080,"longitude_deg":75.6563648,"latitude_deg":11.964008,"altitude":80,"angle":188,"satellites":32,"speed":0,"hex_longitude":"2d183ec0","hex_latitude":"07219010","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870530560001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845547063836672,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044842326724608,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776838031000,"timestamp_ms":1776838031000,"timestamp_seconds":1776838031,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ccb698"} 
[2026-04-22 11: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-22 11:38:34] 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-22 11: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3016390752,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-3880317266858328384,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-22 11:38:34] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1744907544,"corrected_to":0} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3221692816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887275109916,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2418670495735004197,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,117,157,18,45,192,144,80,33,10,66,31,110,1,240,81,179,4,113,205,202,62,239,50,2,148,7,124,236],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":202,"original":1744907544,"validated":0}]} 
[2026-04-22 11:38:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764814377249144832,"timestamp_seconds":5764814377249145.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 11: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-22 11:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870530560001,"66":12798,"121":206,"28":31744,"24":0,"16":113845547063836672,"45":1747044842326724608},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 11:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870530560001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:38:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 11:38:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845547063836672,"km_value":113845547063836.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044842326724608,"description":"Unknown IO ID 45"} 
[2026-04-22 11:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870530560001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747044842326724608}} 
[2026-04-22 11:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":50573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:38:34] local.INFO: GPS data processed {"connection_id":50573,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:38:34] local.INFO: Acknowledgment sent {"connection_id":50573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:38:37] local.INFO: TCP Data received {"connection_id":50193,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:38:37] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:38:37] local.INFO: IMEI packet received {"connection_id":50193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":50193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:38:38] local.INFO: TCP Data received {"connection_id":50193,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:38:38] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:38:38] local.INFO: Packet analysis {"connection_id":50193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:38:38] local.INFO: Extracted packet for processing {"connection_id":50193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38: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-22 11:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 11: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-22 11:38: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:38:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:38:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":50193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:38:38] local.INFO: GPS data processed {"connection_id":50193,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:38:38] local.INFO: Acknowledgment sent {"connection_id":50193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:38:38] local.INFO: TCP Data received {"connection_id":50573,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3cd08a0012d183ec007219010005000bc21..."} 
[2026-04-22 11:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3cd08a0012d183ec007219010005000bc21..."} 
[2026-04-22 11:38:38] local.INFO: Processing buffer {"connection_id":50573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3cd08a0012d183ec007219010005000bc21..."} 
[2026-04-22 11:38:38] local.INFO: Packet analysis {"connection_id":50573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3cd"} 
[2026-04-22 11:38:38] local.INFO: Extracted packet for processing {"connection_id":50573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3cd"} 
[2026-04-22 11:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640080,"longitude_deg":75.6563648,"latitude_deg":11.964008,"altitude":80,"angle":188,"satellites":33,"speed":0,"hex_longitude":"2d183ec0","hex_latitude":"07219010","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870535936001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845547063836672,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044842326724608,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38: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-22 11:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776838052000,"timestamp_ms":1776838052000,"timestamp_seconds":1776838052,"priority":1,"record_length":96,"hex_timestamp":"0000019db3cd08a0"} 
[2026-04-22 11: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-22 11:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 11:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870535936001,"66":14157,"121":206,"28":31744,"24":0,"16":113845547063836672,"45":1747044842326724608},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 11:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870535936001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:38:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 11:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845547063836672,"km_value":113845547063836.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044842326724608,"description":"Unknown IO ID 45"} 
[2026-04-22 11:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870535936001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747044842326724608}} 
[2026-04-22 11:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":50573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:38:38] local.INFO: GPS data processed {"connection_id":50573,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:38:38] local.INFO: Acknowledgment sent {"connection_id":50573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:38:42] local.INFO: TCP Data received {"connection_id":50193,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:38:42] local.INFO: Processing buffer {"connection_id":50193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:38:42] local.INFO: Packet analysis {"connection_id":50193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:38:42] local.INFO: Extracted packet for processing {"connection_id":50193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 11:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:38:42] 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-22 11:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:38:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:38:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":50193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:38:42] local.INFO: GPS data processed {"connection_id":50193,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:38:42] local.INFO: Acknowledgment sent {"connection_id":50193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:39:10] local.INFO: TCP Data received {"connection_id":50573,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3cd3398012d183fc0072190f80050001524..."} 
[2026-04-22 11:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3cd3398012d183fc0072190f80050001524..."} 
[2026-04-22 11:39:10] local.INFO: Processing buffer {"connection_id":50573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3cd3398012d183fc0072190f80050001524..."} 
[2026-04-22 11:39:10] local.INFO: Packet analysis {"connection_id":50573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3cd"} 
[2026-04-22 11:39:10] local.INFO: Extracted packet for processing {"connection_id":50573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3cd"} 
[2026-04-22 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640312,"longitude_deg":75.6563904,"latitude_deg":11.9640312,"altitude":80,"angle":21,"satellites":36,"speed":2,"hex_longitude":"2d183fc0","hex_latitude":"072190f8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870541312001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845564243705856,"note":"Value kept but may cause issues"} 
[2026-04-22 11:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044842326724608,"note":"Value kept but may cause issues"} 
[2026-04-22 11:39:10] 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-22 11:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776838063000,"timestamp_ms":1776838063000,"timestamp_seconds":1776838063,"priority":1,"record_length":96,"hex_timestamp":"0000019db3cd3398"} 
[2026-04-22 11: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-22 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 11:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870541312001,"66":14265,"121":206,"28":31744,"24":2,"16":113845564243705856,"45":1747044842326724608},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 11:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870541312001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:39:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 11:39:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845564243705856,"km_value":113845564243705.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044842326724608,"description":"Unknown IO ID 45"} 
[2026-04-22 11:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870541312001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1747044842326724608}} 
[2026-04-22 11:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":50573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:39:10] local.INFO: GPS data processed {"connection_id":50573,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:39:10] local.INFO: Acknowledgment sent {"connection_id":50573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:39:27] local.INFO: TCP Data received {"connection_id":50194,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:39:27] local.INFO: Processing buffer {"connection_id":50194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:39:27] local.INFO: IMEI packet received {"connection_id":50194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:39:28] local.INFO: TCP Data received {"connection_id":50445,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:39:28] local.INFO: Processing buffer {"connection_id":50445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:39:28] local.INFO: IMEI packet received {"connection_id":50445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":50445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:39:30] local.INFO: TCP Data received {"connection_id":50445,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:39:30] local.INFO: Processing buffer {"connection_id":50445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:39:30] local.INFO: IMEI packet received {"connection_id":50445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":50445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:39:32] local.INFO: TCP Data received {"connection_id":50445,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3cd3b68012d183fc0072191200050000924..."} 
[2026-04-22 11:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3cd3b68012d183fc0072191200050000924..."} 
[2026-04-22 11:39:32] local.INFO: Processing buffer {"connection_id":50445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3cd3b68012d183fc0072191200050000924..."} 
[2026-04-22 11:39:32] local.INFO: Packet analysis {"connection_id":50445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3cd"} 
[2026-04-22 11:39:32] local.INFO: Extracted packet for processing {"connection_id":50445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3cd"} 
[2026-04-22 11:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640352,"longitude_deg":75.6563904,"latitude_deg":11.9640352,"altitude":80,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07219120","is_valid_coordinates":true} 
[2026-04-22 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-22 11:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870544128001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113845564243705856,"note":"Value kept but may cause issues"} 
[2026-04-22 11:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303494656,"note":"Value kept but may cause issues"} 
[2026-04-22 11:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776838065000,"timestamp_ms":1776838065000,"timestamp_seconds":1776838065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3cd3b68"} 
[2026-04-22 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-22 11:39:32] 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-22 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 11:39:32] 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-22 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-22 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-22 11:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870544128001,"66":14211,"121":206,"28":31744,"24":0,"16":113845564243705856,"45":1747326317303494656},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 11:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870544128001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:39:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 11:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113845564243705856,"km_value":113845564243705.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303494656,"description":"Unknown IO ID 45"} 
[2026-04-22 11:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870544128001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303494656}} 
[2026-04-22 11:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":50445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:39:32] local.INFO: GPS data processed {"connection_id":50445,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:39:32] local.INFO: Acknowledgment sent {"connection_id":50445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:39:32] local.INFO: TCP Data received {"connection_id":50194,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:39:32] local.INFO: Processing buffer {"connection_id":50194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:39:32] local.INFO: IMEI packet received {"connection_id":50194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":50194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:39:34] local.INFO: TCP Data received {"connection_id":50194,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:39:34] local.INFO: Processing buffer {"connection_id":50194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ca1e88012d7f888005afdcc80012012c25..."} 
[2026-04-22 11:39:34] local.INFO: Packet analysis {"connection_id":50194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:39:34] local.INFO: Extracted packet for processing {"connection_id":50194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ca"} 
[2026-04-22 11:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870415360001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776837861000,"timestamp_ms":1776837861000,"timestamp_seconds":1776837861,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ca1e88"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:39: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-22 11: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-22 11: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-22 11:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870415360001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870415360001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:39:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:39:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870415360001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":50194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:39:34] local.INFO: GPS data processed {"connection_id":50194,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:39:34] local.INFO: Acknowledgment sent {"connection_id":50194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:40:03] local.INFO: TCP Data received {"connection_id":50445,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ce9ee0012d18d2c007211f48003f00b227..."} 
[2026-04-22 11:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ce9ee0012d18d2c007211f48003f00b227..."} 
[2026-04-22 11:40:03] local.INFO: Processing buffer {"connection_id":50445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ce9ee0012d18d2c007211f48003f00b227..."} 
[2026-04-22 11:40:03] local.INFO: Packet analysis {"connection_id":50445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:40:03] local.INFO: Extracted packet for processing {"connection_id":50445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119611208,"longitude_deg":75.6601536,"latitude_deg":11.9611208,"altitude":63,"angle":178,"satellites":39,"speed":39,"hex_longitude":"2d18d2c0","hex_latitude":"07211f48","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870567424001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113848145519050752,"note":"Value kept but may cause issues"} 
[2026-04-22 11:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128838656,"note":"Value kept but may cause issues"} 
[2026-04-22 11:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776838156000,"timestamp_ms":1776838156000,"timestamp_seconds":1776838156,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ce9ee0"} 
[2026-04-22 11: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-22 11:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 11:40:03] 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-22 11: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-22 11: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-22 11:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870567424001,"66":14298,"121":206,"28":31744,"24":39,"16":113848145519050752,"45":1788632770128838656},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 11:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870567424001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:40:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 11:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113848145519050752,"km_value":113848145519050.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128838656,"description":"Unknown IO ID 45"} 
[2026-04-22 11:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870567424001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1788632770128838656}} 
[2026-04-22 11:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":50445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:40:03] local.INFO: GPS data processed {"connection_id":50445,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:40:03] local.INFO: Acknowledgment sent {"connection_id":50445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:40:06] local.INFO: TCP Data received {"connection_id":50194,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:40:06] local.INFO: Processing buffer {"connection_id":50194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:40:06] local.INFO: Packet analysis {"connection_id":50194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:40:06] local.INFO: Extracted packet for processing {"connection_id":50194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 11:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:40: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-22 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:40: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-22 11:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:40:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:40:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":50194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:40:06] local.INFO: GPS data processed {"connection_id":50194,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:40:06] local.INFO: Acknowledgment sent {"connection_id":50194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:40:26] local.INFO: TCP Data received {"connection_id":50575,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:40:26] local.INFO: Processing buffer {"connection_id":50575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:40:26] local.INFO: IMEI packet received {"connection_id":50575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":50575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:40:31] local.INFO: TCP Data received {"connection_id":50195,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:40:31] local.INFO: Processing buffer {"connection_id":50195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:40:31] local.INFO: IMEI packet received {"connection_id":50195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":50195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:40:32] local.INFO: TCP Data received {"connection_id":50195,"ip":"117.225.129.107","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50195,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 11:40:32] local.INFO: Processing buffer {"connection_id":50195,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-22 11:40:32] local.INFO: IMEI packet received {"connection_id":50195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:40:32] local.INFO: TCP Data received {"connection_id":50575,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:40:32] local.INFO: Processing buffer {"connection_id":50575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:40:32] local.INFO: IMEI packet received {"connection_id":50575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:40:33] local.INFO: TCP Data received {"connection_id":50575,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:40:33] local.INFO: Processing buffer {"connection_id":50575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:40:33] local.INFO: Packet analysis {"connection_id":50575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:40:33] local.INFO: Extracted packet for processing {"connection_id":50575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 11: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-22 11:40: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:40: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-22 11: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-22 11: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-22 11:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:40:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:40:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:40:33] local.INFO: GPS data processed {"connection_id":50575,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:40:33] local.INFO: Acknowledgment sent {"connection_id":50575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:41:05] local.INFO: TCP Data received {"connection_id":50575,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:41:05] local.INFO: Processing buffer {"connection_id":50575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:41:05] local.INFO: Packet analysis {"connection_id":50575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:41:05] local.INFO: Extracted packet for processing {"connection_id":50575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:41: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-22 11:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 11:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:41: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-22 11:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:41: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-22 11:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:41:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:41:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":50575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:41:05] local.INFO: GPS data processed {"connection_id":50575,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:41:05] local.INFO: Acknowledgment sent {"connection_id":50575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:41:26] local.INFO: TCP Data received {"connection_id":51129,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:41:26] local.INFO: Processing buffer {"connection_id":51129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:41:26] local.INFO: IMEI packet received {"connection_id":51129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":51129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:41:32] local.INFO: TCP Data received {"connection_id":51129,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:41:32] local.INFO: Processing buffer {"connection_id":51129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:41:32] local.INFO: IMEI packet received {"connection_id":51129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":51129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:41:34] local.INFO: TCP Data received {"connection_id":51129,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:41:34] local.INFO: Processing buffer {"connection_id":51129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:41:34] local.INFO: Packet analysis {"connection_id":51129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:41:34] local.INFO: Extracted packet for processing {"connection_id":51129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:41: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-22 11:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 11:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:41:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:41:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":51129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:41:34] local.INFO: GPS data processed {"connection_id":51129,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:41:34] local.INFO: Acknowledgment sent {"connection_id":51129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:42:05] local.INFO: TCP Data received {"connection_id":51129,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:42:05] local.INFO: Processing buffer {"connection_id":51129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:42:05] local.INFO: Packet analysis {"connection_id":51129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:42:05] local.INFO: Extracted packet for processing {"connection_id":51129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 11:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11: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-22 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:42: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-22 11:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:42:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:42:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":51129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:42:05] local.INFO: GPS data processed {"connection_id":51129,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:42:05] local.INFO: Acknowledgment sent {"connection_id":51129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:42:32] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:42:32] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:42:32] local.INFO: IMEI packet received {"connection_id":50447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:42:37] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:42:37] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:42:37] local.INFO: IMEI packet received {"connection_id":50447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":50447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:42:38] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:42:38] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:42:38] local.INFO: Packet analysis {"connection_id":50447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:42:38] local.INFO: Extracted packet for processing {"connection_id":50447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:42: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-22 11:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 11:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:42: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-22 11:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:42: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-22 11:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:42:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:42:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":50447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:42:38] local.INFO: GPS data processed {"connection_id":50447,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:42:38] local.INFO: Acknowledgment sent {"connection_id":50447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:42:43] local.INFO: TCP Data received {"connection_id":50447,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:42:43] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:42:43] local.INFO: Packet analysis {"connection_id":50447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:42:43] local.INFO: Extracted packet for processing {"connection_id":50447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 11:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:42:43] 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-22 11:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:42:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:42:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":50447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:42:43] local.INFO: GPS data processed {"connection_id":50447,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:42:43] local.INFO: Acknowledgment sent {"connection_id":50447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:43:06] local.INFO: TCP Data received {"connection_id":50448,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:43:06] local.INFO: Processing buffer {"connection_id":50448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:43:06] local.INFO: IMEI packet received {"connection_id":50448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":50448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:43:26] local.INFO: TCP Data received {"connection_id":50450,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:43:26] local.INFO: Processing buffer {"connection_id":50450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:43:26] local.INFO: IMEI packet received {"connection_id":50450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":50450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:43:31] local.INFO: TCP Data received {"connection_id":50450,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:43:31] local.INFO: Processing buffer {"connection_id":50450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:43:31] local.INFO: IMEI packet received {"connection_id":50450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":50450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:43:32] local.INFO: TCP Data received {"connection_id":50450,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:43:32] local.INFO: Processing buffer {"connection_id":50450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:43:32] local.INFO: Packet analysis {"connection_id":50450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:43:32] local.INFO: Extracted packet for processing {"connection_id":50450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:43: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-22 11:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 11: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-22 11:43: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:43: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-22 11: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-22 11: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-22 11:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:43:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:43:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":50450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:43:32] local.INFO: GPS data processed {"connection_id":50450,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:43:32] local.INFO: Acknowledgment sent {"connection_id":50450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:44:04] local.INFO: TCP Data received {"connection_id":50450,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:44:04] local.INFO: Processing buffer {"connection_id":50450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:44:04] local.INFO: Packet analysis {"connection_id":50450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:44:04] local.INFO: Extracted packet for processing {"connection_id":50450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:44: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-22 11:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 11: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-22 11:44: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:44:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:44:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:44:04] local.INFO: GPS data processed {"connection_id":50450,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:44:04] local.INFO: Acknowledgment sent {"connection_id":50450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:44:26] local.INFO: TCP Data received {"connection_id":50453,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:44:26] local.INFO: Processing buffer {"connection_id":50453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:44:26] local.INFO: IMEI packet received {"connection_id":50453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":50453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:44:32] local.INFO: TCP Data received {"connection_id":50453,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:44:32] local.INFO: Processing buffer {"connection_id":50453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:44:32] local.INFO: IMEI packet received {"connection_id":50453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:44:33] local.INFO: TCP Data received {"connection_id":50453,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:44:33] local.INFO: Processing buffer {"connection_id":50453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ceb650012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:44:33] local.INFO: Packet analysis {"connection_id":50453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:44:33] local.INFO: Extracted packet for processing {"connection_id":50453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ce"} 
[2026-04-22 11:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870492416001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776838162000,"timestamp_ms":1776838162000,"timestamp_seconds":1776838162,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ceb650"} 
[2026-04-22 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-22 11:44: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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:44: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-22 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-22 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-22 11:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870492416001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870492416001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:44:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:44:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870492416001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":50453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:44:33] local.INFO: GPS data processed {"connection_id":50453,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:44:33] local.INFO: Acknowledgment sent {"connection_id":50453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:45:05] local.INFO: TCP Data received {"connection_id":50453,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:45:05] local.INFO: Processing buffer {"connection_id":50453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:45:05] local.INFO: Packet analysis {"connection_id":50453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:45:05] local.INFO: Extracted packet for processing {"connection_id":50453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11: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-22 11:45: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-22 11: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:45: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-22 11: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-22 11: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-22 11:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:45:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:45:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":50453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:45:05] local.INFO: GPS data processed {"connection_id":50453,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:45:05] local.INFO: Acknowledgment sent {"connection_id":50453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:45:32] local.INFO: TCP Data received {"connection_id":50198,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:45:32] local.INFO: Processing buffer {"connection_id":50198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:45:32] local.INFO: IMEI packet received {"connection_id":50198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":50198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:45:37] local.INFO: TCP Data received {"connection_id":50198,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:45:37] local.INFO: Processing buffer {"connection_id":50198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:45:37] local.INFO: IMEI packet received {"connection_id":50198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":50198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:45:38] local.INFO: TCP Data received {"connection_id":50198,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:45:38] local.INFO: Processing buffer {"connection_id":50198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:45:38] local.INFO: Packet analysis {"connection_id":50198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:45:38] local.INFO: Extracted packet for processing {"connection_id":50198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45: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-22 11:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11: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-22 11:45: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:45: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-22 11: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-22 11: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-22 11:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:45:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:45:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":50198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:45:38] local.INFO: GPS data processed {"connection_id":50198,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:45:38] local.INFO: Acknowledgment sent {"connection_id":50198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:45:40] local.INFO: TCP Data received {"connection_id":50197,"ip":"117.225.129.107","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:45:40] local.INFO: Processing buffer {"connection_id":50197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:45:40] local.INFO: IMEI packet received {"connection_id":50197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":50197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:45:42] local.INFO: TCP Data received {"connection_id":50197,"ip":"117.225.129.107","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d2fff8012d19a440071fd7a80038009b26..."} 
[2026-04-22 11:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d2fff8012d19a440071fd7a80038009b26..."} 
[2026-04-22 11:45:42] local.INFO: Processing buffer {"connection_id":50197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d2fff8012d19a440071fd7a80038009b26..."} 
[2026-04-22 11:45:42] local.INFO: Packet analysis {"connection_id":50197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d2"} 
[2026-04-22 11:45:42] local.INFO: Extracted packet for processing {"connection_id":50197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d2"} 
[2026-04-22 11:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756655168,"raw_latitude":119527336,"longitude_deg":75.6655168,"latitude_deg":11.9527336,"altitude":56,"angle":155,"satellites":38,"speed":0,"hex_longitude":"2d19a440","hex_latitude":"071fd7a8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870636032001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113855154905677824,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146471921664,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:42] 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-22 11:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776838443000,"timestamp_ms":1776838443000,"timestamp_seconds":1776838443,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d2fff8"} 
[2026-04-22 11: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-22 11:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-22 11:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.129.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870636032001,"66":12504,"121":206,"28":31744,"24":0,"16":113855154905677824,"45":1847672146471921664},"client_ip":"117.225.129.107","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 11:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870636032001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:45:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 11:45:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113855154905677824,"km_value":113855154905677.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146471921664,"description":"Unknown IO ID 45"} 
[2026-04-22 11:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870636032001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1847672146471921664}} 
[2026-04-22 11:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":50197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:45:42] local.INFO: GPS data processed {"connection_id":50197,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:45:42] local.INFO: Acknowledgment sent {"connection_id":50197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:45:43] local.INFO: TCP Data received {"connection_id":50198,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:45:43] local.INFO: Processing buffer {"connection_id":50198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:45:43] local.INFO: Packet analysis {"connection_id":50198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:45:43] local.INFO: Extracted packet for processing {"connection_id":50198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:45:43] 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-22 11:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:45:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:45:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":50198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:45:43] local.INFO: GPS data processed {"connection_id":50198,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:45:43] local.INFO: Acknowledgment sent {"connection_id":50198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:46:26] local.INFO: TCP Data received {"connection_id":50454,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:46:26] local.INFO: Processing buffer {"connection_id":50454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:46:26] local.INFO: IMEI packet received {"connection_id":50454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":50454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:46:32] local.INFO: TCP Data received {"connection_id":50454,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:46:32] local.INFO: Processing buffer {"connection_id":50454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:46:32] local.INFO: IMEI packet received {"connection_id":50454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:46:34] local.INFO: TCP Data received {"connection_id":50454,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:46:34] local.INFO: Processing buffer {"connection_id":50454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:46:34] local.INFO: Packet analysis {"connection_id":50454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:46:34] local.INFO: Extracted packet for processing {"connection_id":50454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:46: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-22 11:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:46:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:46:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":50454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:46:34] local.INFO: GPS data processed {"connection_id":50454,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:46:34] local.INFO: Acknowledgment sent {"connection_id":50454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:47:09] local.INFO: TCP Data received {"connection_id":50454,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:47:09] local.INFO: Processing buffer {"connection_id":50454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:47:09] local.INFO: Packet analysis {"connection_id":50454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:47:09] local.INFO: Extracted packet for processing {"connection_id":50454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11: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-22 11:47: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:47: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-22 11: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-22 11: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-22 11:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:47:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:47:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":50454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:47:09] local.INFO: GPS data processed {"connection_id":50454,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:47:09] local.INFO: Acknowledgment sent {"connection_id":50454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:47:26] local.INFO: TCP Data received {"connection_id":51132,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:47:26] local.INFO: Processing buffer {"connection_id":51132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:47:26] local.INFO: IMEI packet received {"connection_id":51132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":51132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:47:32] local.INFO: TCP Data received {"connection_id":51132,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:47:32] local.INFO: Processing buffer {"connection_id":51132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:47:32] local.INFO: IMEI packet received {"connection_id":51132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":51132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:47:34] local.INFO: TCP Data received {"connection_id":51132,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:47:34] local.INFO: Processing buffer {"connection_id":51132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:47:34] local.INFO: Packet analysis {"connection_id":51132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:47:34] local.INFO: Extracted packet for processing {"connection_id":51132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:47: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-22 11:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11: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-22 11:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:47:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:47:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":51132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:47:34] local.INFO: GPS data processed {"connection_id":51132,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:47:34] local.INFO: Acknowledgment sent {"connection_id":51132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:48:06] local.INFO: TCP Data received {"connection_id":51132,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:48:06] local.INFO: Processing buffer {"connection_id":51132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:48:06] local.INFO: Packet analysis {"connection_id":51132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:48:06] local.INFO: Extracted packet for processing {"connection_id":51132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:48: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-22 11:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:48: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-22 11:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:48:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:48:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":51132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:48:06] local.INFO: GPS data processed {"connection_id":51132,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:48:06] local.INFO: Acknowledgment sent {"connection_id":51132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:48:32] local.INFO: TCP Data received {"connection_id":50456,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:48:32] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:48:32] local.INFO: IMEI packet received {"connection_id":50456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:48:37] local.INFO: TCP Data received {"connection_id":50456,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:48:37] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:48:37] local.INFO: IMEI packet received {"connection_id":50456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":50456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:48:38] local.INFO: TCP Data received {"connection_id":50456,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:48:38] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:48:38] local.INFO: Packet analysis {"connection_id":50456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:48:38] local.INFO: Extracted packet for processing {"connection_id":50456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:48: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-22 11:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11: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-22 11:48: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:48: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-22 11: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-22 11: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-22 11:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:48:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:48:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":50456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:48:38] local.INFO: GPS data processed {"connection_id":50456,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:48:38] local.INFO: Acknowledgment sent {"connection_id":50456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:48:43] local.INFO: TCP Data received {"connection_id":50456,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:48:43] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:48:43] local.INFO: Packet analysis {"connection_id":50456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:48:43] local.INFO: Extracted packet for processing {"connection_id":50456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:48:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:48:43] 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-22 11:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:48:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:48:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":50456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:48:43] local.INFO: GPS data processed {"connection_id":50456,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:48:43] local.INFO: Acknowledgment sent {"connection_id":50456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:49:16] local.INFO: TCP Data received {"connection_id":51133,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:49:16] local.INFO: Processing buffer {"connection_id":51133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:49:16] local.INFO: IMEI packet received {"connection_id":51133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":51133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:49:27] local.INFO: TCP Data received {"connection_id":50577,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:49:27] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:49:27] local.INFO: IMEI packet received {"connection_id":50577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:49:32] local.INFO: TCP Data received {"connection_id":50577,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:49:32] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:49:32] local.INFO: IMEI packet received {"connection_id":50577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:49:33] local.INFO: TCP Data received {"connection_id":50577,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:49:33] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d34e18012d7f888005afdcc80010012c27..."} 
[2026-04-22 11:49:33] local.INFO: Packet analysis {"connection_id":50577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:49:33] local.INFO: Extracted packet for processing {"connection_id":50577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d3"} 
[2026-04-22 11:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870569472001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776838463000,"timestamp_ms":1776838463000,"timestamp_seconds":1776838463,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d34e18"} 
[2026-04-22 11: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-22 11:49: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:49: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-22 11: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-22 11: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-22 11:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870569472001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870569472001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:49:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870569472001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":50577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:49:33] local.INFO: GPS data processed {"connection_id":50577,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:49:33] local.INFO: Acknowledgment sent {"connection_id":50577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:49:51] local.INFO: TCP Data received {"connection_id":50457,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:49:51] local.INFO: Processing buffer {"connection_id":50457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:49:51] local.INFO: IMEI packet received {"connection_id":50457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":50457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:50:05] local.INFO: TCP Data received {"connection_id":50577,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:50:05] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:50:05] local.INFO: Packet analysis {"connection_id":50577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:50:05] local.INFO: Extracted packet for processing {"connection_id":50577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 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-22 11:50: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:50: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-22 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-22 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-22 11:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:50:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:50:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":50577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:50:05] local.INFO: GPS data processed {"connection_id":50577,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:50:05] local.INFO: Acknowledgment sent {"connection_id":50577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:50:26] local.INFO: TCP Data received {"connection_id":51134,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:50:26] local.INFO: Processing buffer {"connection_id":51134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:50:26] local.INFO: IMEI packet received {"connection_id":51134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":51134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:50:32] local.INFO: TCP Data received {"connection_id":51134,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:50:32] local.INFO: Processing buffer {"connection_id":51134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:50:32] local.INFO: IMEI packet received {"connection_id":51134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":51134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:50:33] local.INFO: TCP Data received {"connection_id":51134,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:50:33] local.INFO: Processing buffer {"connection_id":51134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:50:33] local.INFO: Packet analysis {"connection_id":51134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:50:33] local.INFO: Extracted packet for processing {"connection_id":51134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 11: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-22 11:50: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:50: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-22 11: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-22 11: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-22 11:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:50:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:50:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":51134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:50:33] local.INFO: GPS data processed {"connection_id":51134,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:50:33] local.INFO: Acknowledgment sent {"connection_id":51134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:51:04] local.INFO: TCP Data received {"connection_id":51134,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:51:04] local.INFO: Processing buffer {"connection_id":51134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:51:04] local.INFO: Packet analysis {"connection_id":51134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:51:04] local.INFO: Extracted packet for processing {"connection_id":51134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:51:04] 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-22 11: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-22 11: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-22 11:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:51:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:51:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":51134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:51:05] local.INFO: GPS data processed {"connection_id":51134,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:51:05] local.INFO: Acknowledgment sent {"connection_id":51134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:51:23] local.INFO: TCP Data received {"connection_id":50200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:51:23] local.INFO: Processing buffer {"connection_id":50200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:51:23] local.INFO: IMEI packet received {"connection_id":50200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":50200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:51:23] local.INFO: TCP Data received {"connection_id":50200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:51:23] local.INFO: Processing buffer {"connection_id":50200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:51:23] local.INFO: IMEI packet received {"connection_id":50200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":50200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:51:26] local.INFO: TCP Data received {"connection_id":50201,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:51:26] local.INFO: Processing buffer {"connection_id":50201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:51:26] local.INFO: IMEI packet received {"connection_id":50201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":50201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:51:28] local.INFO: TCP Data received {"connection_id":50200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:51:28] local.INFO: Processing buffer {"connection_id":50200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:51:28] local.INFO: IMEI packet received {"connection_id":50200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":50200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:51:29] local.INFO: TCP Data received {"connection_id":50200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d69dc0012d19a440071fd7a80038009b23..."} 
[2026-04-22 11:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d69dc0012d19a440071fd7a80038009b23..."} 
[2026-04-22 11:51:29] local.INFO: Processing buffer {"connection_id":50200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d69dc0012d19a440071fd7a80038009b23..."} 
[2026-04-22 11:51:29] local.INFO: Packet analysis {"connection_id":50200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d6"} 
[2026-04-22 11:51:29] local.INFO: Extracted packet for processing {"connection_id":50200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d6"} 
[2026-04-22 11:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756655168,"raw_latitude":119527336,"longitude_deg":75.6655168,"latitude_deg":11.9527336,"altitude":56,"angle":155,"satellites":35,"speed":0,"hex_longitude":"2d19a440","hex_latitude":"071fd7a8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870696704001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113855154905677824,"note":"Value kept but may cause issues"} 
[2026-04-22 11:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146471921664,"note":"Value kept but may cause issues"} 
[2026-04-22 11:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776838680000,"timestamp_ms":1776838680000,"timestamp_seconds":1776838680,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d69dc0"} 
[2026-04-22 11: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-22 11:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 11:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":50200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":50200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":50200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:51:29] 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-22 11:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870696704001,"66":12722,"121":206,"28":31744,"24":0,"16":113855154905677824,"45":1847672146471921664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 11:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870696704001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:51:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 11:51:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 11:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113855154905677824,"km_value":113855154905677.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146471921664,"description":"Unknown IO ID 45"} 
[2026-04-22 11:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870696704001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1847672146471921664}} 
[2026-04-22 11:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":50200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:51:29] local.INFO: GPS data processed {"connection_id":50200,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:51:29] local.INFO: Acknowledgment sent {"connection_id":50200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:51:32] local.INFO: TCP Data received {"connection_id":50201,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:51:32] local.INFO: Processing buffer {"connection_id":50201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:51:32] local.INFO: IMEI packet received {"connection_id":50201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:51:33] local.INFO: TCP Data received {"connection_id":50201,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:51:33] local.INFO: Processing buffer {"connection_id":50201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:51:33] local.INFO: Packet analysis {"connection_id":50201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:51:33] local.INFO: Extracted packet for processing {"connection_id":50201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 11: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-22 11:51: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-22 11: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:51: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-22 11: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-22 11: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-22 11:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:51:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:51:33] local.INFO: GPS data processed {"connection_id":50201,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:51:33] local.INFO: Acknowledgment sent {"connection_id":50201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:52:00] local.INFO: TCP Data received {"connection_id":50200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d99390012d19b140071fb0180036005624..."} 
[2026-04-22 11:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d99390012d19b140071fb0180036005624..."} 
[2026-04-22 11:52:00] local.INFO: Processing buffer {"connection_id":50200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d99390012d19b140071fb0180036005624..."} 
[2026-04-22 11:52:00] local.INFO: Packet analysis {"connection_id":50200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d9"} 
[2026-04-22 11:52:00] local.INFO: Extracted packet for processing {"connection_id":50200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d9"} 
[2026-04-22 11:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756658496,"raw_latitude":119517208,"longitude_deg":75.6658496,"latitude_deg":11.9517208,"altitude":54,"angle":86,"satellites":36,"speed":14,"hex_longitude":"2d19b140","hex_latitude":"071fb018","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870751488001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113855721841360896,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108701501440,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776838874000,"timestamp_ms":1776838874000,"timestamp_seconds":1776838874,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d99390"} 
[2026-04-22 11: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-22 11:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940776789,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3017365752,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84752171966865346,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505336923619328,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3646998529,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3238002745,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2147950529,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485674,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.WARNING: Large IO value detected {"io_id":32,"raw_value":16607578331023616,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:00] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,127,139,45,128,176,54,35,10,66,104,190,56,37,126,100,1,240,185,227,179,31,4,113,205,12,92,168,38,239,55,2,148,7,58,9,206,32],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 11:52:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891232278458466304,"timestamp_seconds":3891232278458466.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 11: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-22 11:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":50200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":50200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":50200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:52:00] 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-22 11:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870751488001,"66":14341,"106":206,"83":41984,"24":14,"16":113855721841360896,"45":1850909108701501440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 11:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870751488001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:52:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 11:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 11:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113855721841360896,"km_value":113855721841360.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108701501440,"description":"Unknown IO ID 45"} 
[2026-04-22 11:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870751488001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1850909108701501440}} 
[2026-04-22 11:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":50200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:52:00] local.INFO: GPS data processed {"connection_id":50200,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:52:00] local.INFO: Acknowledgment sent {"connection_id":50200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:52:05] local.INFO: TCP Data received {"connection_id":50201,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:52:05] local.INFO: Processing buffer {"connection_id":50201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:52:05] local.INFO: Packet analysis {"connection_id":50201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:52:05] local.INFO: Extracted packet for processing {"connection_id":50201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 11: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-22 11:52: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:52: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-22 11: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-22 11: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-22 11:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:52:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:52:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":50201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:52:05] local.INFO: GPS data processed {"connection_id":50201,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:52:05] local.INFO: Acknowledgment sent {"connection_id":50201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:52:32] local.INFO: TCP Data received {"connection_id":50579,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:52:32] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:52:32] local.INFO: IMEI packet received {"connection_id":50579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":50579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:52:33] local.INFO: TCP Data received {"connection_id":50202,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:52:33] local.INFO: Processing buffer {"connection_id":50202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:52:33] local.INFO: IMEI packet received {"connection_id":50202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":50202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:52:37] local.INFO: TCP Data received {"connection_id":50579,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:52:37] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:52:37] local.INFO: IMEI packet received {"connection_id":50579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":50579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:52:37] local.INFO: TCP Data received {"connection_id":50202,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:52:37] local.INFO: Processing buffer {"connection_id":50202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:52:37] local.INFO: IMEI packet received {"connection_id":50202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":50202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:52:38] local.INFO: TCP Data received {"connection_id":50202,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d99778012d19b2c0071fb0700036004a23..."} 
[2026-04-22 11:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d99778012d19b2c0071fb0700036004a23..."} 
[2026-04-22 11:52:38] local.INFO: Processing buffer {"connection_id":50202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d99778012d19b2c0071fb0700036004a23..."} 
[2026-04-22 11:52:38] local.INFO: Packet analysis {"connection_id":50202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d9"} 
[2026-04-22 11:52:38] local.INFO: Extracted packet for processing {"connection_id":50202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d9"} 
[2026-04-22 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756658880,"raw_latitude":119517296,"longitude_deg":75.665888,"latitude_deg":11.9517296,"altitude":54,"angle":74,"satellites":35,"speed":15,"hex_longitude":"2d19b2c0","hex_latitude":"071fb070","is_valid_coordinates":true} 
[2026-04-22 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870751744001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113855743316197376,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851331321166567424,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52: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-22 11:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776838875000,"timestamp_ms":1776838875000,"timestamp_seconds":1776838875,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d99778"} 
[2026-04-22 11:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940776792,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3017366752,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505336923815936,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3647254529,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3222274105,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2147950529,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84752176261832641,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":216,"raw_value":16325987390195968,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,127,143,45,192,176,54,36,10,66,139,128,35,104,1,240,218,227,126,179,31,4,113,205,13,96,169,38,239,55,2,148,7,57,206,248,216],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 11:52:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891204790667837440,"timestamp_seconds":3891204790667837.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 11:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:52:38] 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-22 11:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870751744001,"66":13993,"106":206,"83":41984,"24":15,"16":113855743316197376,"45":1851331321166567424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 11:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870751744001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:52:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 11:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 11:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113855743316197376,"km_value":113855743316197.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851331321166567424,"description":"Unknown IO ID 45"} 
[2026-04-22 11:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870751744001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1851331321166567424}} 
[2026-04-22 11:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":50202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:52:38] local.INFO: GPS data processed {"connection_id":50202,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:52:38] local.INFO: Acknowledgment sent {"connection_id":50202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:52:38] local.INFO: TCP Data received {"connection_id":50579,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:52:38] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:52:38] local.INFO: Packet analysis {"connection_id":50579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:52:38] local.INFO: Extracted packet for processing {"connection_id":50579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52: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-22 11:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 11:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:52: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-22 11:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:52:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:52:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":50579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:52:38] local.INFO: GPS data processed {"connection_id":50579,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:52:38] local.INFO: Acknowledgment sent {"connection_id":50579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:52:42] local.INFO: TCP Data received {"connection_id":50579,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:52:42] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:52:42] local.INFO: Packet analysis {"connection_id":50579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:52:42] local.INFO: Extracted packet for processing {"connection_id":50579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 11:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:52:42] 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-22 11:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:52:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:52:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":50579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:52:42] local.INFO: GPS data processed {"connection_id":50579,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:52:42] local.INFO: Acknowledgment sent {"connection_id":50579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:53:09] local.INFO: TCP Data received {"connection_id":50202,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3daacd0012d1a16c0071faf70003a008926..."} 
[2026-04-22 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3daacd0012d1a16c0071faf70003a008926..."} 
[2026-04-22 11:53:09] local.INFO: Processing buffer {"connection_id":50202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3daacd0012d1a16c0071faf70003a008926..."} 
[2026-04-22 11:53:09] local.INFO: Packet analysis {"connection_id":50202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3da"} 
[2026-04-22 11:53:09] local.INFO: Extracted packet for processing {"connection_id":50202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3da"} 
[2026-04-22 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756684480,"raw_latitude":119517040,"longitude_deg":75.668448,"latitude_deg":11.951704,"altitude":58,"angle":137,"satellites":38,"speed":6,"hex_longitude":"2d1a16c0","hex_latitude":"071faf70","is_valid_coordinates":true} 
[2026-04-22 11:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870769152001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113857143475535872,"note":"Value kept but may cause issues"} 
[2026-04-22 11:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879126975116836864,"note":"Value kept but may cause issues"} 
[2026-04-22 11:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776838946000,"timestamp_ms":1776838946000,"timestamp_seconds":1776838946,"priority":1,"record_length":96,"hex_timestamp":"0000019db3daacd0"} 
[2026-04-22 11:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 11:53:09] 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-22 11:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:53:09] 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-22 11:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870769152001,"66":14004,"106":206,"83":41984,"24":6,"16":113857143475535872,"45":1879126975116836864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 11:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870769152001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:53:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 11:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 11:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113857143475535872,"km_value":113857143475535.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879126975116836864,"description":"Unknown IO ID 45"} 
[2026-04-22 11:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870769152001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1879126975116836864}} 
[2026-04-22 11:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":50202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:53:09] local.INFO: GPS data processed {"connection_id":50202,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:53:09] local.INFO: Acknowledgment sent {"connection_id":50202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:53:25] local.INFO: TCP Data received {"connection_id":51137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:25] local.INFO: Processing buffer {"connection_id":51137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:25] local.INFO: IMEI packet received {"connection_id":51137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":51137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:53:26] local.INFO: TCP Data received {"connection_id":51137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:26] local.INFO: Processing buffer {"connection_id":51137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:26] local.INFO: IMEI packet received {"connection_id":51137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":51137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:53:26] local.INFO: TCP Data received {"connection_id":51136,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:53:26] local.INFO: Processing buffer {"connection_id":51136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:53:26] local.INFO: IMEI packet received {"connection_id":51136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":51136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:53:27] local.INFO: TCP Data received {"connection_id":51137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:27] local.INFO: Processing buffer {"connection_id":51137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:27] local.INFO: IMEI packet received {"connection_id":51137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":51137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:53:28] local.INFO: TCP Data received {"connection_id":51137,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:28] local.INFO: Processing buffer {"connection_id":51137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:53:28] local.INFO: IMEI packet received {"connection_id":51137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":51137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:53:32] local.INFO: TCP Data received {"connection_id":51136,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:53:32] local.INFO: Processing buffer {"connection_id":51136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:53:32] local.INFO: IMEI packet received {"connection_id":51136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":51136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:53:33] local.INFO: TCP Data received {"connection_id":51136,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:53:33] local.INFO: Processing buffer {"connection_id":51136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:53:33] local.INFO: Packet analysis {"connection_id":51136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:53:33] local.INFO: Extracted packet for processing {"connection_id":51136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 11: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-22 11: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:53: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-22 11: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-22 11: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-22 11:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:53:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":51136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:53:33] local.INFO: GPS data processed {"connection_id":51136,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:53:33] local.INFO: Acknowledgment sent {"connection_id":51136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:54:05] local.INFO: TCP Data received {"connection_id":51136,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:54:05] local.INFO: Processing buffer {"connection_id":51136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:54:05] local.INFO: Packet analysis {"connection_id":51136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:54:05] local.INFO: Extracted packet for processing {"connection_id":51136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 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-22 11: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:54: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-22 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-22 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-22 11:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:54:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":51136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:54:05] local.INFO: GPS data processed {"connection_id":51136,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:54:05] local.INFO: Acknowledgment sent {"connection_id":51136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:54:26] local.INFO: TCP Data received {"connection_id":50204,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:54:26] local.INFO: Processing buffer {"connection_id":50204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:54:26] local.INFO: IMEI packet received {"connection_id":50204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":50204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:54:32] local.INFO: TCP Data received {"connection_id":50204,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:54:32] local.INFO: Processing buffer {"connection_id":50204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:54:32] local.INFO: IMEI packet received {"connection_id":50204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:54:33] local.INFO: TCP Data received {"connection_id":50204,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:54:33] local.INFO: Processing buffer {"connection_id":50204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d7e5e0012d7f888005afdcc80011012c27..."} 
[2026-04-22 11:54:33] local.INFO: Packet analysis {"connection_id":50204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:54:33] local.INFO: Extracted packet for processing {"connection_id":50204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d7"} 
[2026-04-22 11:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870646528001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:54: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-22 11:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776838764000,"timestamp_ms":1776838764000,"timestamp_seconds":1776838764,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d7e5e0"} 
[2026-04-22 11: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-22 11:54: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-22 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 11:54: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-22 11: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-22 11: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-22 11:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870646528001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870646528001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:54:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:54:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870646528001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":50204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:54:33] local.INFO: GPS data processed {"connection_id":50204,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:54:33] local.INFO: Acknowledgment sent {"connection_id":50204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:55:05] local.INFO: TCP Data received {"connection_id":50204,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:55:05] local.INFO: Processing buffer {"connection_id":50204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:55:05] local.INFO: Packet analysis {"connection_id":50204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:55:05] local.INFO: Extracted packet for processing {"connection_id":50204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:55: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-22 11:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 11:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:55: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-22 11:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:55: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-22 11:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:55:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:55:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":50204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:55:05] local.INFO: GPS data processed {"connection_id":50204,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:55:05] local.INFO: Acknowledgment sent {"connection_id":50204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:55:16] local.INFO: TCP Data received {"connection_id":51139,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:55:16] local.INFO: Processing buffer {"connection_id":51139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:55:16] local.INFO: IMEI packet received {"connection_id":51139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":51139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:55:32] local.INFO: TCP Data received {"connection_id":51140,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:55:32] local.INFO: Processing buffer {"connection_id":51140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:55:32] local.INFO: IMEI packet received {"connection_id":51140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":51140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:55:37] local.INFO: TCP Data received {"connection_id":51140,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:55:37] local.INFO: Processing buffer {"connection_id":51140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:55:37] local.INFO: IMEI packet received {"connection_id":51140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":51140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:55:38] local.INFO: TCP Data received {"connection_id":51140,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:55:38] local.INFO: Processing buffer {"connection_id":51140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:55:38] local.INFO: Packet analysis {"connection_id":51140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:55:38] local.INFO: Extracted packet for processing {"connection_id":51140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:55: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-22 11:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 11:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:55: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-22 11:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:55: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-22 11:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:55:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:55:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":51140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:55:38] local.INFO: GPS data processed {"connection_id":51140,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:55:38] local.INFO: Acknowledgment sent {"connection_id":51140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:55:49] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:55:49] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 11:55:49] local.INFO: IMEI packet received {"connection_id":50458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 11:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":50458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:56:10] local.INFO: TCP Data received {"connection_id":51140,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:56:10] local.INFO: Processing buffer {"connection_id":51140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:56:10] local.INFO: Packet analysis {"connection_id":51140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:56:10] local.INFO: Extracted packet for processing {"connection_id":51140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 11: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-22 11:56: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:56: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-22 11: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-22 11: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-22 11:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":51140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":51140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":51140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:56:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:56:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":51140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:56:10] local.INFO: GPS data processed {"connection_id":51140,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:56:10] local.INFO: Acknowledgment sent {"connection_id":51140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:56:26] local.INFO: TCP Data received {"connection_id":50205,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:56:26] local.INFO: Processing buffer {"connection_id":50205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:56:26] local.INFO: IMEI packet received {"connection_id":50205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":50205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:56:32] local.INFO: TCP Data received {"connection_id":50205,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:56:32] local.INFO: Processing buffer {"connection_id":50205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:56:32] local.INFO: IMEI packet received {"connection_id":50205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:56:34] local.INFO: TCP Data received {"connection_id":50205,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:56:34] local.INFO: Processing buffer {"connection_id":50205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:56:34] local.INFO: Packet analysis {"connection_id":50205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:56:34] local.INFO: Extracted packet for processing {"connection_id":50205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:56: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-22 11:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 11: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-22 11:56: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-22 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:56:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:56:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":50205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:56:34] local.INFO: GPS data processed {"connection_id":50205,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:56:34] local.INFO: Acknowledgment sent {"connection_id":50205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:57:05] local.INFO: TCP Data received {"connection_id":50205,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:57:05] local.INFO: Processing buffer {"connection_id":50205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:57:05] local.INFO: Packet analysis {"connection_id":50205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:57:05] local.INFO: Extracted packet for processing {"connection_id":50205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 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-22 11: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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:57: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-22 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-22 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-22 11:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:57:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:57:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":50205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:57:05] local.INFO: GPS data processed {"connection_id":50205,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:57:05] local.INFO: Acknowledgment sent {"connection_id":50205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:57:26] local.INFO: TCP Data received {"connection_id":50584,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:57:26] local.INFO: Processing buffer {"connection_id":50584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:57:26] local.INFO: IMEI packet received {"connection_id":50584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":50584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:57:32] local.INFO: TCP Data received {"connection_id":50584,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:57:32] local.INFO: Processing buffer {"connection_id":50584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:57:32] local.INFO: IMEI packet received {"connection_id":50584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:57:34] local.INFO: TCP Data received {"connection_id":50584,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:57:34] local.INFO: Processing buffer {"connection_id":50584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:57:34] local.INFO: Packet analysis {"connection_id":50584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:57:34] local.INFO: Extracted packet for processing {"connection_id":50584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11: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-22 11:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:57: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-22 11:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 11: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-22 11:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 11: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-22 11: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-22 11:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:57:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:57:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":50584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:57:34] local.INFO: GPS data processed {"connection_id":50584,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:57:34] local.INFO: Acknowledgment sent {"connection_id":50584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:58:06] local.INFO: TCP Data received {"connection_id":50584,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:58:06] local.INFO: Processing buffer {"connection_id":50584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:58:06] local.INFO: Packet analysis {"connection_id":50584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:58:06] local.INFO: Extracted packet for processing {"connection_id":50584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58: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-22 11:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 11:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:58: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-22 11:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:58:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:58:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":50584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:58:06] local.INFO: GPS data processed {"connection_id":50584,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:58:06] local.INFO: Acknowledgment sent {"connection_id":50584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:58:32] local.INFO: TCP Data received {"connection_id":51143,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:58:32] local.INFO: Processing buffer {"connection_id":51143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:58:32] local.INFO: IMEI packet received {"connection_id":51143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":51143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:58:34] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:58:34] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:58:34] local.INFO: IMEI packet received {"connection_id":50460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":50460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:58:37] local.INFO: TCP Data received {"connection_id":51143,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:58:37] local.INFO: Processing buffer {"connection_id":51143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:58:37] local.INFO: IMEI packet received {"connection_id":51143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":51143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:58:38] local.INFO: TCP Data received {"connection_id":51143,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:58:38] local.INFO: Processing buffer {"connection_id":51143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:58:38] local.INFO: Packet analysis {"connection_id":51143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:58:38] local.INFO: Extracted packet for processing {"connection_id":51143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58: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-22 11:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 11:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:58: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-22 11:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:58:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:58:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":51143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:58:38] local.INFO: GPS data processed {"connection_id":51143,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:58:38] local.INFO: Acknowledgment sent {"connection_id":51143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:58:38] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:58:38] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:58:38] local.INFO: IMEI packet received {"connection_id":50460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":50460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:58:39] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3de2b58012d1a4040071f80b8003e00bd24..."} 
[2026-04-22 11:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3de2b58012d1a4040071f80b8003e00bd24..."} 
[2026-04-22 11:58:39] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3de2b58012d1a4040071f80b8003e00bd24..."} 
[2026-04-22 11:58:39] local.INFO: Packet analysis {"connection_id":50460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3de"} 
[2026-04-22 11:58:39] local.INFO: Extracted packet for processing {"connection_id":50460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3de"} 
[2026-04-22 11:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505080,"longitude_deg":75.6695104,"latitude_deg":11.950508,"altitude":62,"angle":189,"satellites":36,"speed":2,"hex_longitude":"2d1a4040","hex_latitude":"071f80b8","is_valid_coordinates":true} 
[2026-04-22 11:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870828032001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858152792850432,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891652611577315328,"note":"Value kept but may cause issues"} 
[2026-04-22 11: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-22 11:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776839175000,"timestamp_ms":1776839175000,"timestamp_seconds":1776839175,"priority":1,"record_length":96,"hex_timestamp":"0000019db3de2b58"} 
[2026-04-22 11:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-22 11:58:39] 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-22 11:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:58:39] 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-22 11:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870828032001,"66":12885,"106":206,"83":41984,"24":2,"16":113858152792850432,"45":1891652611577315328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 11:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870828032001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:58:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 11:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 11:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858152792850432,"km_value":113858152792850.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891652611577315328,"description":"Unknown IO ID 45"} 
[2026-04-22 11:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870828032001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1891652611577315328}} 
[2026-04-22 11:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":50460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:58:39] local.INFO: GPS data processed {"connection_id":50460,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:58:39] local.INFO: Acknowledgment sent {"connection_id":50460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:58:40] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3de7d60012d1a4040071f80b0003e00bd22..."} 
[2026-04-22 11:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3de7d60012d1a4040071f80b0003e00bd22..."} 
[2026-04-22 11:58:40] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3de7d60012d1a4040071f80b0003e00bd22..."} 
[2026-04-22 11:58:40] local.INFO: Packet analysis {"connection_id":50460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3de"} 
[2026-04-22 11:58:40] local.INFO: Extracted packet for processing {"connection_id":50460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3de"} 
[2026-04-22 11:58:40] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":34,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 11:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870828800001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833086464,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776839196000,"timestamp_ms":1776839196000,"timestamp_seconds":1776839196,"priority":1,"record_length":96,"hex_timestamp":"0000019db3de7d60"} 
[2026-04-22 11:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 11:58:40] 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-22 11:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870828800001,"66":12819,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833086464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 11:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870828800001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:58:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 11:58:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 11:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833086464,"description":"Unknown IO ID 45"} 
[2026-04-22 11:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870828800001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833086464}} 
[2026-04-22 11:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":50460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:58:40] local.INFO: GPS data processed {"connection_id":50460,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:58:40] local.INFO: Acknowledgment sent {"connection_id":50460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:58:42] local.INFO: TCP Data received {"connection_id":51143,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:58:42] local.INFO: Processing buffer {"connection_id":51143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:58:42] local.INFO: Packet analysis {"connection_id":51143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:58:42] local.INFO: Extracted packet for processing {"connection_id":51143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 11:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 11:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 11:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 11:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 11:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:58:42] 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-22 11:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:58:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:58:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":51143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:58:42] local.INFO: GPS data processed {"connection_id":51143,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:58:42] local.INFO: Acknowledgment sent {"connection_id":51143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:59:10] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3decf68012d1a4040071f80b0003e00bd23..."} 
[2026-04-22 11:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3decf68012d1a4040071f80b0003e00bd23..."} 
[2026-04-22 11:59:10] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3decf68012d1a4040071f80b0003e00bd23..."} 
[2026-04-22 11:59:10] local.INFO: Packet analysis {"connection_id":50460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3de"} 
[2026-04-22 11:59:10] local.INFO: Extracted packet for processing {"connection_id":50460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3de"} 
[2026-04-22 11:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":35,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 11:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870834176001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59: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-22 11:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776839217000,"timestamp_ms":1776839217000,"timestamp_seconds":1776839217,"priority":1,"record_length":96,"hex_timestamp":"0000019db3decf68"} 
[2026-04-22 11:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3017643752,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2184708158,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505336963858432,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-2502629197254869696,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4026608922,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":168,"raw_value":17170987812388864,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182178170011904,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111091696045,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2169700352,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2270843356101798950,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195028224,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84752818359443331,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,129,43,45,64,128,62,36,10,66,31,34,12,192,1,240,85,227,179,4,113,205,232,61,168,239,50,2,148,7,164,69,216],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0}]} 
[2026-04-22 11:59:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467778784078069760,"timestamp_seconds":4467778784078070.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 11:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870834176001,"66":12809,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 11:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870834176001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:59:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 11:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 11:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 11:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870834176001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 11:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":50460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:59:11] local.INFO: GPS data processed {"connection_id":50460,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:59:11] local.INFO: Acknowledgment sent {"connection_id":50460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:59:26] local.INFO: TCP Data received {"connection_id":50585,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:59:26] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:59:26] local.INFO: IMEI packet received {"connection_id":50585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 11:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":50585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:59:32] local.INFO: TCP Data received {"connection_id":50585,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:59:32] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 11:59:32] local.INFO: IMEI packet received {"connection_id":50585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 11:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:59:33] local.INFO: TCP Data received {"connection_id":50585,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:59:33] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 11:59:33] local.INFO: Packet analysis {"connection_id":50585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:59:33] local.INFO: Extracted packet for processing {"connection_id":50585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 11:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 11:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 11:59: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-22 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-22 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-22 11:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 11:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 11:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 11:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 11:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 11:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 11:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 11:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:59:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 11:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 11:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 11:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 11:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":50585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:59:33] local.INFO: GPS data processed {"connection_id":50585,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:59:33] local.INFO: Acknowledgment sent {"connection_id":50585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:59:34] local.INFO: TCP Data received {"connection_id":51144,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:59:34] local.INFO: Processing buffer {"connection_id":51144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:59:34] local.INFO: IMEI packet received {"connection_id":51144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 11:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":51144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 11:59:35] local.INFO: TCP Data received {"connection_id":51144,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:59:35] local.INFO: Processing buffer {"connection_id":51144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 11:59:35] local.INFO: IMEI packet received {"connection_id":51144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 11:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":51144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 11:59:35] local.INFO: TCP Data received {"connection_id":51144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3df2170012d1a4040071f80b0003e00bd24..."} 
[2026-04-22 11:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3df2170012d1a4040071f80b0003e00bd24..."} 
[2026-04-22 11:59:35] local.INFO: Processing buffer {"connection_id":51144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3df2170012d1a4040071f80b0003e00bd24..."} 
[2026-04-22 11:59:35] local.INFO: Packet analysis {"connection_id":51144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3df"} 
[2026-04-22 11:59:35] local.INFO: Extracted packet for processing {"connection_id":51144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3df"} 
[2026-04-22 11:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":36,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 11:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870839552001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59: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-22 11:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776839238000,"timestamp_ms":1776839238000,"timestamp_seconds":1776839238,"priority":1,"record_length":96,"hex_timestamp":"0000019db3df2170"} 
[2026-04-22 11:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:59: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-22 11:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3017664752,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147950466,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2185232446,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-2479539453071573696,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245576674488749,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2170355712,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2270843356101798945,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:35] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,129,125,45,64,128,62,34,10,66,43,36,31,1,240,117,227,179,4,113,205,8,56,33,239,50,2,148,7,61,164],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 11:59:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467778788373037056,"timestamp_seconds":4467778788373037.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 11:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:59:35] 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-22 11:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870839552001,"66":12776,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 11:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870839552001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:59:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 11:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 11:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 11:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870839552001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 11:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":51144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:59:35] local.INFO: GPS data processed {"connection_id":51144,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:59:35] local.INFO: Acknowledgment sent {"connection_id":51144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 11:59:39] local.INFO: TCP Data received {"connection_id":51144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3df7378012d1a4040071f80b0003e00bd25..."} 
[2026-04-22 11:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3df7378012d1a4040071f80b0003e00bd25..."} 
[2026-04-22 11:59:39] local.INFO: Processing buffer {"connection_id":51144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3df7378012d1a4040071f80b0003e00bd25..."} 
[2026-04-22 11:59:39] local.INFO: Packet analysis {"connection_id":51144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3df"} 
[2026-04-22 11:59:39] local.INFO: Extracted packet for processing {"connection_id":51144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3df"} 
[2026-04-22 11:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":37,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 11:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 11:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870844928001,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 11:59: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-22 11:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776839259000,"timestamp_ms":1776839259000,"timestamp_seconds":1776839259,"priority":1,"record_length":96,"hex_timestamp":"0000019db3df7378"} 
[2026-04-22 11:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 11:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 11:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 11:59:39] 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-22 11:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 11:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 11:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 11:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 11:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 11:59:39] 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-22 11:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 11:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 11:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870844928001,"66":12722,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 11:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 11:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 11:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870844928001,"description":"Unknown IO ID 0"} 
[2026-04-22 11:59:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 11:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 11:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 11:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 11:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870844928001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 11:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":51144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 11:59:40] local.INFO: GPS data processed {"connection_id":51144,"processed":1,"errors":0,"total":1} 
[2026-04-22 11:59:40] local.INFO: Acknowledgment sent {"connection_id":51144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:00:05] local.INFO: TCP Data received {"connection_id":50585,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 12:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 12:00:05] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dc7da8012d7f888005afdcc80010012c26..."} 
[2026-04-22 12:00:05] local.INFO: Packet analysis {"connection_id":50585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 12:00:05] local.INFO: Extracted packet for processing {"connection_id":50585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3dc"} 
[2026-04-22 12:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":16,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870723584001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839065000,"timestamp_ms":1776839065000,"timestamp_seconds":1776839065,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dc7da8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:00: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-22 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-22 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-22 12:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870723584001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870723584001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:00:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870723584001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":50585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:00:05] local.INFO: GPS data processed {"connection_id":50585,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:00:05] local.INFO: Acknowledgment sent {"connection_id":50585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:00:15] local.INFO: TCP Data received {"connection_id":51144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3dfc580012d1a4040071f80b0003e00bd27..."} 
[2026-04-22 12:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3dfc580012d1a4040071f80b0003e00bd27..."} 
[2026-04-22 12:00:15] local.INFO: Processing buffer {"connection_id":51144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3dfc580012d1a4040071f80b0003e00bd27..."} 
[2026-04-22 12:00:15] local.INFO: Packet analysis {"connection_id":51144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3df"} 
[2026-04-22 12:00:15] local.INFO: Extracted packet for processing {"connection_id":51144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3df"} 
[2026-04-22 12:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":39,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870850304001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00: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-22 12:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776839280000,"timestamp_ms":1776839280000,"timestamp_seconds":1776839280,"priority":1,"record_length":96,"hex_timestamp":"0000019db3dfc580"} 
[2026-04-22 12: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-22 12:00: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-22 12: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":178,"data_length":795,"current_offset":136} 
[2026-04-22 12:00: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-22 12: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-22 12: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-22 12:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":51144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":51144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":51144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:00:15] 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-22 12:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870850304001,"66":12689,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870850304001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:00:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 12:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870850304001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 12:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":51144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:00:15] local.INFO: GPS data processed {"connection_id":51144,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:00:15] local.INFO: Acknowledgment sent {"connection_id":51144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:00:26] local.INFO: TCP Data received {"connection_id":50461,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:00:26] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:00:26] local.INFO: IMEI packet received {"connection_id":50461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":50461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:00:28] local.INFO: TCP Data received {"connection_id":50587,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:00:28] local.INFO: Processing buffer {"connection_id":50587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:00:28] local.INFO: IMEI packet received {"connection_id":50587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":50587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:00:32] local.INFO: TCP Data received {"connection_id":50461,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:00:32] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:00:32] local.INFO: IMEI packet received {"connection_id":50461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:00:33] local.INFO: TCP Data received {"connection_id":50461,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:00:33] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:00:33] local.INFO: Packet analysis {"connection_id":50461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:00:33] local.INFO: Extracted packet for processing {"connection_id":50461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 12: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-22 12:00: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:00: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-22 12: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-22 12: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-22 12:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:00:33] local.INFO: GPS data processed {"connection_id":50461,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:00:33] local.INFO: Acknowledgment sent {"connection_id":50461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:00:33] local.INFO: TCP Data received {"connection_id":50587,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:00:33] local.INFO: Processing buffer {"connection_id":50587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:00:33] local.INFO: IMEI packet received {"connection_id":50587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":50587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:00:34] local.INFO: TCP Data received {"connection_id":50587,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e01788012d1a4040071f80b0003e00bd21..."} 
[2026-04-22 12:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e01788012d1a4040071f80b0003e00bd21..."} 
[2026-04-22 12:00:34] local.INFO: Processing buffer {"connection_id":50587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e01788012d1a4040071f80b0003e00bd21..."} 
[2026-04-22 12:00:34] local.INFO: Packet analysis {"connection_id":50587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e0"} 
[2026-04-22 12:00:34] local.INFO: Extracted packet for processing {"connection_id":50587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e0"} 
[2026-04-22 12:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":33,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 12:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870855680001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 12:00: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-22 12:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776839301000,"timestamp_ms":1776839301000,"timestamp_seconds":1776839301,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e01788"} 
[2026-04-22 12:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:00: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-22 12:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 12:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:00:34] 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-22 12:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870855680001,"66":12645,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870855680001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:00:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 12:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870855680001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 12:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":50587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:00:34] local.INFO: GPS data processed {"connection_id":50587,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:00:34] local.INFO: Acknowledgment sent {"connection_id":50587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:01:04] local.INFO: TCP Data received {"connection_id":50461,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:01:04] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:01:04] local.INFO: Packet analysis {"connection_id":50461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:01:04] local.INFO: Extracted packet for processing {"connection_id":50461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 12: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-22 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:01:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:01:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:01:04] local.INFO: GPS data processed {"connection_id":50461,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:01:04] local.INFO: Acknowledgment sent {"connection_id":50461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:01:06] local.INFO: TCP Data received {"connection_id":50587,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e06990012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e06990012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:01:06] local.INFO: Processing buffer {"connection_id":50587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e06990012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:01:06] local.INFO: Packet analysis {"connection_id":50587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e0"} 
[2026-04-22 12:01:06] local.INFO: Extracted packet for processing {"connection_id":50587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e0"} 
[2026-04-22 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":38,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870861056001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01: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-22 12:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776839322000,"timestamp_ms":1776839322000,"timestamp_seconds":1776839322,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e06990"} 
[2026-04-22 12:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-22 12:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:01:06] 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-22 12:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870861056001,"66":12613,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870861056001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:01:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 12:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870861056001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 12:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":50587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:01:06] local.INFO: GPS data processed {"connection_id":50587,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:01:06] local.INFO: Acknowledgment sent {"connection_id":50587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:01:16] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:01:16] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:01:16] local.INFO: IMEI packet received {"connection_id":50588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":50588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:01:26] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:01:26] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:01:26] local.INFO: IMEI packet received {"connection_id":50589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":50589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:01:26] local.INFO: TCP Data received {"connection_id":50590,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:01:26] local.INFO: Processing buffer {"connection_id":50590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:01:26] local.INFO: IMEI packet received {"connection_id":50590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":50590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:01:28] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:01:28] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:01:28] local.INFO: IMEI packet received {"connection_id":50589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":50589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:01:31] local.INFO: TCP Data received {"connection_id":50590,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:01:31] local.INFO: Processing buffer {"connection_id":50590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:01:31] local.INFO: IMEI packet received {"connection_id":50590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:01:33] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:01:33] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:01:33] local.INFO: IMEI packet received {"connection_id":50589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":50589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:01:33] local.INFO: TCP Data received {"connection_id":50590,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:01:33] local.INFO: Processing buffer {"connection_id":50590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:01:33] local.INFO: Packet analysis {"connection_id":50590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:01:33] local.INFO: Extracted packet for processing {"connection_id":50590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:01: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-22 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-22 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-22 12:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:01:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:01:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":50590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:01:33] local.INFO: GPS data processed {"connection_id":50590,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:01:33] local.INFO: Acknowledgment sent {"connection_id":50590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:01:34] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e0bb98012d1a4040071f80b0003e00bd24..."} 
[2026-04-22 12:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e0bb98012d1a4040071f80b0003e00bd24..."} 
[2026-04-22 12:01:34] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e0bb98012d1a4040071f80b0003e00bd24..."} 
[2026-04-22 12:01:34] local.INFO: Packet analysis {"connection_id":50589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e0"} 
[2026-04-22 12:01:34] local.INFO: Extracted packet for processing {"connection_id":50589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e0"} 
[2026-04-22 12:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":36,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 12:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870866432001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01: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-22 12:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776839343000,"timestamp_ms":1776839343000,"timestamp_seconds":1776839343,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e0bb98"} 
[2026-04-22 12:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:01: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-22 12:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-22 12:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:01:34] 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-22 12:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870866432001,"66":12526,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870866432001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:01:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 12:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870866432001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 12:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":50589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:01:34] local.INFO: GPS data processed {"connection_id":50589,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:01:34] local.INFO: Acknowledgment sent {"connection_id":50589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:01:51] local.INFO: TCP Data received {"connection_id":50462,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:01:51] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:01:51] local.INFO: IMEI packet received {"connection_id":50462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":50462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:01:56] local.INFO: TCP Data received {"connection_id":50462,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:01:56] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:01:56] local.INFO: IMEI packet received {"connection_id":50462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 12:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":50462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:01:57] local.INFO: TCP Data received {"connection_id":50462,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db3d89990012cb29a4007822fd80042004230..."} 
[2026-04-22 12:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3d89990012cb29a4007822fd80042004230..."} 
[2026-04-22 12:01:57] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3d89990012cb29a4007822fd80042004230..."} 
[2026-04-22 12:01:57] local.INFO: Packet analysis {"connection_id":50462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3d8"} 
[2026-04-22 12:01:57] local.INFO: Extracted packet for processing {"connection_id":50462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3d8"} 
[2026-04-22 12:01:57] local.INFO: GPS Element Parsed {"raw_longitude":749902400,"raw_latitude":125972440,"longitude_deg":74.99024,"latitude_deg":12.597244,"altitude":66,"angle":66,"satellites":48,"speed":0,"hex_longitude":"2cb29a40","hex_latitude":"07822fd8","is_valid_coordinates":true} 
[2026-04-22 12:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870658304001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577074787551815680,"note":"Value kept but may cause issues"} 
[2026-04-22 12:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776838810000,"timestamp_ms":1776838810000,"timestamp_seconds":1776838810,"priority":1,"record_length":96,"hex_timestamp":"0000019db3d89990"} 
[2026-04-22 12:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:01:57] 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-22 12:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-22 12:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":50462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":50462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 12:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":50462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 12:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-22 12:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-22 12:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870658304001,"66":25267,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5577074787551815680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-22 12:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-22 12:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-22 12:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870658304001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:01:57] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-22 12:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-22 12:01:57] 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-22 12:01:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577074787551815680,"description":"Unknown IO ID 44"} 
[2026-04-22 12:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870658304001,"power":25267,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577074787551815680}} 
[2026-04-22 12:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":50462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:01:57] local.INFO: GPS data processed {"connection_id":50462,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:01:57] local.INFO: Acknowledgment sent {"connection_id":50462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:02:04] local.INFO: TCP Data received {"connection_id":50590,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:02:04] local.INFO: Processing buffer {"connection_id":50590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:02:04] local.INFO: Packet analysis {"connection_id":50590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:04] local.INFO: Extracted packet for processing {"connection_id":50590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02: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-22 12:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 12: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-22 12:02: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:02:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:02:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":50590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:02:04] local.INFO: GPS data processed {"connection_id":50590,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:02:04] local.INFO: Acknowledgment sent {"connection_id":50590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:02:05] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e10da0012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e10da0012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:02:05] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e10da0012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:02:05] local.INFO: Packet analysis {"connection_id":50589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:05] local.INFO: Extracted packet for processing {"connection_id":50589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":38,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870871808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839364000,"timestamp_ms":1776839364000,"timestamp_seconds":1776839364,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e10da0"} 
[2026-04-22 12: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-22 12:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 12:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870871808001,"66":12558,"105":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 12:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870871808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:02:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 12:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 12:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870871808001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 12:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":50589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:02:05] local.INFO: GPS data processed {"connection_id":50589,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:02:05] local.INFO: Acknowledgment sent {"connection_id":50589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:02:28] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:02:28] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:02:28] local.INFO: IMEI packet received {"connection_id":50591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":50591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:02:29] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:02:29] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:02:29] local.INFO: IMEI packet received {"connection_id":50591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":50591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:02:32] local.INFO: TCP Data received {"connection_id":50207,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:02:32] local.INFO: Processing buffer {"connection_id":50207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:02:32] local.INFO: IMEI packet received {"connection_id":50207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:02:33] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:02:33] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:02:33] local.INFO: IMEI packet received {"connection_id":50591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":50591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:02:34] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e15fa8012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e15fa8012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:02:34] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e15fa8012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:02:34] local.INFO: Packet analysis {"connection_id":50591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:34] local.INFO: Extracted packet for processing {"connection_id":50591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":38,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877184001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02: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-22 12:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776839385000,"timestamp_ms":1776839385000,"timestamp_seconds":1776839385,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e15fa8"} 
[2026-04-22 12: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-22 12:02: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-22 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3017744752,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249980724842823856,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3754262529,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2159018046,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2170814464,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,129,187,45,64,128,62,36,10,66,106,38,23,1,240,101,227,179,31,4,113,205,115,176,37,239,49,2,148,7,79,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 12:02:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467778801257938944,"timestamp_seconds":4467778801257939.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 12: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-22 12:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:02:34] 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-22 12:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877184001,"66":12526,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877184001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:02:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 12:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877184001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 12:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":50591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:02:34] local.INFO: GPS data processed {"connection_id":50591,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:02:34] local.INFO: Acknowledgment sent {"connection_id":50591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:02:37] local.INFO: TCP Data received {"connection_id":50207,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:02:37] local.INFO: Processing buffer {"connection_id":50207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:02:37] local.INFO: IMEI packet received {"connection_id":50207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":50207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:02:38] local.INFO: TCP Data received {"connection_id":50207,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:02:38] local.INFO: Processing buffer {"connection_id":50207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:02:38] local.INFO: Packet analysis {"connection_id":50207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:38] local.INFO: Extracted packet for processing {"connection_id":50207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02: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-22 12:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 12: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-22 12:02: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:02: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-22 12: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-22 12: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-22 12:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:02:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:02:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":50207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:02:38] local.INFO: GPS data processed {"connection_id":50207,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:02:38] local.INFO: Acknowledgment sent {"connection_id":50207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:02:41] local.INFO: TCP Data received {"connection_id":51145,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:02:41] local.INFO: Processing buffer {"connection_id":51145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:02:41] local.INFO: IMEI packet received {"connection_id":51145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":51145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:02:42] local.INFO: TCP Data received {"connection_id":50207,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:02:42] local.INFO: Processing buffer {"connection_id":50207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:02:42] local.INFO: Packet analysis {"connection_id":50207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:42] local.INFO: Extracted packet for processing {"connection_id":50207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 12:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:02:42] 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-22 12:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:02:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:02:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":50207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:02:42] local.INFO: GPS data processed {"connection_id":50207,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:02:42] local.INFO: Acknowledgment sent {"connection_id":50207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:03:05] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e1b1b0012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e1b1b0012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:03:05] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e1b1b0012d1a4040071f80b0003e00bd26..."} 
[2026-04-22 12:03:05] local.INFO: Packet analysis {"connection_id":50591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:03:05] local.INFO: Extracted packet for processing {"connection_id":50591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756695104,"raw_latitude":119505072,"longitude_deg":75.6695104,"latitude_deg":11.9505072,"altitude":62,"angle":189,"satellites":38,"speed":0,"hex_longitude":"2d1a4040","hex_latitude":"071f80b0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870882560001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858157087817728,"note":"Value kept but may cause issues"} 
[2026-04-22 12:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891582242833084416,"note":"Value kept but may cause issues"} 
[2026-04-22 12:03: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-22 12:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839406000,"timestamp_ms":1776839406000,"timestamp_seconds":1776839406,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e1b1b0"} 
[2026-04-22 12: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-22 12:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 12:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870882560001,"66":12461,"106":206,"83":41984,"24":0,"16":113858157087817728,"45":1891582242833084416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870882560001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:03:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858157087817728,"km_value":113858157087817.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891582242833084416,"description":"Unknown IO ID 45"} 
[2026-04-22 12:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870882560001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1891582242833084416}} 
[2026-04-22 12:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":50591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:03:05] local.INFO: GPS data processed {"connection_id":50591,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:03:05] local.INFO: Acknowledgment sent {"connection_id":50591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:03:26] local.INFO: TCP Data received {"connection_id":50463,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:03:26] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:03:26] local.INFO: IMEI packet received {"connection_id":50463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":50463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:03:28] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:28] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:28] local.INFO: IMEI packet received {"connection_id":50464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":50464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:03:28] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:28] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:28] local.INFO: IMEI packet received {"connection_id":50464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":50464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:03:30] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:30] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:30] local.INFO: IMEI packet received {"connection_id":50464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":50464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:03:32] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:32] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:03:32] local.INFO: IMEI packet received {"connection_id":50464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:03:32] local.INFO: TCP Data received {"connection_id":50463,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:03:32] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:03:32] local.INFO: IMEI packet received {"connection_id":50463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:03:32] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e42698012d1a4000071f85300040002625..."} 
[2026-04-22 12:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e42698012d1a4000071f85300040002625..."} 
[2026-04-22 12:03:32] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e42698012d1a4000071f85300040002625..."} 
[2026-04-22 12:03:32] local.INFO: Packet analysis {"connection_id":50464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e4"} 
[2026-04-22 12:03:32] local.INFO: Extracted packet for processing {"connection_id":50464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e4"} 
[2026-04-22 12:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756695040,"raw_latitude":119506224,"longitude_deg":75.669504,"latitude_deg":11.9506224,"altitude":64,"angle":38,"satellites":37,"speed":4,"hex_longitude":"2d1a4000","hex_latitude":"071f8530","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870928896001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858217217359872,"note":"Value kept but may cause issues"} 
[2026-04-22 12:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891511874089175040,"note":"Value kept but may cause issues"} 
[2026-04-22 12:03: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-22 12:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776839567000,"timestamp_ms":1776839567000,"timestamp_seconds":1776839567,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e42698"} 
[2026-04-22 12: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-22 12:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 12:03:32] 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-22 12: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-22 12: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-22 12:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:03:32] 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-22 12:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870928896001,"66":14113,"106":206,"83":41984,"24":4,"16":113858217217359872,"45":1891511874089175040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870928896001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:03:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858217217359872,"km_value":113858217217359.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891511874089175040,"description":"Unknown IO ID 45"} 
[2026-04-22 12:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870928896001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1891511874089175040}} 
[2026-04-22 12:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":50464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:03:32] local.INFO: GPS data processed {"connection_id":50464,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:03:32] local.INFO: Acknowledgment sent {"connection_id":50464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:03:33] local.INFO: TCP Data received {"connection_id":50463,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:03:33] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:03:33] local.INFO: Packet analysis {"connection_id":50463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:03:33] local.INFO: Extracted packet for processing {"connection_id":50463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 12: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-22 12:03: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:03:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:03:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:03:33] local.INFO: GPS data processed {"connection_id":50463,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:03:33] local.INFO: Acknowledgment sent {"connection_id":50463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:04:03] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e43250012d1a40c0071f86980040001825..."} 
[2026-04-22 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e43250012d1a40c0071f86980040001825..."} 
[2026-04-22 12:04:03] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e43250012d1a40c0071f86980040001825..."} 
[2026-04-22 12:04:03] local.INFO: Packet analysis {"connection_id":50464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e4"} 
[2026-04-22 12:04:03] local.INFO: Extracted packet for processing {"connection_id":50464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e4"} 
[2026-04-22 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756695232,"raw_latitude":119506584,"longitude_deg":75.6695232,"latitude_deg":11.9506584,"altitude":64,"angle":24,"satellites":37,"speed":5,"hex_longitude":"2d1a40c0","hex_latitude":"071f8698","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870929152001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858238692196352,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891511874089201664,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04: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-22 12:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776839570000,"timestamp_ms":1776839570000,"timestamp_seconds":1776839570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e43250"} 
[2026-04-22 12: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-22 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-22 12:04:03] 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-22 12: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-22 12: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-22 12:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:04:03] 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-22 12:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870929152001,"66":14135,"106":206,"83":41984,"24":5,"16":113858238692196352,"45":1891511874089201664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870929152001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858238692196352,"km_value":113858238692196.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891511874089201664,"description":"Unknown IO ID 45"} 
[2026-04-22 12:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870929152001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1891511874089201664}} 
[2026-04-22 12:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:04:04] local.INFO: GPS data processed {"connection_id":50464,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:04:04] local.INFO: Acknowledgment sent {"connection_id":50464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:04:05] local.INFO: TCP Data received {"connection_id":50463,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:04:05] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:04:05] local.INFO: Packet analysis {"connection_id":50463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:04:05] local.INFO: Extracted packet for processing {"connection_id":50463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 12:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:04: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-22 12:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:04: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-22 12:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:04:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:04:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":50463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:04:05] local.INFO: GPS data processed {"connection_id":50463,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:04:05] local.INFO: Acknowledgment sent {"connection_id":50463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:04:26] local.INFO: TCP Data received {"connection_id":50209,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:04:26] local.INFO: Processing buffer {"connection_id":50209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:04:26] local.INFO: IMEI packet received {"connection_id":50209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":50209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:04:28] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:28] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:28] local.INFO: IMEI packet received {"connection_id":50465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":50465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:04:29] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:29] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:29] local.INFO: IMEI packet received {"connection_id":50465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":50465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:04:31] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:31] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:31] local.INFO: IMEI packet received {"connection_id":50465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":50465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:04:32] local.INFO: TCP Data received {"connection_id":50209,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:04:32] local.INFO: Processing buffer {"connection_id":50209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:04:32] local.INFO: IMEI packet received {"connection_id":50209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":50209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:04:33] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:33] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:04:33] local.INFO: IMEI packet received {"connection_id":50465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":50465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:04:33] local.INFO: TCP Data received {"connection_id":50209,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:04:33] local.INFO: Processing buffer {"connection_id":50209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:04:33] local.INFO: Packet analysis {"connection_id":50209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:04:33] local.INFO: Extracted packet for processing {"connection_id":50209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04: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-22 12:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 12: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-22 12:04: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:04: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-22 12: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-22 12: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-22 12:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:04:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:04:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":50209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:04:33] local.INFO: GPS data processed {"connection_id":50209,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:04:33] local.INFO: Acknowledgment sent {"connection_id":50209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:04:33] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e43a20012d1a4100071f87c00040016623..."} 
[2026-04-22 12:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e43a20012d1a4100071f87c00040016623..."} 
[2026-04-22 12:04:33] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e43a20012d1a4100071f87c00040016623..."} 
[2026-04-22 12:04:33] local.INFO: Packet analysis {"connection_id":50465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e4"} 
[2026-04-22 12:04:33] local.INFO: Extracted packet for processing {"connection_id":50465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e4"} 
[2026-04-22 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756695296,"raw_latitude":119506880,"longitude_deg":75.6695296,"latitude_deg":11.950688,"altitude":64,"angle":358,"satellites":35,"speed":5,"hex_longitude":"2d1a4100","hex_latitude":"071f87c0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870929920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113858251577098240,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891722980321826816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:04: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-22 12:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839572000,"timestamp_ms":1776839572000,"timestamp_seconds":1776839572,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e43a20"} 
[2026-04-22 12: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-22 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-22 12:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:04:33] 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-22 12:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870929920001,"66":14102,"106":206,"83":41984,"24":5,"16":113858251577098240,"45":1891722980321826816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870929920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:04:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113858251577098240,"km_value":113858251577098.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891722980321826816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870929920001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1891722980321826816}} 
[2026-04-22 12:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":50465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:04:33] local.INFO: GPS data processed {"connection_id":50465,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:04:33] local.INFO: Acknowledgment sent {"connection_id":50465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:05:04] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e595c8012d1a1640071fab38003e011328..."} 
[2026-04-22 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e595c8012d1a1640071fab38003e011328..."} 
[2026-04-22 12:05:04] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e595c8012d1a1640071fab38003e011328..."} 
[2026-04-22 12:05:04] local.INFO: Packet analysis {"connection_id":50465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:05:04] local.INFO: Extracted packet for processing {"connection_id":50465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756684352,"raw_latitude":119515960,"longitude_deg":75.6684352,"latitude_deg":11.951596,"altitude":62,"angle":275,"satellites":40,"speed":7,"hex_longitude":"2d1a1640","hex_latitude":"071fab38","is_valid_coordinates":true} 
[2026-04-22 12:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870952704001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113859089095720960,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880182506279032832,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05: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-22 12:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776839661000,"timestamp_ms":1776839661000,"timestamp_seconds":1776839661,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e595c8"} 
[2026-04-22 12:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 12:05:04] 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-22 12:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:05:04] 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-22 12:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870952704001,"66":14276,"106":206,"83":41984,"24":7,"16":113859089095720960,"45":1880182506279032832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870952704001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:05:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113859089095720960,"km_value":113859089095720.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880182506279032832,"description":"Unknown IO ID 45"} 
[2026-04-22 12:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870952704001,"power":14276,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1880182506279032832}} 
[2026-04-22 12:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":50465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:05:04] local.INFO: GPS data processed {"connection_id":50465,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:05:04] local.INFO: Acknowledgment sent {"connection_id":50465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:05:05] local.INFO: TCP Data received {"connection_id":50209,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:05:05] local.INFO: Processing buffer {"connection_id":50209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e11570012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:05:05] local.INFO: Packet analysis {"connection_id":50209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:05:05] local.INFO: Extracted packet for processing {"connection_id":50209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e1"} 
[2026-04-22 12:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870800640001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839366000,"timestamp_ms":1776839366000,"timestamp_seconds":1776839366,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e11570"} 
[2026-04-22 12: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-22 12:05: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:05: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-22 12: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-22 12: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-22 12:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870800640001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870800640001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:05:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:05:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870800640001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":50209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:05:05] local.INFO: GPS data processed {"connection_id":50209,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:05:05] local.INFO: Acknowledgment sent {"connection_id":50209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:05:28] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:28] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:28] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:05:29] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:29] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:29] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:05:30] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:30] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:30] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:05:32] local.INFO: TCP Data received {"connection_id":51146,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:05:32] local.INFO: Processing buffer {"connection_id":51146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:05:32] local.INFO: IMEI packet received {"connection_id":51146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":51146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:05:33] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:33] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:05:33] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:05:33] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e59d98012d1a1480071fac10003e012e29..."} 
[2026-04-22 12:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e59d98012d1a1480071fac10003e012e29..."} 
[2026-04-22 12:05:33] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e59d98012d1a1480071fac10003e012e29..."} 
[2026-04-22 12:05:33] local.INFO: Packet analysis {"connection_id":50593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:05:33] local.INFO: Extracted packet for processing {"connection_id":50593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756683904,"raw_latitude":119516176,"longitude_deg":75.6683904,"latitude_deg":11.9516176,"altitude":62,"angle":302,"satellites":41,"speed":10,"hex_longitude":"2d1a1480","hex_latitude":"071fac10","is_valid_coordinates":true} 
[2026-04-22 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-22 12:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870953216001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113859110570557440,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879760293814024192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05: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-22 12:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839663000,"timestamp_ms":1776839663000,"timestamp_seconds":1776839663,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e59d98"} 
[2026-04-22 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-22 12:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 12:05:33] 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-22 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-22 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-22 12:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:05:33] 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-22 12:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870953216001,"66":14276,"106":206,"83":41984,"24":10,"16":113859110570557440,"45":1879760293814024192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870953216001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:05:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113859110570557440,"km_value":113859110570557.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879760293814024192,"description":"Unknown IO ID 45"} 
[2026-04-22 12:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870953216001,"power":14276,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1879760293814024192}} 
[2026-04-22 12:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":50593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:05:33] local.INFO: GPS data processed {"connection_id":50593,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:05:33] local.INFO: Acknowledgment sent {"connection_id":50593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:05:40] local.INFO: TCP Data received {"connection_id":51146,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:05:40] local.INFO: Processing buffer {"connection_id":51146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:05:40] local.INFO: IMEI packet received {"connection_id":51146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":51146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:05:41] local.INFO: TCP Data received {"connection_id":51146,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:05:41] local.INFO: Processing buffer {"connection_id":51146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:05:41] local.INFO: Packet analysis {"connection_id":51146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:05:41] local.INFO: Extracted packet for processing {"connection_id":51146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776839667000,"timestamp_ms":1776839667000,"timestamp_seconds":1776839667,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e5ad38"} 
[2026-04-22 12:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:05:41] 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-22 12:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877696001,"66":25071,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:05:41] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:05:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877696001,"power":25071,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":51146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:05:41] local.INFO: GPS data processed {"connection_id":51146,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:05:41] local.INFO: Acknowledgment sent {"connection_id":51146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:06:24] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e68410012d19ab00071fb6a0003d015b27..."} 
[2026-04-22 12:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e68410012d19ab00071fb6a0003d015b27..."} 
[2026-04-22 12:06:24] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e68410012d19ab00071fb6a0003d015b27..."} 
[2026-04-22 12:06:24] local.INFO: Packet analysis {"connection_id":50593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e6"} 
[2026-04-22 12:06:24] local.INFO: Extracted packet for processing {"connection_id":50593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e6"} 
[2026-04-22 12:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756656896,"raw_latitude":119518880,"longitude_deg":75.6656896,"latitude_deg":11.951888,"altitude":61,"angle":347,"satellites":39,"speed":24,"hex_longitude":"2d19ab00","hex_latitude":"071fb6a0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870968576001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113860673938653184,"note":"Value kept but may cause issues"} 
[2026-04-22 12:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849642471306557440,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776839722000,"timestamp_ms":1776839722000,"timestamp_seconds":1776839722,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e68410"} 
[2026-04-22 12: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-22 12:06: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-22 12: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 12:06: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-22 12: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-22 12: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-22 12:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":50593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":50593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":50593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:06:24] 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-22 12:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870968576001,"66":13493,"106":206,"83":41984,"24":24,"16":113860673938653184,"45":1849642471306557440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870968576001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:06:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113860673938653184,"km_value":113860673938653.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849642471306557440,"description":"Unknown IO ID 45"} 
[2026-04-22 12:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870968576001,"power":13493,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1849642471306557440}} 
[2026-04-22 12:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":50593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:06:24] local.INFO: GPS data processed {"connection_id":50593,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:06:24] local.INFO: Acknowledgment sent {"connection_id":50593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:06:26] local.INFO: TCP Data received {"connection_id":50210,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:06:26] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:06:26] local.INFO: IMEI packet received {"connection_id":50210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":50210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:06:32] local.INFO: TCP Data received {"connection_id":50210,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:06:32] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:06:32] local.INFO: IMEI packet received {"connection_id":50210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:06:33] local.INFO: TCP Data received {"connection_id":50210,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:06:33] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:06:33] local.INFO: Packet analysis {"connection_id":50210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:06:33] local.INFO: Extracted packet for processing {"connection_id":50210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839667000,"timestamp_ms":1776839667000,"timestamp_seconds":1776839667,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e5ad38"} 
[2026-04-22 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-22 12:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:06: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-22 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-22 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-22 12:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877696001,"66":25071,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:06:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877696001,"power":25071,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:06:33] local.INFO: GPS data processed {"connection_id":50210,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:06:33] local.INFO: Acknowledgment sent {"connection_id":50210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:06:39] local.INFO: TCP Data received {"connection_id":50467,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:06:39] local.INFO: Processing buffer {"connection_id":50467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:06:39] local.INFO: IMEI packet received {"connection_id":50467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":50467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:06:43] local.INFO: TCP Data received {"connection_id":50467,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:06:43] local.INFO: Processing buffer {"connection_id":50467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:06:43] local.INFO: IMEI packet received {"connection_id":50467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":50467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:06:43] local.INFO: TCP Data received {"connection_id":50467,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e68fc8012d19a980071fbef0003c014d26..."} 
[2026-04-22 12:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e68fc8012d19a980071fbef0003c014d26..."} 
[2026-04-22 12:06:43] local.INFO: Processing buffer {"connection_id":50467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e68fc8012d19a980071fbef0003c014d26..."} 
[2026-04-22 12:06:43] local.INFO: Packet analysis {"connection_id":50467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e6"} 
[2026-04-22 12:06:43] local.INFO: Extracted packet for processing {"connection_id":50467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e6"} 
[2026-04-22 12:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119521008,"longitude_deg":75.6656512,"latitude_deg":11.9521008,"altitude":60,"angle":333,"satellites":38,"speed":22,"hex_longitude":"2d19a980","hex_latitude":"071fbef0","is_valid_coordinates":true} 
[2026-04-22 12:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870968832001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113860781312835584,"note":"Value kept but may cause issues"} 
[2026-04-22 12:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849572102562553856,"note":"Value kept but may cause issues"} 
[2026-04-22 12:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776839725000,"timestamp_ms":1776839725000,"timestamp_seconds":1776839725,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e68fc8"} 
[2026-04-22 12:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 12:06:43] 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-22 12:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:06:43] 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-22 12:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870968832001,"66":12885,"106":206,"83":41984,"24":22,"16":113860781312835584,"45":1849572102562553856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870968832001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:06:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:06:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113860781312835584,"km_value":113860781312835.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849572102562553856,"description":"Unknown IO ID 45"} 
[2026-04-22 12:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870968832001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1849572102562553856}} 
[2026-04-22 12:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":50467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:06:44] local.INFO: GPS data processed {"connection_id":50467,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:06:44] local.INFO: Acknowledgment sent {"connection_id":50467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:07:05] local.INFO: TCP Data received {"connection_id":50210,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:07:05] local.INFO: Processing buffer {"connection_id":50210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:07:05] local.INFO: Packet analysis {"connection_id":50210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:07:05] local.INFO: Extracted packet for processing {"connection_id":50210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839667000,"timestamp_ms":1776839667000,"timestamp_seconds":1776839667,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e5ad38"} 
[2026-04-22 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-22 12: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:07: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-22 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-22 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-22 12:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877696001,"66":25071,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:07:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877696001,"power":25071,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":50210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:07:05] local.INFO: GPS data processed {"connection_id":50210,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:07:05] local.INFO: Acknowledgment sent {"connection_id":50210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:07:26] local.INFO: TCP Data received {"connection_id":51147,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:07:26] local.INFO: Processing buffer {"connection_id":51147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:07:26] local.INFO: IMEI packet received {"connection_id":51147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":51147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:07:32] local.INFO: TCP Data received {"connection_id":51147,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:07:32] local.INFO: Processing buffer {"connection_id":51147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:07:32] local.INFO: IMEI packet received {"connection_id":51147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":51147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:07:33] local.INFO: TCP Data received {"connection_id":51147,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:07:33] local.INFO: Processing buffer {"connection_id":51147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:07:33] local.INFO: Packet analysis {"connection_id":51147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:07:33] local.INFO: Extracted packet for processing {"connection_id":51147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839667000,"timestamp_ms":1776839667000,"timestamp_seconds":1776839667,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e5ad38"} 
[2026-04-22 12: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-22 12:07: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-22 12:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:07: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-22 12: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-22 12: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-22 12:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877696001,"66":25071,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:07:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:07:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877696001,"power":25071,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":51147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:07:33] local.INFO: GPS data processed {"connection_id":51147,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:07:33] local.INFO: Acknowledgment sent {"connection_id":51147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:07:38] local.INFO: TCP Data received {"connection_id":50595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:07:38] local.INFO: Processing buffer {"connection_id":50595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:07:38] local.INFO: IMEI packet received {"connection_id":50595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":50595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:07:51] local.INFO: TCP Data received {"connection_id":50595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:07:51] local.INFO: Processing buffer {"connection_id":50595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:07:51] local.INFO: IMEI packet received {"connection_id":50595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":50595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:07:52] local.INFO: TCP Data received {"connection_id":50595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e693b0012d19a840071fc080003c013e27..."} 
[2026-04-22 12:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e693b0012d19a840071fc080003c013e27..."} 
[2026-04-22 12:07:52] local.INFO: Processing buffer {"connection_id":50595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e693b0012d19a840071fc080003c013e27..."} 
[2026-04-22 12:07:52] local.INFO: Packet analysis {"connection_id":50595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e6"} 
[2026-04-22 12:07:52] local.INFO: Extracted packet for processing {"connection_id":50595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e6"} 
[2026-04-22 12:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756656192,"raw_latitude":119521408,"longitude_deg":75.6656192,"latitude_deg":11.9521408,"altitude":60,"angle":318,"satellites":39,"speed":17,"hex_longitude":"2d19a840","hex_latitude":"071fc080","is_valid_coordinates":true} 
[2026-04-22 12:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870969600001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113860802787672064,"note":"Value kept but may cause issues"} 
[2026-04-22 12:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890098032640,"note":"Value kept but may cause issues"} 
[2026-04-22 12:07: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-22 12:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776839726000,"timestamp_ms":1776839726000,"timestamp_seconds":1776839726,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e693b0"} 
[2026-04-22 12:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:07: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-22 12:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 12:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":50595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":50595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":50595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:07:52] 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-22 12:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870969600001,"66":12885,"106":206,"83":41984,"24":17,"16":113860802787672064,"45":1849149890098032640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870969600001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:07:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113860802787672064,"km_value":113860802787672.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890098032640,"description":"Unknown IO ID 45"} 
[2026-04-22 12:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870969600001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1849149890098032640}} 
[2026-04-22 12:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":50595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:07:52] local.INFO: GPS data processed {"connection_id":50595,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:07:52] local.INFO: Acknowledgment sent {"connection_id":50595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:08:04] local.INFO: TCP Data received {"connection_id":51147,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:08:04] local.INFO: Processing buffer {"connection_id":51147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:08:04] local.INFO: Packet analysis {"connection_id":51147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:08:04] local.INFO: Extracted packet for processing {"connection_id":51147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:08: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-22 12:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776839667000,"timestamp_ms":1776839667000,"timestamp_seconds":1776839667,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e5ad38"} 
[2026-04-22 12:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:08: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-22 12:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:08:04] 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-22 12:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877696001,"66":25071,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:08:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:08:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877696001,"power":25071,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":51147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:08:04] local.INFO: GPS data processed {"connection_id":51147,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:08:04] local.INFO: Acknowledgment sent {"connection_id":51147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:08:11] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:08:11] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:08:11] local.INFO: IMEI packet received {"connection_id":50468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":50468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:08:31] local.INFO: TCP Data received {"connection_id":50469,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:08:31] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:08:31] local.INFO: IMEI packet received {"connection_id":50469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":50469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:08:33] local.INFO: TCP Data received {"connection_id":50470,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:08:33] local.INFO: Processing buffer {"connection_id":50470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:08:33] local.INFO: IMEI packet received {"connection_id":50470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":50470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:08:37] local.INFO: TCP Data received {"connection_id":50469,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:08:37] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:08:37] local.INFO: IMEI packet received {"connection_id":50469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":50469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:08:38] local.INFO: TCP Data received {"connection_id":50469,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:08:38] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:08:38] local.INFO: Packet analysis {"connection_id":50469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:08:38] local.INFO: Extracted packet for processing {"connection_id":50469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:08: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-22 12:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776839667000,"timestamp_ms":1776839667000,"timestamp_seconds":1776839667,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e5ad38"} 
[2026-04-22 12:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:08: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-22 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877696001,"66":25071,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:08:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:08:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877696001,"power":25071,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":50469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:08:38] local.INFO: GPS data processed {"connection_id":50469,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:08:38] local.INFO: Acknowledgment sent {"connection_id":50469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:08:43] local.INFO: TCP Data received {"connection_id":50469,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:08:43] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:08:43] local.INFO: Packet analysis {"connection_id":50469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:08:43] local.INFO: Extracted packet for processing {"connection_id":50469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:08:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776839667000,"timestamp_ms":1776839667000,"timestamp_seconds":1776839667,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e5ad38"} 
[2026-04-22 12:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:08:43] 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-22 12:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877696001,"66":25071,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:08:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:08:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877696001,"power":25071,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":50469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:08:43] local.INFO: GPS data processed {"connection_id":50469,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:08:43] local.INFO: Acknowledgment sent {"connection_id":50469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:08:52] local.INFO: TCP Data received {"connection_id":51148,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:08:52] local.INFO: Processing buffer {"connection_id":51148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:08:52] local.INFO: IMEI packet received {"connection_id":51148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":51148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:09:03] local.INFO: TCP Data received {"connection_id":50470,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:09:03] local.INFO: Processing buffer {"connection_id":50470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:09:03] local.INFO: IMEI packet received {"connection_id":50470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":50470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:09:04] local.INFO: TCP Data received {"connection_id":50470,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e69798012d19a6c0071fc148003b012725..."} 
[2026-04-22 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e69798012d19a6c0071fc148003b012725..."} 
[2026-04-22 12:09:04] local.INFO: Processing buffer {"connection_id":50470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e69798012d19a6c0071fc148003b012725..."} 
[2026-04-22 12:09:04] local.INFO: Packet analysis {"connection_id":50470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e6"} 
[2026-04-22 12:09:04] local.INFO: Extracted packet for processing {"connection_id":50470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e6"} 
[2026-04-22 12:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756655808,"raw_latitude":119521608,"longitude_deg":75.6655808,"latitude_deg":11.9521608,"altitude":59,"angle":295,"satellites":37,"speed":17,"hex_longitude":"2d19a6c0","hex_latitude":"071fc148","is_valid_coordinates":true} 
[2026-04-22 12:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870969856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113860824262508544,"note":"Value kept but may cause issues"} 
[2026-04-22 12:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848798046377246720,"note":"Value kept but may cause issues"} 
[2026-04-22 12:09: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-22 12:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776839727000,"timestamp_ms":1776839727000,"timestamp_seconds":1776839727,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e69798"} 
[2026-04-22 12:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:09:04] 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-22 12:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 12:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:09:04] 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-22 12:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870969856001,"66":13048,"106":206,"83":41984,"24":17,"16":113860824262508544,"45":1848798046377246720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870969856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:09:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113860824262508544,"km_value":113860824262508.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848798046377246720,"description":"Unknown IO ID 45"} 
[2026-04-22 12:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870969856001,"power":13048,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1848798046377246720}} 
[2026-04-22 12:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":50470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:09:05] local.INFO: GPS data processed {"connection_id":50470,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:09:05] local.INFO: Acknowledgment sent {"connection_id":50470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:09:27] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:09:27] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:09:27] local.INFO: IMEI packet received {"connection_id":50471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:09:32] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:09:32] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:09:32] local.INFO: IMEI packet received {"connection_id":50471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:09:33] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:09:33] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:09:33] local.INFO: Packet analysis {"connection_id":50471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:09:33] local.INFO: Extracted packet for processing {"connection_id":50471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839667000,"timestamp_ms":1776839667000,"timestamp_seconds":1776839667,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e5ad38"} 
[2026-04-22 12: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-22 12:09: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-22 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:09: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-22 12: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-22 12: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-22 12:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877696001,"66":25071,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:09:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:09:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877696001,"power":25071,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":50471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:09:33] local.INFO: GPS data processed {"connection_id":50471,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:09:33] local.INFO: Acknowledgment sent {"connection_id":50471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:09:37] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:09:37] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3e5ad38012d7f888005afdcc80012012c26..."} 
[2026-04-22 12:09:37] local.INFO: Packet analysis {"connection_id":50471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:09:37] local.INFO: Extracted packet for processing {"connection_id":50471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3e5"} 
[2026-04-22 12:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870877696001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776839667000,"timestamp_ms":1776839667000,"timestamp_seconds":1776839667,"priority":1,"record_length":96,"hex_timestamp":"0000019db3e5ad38"} 
[2026-04-22 12:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:09: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-22 12:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:09: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-22 12:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870877696001,"66":25071,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870877696001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:09:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:09:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870877696001,"power":25071,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":50471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:09:38] local.INFO: GPS data processed {"connection_id":50471,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:09:38] local.INFO: Acknowledgment sent {"connection_id":50471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:10:09] local.INFO: TCP Data received {"connection_id":50471,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:10:09] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:10:09] local.INFO: Packet analysis {"connection_id":50471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:10:09] local.INFO: Extracted packet for processing {"connection_id":50471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:10: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-22 12:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 12:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:10: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-22 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:10:09] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:10:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":50471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:10:09] local.INFO: GPS data processed {"connection_id":50471,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:10:09] local.INFO: Acknowledgment sent {"connection_id":50471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:10:26] local.INFO: TCP Data received {"connection_id":50212,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:10:26] local.INFO: Processing buffer {"connection_id":50212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:10:26] local.INFO: IMEI packet received {"connection_id":50212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":50212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:10:32] local.INFO: TCP Data received {"connection_id":50212,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:10:32] local.INFO: Processing buffer {"connection_id":50212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:10:32] local.INFO: IMEI packet received {"connection_id":50212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:10:35] local.INFO: TCP Data received {"connection_id":50212,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:10:35] local.INFO: Processing buffer {"connection_id":50212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:10:35] local.INFO: Packet analysis {"connection_id":50212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:10:35] local.INFO: Extracted packet for processing {"connection_id":50212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:10: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-22 12:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 12:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:10:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:10:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":50212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:10:35] local.INFO: GPS data processed {"connection_id":50212,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:10:35] local.INFO: Acknowledgment sent {"connection_id":50212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:11:06] local.INFO: TCP Data received {"connection_id":50212,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:11:06] local.INFO: Processing buffer {"connection_id":50212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:11:06] local.INFO: Packet analysis {"connection_id":50212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:11:06] local.INFO: Extracted packet for processing {"connection_id":50212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 12:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:11: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-22 12:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:11:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:11:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":50212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:11:06] local.INFO: GPS data processed {"connection_id":50212,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:11:06] local.INFO: Acknowledgment sent {"connection_id":50212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:11:32] local.INFO: TCP Data received {"connection_id":50596,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:11:32] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:11:32] local.INFO: IMEI packet received {"connection_id":50596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:11:37] local.INFO: TCP Data received {"connection_id":50596,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:11:37] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:11:37] local.INFO: IMEI packet received {"connection_id":50596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":50596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:11:38] local.INFO: TCP Data received {"connection_id":50596,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:11:38] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:11:38] local.INFO: Packet analysis {"connection_id":50596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:11:38] local.INFO: Extracted packet for processing {"connection_id":50596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:11: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-22 12:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 12:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:11:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:11:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":50596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:11:38] local.INFO: GPS data processed {"connection_id":50596,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:11:38] local.INFO: Acknowledgment sent {"connection_id":50596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:11:43] local.INFO: TCP Data received {"connection_id":50596,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:11:43] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:11:43] local.INFO: Packet analysis {"connection_id":50596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:11:43] local.INFO: Extracted packet for processing {"connection_id":50596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:11:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 12: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-22 12:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:11:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:11:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":50596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:11:43] local.INFO: GPS data processed {"connection_id":50596,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:11:43] local.INFO: Acknowledgment sent {"connection_id":50596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:12:26] local.INFO: TCP Data received {"connection_id":51150,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:12:26] local.INFO: Processing buffer {"connection_id":51150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:12:26] local.INFO: IMEI packet received {"connection_id":51150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":51150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:12:32] local.INFO: TCP Data received {"connection_id":51150,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:12:32] local.INFO: Processing buffer {"connection_id":51150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:12:32] local.INFO: IMEI packet received {"connection_id":51150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":51150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:12:33] local.INFO: TCP Data received {"connection_id":51150,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:12:33] local.INFO: Processing buffer {"connection_id":51150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:12:33] local.INFO: Packet analysis {"connection_id":51150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:12:33] local.INFO: Extracted packet for processing {"connection_id":51150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 12: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-22 12:12: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-22 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:12:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":51150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:12:33] local.INFO: GPS data processed {"connection_id":51150,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:12:33] local.INFO: Acknowledgment sent {"connection_id":51150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:13:05] local.INFO: TCP Data received {"connection_id":51150,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:13:05] local.INFO: Processing buffer {"connection_id":51150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:13:05] local.INFO: Packet analysis {"connection_id":51150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:13:05] local.INFO: Extracted packet for processing {"connection_id":51150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 12: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-22 12:13: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-22 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:13:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:13:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":51150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:13:05] local.INFO: GPS data processed {"connection_id":51150,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:13:05] local.INFO: Acknowledgment sent {"connection_id":51150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:13:26] local.INFO: TCP Data received {"connection_id":50597,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:13:26] local.INFO: Processing buffer {"connection_id":50597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:13:26] local.INFO: IMEI packet received {"connection_id":50597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":50597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:13:32] local.INFO: TCP Data received {"connection_id":50597,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:13:32] local.INFO: Processing buffer {"connection_id":50597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:13:32] local.INFO: IMEI packet received {"connection_id":50597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:13:33] local.INFO: TCP Data received {"connection_id":50597,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:13:33] local.INFO: Processing buffer {"connection_id":50597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:13:33] local.INFO: Packet analysis {"connection_id":50597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:13:33] local.INFO: Extracted packet for processing {"connection_id":50597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 12: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-22 12: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-22 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:13:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:13:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":50597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:13:33] local.INFO: GPS data processed {"connection_id":50597,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:13:33] local.INFO: Acknowledgment sent {"connection_id":50597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:14:05] local.INFO: TCP Data received {"connection_id":50597,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:14:05] local.INFO: Processing buffer {"connection_id":50597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:14:05] local.INFO: Packet analysis {"connection_id":50597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:14:05] local.INFO: Extracted packet for processing {"connection_id":50597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:14: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-22 12:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 12: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-22 12:14: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-22 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:14:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:14:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":50597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:14:05] local.INFO: GPS data processed {"connection_id":50597,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:14:05] local.INFO: Acknowledgment sent {"connection_id":50597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:14:26] local.INFO: TCP Data received {"connection_id":50213,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:14:26] local.INFO: Processing buffer {"connection_id":50213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:14:26] local.INFO: IMEI packet received {"connection_id":50213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":50213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:14:26] local.INFO: TCP Data received {"connection_id":50598,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:14:26] local.INFO: Processing buffer {"connection_id":50598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:14:26] local.INFO: IMEI packet received {"connection_id":50598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":50598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:14:32] local.INFO: TCP Data received {"connection_id":50213,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:14:32] local.INFO: Processing buffer {"connection_id":50213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:14:32] local.INFO: IMEI packet received {"connection_id":50213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:14:34] local.INFO: TCP Data received {"connection_id":50213,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:14:34] local.INFO: Processing buffer {"connection_id":50213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:14:34] local.INFO: Packet analysis {"connection_id":50213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:14:34] local.INFO: Extracted packet for processing {"connection_id":50213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 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-22 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-22 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 12:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:14:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:14:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":50213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:14:34] local.INFO: GPS data processed {"connection_id":50213,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:14:34] local.INFO: Acknowledgment sent {"connection_id":50213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:14:51] local.INFO: TCP Data received {"connection_id":50474,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:14:51] local.INFO: Processing buffer {"connection_id":50474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:14:51] local.INFO: IMEI packet received {"connection_id":50474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":50474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:15:06] local.INFO: TCP Data received {"connection_id":50213,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:15:06] local.INFO: Processing buffer {"connection_id":50213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ea4500012d7f888005afdcc80012012c28..."} 
[2026-04-22 12:15:06] local.INFO: Packet analysis {"connection_id":50213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:15:06] local.INFO: Extracted packet for processing {"connection_id":50213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ea"} 
[2026-04-22 12:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454870954752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776839968000,"timestamp_ms":1776839968000,"timestamp_seconds":1776839968,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ea4500"} 
[2026-04-22 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-22 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-22 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 12:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 12:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454870954752001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454870954752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:15:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:15:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454870954752001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":50213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:15:06] local.INFO: GPS data processed {"connection_id":50213,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:15:06] local.INFO: Acknowledgment sent {"connection_id":50213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:15:32] local.INFO: TCP Data received {"connection_id":51151,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:15:32] local.INFO: Processing buffer {"connection_id":51151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:15:32] local.INFO: IMEI packet received {"connection_id":51151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":51151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:15:37] local.INFO: TCP Data received {"connection_id":51151,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:15:37] local.INFO: Processing buffer {"connection_id":51151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:15:37] local.INFO: IMEI packet received {"connection_id":51151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":51151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:15:38] local.INFO: TCP Data received {"connection_id":51151,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:15:38] local.INFO: Processing buffer {"connection_id":51151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:15:38] local.INFO: Packet analysis {"connection_id":51151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:15:38] local.INFO: Extracted packet for processing {"connection_id":51151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:15: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-22 12:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 12:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:15: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-22 12:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:15:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:15:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":51151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:15:38] local.INFO: GPS data processed {"connection_id":51151,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:15:38] local.INFO: Acknowledgment sent {"connection_id":51151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:15:41] local.INFO: TCP Data received {"connection_id":51151,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:15:41] local.INFO: Processing buffer {"connection_id":51151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:15:41] local.INFO: Packet analysis {"connection_id":51151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:15:41] local.INFO: Extracted packet for processing {"connection_id":51151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 12: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-22 12:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:15:41] 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-22 12: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-22 12: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-22 12:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:15:41] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:15:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":51151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:15:41] local.INFO: GPS data processed {"connection_id":51151,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:15:41] local.INFO: Acknowledgment sent {"connection_id":51151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:16:26] local.INFO: TCP Data received {"connection_id":50600,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:16:26] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:16:26] local.INFO: IMEI packet received {"connection_id":50600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:16:32] local.INFO: TCP Data received {"connection_id":50600,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:16:32] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:16:32] local.INFO: IMEI packet received {"connection_id":50600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":50600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:16:33] local.INFO: TCP Data received {"connection_id":50600,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:16:33] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:16:33] local.INFO: Packet analysis {"connection_id":50600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:16:33] local.INFO: Extracted packet for processing {"connection_id":50600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:16: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-22 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-22 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-22 12:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:16:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":50600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:16:33] local.INFO: GPS data processed {"connection_id":50600,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:16:33] local.INFO: Acknowledgment sent {"connection_id":50600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:17:05] local.INFO: TCP Data received {"connection_id":50600,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:17:05] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:17:05] local.INFO: Packet analysis {"connection_id":50600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:17:05] local.INFO: Extracted packet for processing {"connection_id":50600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 12: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-22 12: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-22 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:17: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-22 12: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-22 12: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-22 12:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:17:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:17:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":50600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:17:05] local.INFO: GPS data processed {"connection_id":50600,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:17:05] local.INFO: Acknowledgment sent {"connection_id":50600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:17:26] local.INFO: TCP Data received {"connection_id":51152,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:17:26] local.INFO: Processing buffer {"connection_id":51152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:17:26] local.INFO: IMEI packet received {"connection_id":51152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":51152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:17:31] local.INFO: TCP Data received {"connection_id":51152,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:17:31] local.INFO: Processing buffer {"connection_id":51152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:17:31] local.INFO: IMEI packet received {"connection_id":51152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":51152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:17:32] local.INFO: TCP Data received {"connection_id":51152,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:17:32] local.INFO: Processing buffer {"connection_id":51152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:17:32] local.INFO: Packet analysis {"connection_id":51152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:17:32] local.INFO: Extracted packet for processing {"connection_id":51152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:17: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-22 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-22 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-22 12:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:17:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:17:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":51152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:17:32] local.INFO: GPS data processed {"connection_id":51152,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:17:32] local.INFO: Acknowledgment sent {"connection_id":51152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:18:04] local.INFO: TCP Data received {"connection_id":51152,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:18:04] local.INFO: Processing buffer {"connection_id":51152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:18:04] local.INFO: Packet analysis {"connection_id":51152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:18:04] local.INFO: Extracted packet for processing {"connection_id":51152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:18: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-22 12:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 12:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:18: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-22 12:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:18:04] 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-22 12:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:18:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:18:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":51152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:18:04] local.INFO: GPS data processed {"connection_id":51152,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:18:04] local.INFO: Acknowledgment sent {"connection_id":51152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:18:32] local.INFO: TCP Data received {"connection_id":50601,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:18:32] local.INFO: Processing buffer {"connection_id":50601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:18:32] local.INFO: IMEI packet received {"connection_id":50601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:18:37] local.INFO: TCP Data received {"connection_id":50601,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:18:37] local.INFO: Processing buffer {"connection_id":50601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:18:37] local.INFO: IMEI packet received {"connection_id":50601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":50601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:18:38] local.INFO: TCP Data received {"connection_id":50601,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:18:38] local.INFO: Processing buffer {"connection_id":50601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:18:38] local.INFO: Packet analysis {"connection_id":50601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:18:38] local.INFO: Extracted packet for processing {"connection_id":50601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 12:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:18: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-22 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:18:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:18:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":50601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:18:38] local.INFO: GPS data processed {"connection_id":50601,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:18:38] local.INFO: Acknowledgment sent {"connection_id":50601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:18:42] local.INFO: TCP Data received {"connection_id":50601,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:18:42] local.INFO: Processing buffer {"connection_id":50601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:18:42] local.INFO: Packet analysis {"connection_id":50601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:18:42] local.INFO: Extracted packet for processing {"connection_id":50601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 12:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:18:42] 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-22 12:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:18:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:18:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":50601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:18:42] local.INFO: GPS data processed {"connection_id":50601,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:18:42] local.INFO: Acknowledgment sent {"connection_id":50601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:19:26] local.INFO: TCP Data received {"connection_id":50477,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:19:26] local.INFO: Processing buffer {"connection_id":50477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:19:26] local.INFO: IMEI packet received {"connection_id":50477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":50477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:19:31] local.INFO: TCP Data received {"connection_id":50477,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:19:31] local.INFO: Processing buffer {"connection_id":50477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:19:31] local.INFO: IMEI packet received {"connection_id":50477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":50477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:19:32] local.INFO: TCP Data received {"connection_id":50477,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:19:32] local.INFO: Processing buffer {"connection_id":50477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:19:32] local.INFO: Packet analysis {"connection_id":50477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:19:32] local.INFO: Extracted packet for processing {"connection_id":50477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 12: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-22 12: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-22 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:19: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-22 12: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-22 12: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-22 12:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:19:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:19:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":50477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:19:32] local.INFO: GPS data processed {"connection_id":50477,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:19:32] local.INFO: Acknowledgment sent {"connection_id":50477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:20:04] local.INFO: TCP Data received {"connection_id":50477,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:20:04] local.INFO: Processing buffer {"connection_id":50477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3eedcc8012d7f888005afdcc80011012c29..."} 
[2026-04-22 12:20:04] local.INFO: Packet analysis {"connection_id":50477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:20:04] local.INFO: Extracted packet for processing {"connection_id":50477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ee"} 
[2026-04-22 12:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":17,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871031808001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:20: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-22 12:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776840269000,"timestamp_ms":1776840269000,"timestamp_seconds":1776840269,"priority":1,"record_length":96,"hex_timestamp":"0000019db3eedcc8"} 
[2026-04-22 12: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-22 12:20: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-22 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 12:20:04] 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-22 12: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-22 12: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-22 12:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871031808001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871031808001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:20:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:20:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871031808001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:20:04] local.INFO: GPS data processed {"connection_id":50477,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:20:04] local.INFO: Acknowledgment sent {"connection_id":50477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:20:16] local.INFO: TCP Data received {"connection_id":51153,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:20:16] local.INFO: Processing buffer {"connection_id":51153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:20:16] local.INFO: IMEI packet received {"connection_id":51153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":51153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:20:32] local.INFO: TCP Data received {"connection_id":50602,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:20:32] local.INFO: Processing buffer {"connection_id":50602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:20:32] local.INFO: IMEI packet received {"connection_id":50602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:20:37] local.INFO: TCP Data received {"connection_id":50602,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:20:37] local.INFO: Processing buffer {"connection_id":50602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:20:37] local.INFO: IMEI packet received {"connection_id":50602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":50602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:20:38] local.INFO: TCP Data received {"connection_id":50602,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:20:38] local.INFO: Processing buffer {"connection_id":50602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:20:38] local.INFO: Packet analysis {"connection_id":50602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:20:38] local.INFO: Extracted packet for processing {"connection_id":50602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:20: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-22 12:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 12: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-22 12:20: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:20: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-22 12: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-22 12: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-22 12:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:20:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:20:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":50602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:20:38] local.INFO: GPS data processed {"connection_id":50602,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:20:38] local.INFO: Acknowledgment sent {"connection_id":50602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:20:42] local.INFO: TCP Data received {"connection_id":50602,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:20:42] local.INFO: Processing buffer {"connection_id":50602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:20:42] local.INFO: Packet analysis {"connection_id":50602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:20:42] local.INFO: Extracted packet for processing {"connection_id":50602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 12:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:20:42] 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-22 12:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:20:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:20:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":50602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:20:42] local.INFO: GPS data processed {"connection_id":50602,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:20:42] local.INFO: Acknowledgment sent {"connection_id":50602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:20:51] local.INFO: TCP Data received {"connection_id":50215,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:20:51] local.INFO: Processing buffer {"connection_id":50215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:20:51] local.INFO: IMEI packet received {"connection_id":50215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":50215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:21:27] local.INFO: TCP Data received {"connection_id":50217,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:21:27] local.INFO: Processing buffer {"connection_id":50217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:21:27] local.INFO: IMEI packet received {"connection_id":50217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:21:32] local.INFO: TCP Data received {"connection_id":50217,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:21:32] local.INFO: Processing buffer {"connection_id":50217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:21:32] local.INFO: IMEI packet received {"connection_id":50217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:21:33] local.INFO: TCP Data received {"connection_id":50217,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:21:33] local.INFO: Processing buffer {"connection_id":50217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:21:33] local.INFO: Packet analysis {"connection_id":50217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:21:33] local.INFO: Extracted packet for processing {"connection_id":50217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 12: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-22 12:21: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:21:33] 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-22 12: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-22 12: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-22 12:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:21:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":50217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:21:33] local.INFO: GPS data processed {"connection_id":50217,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:21:33] local.INFO: Acknowledgment sent {"connection_id":50217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:22:04] local.INFO: TCP Data received {"connection_id":50217,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:22:04] local.INFO: Processing buffer {"connection_id":50217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:22:04] local.INFO: Packet analysis {"connection_id":50217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:22:04] local.INFO: Extracted packet for processing {"connection_id":50217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:22: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-22 12:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 12:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:22: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-22 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:22:04] 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-22 12:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:22:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:22:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":50217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:22:04] local.INFO: GPS data processed {"connection_id":50217,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:22:04] local.INFO: Acknowledgment sent {"connection_id":50217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:22:26] local.INFO: TCP Data received {"connection_id":50479,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:22:26] local.INFO: Processing buffer {"connection_id":50479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:22:26] local.INFO: IMEI packet received {"connection_id":50479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":50479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:22:32] local.INFO: TCP Data received {"connection_id":50479,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:22:32] local.INFO: Processing buffer {"connection_id":50479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:22:32] local.INFO: IMEI packet received {"connection_id":50479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:22:33] local.INFO: TCP Data received {"connection_id":50479,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:22:33] local.INFO: Processing buffer {"connection_id":50479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:22:33] local.INFO: Packet analysis {"connection_id":50479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:22:33] local.INFO: Extracted packet for processing {"connection_id":50479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:22:33] 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-22 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-22 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-22 12:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:22:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:22:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":50479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:22:33] local.INFO: GPS data processed {"connection_id":50479,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:22:33] local.INFO: Acknowledgment sent {"connection_id":50479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:22:33] local.INFO: TCP Data received {"connection_id":50603,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:22:33] local.INFO: Processing buffer {"connection_id":50603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:22:33] local.INFO: IMEI packet received {"connection_id":50603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":50603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:22:38] local.INFO: TCP Data received {"connection_id":50603,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:22:38] local.INFO: Processing buffer {"connection_id":50603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:22:38] local.INFO: IMEI packet received {"connection_id":50603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":50603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:22:39] local.INFO: TCP Data received {"connection_id":50603,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ef51f8012d198040071fecb0003f00e928..."} 
[2026-04-22 12:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ef51f8012d198040071fecb0003f00e928..."} 
[2026-04-22 12:22:39] local.INFO: Processing buffer {"connection_id":50603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ef51f8012d198040071fecb0003f00e928..."} 
[2026-04-22 12:22:39] local.INFO: Packet analysis {"connection_id":50603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ef"} 
[2026-04-22 12:22:39] local.INFO: Extracted packet for processing {"connection_id":50603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ef"} 
[2026-04-22 12:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756645952,"raw_latitude":119532720,"longitude_deg":75.6645952,"latitude_deg":11.953272,"altitude":63,"angle":233,"satellites":40,"speed":20,"hex_longitude":"2d198040","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-04-22 12:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116544001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837539047311716352,"note":"Value kept but may cause issues"} 
[2026-04-22 12:22:39] 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-22 12:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776840299000,"timestamp_ms":1776840299000,"timestamp_seconds":1776840299,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ef51f8"} 
[2026-04-22 12: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-22 12:22:39] 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-22 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:22: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-22 12:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116544001,"66":13004,"121":206,"28":31744,"24":20,"16":113861807810019328,"45":1837539047311716352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116544001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:22:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:22:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837539047311716352,"description":"Unknown IO ID 45"} 
[2026-04-22 12:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116544001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1837539047311716352}} 
[2026-04-22 12:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":50603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:22:39] local.INFO: GPS data processed {"connection_id":50603,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:22:39] local.INFO: Acknowledgment sent {"connection_id":50603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:23:05] local.INFO: TCP Data received {"connection_id":50479,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:23:05] local.INFO: Processing buffer {"connection_id":50479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:23:05] local.INFO: Packet analysis {"connection_id":50479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:23:05] local.INFO: Extracted packet for processing {"connection_id":50479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 12:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12: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-22 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:23: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-22 12:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:23:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":50479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:23:05] local.INFO: GPS data processed {"connection_id":50479,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:23:05] local.INFO: Acknowledgment sent {"connection_id":50479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:23:10] local.INFO: TCP Data received {"connection_id":50603,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ef51f8012d198040071fecb0003f00e928..."} 
[2026-04-22 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ef51f8012d198040071fecb0003f00e928..."} 
[2026-04-22 12:23:10] local.INFO: Processing buffer {"connection_id":50603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ef51f8012d198040071fecb0003f00e928..."} 
[2026-04-22 12:23:10] local.INFO: Packet analysis {"connection_id":50603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ef"} 
[2026-04-22 12:23:10] local.INFO: Extracted packet for processing {"connection_id":50603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ef"} 
[2026-04-22 12:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756645952,"raw_latitude":119532720,"longitude_deg":75.6645952,"latitude_deg":11.953272,"altitude":63,"angle":233,"satellites":40,"speed":20,"hex_longitude":"2d198040","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-04-22 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116544001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837539047311716352,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:10] 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-22 12:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776840299000,"timestamp_ms":1776840299000,"timestamp_seconds":1776840299,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ef51f8"} 
[2026-04-22 12:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116544001,"66":13004,"121":206,"28":31744,"24":20,"16":113861807810019328,"45":1837539047311716352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116544001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:23:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:23:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837539047311716352,"description":"Unknown IO ID 45"} 
[2026-04-22 12:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116544001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1837539047311716352}} 
[2026-04-22 12:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":50603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:23:10] local.INFO: GPS data processed {"connection_id":50603,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:23:10] local.INFO: Acknowledgment sent {"connection_id":50603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:23:26] local.INFO: TCP Data received {"connection_id":50604,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:23:26] local.INFO: Processing buffer {"connection_id":50604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:23:26] local.INFO: IMEI packet received {"connection_id":50604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":50604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:23:27] local.INFO: TCP Data received {"connection_id":50218,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:23:28] local.INFO: Processing buffer {"connection_id":50218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:23:28] local.INFO: IMEI packet received {"connection_id":50218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":50218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:23:32] local.INFO: TCP Data received {"connection_id":50604,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:23:32] local.INFO: Processing buffer {"connection_id":50604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:23:32] local.INFO: IMEI packet received {"connection_id":50604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:23:33] local.INFO: TCP Data received {"connection_id":50218,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:23:33] local.INFO: Processing buffer {"connection_id":50218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:23:33] local.INFO: IMEI packet received {"connection_id":50218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":50218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:23:33] local.INFO: TCP Data received {"connection_id":50604,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:23:33] local.INFO: Processing buffer {"connection_id":50604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:23:33] local.INFO: Packet analysis {"connection_id":50604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:23:33] local.INFO: Extracted packet for processing {"connection_id":50604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 12: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-22 12: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-22 12: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":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:23:33] 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-22 12: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-22 12: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-22 12:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:23:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:23:33] local.INFO: GPS data processed {"connection_id":50604,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:23:33] local.INFO: Acknowledgment sent {"connection_id":50604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:23:34] local.INFO: TCP Data received {"connection_id":50218,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3ef55e0012d197e80071febb0003f00f528..."} 
[2026-04-22 12:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3ef55e0012d197e80071febb0003f00f528..."} 
[2026-04-22 12:23:34] local.INFO: Processing buffer {"connection_id":50218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3ef55e0012d197e80071febb0003f00f528..."} 
[2026-04-22 12:23:34] local.INFO: Packet analysis {"connection_id":50218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3ef"} 
[2026-04-22 12:23:34] local.INFO: Extracted packet for processing {"connection_id":50218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3ef"} 
[2026-04-22 12:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756645504,"raw_latitude":119532464,"longitude_deg":75.6645504,"latitude_deg":11.9532464,"altitude":63,"angle":245,"satellites":40,"speed":21,"hex_longitude":"2d197e80","hex_latitude":"071febb0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116544001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837539047311716352,"note":"Value kept but may cause issues"} 
[2026-04-22 12:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776840300000,"timestamp_ms":1776840300000,"timestamp_seconds":1776840300,"priority":1,"record_length":96,"hex_timestamp":"0000019db3ef55e0"} 
[2026-04-22 12: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-22 12:23:34] 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-22 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:23:34] 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-22 12:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116544001,"66":13004,"121":206,"28":31744,"24":21,"16":113861807810019328,"45":1837539047311716352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116544001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:23:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:23:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837539047311716352,"description":"Unknown IO ID 45"} 
[2026-04-22 12:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116544001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1837539047311716352}} 
[2026-04-22 12:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":50218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:23:34] local.INFO: GPS data processed {"connection_id":50218,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:23:34] local.INFO: Acknowledgment sent {"connection_id":50218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:24:05] local.INFO: TCP Data received {"connection_id":50604,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:24:05] local.INFO: Processing buffer {"connection_id":50604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:24:05] local.INFO: Packet analysis {"connection_id":50604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:05] local.INFO: Extracted packet for processing {"connection_id":50604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 12: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-22 12:24: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:24: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-22 12: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-22 12: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-22 12:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:24:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:24:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":50604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:24:05] local.INFO: GPS data processed {"connection_id":50604,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:24:05] local.INFO: Acknowledgment sent {"connection_id":50604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:24:05] local.INFO: TCP Data received {"connection_id":50218,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:24:05] local.INFO: Processing buffer {"connection_id":50218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:24:05] local.INFO: Packet analysis {"connection_id":50218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:05] local.INFO: Extracted packet for processing {"connection_id":50218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116800001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466102407168,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776840601000,"timestamp_ms":1776840601000,"timestamp_seconds":1776840601,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f3eda8"} 
[2026-04-22 12: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-22 12:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:24:05] 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-22 12: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-22 12: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-22 12:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116800001,"66":2144,"121":206,"28":31744,"24":0,"16":113861807810019328,"45":1837046466102407168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116800001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:24:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466102407168,"description":"Unknown IO ID 45"} 
[2026-04-22 12:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116800001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837046466102407168}} 
[2026-04-22 12:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":50218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:24:05] local.INFO: GPS data processed {"connection_id":50218,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:24:05] local.INFO: Acknowledgment sent {"connection_id":50218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:24:32] local.INFO: TCP Data received {"connection_id":50481,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:24:32] local.INFO: Processing buffer {"connection_id":50481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:24:32] local.INFO: IMEI packet received {"connection_id":50481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:24:33] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:24:33] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:24:33] local.INFO: IMEI packet received {"connection_id":50482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":50482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:24:37] local.INFO: TCP Data received {"connection_id":50481,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:24:37] local.INFO: Processing buffer {"connection_id":50481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:24:37] local.INFO: IMEI packet received {"connection_id":50481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":50481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:24:38] local.INFO: TCP Data received {"connection_id":50481,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:24:38] local.INFO: Processing buffer {"connection_id":50481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:24:38] local.INFO: Packet analysis {"connection_id":50481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:38] local.INFO: Extracted packet for processing {"connection_id":50481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24: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-22 12:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 12:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:24: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-22 12:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:24: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-22 12:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:24:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:24:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":50481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:24:38] local.INFO: GPS data processed {"connection_id":50481,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:24:38] local.INFO: Acknowledgment sent {"connection_id":50481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:24:38] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:24:38] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:24:38] local.INFO: IMEI packet received {"connection_id":50482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":50482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:24:39] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:24:39] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:24:39] local.INFO: Packet analysis {"connection_id":50482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:39] local.INFO: Extracted packet for processing {"connection_id":50482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116800001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466102407168,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:39] 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-22 12:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776840601000,"timestamp_ms":1776840601000,"timestamp_seconds":1776840601,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f3eda8"} 
[2026-04-22 12:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:24:39] 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-22 12:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:24: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-22 12:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116800001,"66":2144,"121":206,"28":31744,"24":0,"16":113861807810019328,"45":1837046466102407168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116800001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:24:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:24:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466102407168,"description":"Unknown IO ID 45"} 
[2026-04-22 12:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116800001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837046466102407168}} 
[2026-04-22 12:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":50482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:24:39] local.INFO: GPS data processed {"connection_id":50482,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:24:39] local.INFO: Acknowledgment sent {"connection_id":50482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:24:42] local.INFO: TCP Data received {"connection_id":50481,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:24:42] local.INFO: Processing buffer {"connection_id":50481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f37490012d7f888005afdcc8000d012c29..."} 
[2026-04-22 12:24:42] local.INFO: Packet analysis {"connection_id":50481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:42] local.INFO: Extracted packet for processing {"connection_id":50481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871108864001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776840570000,"timestamp_ms":1776840570000,"timestamp_seconds":1776840570,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f37490"} 
[2026-04-22 12:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:24:42] 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-22 12:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871108864001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871108864001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:24:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:24:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871108864001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":50481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:24:42] local.INFO: GPS data processed {"connection_id":50481,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:24:42] local.INFO: Acknowledgment sent {"connection_id":50481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:24:44] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:24:44] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:24:44] local.INFO: Packet analysis {"connection_id":50482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:44] local.INFO: Extracted packet for processing {"connection_id":50482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116800001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466102407168,"note":"Value kept but may cause issues"} 
[2026-04-22 12:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776840601000,"timestamp_ms":1776840601000,"timestamp_seconds":1776840601,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f3eda8"} 
[2026-04-22 12: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-22 12:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:24:44] 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-22 12: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-22 12: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-22 12:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:24: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-22 12:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116800001,"66":2144,"121":206,"28":31744,"24":0,"16":113861807810019328,"45":1837046466102407168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116800001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:24:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:24:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466102407168,"description":"Unknown IO ID 45"} 
[2026-04-22 12:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116800001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837046466102407168}} 
[2026-04-22 12:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":50482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:24:44] local.INFO: GPS data processed {"connection_id":50482,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:24:44] local.INFO: Acknowledgment sent {"connection_id":50482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:25:27] local.INFO: TCP Data received {"connection_id":50484,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:25:27] local.INFO: Processing buffer {"connection_id":50484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:25:27] local.INFO: IMEI packet received {"connection_id":50484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:25:28] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:25:28] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:25:28] local.INFO: IMEI packet received {"connection_id":50485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":50485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:25:32] local.INFO: TCP Data received {"connection_id":50484,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:25:32] local.INFO: Processing buffer {"connection_id":50484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:25:32] local.INFO: IMEI packet received {"connection_id":50484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:25:33] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:25:33] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:25:33] local.INFO: IMEI packet received {"connection_id":50485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":50485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:25:33] local.INFO: TCP Data received {"connection_id":50484,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:25:33] local.INFO: Processing buffer {"connection_id":50484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:25:33] local.INFO: Packet analysis {"connection_id":50484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:25:33] local.INFO: Extracted packet for processing {"connection_id":50484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 12: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-22 12:25: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-22 12: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:25: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-22 12: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-22 12: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-22 12:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:25:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":50484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:25:33] local.INFO: GPS data processed {"connection_id":50484,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:25:33] local.INFO: Acknowledgment sent {"connection_id":50484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:25:34] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:25:34] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:25:34] local.INFO: Packet analysis {"connection_id":50485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:25:34] local.INFO: Extracted packet for processing {"connection_id":50485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116800001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466102407168,"note":"Value kept but may cause issues"} 
[2026-04-22 12:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776840601000,"timestamp_ms":1776840601000,"timestamp_seconds":1776840601,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f3eda8"} 
[2026-04-22 12:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:25:34] 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-22 12:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:25:34] 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-22 12:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116800001,"66":2144,"121":206,"28":31744,"24":0,"16":113861807810019328,"45":1837046466102407168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116800001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:25:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:25:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466102407168,"description":"Unknown IO ID 45"} 
[2026-04-22 12:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116800001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837046466102407168}} 
[2026-04-22 12:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":50485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:25:34] local.INFO: GPS data processed {"connection_id":50485,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:25:34] local.INFO: Acknowledgment sent {"connection_id":50485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:26:05] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:26:05] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:26:05] local.INFO: Packet analysis {"connection_id":50485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:26:05] local.INFO: Extracted packet for processing {"connection_id":50485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116800001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466102407168,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776840601000,"timestamp_ms":1776840601000,"timestamp_seconds":1776840601,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f3eda8"} 
[2026-04-22 12:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:26:05] 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-22 12:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116800001,"66":2144,"121":206,"28":31744,"24":0,"16":113861807810019328,"45":1837046466102407168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116800001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:26:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466102407168,"description":"Unknown IO ID 45"} 
[2026-04-22 12:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116800001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837046466102407168}} 
[2026-04-22 12:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":50485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:26:05] local.INFO: GPS data processed {"connection_id":50485,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:26:05] local.INFO: Acknowledgment sent {"connection_id":50485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:26:05] local.INFO: TCP Data received {"connection_id":50484,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:26:05] local.INFO: Processing buffer {"connection_id":50484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:26:05] local.INFO: Packet analysis {"connection_id":50484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:26:05] local.INFO: Extracted packet for processing {"connection_id":50484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26: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-22 12:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 12:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:26: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-22 12:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:26: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-22 12:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:26:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:26:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":50484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:26:05] local.INFO: GPS data processed {"connection_id":50484,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:26:05] local.INFO: Acknowledgment sent {"connection_id":50484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:26:16] local.INFO: TCP Data received {"connection_id":50486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:26:16] local.INFO: Processing buffer {"connection_id":50486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:26:16] local.INFO: IMEI packet received {"connection_id":50486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":50486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:26:26] local.INFO: TCP Data received {"connection_id":50220,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:26:26] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:26:26] local.INFO: IMEI packet received {"connection_id":50220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":50220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:26:28] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:26:28] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:26:28] local.INFO: IMEI packet received {"connection_id":50487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":50487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:26:31] local.INFO: TCP Data received {"connection_id":50220,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:26:31] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:26:31] local.INFO: IMEI packet received {"connection_id":50220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":50220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:26:32] local.INFO: TCP Data received {"connection_id":50220,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:26:32] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:26:32] local.INFO: Packet analysis {"connection_id":50220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:26:32] local.INFO: Extracted packet for processing {"connection_id":50220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:26: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-22 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-22 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-22 12:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:26:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":50220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:26:32] local.INFO: GPS data processed {"connection_id":50220,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:26:32] local.INFO: Acknowledgment sent {"connection_id":50220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:26:33] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:26:33] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:26:33] local.INFO: IMEI packet received {"connection_id":50487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":50487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:26:34] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:26:34] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:26:34] local.INFO: Packet analysis {"connection_id":50487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:26:34] local.INFO: Extracted packet for processing {"connection_id":50487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116800001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466102407168,"note":"Value kept but may cause issues"} 
[2026-04-22 12:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776840601000,"timestamp_ms":1776840601000,"timestamp_seconds":1776840601,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f3eda8"} 
[2026-04-22 12:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:26:34] 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-22 12:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:26:34] 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-22 12:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116800001,"66":2144,"121":206,"28":31744,"24":0,"16":113861807810019328,"45":1837046466102407168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116800001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:26:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466102407168,"description":"Unknown IO ID 45"} 
[2026-04-22 12:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116800001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837046466102407168}} 
[2026-04-22 12:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":50487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:26:34] local.INFO: GPS data processed {"connection_id":50487,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:26:34] local.INFO: Acknowledgment sent {"connection_id":50487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:26:51] local.INFO: TCP Data received {"connection_id":51154,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:26:51] local.INFO: Processing buffer {"connection_id":51154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:26:51] local.INFO: IMEI packet received {"connection_id":51154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":51154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:27:04] local.INFO: TCP Data received {"connection_id":50220,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:27:04] local.INFO: Processing buffer {"connection_id":50220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:27:04] local.INFO: Packet analysis {"connection_id":50220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:27:04] local.INFO: Extracted packet for processing {"connection_id":50220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27: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-22 12:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 12:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:27: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-22 12:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:27:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:27:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:27:04] local.INFO: GPS data processed {"connection_id":50220,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:27:04] local.INFO: Acknowledgment sent {"connection_id":50220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:27:05] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:27:05] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f3eda8012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:27:05] local.INFO: Packet analysis {"connection_id":50487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:27:05] local.INFO: Extracted packet for processing {"connection_id":50487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f3"} 
[2026-04-22 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 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-22 12:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871116800001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466102407168,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776840601000,"timestamp_ms":1776840601000,"timestamp_seconds":1776840601,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f3eda8"} 
[2026-04-22 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-22 12:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 12:27:05] 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-22 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-22 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-22 12:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871116800001,"66":2144,"121":206,"28":31744,"24":0,"16":113861807810019328,"45":1837046466102407168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-22 12:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871116800001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:27:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 12:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-22 12:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466102407168,"description":"Unknown IO ID 45"} 
[2026-04-22 12:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871116800001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837046466102407168}} 
[2026-04-22 12:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":50487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:27:05] local.INFO: GPS data processed {"connection_id":50487,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:27:05] local.INFO: Acknowledgment sent {"connection_id":50487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:27:28] local.INFO: TCP Data received {"connection_id":50605,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:27:28] local.INFO: Processing buffer {"connection_id":50605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:27:28] local.INFO: IMEI packet received {"connection_id":50605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":50605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:27:32] local.INFO: TCP Data received {"connection_id":51155,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:27:32] local.INFO: Processing buffer {"connection_id":51155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:27:32] local.INFO: IMEI packet received {"connection_id":51155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":51155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:27:32] local.INFO: TCP Data received {"connection_id":50605,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:27:32] local.INFO: Processing buffer {"connection_id":50605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:27:32] local.INFO: IMEI packet received {"connection_id":50605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:27:33] local.INFO: TCP Data received {"connection_id":50605,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:27:33] local.INFO: Processing buffer {"connection_id":50605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:27:33] local.INFO: Packet analysis {"connection_id":50605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:27:33] local.INFO: Extracted packet for processing {"connection_id":50605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27: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-22 12:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:27:33] 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-22 12:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:27:33] 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-22 12:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:27:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":50605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:27:33] local.INFO: GPS data processed {"connection_id":50605,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:27:33] local.INFO: Acknowledgment sent {"connection_id":50605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:27:37] local.INFO: TCP Data received {"connection_id":51155,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:27:37] local.INFO: Processing buffer {"connection_id":51155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:27:37] local.INFO: IMEI packet received {"connection_id":51155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":51155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:27:38] local.INFO: TCP Data received {"connection_id":51155,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:27:38] local.INFO: Processing buffer {"connection_id":51155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:27:38] local.INFO: Packet analysis {"connection_id":51155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:27:38] local.INFO: Extracted packet for processing {"connection_id":51155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27: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-22 12:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 12:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:27: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-22 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:27: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-22 12:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:27:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:27:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":51155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:27:38] local.INFO: GPS data processed {"connection_id":51155,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:27:38] local.INFO: Acknowledgment sent {"connection_id":51155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:27:38] local.INFO: TCP Data received {"connection_id":50605,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:27:38] local.INFO: Processing buffer {"connection_id":50605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:27:38] local.INFO: Packet analysis {"connection_id":50605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:27:38] local.INFO: Extracted packet for processing {"connection_id":50605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27: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-22 12:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:27: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-22 12:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:27:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":50605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:27:38] local.INFO: GPS data processed {"connection_id":50605,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:27:38] local.INFO: Acknowledgment sent {"connection_id":50605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:27:42] local.INFO: TCP Data received {"connection_id":51155,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:27:42] local.INFO: Processing buffer {"connection_id":51155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:27:42] local.INFO: Packet analysis {"connection_id":51155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:27:42] local.INFO: Extracted packet for processing {"connection_id":51155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 12:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:27:42] 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-22 12:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:27:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:27:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":51155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:27:42] local.INFO: GPS data processed {"connection_id":51155,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:27:42] local.INFO: Acknowledgment sent {"connection_id":51155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:28:09] local.INFO: TCP Data received {"connection_id":50605,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:28:09] local.INFO: Processing buffer {"connection_id":50605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:28:09] local.INFO: Packet analysis {"connection_id":50605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:28:09] local.INFO: Extracted packet for processing {"connection_id":50605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12: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-22 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:28:09] 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-22 12: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-22 12: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-22 12:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:28:09] 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-22 12:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:28:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":50605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:28:09] local.INFO: GPS data processed {"connection_id":50605,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:28:09] local.INFO: Acknowledgment sent {"connection_id":50605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:28:27] local.INFO: TCP Data received {"connection_id":50607,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:28:27] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:28:27] local.INFO: IMEI packet received {"connection_id":50607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":50607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:28:27] local.INFO: TCP Data received {"connection_id":50608,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:28:28] local.INFO: Processing buffer {"connection_id":50608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:28:28] local.INFO: IMEI packet received {"connection_id":50608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":50608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:28:32] local.INFO: TCP Data received {"connection_id":50607,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:28:32] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:28:32] local.INFO: IMEI packet received {"connection_id":50607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:28:33] local.INFO: TCP Data received {"connection_id":50608,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:28:33] local.INFO: Processing buffer {"connection_id":50608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:28:33] local.INFO: IMEI packet received {"connection_id":50608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":50608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:28:34] local.INFO: TCP Data received {"connection_id":50608,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:28:34] local.INFO: Processing buffer {"connection_id":50608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:28:34] local.INFO: Packet analysis {"connection_id":50608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:28:34] local.INFO: Extracted packet for processing {"connection_id":50608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:28: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-22 12:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:28:34] 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-22 12:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:28:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":50608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:28:34] local.INFO: GPS data processed {"connection_id":50608,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:28:34] local.INFO: Acknowledgment sent {"connection_id":50608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:28:37] local.INFO: TCP Data received {"connection_id":50607,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:28:37] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:28:37] local.INFO: Packet analysis {"connection_id":50607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:28:37] local.INFO: Extracted packet for processing {"connection_id":50607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:28: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-22 12:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 12:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:28: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-22 12:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:28: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-22 12:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:28:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:28:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":50607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:28:37] local.INFO: GPS data processed {"connection_id":50607,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:28:37] local.INFO: Acknowledgment sent {"connection_id":50607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:29:05] local.INFO: TCP Data received {"connection_id":50608,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:29:05] local.INFO: Processing buffer {"connection_id":50608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:29:05] local.INFO: Packet analysis {"connection_id":50608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:29:05] local.INFO: Extracted packet for processing {"connection_id":50608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 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-22 12:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29: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-22 12:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 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-22 12:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 12:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:29:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":50608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:29:05] local.INFO: GPS data processed {"connection_id":50608,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:29:05] local.INFO: Acknowledgment sent {"connection_id":50608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:29:08] local.INFO: TCP Data received {"connection_id":50607,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:29:08] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:29:08] local.INFO: Packet analysis {"connection_id":50607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:29:08] local.INFO: Extracted packet for processing {"connection_id":50607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29: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-22 12:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 12:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:29: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-22 12:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:29:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:29:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":50607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:29:08] local.INFO: GPS data processed {"connection_id":50607,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:29:08] local.INFO: Acknowledgment sent {"connection_id":50607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:29:26] local.INFO: TCP Data received {"connection_id":51156,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:29:26] local.INFO: Processing buffer {"connection_id":51156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:29:26] local.INFO: IMEI packet received {"connection_id":51156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":51156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:29:32] local.INFO: TCP Data received {"connection_id":51156,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:29:32] local.INFO: Processing buffer {"connection_id":51156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:29:32] local.INFO: IMEI packet received {"connection_id":51156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":51156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:29:33] local.INFO: TCP Data received {"connection_id":50221,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:29:33] local.INFO: Processing buffer {"connection_id":50221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:29:33] local.INFO: IMEI packet received {"connection_id":50221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":50221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:29:33] local.INFO: TCP Data received {"connection_id":51156,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:29:33] local.INFO: Processing buffer {"connection_id":51156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:29:33] local.INFO: Packet analysis {"connection_id":51156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:29:33] local.INFO: Extracted packet for processing {"connection_id":51156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 12:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12: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-22 12:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:29: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-22 12:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:29:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:29:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":51156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:29:33] local.INFO: GPS data processed {"connection_id":51156,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:29:33] local.INFO: Acknowledgment sent {"connection_id":51156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:29:42] local.INFO: TCP Data received {"connection_id":50221,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:29:42] local.INFO: Processing buffer {"connection_id":50221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:29:42] local.INFO: IMEI packet received {"connection_id":50221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":50221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:29:44] local.INFO: TCP Data received {"connection_id":50221,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:29:44] local.INFO: Processing buffer {"connection_id":50221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:29:44] local.INFO: Packet analysis {"connection_id":50221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:29:44] local.INFO: Extracted packet for processing {"connection_id":50221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29: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-22 12:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:29:44] 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-22 12:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:29: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-22 12:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:29:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":50221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:29:44] local.INFO: GPS data processed {"connection_id":50221,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:29:44] local.INFO: Acknowledgment sent {"connection_id":50221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:29:49] local.INFO: TCP Data received {"connection_id":50221,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:29:49] local.INFO: Processing buffer {"connection_id":50221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:29:49] local.INFO: Packet analysis {"connection_id":50221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:29:49] local.INFO: Extracted packet for processing {"connection_id":50221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:29:49] 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-22 12:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":50221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":50221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":50221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:29:49] 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-22 12:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:29:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":50221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:29:49] local.INFO: GPS data processed {"connection_id":50221,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:29:49] local.INFO: Acknowledgment sent {"connection_id":50221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:30:05] local.INFO: TCP Data received {"connection_id":51156,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:30:05] local.INFO: Processing buffer {"connection_id":51156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3f80c58012d7f888005afdcc8000e012c2a..."} 
[2026-04-22 12:30:05] local.INFO: Packet analysis {"connection_id":51156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:30:05] local.INFO: Extracted packet for processing {"connection_id":51156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3f8"} 
[2026-04-22 12:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":14,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871185920001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776840871000,"timestamp_ms":1776840871000,"timestamp_seconds":1776840871,"priority":1,"record_length":96,"hex_timestamp":"0000019db3f80c58"} 
[2026-04-22 12:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12: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-22 12:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:30: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-22 12: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-22 12:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871185920001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871185920001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:30:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:30:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871185920001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":51156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:30:05] local.INFO: GPS data processed {"connection_id":51156,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:30:05] local.INFO: Acknowledgment sent {"connection_id":51156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:30:28] local.INFO: TCP Data received {"connection_id":51158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:30:28] local.INFO: Processing buffer {"connection_id":51158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:30:28] local.INFO: IMEI packet received {"connection_id":51158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":51158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:30:32] local.INFO: TCP Data received {"connection_id":50489,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:30:32] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:30:32] local.INFO: IMEI packet received {"connection_id":50489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:30:33] local.INFO: TCP Data received {"connection_id":51158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:30:33] local.INFO: Processing buffer {"connection_id":51158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:30:33] local.INFO: IMEI packet received {"connection_id":51158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":51158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:30:34] local.INFO: TCP Data received {"connection_id":51158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:30:34] local.INFO: Processing buffer {"connection_id":51158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:30:34] local.INFO: Packet analysis {"connection_id":51158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:30:34] local.INFO: Extracted packet for processing {"connection_id":51158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30: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-22 12:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12: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-22 12:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:30:34] 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-22 12:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:30:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":51158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:30:34] local.INFO: GPS data processed {"connection_id":51158,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:30:34] local.INFO: Acknowledgment sent {"connection_id":51158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:30:37] local.INFO: TCP Data received {"connection_id":50489,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:30:37] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:30:37] local.INFO: IMEI packet received {"connection_id":50489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":50489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:30:38] local.INFO: TCP Data received {"connection_id":50489,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:30:38] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:30:38] local.INFO: Packet analysis {"connection_id":50489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:30:38] local.INFO: Extracted packet for processing {"connection_id":50489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30: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-22 12:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 12:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:30: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-22 12:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:30: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-22 12:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:30:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:30:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":50489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:30:38] local.INFO: GPS data processed {"connection_id":50489,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:30:38] local.INFO: Acknowledgment sent {"connection_id":50489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:30:42] local.INFO: TCP Data received {"connection_id":50489,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:30:42] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:30:42] local.INFO: Packet analysis {"connection_id":50489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:30:42] local.INFO: Extracted packet for processing {"connection_id":50489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 12:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:30:42] 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-22 12:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:30:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:30:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":50489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:30:42] local.INFO: GPS data processed {"connection_id":50489,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:30:42] local.INFO: Acknowledgment sent {"connection_id":50489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:31:05] local.INFO: TCP Data received {"connection_id":51158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:31:05] local.INFO: Processing buffer {"connection_id":51158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:31:05] local.INFO: Packet analysis {"connection_id":51158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:31:05] local.INFO: Extracted packet for processing {"connection_id":51158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:31: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-22 12:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12: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-22 12:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:31:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":51158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:31:05] local.INFO: GPS data processed {"connection_id":51158,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:31:05] local.INFO: Acknowledgment sent {"connection_id":51158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:31:26] local.INFO: TCP Data received {"connection_id":50609,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:31:26] local.INFO: Processing buffer {"connection_id":50609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:31:26] local.INFO: IMEI packet received {"connection_id":50609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":50609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:31:28] local.INFO: TCP Data received {"connection_id":50223,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:31:28] local.INFO: Processing buffer {"connection_id":50223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:31:28] local.INFO: IMEI packet received {"connection_id":50223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":50223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:31:32] local.INFO: TCP Data received {"connection_id":50609,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:31:32] local.INFO: Processing buffer {"connection_id":50609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:31:32] local.INFO: IMEI packet received {"connection_id":50609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:31:33] local.INFO: TCP Data received {"connection_id":50609,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:31:33] local.INFO: Processing buffer {"connection_id":50609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:31:33] local.INFO: Packet analysis {"connection_id":50609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:31:33] local.INFO: Extracted packet for processing {"connection_id":50609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:31: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-22 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-22 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-22 12:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:31:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:31:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":50609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:31:33] local.INFO: GPS data processed {"connection_id":50609,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:31:33] local.INFO: Acknowledgment sent {"connection_id":50609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:31:33] local.INFO: TCP Data received {"connection_id":50223,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:31:33] local.INFO: Processing buffer {"connection_id":50223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:31:33] local.INFO: IMEI packet received {"connection_id":50223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":50223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:31:34] local.INFO: TCP Data received {"connection_id":50223,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:31:34] local.INFO: Processing buffer {"connection_id":50223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:31:34] local.INFO: Packet analysis {"connection_id":50223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:31:34] local.INFO: Extracted packet for processing {"connection_id":50223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:31: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-22 12:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12: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-22 12:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:31:34] 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-22 12:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:31:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":50223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:31:34] local.INFO: GPS data processed {"connection_id":50223,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:31:34] local.INFO: Acknowledgment sent {"connection_id":50223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:32:05] local.INFO: TCP Data received {"connection_id":50609,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:32:05] local.INFO: Processing buffer {"connection_id":50609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:32:05] local.INFO: Packet analysis {"connection_id":50609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:32:05] local.INFO: Extracted packet for processing {"connection_id":50609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 12: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-22 12:32: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:32: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-22 12: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-22 12: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-22 12:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:32:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:32:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":50609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:32:05] local.INFO: GPS data processed {"connection_id":50609,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:32:05] local.INFO: Acknowledgment sent {"connection_id":50609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:32:05] local.INFO: TCP Data received {"connection_id":50223,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:32:05] local.INFO: Processing buffer {"connection_id":50223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fa0828012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:32:05] local.INFO: Packet analysis {"connection_id":50223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:32:05] local.INFO: Extracted packet for processing {"connection_id":50223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fa"} 
[2026-04-22 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871193856001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32: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-22 12:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841001000,"timestamp_ms":1776841001000,"timestamp_seconds":1776841001,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fa0828"} 
[2026-04-22 12: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-22 12:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 12:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871193856001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871193856001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:32:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871193856001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":50223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:32:05] local.INFO: GPS data processed {"connection_id":50223,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:32:05] local.INFO: Acknowledgment sent {"connection_id":50223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:32:16] local.INFO: TCP Data received {"connection_id":50224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:32:16] local.INFO: Processing buffer {"connection_id":50224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:32:16] local.INFO: IMEI packet received {"connection_id":50224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":50224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:32:26] local.INFO: TCP Data received {"connection_id":50610,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:32:26] local.INFO: Processing buffer {"connection_id":50610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:32:26] local.INFO: IMEI packet received {"connection_id":50610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":50610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:32:28] local.INFO: TCP Data received {"connection_id":50611,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:32:28] local.INFO: Processing buffer {"connection_id":50611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:32:28] local.INFO: IMEI packet received {"connection_id":50611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":50611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:32:32] local.INFO: TCP Data received {"connection_id":50610,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:32:32] local.INFO: Processing buffer {"connection_id":50610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:32:32] local.INFO: IMEI packet received {"connection_id":50610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:32:33] local.INFO: TCP Data received {"connection_id":50610,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:32:33] local.INFO: Processing buffer {"connection_id":50610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:32:33] local.INFO: Packet analysis {"connection_id":50610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:32:33] local.INFO: Extracted packet for processing {"connection_id":50610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 12: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-22 12:32: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:32: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-22 12: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-22 12: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-22 12:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:32:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:32:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:32:33] local.INFO: GPS data processed {"connection_id":50610,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:32:33] local.INFO: Acknowledgment sent {"connection_id":50610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:32:33] local.INFO: TCP Data received {"connection_id":50611,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:32:33] local.INFO: Processing buffer {"connection_id":50611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:32:33] local.INFO: IMEI packet received {"connection_id":50611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":50611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:32:34] local.INFO: TCP Data received {"connection_id":50611,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:32:34] local.INFO: Processing buffer {"connection_id":50611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:32:34] local.INFO: Packet analysis {"connection_id":50611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:32:34] local.INFO: Extracted packet for processing {"connection_id":50611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:32: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-22 12:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12: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-22 12:32:34] 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-22 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:32:34] 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-22 12:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:32:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":50611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:32:34] local.INFO: GPS data processed {"connection_id":50611,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:32:34] local.INFO: Acknowledgment sent {"connection_id":50611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:32:51] local.INFO: TCP Data received {"connection_id":50612,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:32:51] local.INFO: Processing buffer {"connection_id":50612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:32:51] local.INFO: IMEI packet received {"connection_id":50612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":50612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:33:05] local.INFO: TCP Data received {"connection_id":50611,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:33:05] local.INFO: Processing buffer {"connection_id":50611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:33:05] local.INFO: Packet analysis {"connection_id":50611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:33:05] local.INFO: Extracted packet for processing {"connection_id":50611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33: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-22 12:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12: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-22 12:33:05] 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-22 12:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:33:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":50611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:33:05] local.INFO: GPS data processed {"connection_id":50611,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:33:05] local.INFO: Acknowledgment sent {"connection_id":50611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:33:06] local.INFO: TCP Data received {"connection_id":50610,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:33:06] local.INFO: Processing buffer {"connection_id":50610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:33:06] local.INFO: Packet analysis {"connection_id":50610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:33:06] local.INFO: Extracted packet for processing {"connection_id":50610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 12:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:33: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-22 12:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12: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-22 12:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:33:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:33:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":50610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:33:06] local.INFO: GPS data processed {"connection_id":50610,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:33:06] local.INFO: Acknowledgment sent {"connection_id":50610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:33:27] local.INFO: TCP Data received {"connection_id":51160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:33:28] local.INFO: Processing buffer {"connection_id":51160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:33:28] local.INFO: IMEI packet received {"connection_id":51160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":51160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:33:32] local.INFO: TCP Data received {"connection_id":51159,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:33:32] local.INFO: Processing buffer {"connection_id":51159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:33:32] local.INFO: IMEI packet received {"connection_id":51159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":51159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:33:33] local.INFO: TCP Data received {"connection_id":51160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:33:33] local.INFO: Processing buffer {"connection_id":51160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:33:33] local.INFO: IMEI packet received {"connection_id":51160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":51160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:33:34] local.INFO: TCP Data received {"connection_id":51160,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:33:34] local.INFO: Processing buffer {"connection_id":51160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:33:34] local.INFO: Packet analysis {"connection_id":51160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:33:34] local.INFO: Extracted packet for processing {"connection_id":51160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33: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-22 12:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:33:34] 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-22 12:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:33:34] 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-22 12:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:33:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":51160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:33:34] local.INFO: GPS data processed {"connection_id":51160,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:33:34] local.INFO: Acknowledgment sent {"connection_id":51160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:33:37] local.INFO: TCP Data received {"connection_id":51159,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:33:37] local.INFO: Processing buffer {"connection_id":51159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:33:37] local.INFO: IMEI packet received {"connection_id":51159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":51159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:33:38] local.INFO: TCP Data received {"connection_id":51159,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:33:38] local.INFO: Processing buffer {"connection_id":51159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:33:38] local.INFO: Packet analysis {"connection_id":51159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:33:38] local.INFO: Extracted packet for processing {"connection_id":51159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33: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-22 12:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 12:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:33: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-22 12:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:33:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:33:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":51159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:33:38] local.INFO: GPS data processed {"connection_id":51159,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:33:38] local.INFO: Acknowledgment sent {"connection_id":51159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:33:43] local.INFO: TCP Data received {"connection_id":51159,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:33:43] local.INFO: Processing buffer {"connection_id":51159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:33:43] local.INFO: Packet analysis {"connection_id":51159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:33:43] local.INFO: Extracted packet for processing {"connection_id":51159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:33:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 12:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:33:43] 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-22 12:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":51159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":51159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":51159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:33:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:33:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":51159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:33:43] local.INFO: GPS data processed {"connection_id":51159,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:33:43] local.INFO: Acknowledgment sent {"connection_id":51159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:34:05] local.INFO: TCP Data received {"connection_id":51160,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:34:05] local.INFO: Processing buffer {"connection_id":51160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:34:05] local.INFO: Packet analysis {"connection_id":51160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:34:05] local.INFO: Extracted packet for processing {"connection_id":51160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34: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-22 12:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12: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-22 12:34:05] 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-22 12:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:34:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":51160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:34:05] local.INFO: GPS data processed {"connection_id":51160,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:34:05] local.INFO: Acknowledgment sent {"connection_id":51160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:34:26] local.INFO: TCP Data received {"connection_id":50490,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:34:26] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:34:26] local.INFO: IMEI packet received {"connection_id":50490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":50490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:34:32] local.INFO: TCP Data received {"connection_id":50490,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:34:32] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:34:32] local.INFO: IMEI packet received {"connection_id":50490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:34:33] local.INFO: TCP Data received {"connection_id":50490,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:34:33] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:34:33] local.INFO: Packet analysis {"connection_id":50490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:34:33] local.INFO: Extracted packet for processing {"connection_id":50490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12: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-22 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-22 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-22 12:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:34:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:34:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:34:33] local.INFO: GPS data processed {"connection_id":50490,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:34:33] local.INFO: Acknowledgment sent {"connection_id":50490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:34:37] local.INFO: TCP Data received {"connection_id":50226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:34:37] local.INFO: Processing buffer {"connection_id":50226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:34:37] local.INFO: IMEI packet received {"connection_id":50226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":50226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:34:37] local.INFO: TCP Data received {"connection_id":50226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:34:37] local.INFO: Processing buffer {"connection_id":50226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:34:37] local.INFO: IMEI packet received {"connection_id":50226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":50226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:34:38] local.INFO: TCP Data received {"connection_id":50226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:34:38] local.INFO: Processing buffer {"connection_id":50226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:34:38] local.INFO: Packet analysis {"connection_id":50226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:34:38] local.INFO: Extracted packet for processing {"connection_id":50226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34: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-22 12:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:34:38] 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-22 12:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:34:38] 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-22 12:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:34:38] 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-22 12:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:34:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":50226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:34:38] local.INFO: GPS data processed {"connection_id":50226,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:34:38] local.INFO: Acknowledgment sent {"connection_id":50226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:34:43] local.INFO: TCP Data received {"connection_id":50226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:34:43] local.INFO: Processing buffer {"connection_id":50226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:34:43] local.INFO: Packet analysis {"connection_id":50226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:34:43] local.INFO: Extracted packet for processing {"connection_id":50226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12: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-22 12:34:43] 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-22 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:34:43] 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-22 12: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-22 12: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-22 12:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:34:43] 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-22 12:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:34:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:34:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":50226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:34:43] local.INFO: GPS data processed {"connection_id":50226,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:34:43] local.INFO: Acknowledgment sent {"connection_id":50226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:35:04] local.INFO: TCP Data received {"connection_id":50490,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:35:04] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fca420012d7f888005afdcc8001d012c29..."} 
[2026-04-22 12:35:04] local.INFO: Packet analysis {"connection_id":50490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:35:04] local.INFO: Extracted packet for processing {"connection_id":50490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fc"} 
[2026-04-22 12:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871262976001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776841172000,"timestamp_ms":1776841172000,"timestamp_seconds":1776841172,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fca420"} 
[2026-04-22 12: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-22 12:35: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871262976001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871262976001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:35:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:35:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871262976001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:35:04] local.INFO: GPS data processed {"connection_id":50490,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:35:04] local.INFO: Acknowledgment sent {"connection_id":50490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:35:26] local.INFO: TCP Data received {"connection_id":50228,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:35:26] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:35:26] local.INFO: IMEI packet received {"connection_id":50228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":50228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:35:28] local.INFO: TCP Data received {"connection_id":50613,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:35:28] local.INFO: Processing buffer {"connection_id":50613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:35:28] local.INFO: IMEI packet received {"connection_id":50613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":50613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:35:31] local.INFO: TCP Data received {"connection_id":50228,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:35:31] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:35:31] local.INFO: IMEI packet received {"connection_id":50228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":50228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:35:33] local.INFO: TCP Data received {"connection_id":50613,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:35:33] local.INFO: Processing buffer {"connection_id":50613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:35:33] local.INFO: IMEI packet received {"connection_id":50613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":50613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:35:33] local.INFO: TCP Data received {"connection_id":50228,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:35:33] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:35:33] local.INFO: Packet analysis {"connection_id":50228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:35:33] local.INFO: Extracted packet for processing {"connection_id":50228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12: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-22 12:35: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-22 12: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-22 12: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-22 12: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-22 12: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-22 12:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:35:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:35:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:35:33] local.INFO: GPS data processed {"connection_id":50228,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:35:33] local.INFO: Acknowledgment sent {"connection_id":50228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:35:34] local.INFO: TCP Data received {"connection_id":50613,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:35:34] local.INFO: Processing buffer {"connection_id":50613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:35:34] local.INFO: Packet analysis {"connection_id":50613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:35:34] local.INFO: Extracted packet for processing {"connection_id":50613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:35: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-22 12:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12: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-22 12:35:34] 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-22 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:35:34] 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-22 12:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:35:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":50613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:35:34] local.INFO: GPS data processed {"connection_id":50613,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:35:34] local.INFO: Acknowledgment sent {"connection_id":50613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:36:05] local.INFO: TCP Data received {"connection_id":50228,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:36:05] local.INFO: Processing buffer {"connection_id":50228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:36:05] local.INFO: Packet analysis {"connection_id":50228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:36:05] local.INFO: Extracted packet for processing {"connection_id":50228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12: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-22 12:36: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:36: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-22 12: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-22 12: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-22 12:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:36:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:36:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:36:05] local.INFO: TCP Data received {"connection_id":50613,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:36:05] local.INFO: Processing buffer {"connection_id":50613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:36:05] local.INFO: Packet analysis {"connection_id":50613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:36:05] local.INFO: Extracted packet for processing {"connection_id":50613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36: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-22 12:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12: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-22 12:36:05] 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-22 12:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":50228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:36:05] local.INFO: GPS data processed {"connection_id":50228,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:36:05] local.INFO: Acknowledgment sent {"connection_id":50228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:36:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":50613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:36:05] local.INFO: GPS data processed {"connection_id":50613,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:36:05] local.INFO: Acknowledgment sent {"connection_id":50613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:36:28] local.INFO: TCP Data received {"connection_id":50614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:36:28] local.INFO: Processing buffer {"connection_id":50614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:36:28] local.INFO: IMEI packet received {"connection_id":50614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":50614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:36:32] local.INFO: TCP Data received {"connection_id":50615,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:36:32] local.INFO: Processing buffer {"connection_id":50615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:36:32] local.INFO: IMEI packet received {"connection_id":50615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:36:33] local.INFO: TCP Data received {"connection_id":50614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:36:33] local.INFO: Processing buffer {"connection_id":50614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:36:33] local.INFO: IMEI packet received {"connection_id":50614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":50614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:36:34] local.INFO: TCP Data received {"connection_id":50614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:36:34] local.INFO: Processing buffer {"connection_id":50614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:36:34] local.INFO: Packet analysis {"connection_id":50614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:36:34] local.INFO: Extracted packet for processing {"connection_id":50614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36: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-22 12:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12: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-22 12:36:34] 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-22 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:36:34] 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-22 12:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:36:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":50614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:36:34] local.INFO: GPS data processed {"connection_id":50614,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:36:34] local.INFO: Acknowledgment sent {"connection_id":50614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:36:37] local.INFO: TCP Data received {"connection_id":50615,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:36:37] local.INFO: Processing buffer {"connection_id":50615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:36:37] local.INFO: IMEI packet received {"connection_id":50615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":50615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:36:38] local.INFO: TCP Data received {"connection_id":50615,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:36:38] local.INFO: Processing buffer {"connection_id":50615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:36:38] local.INFO: Packet analysis {"connection_id":50615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:36:38] local.INFO: Extracted packet for processing {"connection_id":50615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36: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-22 12:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12: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-22 12:36: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:36: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-22 12: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-22 12: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-22 12:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:36:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:36:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":50615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:36:38] local.INFO: GPS data processed {"connection_id":50615,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:36:38] local.INFO: Acknowledgment sent {"connection_id":50615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:36:43] local.INFO: TCP Data received {"connection_id":50615,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:36:43] local.INFO: Processing buffer {"connection_id":50615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:36:43] local.INFO: Packet analysis {"connection_id":50615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:36:43] local.INFO: Extracted packet for processing {"connection_id":50615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:36:43] 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-22 12:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:36:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:36:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":50615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:36:43] local.INFO: GPS data processed {"connection_id":50615,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:36:43] local.INFO: Acknowledgment sent {"connection_id":50615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:37:05] local.INFO: TCP Data received {"connection_id":50614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:37:05] local.INFO: Processing buffer {"connection_id":50614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db3fe9ff0012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:37:05] local.INFO: Packet analysis {"connection_id":50614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:37:05] local.INFO: Extracted packet for processing {"connection_id":50614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db3fe"} 
[2026-04-22 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871296256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:37: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-22 12:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841302000,"timestamp_ms":1776841302000,"timestamp_seconds":1776841302,"priority":1,"record_length":96,"hex_timestamp":"0000019db3fe9ff0"} 
[2026-04-22 12: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-22 12:37:05] 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-22 12:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871296256001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871296256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:37:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871296256001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":50614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:37:05] local.INFO: GPS data processed {"connection_id":50614,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:37:05] local.INFO: Acknowledgment sent {"connection_id":50614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:37:26] local.INFO: TCP Data received {"connection_id":50492,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:37:26] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:37:26] local.INFO: IMEI packet received {"connection_id":50492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":50492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:37:28] local.INFO: TCP Data received {"connection_id":50616,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:37:28] local.INFO: Processing buffer {"connection_id":50616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:37:28] local.INFO: IMEI packet received {"connection_id":50616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":50616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:37:32] local.INFO: TCP Data received {"connection_id":50492,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:37:32] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:37:32] local.INFO: IMEI packet received {"connection_id":50492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:37:33] local.INFO: TCP Data received {"connection_id":50492,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:37:33] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:37:33] local.INFO: Packet analysis {"connection_id":50492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:37:33] local.INFO: Extracted packet for processing {"connection_id":50492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12: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-22 12:37: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:37: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-22 12: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-22 12: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-22 12:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:37:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:37:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":50492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:37:33] local.INFO: GPS data processed {"connection_id":50492,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:37:33] local.INFO: Acknowledgment sent {"connection_id":50492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:37:33] local.INFO: TCP Data received {"connection_id":50616,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:37:33] local.INFO: Processing buffer {"connection_id":50616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:37:33] local.INFO: IMEI packet received {"connection_id":50616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":50616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:37:35] local.INFO: TCP Data received {"connection_id":50616,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:37:35] local.INFO: Processing buffer {"connection_id":50616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:37:35] local.INFO: Packet analysis {"connection_id":50616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:37:35] local.INFO: Extracted packet for processing {"connection_id":50616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:37:35] 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-22 12:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:37:35] 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-22 12:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:37:35] 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-22 12:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:37:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":50616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:37:35] local.INFO: GPS data processed {"connection_id":50616,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:37:35] local.INFO: Acknowledgment sent {"connection_id":50616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:38:04] local.INFO: TCP Data received {"connection_id":50492,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:38:04] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:38:04] local.INFO: Packet analysis {"connection_id":50492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:38:04] local.INFO: Extracted packet for processing {"connection_id":50492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38: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-22 12:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12: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-22 12:38: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:38:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:38:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:38:04] local.INFO: GPS data processed {"connection_id":50492,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:38:04] local.INFO: Acknowledgment sent {"connection_id":50492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:38:07] local.INFO: TCP Data received {"connection_id":50616,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:38:07] local.INFO: Processing buffer {"connection_id":50616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:38:07] local.INFO: Packet analysis {"connection_id":50616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:38:07] local.INFO: Extracted packet for processing {"connection_id":50616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:07] 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-22 12:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:38:07] 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-22 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:38:07] 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-22 12:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:38:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":50616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:38:08] local.INFO: GPS data processed {"connection_id":50616,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:38:08] local.INFO: Acknowledgment sent {"connection_id":50616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:38:16] local.INFO: TCP Data received {"connection_id":50493,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:38:16] local.INFO: Processing buffer {"connection_id":50493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:38:16] local.INFO: IMEI packet received {"connection_id":50493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":50493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:38:26] local.INFO: TCP Data received {"connection_id":51162,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:38:26] local.INFO: Processing buffer {"connection_id":51162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:38:26] local.INFO: IMEI packet received {"connection_id":51162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":51162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:38:27] local.INFO: TCP Data received {"connection_id":50229,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:38:27] local.INFO: Processing buffer {"connection_id":50229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:38:27] local.INFO: IMEI packet received {"connection_id":50229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":50229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:38:32] local.INFO: TCP Data received {"connection_id":51162,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:38:32] local.INFO: Processing buffer {"connection_id":51162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:38:32] local.INFO: IMEI packet received {"connection_id":51162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":51162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:38:33] local.INFO: TCP Data received {"connection_id":50229,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:38:33] local.INFO: Processing buffer {"connection_id":50229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:38:33] local.INFO: IMEI packet received {"connection_id":50229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":50229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:38:33] local.INFO: TCP Data received {"connection_id":51162,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:38:33] local.INFO: Processing buffer {"connection_id":51162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:38:33] local.INFO: Packet analysis {"connection_id":51162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:38:33] local.INFO: Extracted packet for processing {"connection_id":51162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12: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-22 12:38: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:38: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-22 12: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-22 12: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-22 12:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:38:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:38:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":51162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:38:33] local.INFO: GPS data processed {"connection_id":51162,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:38:33] local.INFO: Acknowledgment sent {"connection_id":51162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:38:34] local.INFO: TCP Data received {"connection_id":50229,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:38:34] local.INFO: Processing buffer {"connection_id":50229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:38:34] local.INFO: Packet analysis {"connection_id":50229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:38:34] local.INFO: Extracted packet for processing {"connection_id":50229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:38:34] 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-22 12:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12: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-22 12:38:34] 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-22 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:38:34] 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-22 12:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:38:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":50229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:38:34] local.INFO: GPS data processed {"connection_id":50229,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:38:34] local.INFO: Acknowledgment sent {"connection_id":50229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:38:51] local.INFO: TCP Data received {"connection_id":50617,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:38:51] local.INFO: Processing buffer {"connection_id":50617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:38:51] local.INFO: IMEI packet received {"connection_id":50617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":50617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:39:05] local.INFO: TCP Data received {"connection_id":51162,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:39:05] local.INFO: Processing buffer {"connection_id":51162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:39:05] local.INFO: Packet analysis {"connection_id":51162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:39:05] local.INFO: Extracted packet for processing {"connection_id":51162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39: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-22 12:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:39: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-22 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:39: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-22 12:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:39:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:39:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":51162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:39:05] local.INFO: GPS data processed {"connection_id":51162,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:39:05] local.INFO: Acknowledgment sent {"connection_id":51162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:39:05] local.INFO: TCP Data received {"connection_id":50229,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:39:05] local.INFO: Processing buffer {"connection_id":50229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:39:05] local.INFO: Packet analysis {"connection_id":50229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:39:05] local.INFO: Extracted packet for processing {"connection_id":50229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:05] 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-22 12:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:39:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":50229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:39:05] local.INFO: GPS data processed {"connection_id":50229,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:39:05] local.INFO: Acknowledgment sent {"connection_id":50229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:39:26] local.INFO: TCP Data received {"connection_id":50230,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:39:26] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:39:26] local.INFO: IMEI packet received {"connection_id":50230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":50230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:39:32] local.INFO: TCP Data received {"connection_id":50230,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:39:32] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:39:32] local.INFO: IMEI packet received {"connection_id":50230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":50230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:39:33] local.INFO: TCP Data received {"connection_id":50230,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:39:33] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:39:33] local.INFO: Packet analysis {"connection_id":50230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:39:33] local.INFO: Extracted packet for processing {"connection_id":50230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39: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-22 12:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12: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-22 12:39: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:39: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-22 12: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-22 12: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-22 12:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:39:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:39:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":50230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:39:33] local.INFO: GPS data processed {"connection_id":50230,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:39:33] local.INFO: Acknowledgment sent {"connection_id":50230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:39:33] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:39:33] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:39:33] local.INFO: IMEI packet received {"connection_id":50618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":50618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:39:38] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:39:38] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:39:38] local.INFO: IMEI packet received {"connection_id":50618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":50618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:39:39] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:39:39] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:39:39] local.INFO: Packet analysis {"connection_id":50618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:39:39] local.INFO: Extracted packet for processing {"connection_id":50618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:39:39] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:39] 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-22 12:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:39:39] 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-22 12:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:39: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-22 12:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:39:39] 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-22 12:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:39:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:39:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":50618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:39:39] local.INFO: GPS data processed {"connection_id":50618,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:39:39] local.INFO: Acknowledgment sent {"connection_id":50618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:39:44] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:39:44] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:39:44] local.INFO: Packet analysis {"connection_id":50618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:39:44] local.INFO: Extracted packet for processing {"connection_id":50618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:39:44] 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-22 12:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:39:44] 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-22 12:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:39: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-22 12:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:39:44] 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-22 12:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:39:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:39:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":50618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:39:44] local.INFO: GPS data processed {"connection_id":50618,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:39:44] local.INFO: Acknowledgment sent {"connection_id":50618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:40:04] local.INFO: TCP Data received {"connection_id":50230,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:40:04] local.INFO: Processing buffer {"connection_id":50230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4013be8012d7f888005afdcc80012012c27..."} 
[2026-04-22 12:40:04] local.INFO: Packet analysis {"connection_id":50230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:40:04] local.INFO: Extracted packet for processing {"connection_id":50230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db401"} 
[2026-04-22 12:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":18,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871340032001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40: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-22 12:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776841473000,"timestamp_ms":1776841473000,"timestamp_seconds":1776841473,"priority":1,"record_length":96,"hex_timestamp":"0000019db4013be8"} 
[2026-04-22 12: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-22 12:40: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871340032001,"66":25125,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871340032001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:40:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:40:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871340032001,"power":25125,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":50230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:40:04] local.INFO: GPS data processed {"connection_id":50230,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:40:04] local.INFO: Acknowledgment sent {"connection_id":50230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:40:28] local.INFO: TCP Data received {"connection_id":50619,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:40:28] local.INFO: Processing buffer {"connection_id":50619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:40:28] local.INFO: IMEI packet received {"connection_id":50619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":50619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:40:32] local.INFO: TCP Data received {"connection_id":51164,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:40:32] local.INFO: Processing buffer {"connection_id":51164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:40:32] local.INFO: IMEI packet received {"connection_id":51164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":51164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:40:33] local.INFO: TCP Data received {"connection_id":50619,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:40:33] local.INFO: Processing buffer {"connection_id":50619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:40:33] local.INFO: IMEI packet received {"connection_id":50619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":50619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:40:34] local.INFO: TCP Data received {"connection_id":50619,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:40:34] local.INFO: Processing buffer {"connection_id":50619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:40:34] local.INFO: Packet analysis {"connection_id":50619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:40:34] local.INFO: Extracted packet for processing {"connection_id":50619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:34] 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-22 12:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:40:34] 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-22 12:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:40:34] 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-22 12:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:40:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":50619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:40:34] local.INFO: GPS data processed {"connection_id":50619,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:40:34] local.INFO: Acknowledgment sent {"connection_id":50619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:40:37] local.INFO: TCP Data received {"connection_id":51164,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:40:37] local.INFO: Processing buffer {"connection_id":51164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:40:37] local.INFO: IMEI packet received {"connection_id":51164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":51164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:40:38] local.INFO: TCP Data received {"connection_id":51164,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:40:38] local.INFO: Processing buffer {"connection_id":51164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:40:38] local.INFO: Packet analysis {"connection_id":51164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:40:38] local.INFO: Extracted packet for processing {"connection_id":51164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 12:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:40:38] 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-22 12:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:40:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:40:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":51164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:40:38] local.INFO: GPS data processed {"connection_id":51164,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:40:38] local.INFO: Acknowledgment sent {"connection_id":51164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:40:42] local.INFO: TCP Data received {"connection_id":51164,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:40:42] local.INFO: Processing buffer {"connection_id":51164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:40:42] local.INFO: Packet analysis {"connection_id":51164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:40:42] local.INFO: Extracted packet for processing {"connection_id":51164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 12:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:40:42] 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-22 12:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:40:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:40:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":51164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:40:42] local.INFO: GPS data processed {"connection_id":51164,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:40:42] local.INFO: Acknowledgment sent {"connection_id":51164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:41:05] local.INFO: TCP Data received {"connection_id":50619,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:41:05] local.INFO: Processing buffer {"connection_id":50619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:41:05] local.INFO: Packet analysis {"connection_id":50619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:41:05] local.INFO: Extracted packet for processing {"connection_id":50619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:41:05] 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-22 12:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:41:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":50619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:41:05] local.INFO: GPS data processed {"connection_id":50619,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:41:05] local.INFO: Acknowledgment sent {"connection_id":50619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:41:26] local.INFO: TCP Data received {"connection_id":50621,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:41:26] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:41:26] local.INFO: IMEI packet received {"connection_id":50621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":50621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:41:28] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:41:28] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:41:28] local.INFO: IMEI packet received {"connection_id":50620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":50620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:41:32] local.INFO: TCP Data received {"connection_id":50621,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:41:32] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:41:32] local.INFO: IMEI packet received {"connection_id":50621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:41:33] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:41:33] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:41:33] local.INFO: IMEI packet received {"connection_id":50620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":50620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:41:33] local.INFO: TCP Data received {"connection_id":50621,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:41:33] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:41:33] local.INFO: Packet analysis {"connection_id":50621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:41:33] local.INFO: Extracted packet for processing {"connection_id":50621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 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-22 12:41: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-22 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:41:33] 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-22 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-22 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-22 12:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:41:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:41:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":50621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:41:33] local.INFO: GPS data processed {"connection_id":50621,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:41:33] local.INFO: Acknowledgment sent {"connection_id":50621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:41:34] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:41:34] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:41:34] local.INFO: Packet analysis {"connection_id":50620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:41:34] local.INFO: Extracted packet for processing {"connection_id":50620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:41:34] 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-22 12:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:41:34] 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-22 12:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:41:34] 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-22 12:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:41:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":50620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:41:34] local.INFO: GPS data processed {"connection_id":50620,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:41:34] local.INFO: Acknowledgment sent {"connection_id":50620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:42:05] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:42:05] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40337b8012d196d00071feba0003d00fe24..."} 
[2026-04-22 12:42:05] local.INFO: Packet analysis {"connection_id":50620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:42:05] local.INFO: Extracted packet for processing {"connection_id":50620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db403"} 
[2026-04-22 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871373312001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42:05] 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-22 12:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841603000,"timestamp_ms":1776841603000,"timestamp_seconds":1776841603,"priority":1,"record_length":96,"hex_timestamp":"0000019db40337b8"} 
[2026-04-22 12:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871373312001,"66":2166,"19":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 12:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871373312001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:42:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 12:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871373312001,"power":2166,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":50620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:42:05] local.INFO: GPS data processed {"connection_id":50620,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:42:05] local.INFO: Acknowledgment sent {"connection_id":50620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:42:05] local.INFO: TCP Data received {"connection_id":50621,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:42:05] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:42:05] local.INFO: Packet analysis {"connection_id":50621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:42:05] local.INFO: Extracted packet for processing {"connection_id":50621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 12:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12: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-22 12:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:42:05] 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-22 12:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:42:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:42:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":50621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:42:05] local.INFO: GPS data processed {"connection_id":50621,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:42:05] local.INFO: Acknowledgment sent {"connection_id":50621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:42:26] local.INFO: TCP Data received {"connection_id":50495,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:42:26] local.INFO: Processing buffer {"connection_id":50495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:42:26] local.INFO: IMEI packet received {"connection_id":50495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":50495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:42:28] local.INFO: TCP Data received {"connection_id":50232,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:42:28] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:42:28] local.INFO: IMEI packet received {"connection_id":50232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":50232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:42:32] local.INFO: TCP Data received {"connection_id":50495,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:42:32] local.INFO: Processing buffer {"connection_id":50495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:42:32] local.INFO: IMEI packet received {"connection_id":50495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:42:33] local.INFO: TCP Data received {"connection_id":50232,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:42:33] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:42:33] local.INFO: IMEI packet received {"connection_id":50232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":50232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:42:33] local.INFO: TCP Data received {"connection_id":50495,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:42:33] local.INFO: Processing buffer {"connection_id":50495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:42:33] local.INFO: Packet analysis {"connection_id":50495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:42:33] local.INFO: Extracted packet for processing {"connection_id":50495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 12: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-22 12:42: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-22 12: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":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:42:33] 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-22 12: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-22 12: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-22 12:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:42:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:42:33] local.INFO: GPS data processed {"connection_id":50495,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:42:33] local.INFO: Acknowledgment sent {"connection_id":50495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:42:34] local.INFO: TCP Data received {"connection_id":50232,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:42:34] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:42:34] local.INFO: Packet analysis {"connection_id":50232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:42:34] local.INFO: Extracted packet for processing {"connection_id":50232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:42: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-22 12:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:42:34] 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-22 12:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:42:34] 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-22 12:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:42:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":50232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:42:34] local.INFO: GPS data processed {"connection_id":50232,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:42:34] local.INFO: Acknowledgment sent {"connection_id":50232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:43:05] local.INFO: TCP Data received {"connection_id":50495,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:43:05] local.INFO: Processing buffer {"connection_id":50495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:43:05] local.INFO: Packet analysis {"connection_id":50495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:43:05] local.INFO: Extracted packet for processing {"connection_id":50495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 12: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-22 12:43: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-22 12: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":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:43:05] 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-22 12: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-22 12: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-22 12:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:43:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:43:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":50495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:43:05] local.INFO: GPS data processed {"connection_id":50495,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:43:05] local.INFO: Acknowledgment sent {"connection_id":50495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:43:05] local.INFO: TCP Data received {"connection_id":50232,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:43:05] local.INFO: Processing buffer {"connection_id":50232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:43:05] local.INFO: Packet analysis {"connection_id":50232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:43:05] local.INFO: Extracted packet for processing {"connection_id":50232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43: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-22 12:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12: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-22 12:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:43:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":50232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:43:05] local.INFO: GPS data processed {"connection_id":50232,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:43:05] local.INFO: Acknowledgment sent {"connection_id":50232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:43:32] local.INFO: TCP Data received {"connection_id":51165,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:43:32] local.INFO: Processing buffer {"connection_id":51165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:43:32] local.INFO: IMEI packet received {"connection_id":51165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":51165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:43:33] local.INFO: TCP Data received {"connection_id":51166,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:43:33] local.INFO: Processing buffer {"connection_id":51166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:43:33] local.INFO: IMEI packet received {"connection_id":51166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":51166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:43:37] local.INFO: TCP Data received {"connection_id":51165,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:43:37] local.INFO: Processing buffer {"connection_id":51165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:43:37] local.INFO: IMEI packet received {"connection_id":51165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":51165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:43:38] local.INFO: TCP Data received {"connection_id":51165,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:43:38] local.INFO: Processing buffer {"connection_id":51165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:43:38] local.INFO: Packet analysis {"connection_id":51165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:43:38] local.INFO: Extracted packet for processing {"connection_id":51165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43: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-22 12:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 12:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:43:38] 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-22 12:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:43:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:43:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":51165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:43:38] local.INFO: GPS data processed {"connection_id":51165,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:43:38] local.INFO: Acknowledgment sent {"connection_id":51165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:43:38] local.INFO: TCP Data received {"connection_id":51166,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:43:38] local.INFO: Processing buffer {"connection_id":51166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:43:38] local.INFO: IMEI packet received {"connection_id":51166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":51166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:43:39] local.INFO: TCP Data received {"connection_id":51166,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:43:39] local.INFO: Processing buffer {"connection_id":51166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:43:39] local.INFO: Packet analysis {"connection_id":51166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:43:39] local.INFO: Extracted packet for processing {"connection_id":51166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43: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-22 12:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:43:39] 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-22 12:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:43: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-22 12:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:43:39] 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-22 12:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:43:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":51166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:43:39] local.INFO: GPS data processed {"connection_id":51166,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:43:39] local.INFO: Acknowledgment sent {"connection_id":51166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:43:42] local.INFO: TCP Data received {"connection_id":51165,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:43:42] local.INFO: Processing buffer {"connection_id":51165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:43:42] local.INFO: Packet analysis {"connection_id":51165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:43:42] local.INFO: Extracted packet for processing {"connection_id":51165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 12:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:43:42] 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-22 12:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:43:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:43:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":51165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:43:42] local.INFO: GPS data processed {"connection_id":51165,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:43:42] local.INFO: Acknowledgment sent {"connection_id":51165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:43:43] local.INFO: TCP Data received {"connection_id":51166,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:43:43] local.INFO: Processing buffer {"connection_id":51166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:43:43] local.INFO: Packet analysis {"connection_id":51166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:43:43] local.INFO: Extracted packet for processing {"connection_id":51166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:43: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-22 12:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:43:43] 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-22 12:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":51166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":51166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":51166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:43:43] 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-22 12:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:43:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:43:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":51166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:43:43] local.INFO: GPS data processed {"connection_id":51166,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:43:43] local.INFO: Acknowledgment sent {"connection_id":51166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:44:16] local.INFO: TCP Data received {"connection_id":50233,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:44:16] local.INFO: Processing buffer {"connection_id":50233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:44:16] local.INFO: IMEI packet received {"connection_id":50233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":50233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:44:26] local.INFO: TCP Data received {"connection_id":51167,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:44:26] local.INFO: Processing buffer {"connection_id":51167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:44:26] local.INFO: IMEI packet received {"connection_id":51167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":51167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:44:28] local.INFO: TCP Data received {"connection_id":50234,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:44:28] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:44:28] local.INFO: IMEI packet received {"connection_id":50234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":50234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:44:32] local.INFO: TCP Data received {"connection_id":51167,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:44:32] local.INFO: Processing buffer {"connection_id":51167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:44:32] local.INFO: IMEI packet received {"connection_id":51167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":51167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:44:33] local.INFO: TCP Data received {"connection_id":51167,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:44:33] local.INFO: Processing buffer {"connection_id":51167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:44:33] local.INFO: Packet analysis {"connection_id":51167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:44:33] local.INFO: Extracted packet for processing {"connection_id":51167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 12: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-22 12:44: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-22 12: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":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:44:33] 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-22 12: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-22 12: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-22 12:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:44:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:44:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":51167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:44:33] local.INFO: GPS data processed {"connection_id":51167,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:44:33] local.INFO: Acknowledgment sent {"connection_id":51167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:44:33] local.INFO: TCP Data received {"connection_id":50234,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:44:33] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:44:33] local.INFO: IMEI packet received {"connection_id":50234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":50234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:44:34] local.INFO: TCP Data received {"connection_id":50234,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:44:34] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:44:34] local.INFO: Packet analysis {"connection_id":50234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:44:34] local.INFO: Extracted packet for processing {"connection_id":50234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:44: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-22 12:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:44:34] 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-22 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:44:34] 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-22 12:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:44:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":50234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:44:34] local.INFO: GPS data processed {"connection_id":50234,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:44:34] local.INFO: Acknowledgment sent {"connection_id":50234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:44:51] local.INFO: TCP Data received {"connection_id":50497,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:44:51] local.INFO: Processing buffer {"connection_id":50497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:44:51] local.INFO: IMEI packet received {"connection_id":50497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":50497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:45:05] local.INFO: TCP Data received {"connection_id":50234,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:45:05] local.INFO: Processing buffer {"connection_id":50234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:45:05] local.INFO: Packet analysis {"connection_id":50234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:45:05] local.INFO: Extracted packet for processing {"connection_id":50234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45: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-22 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:45:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:45:05] local.INFO: TCP Data received {"connection_id":51167,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:45:05] local.INFO: Processing buffer {"connection_id":51167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db405d3b0012d7f888005afdcc80021012c28..."} 
[2026-04-22 12:45:05] local.INFO: Packet analysis {"connection_id":51167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:45:05] local.INFO: Extracted packet for processing {"connection_id":51167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db405"} 
[2026-04-22 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":33,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871417088001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841774000,"timestamp_ms":1776841774000,"timestamp_seconds":1776841774,"priority":1,"record_length":96,"hex_timestamp":"0000019db405d3b0"} 
[2026-04-22 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12: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-22 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 12:45:05] 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-22 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871417088001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871417088001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:45:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:45:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871417088001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":51167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:45:05] local.INFO: GPS data processed {"connection_id":51167,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:45:05] local.INFO: Acknowledgment sent {"connection_id":51167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":50234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:45:05] local.INFO: GPS data processed {"connection_id":50234,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:45:05] local.INFO: Acknowledgment sent {"connection_id":50234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:45:26] local.INFO: TCP Data received {"connection_id":50235,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:45:26] local.INFO: Processing buffer {"connection_id":50235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:45:26] local.INFO: IMEI packet received {"connection_id":50235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":50235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:45:28] local.INFO: TCP Data received {"connection_id":50236,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:45:28] local.INFO: Processing buffer {"connection_id":50236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:45:28] local.INFO: IMEI packet received {"connection_id":50236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":50236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:45:31] local.INFO: TCP Data received {"connection_id":50235,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:45:31] local.INFO: Processing buffer {"connection_id":50235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:45:31] local.INFO: IMEI packet received {"connection_id":50235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":50235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:45:32] local.INFO: TCP Data received {"connection_id":50235,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:45:32] local.INFO: Processing buffer {"connection_id":50235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:45:32] local.INFO: Packet analysis {"connection_id":50235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:45:32] local.INFO: Extracted packet for processing {"connection_id":50235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 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-22 12:45: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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:45: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-22 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-22 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-22 12:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:45:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":50235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:45:32] local.INFO: GPS data processed {"connection_id":50235,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:45:32] local.INFO: Acknowledgment sent {"connection_id":50235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:45:33] local.INFO: TCP Data received {"connection_id":50236,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:45:33] local.INFO: Processing buffer {"connection_id":50236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:45:33] local.INFO: IMEI packet received {"connection_id":50236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":50236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:45:34] local.INFO: TCP Data received {"connection_id":50236,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:45:34] local.INFO: Processing buffer {"connection_id":50236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:45:34] local.INFO: Packet analysis {"connection_id":50236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:45:34] local.INFO: Extracted packet for processing {"connection_id":50236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:45: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-22 12:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12: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-22 12:45:34] 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-22 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:45:34] 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-22 12:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:45:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":50236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:45:34] local.INFO: GPS data processed {"connection_id":50236,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:45:34] local.INFO: Acknowledgment sent {"connection_id":50236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:46:04] local.INFO: TCP Data received {"connection_id":50235,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:46:04] local.INFO: Processing buffer {"connection_id":50235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:46:04] local.INFO: Packet analysis {"connection_id":50235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:46:04] local.INFO: Extracted packet for processing {"connection_id":50235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 12: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-22 12:46: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:46:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:46:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":50235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:46:04] local.INFO: GPS data processed {"connection_id":50235,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:46:04] local.INFO: Acknowledgment sent {"connection_id":50235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:46:05] local.INFO: TCP Data received {"connection_id":50236,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:46:05] local.INFO: Processing buffer {"connection_id":50236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:46:05] local.INFO: Packet analysis {"connection_id":50236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:46:05] local.INFO: Extracted packet for processing {"connection_id":50236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46: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-22 12:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12: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-22 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:46:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":50236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:46:05] local.INFO: GPS data processed {"connection_id":50236,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:46:05] local.INFO: Acknowledgment sent {"connection_id":50236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:46:27] local.INFO: TCP Data received {"connection_id":50622,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:46:27] local.INFO: Processing buffer {"connection_id":50622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:46:27] local.INFO: IMEI packet received {"connection_id":50622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":50622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:46:27] local.INFO: TCP Data received {"connection_id":51168,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:46:27] local.INFO: Processing buffer {"connection_id":51168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:46:27] local.INFO: IMEI packet received {"connection_id":51168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":51168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:46:32] local.INFO: TCP Data received {"connection_id":50622,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:46:32] local.INFO: Processing buffer {"connection_id":50622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:46:32] local.INFO: IMEI packet received {"connection_id":50622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:46:33] local.INFO: TCP Data received {"connection_id":51168,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:46:33] local.INFO: Processing buffer {"connection_id":51168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:46:33] local.INFO: IMEI packet received {"connection_id":51168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":51168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:46:33] local.INFO: TCP Data received {"connection_id":50622,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:46:33] local.INFO: Processing buffer {"connection_id":50622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:46:33] local.INFO: Packet analysis {"connection_id":50622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:46:33] local.INFO: Extracted packet for processing {"connection_id":50622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 12: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-22 12:46: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-22 12: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:46: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-22 12: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-22 12: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-22 12:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:46:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":50622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":43999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:46:33] local.INFO: GPS data processed {"connection_id":50622,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:46:33] local.INFO: Acknowledgment sent {"connection_id":50622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:46:34] local.INFO: TCP Data received {"connection_id":51168,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:46:34] local.INFO: Processing buffer {"connection_id":51168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:46:34] local.INFO: Packet analysis {"connection_id":51168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:46:34] local.INFO: Extracted packet for processing {"connection_id":51168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:46: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-22 12:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:46:34] 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-22 12:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:46:34] 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-22 12:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:46:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":51168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:46:34] local.INFO: GPS data processed {"connection_id":51168,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:46:34] local.INFO: Acknowledgment sent {"connection_id":51168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:47:04] local.INFO: TCP Data received {"connection_id":50622,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:47:04] local.INFO: Processing buffer {"connection_id":50622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:47:04] local.INFO: Packet analysis {"connection_id":50622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:47:04] local.INFO: Extracted packet for processing {"connection_id":50622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47: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-22 12:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 12: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-22 12:47: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:47:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:47:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":50622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:47:04] local.INFO: GPS data processed {"connection_id":50622,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:47:04] local.INFO: Acknowledgment sent {"connection_id":50622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:47:05] local.INFO: TCP Data received {"connection_id":51168,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:47:05] local.INFO: Processing buffer {"connection_id":51168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db407cf80012d196d00071feba0003d00fe25..."} 
[2026-04-22 12:47:05] local.INFO: Packet analysis {"connection_id":51168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:47:05] local.INFO: Extracted packet for processing {"connection_id":51168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db407"} 
[2026-04-22 12:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871450368001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776841904000,"timestamp_ms":1776841904000,"timestamp_seconds":1776841904,"priority":1,"record_length":96,"hex_timestamp":"0000019db407cf80"} 
[2026-04-22 12: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-22 12:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871450368001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871450368001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:47:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871450368001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":51168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:47:05] local.INFO: GPS data processed {"connection_id":51168,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:47:05] local.INFO: Acknowledgment sent {"connection_id":51168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:47:26] local.INFO: TCP Data received {"connection_id":50238,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:47:26] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:47:26] local.INFO: IMEI packet received {"connection_id":50238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":50238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:47:27] local.INFO: TCP Data received {"connection_id":50239,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:47:27] local.INFO: Processing buffer {"connection_id":50239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:47:27] local.INFO: IMEI packet received {"connection_id":50239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:47:32] local.INFO: TCP Data received {"connection_id":50238,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:47:32] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:47:32] local.INFO: IMEI packet received {"connection_id":50238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:47:33] local.INFO: TCP Data received {"connection_id":50238,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:47:33] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:47:33] local.INFO: Packet analysis {"connection_id":50238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:47:33] local.INFO: Extracted packet for processing {"connection_id":50238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47: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-22 12:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 12: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-22 12:47: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:47: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-22 12: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-22 12: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-22 12:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:47:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:47:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:47:33] local.INFO: GPS data processed {"connection_id":50238,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:47:33] local.INFO: Acknowledgment sent {"connection_id":50238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:47:33] local.INFO: TCP Data received {"connection_id":50239,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:47:33] local.INFO: Processing buffer {"connection_id":50239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:47:33] local.INFO: IMEI packet received {"connection_id":50239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":50239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:47:34] local.INFO: TCP Data received {"connection_id":50239,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:47:34] local.INFO: Processing buffer {"connection_id":50239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:47:34] local.INFO: Packet analysis {"connection_id":50239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:47:34] local.INFO: Extracted packet for processing {"connection_id":50239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:47: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-22 12:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 12: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-22 12:47:34] 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-22 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:47: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-22 12:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:47:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":50239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:47:34] local.INFO: GPS data processed {"connection_id":50239,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:47:34] local.INFO: Acknowledgment sent {"connection_id":50239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:48:04] local.INFO: TCP Data received {"connection_id":50238,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:48:04] local.INFO: Processing buffer {"connection_id":50238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:48:04] local.INFO: Packet analysis {"connection_id":50238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:48:04] local.INFO: Extracted packet for processing {"connection_id":50238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48: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-22 12:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 12: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-22 12:48: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:48:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:48:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":50238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:48:04] local.INFO: GPS data processed {"connection_id":50238,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:48:04] local.INFO: Acknowledgment sent {"connection_id":50238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:48:05] local.INFO: TCP Data received {"connection_id":50239,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:48:05] local.INFO: Processing buffer {"connection_id":50239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:48:05] local.INFO: Packet analysis {"connection_id":50239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:48:05] local.INFO: Extracted packet for processing {"connection_id":50239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 12: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-22 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:48:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":50239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:48:05] local.INFO: GPS data processed {"connection_id":50239,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:48:05] local.INFO: Acknowledgment sent {"connection_id":50239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:48:26] local.INFO: TCP Data received {"connection_id":50624,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:48:26] local.INFO: Processing buffer {"connection_id":50624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:48:26] local.INFO: IMEI packet received {"connection_id":50624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":50624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:48:28] local.INFO: TCP Data received {"connection_id":50499,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:48:28] local.INFO: Processing buffer {"connection_id":50499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:48:28] local.INFO: IMEI packet received {"connection_id":50499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":50499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:48:32] local.INFO: TCP Data received {"connection_id":50624,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:48:32] local.INFO: Processing buffer {"connection_id":50624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:48:32] local.INFO: IMEI packet received {"connection_id":50624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:48:33] local.INFO: TCP Data received {"connection_id":50499,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:48:33] local.INFO: Processing buffer {"connection_id":50499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:48:33] local.INFO: IMEI packet received {"connection_id":50499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":50499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:48:33] local.INFO: TCP Data received {"connection_id":50624,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:48:33] local.INFO: Processing buffer {"connection_id":50624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:48:33] local.INFO: Packet analysis {"connection_id":50624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:48:33] local.INFO: Extracted packet for processing {"connection_id":50624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48: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-22 12:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 12: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-22 12:48: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:48: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-22 12: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-22 12: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-22 12:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:48:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:48:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":50624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:48:33] local.INFO: GPS data processed {"connection_id":50624,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:48:33] local.INFO: Acknowledgment sent {"connection_id":50624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:48:34] local.INFO: TCP Data received {"connection_id":50499,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:48:34] local.INFO: Processing buffer {"connection_id":50499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:48:34] local.INFO: Packet analysis {"connection_id":50499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:48:34] local.INFO: Extracted packet for processing {"connection_id":50499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:48: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-22 12:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 12: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-22 12:48:34] 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-22 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:48: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-22 12:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:48:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":50499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:48:34] local.INFO: GPS data processed {"connection_id":50499,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:48:34] local.INFO: Acknowledgment sent {"connection_id":50499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:49:04] local.INFO: TCP Data received {"connection_id":50624,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:49:04] local.INFO: Processing buffer {"connection_id":50624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:49:04] local.INFO: Packet analysis {"connection_id":50624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:49:04] local.INFO: Extracted packet for processing {"connection_id":50624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49: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-22 12:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 12: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-22 12:49: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-22 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:49:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:49:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":50624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:49:04] local.INFO: GPS data processed {"connection_id":50624,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:49:04] local.INFO: Acknowledgment sent {"connection_id":50624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:49:05] local.INFO: TCP Data received {"connection_id":50499,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:49:05] local.INFO: Processing buffer {"connection_id":50499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:49:05] local.INFO: Packet analysis {"connection_id":50499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:49:05] local.INFO: Extracted packet for processing {"connection_id":50499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49: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-22 12:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 12: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-22 12:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:49:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":50499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:49:05] local.INFO: GPS data processed {"connection_id":50499,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:49:05] local.INFO: Acknowledgment sent {"connection_id":50499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:49:28] local.INFO: TCP Data received {"connection_id":50500,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:49:28] local.INFO: Processing buffer {"connection_id":50500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:49:28] local.INFO: IMEI packet received {"connection_id":50500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":50500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:49:32] local.INFO: TCP Data received {"connection_id":50240,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:49:32] local.INFO: Processing buffer {"connection_id":50240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:49:32] local.INFO: IMEI packet received {"connection_id":50240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:49:33] local.INFO: TCP Data received {"connection_id":50500,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:49:33] local.INFO: Processing buffer {"connection_id":50500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:49:33] local.INFO: IMEI packet received {"connection_id":50500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":50500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:49:34] local.INFO: TCP Data received {"connection_id":50500,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:49:34] local.INFO: Processing buffer {"connection_id":50500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:49:34] local.INFO: Packet analysis {"connection_id":50500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:49:34] local.INFO: Extracted packet for processing {"connection_id":50500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49: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-22 12:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 12:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:49:34] 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-22 12:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:49: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-22 12:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:49:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":50500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:49:34] local.INFO: GPS data processed {"connection_id":50500,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:49:34] local.INFO: Acknowledgment sent {"connection_id":50500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:49:37] local.INFO: TCP Data received {"connection_id":50240,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:49:37] local.INFO: Processing buffer {"connection_id":50240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:49:37] local.INFO: IMEI packet received {"connection_id":50240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":50240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:49:38] local.INFO: TCP Data received {"connection_id":50240,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:49:38] local.INFO: Processing buffer {"connection_id":50240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:49:38] local.INFO: Packet analysis {"connection_id":50240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:49:38] local.INFO: Extracted packet for processing {"connection_id":50240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49: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-22 12:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 12:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:49: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-22 12:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:49:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:49:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":50240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:49:38] local.INFO: GPS data processed {"connection_id":50240,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:49:38] local.INFO: Acknowledgment sent {"connection_id":50240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:49:42] local.INFO: TCP Data received {"connection_id":50240,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:49:42] local.INFO: Processing buffer {"connection_id":50240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40a6b78012d7f888005afdcc80029012c28..."} 
[2026-04-22 12:49:42] local.INFO: Packet analysis {"connection_id":50240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:49:42] local.INFO: Extracted packet for processing {"connection_id":50240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40a"} 
[2026-04-22 12:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":41,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871494144001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776842075000,"timestamp_ms":1776842075000,"timestamp_seconds":1776842075,"priority":1,"record_length":96,"hex_timestamp":"0000019db40a6b78"} 
[2026-04-22 12:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 12:49:42] 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-22 12:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871494144001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871494144001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:49:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:49:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871494144001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":50240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:49:42] local.INFO: GPS data processed {"connection_id":50240,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:49:42] local.INFO: Acknowledgment sent {"connection_id":50240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:50:05] local.INFO: TCP Data received {"connection_id":50500,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:50:05] local.INFO: Processing buffer {"connection_id":50500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:50:05] local.INFO: Packet analysis {"connection_id":50500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:50:05] local.INFO: Extracted packet for processing {"connection_id":50500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 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-22 12:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:50: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-22 12:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 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-22 12:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 12:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:50:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":50500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:50:05] local.INFO: GPS data processed {"connection_id":50500,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:50:05] local.INFO: Acknowledgment sent {"connection_id":50500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:50:16] local.INFO: TCP Data received {"connection_id":50625,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:50:16] local.INFO: Processing buffer {"connection_id":50625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:50:16] local.INFO: IMEI packet received {"connection_id":50625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":50625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:50:27] local.INFO: TCP Data received {"connection_id":51170,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:50:27] local.INFO: Processing buffer {"connection_id":51170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:50:27] local.INFO: IMEI packet received {"connection_id":51170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":51170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:50:28] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:50:28] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:50:28] local.INFO: IMEI packet received {"connection_id":50626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":50626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:50:31] local.INFO: TCP Data received {"connection_id":51170,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:50:31] local.INFO: Processing buffer {"connection_id":51170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:50:31] local.INFO: IMEI packet received {"connection_id":51170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":51170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:50:32] local.INFO: TCP Data received {"connection_id":51170,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:50:32] local.INFO: Processing buffer {"connection_id":51170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:50:32] local.INFO: Packet analysis {"connection_id":51170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:50:32] local.INFO: Extracted packet for processing {"connection_id":51170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 12:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12: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-22 12:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:50: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-22 12:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:50:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":51170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:50:32] local.INFO: GPS data processed {"connection_id":51170,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:50:32] local.INFO: Acknowledgment sent {"connection_id":51170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:50:33] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:50:33] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:50:33] local.INFO: IMEI packet received {"connection_id":50626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":50626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:50:34] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:50:34] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:50:34] local.INFO: Packet analysis {"connection_id":50626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:50:34] local.INFO: Extracted packet for processing {"connection_id":50626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:50: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-22 12:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 12:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:50:34] 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-22 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:50: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-22 12:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:50:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":50626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:50:34] local.INFO: GPS data processed {"connection_id":50626,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:50:34] local.INFO: Acknowledgment sent {"connection_id":50626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:50:51] local.INFO: TCP Data received {"connection_id":50501,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:50:51] local.INFO: Processing buffer {"connection_id":50501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:50:51] local.INFO: IMEI packet received {"connection_id":50501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":50501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:51:04] local.INFO: TCP Data received {"connection_id":51170,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:51:04] local.INFO: Processing buffer {"connection_id":51170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:51:04] local.INFO: Packet analysis {"connection_id":51170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:51:04] local.INFO: Extracted packet for processing {"connection_id":51170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 12:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12: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-22 12:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:51:04] 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-22 12:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:51:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:51:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":51170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:51:04] local.INFO: GPS data processed {"connection_id":51170,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:51:04] local.INFO: Acknowledgment sent {"connection_id":51170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:51:06] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:51:06] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:51:06] local.INFO: Packet analysis {"connection_id":50626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:51:06] local.INFO: Extracted packet for processing {"connection_id":50626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 12:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:51:06] 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-22 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:51:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":50626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:51:06] local.INFO: GPS data processed {"connection_id":50626,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:51:06] local.INFO: Acknowledgment sent {"connection_id":50626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:51:26] local.INFO: TCP Data received {"connection_id":50241,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:51:26] local.INFO: Processing buffer {"connection_id":50241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:51:26] local.INFO: IMEI packet received {"connection_id":50241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":50241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:51:27] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:51:27] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:51:27] local.INFO: IMEI packet received {"connection_id":50242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":50242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:51:32] local.INFO: TCP Data received {"connection_id":50241,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:51:32] local.INFO: Processing buffer {"connection_id":50241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:51:32] local.INFO: IMEI packet received {"connection_id":50241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:51:33] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:51:33] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:51:33] local.INFO: IMEI packet received {"connection_id":50242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":50242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:51:33] local.INFO: TCP Data received {"connection_id":50241,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:51:33] local.INFO: Processing buffer {"connection_id":50241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:51:33] local.INFO: Packet analysis {"connection_id":50241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:51:33] local.INFO: Extracted packet for processing {"connection_id":50241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 12: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-22 12:51: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-22 12: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":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:51:33] 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-22 12: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-22 12: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-22 12:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:51:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:51:33] local.INFO: GPS data processed {"connection_id":50241,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:51:33] local.INFO: Acknowledgment sent {"connection_id":50241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:51:34] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:51:34] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:51:34] local.INFO: Packet analysis {"connection_id":50242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:51:34] local.INFO: Extracted packet for processing {"connection_id":50242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:51: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-22 12:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 12: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-22 12:51:34] 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-22 12:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:51: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-22 12:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:51:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":50242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:51:34] local.INFO: GPS data processed {"connection_id":50242,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:51:34] local.INFO: Acknowledgment sent {"connection_id":50242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:52:05] local.INFO: TCP Data received {"connection_id":50241,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:52:05] local.INFO: Processing buffer {"connection_id":50241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:52:05] local.INFO: Packet analysis {"connection_id":50241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:52:05] local.INFO: Extracted packet for processing {"connection_id":50241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 12: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-22 12:52: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:52: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-22 12: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-22 12: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-22 12:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:52:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:52:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":50241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:52:05] local.INFO: GPS data processed {"connection_id":50241,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:52:05] local.INFO: Acknowledgment sent {"connection_id":50241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:52:05] local.INFO: TCP Data received {"connection_id":50242,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:52:05] local.INFO: Processing buffer {"connection_id":50242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40c6748012d196d00071feba0003d00fe27..."} 
[2026-04-22 12:52:05] local.INFO: Packet analysis {"connection_id":50242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:52:05] local.INFO: Extracted packet for processing {"connection_id":50242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40c"} 
[2026-04-22 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871527424001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52: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-22 12:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842205000,"timestamp_ms":1776842205000,"timestamp_seconds":1776842205,"priority":1,"record_length":96,"hex_timestamp":"0000019db40c6748"} 
[2026-04-22 12: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-22 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871527424001,"66":2177,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"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-22 12:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871527424001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:52:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871527424001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":50242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:52:05] local.INFO: GPS data processed {"connection_id":50242,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:52:05] local.INFO: Acknowledgment sent {"connection_id":50242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:52:27] local.INFO: TCP Data received {"connection_id":50627,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:52:27] local.INFO: Processing buffer {"connection_id":50627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:52:27] local.INFO: IMEI packet received {"connection_id":50627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":50627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:52:32] local.INFO: TCP Data received {"connection_id":50502,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:52:32] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:52:32] local.INFO: IMEI packet received {"connection_id":50502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":50502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:52:33] local.INFO: TCP Data received {"connection_id":50627,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:52:33] local.INFO: Processing buffer {"connection_id":50627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:52:33] local.INFO: IMEI packet received {"connection_id":50627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":50627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:52:33] local.INFO: TCP Data received {"connection_id":50627,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:52:33] local.INFO: Processing buffer {"connection_id":50627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:52:33] local.INFO: Packet analysis {"connection_id":50627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:52:33] local.INFO: Extracted packet for processing {"connection_id":50627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52: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-22 12:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 12: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-22 12:52:33] 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-22 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:52:33] 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-22 12: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-22 12: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-22 12:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:52:33] 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-22 12:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:52:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":50627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:52:33] local.INFO: GPS data processed {"connection_id":50627,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:52:33] local.INFO: Acknowledgment sent {"connection_id":50627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:52:37] local.INFO: TCP Data received {"connection_id":50502,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:52:37] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:52:37] local.INFO: IMEI packet received {"connection_id":50502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":50502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:52:38] local.INFO: TCP Data received {"connection_id":50502,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:52:38] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:52:38] local.INFO: Packet analysis {"connection_id":50502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:52:38] local.INFO: Extracted packet for processing {"connection_id":50502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52: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-22 12:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 12:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:52: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-22 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:52: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-22 12:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:52:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:52:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":50502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:52:38] local.INFO: GPS data processed {"connection_id":50502,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:52:38] local.INFO: Acknowledgment sent {"connection_id":50502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:52:42] local.INFO: TCP Data received {"connection_id":50502,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:52:42] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:52:42] local.INFO: Packet analysis {"connection_id":50502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:52:42] local.INFO: Extracted packet for processing {"connection_id":50502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 12:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:52:42] 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-22 12:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:52:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:52:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":50502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:52:42] local.INFO: GPS data processed {"connection_id":50502,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:52:42] local.INFO: Acknowledgment sent {"connection_id":50502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:53:05] local.INFO: TCP Data received {"connection_id":50627,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:53:05] local.INFO: Processing buffer {"connection_id":50627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:53:05] local.INFO: Packet analysis {"connection_id":50627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:53:05] local.INFO: Extracted packet for processing {"connection_id":50627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:53: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-22 12:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 12: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-22 12:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:53:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":50627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:53:05] local.INFO: GPS data processed {"connection_id":50627,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:53:05] local.INFO: Acknowledgment sent {"connection_id":50627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:53:27] local.INFO: TCP Data received {"connection_id":51173,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:53:27] local.INFO: Processing buffer {"connection_id":51173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:53:27] local.INFO: IMEI packet received {"connection_id":51173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":51173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:53:28] local.INFO: TCP Data received {"connection_id":51174,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:53:28] local.INFO: Processing buffer {"connection_id":51174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:53:28] local.INFO: IMEI packet received {"connection_id":51174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":51174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:53:32] local.INFO: TCP Data received {"connection_id":51173,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:53:32] local.INFO: Processing buffer {"connection_id":51173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:53:32] local.INFO: IMEI packet received {"connection_id":51173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":51173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:53:33] local.INFO: TCP Data received {"connection_id":51174,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:53:33] local.INFO: Processing buffer {"connection_id":51174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:53:33] local.INFO: IMEI packet received {"connection_id":51174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":51174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:53:33] local.INFO: TCP Data received {"connection_id":51173,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:53:33] local.INFO: Processing buffer {"connection_id":51173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:53:33] local.INFO: Packet analysis {"connection_id":51173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:53:33] local.INFO: Extracted packet for processing {"connection_id":51173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 12: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-22 12: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:53:33] 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-22 12: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-22 12: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-22 12:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:53:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":51173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:53:33] local.INFO: GPS data processed {"connection_id":51173,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:53:33] local.INFO: Acknowledgment sent {"connection_id":51173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:53:33] local.INFO: TCP Data received {"connection_id":51174,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:53:34] local.INFO: Processing buffer {"connection_id":51174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:53:34] local.INFO: Packet analysis {"connection_id":51174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:53:34] local.INFO: Extracted packet for processing {"connection_id":51174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:53: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-22 12:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 12: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-22 12:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:53:34] 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-22 12:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:53:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":51174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:53:34] local.INFO: GPS data processed {"connection_id":51174,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:53:34] local.INFO: Acknowledgment sent {"connection_id":51174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:54:05] local.INFO: TCP Data received {"connection_id":51174,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:54:05] local.INFO: Processing buffer {"connection_id":51174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:54:05] local.INFO: Packet analysis {"connection_id":51174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:54:05] local.INFO: Extracted packet for processing {"connection_id":51174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 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-22 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54: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-22 12:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 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-22 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 12:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:54:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":51174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:54:05] local.INFO: GPS data processed {"connection_id":51174,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:54:05] local.INFO: Acknowledgment sent {"connection_id":51174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:54:05] local.INFO: TCP Data received {"connection_id":51173,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:54:05] local.INFO: Processing buffer {"connection_id":51173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:54:05] local.INFO: Packet analysis {"connection_id":51173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:54:05] local.INFO: Extracted packet for processing {"connection_id":51173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:54: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-22 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-22 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-22 12:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:54:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":51173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:54:05] local.INFO: GPS data processed {"connection_id":51173,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:54:05] local.INFO: Acknowledgment sent {"connection_id":51173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:54:26] local.INFO: TCP Data received {"connection_id":50244,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:54:26] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:54:26] local.INFO: IMEI packet received {"connection_id":50244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":50244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:54:28] local.INFO: TCP Data received {"connection_id":50629,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:54:28] local.INFO: Processing buffer {"connection_id":50629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:54:28] local.INFO: IMEI packet received {"connection_id":50629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":50629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:54:32] local.INFO: TCP Data received {"connection_id":50244,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:54:32] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:54:32] local.INFO: IMEI packet received {"connection_id":50244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:54:33] local.INFO: TCP Data received {"connection_id":50244,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:54:33] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:54:33] local.INFO: Packet analysis {"connection_id":50244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:54:33] local.INFO: Extracted packet for processing {"connection_id":50244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54: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-22 12:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 12: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-22 12:54: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:54:33] 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-22 12: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-22 12: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-22 12:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:54:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:54:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":50244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:54:33] local.INFO: GPS data processed {"connection_id":50244,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:54:33] local.INFO: Acknowledgment sent {"connection_id":50244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:54:33] local.INFO: TCP Data received {"connection_id":50629,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:54:33] local.INFO: Processing buffer {"connection_id":50629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:54:33] local.INFO: IMEI packet received {"connection_id":50629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":50629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:54:33] local.INFO: TCP Data received {"connection_id":50629,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:54:34] local.INFO: Processing buffer {"connection_id":50629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:54:34] local.INFO: Packet analysis {"connection_id":50629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:54:34] local.INFO: Extracted packet for processing {"connection_id":50629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:54: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-22 12:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 12:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:54:34] 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-22 12:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:54:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":50629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:54:34] local.INFO: GPS data processed {"connection_id":50629,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:54:34] local.INFO: Acknowledgment sent {"connection_id":50629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:55:05] local.INFO: TCP Data received {"connection_id":50244,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:55:05] local.INFO: Processing buffer {"connection_id":50244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db40f0340012d7f888005afdcc8001d012c28..."} 
[2026-04-22 12:55:05] local.INFO: Packet analysis {"connection_id":50244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:55:05] local.INFO: Extracted packet for processing {"connection_id":50244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db40f"} 
[2026-04-22 12:55:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":29,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871571200001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55: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-22 12:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842376000,"timestamp_ms":1776842376000,"timestamp_seconds":1776842376,"priority":1,"record_length":96,"hex_timestamp":"0000019db40f0340"} 
[2026-04-22 12: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-22 12:55: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:55: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-22 12: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-22 12: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-22 12:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871571200001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871571200001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871571200001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":50244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:55:05] local.INFO: GPS data processed {"connection_id":50244,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:55:05] local.INFO: Acknowledgment sent {"connection_id":50244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:55:05] local.INFO: TCP Data received {"connection_id":50629,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:55:05] local.INFO: Processing buffer {"connection_id":50629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:55:05] local.INFO: Packet analysis {"connection_id":50629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:55:05] local.INFO: Extracted packet for processing {"connection_id":50629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55: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-22 12:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 12: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-22 12:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":50629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:55:05] local.INFO: GPS data processed {"connection_id":50629,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:55:05] local.INFO: Acknowledgment sent {"connection_id":50629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:55:26] local.INFO: TCP Data received {"connection_id":51175,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:55:26] local.INFO: Processing buffer {"connection_id":51175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:55:26] local.INFO: IMEI packet received {"connection_id":51175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":51175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:55:29] local.INFO: TCP Data received {"connection_id":50503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:55:29] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:55:29] local.INFO: IMEI packet received {"connection_id":50503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":50503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:55:31] local.INFO: TCP Data received {"connection_id":51175,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:55:31] local.INFO: Processing buffer {"connection_id":51175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:55:31] local.INFO: IMEI packet received {"connection_id":51175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":51175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:55:33] local.INFO: TCP Data received {"connection_id":51175,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:55:33] local.INFO: Processing buffer {"connection_id":51175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:55:33] local.INFO: Packet analysis {"connection_id":51175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:55:33] local.INFO: Extracted packet for processing {"connection_id":51175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 12: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-22 12:55: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:55:33] 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-22 12: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-22 12: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-22 12:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:55:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:55:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":51175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:55:33] local.INFO: GPS data processed {"connection_id":51175,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:55:33] local.INFO: Acknowledgment sent {"connection_id":51175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:55:33] local.INFO: TCP Data received {"connection_id":50503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:55:33] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:55:33] local.INFO: IMEI packet received {"connection_id":50503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":50503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:55:34] local.INFO: TCP Data received {"connection_id":50503,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:55:34] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:55:34] local.INFO: Packet analysis {"connection_id":50503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:55:34] local.INFO: Extracted packet for processing {"connection_id":50503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:55: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-22 12:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 12: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-22 12:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:55:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":50503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:55:34] local.INFO: GPS data processed {"connection_id":50503,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:55:34] local.INFO: Acknowledgment sent {"connection_id":50503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:56:04] local.INFO: TCP Data received {"connection_id":51175,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:56:04] local.INFO: Processing buffer {"connection_id":51175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:56:04] local.INFO: Packet analysis {"connection_id":51175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:56:04] local.INFO: Extracted packet for processing {"connection_id":51175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 12: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-22 12:56: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:56:04] 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-22 12: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-22 12: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-22 12:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:56:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:56:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":51175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:56:04] local.INFO: GPS data processed {"connection_id":51175,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:56:04] local.INFO: Acknowledgment sent {"connection_id":51175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:56:05] local.INFO: TCP Data received {"connection_id":50503,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:56:05] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:56:05] local.INFO: Packet analysis {"connection_id":50503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:56:05] local.INFO: Extracted packet for processing {"connection_id":50503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56: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-22 12:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 12: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-22 12:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:56:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":50503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:56:05] local.INFO: GPS data processed {"connection_id":50503,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:56:05] local.INFO: Acknowledgment sent {"connection_id":50503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:56:11] local.INFO: TCP Data received {"connection_id":51176,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:56:11] local.INFO: Processing buffer {"connection_id":51176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:56:11] local.INFO: IMEI packet received {"connection_id":51176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":51176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:56:26] local.INFO: TCP Data received {"connection_id":50504,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:56:26] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:56:26] local.INFO: IMEI packet received {"connection_id":50504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":50504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:56:27] local.INFO: TCP Data received {"connection_id":51177,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:56:27] local.INFO: Processing buffer {"connection_id":51177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:56:27] local.INFO: IMEI packet received {"connection_id":51177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":51177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:56:32] local.INFO: TCP Data received {"connection_id":50504,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:56:32] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:56:32] local.INFO: IMEI packet received {"connection_id":50504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:56:33] local.INFO: TCP Data received {"connection_id":50504,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:56:33] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:56:33] local.INFO: Packet analysis {"connection_id":50504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:56:33] local.INFO: Extracted packet for processing {"connection_id":50504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 12: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-22 12:56: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-22 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:56:33] 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-22 12: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-22 12: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-22 12:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:56:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:56:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":50504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:56:33] local.INFO: GPS data processed {"connection_id":50504,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:56:33] local.INFO: Acknowledgment sent {"connection_id":50504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:56:33] local.INFO: TCP Data received {"connection_id":51177,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:56:33] local.INFO: Processing buffer {"connection_id":51177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:56:33] local.INFO: IMEI packet received {"connection_id":51177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":51177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:56:34] local.INFO: TCP Data received {"connection_id":51177,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:56:34] local.INFO: Processing buffer {"connection_id":51177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:56:34] local.INFO: Packet analysis {"connection_id":51177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:56:34] local.INFO: Extracted packet for processing {"connection_id":51177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:56: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-22 12:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 12: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-22 12:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:56:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":51177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:56:34] local.INFO: GPS data processed {"connection_id":51177,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:56:34] local.INFO: Acknowledgment sent {"connection_id":51177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:56:51] local.INFO: TCP Data received {"connection_id":51178,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:56:51] local.INFO: Processing buffer {"connection_id":51178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 12:56:51] local.INFO: IMEI packet received {"connection_id":51178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 12:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":51178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:57:04] local.INFO: TCP Data received {"connection_id":50504,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:57:04] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:57:04] local.INFO: Packet analysis {"connection_id":50504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:57:04] local.INFO: Extracted packet for processing {"connection_id":50504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57: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-22 12:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 12:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:57: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-22 12:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:57:04] 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-22 12:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:57:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:57:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":50504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:57:04] local.INFO: GPS data processed {"connection_id":50504,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:57:04] local.INFO: Acknowledgment sent {"connection_id":50504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:57:05] local.INFO: TCP Data received {"connection_id":51177,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:57:05] local.INFO: Processing buffer {"connection_id":51177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db410ff10012d196d00071feba0003d00fe26..."} 
[2026-04-22 12:57:05] local.INFO: Packet analysis {"connection_id":51177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:57:05] local.INFO: Extracted packet for processing {"connection_id":51177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db410"} 
[2026-04-22 12:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 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-22 12:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871604480001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57: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-22 12:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842506000,"timestamp_ms":1776842506000,"timestamp_seconds":1776842506,"priority":1,"record_length":96,"hex_timestamp":"0000019db410ff10"} 
[2026-04-22 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-22 12:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 12:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 12:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871604480001,"66":2155,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871604480001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:57:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871604480001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":51177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:57:05] local.INFO: GPS data processed {"connection_id":51177,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:57:05] local.INFO: Acknowledgment sent {"connection_id":51177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:57:26] local.INFO: TCP Data received {"connection_id":51179,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:57:26] local.INFO: Processing buffer {"connection_id":51179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:57:26] local.INFO: IMEI packet received {"connection_id":51179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":51179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:57:32] local.INFO: TCP Data received {"connection_id":51179,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:57:32] local.INFO: Processing buffer {"connection_id":51179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:57:32] local.INFO: IMEI packet received {"connection_id":51179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":51179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:57:33] local.INFO: TCP Data received {"connection_id":51179,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:57:33] local.INFO: Processing buffer {"connection_id":51179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:57:33] local.INFO: Packet analysis {"connection_id":51179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:57:33] local.INFO: Extracted packet for processing {"connection_id":51179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57: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-22 12:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 12:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:57: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-22 12:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:57:33] 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-22 12:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:57:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:57:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":51179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:57:33] local.INFO: GPS data processed {"connection_id":51179,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:57:33] local.INFO: Acknowledgment sent {"connection_id":51179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:57:35] local.INFO: TCP Data received {"connection_id":51180,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:57:36] local.INFO: Processing buffer {"connection_id":51180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:57:36] local.INFO: IMEI packet received {"connection_id":51180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":51180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:57:36] local.INFO: TCP Data received {"connection_id":51180,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:57:36] local.INFO: Processing buffer {"connection_id":51180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:57:36] local.INFO: IMEI packet received {"connection_id":51180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":51180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:57:37] local.INFO: TCP Data received {"connection_id":51180,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4155c40012d196d00071feba0003d00fe28..."} 
[2026-04-22 12:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4155c40012d196d00071feba0003d00fe28..."} 
[2026-04-22 12:57:37] local.INFO: Processing buffer {"connection_id":51180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4155c40012d196d00071feba0003d00fe28..."} 
[2026-04-22 12:57:37] local.INFO: Packet analysis {"connection_id":51180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db415"} 
[2026-04-22 12:57:37] local.INFO: Extracted packet for processing {"connection_id":51180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db415"} 
[2026-04-22 12:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:57:37] 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-22 12:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871681536001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776842792000,"timestamp_ms":1776842792000,"timestamp_seconds":1776842792,"priority":1,"record_length":96,"hex_timestamp":"0000019db4155c40"} 
[2026-04-22 12:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:57:37] 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-22 12:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 12:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:57:37] 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-22 12:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871681536001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871681536001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:57:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871681536001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":51180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:57:37] local.INFO: GPS data processed {"connection_id":51180,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:57:37] local.INFO: Acknowledgment sent {"connection_id":51180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:57:38] local.INFO: TCP Data received {"connection_id":51180,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4155c40012d196d00071feba0003d00fe28..."} 
[2026-04-22 12:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4155c40012d196d00071feba0003d00fe28..."} 
[2026-04-22 12:57:38] local.INFO: Processing buffer {"connection_id":51180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4155c40012d196d00071feba0003d00fe28..."} 
[2026-04-22 12:57:38] local.INFO: Packet analysis {"connection_id":51180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db415"} 
[2026-04-22 12:57:38] local.INFO: Extracted packet for processing {"connection_id":51180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db415"} 
[2026-04-22 12:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871754752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:57: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-22 12:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776842792000,"timestamp_ms":1776842792000,"timestamp_seconds":1776842792,"priority":1,"record_length":96,"hex_timestamp":"0000019db4155c40"} 
[2026-04-22 12: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-22 12:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:57: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-22 12: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-22 12: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-22 12:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:57:38] 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-22 12:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871754752001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871754752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:57:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871754752001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":51180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:57:38] local.INFO: GPS data processed {"connection_id":51180,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:57:38] local.INFO: Acknowledgment sent {"connection_id":51180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:58:05] local.INFO: TCP Data received {"connection_id":51179,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:58:05] local.INFO: Processing buffer {"connection_id":51179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:58:05] local.INFO: Packet analysis {"connection_id":51179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:58:05] local.INFO: Extracted packet for processing {"connection_id":51179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12: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-22 12:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 12: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-22 12:58: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-22 12: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":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:58: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-22 12: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-22 12: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-22 12:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:58:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:58:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":51179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:58:05] local.INFO: GPS data processed {"connection_id":51179,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:58:05] local.INFO: Acknowledgment sent {"connection_id":51179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:58:09] local.INFO: TCP Data received {"connection_id":51180,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4155c40012d196d00071feba0003d00fe28..."} 
[2026-04-22 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4155c40012d196d00071feba0003d00fe28..."} 
[2026-04-22 12:58:09] local.INFO: Processing buffer {"connection_id":51180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4155c40012d196d00071feba0003d00fe28..."} 
[2026-04-22 12:58:09] local.INFO: Packet analysis {"connection_id":51180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db415"} 
[2026-04-22 12:58:09] local.INFO: Extracted packet for processing {"connection_id":51180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db415"} 
[2026-04-22 12:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119532448,"longitude_deg":75.6641024,"latitude_deg":11.9532448,"altitude":61,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d196d00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-04-22 12:58: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-22 12:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871754752001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113861807810019328,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654009966592,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776842792000,"timestamp_ms":1776842792000,"timestamp_seconds":1776842792,"priority":1,"record_length":96,"hex_timestamp":"0000019db4155c40"} 
[2026-04-22 12:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 12:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12:58: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-22 12:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:58:09] 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-22 12:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871754752001,"66":2166,"106":206,"83":41984,"24":0,"16":113861807810019328,"45":1832120654009966592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871754752001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:58:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:58:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113861807810019328,"km_value":113861807810019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654009966592,"description":"Unknown IO ID 45"} 
[2026-04-22 12:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871754752001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832120654009966592}} 
[2026-04-22 12:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":51180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:58:09] local.INFO: GPS data processed {"connection_id":51180,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:58:09] local.INFO: Acknowledgment sent {"connection_id":51180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:58:26] local.INFO: TCP Data received {"connection_id":50630,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:58:26] local.INFO: Processing buffer {"connection_id":50630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:58:26] local.INFO: IMEI packet received {"connection_id":50630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":50630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:58:28] local.INFO: TCP Data received {"connection_id":50630,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:58:28] local.INFO: Processing buffer {"connection_id":50630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:58:28] local.INFO: IMEI packet received {"connection_id":50630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":50630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:58:32] local.INFO: TCP Data received {"connection_id":50505,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:58:32] local.INFO: Processing buffer {"connection_id":50505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:58:32] local.INFO: IMEI packet received {"connection_id":50505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:58:33] local.INFO: TCP Data received {"connection_id":50630,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:58:33] local.INFO: Processing buffer {"connection_id":50630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:58:33] local.INFO: IMEI packet received {"connection_id":50630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":50630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:58:33] local.INFO: TCP Data received {"connection_id":50630,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4167198012d197e40071fecc0003d003b26..."} 
[2026-04-22 12:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4167198012d197e40071fecc0003d003b26..."} 
[2026-04-22 12:58:34] local.INFO: Processing buffer {"connection_id":50630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4167198012d197e40071fecc0003d003b26..."} 
[2026-04-22 12:58:34] local.INFO: Packet analysis {"connection_id":50630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db416"} 
[2026-04-22 12:58:34] local.INFO: Extracted packet for processing {"connection_id":50630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db416"} 
[2026-04-22 12:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119532736,"longitude_deg":75.664544,"latitude_deg":11.9532736,"altitude":61,"angle":59,"satellites":38,"speed":22,"hex_longitude":"2d197e40","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 12: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-22 12:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871772672001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113862134227533824,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836483516148989952,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58: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-22 12:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842863000,"timestamp_ms":1776842863000,"timestamp_seconds":1776842863,"priority":1,"record_length":96,"hex_timestamp":"0000019db4167198"} 
[2026-04-22 12: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-22 12:58:34] 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-22 12: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 12:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 12: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-22 12: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-22 12:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:58:34] 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-22 12:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871772672001,"66":14233,"106":206,"83":41984,"24":22,"16":113862134227533824,"45":1836483516148989952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871772672001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:58:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113862134227533824,"km_value":113862134227533.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836483516148989952,"description":"Unknown IO ID 45"} 
[2026-04-22 12:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871772672001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1836483516148989952}} 
[2026-04-22 12:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":50630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:58:34] local.INFO: GPS data processed {"connection_id":50630,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:58:34] local.INFO: Acknowledgment sent {"connection_id":50630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:58:37] local.INFO: TCP Data received {"connection_id":50505,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:58:37] local.INFO: Processing buffer {"connection_id":50505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:58:37] local.INFO: IMEI packet received {"connection_id":50505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":50505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:58:38] local.INFO: TCP Data received {"connection_id":50505,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:58:38] local.INFO: Processing buffer {"connection_id":50505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:58:38] local.INFO: Packet analysis {"connection_id":50505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:58:38] local.INFO: Extracted packet for processing {"connection_id":50505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58: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-22 12:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 12:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:58: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-22 12:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:58:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:58:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":50505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:58:38] local.INFO: GPS data processed {"connection_id":50505,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:58:38] local.INFO: Acknowledgment sent {"connection_id":50505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:58:42] local.INFO: TCP Data received {"connection_id":50505,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:58:42] local.INFO: Processing buffer {"connection_id":50505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:58:42] local.INFO: Packet analysis {"connection_id":50505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:58:42] local.INFO: Extracted packet for processing {"connection_id":50505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 12:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 12:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 12:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 12:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 12:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:58:42] 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-22 12:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:58:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:58:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":50505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:58:42] local.INFO: GPS data processed {"connection_id":50505,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:58:42] local.INFO: Acknowledgment sent {"connection_id":50505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:59:04] local.INFO: TCP Data received {"connection_id":50630,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4170220012d19d680071ffe58002e002d23..."} 
[2026-04-22 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4170220012d19d680071ffe58002e002d23..."} 
[2026-04-22 12:59:04] local.INFO: Processing buffer {"connection_id":50630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4170220012d19d680071ffe58002e002d23..."} 
[2026-04-22 12:59:04] local.INFO: Packet analysis {"connection_id":50630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 12:59:04] local.INFO: Extracted packet for processing {"connection_id":50630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119537240,"longitude_deg":75.6668032,"latitude_deg":11.953724,"altitude":46,"angle":45,"satellites":35,"speed":29,"hex_longitude":"2d19d680","hex_latitude":"071ffe58","is_valid_coordinates":true} 
[2026-04-22 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 12:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871781632001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113863302458638336,"note":"Value kept but may cause issues"} 
[2026-04-22 12:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570472699904,"note":"Value kept but may cause issues"} 
[2026-04-22 12:59: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-22 12:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842900000,"timestamp_ms":1776842900000,"timestamp_seconds":1776842900,"priority":1,"record_length":96,"hex_timestamp":"0000019db4170220"} 
[2026-04-22 12:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 12:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 12:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-22 12:59:04] 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-22 12:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 12:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 12:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:59:04] 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-22 12:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871781632001,"66":14243,"106":206,"83":41984,"24":29,"16":113863302458638336,"45":1859775570472699904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871781632001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113863302458638336,"km_value":113863302458638.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570472699904,"description":"Unknown IO ID 45"} 
[2026-04-22 12:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871781632001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1859775570472699904}} 
[2026-04-22 12:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":50630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:59:05] local.INFO: GPS data processed {"connection_id":50630,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:59:05] local.INFO: Acknowledgment sent {"connection_id":50630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:59:27] local.INFO: TCP Data received {"connection_id":51182,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:59:27] local.INFO: Processing buffer {"connection_id":51182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:59:27] local.INFO: IMEI packet received {"connection_id":51182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 12:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":51182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:59:28] local.INFO: TCP Data received {"connection_id":50246,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:59:28] local.INFO: Processing buffer {"connection_id":50246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:59:28] local.INFO: IMEI packet received {"connection_id":50246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 12:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":50246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 12:59:32] local.INFO: TCP Data received {"connection_id":51182,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:59:32] local.INFO: Processing buffer {"connection_id":51182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 12:59:32] local.INFO: IMEI packet received {"connection_id":51182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 12:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":51182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:59:32] local.INFO: TCP Data received {"connection_id":50246,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:59:32] local.INFO: Processing buffer {"connection_id":50246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 12:59:32] local.INFO: IMEI packet received {"connection_id":50246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 12:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 12:59:33] local.INFO: TCP Data received {"connection_id":51182,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:59:33] local.INFO: Processing buffer {"connection_id":51182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 12:59:33] local.INFO: Packet analysis {"connection_id":51182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:59:33] local.INFO: Extracted packet for processing {"connection_id":51182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 12:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 12:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 12:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 12:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 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-22 12: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-22 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 12:59:33] 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-22 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-22 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-22 12:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 12:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 12:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 12:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 12:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 12:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 12:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 12:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:59:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 12:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 12:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 12:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 12:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":51182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:59:33] local.INFO: GPS data processed {"connection_id":51182,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:59:33] local.INFO: Acknowledgment sent {"connection_id":51182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 12:59:33] local.INFO: TCP Data received {"connection_id":50246,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41715a8012d19de4007200800002e001724..."} 
[2026-04-22 12:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41715a8012d19de4007200800002e001724..."} 
[2026-04-22 12:59:33] local.INFO: Processing buffer {"connection_id":50246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41715a8012d19de4007200800002e001724..."} 
[2026-04-22 12:59:33] local.INFO: Packet analysis {"connection_id":50246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 12:59:33] local.INFO: Extracted packet for processing {"connection_id":50246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 12:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119539712,"longitude_deg":75.6670016,"latitude_deg":11.9539712,"altitude":46,"angle":23,"satellites":36,"speed":15,"hex_longitude":"2d19de40","hex_latitude":"07200800","is_valid_coordinates":true} 
[2026-04-22 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-22 12:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871782400001,"note":"Value kept but may cause issues"} 
[2026-04-22 12:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113863452782493696,"note":"Value kept but may cause issues"} 
[2026-04-22 12:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264054167552,"note":"Value kept but may cause issues"} 
[2026-04-22 12:59: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-22 12:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842905000,"timestamp_ms":1776842905000,"timestamp_seconds":1776842905,"priority":1,"record_length":96,"hex_timestamp":"0000019db41715a8"} 
[2026-04-22 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-22 12:59: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-22 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 12:59:33] 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-22 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-22 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-22 12:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 12:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 12:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 12:59:33] 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-22 12:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 12:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 12:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871782400001,"66":14233,"106":206,"83":41984,"24":15,"16":113863452782493696,"45":1861816264054167552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 12:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 12:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 12:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871782400001,"description":"Unknown IO ID 0"} 
[2026-04-22 12:59:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 12:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 12:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113863452782493696,"km_value":113863452782493.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 12:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264054167552,"description":"Unknown IO ID 45"} 
[2026-04-22 12:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871782400001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1861816264054167552}} 
[2026-04-22 12:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":50246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 12:59:33] local.INFO: GPS data processed {"connection_id":50246,"processed":1,"errors":0,"total":1} 
[2026-04-22 12:59:33] local.INFO: Acknowledgment sent {"connection_id":50246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:00:04] local.INFO: TCP Data received {"connection_id":50246,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db417dce0012d19b5c00720ac200034013628..."} 
[2026-04-22 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db417dce0012d19b5c00720ac200034013628..."} 
[2026-04-22 13:00:04] local.INFO: Processing buffer {"connection_id":50246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db417dce0012d19b5c00720ac200034013628..."} 
[2026-04-22 13:00:04] local.INFO: Packet analysis {"connection_id":50246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 13:00:04] local.INFO: Extracted packet for processing {"connection_id":50246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 13:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119581728,"longitude_deg":75.6659648,"latitude_deg":11.9581728,"altitude":52,"angle":310,"satellites":40,"speed":23,"hex_longitude":"2d19b5c0","hex_latitude":"0720ac20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871796480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113865737705095168,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908531609600,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00: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-22 13:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842956000,"timestamp_ms":1776842956000,"timestamp_seconds":1776842956,"priority":1,"record_length":96,"hex_timestamp":"0000019db417dce0"} 
[2026-04-22 13: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-22 13:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-22 13:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:00:04] 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-22 13:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871796480001,"66":13917,"106":206,"83":41984,"24":23,"16":113865737705095168,"45":1853160908531609600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871796480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:00:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113865737705095168,"km_value":113865737705095.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908531609600,"description":"Unknown IO ID 45"} 
[2026-04-22 13:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871796480001,"power":13917,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1853160908531609600}} 
[2026-04-22 13:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":50246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:00:04] local.INFO: GPS data processed {"connection_id":50246,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:00:04] local.INFO: Acknowledgment sent {"connection_id":50246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:00:04] local.INFO: TCP Data received {"connection_id":51182,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 13:00:04] local.INFO: Processing buffer {"connection_id":51182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4139b08012d7f888005afdcc8001a012c2c..."} 
[2026-04-22 13:00:04] local.INFO: Packet analysis {"connection_id":51182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 13:00:04] local.INFO: Extracted packet for processing {"connection_id":51182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db413"} 
[2026-04-22 13:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871648256001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00: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-22 13:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842677000,"timestamp_ms":1776842677000,"timestamp_seconds":1776842677,"priority":1,"record_length":96,"hex_timestamp":"0000019db4139b08"} 
[2026-04-22 13: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-22 13:00: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-22 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:00:04] 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-22 13: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-22 13: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-22 13:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871648256001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871648256001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:00:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:00:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871648256001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":51182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:00:04] local.INFO: GPS data processed {"connection_id":51182,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:00:04] local.INFO: Acknowledgment sent {"connection_id":51182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:00:26] local.INFO: TCP Data received {"connection_id":50508,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:00:26] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:00:26] local.INFO: IMEI packet received {"connection_id":50508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":50508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:00:29] local.INFO: TCP Data received {"connection_id":50509,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:00:29] local.INFO: Processing buffer {"connection_id":50509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:00:29] local.INFO: IMEI packet received {"connection_id":50509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":50509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:00:32] local.INFO: TCP Data received {"connection_id":50509,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:00:32] local.INFO: Processing buffer {"connection_id":50509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:00:32] local.INFO: IMEI packet received {"connection_id":50509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:00:32] local.INFO: TCP Data received {"connection_id":50508,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:00:32] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:00:32] local.INFO: IMEI packet received {"connection_id":50508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:00:32] local.INFO: TCP Data received {"connection_id":50509,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db417e0c8012d19b3400720ad180034012928..."} 
[2026-04-22 13:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db417e0c8012d19b3400720ad180034012928..."} 
[2026-04-22 13:00:32] local.INFO: Processing buffer {"connection_id":50509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db417e0c8012d19b3400720ad180034012928..."} 
[2026-04-22 13:00:32] local.INFO: Packet analysis {"connection_id":50509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 13:00:32] local.INFO: Extracted packet for processing {"connection_id":50509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 13:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756659008,"raw_latitude":119581976,"longitude_deg":75.6659008,"latitude_deg":11.9581976,"altitude":52,"angle":297,"satellites":40,"speed":25,"hex_longitude":"2d19b340","hex_latitude":"0720ad18","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871796736001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113865767769866240,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852597958578282496,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00: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-22 13:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776842957000,"timestamp_ms":1776842957000,"timestamp_seconds":1776842957,"priority":1,"record_length":96,"hex_timestamp":"0000019db417e0c8"} 
[2026-04-22 13: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-22 13:00:32] 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-22 13: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-22 13:00:32] 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-22 13: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-22 13: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-22 13:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:00:32] 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-22 13:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871796736001,"66":13852,"106":206,"83":41984,"24":25,"16":113865767769866240,"45":1852597958578282496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871796736001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:00:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113865767769866240,"km_value":113865767769866.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852597958578282496,"description":"Unknown IO ID 45"} 
[2026-04-22 13:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871796736001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1852597958578282496}} 
[2026-04-22 13:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:00:33] local.INFO: GPS data processed {"connection_id":50509,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:00:33] local.INFO: Acknowledgment sent {"connection_id":50509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:00:33] local.INFO: TCP Data received {"connection_id":50508,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:00:33] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:00:33] local.INFO: Packet analysis {"connection_id":50508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:00:33] local.INFO: Extracted packet for processing {"connection_id":50508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13: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-22 13:00: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:00: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-22 13: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-22 13: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-22 13:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:00:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:00:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:00:33] local.INFO: GPS data processed {"connection_id":50508,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:00:33] local.INFO: Acknowledgment sent {"connection_id":50508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:01:04] local.INFO: TCP Data received {"connection_id":50509,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db417f068012d19a9c00720b0080036011927..."} 
[2026-04-22 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db417f068012d19a9c00720b0080036011927..."} 
[2026-04-22 13:01:04] local.INFO: Processing buffer {"connection_id":50509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db417f068012d19a9c00720b0080036011927..."} 
[2026-04-22 13:01:04] local.INFO: Packet analysis {"connection_id":50509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 13:01:04] local.INFO: Extracted packet for processing {"connection_id":50509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db417"} 
[2026-04-22 13:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756656576,"raw_latitude":119582728,"longitude_deg":75.6656576,"latitude_deg":11.9582728,"altitude":54,"angle":281,"satellites":39,"speed":24,"hex_longitude":"2d19a9c0","hex_latitude":"0720b008","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871796992001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113865892323917824,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851894271136569344,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01: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-22 13:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842961000,"timestamp_ms":1776842961000,"timestamp_seconds":1776842961,"priority":1,"record_length":96,"hex_timestamp":"0000019db417f068"} 
[2026-04-22 13: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-22 13:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 13:01:04] 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-22 13: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-22 13: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-22 13:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:01:04] 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-22 13:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871796992001,"66":13928,"106":206,"83":41984,"24":24,"16":113865892323917824,"45":1851894271136569344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871796992001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113865892323917824,"km_value":113865892323917.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851894271136569344,"description":"Unknown IO ID 45"} 
[2026-04-22 13:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871796992001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1851894271136569344}} 
[2026-04-22 13:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:01:04] local.INFO: GPS data processed {"connection_id":50509,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:01:04] local.INFO: Acknowledgment sent {"connection_id":50509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:01:04] local.INFO: TCP Data received {"connection_id":50508,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:01:04] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:01:04] local.INFO: Packet analysis {"connection_id":50508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:01:04] local.INFO: Extracted packet for processing {"connection_id":50508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13: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-22 13:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:01:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:01:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:01:04] local.INFO: GPS data processed {"connection_id":50508,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:01:04] local.INFO: Acknowledgment sent {"connection_id":50508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:01:27] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:01:27] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:01:27] local.INFO: IMEI packet received {"connection_id":50247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":50247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:01:28] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:01:28] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:01:28] local.INFO: IMEI packet received {"connection_id":50247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":50247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:01:32] local.INFO: TCP Data received {"connection_id":51184,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:01:32] local.INFO: Processing buffer {"connection_id":51184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:01:32] local.INFO: IMEI packet received {"connection_id":51184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":51184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:01:33] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:01:33] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:01:33] local.INFO: IMEI packet received {"connection_id":50247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":50247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:01:34] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4181b60012d198bc00720b310003a010d28..."} 
[2026-04-22 13:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4181b60012d198bc00720b310003a010d28..."} 
[2026-04-22 13:01:34] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4181b60012d198bc00720b310003a010d28..."} 
[2026-04-22 13:01:34] local.INFO: Packet analysis {"connection_id":50247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:01:34] local.INFO: Extracted packet for processing {"connection_id":50247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583504,"longitude_deg":75.6648896,"latitude_deg":11.9583504,"altitude":58,"angle":269,"satellites":40,"speed":15,"hex_longitude":"2d198bc0","hex_latitude":"0720b310","is_valid_coordinates":true} 
[2026-04-22 13:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871798016001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113866257396137984,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849220258858010624,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01: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-22 13:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776842972000,"timestamp_ms":1776842972000,"timestamp_seconds":1776842972,"priority":1,"record_length":96,"hex_timestamp":"0000019db4181b60"} 
[2026-04-22 13:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 13:01:34] 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-22 13:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:01:34] 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-22 13:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871798016001,"66":13928,"106":206,"83":41984,"24":15,"16":113866257396137984,"45":1849220258858010624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871798016001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:01:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113866257396137984,"km_value":113866257396137.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849220258858010624,"description":"Unknown IO ID 45"} 
[2026-04-22 13:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871798016001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1849220258858010624}} 
[2026-04-22 13:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":50247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:01:34] local.INFO: GPS data processed {"connection_id":50247,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:01:34] local.INFO: Acknowledgment sent {"connection_id":50247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:01:37] local.INFO: TCP Data received {"connection_id":51184,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:01:37] local.INFO: Processing buffer {"connection_id":51184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:01:37] local.INFO: IMEI packet received {"connection_id":51184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":51184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:01:38] local.INFO: TCP Data received {"connection_id":51184,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:01:38] local.INFO: Processing buffer {"connection_id":51184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:01:38] local.INFO: Packet analysis {"connection_id":51184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:01:38] local.INFO: Extracted packet for processing {"connection_id":51184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01: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-22 13:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:01: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-22 13:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:01:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:01:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":51184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:01:38] local.INFO: GPS data processed {"connection_id":51184,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:01:38] local.INFO: Acknowledgment sent {"connection_id":51184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:01:42] local.INFO: TCP Data received {"connection_id":51184,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:01:42] local.INFO: Processing buffer {"connection_id":51184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:01:42] local.INFO: Packet analysis {"connection_id":51184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:01:42] local.INFO: Extracted packet for processing {"connection_id":51184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13: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-22 13:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:01:42] 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-22 13:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13: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-22 13:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:01:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:01:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":51184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:01:42] local.INFO: GPS data processed {"connection_id":51184,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:01:42] local.INFO: Acknowledgment sent {"connection_id":51184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:02:05] local.INFO: TCP Data received {"connection_id":50247,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db419a9d0012d18ecc00720e0e0003c014727..."} 
[2026-04-22 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db419a9d0012d18ecc00720e0e0003c014727..."} 
[2026-04-22 13:02:05] local.INFO: Processing buffer {"connection_id":50247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db419a9d0012d18ecc00720e0e0003c014727..."} 
[2026-04-22 13:02:05] local.INFO: Packet analysis {"connection_id":50247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db419"} 
[2026-04-22 13:02:05] local.INFO: Extracted packet for processing {"connection_id":50247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db419"} 
[2026-04-22 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756608192,"raw_latitude":119595232,"longitude_deg":75.6608192,"latitude_deg":11.9595232,"altitude":60,"angle":327,"satellites":39,"speed":39,"hex_longitude":"2d18ecc0","hex_latitude":"0720e0e0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871826432001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113868400584818688,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797358494401861632,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02: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-22 13:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776843074000,"timestamp_ms":1776843074000,"timestamp_seconds":1776843074,"priority":1,"record_length":96,"hex_timestamp":"0000019db419a9d0"} 
[2026-04-22 13: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-22 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3021545752,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7743713059868246016,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505337093292032,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2874671157,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825558634,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2301493248,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":136,"raw_value":16326683158118912,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-8574845853498867654,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,138,130,45,202,57,36,10,66,107,64,191,51,34,76,1,240,137,227,180,32,4,113,205,44,103,38,239,56,2,148,7,39,206,136,25],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 13:02:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323803251161300992,"timestamp_seconds":4323803251161301.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 13: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-22 13:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:02:05] 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-22 13:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871826432001,"66":14341,"106":206,"83":41984,"24":39,"16":113868400584818688,"45":1797358494401861632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871826432001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:02:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113868400584818688,"km_value":113868400584818.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797358494401861632,"description":"Unknown IO ID 45"} 
[2026-04-22 13:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871826432001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1797358494401861632}} 
[2026-04-22 13:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":50247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:02:05] local.INFO: GPS data processed {"connection_id":50247,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:02:05] local.INFO: Acknowledgment sent {"connection_id":50247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:02:16] local.INFO: TCP Data received {"connection_id":50248,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:02:16] local.INFO: Processing buffer {"connection_id":50248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:02:16] local.INFO: IMEI packet received {"connection_id":50248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":50248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:02:27] local.INFO: TCP Data received {"connection_id":50510,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:02:27] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:02:27] local.INFO: IMEI packet received {"connection_id":50510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:02:27] local.INFO: TCP Data received {"connection_id":51185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:02:27] local.INFO: Processing buffer {"connection_id":51185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:02:27] local.INFO: IMEI packet received {"connection_id":51185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":51185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:02:28] local.INFO: TCP Data received {"connection_id":51185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:02:28] local.INFO: Processing buffer {"connection_id":51185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:02:28] local.INFO: IMEI packet received {"connection_id":51185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":51185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:02:32] local.INFO: TCP Data received {"connection_id":50510,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:02:32] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:02:32] local.INFO: IMEI packet received {"connection_id":50510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:02:32] local.INFO: TCP Data received {"connection_id":51185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:02:32] local.INFO: Processing buffer {"connection_id":51185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:02:32] local.INFO: IMEI packet received {"connection_id":51185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":51185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:02:33] local.INFO: TCP Data received {"connection_id":50510,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:02:33] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:02:33] local.INFO: Packet analysis {"connection_id":50510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:02:33] local.INFO: Extracted packet for processing {"connection_id":50510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02: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-22 13:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13: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-22 13:02: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:02: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-22 13: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-22 13: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-22 13:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:02:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:02:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:02:33] local.INFO: GPS data processed {"connection_id":50510,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:02:33] local.INFO: Acknowledgment sent {"connection_id":50510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:02:33] local.INFO: TCP Data received {"connection_id":51185,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db419c528012d18dcc00720f768003f013a29..."} 
[2026-04-22 13:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db419c528012d18dcc00720f768003f013a29..."} 
[2026-04-22 13:02:33] local.INFO: Processing buffer {"connection_id":51185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db419c528012d18dcc00720f768003f013a29..."} 
[2026-04-22 13:02:33] local.INFO: Packet analysis {"connection_id":51185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db419"} 
[2026-04-22 13:02:33] local.INFO: Extracted packet for processing {"connection_id":51185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db419"} 
[2026-04-22 13:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119601000,"longitude_deg":75.6604096,"latitude_deg":11.9601,"altitude":63,"angle":314,"satellites":41,"speed":41,"hex_longitude":"2d18dcc0","hex_latitude":"0720f768","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871826944001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113868744182202368,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796021488262897664,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02: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-22 13:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843081000,"timestamp_ms":1776843081000,"timestamp_seconds":1776843081,"priority":1,"record_length":96,"hex_timestamp":"0000019db419c528"} 
[2026-04-22 13: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-22 13:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940793121,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84751952923533486,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3021548752,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505337095651328,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2944401459,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402090,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2305818624,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.WARNING: Large IO value detected {"io_id":224,"raw_value":15763673058387712,"note":"Value kept but may cause issues"} 
[2026-04-22 13:02:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,138,162,45,128,218,60,38,10,66,130,202,57,36,107,64,1,240,227,180,32,4,113,205,47,80,88,239,54,2,148,7,55,44,206,224],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 13:02:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323815350084239360,"timestamp_seconds":4323815350084239.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 13: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-22 13:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:02:33] 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-22 13:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871826944001,"66":14428,"106":206,"83":41984,"24":41,"16":113868744182202368,"45":1796021488262897664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871826944001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:02:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113868744182202368,"km_value":113868744182202.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796021488262897664,"description":"Unknown IO ID 45"} 
[2026-04-22 13:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871826944001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1796021488262897664}} 
[2026-04-22 13:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":51185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:02:33] local.INFO: GPS data processed {"connection_id":51185,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:02:33] local.INFO: Acknowledgment sent {"connection_id":51185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:02:56] local.INFO: TCP Data received {"connection_id":50249,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:02:56] local.INFO: Processing buffer {"connection_id":50249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:02:56] local.INFO: IMEI packet received {"connection_id":50249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":50249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:03:04] local.INFO: TCP Data received {"connection_id":51185,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db419d0e0012d18d5800720ff80003f014828..."} 
[2026-04-22 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db419d0e0012d18d5800720ff80003f014828..."} 
[2026-04-22 13:03:04] local.INFO: Processing buffer {"connection_id":51185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db419d0e0012d18d5800720ff80003f014828..."} 
[2026-04-22 13:03:04] local.INFO: Packet analysis {"connection_id":51185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db419"} 
[2026-04-22 13:03:04] local.INFO: Extracted packet for processing {"connection_id":51185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db419"} 
[2026-04-22 13:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756602240,"raw_latitude":119603072,"longitude_deg":75.660224,"latitude_deg":11.9603072,"altitude":63,"angle":328,"satellites":40,"speed":28,"hex_longitude":"2d18d580","hex_latitude":"0720ff80","is_valid_coordinates":true} 
[2026-04-22 13:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871828736001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113868877326188544,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888637003776,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03: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-22 13:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843084000,"timestamp_ms":1776843084000,"timestamp_seconds":1776843084,"priority":1,"record_length":96,"hex_timestamp":"0000019db419d0e0"} 
[2026-04-22 13:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 13:03: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-22 13:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:03:04] 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-22 13:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871828736001,"66":14374,"106":206,"83":41984,"24":28,"16":113868877326188544,"45":1791517888637003776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871828736001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113868877326188544,"km_value":113868877326188.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888637003776,"description":"Unknown IO ID 45"} 
[2026-04-22 13:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871828736001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1791517888637003776}} 
[2026-04-22 13:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":51185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:03:04] local.INFO: GPS data processed {"connection_id":51185,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:03:04] local.INFO: Acknowledgment sent {"connection_id":51185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:03:05] local.INFO: TCP Data received {"connection_id":50510,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:03:05] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:03:05] local.INFO: Packet analysis {"connection_id":50510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:03:05] local.INFO: Extracted packet for processing {"connection_id":50510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13: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-22 13:03: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:03: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-22 13: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-22 13: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-22 13:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:03:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:03:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":50510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:03:05] local.INFO: GPS data processed {"connection_id":50510,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:03:05] local.INFO: Acknowledgment sent {"connection_id":50510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:03:26] local.INFO: TCP Data received {"connection_id":50250,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:03:26] local.INFO: Processing buffer {"connection_id":50250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:03:26] local.INFO: IMEI packet received {"connection_id":50250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":50250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:03:27] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:27] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:27] local.INFO: IMEI packet received {"connection_id":50251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:03:30] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:30] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:30] local.INFO: IMEI packet received {"connection_id":50251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":50251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:03:32] local.INFO: TCP Data received {"connection_id":50250,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:03:32] local.INFO: Processing buffer {"connection_id":50250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:03:32] local.INFO: IMEI packet received {"connection_id":50250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:03:32] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:32] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:32] local.INFO: IMEI packet received {"connection_id":50251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:03:33] local.INFO: TCP Data received {"connection_id":50250,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:03:33] local.INFO: Processing buffer {"connection_id":50250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:03:33] local.INFO: Packet analysis {"connection_id":50250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:03:33] local.INFO: Extracted packet for processing {"connection_id":50250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13: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-22 13:03: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-22 13: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-22 13: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-22 13: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-22 13: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-22 13:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:03:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:03:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:03:33] local.INFO: GPS data processed {"connection_id":50250,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:03:33] local.INFO: Acknowledgment sent {"connection_id":50250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:03:33] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:33] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:03:33] local.INFO: IMEI packet received {"connection_id":50251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":50251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:03:34] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41abb40012d187c4007218240004e010f22..."} 
[2026-04-22 13:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41abb40012d187c4007218240004e010f22..."} 
[2026-04-22 13:03:34] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41abb40012d187c4007218240004e010f22..."} 
[2026-04-22 13:03:34] local.INFO: Packet analysis {"connection_id":50251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41a"} 
[2026-04-22 13:03:34] local.INFO: Extracted packet for processing {"connection_id":50251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41a"} 
[2026-04-22 13:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119636544,"longitude_deg":75.6579392,"latitude_deg":11.9636544,"altitude":78,"angle":271,"satellites":34,"speed":42,"hex_longitude":"2d187c40","hex_latitude":"07218240","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871844864001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113871059169574912,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553393524736,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776843144000,"timestamp_ms":1776843144000,"timestamp_seconds":1776843144,"priority":1,"record_length":96,"hex_timestamp":"0000019db41abb40"} 
[2026-04-22 13: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-22 13:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 13:03:34] 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-22 13: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-22 13: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-22 13:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:03:34] 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-22 13:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871844864001,"66":13852,"105":206,"83":41984,"24":42,"16":113871059169574912,"45":1764355553393524736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871844864001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:03:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113871059169574912,"km_value":113871059169574.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553393524736,"description":"Unknown IO ID 45"} 
[2026-04-22 13:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871844864001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1764355553393524736}} 
[2026-04-22 13:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":50251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:03:34] local.INFO: GPS data processed {"connection_id":50251,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:03:34] local.INFO: Acknowledgment sent {"connection_id":50251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:03:38] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41ad2b0012d1860c0072182a8004e011c21..."} 
[2026-04-22 13:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41ad2b0012d1860c0072182a8004e011c21..."} 
[2026-04-22 13:03:38] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41ad2b0012d1860c0072182a8004e011c21..."} 
[2026-04-22 13:03:38] local.INFO: Packet analysis {"connection_id":50251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41a"} 
[2026-04-22 13:03:38] local.INFO: Extracted packet for processing {"connection_id":50251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41a"} 
[2026-04-22 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756572352,"raw_latitude":119636648,"longitude_deg":75.6572352,"latitude_deg":11.9636648,"altitude":78,"angle":284,"satellites":33,"speed":44,"hex_longitude":"2d1860c0","hex_latitude":"072182a8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871844864001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113871394177024000,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553393524736,"note":"Value kept but may cause issues"} 
[2026-04-22 13:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776843150000,"timestamp_ms":1776843150000,"timestamp_seconds":1776843150,"priority":1,"record_length":96,"hex_timestamp":"0000019db41ad2b0"} 
[2026-04-22 13: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-22 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 13:03:38] 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-22 13: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-22 13: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-22 13:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:03:38] 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-22 13:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871844864001,"66":13928,"105":206,"83":41984,"24":44,"16":113871394177024000,"45":1764355553393524736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871844864001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:03:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113871394177024000,"km_value":113871394177024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553393524736,"description":"Unknown IO ID 45"} 
[2026-04-22 13:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871844864001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1764355553393524736}} 
[2026-04-22 13:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":50251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:03:38] local.INFO: GPS data processed {"connection_id":50251,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:03:38] local.INFO: Acknowledgment sent {"connection_id":50251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:04:04] local.INFO: TCP Data received {"connection_id":50250,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:04:04] local.INFO: Processing buffer {"connection_id":50250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:04:04] local.INFO: Packet analysis {"connection_id":50250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:04:04] local.INFO: Extracted packet for processing {"connection_id":50250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13: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-22 13:04: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:04:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:04:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:04:04] local.INFO: GPS data processed {"connection_id":50250,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:04:04] local.INFO: Acknowledgment sent {"connection_id":50250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:04:09] local.INFO: TCP Data received {"connection_id":50251,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41b9218012d181ac00721aa08004d001b24..."} 
[2026-04-22 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41b9218012d181ac00721aa08004d001b24..."} 
[2026-04-22 13:04:09] local.INFO: Processing buffer {"connection_id":50251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41b9218012d181ac00721aa08004d001b24..."} 
[2026-04-22 13:04:09] local.INFO: Packet analysis {"connection_id":50251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:04:09] local.INFO: Extracted packet for processing {"connection_id":50251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646728,"longitude_deg":75.6554432,"latitude_deg":11.9646728,"altitude":77,"angle":27,"satellites":36,"speed":7,"hex_longitude":"2d181ac0","hex_latitude":"0721aa08","is_valid_coordinates":true} 
[2026-04-22 13:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871858688001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113872407789305856,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422620160,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776843199000,"timestamp_ms":1776843199000,"timestamp_seconds":1776843199,"priority":1,"record_length":96,"hex_timestamp":"0000019db41b9218"} 
[2026-04-22 13:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 13:04:09] 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-22 13:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:04:09] 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-22 13:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871858688001,"66":14407,"105":206,"83":41984,"24":7,"16":113872407789305856,"45":1736841374422620160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871858688001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:04:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113872407789305856,"km_value":113872407789305.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422620160,"description":"Unknown IO ID 45"} 
[2026-04-22 13:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871858688001,"power":14407,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1736841374422620160}} 
[2026-04-22 13:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":50251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:04:09] local.INFO: GPS data processed {"connection_id":50251,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:04:09] local.INFO: Acknowledgment sent {"connection_id":50251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:04:26] local.INFO: TCP Data received {"connection_id":51186,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:04:26] local.INFO: Processing buffer {"connection_id":51186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:04:26] local.INFO: IMEI packet received {"connection_id":51186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":51186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:04:32] local.INFO: TCP Data received {"connection_id":51186,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:04:32] local.INFO: Processing buffer {"connection_id":51186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:04:32] local.INFO: IMEI packet received {"connection_id":51186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":51186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:04:33] local.INFO: TCP Data received {"connection_id":51186,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:04:33] local.INFO: Processing buffer {"connection_id":51186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:04:33] local.INFO: Packet analysis {"connection_id":51186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:04:33] local.INFO: Extracted packet for processing {"connection_id":51186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04: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-22 13:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13: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-22 13:04: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:04: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-22 13: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-22 13: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-22 13:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:04:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:04:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":51186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:04:33] local.INFO: GPS data processed {"connection_id":51186,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:04:33] local.INFO: Acknowledgment sent {"connection_id":51186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:04:33] local.INFO: TCP Data received {"connection_id":50631,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:04:33] local.INFO: Processing buffer {"connection_id":50631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:04:33] local.INFO: IMEI packet received {"connection_id":50631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":50631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:04:38] local.INFO: TCP Data received {"connection_id":50631,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:04:38] local.INFO: Processing buffer {"connection_id":50631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:04:38] local.INFO: IMEI packet received {"connection_id":50631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":50631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:04:39] local.INFO: TCP Data received {"connection_id":50631,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41b9600012d181b000721aa70004d002e24..."} 
[2026-04-22 13:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41b9600012d181b000721aa70004d002e24..."} 
[2026-04-22 13:04:39] local.INFO: Processing buffer {"connection_id":50631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41b9600012d181b000721aa70004d002e24..."} 
[2026-04-22 13:04:39] local.INFO: Packet analysis {"connection_id":50631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:04:39] local.INFO: Extracted packet for processing {"connection_id":50631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119646832,"longitude_deg":75.6554496,"latitude_deg":11.9646832,"altitude":77,"angle":46,"satellites":36,"speed":4,"hex_longitude":"2d181b00","hex_latitude":"0721aa70","is_valid_coordinates":true} 
[2026-04-22 13:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871858944001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113872416379240448,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166842880,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776843200000,"timestamp_ms":1776843200000,"timestamp_seconds":1776843200,"priority":1,"record_length":96,"hex_timestamp":"0000019db41b9600"} 
[2026-04-22 13:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 13:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:04:39] 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-22 13:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871858944001,"66":14407,"105":206,"83":41984,"24":4,"16":113872416379240448,"45":1736911743166842880},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871858944001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:04:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113872416379240448,"km_value":113872416379240.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166842880,"description":"Unknown IO ID 45"} 
[2026-04-22 13:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871858944001,"power":14407,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1736911743166842880}} 
[2026-04-22 13:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":50631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:04:39] local.INFO: GPS data processed {"connection_id":50631,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:04:39] local.INFO: Acknowledgment sent {"connection_id":50631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:04:40] local.INFO: TCP Data received {"connection_id":50631,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41b99e8012d181b400721aa98004d003e24..."} 
[2026-04-22 13:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41b99e8012d181b400721aa98004d003e24..."} 
[2026-04-22 13:04:40] local.INFO: Processing buffer {"connection_id":50631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41b99e8012d181b400721aa98004d003e24..."} 
[2026-04-22 13:04:40] local.INFO: Packet analysis {"connection_id":50631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:04:40] local.INFO: Extracted packet for processing {"connection_id":50631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119646872,"longitude_deg":75.655456,"latitude_deg":11.9646872,"altitude":77,"angle":62,"satellites":36,"speed":1,"hex_longitude":"2d181b40","hex_latitude":"0721aa98","is_valid_coordinates":true} 
[2026-04-22 13:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871859200001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113872420674207744,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111911047168,"note":"Value kept but may cause issues"} 
[2026-04-22 13:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776843201000,"timestamp_ms":1776843201000,"timestamp_seconds":1776843201,"priority":1,"record_length":96,"hex_timestamp":"0000019db41b99e8"} 
[2026-04-22 13:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 13:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:04:40] 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-22 13:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871859200001,"66":14461,"105":206,"83":41984,"24":1,"16":113872420674207744,"45":1736982111911047168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871859200001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:04:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:04:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113872420674207744,"km_value":113872420674207.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111911047168,"description":"Unknown IO ID 45"} 
[2026-04-22 13:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871859200001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1736982111911047168}} 
[2026-04-22 13:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":50631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:04:40] local.INFO: GPS data processed {"connection_id":50631,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:04:40] local.INFO: Acknowledgment sent {"connection_id":50631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:05:05] local.INFO: TCP Data received {"connection_id":51186,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:05:05] local.INFO: Processing buffer {"connection_id":51186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41832d0012d7f888005afdcc8001a012c2a..."} 
[2026-04-22 13:05:05] local.INFO: Packet analysis {"connection_id":51186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:05:05] local.INFO: Extracted packet for processing {"connection_id":51186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db418"} 
[2026-04-22 13:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":26,"angle":300,"satellites":42,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871725312001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776842978000,"timestamp_ms":1776842978000,"timestamp_seconds":1776842978,"priority":1,"record_length":96,"hex_timestamp":"0000019db41832d0"} 
[2026-04-22 13: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-22 13:05: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:05: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-22 13: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-22 13: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-22 13:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871725312001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871725312001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:05:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:05:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871725312001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":51186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:05:05] local.INFO: GPS data processed {"connection_id":51186,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:05:05] local.INFO: Acknowledgment sent {"connection_id":51186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:05:11] local.INFO: TCP Data received {"connection_id":50631,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41bd098012d181bc00721ab18004d002b25..."} 
[2026-04-22 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41bd098012d181bc00721ab18004d002b25..."} 
[2026-04-22 13:05:11] local.INFO: Processing buffer {"connection_id":50631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41bd098012d181bc00721ab18004d002b25..."} 
[2026-04-22 13:05:11] local.INFO: Packet analysis {"connection_id":50631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:05:11] local.INFO: Extracted packet for processing {"connection_id":50631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119647000,"longitude_deg":75.6554688,"latitude_deg":11.9647,"altitude":77,"angle":43,"satellites":37,"speed":5,"hex_longitude":"2d181bc0","hex_latitude":"0721ab18","is_valid_coordinates":true} 
[2026-04-22 13:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871859456001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113872437854076928,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480655235072,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776843215000,"timestamp_ms":1776843215000,"timestamp_seconds":1776843215,"priority":1,"record_length":96,"hex_timestamp":"0000019db41bd098"} 
[2026-04-22 13:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 13:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:05:11] 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-22 13:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871859456001,"66":14396,"105":206,"83":41984,"24":5,"16":113872437854076928,"45":1737052480655235072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871859456001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:05:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113872437854076928,"km_value":113872437854076.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480655235072,"description":"Unknown IO ID 45"} 
[2026-04-22 13:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871859456001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737052480655235072}} 
[2026-04-22 13:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":50631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:05:11] local.INFO: GPS data processed {"connection_id":50631,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:05:11] local.INFO: Acknowledgment sent {"connection_id":50631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:05:28] local.INFO: TCP Data received {"connection_id":51187,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:05:28] local.INFO: Processing buffer {"connection_id":51187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:05:28] local.INFO: IMEI packet received {"connection_id":51187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":51187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:05:32] local.INFO: TCP Data received {"connection_id":50513,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:05:32] local.INFO: Processing buffer {"connection_id":50513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:05:32] local.INFO: IMEI packet received {"connection_id":50513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:05:32] local.INFO: TCP Data received {"connection_id":51187,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:05:32] local.INFO: Processing buffer {"connection_id":51187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:05:32] local.INFO: IMEI packet received {"connection_id":51187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":51187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:05:33] local.INFO: TCP Data received {"connection_id":51187,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41bdc50012d181dc00721ad88004d001c25..."} 
[2026-04-22 13:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41bdc50012d181dc00721ad88004d001c25..."} 
[2026-04-22 13:05:33] local.INFO: Processing buffer {"connection_id":51187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41bdc50012d181dc00721ad88004d001c25..."} 
[2026-04-22 13:05:33] local.INFO: Packet analysis {"connection_id":51187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:05:33] local.INFO: Extracted packet for processing {"connection_id":51187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647624,"longitude_deg":75.65552,"latitude_deg":11.9647624,"altitude":77,"angle":28,"satellites":37,"speed":13,"hex_longitude":"2d181dc0","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113872472213815296,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143623168,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843218000,"timestamp_ms":1776843218000,"timestamp_seconds":1776843218,"priority":1,"record_length":96,"hex_timestamp":"0000019db41bdc50"} 
[2026-04-22 13: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-22 13:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 13:05:33] 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-22 13: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-22 13: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-22 13:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:05:33] 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-22 13:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871863040001,"66":14233,"105":206,"83":41984,"24":13,"16":113872472213815296,"45":1737193218143623168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:05:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113872472213815296,"km_value":113872472213815.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143623168,"description":"Unknown IO ID 45"} 
[2026-04-22 13:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871863040001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737193218143623168}} 
[2026-04-22 13:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":51187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:05:33] local.INFO: GPS data processed {"connection_id":51187,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:05:33] local.INFO: Acknowledgment sent {"connection_id":51187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:05:37] local.INFO: TCP Data received {"connection_id":50513,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:05:37] local.INFO: Processing buffer {"connection_id":50513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:05:37] local.INFO: IMEI packet received {"connection_id":50513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":50513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:05:38] local.INFO: TCP Data received {"connection_id":50513,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:05:38] local.INFO: Processing buffer {"connection_id":50513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:05:38] local.INFO: Packet analysis {"connection_id":50513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:05:38] local.INFO: Extracted packet for processing {"connection_id":50513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05: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-22 13:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:05: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-22 13:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:05:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:05:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":50513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:05:38] local.INFO: GPS data processed {"connection_id":50513,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:05:38] local.INFO: Acknowledgment sent {"connection_id":50513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:05:43] local.INFO: TCP Data received {"connection_id":50513,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:05:43] local.INFO: Processing buffer {"connection_id":50513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:05:43] local.INFO: Packet analysis {"connection_id":50513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:05:43] local.INFO: Extracted packet for processing {"connection_id":50513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:05:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:05:43] 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-22 13:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:05:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:05:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":50513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:05:43] local.INFO: GPS data processed {"connection_id":50513,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:05:43] local.INFO: Acknowledgment sent {"connection_id":50513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:06:05] local.INFO: TCP Data received {"connection_id":51187,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41be808012d181f400721b028004e002826..."} 
[2026-04-22 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41be808012d181f400721b028004e002826..."} 
[2026-04-22 13:06:05] local.INFO: Processing buffer {"connection_id":51187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41be808012d181f400721b028004e002826..."} 
[2026-04-22 13:06:05] local.INFO: Packet analysis {"connection_id":51187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:06:05] local.INFO: Extracted packet for processing {"connection_id":51187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41b"} 
[2026-04-22 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648296,"longitude_deg":75.6555584,"latitude_deg":11.9648296,"altitude":78,"angle":40,"satellites":38,"speed":3,"hex_longitude":"2d181f40","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-04-22 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-22 13:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871863808001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113872510868520960,"note":"Value kept but may cause issues"} 
[2026-04-22 13:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097204224,"note":"Value kept but may cause issues"} 
[2026-04-22 13:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776843221000,"timestamp_ms":1776843221000,"timestamp_seconds":1776843221,"priority":1,"record_length":96,"hex_timestamp":"0000019db41be808"} 
[2026-04-22 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-22 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-22 13:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 13:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:06:05] 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-22 13:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871863808001,"66":14298,"105":206,"83":41984,"24":3,"16":113872510868520960,"45":1737756168097204224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871863808001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:06:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113872510868520960,"km_value":113872510868520.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097204224,"description":"Unknown IO ID 45"} 
[2026-04-22 13:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871863808001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737756168097204224}} 
[2026-04-22 13:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":51187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:06:05] local.INFO: GPS data processed {"connection_id":51187,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:06:05] local.INFO: Acknowledgment sent {"connection_id":51187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:06:26] local.INFO: TCP Data received {"connection_id":50252,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:06:26] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:06:26] local.INFO: IMEI packet received {"connection_id":50252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":50252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:06:27] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:06:27] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:06:27] local.INFO: IMEI packet received {"connection_id":50253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:06:32] local.INFO: TCP Data received {"connection_id":50252,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:06:32] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:06:32] local.INFO: IMEI packet received {"connection_id":50252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:06:33] local.INFO: TCP Data received {"connection_id":50252,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:06:33] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:06:33] local.INFO: Packet analysis {"connection_id":50252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:06:33] local.INFO: Extracted packet for processing {"connection_id":50252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13: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-22 13:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:06: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-22 13: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-22 13: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-22 13:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:06:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:06:33] local.INFO: GPS data processed {"connection_id":50252,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:06:33] local.INFO: Acknowledgment sent {"connection_id":50252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:06:36] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:06:36] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:06:36] local.INFO: IMEI packet received {"connection_id":50253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":50253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:06:37] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41d99a0012d18a2800722b6000074015827..."} 
[2026-04-22 13:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41d99a0012d18a2800722b6000074015827..."} 
[2026-04-22 13:06:37] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41d99a0012d18a2800722b6000074015827..."} 
[2026-04-22 13:06:37] local.INFO: Packet analysis {"connection_id":50253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:06:37] local.INFO: Extracted packet for processing {"connection_id":50253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119715328,"longitude_deg":75.6589184,"latitude_deg":11.9715328,"altitude":116,"angle":344,"satellites":39,"speed":34,"hex_longitude":"2d18a280","hex_latitude":"0722b600","is_valid_coordinates":true} 
[2026-04-22 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871890688001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876247490068480,"note":"Value kept but may cause issues"} 
[2026-04-22 13:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977410375680,"note":"Value kept but may cause issues"} 
[2026-04-22 13:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776843332000,"timestamp_ms":1776843332000,"timestamp_seconds":1776843332,"priority":1,"record_length":96,"hex_timestamp":"0000019db41d99a0"} 
[2026-04-22 13:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-22 13:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:06:37] 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-22 13:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871890688001,"66":13102,"105":206,"83":41984,"24":34,"16":113876247490068480,"45":1776458977410375680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871890688001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:06:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876247490068480,"km_value":113876247490068.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977410375680,"description":"Unknown IO ID 45"} 
[2026-04-22 13:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871890688001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1776458977410375680}} 
[2026-04-22 13:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":50253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:06:37] local.INFO: GPS data processed {"connection_id":50253,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:06:37] local.INFO: Acknowledgment sent {"connection_id":50253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:07:05] local.INFO: TCP Data received {"connection_id":50252,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:07:05] local.INFO: Processing buffer {"connection_id":50252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:07:05] local.INFO: Packet analysis {"connection_id":50252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:07:05] local.INFO: Extracted packet for processing {"connection_id":50252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13: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-22 13: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-22 13: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:07: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-22 13: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-22 13: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-22 13:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:07:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":50252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:07:05] local.INFO: GPS data processed {"connection_id":50252,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:07:05] local.INFO: Acknowledgment sent {"connection_id":50252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:07:12] local.INFO: TCP Data received {"connection_id":50253,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41da558012d18a0c00722c0180073016629..."} 
[2026-04-22 13:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41da558012d18a0c00722c0180073016629..."} 
[2026-04-22 13:07:12] local.INFO: Processing buffer {"connection_id":50253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41da558012d18a0c00722c0180073016629..."} 
[2026-04-22 13:07:12] local.INFO: Packet analysis {"connection_id":50253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:07:12] local.INFO: Extracted packet for processing {"connection_id":50253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756588736,"raw_latitude":119717912,"longitude_deg":75.6588736,"latitude_deg":11.9717912,"altitude":115,"angle":358,"satellites":41,"speed":35,"hex_longitude":"2d18a0c0","hex_latitude":"0722c018","is_valid_coordinates":true} 
[2026-04-22 13:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871892992001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876372044120064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971272876032,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07: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-22 13:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776843335000,"timestamp_ms":1776843335000,"timestamp_seconds":1776843335,"priority":1,"record_length":96,"hex_timestamp":"0000019db41da558"} 
[2026-04-22 13:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-22 13:07:12] 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-22 13:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":50253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":50253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":50253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:07:12] 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-22 13:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871892992001,"66":13091,"105":206,"83":41984,"24":35,"16":113876372044120064,"45":1775121971272876032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871892992001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:07:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876372044120064,"km_value":113876372044120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971272876032,"description":"Unknown IO ID 45"} 
[2026-04-22 13:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871892992001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1775121971272876032}} 
[2026-04-22 13:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":50253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:07:12] local.INFO: GPS data processed {"connection_id":50253,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:07:12] local.INFO: Acknowledgment sent {"connection_id":50253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:07:26] local.INFO: TCP Data received {"connection_id":51188,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:07:26] local.INFO: Processing buffer {"connection_id":51188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:07:26] local.INFO: IMEI packet received {"connection_id":51188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":51188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:07:27] local.INFO: TCP Data received {"connection_id":50514,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:07:27] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:07:27] local.INFO: IMEI packet received {"connection_id":50514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:07:28] local.INFO: TCP Data received {"connection_id":50514,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:07:28] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:07:28] local.INFO: IMEI packet received {"connection_id":50514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":50514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:07:32] local.INFO: TCP Data received {"connection_id":51188,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:07:32] local.INFO: Processing buffer {"connection_id":51188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:07:32] local.INFO: IMEI packet received {"connection_id":51188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":51188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:07:33] local.INFO: TCP Data received {"connection_id":51188,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:07:33] local.INFO: Processing buffer {"connection_id":51188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:07:33] local.INFO: Packet analysis {"connection_id":51188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:07:33] local.INFO: Extracted packet for processing {"connection_id":51188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13: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-22 13:07: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-22 13:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:07: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-22 13: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-22 13: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-22 13:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:07:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:07:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":51188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:07:33] local.INFO: GPS data processed {"connection_id":51188,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:07:33] local.INFO: Acknowledgment sent {"connection_id":51188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:07:42] local.INFO: TCP Data received {"connection_id":50514,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:07:42] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:07:42] local.INFO: IMEI packet received {"connection_id":50514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":50514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:07:44] local.INFO: TCP Data received {"connection_id":50514,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41dad28012d18a1c00722c7180072000d2a..."} 
[2026-04-22 13:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41dad28012d18a1c00722c7180072000d2a..."} 
[2026-04-22 13:07:44] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41dad28012d18a1c00722c7180072000d2a..."} 
[2026-04-22 13:07:44] local.INFO: Packet analysis {"connection_id":50514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:07:44] local.INFO: Extracted packet for processing {"connection_id":50514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756588992,"raw_latitude":119719704,"longitude_deg":75.6588992,"latitude_deg":11.9719704,"altitude":114,"angle":13,"satellites":42,"speed":35,"hex_longitude":"2d18a1c0","hex_latitude":"0722c718","is_valid_coordinates":true} 
[2026-04-22 13:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871893760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876462238433280,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774629390064293888,"note":"Value kept but may cause issues"} 
[2026-04-22 13:07: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-22 13:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776843337000,"timestamp_ms":1776843337000,"timestamp_seconds":1776843337,"priority":1,"record_length":96,"hex_timestamp":"0000019db41dad28"} 
[2026-04-22 13:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:07: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-22 13:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 13:07:44] 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-22 13:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:07:44] 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-22 13:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871893760001,"66":13091,"105":206,"83":41984,"24":35,"16":113876462238433280,"45":1774629390064293888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871893760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:07:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876462238433280,"km_value":113876462238433.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774629390064293888,"description":"Unknown IO ID 45"} 
[2026-04-22 13:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871893760001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1774629390064293888}} 
[2026-04-22 13:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":50514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:07:44] local.INFO: GPS data processed {"connection_id":50514,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:07:44] local.INFO: Acknowledgment sent {"connection_id":50514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:08:04] local.INFO: TCP Data received {"connection_id":51188,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:08:04] local.INFO: Processing buffer {"connection_id":51188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:08:04] local.INFO: Packet analysis {"connection_id":51188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:08:04] local.INFO: Extracted packet for processing {"connection_id":51188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:08: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-22 13:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13: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-22 13:08: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-22 13:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:08:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:08:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":51188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:08:04] local.INFO: GPS data processed {"connection_id":51188,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:08:04] local.INFO: Acknowledgment sent {"connection_id":51188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:08:21] local.INFO: TCP Data received {"connection_id":50254,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:08:21] local.INFO: Processing buffer {"connection_id":50254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:08:21] local.INFO: IMEI packet received {"connection_id":50254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":50254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:08:26] local.INFO: TCP Data received {"connection_id":50515,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:08:26] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:08:26] local.INFO: IMEI packet received {"connection_id":50515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":50515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:08:31] local.INFO: TCP Data received {"connection_id":51189,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:08:31] local.INFO: Processing buffer {"connection_id":51189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:08:31] local.INFO: IMEI packet received {"connection_id":51189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":51189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:08:32] local.INFO: TCP Data received {"connection_id":50515,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:08:32] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:08:32] local.INFO: IMEI packet received {"connection_id":50515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:08:32] local.INFO: TCP Data received {"connection_id":51189,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:08:32] local.INFO: Processing buffer {"connection_id":51189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:08:32] local.INFO: IMEI packet received {"connection_id":51189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":51189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:08:33] local.INFO: TCP Data received {"connection_id":50515,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:08:33] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:08:33] local.INFO: Packet analysis {"connection_id":50515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:08:33] local.INFO: Extracted packet for processing {"connection_id":50515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:08: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-22 13:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:08: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-22 13:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:08:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:08:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":50515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:08:33] local.INFO: GPS data processed {"connection_id":50515,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:08:33] local.INFO: Acknowledgment sent {"connection_id":50515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:08:38] local.INFO: TCP Data received {"connection_id":51189,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:08:38] local.INFO: Processing buffer {"connection_id":51189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:08:38] local.INFO: IMEI packet received {"connection_id":51189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":51189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:08:39] local.INFO: TCP Data received {"connection_id":51189,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41db4f8012d18a4000722cdd00071001a2a..."} 
[2026-04-22 13:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41db4f8012d18a4000722cdd00071001a2a..."} 
[2026-04-22 13:08:39] local.INFO: Processing buffer {"connection_id":51189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41db4f8012d18a4000722cdd00071001a2a..."} 
[2026-04-22 13:08:39] local.INFO: Packet analysis {"connection_id":51189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:08:39] local.INFO: Extracted packet for processing {"connection_id":51189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119721424,"longitude_deg":75.6589568,"latitude_deg":11.9721424,"altitude":113,"angle":26,"satellites":42,"speed":36,"hex_longitude":"2d18a400","hex_latitude":"0722cdd0","is_valid_coordinates":true} 
[2026-04-22 13:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871894272001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876548137779200,"note":"Value kept but may cause issues"} 
[2026-04-22 13:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774910865041463296,"note":"Value kept but may cause issues"} 
[2026-04-22 13:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776843339000,"timestamp_ms":1776843339000,"timestamp_seconds":1776843339,"priority":1,"record_length":96,"hex_timestamp":"0000019db41db4f8"} 
[2026-04-22 13:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 13:08:39] 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-22 13:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:08:39] 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-22 13:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871894272001,"66":13015,"105":206,"83":41984,"24":36,"16":113876548137779200,"45":1774910865041463296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871894272001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:08:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876548137779200,"km_value":113876548137779.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774910865041463296,"description":"Unknown IO ID 45"} 
[2026-04-22 13:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871894272001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1774910865041463296}} 
[2026-04-22 13:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":51189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:08:39] local.INFO: GPS data processed {"connection_id":51189,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:08:39] local.INFO: Acknowledgment sent {"connection_id":51189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:08:51] local.INFO: TCP Data received {"connection_id":50516,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:08:51] local.INFO: Processing buffer {"connection_id":50516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:08:51] local.INFO: IMEI packet received {"connection_id":50516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":50516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:09:04] local.INFO: TCP Data received {"connection_id":50515,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:09:04] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:09:04] local.INFO: Packet analysis {"connection_id":50515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:09:04] local.INFO: Extracted packet for processing {"connection_id":50515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09: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-22 13:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:09:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:09:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":50515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:09:04] local.INFO: GPS data processed {"connection_id":50515,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:09:04] local.INFO: Acknowledgment sent {"connection_id":50515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:09:10] local.INFO: TCP Data received {"connection_id":51189,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41dd438012d18afc00722e200006d000b28..."} 
[2026-04-22 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41dd438012d18afc00722e200006d000b28..."} 
[2026-04-22 13:09:10] local.INFO: Processing buffer {"connection_id":51189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41dd438012d18afc00722e200006d000b28..."} 
[2026-04-22 13:09:10] local.INFO: Packet analysis {"connection_id":51189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:09:10] local.INFO: Extracted packet for processing {"connection_id":51189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41d"} 
[2026-04-22 13:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119726592,"longitude_deg":75.6592576,"latitude_deg":11.9726592,"altitude":109,"angle":11,"satellites":40,"speed":13,"hex_longitude":"2d18afc0","hex_latitude":"0722e200","is_valid_coordinates":true} 
[2026-04-22 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871894784001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876840195555328,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183739502592,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776843347000,"timestamp_ms":1776843347000,"timestamp_seconds":1776843347,"priority":1,"record_length":96,"hex_timestamp":"0000019db41dd438"} 
[2026-04-22 13:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 13:09:10] 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-22 13:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":51189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":51189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":51189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871894784001,"66":13080,"105":206,"83":41984,"24":13,"16":113876840195555328,"45":1775544183739502592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871894784001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:09:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876840195555328,"km_value":113876840195555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183739502592,"description":"Unknown IO ID 45"} 
[2026-04-22 13:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871894784001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1775544183739502592}} 
[2026-04-22 13:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":51189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:09:10] local.INFO: GPS data processed {"connection_id":51189,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:09:10] local.INFO: Acknowledgment sent {"connection_id":51189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:09:28] local.INFO: TCP Data received {"connection_id":50634,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:09:28] local.INFO: Processing buffer {"connection_id":50634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:09:28] local.INFO: IMEI packet received {"connection_id":50634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":50634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:09:32] local.INFO: TCP Data received {"connection_id":50517,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:09:32] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:09:32] local.INFO: IMEI packet received {"connection_id":50517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:09:33] local.INFO: TCP Data received {"connection_id":50634,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:09:33] local.INFO: Processing buffer {"connection_id":50634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:09:33] local.INFO: IMEI packet received {"connection_id":50634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":50634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:09:34] local.INFO: TCP Data received {"connection_id":50634,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41e2640012d18b0000722e498006a000928..."} 
[2026-04-22 13:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41e2640012d18b0000722e498006a000928..."} 
[2026-04-22 13:09:34] local.INFO: Processing buffer {"connection_id":50634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41e2640012d18b0000722e498006a000928..."} 
[2026-04-22 13:09:34] local.INFO: Packet analysis {"connection_id":50634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41e"} 
[2026-04-22 13:09:34] local.INFO: Extracted packet for processing {"connection_id":50634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41e"} 
[2026-04-22 13:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871896832001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514717175808,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776843368000,"timestamp_ms":1776843368000,"timestamp_seconds":1776843368,"priority":1,"record_length":96,"hex_timestamp":"0000019db41e2640"} 
[2026-04-22 13: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-22 13:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-22 13:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:09:34] 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-22 13:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871896832001,"66":13004,"105":206,"83":41984,"24":0,"16":113876874555293696,"45":1778851514717175808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871896832001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:09:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514717175808,"description":"Unknown IO ID 45"} 
[2026-04-22 13:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871896832001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1778851514717175808}} 
[2026-04-22 13:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":50634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:09:34] local.INFO: GPS data processed {"connection_id":50634,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:09:34] local.INFO: Acknowledgment sent {"connection_id":50634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:09:37] local.INFO: TCP Data received {"connection_id":50517,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:09:37] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:09:37] local.INFO: IMEI packet received {"connection_id":50517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":50517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:09:38] local.INFO: TCP Data received {"connection_id":50517,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:09:38] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:09:38] local.INFO: Packet analysis {"connection_id":50517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:09:38] local.INFO: Extracted packet for processing {"connection_id":50517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09: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-22 13:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:09: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-22 13:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:09: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-22 13:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:09:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:09:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":50517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:09:38] local.INFO: GPS data processed {"connection_id":50517,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:09:38] local.INFO: Acknowledgment sent {"connection_id":50517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:09:43] local.INFO: TCP Data received {"connection_id":50517,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:09:43] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41cca98012d7f888005afdcc80022012c27..."} 
[2026-04-22 13:09:43] local.INFO: Packet analysis {"connection_id":50517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:09:43] local.INFO: Extracted packet for processing {"connection_id":50517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41c"} 
[2026-04-22 13:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":34,"angle":300,"satellites":39,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871802368001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776843279000,"timestamp_ms":1776843279000,"timestamp_seconds":1776843279,"priority":1,"record_length":96,"hex_timestamp":"0000019db41cca98"} 
[2026-04-22 13:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:09:43] 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-22 13:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871802368001,"66":25321,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871802368001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:09:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:09:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871802368001,"power":25321,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":50517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:09:43] local.INFO: GPS data processed {"connection_id":50517,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:09:43] local.INFO: Acknowledgment sent {"connection_id":50517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:10:05] local.INFO: TCP Data received {"connection_id":50634,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41e7848012d18b0000722e498006a000929..."} 
[2026-04-22 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41e7848012d18b0000722e498006a000929..."} 
[2026-04-22 13:10:05] local.INFO: Processing buffer {"connection_id":50634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41e7848012d18b0000722e498006a000929..."} 
[2026-04-22 13:10:05] local.INFO: Packet analysis {"connection_id":50634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41e"} 
[2026-04-22 13:10:05] local.INFO: Extracted packet for processing {"connection_id":50634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41e"} 
[2026-04-22 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871902208001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776843389000,"timestamp_ms":1776843389000,"timestamp_seconds":1776843389,"priority":1,"record_length":96,"hex_timestamp":"0000019db41e7848"} 
[2026-04-22 13: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-22 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 13:10:05] 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-22 13: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-22 13: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-22 13:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:10:05] 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-22 13:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871902208001,"66":12993,"105":206,"83":41984,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871902208001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:10:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871902208001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":50634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:10:05] local.INFO: GPS data processed {"connection_id":50634,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:10:05] local.INFO: Acknowledgment sent {"connection_id":50634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:10:26] local.INFO: TCP Data received {"connection_id":50255,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:10:26] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:10:26] local.INFO: IMEI packet received {"connection_id":50255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":50255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:10:28] local.INFO: TCP Data received {"connection_id":51191,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:10:28] local.INFO: Processing buffer {"connection_id":51191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:10:28] local.INFO: IMEI packet received {"connection_id":51191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":51191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:10:32] local.INFO: TCP Data received {"connection_id":50255,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:10:32] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:10:32] local.INFO: IMEI packet received {"connection_id":50255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:10:33] local.INFO: TCP Data received {"connection_id":50255,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:10:33] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:10:33] local.INFO: Packet analysis {"connection_id":50255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:10:33] local.INFO: Extracted packet for processing {"connection_id":50255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13: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-22 13:10: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-22 13: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:10: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-22 13: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-22 13: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-22 13:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:10:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:10:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":50255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:10:33] local.INFO: GPS data processed {"connection_id":50255,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:10:33] local.INFO: Acknowledgment sent {"connection_id":50255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:10:33] local.INFO: TCP Data received {"connection_id":51191,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:10:33] local.INFO: Processing buffer {"connection_id":51191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:10:33] local.INFO: IMEI packet received {"connection_id":51191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":51191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:10:34] local.INFO: TCP Data received {"connection_id":51191,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41eca50012d18b0000722e498006a00092c..."} 
[2026-04-22 13:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41eca50012d18b0000722e498006a00092c..."} 
[2026-04-22 13:10:34] local.INFO: Processing buffer {"connection_id":51191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41eca50012d18b0000722e498006a00092c..."} 
[2026-04-22 13:10:34] local.INFO: Packet analysis {"connection_id":51191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41e"} 
[2026-04-22 13:10:34] local.INFO: Extracted packet for processing {"connection_id":51191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41e"} 
[2026-04-22 13:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871907584001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776843410000,"timestamp_ms":1776843410000,"timestamp_seconds":1776843410,"priority":1,"record_length":96,"hex_timestamp":"0000019db41eca50"} 
[2026-04-22 13: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-22 13:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-22 13:10:34] 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-22 13: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-22 13: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-22 13:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:10:34] 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-22 13:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871907584001,"66":12950,"105":206,"83":41984,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871907584001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:10:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871907584001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":51191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:10:34] local.INFO: GPS data processed {"connection_id":51191,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:10:34] local.INFO: Acknowledgment sent {"connection_id":51191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:11:04] local.INFO: TCP Data received {"connection_id":50255,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:11:04] local.INFO: Processing buffer {"connection_id":50255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:11:04] local.INFO: Packet analysis {"connection_id":50255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:11:04] local.INFO: Extracted packet for processing {"connection_id":50255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11: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-22 13:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13: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-22 13:11: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:11:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:11:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":50255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:11:04] local.INFO: GPS data processed {"connection_id":50255,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:11:04] local.INFO: Acknowledgment sent {"connection_id":50255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:11:05] local.INFO: TCP Data received {"connection_id":51191,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41f1c58012d18b0000722e498006a00092b..."} 
[2026-04-22 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41f1c58012d18b0000722e498006a00092b..."} 
[2026-04-22 13:11:05] local.INFO: Processing buffer {"connection_id":51191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41f1c58012d18b0000722e498006a00092b..."} 
[2026-04-22 13:11:05] local.INFO: Packet analysis {"connection_id":51191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41f"} 
[2026-04-22 13:11:05] local.INFO: Extracted packet for processing {"connection_id":51191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41f"} 
[2026-04-22 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871912960001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:05] 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-22 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776843431000,"timestamp_ms":1776843431000,"timestamp_seconds":1776843431,"priority":1,"record_length":96,"hex_timestamp":"0000019db41f1c58"} 
[2026-04-22 13: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-22 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 13:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:11:05] 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-22 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871912960001,"66":12961,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871912960001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:11:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871912960001,"power":12961,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":51191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:11:05] local.INFO: GPS data processed {"connection_id":51191,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:11:05] local.INFO: Acknowledgment sent {"connection_id":51191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:11:26] local.INFO: TCP Data received {"connection_id":50257,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:11:26] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:11:26] local.INFO: IMEI packet received {"connection_id":50257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":50257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:11:28] local.INFO: TCP Data received {"connection_id":50256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:11:28] local.INFO: Processing buffer {"connection_id":50256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:11:28] local.INFO: IMEI packet received {"connection_id":50256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":50256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:11:32] local.INFO: TCP Data received {"connection_id":50257,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:11:32] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:11:32] local.INFO: IMEI packet received {"connection_id":50257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:11:33] local.INFO: TCP Data received {"connection_id":50257,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:11:33] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:11:33] local.INFO: Packet analysis {"connection_id":50257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:11:33] local.INFO: Extracted packet for processing {"connection_id":50257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13: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-22 13:11: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:11: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-22 13: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-22 13: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-22 13:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:11:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":50257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:11:33] local.INFO: GPS data processed {"connection_id":50257,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:11:33] local.INFO: Acknowledgment sent {"connection_id":50257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:11:33] local.INFO: TCP Data received {"connection_id":50256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:11:33] local.INFO: Processing buffer {"connection_id":50256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:11:33] local.INFO: IMEI packet received {"connection_id":50256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":50256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:11:34] local.INFO: TCP Data received {"connection_id":50256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41f6e60012d18b0000722e498006a00092b..."} 
[2026-04-22 13:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41f6e60012d18b0000722e498006a00092b..."} 
[2026-04-22 13:11:34] local.INFO: Processing buffer {"connection_id":50256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41f6e60012d18b0000722e498006a00092b..."} 
[2026-04-22 13:11:34] local.INFO: Packet analysis {"connection_id":50256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41f"} 
[2026-04-22 13:11:34] local.INFO: Extracted packet for processing {"connection_id":50256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41f"} 
[2026-04-22 13:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871918336001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:11:34] 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-22 13:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776843452000,"timestamp_ms":1776843452000,"timestamp_seconds":1776843452,"priority":1,"record_length":96,"hex_timestamp":"0000019db41f6e60"} 
[2026-04-22 13: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-22 13:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-04-22 13:11:34] 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-22 13: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-22 13: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-22 13:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:11:34] 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-22 13:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871918336001,"66":12885,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871918336001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:11:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871918336001,"power":12885,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":50256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:11:34] local.INFO: GPS data processed {"connection_id":50256,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:11:34] local.INFO: Acknowledgment sent {"connection_id":50256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:12:04] local.INFO: TCP Data received {"connection_id":50257,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:12:04] local.INFO: Processing buffer {"connection_id":50257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:12:04] local.INFO: Packet analysis {"connection_id":50257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:12:04] local.INFO: Extracted packet for processing {"connection_id":50257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12: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-22 13:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:12: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-22 13:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:12:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:12:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":50257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:12:04] local.INFO: GPS data processed {"connection_id":50257,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:12:04] local.INFO: Acknowledgment sent {"connection_id":50257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:12:05] local.INFO: TCP Data received {"connection_id":50256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db41fc068012d18b0000722e498006a00092b..."} 
[2026-04-22 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db41fc068012d18b0000722e498006a00092b..."} 
[2026-04-22 13:12:05] local.INFO: Processing buffer {"connection_id":50256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db41fc068012d18b0000722e498006a00092b..."} 
[2026-04-22 13:12:05] local.INFO: Packet analysis {"connection_id":50256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db41f"} 
[2026-04-22 13:12:05] local.INFO: Extracted packet for processing {"connection_id":50256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db41f"} 
[2026-04-22 13:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 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-22 13:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871923712001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:05] 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-22 13:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776843473000,"timestamp_ms":1776843473000,"timestamp_seconds":1776843473,"priority":1,"record_length":96,"hex_timestamp":"0000019db41fc068"} 
[2026-04-22 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-22 13:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 13:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 13:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:12:05] 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-22 13:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871923712001,"66":12885,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871923712001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:12:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871923712001,"power":12885,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":50256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:12:05] local.INFO: GPS data processed {"connection_id":50256,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:12:05] local.INFO: Acknowledgment sent {"connection_id":50256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:12:27] local.INFO: TCP Data received {"connection_id":51193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:12:27] local.INFO: Processing buffer {"connection_id":51193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:12:27] local.INFO: IMEI packet received {"connection_id":51193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":51193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:12:32] local.INFO: TCP Data received {"connection_id":51194,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:12:32] local.INFO: Processing buffer {"connection_id":51194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:12:32] local.INFO: IMEI packet received {"connection_id":51194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":51194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:12:33] local.INFO: TCP Data received {"connection_id":51193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:12:33] local.INFO: Processing buffer {"connection_id":51193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:12:33] local.INFO: IMEI packet received {"connection_id":51193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":51193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:12:33] local.INFO: TCP Data received {"connection_id":51193,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4201270012d18b0000722e498006a00092b..."} 
[2026-04-22 13:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4201270012d18b0000722e498006a00092b..."} 
[2026-04-22 13:12:33] local.INFO: Processing buffer {"connection_id":51193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4201270012d18b0000722e498006a00092b..."} 
[2026-04-22 13:12:33] local.INFO: Packet analysis {"connection_id":51193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db420"} 
[2026-04-22 13:12:33] local.INFO: Extracted packet for processing {"connection_id":51193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db420"} 
[2026-04-22 13:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871929088001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:33] 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-22 13:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843494000,"timestamp_ms":1776843494000,"timestamp_seconds":1776843494,"priority":1,"record_length":96,"hex_timestamp":"0000019db4201270"} 
[2026-04-22 13: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-22 13:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 13:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:12:33] 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-22 13:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871929088001,"66":12885,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871929088001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:12:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871929088001,"power":12885,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":51193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:12:34] local.INFO: GPS data processed {"connection_id":51193,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:12:34] local.INFO: Acknowledgment sent {"connection_id":51193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:12:37] local.INFO: TCP Data received {"connection_id":51194,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:12:37] local.INFO: Processing buffer {"connection_id":51194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:12:37] local.INFO: IMEI packet received {"connection_id":51194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":51194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:12:38] local.INFO: TCP Data received {"connection_id":51194,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:12:38] local.INFO: Processing buffer {"connection_id":51194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:12:38] local.INFO: Packet analysis {"connection_id":51194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:12:38] local.INFO: Extracted packet for processing {"connection_id":51194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12: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-22 13:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:12: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-22 13:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:12: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-22 13:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:12:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:12:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":51194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:12:38] local.INFO: GPS data processed {"connection_id":51194,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:12:38] local.INFO: Acknowledgment sent {"connection_id":51194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:12:42] local.INFO: TCP Data received {"connection_id":51194,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:12:42] local.INFO: Processing buffer {"connection_id":51194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:12:42] local.INFO: Packet analysis {"connection_id":51194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:12:42] local.INFO: Extracted packet for processing {"connection_id":51194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13: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-22 13:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:12:42] 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-22 13: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-22 13: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-22 13:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:12:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:12:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":51194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:12:42] local.INFO: GPS data processed {"connection_id":51194,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:12:42] local.INFO: Acknowledgment sent {"connection_id":51194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:13:04] local.INFO: TCP Data received {"connection_id":51193,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4206478012d18b0000722e498006a00092a..."} 
[2026-04-22 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4206478012d18b0000722e498006a00092a..."} 
[2026-04-22 13:13:04] local.INFO: Processing buffer {"connection_id":51193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4206478012d18b0000722e498006a00092a..."} 
[2026-04-22 13:13:04] local.INFO: Packet analysis {"connection_id":51193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db420"} 
[2026-04-22 13:13:04] local.INFO: Extracted packet for processing {"connection_id":51193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db420"} 
[2026-04-22 13:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871934464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:13:04] 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-22 13:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843515000,"timestamp_ms":1776843515000,"timestamp_seconds":1776843515,"priority":1,"record_length":96,"hex_timestamp":"0000019db4206478"} 
[2026-04-22 13: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-22 13:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 13:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:13:04] 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-22 13:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871934464001,"66":12885,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871934464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:13:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871934464001,"power":12885,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":51193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:13:04] local.INFO: GPS data processed {"connection_id":51193,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:13:04] local.INFO: Acknowledgment sent {"connection_id":51193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:13:26] local.INFO: TCP Data received {"connection_id":50258,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:13:26] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:13:26] local.INFO: IMEI packet received {"connection_id":50258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":50258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:13:27] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:13:27] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:13:27] local.INFO: IMEI packet received {"connection_id":50259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:13:32] local.INFO: TCP Data received {"connection_id":50258,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:13:32] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:13:32] local.INFO: IMEI packet received {"connection_id":50258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:13:33] local.INFO: TCP Data received {"connection_id":50258,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:13:33] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:13:33] local.INFO: Packet analysis {"connection_id":50258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:13:33] local.INFO: Extracted packet for processing {"connection_id":50258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13: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-22 13: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:13: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-22 13: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-22 13: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-22 13:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:13:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:13:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":50258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:13:33] local.INFO: GPS data processed {"connection_id":50258,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:13:33] local.INFO: Acknowledgment sent {"connection_id":50258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:13:33] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:13:33] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:13:33] local.INFO: IMEI packet received {"connection_id":50259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":50259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:13:34] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db420b680012d18b0000722e498006a00092b..."} 
[2026-04-22 13:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db420b680012d18b0000722e498006a00092b..."} 
[2026-04-22 13:13:34] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db420b680012d18b0000722e498006a00092b..."} 
[2026-04-22 13:13:34] local.INFO: Packet analysis {"connection_id":50259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db420"} 
[2026-04-22 13:13:34] local.INFO: Extracted packet for processing {"connection_id":50259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db420"} 
[2026-04-22 13:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871939840001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:13:34] 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-22 13:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776843536000,"timestamp_ms":1776843536000,"timestamp_seconds":1776843536,"priority":1,"record_length":96,"hex_timestamp":"0000019db420b680"} 
[2026-04-22 13:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 13:13:34] 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-22 13:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:13:34] 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-22 13:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871939840001,"66":12852,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871939840001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:13:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871939840001,"power":12852,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":50259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:13:34] local.INFO: GPS data processed {"connection_id":50259,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:13:34] local.INFO: Acknowledgment sent {"connection_id":50259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:14:04] local.INFO: TCP Data received {"connection_id":50258,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:14:04] local.INFO: Processing buffer {"connection_id":50258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:14:04] local.INFO: Packet analysis {"connection_id":50258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:14:04] local.INFO: Extracted packet for processing {"connection_id":50258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14: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-22 13:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13: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-22 13:14: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:14:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:14:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":50258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:14:04] local.INFO: GPS data processed {"connection_id":50258,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:14:04] local.INFO: Acknowledgment sent {"connection_id":50258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:14:05] local.INFO: TCP Data received {"connection_id":50259,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4210888012d18b0000722e498006a00092b..."} 
[2026-04-22 13:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4210888012d18b0000722e498006a00092b..."} 
[2026-04-22 13:14:05] local.INFO: Processing buffer {"connection_id":50259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4210888012d18b0000722e498006a00092b..."} 
[2026-04-22 13:14:05] local.INFO: Packet analysis {"connection_id":50259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:14:05] local.INFO: Extracted packet for processing {"connection_id":50259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871945216001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:05] 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-22 13:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776843557000,"timestamp_ms":1776843557000,"timestamp_seconds":1776843557,"priority":1,"record_length":96,"hex_timestamp":"0000019db4210888"} 
[2026-04-22 13: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-22 13:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 13:14:05] 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-22 13: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-22 13: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-22 13:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:14:05] 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-22 13:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871945216001,"66":12841,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871945216001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:14:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871945216001,"power":12841,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":50259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:14:05] local.INFO: GPS data processed {"connection_id":50259,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:14:05] local.INFO: Acknowledgment sent {"connection_id":50259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:14:26] local.INFO: TCP Data received {"connection_id":50637,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:14:26] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:14:26] local.INFO: IMEI packet received {"connection_id":50637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":50637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:14:26] local.INFO: TCP Data received {"connection_id":50518,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:14:26] local.INFO: Processing buffer {"connection_id":50518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:14:26] local.INFO: IMEI packet received {"connection_id":50518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":50518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:14:27] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:14:27] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:14:27] local.INFO: IMEI packet received {"connection_id":50519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:14:28] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:14:28] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:14:28] local.INFO: IMEI packet received {"connection_id":50519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":50519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:14:32] local.INFO: TCP Data received {"connection_id":50637,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:14:32] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:14:32] local.INFO: IMEI packet received {"connection_id":50637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:14:33] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:14:33] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:14:33] local.INFO: IMEI packet received {"connection_id":50519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":50519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:14:33] local.INFO: TCP Data received {"connection_id":50637,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:14:33] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:14:33] local.INFO: Packet analysis {"connection_id":50637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:14:33] local.INFO: Extracted packet for processing {"connection_id":50637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14: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-22 13:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13: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-22 13:14: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-22 13:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:14: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-22 13: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-22 13: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-22 13:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:14:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:14:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":50637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:14:33] local.INFO: GPS data processed {"connection_id":50637,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:14:33] local.INFO: Acknowledgment sent {"connection_id":50637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:14:33] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4248ee0012d18b0000722e498006a00092c..."} 
[2026-04-22 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4248ee0012d18b0000722e498006a00092c..."} 
[2026-04-22 13:14:33] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4248ee0012d18b0000722e498006a00092c..."} 
[2026-04-22 13:14:33] local.INFO: Packet analysis {"connection_id":50519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db424"} 
[2026-04-22 13:14:33] local.INFO: Extracted packet for processing {"connection_id":50519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db424"} 
[2026-04-22 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872004352001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:14:33] 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-22 13:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843788000,"timestamp_ms":1776843788000,"timestamp_seconds":1776843788,"priority":1,"record_length":96,"hex_timestamp":"0000019db4248ee0"} 
[2026-04-22 13: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-22 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 13:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:14:33] 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-22 13:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872004352001,"66":12689,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872004352001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:14:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872004352001,"power":12689,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":50519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:14:34] local.INFO: GPS data processed {"connection_id":50519,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:14:34] local.INFO: Acknowledgment sent {"connection_id":50519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:14:51] local.INFO: TCP Data received {"connection_id":51195,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:14:51] local.INFO: Processing buffer {"connection_id":51195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:14:51] local.INFO: IMEI packet received {"connection_id":51195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":51195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:15:04] local.INFO: TCP Data received {"connection_id":50637,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:15:04] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4216260012d7f888005afdcc80017012c2b..."} 
[2026-04-22 13:15:04] local.INFO: Packet analysis {"connection_id":50637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:15:04] local.INFO: Extracted packet for processing {"connection_id":50637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db421"} 
[2026-04-22 13:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":23,"angle":300,"satellites":43,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871879424001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843580000,"timestamp_ms":1776843580000,"timestamp_seconds":1776843580,"priority":1,"record_length":96,"hex_timestamp":"0000019db4216260"} 
[2026-04-22 13: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-22 13:15: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-22 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 13:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871879424001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871879424001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:15:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:15:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871879424001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":50637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:15:04] local.INFO: GPS data processed {"connection_id":50637,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:15:04] local.INFO: Acknowledgment sent {"connection_id":50637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:15:05] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db424e0e8012d18b0000722e498006a00092c..."} 
[2026-04-22 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db424e0e8012d18b0000722e498006a00092c..."} 
[2026-04-22 13:15:05] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db424e0e8012d18b0000722e498006a00092c..."} 
[2026-04-22 13:15:05] local.INFO: Packet analysis {"connection_id":50519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db424"} 
[2026-04-22 13:15:05] local.INFO: Extracted packet for processing {"connection_id":50519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db424"} 
[2026-04-22 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 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-22 13:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872009728001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:05] 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-22 13:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776843809000,"timestamp_ms":1776843809000,"timestamp_seconds":1776843809,"priority":1,"record_length":96,"hex_timestamp":"0000019db424e0e8"} 
[2026-04-22 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-22 13:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 13:15:05] 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-22 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-22 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-22 13:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:15:05] 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-22 13:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872009728001,"66":11721,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872009728001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:15:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872009728001,"power":11721,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":50519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:15:05] local.INFO: GPS data processed {"connection_id":50519,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:15:05] local.INFO: Acknowledgment sent {"connection_id":50519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:15:31] local.INFO: TCP Data received {"connection_id":50260,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:15:31] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:15:31] local.INFO: IMEI packet received {"connection_id":50260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":50260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:15:32] local.INFO: TCP Data received {"connection_id":50638,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:15:32] local.INFO: Processing buffer {"connection_id":50638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:15:32] local.INFO: IMEI packet received {"connection_id":50638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:15:37] local.INFO: TCP Data received {"connection_id":50260,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:15:37] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:15:37] local.INFO: IMEI packet received {"connection_id":50260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":50260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:15:38] local.INFO: TCP Data received {"connection_id":50638,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:15:38] local.INFO: Processing buffer {"connection_id":50638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:15:38] local.INFO: IMEI packet received {"connection_id":50638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":50638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:15:38] local.INFO: TCP Data received {"connection_id":50260,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:15:38] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:15:38] local.INFO: Packet analysis {"connection_id":50260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:15:38] local.INFO: Extracted packet for processing {"connection_id":50260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15: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-22 13:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:15: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-22 13:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:15:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:15:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":50260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:15:38] local.INFO: GPS data processed {"connection_id":50260,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:15:38] local.INFO: Acknowledgment sent {"connection_id":50260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:15:43] local.INFO: TCP Data received {"connection_id":50260,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:15:43] local.INFO: Processing buffer {"connection_id":50260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:15:43] local.INFO: Packet analysis {"connection_id":50260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:15:43] local.INFO: Extracted packet for processing {"connection_id":50260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:15: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-22 13:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:15:43] 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-22 13:15: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-22 13:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:15:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:15:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":50260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:15:43] local.INFO: GPS data processed {"connection_id":50260,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:15:43] local.INFO: Acknowledgment sent {"connection_id":50260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:16:06] local.INFO: TCP Data received {"connection_id":50638,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db42532f0012d18b0000722e498006a00092c..."} 
[2026-04-22 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db42532f0012d18b0000722e498006a00092c..."} 
[2026-04-22 13:16:06] local.INFO: Processing buffer {"connection_id":50638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db42532f0012d18b0000722e498006a00092c..."} 
[2026-04-22 13:16:06] local.INFO: Packet analysis {"connection_id":50638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:16:06] local.INFO: Extracted packet for processing {"connection_id":50638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756592640,"raw_latitude":119727256,"longitude_deg":75.659264,"latitude_deg":11.9727256,"altitude":106,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d18b000","hex_latitude":"0722e498","is_valid_coordinates":true} 
[2026-04-22 13:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872015104001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113876874555293696,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778921883461523456,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:06] 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-22 13:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776843830000,"timestamp_ms":1776843830000,"timestamp_seconds":1776843830,"priority":1,"record_length":96,"hex_timestamp":"0000019db42532f0"} 
[2026-04-22 13:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-22 13:16:06] 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-22 13:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872015104001,"66":12548,"177":206,"83":42752,"24":0,"16":113876874555293696,"45":1778921883461523456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 13:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872015104001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:16:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 13:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 13:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113876874555293696,"km_value":113876874555293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778921883461523456,"description":"Unknown IO ID 45"} 
[2026-04-22 13:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872015104001,"power":12548,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1778921883461523456}} 
[2026-04-22 13:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":50638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:16:06] local.INFO: GPS data processed {"connection_id":50638,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:16:06] local.INFO: Acknowledgment sent {"connection_id":50638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:16:26] local.INFO: TCP Data received {"connection_id":50520,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:16:26] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:16:26] local.INFO: IMEI packet received {"connection_id":50520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:16:28] local.INFO: TCP Data received {"connection_id":50521,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:16:28] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:16:28] local.INFO: IMEI packet received {"connection_id":50521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":50521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:16:32] local.INFO: TCP Data received {"connection_id":50520,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:16:32] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:16:32] local.INFO: IMEI packet received {"connection_id":50520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":50520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:16:33] local.INFO: TCP Data received {"connection_id":50520,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:16:33] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:16:33] local.INFO: Packet analysis {"connection_id":50520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:16:33] local.INFO: Extracted packet for processing {"connection_id":50520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13: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-22 13: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:16: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-22 13: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-22 13: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-22 13:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:16:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":50520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:16:33] local.INFO: GPS data processed {"connection_id":50520,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:16:33] local.INFO: Acknowledgment sent {"connection_id":50520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:16:33] local.INFO: TCP Data received {"connection_id":50521,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:16:33] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:16:33] local.INFO: IMEI packet received {"connection_id":50521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":50521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:16:33] local.INFO: TCP Data received {"connection_id":50521,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:16:33] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:16:33] local.INFO: IMEI packet received {"connection_id":50521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":50521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:16:34] local.INFO: TCP Data received {"connection_id":50521,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4269a50012d18b0400722de00006a00ce2b..."} 
[2026-04-22 13:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4269a50012d18b0400722de00006a00ce2b..."} 
[2026-04-22 13:16:34] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4269a50012d18b0400722de00006a00ce2b..."} 
[2026-04-22 13:16:34] local.INFO: Packet analysis {"connection_id":50521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db426"} 
[2026-04-22 13:16:34] local.INFO: Extracted packet for processing {"connection_id":50521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db426"} 
[2026-04-22 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119725568,"longitude_deg":75.6592704,"latitude_deg":11.9725568,"altitude":106,"angle":206,"satellites":43,"speed":20,"hex_longitude":"2d18b040","hex_latitude":"0722de00","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872043264001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113877020584181760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779555202159015936,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776843922000,"timestamp_ms":1776843922000,"timestamp_seconds":1776843922,"priority":1,"record_length":96,"hex_timestamp":"0000019db4269a50"} 
[2026-04-22 13: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-22 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 13:16:34] 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-22 13: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-22 13: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-22 13:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:16:34] 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-22 13:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872043264001,"66":13004,"105":206,"83":41984,"24":20,"16":113877020584181760,"45":1779555202159015936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872043264001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:16:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113877020584181760,"km_value":113877020584181.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779555202159015936,"description":"Unknown IO ID 45"} 
[2026-04-22 13:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872043264001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1779555202159015936}} 
[2026-04-22 13:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":50521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:16:34] local.INFO: GPS data processed {"connection_id":50521,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:16:34] local.INFO: Acknowledgment sent {"connection_id":50521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:16:38] local.INFO: TCP Data received {"connection_id":50521,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db426c548012d18a2800722c550006d00be2a..."} 
[2026-04-22 13:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db426c548012d18a2800722c550006d00be2a..."} 
[2026-04-22 13:16:38] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db426c548012d18a2800722c550006d00be2a..."} 
[2026-04-22 13:16:38] local.INFO: Packet analysis {"connection_id":50521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db426"} 
[2026-04-22 13:16:38] local.INFO: Extracted packet for processing {"connection_id":50521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db426"} 
[2026-04-22 13:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119719248,"longitude_deg":75.6589184,"latitude_deg":11.9719248,"altitude":109,"angle":190,"satellites":42,"speed":32,"hex_longitude":"2d18a280","hex_latitude":"0722c550","is_valid_coordinates":true} 
[2026-04-22 13:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872044032001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113877372771500032,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205268992,"note":"Value kept but may cause issues"} 
[2026-04-22 13:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776843933000,"timestamp_ms":1776843933000,"timestamp_seconds":1776843933,"priority":1,"record_length":96,"hex_timestamp":"0000019db426c548"} 
[2026-04-22 13:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 13:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:16:38] 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-22 13:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872044032001,"66":13852,"105":206,"83":41984,"24":32,"16":113877372771500032,"45":1778992252205268992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872044032001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:16:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113877372771500032,"km_value":113877372771500.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205268992,"description":"Unknown IO ID 45"} 
[2026-04-22 13:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872044032001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1778992252205268992}} 
[2026-04-22 13:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":50521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:16:38] local.INFO: GPS data processed {"connection_id":50521,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:16:38] local.INFO: Acknowledgment sent {"connection_id":50521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:17:05] local.INFO: TCP Data received {"connection_id":50520,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:17:05] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:17:05] local.INFO: Packet analysis {"connection_id":50520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:17:05] local.INFO: Extracted packet for processing {"connection_id":50520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13: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-22 13: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:17: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-22 13: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-22 13: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-22 13:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:17:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:17:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":50520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:17:05] local.INFO: GPS data processed {"connection_id":50520,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:17:05] local.INFO: Acknowledgment sent {"connection_id":50520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:17:09] local.INFO: TCP Data received {"connection_id":50521,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db426cd18012d18a2000722bef0006d00b22a..."} 
[2026-04-22 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db426cd18012d18a2000722bef0006d00b22a..."} 
[2026-04-22 13:17:09] local.INFO: Processing buffer {"connection_id":50521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db426cd18012d18a2000722bef0006d00b22a..."} 
[2026-04-22 13:17:09] local.INFO: Packet analysis {"connection_id":50521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db426"} 
[2026-04-22 13:17:09] local.INFO: Extracted packet for processing {"connection_id":50521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db426"} 
[2026-04-22 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":756589056,"raw_latitude":119717616,"longitude_deg":75.6589056,"latitude_deg":11.9717616,"altitude":109,"angle":178,"satellites":42,"speed":33,"hex_longitude":"2d18a200","hex_latitude":"0722bef0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872046848001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113877454375878656,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273879552,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776843935000,"timestamp_ms":1776843935000,"timestamp_seconds":1776843935,"priority":1,"record_length":96,"hex_timestamp":"0000019db426cd18"} 
[2026-04-22 13: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-22 13:17:09] 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-22 13: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 13:17:09] 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-22 13: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-22 13: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-22 13:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:17:09] 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-22 13:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872046848001,"66":13961,"105":206,"83":41984,"24":33,"16":113877454375878656,"45":1775121971273879552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872046848001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:17:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:17:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113877454375878656,"km_value":113877454375878.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273879552,"description":"Unknown IO ID 45"} 
[2026-04-22 13:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872046848001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1775121971273879552}} 
[2026-04-22 13:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":50521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:17:09] local.INFO: GPS data processed {"connection_id":50521,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:17:09] local.INFO: Acknowledgment sent {"connection_id":50521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:17:26] local.INFO: TCP Data received {"connection_id":50262,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:17:26] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:17:26] local.INFO: IMEI packet received {"connection_id":50262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":50262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:17:28] local.INFO: TCP Data received {"connection_id":51196,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:17:28] local.INFO: Processing buffer {"connection_id":51196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:17:28] local.INFO: IMEI packet received {"connection_id":51196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":51196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:17:30] local.INFO: TCP Data received {"connection_id":51196,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:17:30] local.INFO: Processing buffer {"connection_id":51196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:17:30] local.INFO: IMEI packet received {"connection_id":51196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":51196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:17:31] local.INFO: TCP Data received {"connection_id":51196,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db426d8d0012d18a3800722b510006f00a42a..."} 
[2026-04-22 13:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db426d8d0012d18a3800722b510006f00a42a..."} 
[2026-04-22 13:17:31] local.INFO: Processing buffer {"connection_id":51196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db426d8d0012d18a3800722b510006f00a42a..."} 
[2026-04-22 13:17:31] local.INFO: Packet analysis {"connection_id":51196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db426"} 
[2026-04-22 13:17:31] local.INFO: Extracted packet for processing {"connection_id":51196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db426"} 
[2026-04-22 13:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":119715088,"longitude_deg":75.658944,"latitude_deg":11.9715088,"altitude":111,"angle":164,"satellites":42,"speed":34,"hex_longitude":"2d18a380","hex_latitude":"0722b510","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872047360001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113877578929930240,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774981233785106432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776843938000,"timestamp_ms":1776843938000,"timestamp_seconds":1776843938,"priority":1,"record_length":96,"hex_timestamp":"0000019db426d8d0"} 
[2026-04-22 13: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-22 13:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 13:17:31] 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-22 13: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-22 13: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-22 13:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:17:31] 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-22 13:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872047360001,"66":13852,"105":206,"83":41984,"24":34,"16":113877578929930240,"45":1774981233785106432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872047360001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:17:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113877578929930240,"km_value":113877578929930.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774981233785106432,"description":"Unknown IO ID 45"} 
[2026-04-22 13:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872047360001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1774981233785106432}} 
[2026-04-22 13:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":51196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:17:31] local.INFO: GPS data processed {"connection_id":51196,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:17:31] local.INFO: Acknowledgment sent {"connection_id":51196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:17:32] local.INFO: TCP Data received {"connection_id":50262,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:17:32] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:17:32] local.INFO: IMEI packet received {"connection_id":50262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:17:33] local.INFO: TCP Data received {"connection_id":50262,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:17:33] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:17:33] local.INFO: Packet analysis {"connection_id":50262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:17:33] local.INFO: Extracted packet for processing {"connection_id":50262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13: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-22 13:17: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:17: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-22 13: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-22 13: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-22 13:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:17:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:17:33] local.INFO: GPS data processed {"connection_id":50262,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:17:33] local.INFO: Acknowledgment sent {"connection_id":50262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:18:02] local.INFO: TCP Data received {"connection_id":51196,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db42801b0012d181e800721a7d0004b00a029..."} 
[2026-04-22 13:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db42801b0012d181e800721a7d0004b00a029..."} 
[2026-04-22 13:18:02] local.INFO: Processing buffer {"connection_id":51196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db42801b0012d181e800721a7d0004b00a029..."} 
[2026-04-22 13:18:02] local.INFO: Packet analysis {"connection_id":51196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db428"} 
[2026-04-22 13:18:02] local.INFO: Extracted packet for processing {"connection_id":51196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db428"} 
[2026-04-22 13:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646160,"longitude_deg":75.6555392,"latitude_deg":11.964616,"altitude":75,"angle":160,"satellites":41,"speed":8,"hex_longitude":"2d181e80","hex_latitude":"0721a7d0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872067328001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113881405745790976,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585246208,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776844014000,"timestamp_ms":1776844014000,"timestamp_seconds":1776844014,"priority":1,"record_length":96,"hex_timestamp":"0000019db42801b0"} 
[2026-04-22 13: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-22 13:18:02] 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-22 13: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 13:18:02] 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-22 13: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-22 13: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-22 13:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:18:02] 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-22 13:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872067328001,"66":13852,"105":206,"83":41984,"24":8,"16":113881405745790976,"45":1737896905585246208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872067328001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:18:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113881405745790976,"km_value":113881405745790.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585246208,"description":"Unknown IO ID 45"} 
[2026-04-22 13:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872067328001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737896905585246208}} 
[2026-04-22 13:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":51196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:18:02] local.INFO: GPS data processed {"connection_id":51196,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:18:02] local.INFO: Acknowledgment sent {"connection_id":51196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:18:04] local.INFO: TCP Data received {"connection_id":50262,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:18:04] local.INFO: Processing buffer {"connection_id":50262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:18:04] local.INFO: Packet analysis {"connection_id":50262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:18:04] local.INFO: Extracted packet for processing {"connection_id":50262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18: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-22 13:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:18: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-22 13:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:18:04] 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-22 13:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:18:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:18:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:18:04] local.INFO: GPS data processed {"connection_id":50262,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:18:04] local.INFO: Acknowledgment sent {"connection_id":50262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:18:25] local.INFO: TCP Data received {"connection_id":51197,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:18:25] local.INFO: Processing buffer {"connection_id":51197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:18:25] local.INFO: IMEI packet received {"connection_id":51197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":51197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:18:28] local.INFO: TCP Data received {"connection_id":51197,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:18:28] local.INFO: Processing buffer {"connection_id":51197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:18:28] local.INFO: IMEI packet received {"connection_id":51197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":51197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:18:32] local.INFO: TCP Data received {"connection_id":50264,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:18:32] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:18:32] local.INFO: IMEI packet received {"connection_id":50264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:18:32] local.INFO: TCP Data received {"connection_id":51197,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:18:32] local.INFO: Processing buffer {"connection_id":51197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:18:32] local.INFO: IMEI packet received {"connection_id":51197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":51197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:18:33] local.INFO: TCP Data received {"connection_id":51197,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4280598012d181ec00721a710004b008a29..."} 
[2026-04-22 13:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4280598012d181ec00721a710004b008a29..."} 
[2026-04-22 13:18:33] local.INFO: Processing buffer {"connection_id":51197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4280598012d181ec00721a710004b008a29..."} 
[2026-04-22 13:18:33] local.INFO: Packet analysis {"connection_id":51197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db428"} 
[2026-04-22 13:18:33] local.INFO: Extracted packet for processing {"connection_id":51197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db428"} 
[2026-04-22 13:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119645968,"longitude_deg":75.6555456,"latitude_deg":11.9645968,"altitude":75,"angle":138,"satellites":41,"speed":8,"hex_longitude":"2d181ec0","hex_latitude":"0721a710","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872067584001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113881414335725568,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329362432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776844015000,"timestamp_ms":1776844015000,"timestamp_seconds":1776844015,"priority":1,"record_length":96,"hex_timestamp":"0000019db4280598"} 
[2026-04-22 13: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-22 13:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 13:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:18:33] 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-22 13:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872067584001,"66":14363,"105":206,"83":41984,"24":8,"16":113881414335725568,"45":1737967274329362432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872067584001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:18:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113881414335725568,"km_value":113881414335725.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329362432,"description":"Unknown IO ID 45"} 
[2026-04-22 13:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872067584001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737967274329362432}} 
[2026-04-22 13:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":51197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:18:33] local.INFO: GPS data processed {"connection_id":51197,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:18:33] local.INFO: Acknowledgment sent {"connection_id":51197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:18:37] local.INFO: TCP Data received {"connection_id":50264,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:18:37] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:18:37] local.INFO: IMEI packet received {"connection_id":50264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":50264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:18:39] local.INFO: TCP Data received {"connection_id":50264,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:18:39] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:18:39] local.INFO: Packet analysis {"connection_id":50264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:18:39] local.INFO: Extracted packet for processing {"connection_id":50264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18: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-22 13:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:18: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-22 13:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:18:39] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:18:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":50264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:18:39] local.INFO: GPS data processed {"connection_id":50264,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:18:39] local.INFO: Acknowledgment sent {"connection_id":50264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:18:41] local.INFO: TCP Data received {"connection_id":50264,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:18:41] local.INFO: Processing buffer {"connection_id":50264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:18:41] local.INFO: Packet analysis {"connection_id":50264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:18:41] local.INFO: Extracted packet for processing {"connection_id":50264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:18:41] 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-22 13:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:18:41] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:18:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":50264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:18:41] local.INFO: GPS data processed {"connection_id":50264,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:18:41] local.INFO: Acknowledgment sent {"connection_id":50264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:19:04] local.INFO: TCP Data received {"connection_id":51197,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4283090012d18298007219cd8004f007c29..."} 
[2026-04-22 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4283090012d18298007219cd8004f007c29..."} 
[2026-04-22 13:19:04] local.INFO: Processing buffer {"connection_id":51197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4283090012d18298007219cd8004f007c29..."} 
[2026-04-22 13:19:04] local.INFO: Packet analysis {"connection_id":51197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db428"} 
[2026-04-22 13:19:04] local.INFO: Extracted packet for processing {"connection_id":51197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db428"} 
[2026-04-22 13:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643352,"longitude_deg":75.6558208,"latitude_deg":11.9643352,"altitude":79,"angle":124,"satellites":41,"speed":13,"hex_longitude":"2d182980","hex_latitude":"07219cd8","is_valid_coordinates":true} 
[2026-04-22 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-22 13:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872067840001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113881599019319296,"note":"Value kept but may cause issues"} 
[2026-04-22 13:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073490944,"note":"Value kept but may cause issues"} 
[2026-04-22 13:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776844026000,"timestamp_ms":1776844026000,"timestamp_seconds":1776844026,"priority":1,"record_length":96,"hex_timestamp":"0000019db4283090"} 
[2026-04-22 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-22 13:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 13:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 13:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:19:04] 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-22 13:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872067840001,"66":14396,"105":206,"83":41984,"24":13,"16":113881599019319296,"45":1738037643073490944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872067840001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113881599019319296,"km_value":113881599019319.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073490944,"description":"Unknown IO ID 45"} 
[2026-04-22 13:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872067840001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1738037643073490944}} 
[2026-04-22 13:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":51197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:19:04] local.INFO: GPS data processed {"connection_id":51197,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:19:04] local.INFO: Acknowledgment sent {"connection_id":51197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:19:26] local.INFO: TCP Data received {"connection_id":50522,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:19:26] local.INFO: Processing buffer {"connection_id":50522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:19:26] local.INFO: IMEI packet received {"connection_id":50522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":50522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:19:28] local.INFO: TCP Data received {"connection_id":51198,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:19:28] local.INFO: Processing buffer {"connection_id":51198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:19:28] local.INFO: IMEI packet received {"connection_id":51198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":51198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:19:31] local.INFO: TCP Data received {"connection_id":51198,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:19:31] local.INFO: Processing buffer {"connection_id":51198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:19:31] local.INFO: IMEI packet received {"connection_id":51198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":51198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:19:32] local.INFO: TCP Data received {"connection_id":50522,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:19:32] local.INFO: Processing buffer {"connection_id":50522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:19:32] local.INFO: IMEI packet received {"connection_id":50522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:19:32] local.INFO: TCP Data received {"connection_id":51198,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db42974c8012d18c640072152780048006628..."} 
[2026-04-22 13:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db42974c8012d18c640072152780048006628..."} 
[2026-04-22 13:19:32] local.INFO: Processing buffer {"connection_id":51198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db42974c8012d18c640072152780048006628..."} 
[2026-04-22 13:19:32] local.INFO: Packet analysis {"connection_id":51198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db429"} 
[2026-04-22 13:19:32] local.INFO: Extracted packet for processing {"connection_id":51198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db429"} 
[2026-04-22 13:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119624312,"longitude_deg":75.6598336,"latitude_deg":11.9624312,"altitude":72,"angle":102,"satellites":40,"speed":13,"hex_longitude":"2d18c640","hex_latitude":"07215278","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872091648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113883806632509440,"note":"Value kept but may cause issues"} 
[2026-04-22 13:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201944576,"note":"Value kept but may cause issues"} 
[2026-04-22 13:19: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-22 13:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776844109000,"timestamp_ms":1776844109000,"timestamp_seconds":1776844109,"priority":1,"record_length":96,"hex_timestamp":"0000019db42974c8"} 
[2026-04-22 13: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-22 13:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 13:19:32] 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-22 13: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-22 13: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-22 13:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:19:32] 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-22 13:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872091648001,"66":13820,"106":206,"83":41984,"24":13,"16":113883806632509440,"45":1784762489201944576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872091648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:19:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113883806632509440,"km_value":113883806632509.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201944576,"description":"Unknown IO ID 45"} 
[2026-04-22 13:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872091648001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1784762489201944576}} 
[2026-04-22 13:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":51198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:19:32] local.INFO: GPS data processed {"connection_id":51198,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:19:32] local.INFO: Acknowledgment sent {"connection_id":51198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:19:33] local.INFO: TCP Data received {"connection_id":50522,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:19:33] local.INFO: Processing buffer {"connection_id":50522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:19:33] local.INFO: Packet analysis {"connection_id":50522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:19:33] local.INFO: Extracted packet for processing {"connection_id":50522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13: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-22 13:19: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:19: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-22 13: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-22 13: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-22 13:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:19:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:19:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:19:33] local.INFO: GPS data processed {"connection_id":50522,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:19:33] local.INFO: Acknowledgment sent {"connection_id":50522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:20:03] local.INFO: TCP Data received {"connection_id":51198,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db429e9f8012d18e2c0072167480046006124..."} 
[2026-04-22 13:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db429e9f8012d18e2c0072167480046006124..."} 
[2026-04-22 13:20:03] local.INFO: Processing buffer {"connection_id":51198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db429e9f8012d18e2c0072167480046006124..."} 
[2026-04-22 13:20:03] local.INFO: Packet analysis {"connection_id":51198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db429"} 
[2026-04-22 13:20:03] local.INFO: Extracted packet for processing {"connection_id":51198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db429"} 
[2026-04-22 13:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756605632,"raw_latitude":119629640,"longitude_deg":75.6605632,"latitude_deg":11.962964,"altitude":70,"angle":97,"satellites":36,"speed":10,"hex_longitude":"2d18e2c0","hex_latitude":"07216748","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872099072001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113884360683290624,"note":"Value kept but may cause issues"} 
[2026-04-22 13:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792573419807000576,"note":"Value kept but may cause issues"} 
[2026-04-22 13:20: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-22 13:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776844139000,"timestamp_ms":1776844139000,"timestamp_seconds":1776844139,"priority":1,"record_length":96,"hex_timestamp":"0000019db429e9f8"} 
[2026-04-22 13: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-22 13:20:03] 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-22 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 13:20:03] 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-22 13: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-22 13: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-22 13:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:20:03] 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-22 13:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872099072001,"66":14483,"106":206,"83":41984,"24":10,"16":113884360683290624,"45":1792573419807000576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872099072001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:20:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113884360683290624,"km_value":113884360683290.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792573419807000576,"description":"Unknown IO ID 45"} 
[2026-04-22 13:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872099072001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1792573419807000576}} 
[2026-04-22 13:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":51198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:20:03] local.INFO: GPS data processed {"connection_id":51198,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:20:03] local.INFO: Acknowledgment sent {"connection_id":51198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:20:04] local.INFO: TCP Data received {"connection_id":50522,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:20:04] local.INFO: Processing buffer {"connection_id":50522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db425fa28012d7f888005afdcc8000b012c28..."} 
[2026-04-22 13:20:04] local.INFO: Packet analysis {"connection_id":50522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:20:04] local.INFO: Extracted packet for processing {"connection_id":50522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db425"} 
[2026-04-22 13:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":40,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454871956480001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:20: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-22 13:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776843881000,"timestamp_ms":1776843881000,"timestamp_seconds":1776843881,"priority":1,"record_length":96,"hex_timestamp":"0000019db425fa28"} 
[2026-04-22 13: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-22 13:20: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:20:04] 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-22 13: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-22 13: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-22 13:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454871956480001,"66":25299,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454871956480001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:20:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:20:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454871956480001,"power":25299,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:20:04] local.INFO: GPS data processed {"connection_id":50522,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:20:04] local.INFO: Acknowledgment sent {"connection_id":50522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:20:06] local.INFO: TCP Data received {"connection_id":51199,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:20:06] local.INFO: Processing buffer {"connection_id":51199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:20:06] local.INFO: IMEI packet received {"connection_id":51199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":51199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:20:26] local.INFO: TCP Data received {"connection_id":50523,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:20:26] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:20:26] local.INFO: IMEI packet received {"connection_id":50523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":50523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:20:28] local.INFO: TCP Data received {"connection_id":50641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:28] local.INFO: Processing buffer {"connection_id":50641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:28] local.INFO: IMEI packet received {"connection_id":50641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":50641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:20:28] local.INFO: TCP Data received {"connection_id":50641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:28] local.INFO: Processing buffer {"connection_id":50641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:28] local.INFO: IMEI packet received {"connection_id":50641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":50641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:20:29] local.INFO: TCP Data received {"connection_id":50641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:29] local.INFO: Processing buffer {"connection_id":50641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:29] local.INFO: IMEI packet received {"connection_id":50641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":50641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:20:29] local.INFO: TCP Data received {"connection_id":50641,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:29] local.INFO: Processing buffer {"connection_id":50641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:20:29] local.INFO: IMEI packet received {"connection_id":50641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":50641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:20:32] local.INFO: TCP Data received {"connection_id":50523,"ip":"117.224.19.200","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:20:32] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:20:32] local.INFO: IMEI packet received {"connection_id":50523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:20:33] local.INFO: TCP Data received {"connection_id":50523,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db42a91f0012d7f888005afdcc80007012c25..."} 
[2026-04-22 13:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db42a91f0012d7f888005afdcc80007012c25..."} 
[2026-04-22 13:20:33] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db42a91f0012d7f888005afdcc80007012c25..."} 
[2026-04-22 13:20:33] local.INFO: Packet analysis {"connection_id":50523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db42a"} 
[2026-04-22 13:20:33] local.INFO: Extracted packet for processing {"connection_id":50523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db42a"} 
[2026-04-22 13:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":7,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 13:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872033536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 13:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776844182000,"timestamp_ms":1776844182000,"timestamp_seconds":1776844182,"priority":1,"record_length":96,"hex_timestamp":"0000019db42a91f0"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:20:33] 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-22 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-22 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-22 13:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872033536001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872033536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:20:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872033536001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":50523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:20:33] local.INFO: GPS data processed {"connection_id":50523,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:20:33] local.INFO: Acknowledgment sent {"connection_id":50523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:20:56] local.INFO: TCP Data received {"connection_id":51200,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:20:56] local.INFO: Processing buffer {"connection_id":51200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:20:56] local.INFO: IMEI packet received {"connection_id":51200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":51200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:21:04] local.INFO: TCP Data received {"connection_id":50523,"ip":"117.224.19.200","data_length":795,"data_hex":"000000000000030f8e0a0000019db42a91f0012d7f888005afdcc80007012c25..."} 
[2026-04-22 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db42a91f0012d7f888005afdcc80007012c25..."} 
[2026-04-22 13:21:04] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db42a91f0012d7f888005afdcc80007012c25..."} 
[2026-04-22 13:21:04] local.INFO: Packet analysis {"connection_id":50523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db42a"} 
[2026-04-22 13:21:04] local.INFO: Extracted packet for processing {"connection_id":50523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db42a"} 
[2026-04-22 13:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":7,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872033536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776844182000,"timestamp_ms":1776844182000,"timestamp_seconds":1776844182,"priority":1,"record_length":96,"hex_timestamp":"0000019db42a91f0"} 
[2026-04-22 13: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-22 13: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-22 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:21:04] 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-22 13: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-22 13: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-22 13:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.19.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872033536001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"117.224.19.200","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872033536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:21:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:21:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872033536001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":50523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:21:04] local.INFO: GPS data processed {"connection_id":50523,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:21:04] local.INFO: Acknowledgment sent {"connection_id":50523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:25:33] local.INFO: TCP Data received {"connection_id":51204,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:25:33] local.INFO: Processing buffer {"connection_id":51204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:25:33] local.INFO: IMEI packet received {"connection_id":51204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":51204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:25:33] local.INFO: TCP Data received {"connection_id":51204,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db42ec810012d19ad000720af680039007029..."} 
[2026-04-22 13:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db42ec810012d19ad000720af680039007029..."} 
[2026-04-22 13:25:33] local.INFO: Processing buffer {"connection_id":51204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db42ec810012d19ad000720af680039007029..."} 
[2026-04-22 13:25:33] local.INFO: Packet analysis {"connection_id":51204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db42e"} 
[2026-04-22 13:25:33] local.INFO: Extracted packet for processing {"connection_id":51204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db42e"} 
[2026-04-22 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119582568,"longitude_deg":75.6657408,"latitude_deg":11.9582568,"altitude":57,"angle":112,"satellites":41,"speed":27,"hex_longitude":"2d19ad00","hex_latitude":"0720af68","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872178944001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113889226881236992,"note":"Value kept but may cause issues"} 
[2026-04-22 13:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843872234300712960,"note":"Value kept but may cause issues"} 
[2026-04-22 13:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776844458000,"timestamp_ms":1776844458000,"timestamp_seconds":1776844458,"priority":1,"record_length":96,"hex_timestamp":"0000019db42ec810"} 
[2026-04-22 13: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-22 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 13:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:25:33] 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-22 13:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872178944001,"66":14363,"105":206,"83":41984,"24":27,"16":113889226881236992,"45":1843872234300712960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 13:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872178944001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:25:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 13:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113889226881236992,"km_value":113889226881236.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843872234300712960,"description":"Unknown IO ID 45"} 
[2026-04-22 13:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872178944001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1843872234300712960}} 
[2026-04-22 13:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":51204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:25:34] local.INFO: GPS data processed {"connection_id":51204,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:25:34] local.INFO: Acknowledgment sent {"connection_id":51204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:26:05] local.INFO: TCP Data received {"connection_id":51204,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db42fc9e0012d19df0007200898003000b026..."} 
[2026-04-22 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db42fc9e0012d19df0007200898003000b026..."} 
[2026-04-22 13:26:05] local.INFO: Processing buffer {"connection_id":51204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db42fc9e0012d19df0007200898003000b026..."} 
[2026-04-22 13:26:05] local.INFO: Packet analysis {"connection_id":51204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db42f"} 
[2026-04-22 13:26:05] local.INFO: Extracted packet for processing {"connection_id":51204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db42f"} 
[2026-04-22 13:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119539864,"longitude_deg":75.6670208,"latitude_deg":11.9539864,"altitude":48,"angle":176,"satellites":38,"speed":13,"hex_longitude":"2d19df00","hex_latitude":"07200898","is_valid_coordinates":true} 
[2026-04-22 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872197888001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113891619178020864,"note":"Value kept but may cause issues"} 
[2026-04-22 13:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356959744,"note":"Value kept but may cause issues"} 
[2026-04-22 13:26: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-22 13:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776844524000,"timestamp_ms":1776844524000,"timestamp_seconds":1776844524,"priority":1,"record_length":96,"hex_timestamp":"0000019db42fc9e0"} 
[2026-04-22 13:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 13:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:26:05] 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-22 13:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872197888001,"66":14396,"106":206,"83":41984,"24":13,"16":113891619178020864,"45":1864208801356959744},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872197888001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113891619178020864,"km_value":113891619178020.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356959744,"description":"Unknown IO ID 45"} 
[2026-04-22 13:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872197888001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1864208801356959744}} 
[2026-04-22 13:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":51204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:26:05] local.INFO: GPS data processed {"connection_id":51204,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:26:05] local.INFO: Acknowledgment sent {"connection_id":51204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:26:26] local.INFO: TCP Data received {"connection_id":50524,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:26:26] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:26:26] local.INFO: IMEI packet received {"connection_id":50524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":50524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:26:28] local.INFO: TCP Data received {"connection_id":50643,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:26:28] local.INFO: Processing buffer {"connection_id":50643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:26:28] local.INFO: IMEI packet received {"connection_id":50643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":50643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:26:30] local.INFO: TCP Data received {"connection_id":50643,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:26:30] local.INFO: Processing buffer {"connection_id":50643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:26:30] local.INFO: IMEI packet received {"connection_id":50643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":50643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:26:32] local.INFO: TCP Data received {"connection_id":50643,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:26:32] local.INFO: Processing buffer {"connection_id":50643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:26:32] local.INFO: IMEI packet received {"connection_id":50643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:26:33] local.INFO: TCP Data received {"connection_id":50643,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db42fcdc8012d19dec007200728003000c526..."} 
[2026-04-22 13:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db42fcdc8012d19dec007200728003000c526..."} 
[2026-04-22 13:26:33] local.INFO: Processing buffer {"connection_id":50643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db42fcdc8012d19dec007200728003000c526..."} 
[2026-04-22 13:26:33] local.INFO: Packet analysis {"connection_id":50643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db42f"} 
[2026-04-22 13:26:33] local.INFO: Extracted packet for processing {"connection_id":50643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db42f"} 
[2026-04-22 13:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119539496,"longitude_deg":75.6670144,"latitude_deg":11.9539496,"altitude":48,"angle":197,"satellites":38,"speed":15,"hex_longitude":"2d19dec0","hex_latitude":"07200728","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872198144001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113891636357890048,"note":"Value kept but may cause issues"} 
[2026-04-22 13:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356879872,"note":"Value kept but may cause issues"} 
[2026-04-22 13:26: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-22 13:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776844525000,"timestamp_ms":1776844525000,"timestamp_seconds":1776844525,"priority":1,"record_length":96,"hex_timestamp":"0000019db42fcdc8"} 
[2026-04-22 13: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-22 13:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 13:26:33] 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-22 13: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-22 13: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-22 13:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:26: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-22 13:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872198144001,"66":14330,"106":206,"83":41984,"24":15,"16":113891636357890048,"45":1864208801356879872},"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-22 13:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872198144001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:26:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113891636357890048,"km_value":113891636357890.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356879872,"description":"Unknown IO ID 45"} 
[2026-04-22 13:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872198144001,"power":14330,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1864208801356879872}} 
[2026-04-22 13:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:26:33] local.INFO: GPS data processed {"connection_id":50643,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:26:33] local.INFO: Acknowledgment sent {"connection_id":50643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:26:34] local.INFO: TCP Data received {"connection_id":50643,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db42fd1b0012d19dd80072005b8003000d526..."} 
[2026-04-22 13:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db42fd1b0012d19dd80072005b8003000d526..."} 
[2026-04-22 13:26:34] local.INFO: Processing buffer {"connection_id":50643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db42fd1b0012d19dd80072005b8003000d526..."} 
[2026-04-22 13:26:34] local.INFO: Packet analysis {"connection_id":50643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db42f"} 
[2026-04-22 13:26:34] local.INFO: Extracted packet for processing {"connection_id":50643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db42f"} 
[2026-04-22 13:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756669824,"raw_latitude":119539128,"longitude_deg":75.6669824,"latitude_deg":11.9539128,"altitude":48,"angle":213,"satellites":38,"speed":18,"hex_longitude":"2d19dd80","hex_latitude":"072005b8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872198400001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113891662127693824,"note":"Value kept but may cause issues"} 
[2026-04-22 13:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612608000,"note":"Value kept but may cause issues"} 
[2026-04-22 13:26: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-22 13:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776844526000,"timestamp_ms":1776844526000,"timestamp_seconds":1776844526,"priority":1,"record_length":96,"hex_timestamp":"0000019db42fd1b0"} 
[2026-04-22 13: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-22 13:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 13: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-04-22 13:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:26:34] 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-22 13:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872198400001,"66":14330,"106":206,"83":41984,"24":18,"16":113891662127693824,"45":1864138432612608000},"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-22 13:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872198400001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:26:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113891662127693824,"km_value":113891662127693.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612608000,"description":"Unknown IO ID 45"} 
[2026-04-22 13:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872198400001,"power":14330,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1864138432612608000}} 
[2026-04-22 13:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":50643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:26:34] local.INFO: GPS data processed {"connection_id":50643,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:26:34] local.INFO: Acknowledgment sent {"connection_id":50643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:26:51] local.INFO: TCP Data received {"connection_id":50525,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:26:51] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:26:51] local.INFO: IMEI packet received {"connection_id":50525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":50525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:32:21] local.INFO: TCP Data received {"connection_id":50271,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:32:21] local.INFO: Processing buffer {"connection_id":50271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:32:21] local.INFO: IMEI packet received {"connection_id":50271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":50271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:32:33] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:32:33] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:32:33] local.INFO: IMEI packet received {"connection_id":50272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":50272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:32:38] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:32:38] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:32:38] local.INFO: IMEI packet received {"connection_id":50272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":50272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:32:39] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4306238012d199dc0071fef480033010728..."} 
[2026-04-22 13:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4306238012d199dc0071fef480033010728..."} 
[2026-04-22 13:32:39] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4306238012d199dc0071fef480033010728..."} 
[2026-04-22 13:32:39] local.INFO: Packet analysis {"connection_id":50272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:32:39] local.INFO: Extracted packet for processing {"connection_id":50272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756653504,"raw_latitude":119533384,"longitude_deg":75.6653504,"latitude_deg":11.9533384,"altitude":51,"angle":263,"satellites":40,"speed":18,"hex_longitude":"2d199dc0","hex_latitude":"071fef48","is_valid_coordinates":true} 
[2026-04-22 13:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872207360001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827775959040,"note":"Value kept but may cause issues"} 
[2026-04-22 13:32: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-22 13:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776844563000,"timestamp_ms":1776844563000,"timestamp_seconds":1776844563,"priority":1,"record_length":96,"hex_timestamp":"0000019db4306238"} 
[2026-04-22 13:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 13:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872207360001,"66":2481,"106":206,"83":41984,"24":18,"16":113892512531218432,"45":1847038827775959040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872207360001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:32:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:32:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827775959040,"description":"Unknown IO ID 45"} 
[2026-04-22 13:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872207360001,"power":2481,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1847038827775959040}} 
[2026-04-22 13:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":50272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:32:39] local.INFO: GPS data processed {"connection_id":50272,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:32:39] local.INFO: Acknowledgment sent {"connection_id":50272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:32:43] local.INFO: TCP Data received {"connection_id":50272,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:32:43] local.INFO: Processing buffer {"connection_id":50272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:32:43] local.INFO: Packet analysis {"connection_id":50272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:32:43] local.INFO: Extracted packet for processing {"connection_id":50272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756652544,"raw_latitude":119533440,"longitude_deg":75.6652544,"latitude_deg":11.953344,"altitude":52,"angle":276,"satellites":41,"speed":18,"hex_longitude":"2d199a00","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-04-22 13:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208128001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845842559124850688,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776844565000,"timestamp_ms":1776844565000,"timestamp_seconds":1776844565,"priority":1,"record_length":96,"hex_timestamp":"0000019db4306a08"} 
[2026-04-22 13:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-22 13:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1836,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208128001,"66":2383,"106":206,"83":41984,"24":18,"16":113892512531218432,"45":1845842559124850688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208128001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:32:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845842559124850688,"description":"Unknown IO ID 45"} 
[2026-04-22 13:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208128001,"power":2383,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1845842559124850688}} 
[2026-04-22 13:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":50272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:32:43] local.INFO: GPS data processed {"connection_id":50272,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:32:43] local.INFO: Acknowledgment sent {"connection_id":50272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:32:56] local.INFO: TCP Data received {"connection_id":50527,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:32:56] local.INFO: Processing buffer {"connection_id":50527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:32:56] local.INFO: IMEI packet received {"connection_id":50527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":50527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:33:28] local.INFO: TCP Data received {"connection_id":50645,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:33:28] local.INFO: Processing buffer {"connection_id":50645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:33:28] local.INFO: IMEI packet received {"connection_id":50645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":50645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:33:33] local.INFO: TCP Data received {"connection_id":50645,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:33:33] local.INFO: Processing buffer {"connection_id":50645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:33:33] local.INFO: IMEI packet received {"connection_id":50645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":50645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:33:33] local.INFO: TCP Data received {"connection_id":50645,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:33:33] local.INFO: Processing buffer {"connection_id":50645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:33:33] local.INFO: Packet analysis {"connection_id":50645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:33:33] local.INFO: Extracted packet for processing {"connection_id":50645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756652544,"raw_latitude":119533440,"longitude_deg":75.6652544,"latitude_deg":11.953344,"altitude":52,"angle":276,"satellites":41,"speed":18,"hex_longitude":"2d199a00","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-04-22 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-22 13:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208128001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845842559124850688,"note":"Value kept but may cause issues"} 
[2026-04-22 13:33: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-22 13:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776844565000,"timestamp_ms":1776844565000,"timestamp_seconds":1776844565,"priority":1,"record_length":96,"hex_timestamp":"0000019db4306a08"} 
[2026-04-22 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-22 13:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":9,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-22 13:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1836,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 13:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:33:33] 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-22 13:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208128001,"66":2383,"106":206,"83":41984,"24":18,"16":113892512531218432,"45":1845842559124850688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208128001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:33:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845842559124850688,"description":"Unknown IO ID 45"} 
[2026-04-22 13:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208128001,"power":2383,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1845842559124850688}} 
[2026-04-22 13:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":50645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:33:34] local.INFO: GPS data processed {"connection_id":50645,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:33:34] local.INFO: Acknowledgment sent {"connection_id":50645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:34:01] local.INFO: TCP Data received {"connection_id":50646,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:01] local.INFO: Processing buffer {"connection_id":50646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:01] local.INFO: IMEI packet received {"connection_id":50646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":50646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:34:05] local.INFO: TCP Data received {"connection_id":50645,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:34:05] local.INFO: Processing buffer {"connection_id":50645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:34:05] local.INFO: Packet analysis {"connection_id":50645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:34:05] local.INFO: Extracted packet for processing {"connection_id":50645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756652544,"raw_latitude":119533440,"longitude_deg":75.6652544,"latitude_deg":11.953344,"altitude":52,"angle":276,"satellites":41,"speed":18,"hex_longitude":"2d199a00","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-04-22 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-22 13:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208128001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845842559124850688,"note":"Value kept but may cause issues"} 
[2026-04-22 13:34: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-22 13:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776844565000,"timestamp_ms":1776844565000,"timestamp_seconds":1776844565,"priority":1,"record_length":96,"hex_timestamp":"0000019db4306a08"} 
[2026-04-22 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-22 13:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":9,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-22 13:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1836,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 13:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208128001,"66":2383,"106":206,"83":41984,"24":18,"16":113892512531218432,"45":1845842559124850688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208128001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:34:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845842559124850688,"description":"Unknown IO ID 45"} 
[2026-04-22 13:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208128001,"power":2383,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1845842559124850688}} 
[2026-04-22 13:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":50645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:34:05] local.INFO: GPS data processed {"connection_id":50645,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:34:05] local.INFO: Acknowledgment sent {"connection_id":50645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:34:06] local.INFO: TCP Data received {"connection_id":50646,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:06] local.INFO: Processing buffer {"connection_id":50646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:06] local.INFO: IMEI packet received {"connection_id":50646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":50646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:34:07] local.INFO: TCP Data received {"connection_id":50646,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db4313cf8012d7f888005afdcc8000b012c29..."} 
[2026-04-22 13:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4313cf8012d7f888005afdcc8000b012c29..."} 
[2026-04-22 13:34:07] local.INFO: Processing buffer {"connection_id":50646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4313cf8012d7f888005afdcc8000b012c29..."} 
[2026-04-22 13:34:07] local.INFO: Packet analysis {"connection_id":50646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db431"} 
[2026-04-22 13:34:07] local.INFO: Extracted packet for processing {"connection_id":50646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db431"} 
[2026-04-22 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":11,"angle":300,"satellites":41,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872110592001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:34: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-22 13:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776844619000,"timestamp_ms":1776844619000,"timestamp_seconds":1776844619,"priority":1,"record_length":96,"hex_timestamp":"0000019db4313cf8"} 
[2026-04-22 13:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:34:07] 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-22 13:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872110592001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872110592001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:34:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:34:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872110592001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":50646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:34:07] local.INFO: GPS data processed {"connection_id":50646,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:34:07] local.INFO: Acknowledgment sent {"connection_id":50646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:34:31] local.INFO: TCP Data received {"connection_id":50528,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:31] local.INFO: Processing buffer {"connection_id":50528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:31] local.INFO: IMEI packet received {"connection_id":50528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":50528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:34:36] local.INFO: TCP Data received {"connection_id":50528,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:36] local.INFO: Processing buffer {"connection_id":50528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:34:36] local.INFO: IMEI packet received {"connection_id":50528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":50528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:34:37] local.INFO: TCP Data received {"connection_id":50528,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:34:37] local.INFO: Processing buffer {"connection_id":50528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:34:37] local.INFO: Packet analysis {"connection_id":50528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:34:37] local.INFO: Extracted packet for processing {"connection_id":50528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 13:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 13:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 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-22 13:34: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:34: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-22 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-22 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-22 13:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:34: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-22 13:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:34:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:34:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":50528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:34:37] local.INFO: GPS data processed {"connection_id":50528,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:34:37] local.INFO: Acknowledgment sent {"connection_id":50528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:35:08] local.INFO: TCP Data received {"connection_id":50528,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:35:08] local.INFO: Processing buffer {"connection_id":50528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:35:08] local.INFO: Packet analysis {"connection_id":50528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:35:08] local.INFO: Extracted packet for processing {"connection_id":50528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:35: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-22 13:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 13: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-22 13:35: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13: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-22 13:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:35:08] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:35:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":50528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:35:08] local.INFO: GPS data processed {"connection_id":50528,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:35:08] local.INFO: Acknowledgment sent {"connection_id":50528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:35:26] local.INFO: TCP Data received {"connection_id":51207,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:35:26] local.INFO: Processing buffer {"connection_id":51207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:35:26] local.INFO: IMEI packet received {"connection_id":51207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":51207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:35:31] local.INFO: TCP Data received {"connection_id":51207,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:35:31] local.INFO: Processing buffer {"connection_id":51207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:35:31] local.INFO: IMEI packet received {"connection_id":51207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":51207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:35:32] local.INFO: TCP Data received {"connection_id":51207,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:35:32] local.INFO: Processing buffer {"connection_id":51207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:35:32] local.INFO: Packet analysis {"connection_id":51207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:35:32] local.INFO: Extracted packet for processing {"connection_id":51207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 13:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 13:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 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-22 13: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:35: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-22 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-22 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-22 13:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:35: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-22 13:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:35:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:35:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":51207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:35:32] local.INFO: GPS data processed {"connection_id":51207,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:35:32] local.INFO: Acknowledgment sent {"connection_id":51207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:35:52] local.INFO: TCP Data received {"connection_id":50273,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:35:52] local.INFO: Processing buffer {"connection_id":50273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:35:52] local.INFO: IMEI packet received {"connection_id":50273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":50273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:35:58] local.INFO: TCP Data received {"connection_id":50273,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:35:58] local.INFO: Processing buffer {"connection_id":50273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:35:58] local.INFO: IMEI packet received {"connection_id":50273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":50273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:35:59] local.INFO: TCP Data received {"connection_id":50273,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:35:59] local.INFO: Processing buffer {"connection_id":50273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4306a08012d199a00071fef800034011429..."} 
[2026-04-22 13:35:59] local.INFO: Packet analysis {"connection_id":50273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:35:59] local.INFO: Extracted packet for processing {"connection_id":50273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db430"} 
[2026-04-22 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756652544,"raw_latitude":119533440,"longitude_deg":75.6652544,"latitude_deg":11.953344,"altitude":52,"angle":276,"satellites":41,"speed":18,"hex_longitude":"2d199a00","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-04-22 13:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208128001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845842559124850688,"note":"Value kept but may cause issues"} 
[2026-04-22 13:35: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-22 13:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776844565000,"timestamp_ms":1776844565000,"timestamp_seconds":1776844565,"priority":1,"record_length":96,"hex_timestamp":"0000019db4306a08"} 
[2026-04-22 13:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-22 13:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1836,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":50273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":50273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":50273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:35:59] 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-22 13:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208128001,"66":2383,"106":206,"83":41984,"24":18,"16":113892512531218432,"45":1845842559124850688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208128001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:35:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845842559124850688,"description":"Unknown IO ID 45"} 
[2026-04-22 13:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208128001,"power":2383,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1845842559124850688}} 
[2026-04-22 13:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":50273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:35:59] local.INFO: GPS data processed {"connection_id":50273,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:35:59] local.INFO: Acknowledgment sent {"connection_id":50273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:36:03] local.INFO: TCP Data received {"connection_id":51207,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:36:03] local.INFO: Processing buffer {"connection_id":51207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:36:03] local.INFO: Packet analysis {"connection_id":51207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:36:03] local.INFO: Extracted packet for processing {"connection_id":51207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:36: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-22 13:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 13:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:36: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-22 13:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:36: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-22 13:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:36:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:36:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":51207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:36:03] local.INFO: GPS data processed {"connection_id":51207,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:36:03] local.INFO: Acknowledgment sent {"connection_id":51207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:36:26] local.INFO: TCP Data received {"connection_id":50647,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:36:26] local.INFO: Processing buffer {"connection_id":50647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:36:26] local.INFO: IMEI packet received {"connection_id":50647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":50647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:36:27] local.INFO: TCP Data received {"connection_id":51209,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:36:27] local.INFO: Processing buffer {"connection_id":51209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:36:27] local.INFO: IMEI packet received {"connection_id":51209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":51209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:36:31] local.INFO: TCP Data received {"connection_id":50647,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:36:31] local.INFO: Processing buffer {"connection_id":50647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:36:31] local.INFO: IMEI packet received {"connection_id":50647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":50647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:36:32] local.INFO: TCP Data received {"connection_id":50647,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:36:32] local.INFO: Processing buffer {"connection_id":50647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:36:32] local.INFO: Packet analysis {"connection_id":50647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:36:32] local.INFO: Extracted packet for processing {"connection_id":50647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 13: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-22 13: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-22 13: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-22 13: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-22 13: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-22 13: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-22 13:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:36: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-22 13:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:36:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":50647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:36:32] local.INFO: GPS data processed {"connection_id":50647,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:36:32] local.INFO: Acknowledgment sent {"connection_id":50647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:36:33] local.INFO: TCP Data received {"connection_id":51209,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:36:33] local.INFO: Processing buffer {"connection_id":51209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:36:33] local.INFO: IMEI packet received {"connection_id":51209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":51209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:36:33] local.INFO: TCP Data received {"connection_id":51209,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:36:33] local.INFO: Processing buffer {"connection_id":51209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:36:33] local.INFO: Packet analysis {"connection_id":51209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:36:33] local.INFO: Extracted packet for processing {"connection_id":51209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:36: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-22 13:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13: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-22 13:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:36:33] 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-22 13:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:36:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":51209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:36:34] local.INFO: GPS data processed {"connection_id":51209,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:36:34] local.INFO: Acknowledgment sent {"connection_id":51209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:37:03] local.INFO: TCP Data received {"connection_id":50647,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:37:03] local.INFO: Processing buffer {"connection_id":50647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:37:03] local.INFO: Packet analysis {"connection_id":50647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:37:03] local.INFO: Extracted packet for processing {"connection_id":50647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 13: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-22 13: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:37: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-22 13: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-22 13: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-22 13:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:37: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-22 13:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:37:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:37:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":50647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:37:03] local.INFO: GPS data processed {"connection_id":50647,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:37:03] local.INFO: Acknowledgment sent {"connection_id":50647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:37:05] local.INFO: TCP Data received {"connection_id":51209,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:37:05] local.INFO: Processing buffer {"connection_id":51209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:37:05] local.INFO: Packet analysis {"connection_id":51209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:37:05] local.INFO: Extracted packet for processing {"connection_id":51209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37: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-22 13:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13: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-22 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:37:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":51209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:37:05] local.INFO: GPS data processed {"connection_id":51209,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:37:05] local.INFO: Acknowledgment sent {"connection_id":51209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:37:26] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:37:26] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:37:26] local.INFO: IMEI packet received {"connection_id":50275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":50275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:37:31] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:37:31] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:37:31] local.INFO: IMEI packet received {"connection_id":50275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":50275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:37:32] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:37:32] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:37:32] local.INFO: Packet analysis {"connection_id":50275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:37:32] local.INFO: Extracted packet for processing {"connection_id":50275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 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-22 13:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 13:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 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-22 13: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:37: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-22 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-22 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-22 13:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:37: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-22 13:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:37:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:37:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":50275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:37:32] local.INFO: GPS data processed {"connection_id":50275,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:37:32] local.INFO: Acknowledgment sent {"connection_id":50275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:37:33] local.INFO: TCP Data received {"connection_id":50530,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:37:33] local.INFO: Processing buffer {"connection_id":50530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:37:33] local.INFO: IMEI packet received {"connection_id":50530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":50530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:37:38] local.INFO: TCP Data received {"connection_id":50530,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:37:38] local.INFO: Processing buffer {"connection_id":50530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:37:38] local.INFO: IMEI packet received {"connection_id":50530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":50530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:37:38] local.INFO: TCP Data received {"connection_id":50530,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:37:38] local.INFO: Processing buffer {"connection_id":50530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:37:38] local.INFO: Packet analysis {"connection_id":50530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:37:38] local.INFO: Extracted packet for processing {"connection_id":50530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37: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-22 13:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:37:38] 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-22 13:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:37:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":50530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:37:39] local.INFO: GPS data processed {"connection_id":50530,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:37:39] local.INFO: Acknowledgment sent {"connection_id":50530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:37:43] local.INFO: TCP Data received {"connection_id":50530,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:37:43] local.INFO: Processing buffer {"connection_id":50530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:37:43] local.INFO: Packet analysis {"connection_id":50530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:37:43] local.INFO: Extracted packet for processing {"connection_id":50530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:37: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-22 13:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:37:43] 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-22 13:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:37:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:37:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":50530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:37:43] local.INFO: GPS data processed {"connection_id":50530,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:37:43] local.INFO: Acknowledgment sent {"connection_id":50530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:38:03] local.INFO: TCP Data received {"connection_id":50275,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:38:03] local.INFO: Processing buffer {"connection_id":50275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:38:03] local.INFO: Packet analysis {"connection_id":50275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:38:03] local.INFO: Extracted packet for processing {"connection_id":50275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38: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-22 13:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 13:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:38: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-22 13:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:38: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-22 13:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:38:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:38:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":50275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:38:03] local.INFO: GPS data processed {"connection_id":50275,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:38:03] local.INFO: Acknowledgment sent {"connection_id":50275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:38:11] local.INFO: TCP Data received {"connection_id":50531,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:38:11] local.INFO: Processing buffer {"connection_id":50531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:38:11] local.INFO: IMEI packet received {"connection_id":50531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":50531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:38:28] local.INFO: TCP Data received {"connection_id":50648,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:38:28] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:38:28] local.INFO: IMEI packet received {"connection_id":50648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":50648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:38:31] local.INFO: TCP Data received {"connection_id":51210,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:38:31] local.INFO: Processing buffer {"connection_id":51210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:38:31] local.INFO: IMEI packet received {"connection_id":51210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":51210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:38:33] local.INFO: TCP Data received {"connection_id":50648,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:38:33] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:38:33] local.INFO: IMEI packet received {"connection_id":50648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":50648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:38:33] local.INFO: TCP Data received {"connection_id":50648,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:38:33] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:38:33] local.INFO: Packet analysis {"connection_id":50648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:38:33] local.INFO: Extracted packet for processing {"connection_id":50648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38: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-22 13:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13: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-22 13:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:38:33] 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-22 13:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:38:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":50648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:38:34] local.INFO: GPS data processed {"connection_id":50648,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:38:34] local.INFO: Acknowledgment sent {"connection_id":50648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:38:36] local.INFO: TCP Data received {"connection_id":51210,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:38:36] local.INFO: Processing buffer {"connection_id":51210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:38:36] local.INFO: IMEI packet received {"connection_id":51210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":51210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:38:37] local.INFO: TCP Data received {"connection_id":51210,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:38:37] local.INFO: Processing buffer {"connection_id":51210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:38:37] local.INFO: Packet analysis {"connection_id":51210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:38:37] local.INFO: Extracted packet for processing {"connection_id":51210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38: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-22 13:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 13: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-22 13:38: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:38: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-22 13: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-22 13: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-22 13:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:38: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-22 13:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:38:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:38:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":51210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:38:37] local.INFO: GPS data processed {"connection_id":51210,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:38:37] local.INFO: Acknowledgment sent {"connection_id":51210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:38:41] local.INFO: TCP Data received {"connection_id":51210,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:38:41] local.INFO: Processing buffer {"connection_id":51210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db435d4c0012d7f888005afdcc8000d012c25..."} 
[2026-04-22 13:38:41] local.INFO: Packet analysis {"connection_id":51210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:38:41] local.INFO: Extracted packet for processing {"connection_id":51210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db435"} 
[2026-04-22 13:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":95411400,"longitude_deg":76.3332736,"latitude_deg":9.54114,"altitude":13,"angle":300,"satellites":37,"speed":0,"hex_longitude":"2d7f8880","hex_latitude":"05afdcc8","is_valid_coordinates":true} 
[2026-04-22 13:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872222464001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776844920000,"timestamp_ms":1776844920000,"timestamp_seconds":1776844920,"priority":1,"record_length":96,"hex_timestamp":"0000019db435d4c0"} 
[2026-04-22 13:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:38:41] 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-22 13:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:38:41] local.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-22 13:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872222464001,"66":25343,"236":206,"19":45568,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,19,24,16,45]} 
[2026-04-22 13:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872222464001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:38:41] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 13:38:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":45568,"description":"Unknown IO ID 19"} 
[2026-04-22 13:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872222464001,"power":25343,"unknown_236":206,"unknown_19":45568,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":51210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:38:41] local.INFO: GPS data processed {"connection_id":51210,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:38:41] local.INFO: Acknowledgment sent {"connection_id":51210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:38:51] local.INFO: TCP Data received {"connection_id":50532,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:38:51] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:38:51] local.INFO: IMEI packet received {"connection_id":50532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":50532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:39:05] local.INFO: TCP Data received {"connection_id":50648,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:39:05] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:39:05] local.INFO: Packet analysis {"connection_id":50648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:39:05] local.INFO: Extracted packet for processing {"connection_id":50648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:39: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-22 13:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:39:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":50648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:39:05] local.INFO: GPS data processed {"connection_id":50648,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:39:05] local.INFO: Acknowledgment sent {"connection_id":50648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:39:26] local.INFO: TCP Data received {"connection_id":50533,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:39:26] local.INFO: Processing buffer {"connection_id":50533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:39:26] local.INFO: IMEI packet received {"connection_id":50533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":50533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:39:28] local.INFO: TCP Data received {"connection_id":51211,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:39:28] local.INFO: Processing buffer {"connection_id":51211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:39:28] local.INFO: IMEI packet received {"connection_id":51211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":51211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:39:31] local.INFO: TCP Data received {"connection_id":50533,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:39:31] local.INFO: Processing buffer {"connection_id":50533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:39:31] local.INFO: IMEI packet received {"connection_id":50533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":50533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:39:32] local.INFO: TCP Data received {"connection_id":50533,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:39:32] local.INFO: Processing buffer {"connection_id":50533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:39:32] local.INFO: Packet analysis {"connection_id":50533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:39:32] local.INFO: Extracted packet for processing {"connection_id":50533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":26,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872299520001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:39: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-22 13:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776845284000,"timestamp_ms":1776845284000,"timestamp_seconds":1776845284,"priority":1,"record_length":96,"hex_timestamp":"0000019db43b62a0"} 
[2026-04-22 13: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-22 13:39: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:39: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-22 13: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-22 13: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-22 13:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:39:32] 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-22 13:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872299520001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 13:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872299520001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:39:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872299520001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":50533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:39:32] local.INFO: GPS data processed {"connection_id":50533,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:39:32] local.INFO: Acknowledgment sent {"connection_id":50533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:39:33] local.INFO: TCP Data received {"connection_id":51211,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:39:33] local.INFO: Processing buffer {"connection_id":51211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:39:33] local.INFO: IMEI packet received {"connection_id":51211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":51211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:39:34] local.INFO: TCP Data received {"connection_id":51211,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:39:34] local.INFO: Processing buffer {"connection_id":51211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:39:34] local.INFO: Packet analysis {"connection_id":51211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:39:34] local.INFO: Extracted packet for processing {"connection_id":51211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:39: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-22 13:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:39:34] 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-22 13:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:39:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":51211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:39:34] local.INFO: GPS data processed {"connection_id":51211,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:39:34] local.INFO: Acknowledgment sent {"connection_id":51211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:40:03] local.INFO: TCP Data received {"connection_id":50533,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:40:03] local.INFO: Processing buffer {"connection_id":50533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:40:03] local.INFO: Packet analysis {"connection_id":50533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:40:03] local.INFO: Extracted packet for processing {"connection_id":50533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":26,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872299520001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40: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-22 13:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776845284000,"timestamp_ms":1776845284000,"timestamp_seconds":1776845284,"priority":1,"record_length":96,"hex_timestamp":"0000019db43b62a0"} 
[2026-04-22 13: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-22 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:40: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-22 13: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-22 13: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-22 13:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:40:03] 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-22 13:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872299520001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 13:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872299520001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:40:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872299520001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":50533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:40:03] local.INFO: GPS data processed {"connection_id":50533,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:40:03] local.INFO: Acknowledgment sent {"connection_id":50533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:40:05] local.INFO: TCP Data received {"connection_id":51211,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:40:05] local.INFO: Processing buffer {"connection_id":51211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:40:05] local.INFO: Packet analysis {"connection_id":51211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:40:05] local.INFO: Extracted packet for processing {"connection_id":51211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40: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-22 13:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13: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-22 13:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:40:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":51211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:40:05] local.INFO: GPS data processed {"connection_id":51211,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:40:05] local.INFO: Acknowledgment sent {"connection_id":51211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:40:26] local.INFO: TCP Data received {"connection_id":50650,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:40:26] local.INFO: Processing buffer {"connection_id":50650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:40:26] local.INFO: IMEI packet received {"connection_id":50650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":50650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:40:27] local.INFO: TCP Data received {"connection_id":51212,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:40:27] local.INFO: Processing buffer {"connection_id":51212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:40:27] local.INFO: IMEI packet received {"connection_id":51212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":51212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:40:31] local.INFO: TCP Data received {"connection_id":50650,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:40:31] local.INFO: Processing buffer {"connection_id":50650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:40:31] local.INFO: IMEI packet received {"connection_id":50650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":50650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:40:32] local.INFO: TCP Data received {"connection_id":50650,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:40:32] local.INFO: Processing buffer {"connection_id":50650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:40:32] local.INFO: Packet analysis {"connection_id":50650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:40:32] local.INFO: Extracted packet for processing {"connection_id":50650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":26,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 13:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872299520001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40: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-22 13:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776845284000,"timestamp_ms":1776845284000,"timestamp_seconds":1776845284,"priority":1,"record_length":96,"hex_timestamp":"0000019db43b62a0"} 
[2026-04-22 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-22 13:40: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:40: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-22 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-22 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-22 13:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:40:32] 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-22 13:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872299520001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 13:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872299520001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:40:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872299520001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":50650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:40:32] local.INFO: GPS data processed {"connection_id":50650,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:40:32] local.INFO: Acknowledgment sent {"connection_id":50650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:40:33] local.INFO: TCP Data received {"connection_id":51212,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:40:33] local.INFO: Processing buffer {"connection_id":51212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:40:33] local.INFO: IMEI packet received {"connection_id":51212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":51212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:40:33] local.INFO: TCP Data received {"connection_id":51212,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:40:33] local.INFO: Processing buffer {"connection_id":51212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:40:33] local.INFO: Packet analysis {"connection_id":51212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:40:33] local.INFO: Extracted packet for processing {"connection_id":51212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:40: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-22 13:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13: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-22 13:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:40:33] 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-22 13:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:40:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":51212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:40:34] local.INFO: GPS data processed {"connection_id":51212,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:40:34] local.INFO: Acknowledgment sent {"connection_id":51212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:41:03] local.INFO: TCP Data received {"connection_id":50650,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:41:03] local.INFO: Processing buffer {"connection_id":50650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:41:03] local.INFO: Packet analysis {"connection_id":50650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:41:03] local.INFO: Extracted packet for processing {"connection_id":50650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":26,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872299520001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41: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-22 13:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776845284000,"timestamp_ms":1776845284000,"timestamp_seconds":1776845284,"priority":1,"record_length":96,"hex_timestamp":"0000019db43b62a0"} 
[2026-04-22 13:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:41: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-22 13:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:41:03] 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-22 13:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872299520001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 13:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872299520001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:41:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872299520001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":50650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:41:03] local.INFO: GPS data processed {"connection_id":50650,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:41:03] local.INFO: Acknowledgment sent {"connection_id":50650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:41:05] local.INFO: TCP Data received {"connection_id":51212,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:41:05] local.INFO: Processing buffer {"connection_id":51212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4390cf8012d197540071fecc0003c011429..."} 
[2026-04-22 13:41:05] local.INFO: Packet analysis {"connection_id":51212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:41:05] local.INFO: Extracted packet for processing {"connection_id":51212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db439"} 
[2026-04-22 13:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872208640001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844787027962200064,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41: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-22 13:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776845131000,"timestamp_ms":1776845131000,"timestamp_seconds":1776845131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4390cf8"} 
[2026-04-22 13: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-22 13:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 13:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872208640001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1844787027962200064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872208640001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:41:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844787027962200064,"description":"Unknown IO ID 45"} 
[2026-04-22 13:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872208640001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1844787027962200064}} 
[2026-04-22 13:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":51212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:41:05] local.INFO: GPS data processed {"connection_id":51212,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:41:05] local.INFO: Acknowledgment sent {"connection_id":51212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:41:26] local.INFO: TCP Data received {"connection_id":50276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:41:26] local.INFO: Processing buffer {"connection_id":50276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:41:26] local.INFO: IMEI packet received {"connection_id":50276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":50276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:41:31] local.INFO: TCP Data received {"connection_id":50276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:41:31] local.INFO: Processing buffer {"connection_id":50276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:41:31] local.INFO: IMEI packet received {"connection_id":50276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":50276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:41:32] local.INFO: TCP Data received {"connection_id":50276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:41:32] local.INFO: Processing buffer {"connection_id":50276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:41:32] local.INFO: Packet analysis {"connection_id":50276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:41:32] local.INFO: Extracted packet for processing {"connection_id":50276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":26,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 13:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872299520001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41: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-22 13:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776845284000,"timestamp_ms":1776845284000,"timestamp_seconds":1776845284,"priority":1,"record_length":96,"hex_timestamp":"0000019db43b62a0"} 
[2026-04-22 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-22 13: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:41: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-22 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-22 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-22 13:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:41: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-22 13:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872299520001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"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-22 13:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872299520001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:41:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872299520001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":50276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:41:32] local.INFO: GPS data processed {"connection_id":50276,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:41:32] local.INFO: Acknowledgment sent {"connection_id":50276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:41:33] local.INFO: TCP Data received {"connection_id":50651,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:41:33] local.INFO: Processing buffer {"connection_id":50651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:41:33] local.INFO: IMEI packet received {"connection_id":50651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":50651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:41:38] local.INFO: TCP Data received {"connection_id":50651,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:41:38] local.INFO: Processing buffer {"connection_id":50651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:41:38] local.INFO: IMEI packet received {"connection_id":50651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":50651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:41:39] local.INFO: TCP Data received {"connection_id":50651,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:41:39] local.INFO: Processing buffer {"connection_id":50651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:41:39] local.INFO: Packet analysis {"connection_id":50651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:41:39] local.INFO: Extracted packet for processing {"connection_id":50651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872353536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41: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-22 13:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776845432000,"timestamp_ms":1776845432000,"timestamp_seconds":1776845432,"priority":1,"record_length":96,"hex_timestamp":"0000019db43da4c0"} 
[2026-04-22 13:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:41:39] 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-22 13:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 13:41: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-22 13:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:41:39] 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-22 13:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872353536001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872353536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:41:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:41:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872353536001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":50651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:41:39] local.INFO: GPS data processed {"connection_id":50651,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:41:39] local.INFO: Acknowledgment sent {"connection_id":50651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:41:43] local.INFO: TCP Data received {"connection_id":50651,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:41:43] local.INFO: Processing buffer {"connection_id":50651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:41:43] local.INFO: Packet analysis {"connection_id":50651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:41:43] local.INFO: Extracted packet for processing {"connection_id":50651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872353536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13: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-22 13:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776845432000,"timestamp_ms":1776845432000,"timestamp_seconds":1776845432,"priority":1,"record_length":96,"hex_timestamp":"0000019db43da4c0"} 
[2026-04-22 13: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-22 13:41:43] 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-22 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 13:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 13: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-22 13: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-22 13:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:41:43] 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-22 13:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872353536001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872353536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:41:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:41:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872353536001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":50651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:41:43] local.INFO: GPS data processed {"connection_id":50651,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:41:43] local.INFO: Acknowledgment sent {"connection_id":50651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:42:03] local.INFO: TCP Data received {"connection_id":50276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:42:03] local.INFO: Processing buffer {"connection_id":50276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:42:03] local.INFO: Packet analysis {"connection_id":50276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:42:03] local.INFO: Extracted packet for processing {"connection_id":50276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":26,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872299520001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42: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-22 13:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776845284000,"timestamp_ms":1776845284000,"timestamp_seconds":1776845284,"priority":1,"record_length":96,"hex_timestamp":"0000019db43b62a0"} 
[2026-04-22 13: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-22 13:42: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:42: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-22 13: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-22 13: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-22 13:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:42: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-22 13:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872299520001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"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-22 13:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872299520001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:42:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:42:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872299520001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":50276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:42:03] local.INFO: GPS data processed {"connection_id":50276,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:42:03] local.INFO: Acknowledgment sent {"connection_id":50276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:42:28] local.INFO: TCP Data received {"connection_id":50652,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:42:28] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:42:28] local.INFO: IMEI packet received {"connection_id":50652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":50652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:42:31] local.INFO: TCP Data received {"connection_id":51214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:42:31] local.INFO: Processing buffer {"connection_id":51214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:42:31] local.INFO: IMEI packet received {"connection_id":51214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":51214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:42:33] local.INFO: TCP Data received {"connection_id":50652,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:42:33] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:42:33] local.INFO: IMEI packet received {"connection_id":50652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":50652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:42:33] local.INFO: TCP Data received {"connection_id":50652,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:42:33] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:42:33] local.INFO: Packet analysis {"connection_id":50652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:42:33] local.INFO: Extracted packet for processing {"connection_id":50652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872353536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42: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-22 13:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776845432000,"timestamp_ms":1776845432000,"timestamp_seconds":1776845432,"priority":1,"record_length":96,"hex_timestamp":"0000019db43da4c0"} 
[2026-04-22 13: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-22 13:42:33] 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-22 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 13:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:42:33] 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-22 13:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872353536001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872353536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:42:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872353536001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":50652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:42:34] local.INFO: GPS data processed {"connection_id":50652,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:42:34] local.INFO: Acknowledgment sent {"connection_id":50652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:42:36] local.INFO: TCP Data received {"connection_id":51214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:42:36] local.INFO: Processing buffer {"connection_id":51214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:42:36] local.INFO: IMEI packet received {"connection_id":51214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":51214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:42:37] local.INFO: TCP Data received {"connection_id":51214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:42:37] local.INFO: Processing buffer {"connection_id":51214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:42:37] local.INFO: Packet analysis {"connection_id":51214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:42:37] local.INFO: Extracted packet for processing {"connection_id":51214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":26,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872299520001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:37] 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-22 13:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776845284000,"timestamp_ms":1776845284000,"timestamp_seconds":1776845284,"priority":1,"record_length":96,"hex_timestamp":"0000019db43b62a0"} 
[2026-04-22 13:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:42: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-22 13:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872299520001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"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-22 13:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872299520001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:42:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872299520001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":51214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:42:37] local.INFO: GPS data processed {"connection_id":51214,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:42:37] local.INFO: Acknowledgment sent {"connection_id":51214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:42:41] local.INFO: TCP Data received {"connection_id":51214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:42:41] local.INFO: Processing buffer {"connection_id":51214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:42:41] local.INFO: Packet analysis {"connection_id":51214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:42:41] local.INFO: Extracted packet for processing {"connection_id":51214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":26,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872299520001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:42:41] 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-22 13:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776845284000,"timestamp_ms":1776845284000,"timestamp_seconds":1776845284,"priority":1,"record_length":96,"hex_timestamp":"0000019db43b62a0"} 
[2026-04-22 13:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:42:41] 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-22 13:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:42:41] local.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-22 13:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872299520001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"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-22 13:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872299520001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:42:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872299520001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":51214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:42:41] local.INFO: GPS data processed {"connection_id":51214,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:42:41] local.INFO: Acknowledgment sent {"connection_id":51214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:43:04] local.INFO: TCP Data received {"connection_id":50652,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:43:04] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:43:04] local.INFO: Packet analysis {"connection_id":50652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:43:04] local.INFO: Extracted packet for processing {"connection_id":50652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872353536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:43: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-22 13:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776845432000,"timestamp_ms":1776845432000,"timestamp_seconds":1776845432,"priority":1,"record_length":96,"hex_timestamp":"0000019db43da4c0"} 
[2026-04-22 13:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 13:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:43:04] 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-22 13:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872353536001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872353536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:43:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872353536001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":50652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:43:05] local.INFO: GPS data processed {"connection_id":50652,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:43:05] local.INFO: Acknowledgment sent {"connection_id":50652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:43:26] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:43:26] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:43:26] local.INFO: IMEI packet received {"connection_id":50653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":50653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:43:28] local.INFO: TCP Data received {"connection_id":50654,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:43:28] local.INFO: Processing buffer {"connection_id":50654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:43:28] local.INFO: IMEI packet received {"connection_id":50654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":50654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:43:31] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:43:31] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:43:31] local.INFO: IMEI packet received {"connection_id":50653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":50653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:43:32] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:43:32] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43b62a0012d7f864005afda20001a013329..."} 
[2026-04-22 13:43:32] local.INFO: Packet analysis {"connection_id":50653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:43:32] local.INFO: Extracted packet for processing {"connection_id":50653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43b"} 
[2026-04-22 13:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":26,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872299520001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801563170816,"note":"Value kept but may cause issues"} 
[2026-04-22 13:43: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-22 13:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776845284000,"timestamp_ms":1776845284000,"timestamp_seconds":1776845284,"priority":1,"record_length":96,"hex_timestamp":"0000019db43b62a0"} 
[2026-04-22 13: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-22 13:43: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:43: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-22 13: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-22 13: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-22 13:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13: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-22 13:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872299520001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189735801563170816},"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-22 13:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872299520001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:43:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801563170816,"description":"Unknown IO ID 45"} 
[2026-04-22 13:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872299520001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189735801563170816}} 
[2026-04-22 13:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":50653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:43:32] local.INFO: GPS data processed {"connection_id":50653,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:43:32] local.INFO: Acknowledgment sent {"connection_id":50653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:43:33] local.INFO: TCP Data received {"connection_id":50654,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:43:33] local.INFO: Processing buffer {"connection_id":50654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:43:33] local.INFO: IMEI packet received {"connection_id":50654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":50654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:43:33] local.INFO: TCP Data received {"connection_id":50654,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:43:33] local.INFO: Processing buffer {"connection_id":50654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:43:33] local.INFO: Packet analysis {"connection_id":50654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:43:33] local.INFO: Extracted packet for processing {"connection_id":50654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872353536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:43: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-22 13:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776845432000,"timestamp_ms":1776845432000,"timestamp_seconds":1776845432,"priority":1,"record_length":96,"hex_timestamp":"0000019db43da4c0"} 
[2026-04-22 13: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-22 13:43:33] 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-22 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 13:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:43:33] 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-22 13:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872353536001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872353536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:43:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872353536001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":50654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:43:33] local.INFO: GPS data processed {"connection_id":50654,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:43:33] local.INFO: Acknowledgment sent {"connection_id":50654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:44:02] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:44:02] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:44:02] local.INFO: Packet analysis {"connection_id":50653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:44:02] local.INFO: Extracted packet for processing {"connection_id":50653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44:02] 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-22 13:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13: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-22 13:44: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-22 13:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:44: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-22 13: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-22 13: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-22 13:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:44: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-22 13:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:44:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":50653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:44:02] local.INFO: GPS data processed {"connection_id":50653,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:44:02] local.INFO: Acknowledgment sent {"connection_id":50653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:44:05] local.INFO: TCP Data received {"connection_id":50654,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:44:05] local.INFO: Processing buffer {"connection_id":50654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:44:05] local.INFO: Packet analysis {"connection_id":50654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:44:05] local.INFO: Extracted packet for processing {"connection_id":50654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872353536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44: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-22 13:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776845432000,"timestamp_ms":1776845432000,"timestamp_seconds":1776845432,"priority":1,"record_length":96,"hex_timestamp":"0000019db43da4c0"} 
[2026-04-22 13: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-22 13:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 13:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872353536001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872353536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:44:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872353536001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":50654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:44:05] local.INFO: GPS data processed {"connection_id":50654,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:44:05] local.INFO: Acknowledgment sent {"connection_id":50654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:44:16] local.INFO: TCP Data received {"connection_id":50536,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:44:16] local.INFO: Processing buffer {"connection_id":50536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:44:16] local.INFO: IMEI packet received {"connection_id":50536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":50536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:44:26] local.INFO: TCP Data received {"connection_id":51215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:44:26] local.INFO: Processing buffer {"connection_id":51215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:44:26] local.INFO: IMEI packet received {"connection_id":51215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":51215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:44:27] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:44:27] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:44:27] local.INFO: IMEI packet received {"connection_id":50277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":50277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:44:31] local.INFO: TCP Data received {"connection_id":51215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:44:31] local.INFO: Processing buffer {"connection_id":51215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:44:31] local.INFO: IMEI packet received {"connection_id":51215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":51215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:44:31] local.INFO: TCP Data received {"connection_id":51215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:44:31] local.INFO: Processing buffer {"connection_id":51215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:44:31] local.INFO: Packet analysis {"connection_id":51215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:44:31] local.INFO: Extracted packet for processing {"connection_id":51215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44: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-22 13:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13: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-22 13: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:44: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-22 13: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-22 13: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-22 13:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:44: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-22 13:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:44:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":51215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:44:31] local.INFO: GPS data processed {"connection_id":51215,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:44:31] local.INFO: Acknowledgment sent {"connection_id":51215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:44:33] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:44:33] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:44:33] local.INFO: IMEI packet received {"connection_id":50277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":50277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:44:33] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:44:33] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:44:33] local.INFO: Packet analysis {"connection_id":50277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:44:33] local.INFO: Extracted packet for processing {"connection_id":50277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872353536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:44: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-22 13:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776845432000,"timestamp_ms":1776845432000,"timestamp_seconds":1776845432,"priority":1,"record_length":96,"hex_timestamp":"0000019db43da4c0"} 
[2026-04-22 13: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-22 13:44:33] 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-22 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 13:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:44:33] 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-22 13:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872353536001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872353536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:44:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872353536001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":50277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:44:34] local.INFO: GPS data processed {"connection_id":50277,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:44:34] local.INFO: Acknowledgment sent {"connection_id":50277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:44:56] local.INFO: TCP Data received {"connection_id":50278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:44:56] local.INFO: Processing buffer {"connection_id":50278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:44:56] local.INFO: IMEI packet received {"connection_id":50278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":50278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:45:02] local.INFO: TCP Data received {"connection_id":51215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:45:02] local.INFO: Processing buffer {"connection_id":51215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:45:02] local.INFO: Packet analysis {"connection_id":51215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:45:02] local.INFO: Extracted packet for processing {"connection_id":51215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:45:02] 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-22 13:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13: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-22 13:45: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:45: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-22 13: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-22 13: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-22 13:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:45: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-22 13:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:45:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":51215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:45:02] local.INFO: GPS data processed {"connection_id":51215,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:45:02] local.INFO: Acknowledgment sent {"connection_id":51215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:45:05] local.INFO: TCP Data received {"connection_id":50277,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:45:05] local.INFO: Processing buffer {"connection_id":50277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43da4c0012d197540071fecc0003c011429..."} 
[2026-04-22 13:45:05] local.INFO: Packet analysis {"connection_id":50277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:45:05] local.INFO: Extracted packet for processing {"connection_id":50277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43d"} 
[2026-04-22 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872353536001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:45: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-22 13:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776845432000,"timestamp_ms":1776845432000,"timestamp_seconds":1776845432,"priority":1,"record_length":96,"hex_timestamp":"0000019db43da4c0"} 
[2026-04-22 13:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 13:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872353536001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872353536001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:45:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872353536001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":50277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:45:05] local.INFO: GPS data processed {"connection_id":50277,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:45:05] local.INFO: Acknowledgment sent {"connection_id":50277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:45:26] local.INFO: TCP Data received {"connection_id":50537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:45:26] local.INFO: Processing buffer {"connection_id":50537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:45:26] local.INFO: IMEI packet received {"connection_id":50537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":50537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:45:27] local.INFO: TCP Data received {"connection_id":50538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:27] local.INFO: Processing buffer {"connection_id":50538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:27] local.INFO: IMEI packet received {"connection_id":50538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:45:31] local.INFO: TCP Data received {"connection_id":50537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:45:31] local.INFO: Processing buffer {"connection_id":50537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:45:31] local.INFO: IMEI packet received {"connection_id":50537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":50537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:45:32] local.INFO: TCP Data received {"connection_id":50537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:45:32] local.INFO: Processing buffer {"connection_id":50537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:45:32] local.INFO: Packet analysis {"connection_id":50537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:45:32] local.INFO: Extracted packet for processing {"connection_id":50537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 13:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:45: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-22 13:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 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-22 13: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:45: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-22 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-22 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-22 13:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:45: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-22 13:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:45:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":50537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:45:32] local.INFO: GPS data processed {"connection_id":50537,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:45:32] local.INFO: Acknowledgment sent {"connection_id":50537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:45:41] local.INFO: TCP Data received {"connection_id":50538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:41] local.INFO: Processing buffer {"connection_id":50538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:41] local.INFO: IMEI packet received {"connection_id":50538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":50538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:45:42] local.INFO: TCP Data received {"connection_id":50538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:42] local.INFO: Processing buffer {"connection_id":50538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:42] local.INFO: IMEI packet received {"connection_id":50538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":50538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:45:43] local.INFO: TCP Data received {"connection_id":50538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:43] local.INFO: Processing buffer {"connection_id":50538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:45:43] local.INFO: IMEI packet received {"connection_id":50538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":50538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:46:03] local.INFO: TCP Data received {"connection_id":50537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:46:03] local.INFO: Processing buffer {"connection_id":50537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:46:03] local.INFO: Packet analysis {"connection_id":50537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:46:03] local.INFO: Extracted packet for processing {"connection_id":50537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:46: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-22 13:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:46: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-22 13:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:46: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-22 13:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:46:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":50537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:46:03] local.INFO: GPS data processed {"connection_id":50537,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:46:03] local.INFO: Acknowledgment sent {"connection_id":50537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:46:26] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:46:26] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:46:26] local.INFO: IMEI packet received {"connection_id":50279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":50279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:46:31] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:46:31] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:46:31] local.INFO: IMEI packet received {"connection_id":50279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":50279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:46:31] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:46:31] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:46:31] local.INFO: Packet analysis {"connection_id":50279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:46:31] local.INFO: Extracted packet for processing {"connection_id":50279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:46: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-22 13:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13: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-22 13:46: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:46: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-22 13: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-22 13: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-22 13:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:46: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-22 13:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:46:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:46:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":50279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:46:31] local.INFO: GPS data processed {"connection_id":50279,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:46:31] local.INFO: Acknowledgment sent {"connection_id":50279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:47:03] local.INFO: TCP Data received {"connection_id":50279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:47:03] local.INFO: Processing buffer {"connection_id":50279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:47:03] local.INFO: Packet analysis {"connection_id":50279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:47:03] local.INFO: Extracted packet for processing {"connection_id":50279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:47: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-22 13:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13: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-22 13:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:47: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-22 13: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-22 13: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-22 13:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:47: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-22 13:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:47:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":50279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:47:03] local.INFO: GPS data processed {"connection_id":50279,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:47:03] local.INFO: Acknowledgment sent {"connection_id":50279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:47:26] local.INFO: TCP Data received {"connection_id":51217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:47:26] local.INFO: Processing buffer {"connection_id":51217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:47:26] local.INFO: IMEI packet received {"connection_id":51217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":51217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:47:31] local.INFO: TCP Data received {"connection_id":51217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:47:31] local.INFO: Processing buffer {"connection_id":51217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:47:31] local.INFO: IMEI packet received {"connection_id":51217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":51217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:47:31] local.INFO: TCP Data received {"connection_id":51217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:47:31] local.INFO: Processing buffer {"connection_id":51217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:47:31] local.INFO: Packet analysis {"connection_id":51217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:47:31] local.INFO: Extracted packet for processing {"connection_id":51217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:47: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-22 13:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:47: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-22 13:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:47: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-22 13:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:47:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":51217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:47:31] local.INFO: GPS data processed {"connection_id":51217,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:47:31] local.INFO: Acknowledgment sent {"connection_id":51217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:48:02] local.INFO: TCP Data received {"connection_id":51217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:48:02] local.INFO: Processing buffer {"connection_id":51217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:48:02] local.INFO: Packet analysis {"connection_id":51217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:48:02] local.INFO: Extracted packet for processing {"connection_id":51217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:48:02] 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-22 13:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:48: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-22 13:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:48: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-22 13:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:48: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-22 13:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:48:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":51217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:48:02] local.INFO: GPS data processed {"connection_id":51217,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:48:02] local.INFO: Acknowledgment sent {"connection_id":51217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:48:31] local.INFO: TCP Data received {"connection_id":50540,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:48:31] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:48:31] local.INFO: IMEI packet received {"connection_id":50540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":50540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:48:36] local.INFO: TCP Data received {"connection_id":50540,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:48:36] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:48:36] local.INFO: IMEI packet received {"connection_id":50540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":50540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:48:36] local.INFO: TCP Data received {"connection_id":50540,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:48:36] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:48:36] local.INFO: Packet analysis {"connection_id":50540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:48:36] local.INFO: Extracted packet for processing {"connection_id":50540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:48: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-22 13:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:48: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-22 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:48:36] 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-22 13:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:48: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-22 13:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:48:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":50540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:48:36] local.INFO: GPS data processed {"connection_id":50540,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:48:36] local.INFO: Acknowledgment sent {"connection_id":50540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:48:41] local.INFO: TCP Data received {"connection_id":50540,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:48:41] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db43ffa68012d7f864005afda20001601332b..."} 
[2026-04-22 13:48:41] local.INFO: Packet analysis {"connection_id":50540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:48:41] local.INFO: Extracted packet for processing {"connection_id":50540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db43f"} 
[2026-04-22 13:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":22,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872392704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:48:41] 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-22 13:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776845585000,"timestamp_ms":1776845585000,"timestamp_seconds":1776845585,"priority":1,"record_length":96,"hex_timestamp":"0000019db43ffa68"} 
[2026-04-22 13:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:48:41] 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-22 13:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872392704001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872392704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:48:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872392704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":50540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:48:41] local.INFO: GPS data processed {"connection_id":50540,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:48:41] local.INFO: Acknowledgment sent {"connection_id":50540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:49:26] local.INFO: TCP Data received {"connection_id":50659,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:49:26] local.INFO: Processing buffer {"connection_id":50659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:49:26] local.INFO: IMEI packet received {"connection_id":50659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":50659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:49:31] local.INFO: TCP Data received {"connection_id":50659,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:49:31] local.INFO: Processing buffer {"connection_id":50659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:49:31] local.INFO: IMEI packet received {"connection_id":50659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":50659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:49:32] local.INFO: TCP Data received {"connection_id":50659,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:49:32] local.INFO: Processing buffer {"connection_id":50659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:49:32] local.INFO: Packet analysis {"connection_id":50659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:49:32] local.INFO: Extracted packet for processing {"connection_id":50659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 13:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:49: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-22 13:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 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-22 13:49: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:49: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-22 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-22 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-22 13:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:49: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-22 13:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":50659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:49:32] local.INFO: GPS data processed {"connection_id":50659,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:49:32] local.INFO: Acknowledgment sent {"connection_id":50659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:50:03] local.INFO: TCP Data received {"connection_id":50659,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:50:03] local.INFO: Processing buffer {"connection_id":50659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:50:03] local.INFO: Packet analysis {"connection_id":50659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:50:03] local.INFO: Extracted packet for processing {"connection_id":50659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:50: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-22 13:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 13:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:50: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-22 13:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:50: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-22 13:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:50:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:50:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":50659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:50:03] local.INFO: GPS data processed {"connection_id":50659,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:50:03] local.INFO: Acknowledgment sent {"connection_id":50659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:50:26] local.INFO: TCP Data received {"connection_id":50541,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:50:26] local.INFO: Processing buffer {"connection_id":50541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:50:26] local.INFO: IMEI packet received {"connection_id":50541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":50541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:50:26] local.INFO: TCP Data received {"connection_id":50542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:50:26] local.INFO: Processing buffer {"connection_id":50542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:50:26] local.INFO: IMEI packet received {"connection_id":50542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":50542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:50:31] local.INFO: TCP Data received {"connection_id":50542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:50:31] local.INFO: Processing buffer {"connection_id":50542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:50:31] local.INFO: IMEI packet received {"connection_id":50542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":50542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:50:32] local.INFO: TCP Data received {"connection_id":50542,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:50:32] local.INFO: Processing buffer {"connection_id":50542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:50:32] local.INFO: Packet analysis {"connection_id":50542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:50:32] local.INFO: Extracted packet for processing {"connection_id":50542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 13:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:50: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-22 13:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 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-22 13: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:50: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-22 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-22 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-22 13:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:50: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-22 13:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:50:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":50542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:50:32] local.INFO: GPS data processed {"connection_id":50542,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:50:32] local.INFO: Acknowledgment sent {"connection_id":50542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:50:48] local.INFO: TCP Data received {"connection_id":50543,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:50:48] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:50:48] local.INFO: IMEI packet received {"connection_id":50543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":50543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:50:49] local.INFO: TCP Data received {"connection_id":50543,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4423c88012d197540071fecc0003c011426..."} 
[2026-04-22 13:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4423c88012d197540071fecc0003c011426..."} 
[2026-04-22 13:50:49] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4423c88012d197540071fecc0003c011426..."} 
[2026-04-22 13:50:49] local.INFO: Packet analysis {"connection_id":50543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db442"} 
[2026-04-22 13:50:49] local.INFO: Extracted packet for processing {"connection_id":50543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db442"} 
[2026-04-22 13:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872430592001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:50: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-22 13:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776845733000,"timestamp_ms":1776845733000,"timestamp_seconds":1776845733,"priority":1,"record_length":96,"hex_timestamp":"0000019db4423c88"} 
[2026-04-22 13:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:50:49] 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-22 13:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:50: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-22 13:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":50543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":50543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":50543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:50:49] 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-22 13:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872430592001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872430592001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:50:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872430592001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":50543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:50:49] local.INFO: GPS data processed {"connection_id":50543,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:50:49] local.INFO: Acknowledgment sent {"connection_id":50543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:50:51] local.INFO: TCP Data received {"connection_id":50281,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:50:51] local.INFO: Processing buffer {"connection_id":50281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:50:51] local.INFO: IMEI packet received {"connection_id":50281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":50281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:51:03] local.INFO: TCP Data received {"connection_id":50542,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:51:03] local.INFO: Processing buffer {"connection_id":50542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:51:03] local.INFO: Packet analysis {"connection_id":50542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:51:03] local.INFO: Extracted packet for processing {"connection_id":50542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:51: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-22 13:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 13:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:51: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-22 13:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:51: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-22 13:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:51:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:51:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":50542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:51:03] local.INFO: GPS data processed {"connection_id":50542,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:51:03] local.INFO: Acknowledgment sent {"connection_id":50542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:51:26] local.INFO: TCP Data received {"connection_id":51219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:51:26] local.INFO: Processing buffer {"connection_id":51219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:51:26] local.INFO: IMEI packet received {"connection_id":51219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":51219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:51:28] local.INFO: TCP Data received {"connection_id":50282,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:51:28] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:51:28] local.INFO: IMEI packet received {"connection_id":50282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":50282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:51:31] local.INFO: TCP Data received {"connection_id":51219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:51:31] local.INFO: Processing buffer {"connection_id":51219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:51:31] local.INFO: IMEI packet received {"connection_id":51219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":51219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:51:32] local.INFO: TCP Data received {"connection_id":51219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:51:32] local.INFO: Processing buffer {"connection_id":51219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:51:32] local.INFO: Packet analysis {"connection_id":51219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:51:32] local.INFO: Extracted packet for processing {"connection_id":51219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:51: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-22 13:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 13:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:51: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-22 13:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:51: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-22 13:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:51: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-22 13:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:51:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":51219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:51:32] local.INFO: GPS data processed {"connection_id":51219,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:51:32] local.INFO: Acknowledgment sent {"connection_id":51219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:51:33] local.INFO: TCP Data received {"connection_id":50282,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:51:33] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:51:33] local.INFO: IMEI packet received {"connection_id":50282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":50282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:51:33] local.INFO: TCP Data received {"connection_id":50282,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:51:33] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:51:33] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:51:33] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:51: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-22 13:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13: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-22 13:51:33] 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-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:51:33] 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-22 13:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:51:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:51:33] local.INFO: GPS data processed {"connection_id":50282,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:51:33] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:52:03] local.INFO: TCP Data received {"connection_id":51219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:52:03] local.INFO: Processing buffer {"connection_id":51219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:52:03] local.INFO: Packet analysis {"connection_id":51219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:52:03] local.INFO: Extracted packet for processing {"connection_id":51219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52: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-22 13:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 13: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-22 13: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-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:52: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-22 13: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-22 13: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-22 13:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:52: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-22 13:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:52:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":51219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:52:03] local.INFO: GPS data processed {"connection_id":51219,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:52:03] local.INFO: Acknowledgment sent {"connection_id":51219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:52:05] local.INFO: TCP Data received {"connection_id":50282,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:52:05] local.INFO: Processing buffer {"connection_id":50282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:52:05] local.INFO: Packet analysis {"connection_id":50282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:52:05] local.INFO: Extracted packet for processing {"connection_id":50282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52: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-22 13:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13: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-22 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:52:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":50282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:52:05] local.INFO: GPS data processed {"connection_id":50282,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:52:05] local.INFO: Acknowledgment sent {"connection_id":50282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:52:26] local.INFO: TCP Data received {"connection_id":50544,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:52:26] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:52:26] local.INFO: IMEI packet received {"connection_id":50544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":50544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:52:28] local.INFO: TCP Data received {"connection_id":50283,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:52:28] local.INFO: Processing buffer {"connection_id":50283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:52:28] local.INFO: IMEI packet received {"connection_id":50283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":50283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:52:31] local.INFO: TCP Data received {"connection_id":50544,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:52:31] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:52:31] local.INFO: IMEI packet received {"connection_id":50544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":50544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:52:32] local.INFO: TCP Data received {"connection_id":50544,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:52:32] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:52:32] local.INFO: Packet analysis {"connection_id":50544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:52:32] local.INFO: Extracted packet for processing {"connection_id":50544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 13:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52: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-22 13:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 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-22 13: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:52: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-22 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-22 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-22 13:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:52:32] 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-22 13:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:52:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":50544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:52:32] local.INFO: GPS data processed {"connection_id":50544,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:52:32] local.INFO: Acknowledgment sent {"connection_id":50544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:52:33] local.INFO: TCP Data received {"connection_id":50283,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:52:33] local.INFO: Processing buffer {"connection_id":50283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:52:33] local.INFO: IMEI packet received {"connection_id":50283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":50283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:52:34] local.INFO: TCP Data received {"connection_id":50283,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:52:34] local.INFO: Processing buffer {"connection_id":50283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:52:34] local.INFO: Packet analysis {"connection_id":50283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:52:34] local.INFO: Extracted packet for processing {"connection_id":50283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:52: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-22 13:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:52:34] 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-22 13:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:52:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":50283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:52:34] local.INFO: GPS data processed {"connection_id":50283,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:52:34] local.INFO: Acknowledgment sent {"connection_id":50283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:53:03] local.INFO: TCP Data received {"connection_id":50544,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:53:03] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:53:03] local.INFO: Packet analysis {"connection_id":50544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:53:03] local.INFO: Extracted packet for processing {"connection_id":50544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53: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-22 13:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 13: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-22 13:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:53: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-22 13: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-22 13: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-22 13:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:53: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-22 13:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:53:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":50544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:53:03] local.INFO: GPS data processed {"connection_id":50544,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:53:03] local.INFO: Acknowledgment sent {"connection_id":50544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:53:05] local.INFO: TCP Data received {"connection_id":50283,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:53:05] local.INFO: Processing buffer {"connection_id":50283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:53:05] local.INFO: Packet analysis {"connection_id":50283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:53:05] local.INFO: Extracted packet for processing {"connection_id":50283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53: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-22 13:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13: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-22 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:53:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":50283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:53:06] local.INFO: GPS data processed {"connection_id":50283,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:53:06] local.INFO: Acknowledgment sent {"connection_id":50283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:53:27] local.INFO: TCP Data received {"connection_id":50545,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:53:27] local.INFO: Processing buffer {"connection_id":50545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:53:27] local.INFO: IMEI packet received {"connection_id":50545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":50545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:53:31] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:53:31] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:53:31] local.INFO: IMEI packet received {"connection_id":50285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":50285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:53:33] local.INFO: TCP Data received {"connection_id":50545,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:53:33] local.INFO: Processing buffer {"connection_id":50545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:53:33] local.INFO: IMEI packet received {"connection_id":50545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":50545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:53:33] local.INFO: TCP Data received {"connection_id":50545,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:53:33] local.INFO: Processing buffer {"connection_id":50545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:53:33] local.INFO: Packet analysis {"connection_id":50545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:53:33] local.INFO: Extracted packet for processing {"connection_id":50545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53: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-22 13:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13: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-22 13:53:33] 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-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:53:33] 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-22 13:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:53:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":50545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:53:33] local.INFO: GPS data processed {"connection_id":50545,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:53:33] local.INFO: Acknowledgment sent {"connection_id":50545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:53:36] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:53:36] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:53:36] local.INFO: IMEI packet received {"connection_id":50285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":50285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:53:37] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:53:37] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:53:37] local.INFO: Packet analysis {"connection_id":50285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:53:37] local.INFO: Extracted packet for processing {"connection_id":50285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:37] 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-22 13:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 13:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:53: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-22 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:53: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-22 13:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:53:37] 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-22 13:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:53:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":50285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:53:37] local.INFO: GPS data processed {"connection_id":50285,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:53:37] local.INFO: Acknowledgment sent {"connection_id":50285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:53:42] local.INFO: TCP Data received {"connection_id":50285,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:53:42] local.INFO: Processing buffer {"connection_id":50285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4449230012d7f864005afda20001501332a..."} 
[2026-04-22 13:53:42] local.INFO: Packet analysis {"connection_id":50285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:53:42] local.INFO: Extracted packet for processing {"connection_id":50285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db444"} 
[2026-04-22 13:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":21,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872469760001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:53:42] 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-22 13:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776845886000,"timestamp_ms":1776845886000,"timestamp_seconds":1776845886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4449230"} 
[2026-04-22 13:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 13:53:42] 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-22 13:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:53:42] 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-22 13:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872469760001,"66":25299,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 13:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872469760001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:53:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 13:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872469760001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":50285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:53:42] local.INFO: GPS data processed {"connection_id":50285,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:53:42] local.INFO: Acknowledgment sent {"connection_id":50285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:54:05] local.INFO: TCP Data received {"connection_id":50545,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:54:05] local.INFO: Processing buffer {"connection_id":50545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:54:05] local.INFO: Packet analysis {"connection_id":50545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:54:05] local.INFO: Extracted packet for processing {"connection_id":50545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:54: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-22 13:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13: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-22 13:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:54:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":50545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:54:05] local.INFO: GPS data processed {"connection_id":50545,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:54:05] local.INFO: Acknowledgment sent {"connection_id":50545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:54:26] local.INFO: TCP Data received {"connection_id":50660,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:54:26] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:54:26] local.INFO: IMEI packet received {"connection_id":50660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":50660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:54:27] local.INFO: TCP Data received {"connection_id":51221,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:54:27] local.INFO: Processing buffer {"connection_id":51221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:54:27] local.INFO: IMEI packet received {"connection_id":51221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":51221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:54:31] local.INFO: TCP Data received {"connection_id":50660,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:54:31] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:54:31] local.INFO: IMEI packet received {"connection_id":50660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:54:32] local.INFO: TCP Data received {"connection_id":50660,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:54:32] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:54:32] local.INFO: Packet analysis {"connection_id":50660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:54:32] local.INFO: Extracted packet for processing {"connection_id":50660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:54:32] 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-22 13:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 13: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-22 13:54: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-22 13:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":50660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:54:32] local.INFO: GPS data processed {"connection_id":50660,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:54:32] local.INFO: Acknowledgment sent {"connection_id":50660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:54:33] local.INFO: TCP Data received {"connection_id":51221,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:54:33] local.INFO: Processing buffer {"connection_id":51221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:54:33] local.INFO: IMEI packet received {"connection_id":51221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":51221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:54:33] local.INFO: TCP Data received {"connection_id":51221,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:54:33] local.INFO: Processing buffer {"connection_id":51221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:54:33] local.INFO: Packet analysis {"connection_id":51221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:54:33] local.INFO: Extracted packet for processing {"connection_id":51221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:54: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-22 13:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13: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-22 13:54:33] 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-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:54:33] 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-22 13:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:54:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":51221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:54:34] local.INFO: GPS data processed {"connection_id":51221,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:54:34] local.INFO: Acknowledgment sent {"connection_id":51221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:55:03] local.INFO: TCP Data received {"connection_id":50660,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:55:03] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:55:03] local.INFO: Packet analysis {"connection_id":50660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:55:03] local.INFO: Extracted packet for processing {"connection_id":50660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55: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-22 13:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 13: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-22 13:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:55: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-22 13: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-22 13: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-22 13:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:55:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":50660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:55:03] local.INFO: GPS data processed {"connection_id":50660,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:55:03] local.INFO: Acknowledgment sent {"connection_id":50660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:55:05] local.INFO: TCP Data received {"connection_id":51221,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:55:05] local.INFO: Processing buffer {"connection_id":51221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:55:05] local.INFO: Packet analysis {"connection_id":51221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:55:05] local.INFO: Extracted packet for processing {"connection_id":51221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55: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-22 13:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13: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-22 13:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:55:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":51221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:55:05] local.INFO: GPS data processed {"connection_id":51221,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:55:05] local.INFO: Acknowledgment sent {"connection_id":51221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:55:26] local.INFO: TCP Data received {"connection_id":50546,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:55:26] local.INFO: Processing buffer {"connection_id":50546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:55:26] local.INFO: IMEI packet received {"connection_id":50546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":50546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:55:31] local.INFO: TCP Data received {"connection_id":50546,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:55:31] local.INFO: Processing buffer {"connection_id":50546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:55:31] local.INFO: IMEI packet received {"connection_id":50546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":50546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:55:32] local.INFO: TCP Data received {"connection_id":50546,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:55:32] local.INFO: Processing buffer {"connection_id":50546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:55:32] local.INFO: Packet analysis {"connection_id":50546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:55:32] local.INFO: Extracted packet for processing {"connection_id":50546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:32] 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-22 13:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 13: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-22 13: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-22 13: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":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:55: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-22 13: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-22 13: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-22 13:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":50546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:55:32] local.INFO: GPS data processed {"connection_id":50546,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:55:32] local.INFO: Acknowledgment sent {"connection_id":50546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:55:33] local.INFO: TCP Data received {"connection_id":50287,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:55:33] local.INFO: Processing buffer {"connection_id":50287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:55:33] local.INFO: IMEI packet received {"connection_id":50287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":50287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:55:37] local.INFO: TCP Data received {"connection_id":50287,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:55:37] local.INFO: Processing buffer {"connection_id":50287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:55:37] local.INFO: IMEI packet received {"connection_id":50287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":50287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:55:38] local.INFO: TCP Data received {"connection_id":50287,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:55:38] local.INFO: Processing buffer {"connection_id":50287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:55:38] local.INFO: Packet analysis {"connection_id":50287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:55:38] local.INFO: Extracted packet for processing {"connection_id":50287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55: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-22 13:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13: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-22 13:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:55: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-22 13: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-22 13: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-22 13:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:55:38] 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-22 13:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:55:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":50287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:55:38] local.INFO: GPS data processed {"connection_id":50287,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:55:38] local.INFO: Acknowledgment sent {"connection_id":50287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:55:43] local.INFO: TCP Data received {"connection_id":50287,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:55:43] local.INFO: Processing buffer {"connection_id":50287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db446d450012d197540071fecc0003c01142a..."} 
[2026-04-22 13:55:43] local.INFO: Packet analysis {"connection_id":50287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:55:43] local.INFO: Extracted packet for processing {"connection_id":50287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db446"} 
[2026-04-22 13:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872507648001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:55: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-22 13:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776846034000,"timestamp_ms":1776846034000,"timestamp_seconds":1776846034,"priority":1,"record_length":96,"hex_timestamp":"0000019db446d450"} 
[2026-04-22 13:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:55:43] 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-22 13:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:55:43] 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-22 13:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872507648001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 13:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872507648001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:55:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:55:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872507648001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":50287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:55:43] local.INFO: GPS data processed {"connection_id":50287,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:55:43] local.INFO: Acknowledgment sent {"connection_id":50287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:56:03] local.INFO: TCP Data received {"connection_id":50546,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:56:03] local.INFO: Processing buffer {"connection_id":50546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:56:03] local.INFO: Packet analysis {"connection_id":50546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:56:03] local.INFO: Extracted packet for processing {"connection_id":50546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56: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-22 13:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 13: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-22 13: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-22 13:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:56: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-22 13: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-22 13: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-22 13:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:56:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":50546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:56:03] local.INFO: GPS data processed {"connection_id":50546,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:56:03] local.INFO: Acknowledgment sent {"connection_id":50546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:56:06] local.INFO: TCP Data received {"connection_id":51223,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:56:06] local.INFO: Processing buffer {"connection_id":51223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:56:06] local.INFO: IMEI packet received {"connection_id":51223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":51223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:56:26] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:56:26] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:56:26] local.INFO: IMEI packet received {"connection_id":50288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":50288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:56:28] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:56:28] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:56:28] local.INFO: IMEI packet received {"connection_id":50661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":50661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:56:31] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:56:31] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:56:31] local.INFO: IMEI packet received {"connection_id":50288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":50288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:56:32] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:56:32] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:56:32] local.INFO: Packet analysis {"connection_id":50288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:56:32] local.INFO: Extracted packet for processing {"connection_id":50288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 13:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:32] 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-22 13:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 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-22 13: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-22 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:56: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-22 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-22 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-22 13:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":50288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:56:32] local.INFO: GPS data processed {"connection_id":50288,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:56:32] local.INFO: Acknowledgment sent {"connection_id":50288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:56:32] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:56:32] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:56:32] local.INFO: IMEI packet received {"connection_id":50661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:56:33] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:56:33] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:56:33] local.INFO: Packet analysis {"connection_id":50661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:56:33] local.INFO: Extracted packet for processing {"connection_id":50661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56: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-22 13:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 13: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-22 13:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:56:33] local.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-22 13:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 13:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:56:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":50661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:56:33] local.INFO: GPS data processed {"connection_id":50661,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:56:33] local.INFO: Acknowledgment sent {"connection_id":50661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:56:51] local.INFO: TCP Data received {"connection_id":50547,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:56:51] local.INFO: Processing buffer {"connection_id":50547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:56:51] local.INFO: IMEI packet received {"connection_id":50547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":50547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:56:56] local.INFO: TCP Data received {"connection_id":50547,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:56:56] local.INFO: Processing buffer {"connection_id":50547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:56:56] local.INFO: IMEI packet received {"connection_id":50547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 13:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":50547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:56:57] local.INFO: TCP Data received {"connection_id":50547,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4423c88012cb29a4007822fd80042004230..."} 
[2026-04-22 13:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4423c88012cb29a4007822fd80042004230..."} 
[2026-04-22 13:56:57] local.INFO: Processing buffer {"connection_id":50547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4423c88012cb29a4007822fd80042004230..."} 
[2026-04-22 13:56:57] local.INFO: Packet analysis {"connection_id":50547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db442"} 
[2026-04-22 13:56:57] local.INFO: Extracted packet for processing {"connection_id":50547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db442"} 
[2026-04-22 13:56:57] local.INFO: GPS Element Parsed {"raw_longitude":749902400,"raw_latitude":125972440,"longitude_deg":74.99024,"latitude_deg":12.597244,"altitude":66,"angle":66,"satellites":48,"speed":0,"hex_longitude":"2cb29a40","hex_latitude":"07822fd8","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872430592001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577074787551815680,"note":"Value kept but may cause issues"} 
[2026-04-22 13:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 13:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776845733000,"timestamp_ms":1776845733000,"timestamp_seconds":1776845733,"priority":1,"record_length":96,"hex_timestamp":"0000019db4423c88"} 
[2026-04-22 13: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-22 13:56:57] 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-22 13: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-22 13:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":50547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":50547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 13:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":50547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 13:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-22 13:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-22 13:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872430592001,"66":25278,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5577074787551815680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-22 13:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-22 13:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-22 13:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872430592001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:56:57] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-22 13:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-22 13:56:57] 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-22 13:56:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577074787551815680,"description":"Unknown IO ID 44"} 
[2026-04-22 13:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872430592001,"power":25278,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577074787551815680}} 
[2026-04-22 13:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":50547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:56:57] local.INFO: GPS data processed {"connection_id":50547,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:56:57] local.INFO: Acknowledgment sent {"connection_id":50547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:57:03] local.INFO: TCP Data received {"connection_id":50288,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:57:03] local.INFO: Processing buffer {"connection_id":50288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:57:03] local.INFO: Packet analysis {"connection_id":50288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:57:03] local.INFO: Extracted packet for processing {"connection_id":50288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57: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-22 13:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 13: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-22 13:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:57: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-22 13: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-22 13: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-22 13:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":50288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:57:03] local.INFO: GPS data processed {"connection_id":50288,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:57:03] local.INFO: Acknowledgment sent {"connection_id":50288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:57:04] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:57:04] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:57:04] local.INFO: Packet analysis {"connection_id":50661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:57:04] local.INFO: Extracted packet for processing {"connection_id":50661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57: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-22 13:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 13:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:57:04] local.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-22 13:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 13:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":50661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:57:04] local.INFO: GPS data processed {"connection_id":50661,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:57:04] local.INFO: Acknowledgment sent {"connection_id":50661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:57:26] local.INFO: TCP Data received {"connection_id":50289,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:57:26] local.INFO: Processing buffer {"connection_id":50289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:57:26] local.INFO: IMEI packet received {"connection_id":50289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":50289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:57:31] local.INFO: TCP Data received {"connection_id":50289,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:57:31] local.INFO: Processing buffer {"connection_id":50289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:57:31] local.INFO: IMEI packet received {"connection_id":50289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":50289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:57:32] local.INFO: TCP Data received {"connection_id":50289,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:57:32] local.INFO: Processing buffer {"connection_id":50289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:57:32] local.INFO: Packet analysis {"connection_id":50289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:57:32] local.INFO: Extracted packet for processing {"connection_id":50289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:32] 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-22 13:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 13: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-22 13:57: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-22 13: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":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:57: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-22 13: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-22 13: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-22 13:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:57:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":50289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:57:32] local.INFO: GPS data processed {"connection_id":50289,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:57:32] local.INFO: Acknowledgment sent {"connection_id":50289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:57:32] local.INFO: TCP Data received {"connection_id":50548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:57:32] local.INFO: Processing buffer {"connection_id":50548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:57:32] local.INFO: IMEI packet received {"connection_id":50548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:57:37] local.INFO: TCP Data received {"connection_id":50548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:57:37] local.INFO: Processing buffer {"connection_id":50548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:57:37] local.INFO: IMEI packet received {"connection_id":50548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":50548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:57:38] local.INFO: TCP Data received {"connection_id":50548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:57:38] local.INFO: Processing buffer {"connection_id":50548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:57:38] local.INFO: Packet analysis {"connection_id":50548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:57:38] local.INFO: Extracted packet for processing {"connection_id":50548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57: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-22 13:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 13: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-22 13:57:38] 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-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:57: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-22 13: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-22 13: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-22 13:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 13:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:57:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":50548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:57:38] local.INFO: GPS data processed {"connection_id":50548,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:57:38] local.INFO: Acknowledgment sent {"connection_id":50548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:57:41] local.INFO: TCP Data received {"connection_id":51224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:57:41] local.INFO: Processing buffer {"connection_id":51224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 13:57:41] local.INFO: IMEI packet received {"connection_id":51224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 13:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":51224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:57:43] local.INFO: TCP Data received {"connection_id":50548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:57:43] local.INFO: Processing buffer {"connection_id":50548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:57:43] local.INFO: Packet analysis {"connection_id":50548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:57:43] local.INFO: Extracted packet for processing {"connection_id":50548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:57: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-22 13:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 13:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:57:43] 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-22 13:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:57:43] local.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-22 13:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 13:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:57:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:57:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":50548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:57:43] local.INFO: GPS data processed {"connection_id":50548,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:57:43] local.INFO: Acknowledgment sent {"connection_id":50548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:58:03] local.INFO: TCP Data received {"connection_id":50289,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:58:03] local.INFO: Processing buffer {"connection_id":50289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:58:03] local.INFO: Packet analysis {"connection_id":50289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:58:03] local.INFO: Extracted packet for processing {"connection_id":50289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 13:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58: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-22 13:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 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-22 13:58: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-22 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:58: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-22 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-22 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-22 13:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":50289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:58:03] local.INFO: GPS data processed {"connection_id":50289,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:58:03] local.INFO: Acknowledgment sent {"connection_id":50289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:58:28] local.INFO: TCP Data received {"connection_id":50662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:58:28] local.INFO: Processing buffer {"connection_id":50662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:58:28] local.INFO: IMEI packet received {"connection_id":50662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":50662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:58:31] local.INFO: TCP Data received {"connection_id":51225,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:58:31] local.INFO: Processing buffer {"connection_id":51225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:58:31] local.INFO: IMEI packet received {"connection_id":51225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":51225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:58:33] local.INFO: TCP Data received {"connection_id":50662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:58:33] local.INFO: Processing buffer {"connection_id":50662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:58:33] local.INFO: IMEI packet received {"connection_id":50662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":50662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:58:33] local.INFO: TCP Data received {"connection_id":50662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:58:33] local.INFO: Processing buffer {"connection_id":50662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:58:33] local.INFO: Packet analysis {"connection_id":50662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:58:33] local.INFO: Extracted packet for processing {"connection_id":50662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58: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-22 13:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 13: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-22 13:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:58:33] local.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-22 13:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 13:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:58:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":50662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:58:34] local.INFO: GPS data processed {"connection_id":50662,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:58:34] local.INFO: Acknowledgment sent {"connection_id":50662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:58:36] local.INFO: TCP Data received {"connection_id":51225,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:58:36] local.INFO: Processing buffer {"connection_id":51225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:58:36] local.INFO: IMEI packet received {"connection_id":51225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":51225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:58:37] local.INFO: TCP Data received {"connection_id":51225,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:58:37] local.INFO: Processing buffer {"connection_id":51225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:58:37] local.INFO: Packet analysis {"connection_id":51225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:58:37] local.INFO: Extracted packet for processing {"connection_id":51225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:37] 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-22 13:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 13:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:58: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-22 13:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:58:37] 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-22 13:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":51225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:58:37] local.INFO: GPS data processed {"connection_id":51225,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:58:37] local.INFO: Acknowledgment sent {"connection_id":51225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:58:38] local.INFO: TCP Data received {"connection_id":50662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:58:38] local.INFO: Processing buffer {"connection_id":50662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:58:38] local.INFO: Packet analysis {"connection_id":50662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:58:38] local.INFO: Extracted packet for processing {"connection_id":50662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58: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-22 13:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 13:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:58:38] 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-22 13:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:58: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-22 13:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 13:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:58:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":50662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:58:38] local.INFO: GPS data processed {"connection_id":50662,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:58:38] local.INFO: Acknowledgment sent {"connection_id":50662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:58:41] local.INFO: TCP Data received {"connection_id":51225,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:58:41] local.INFO: Processing buffer {"connection_id":51225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44929f8012d7f864005afda200019013328..."} 
[2026-04-22 13:58:41] local.INFO: Packet analysis {"connection_id":51225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:58:41] local.INFO: Extracted packet for processing {"connection_id":51225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db449"} 
[2026-04-22 13:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872546816001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:58:41] 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-22 13:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776846187000,"timestamp_ms":1776846187000,"timestamp_seconds":1776846187,"priority":1,"record_length":96,"hex_timestamp":"0000019db44929f8"} 
[2026-04-22 13:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 13:58:41] 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-22 13:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872546816001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872546816001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872546816001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":51225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:58:41] local.INFO: GPS data processed {"connection_id":51225,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:58:41] local.INFO: Acknowledgment sent {"connection_id":51225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:59:10] local.INFO: TCP Data received {"connection_id":50662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:59:10] local.INFO: Processing buffer {"connection_id":50662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:59:10] local.INFO: Packet analysis {"connection_id":50662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:59:10] local.INFO: Extracted packet for processing {"connection_id":50662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 13:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:59: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-22 13:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 13:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 13:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 13:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 13:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 13:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:59:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":50662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:59:10] local.INFO: GPS data processed {"connection_id":50662,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:59:10] local.INFO: Acknowledgment sent {"connection_id":50662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:59:26] local.INFO: TCP Data received {"connection_id":50663,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:59:26] local.INFO: Processing buffer {"connection_id":50663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:59:26] local.INFO: IMEI packet received {"connection_id":50663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 13:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":50663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:59:27] local.INFO: TCP Data received {"connection_id":50290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:59:27] local.INFO: Processing buffer {"connection_id":50290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:59:27] local.INFO: IMEI packet received {"connection_id":50290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 13:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":50290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 13:59:31] local.INFO: TCP Data received {"connection_id":50663,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:59:31] local.INFO: Processing buffer {"connection_id":50663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 13:59:31] local.INFO: IMEI packet received {"connection_id":50663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 13:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":50663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:59:32] local.INFO: TCP Data received {"connection_id":50663,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 13:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 13:59:32] local.INFO: Processing buffer {"connection_id":50663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 13:59:32] local.INFO: Packet analysis {"connection_id":50663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 13:59:32] local.INFO: Extracted packet for processing {"connection_id":50663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 13:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872623872001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 13:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 13:59:32] 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-22 13:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846488000,"timestamp_ms":1776846488000,"timestamp_seconds":1776846488,"priority":1,"record_length":96,"hex_timestamp":"0000019db44dc1c0"} 
[2026-04-22 13: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-22 13: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-22 13: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-22 13: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-22 13: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-22 13: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-22 13:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 13:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 13:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 13:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 13:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872623872001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 13:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 13:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 13:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872623872001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 13:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 13:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 13:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872623872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 13:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":50663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:59:32] local.INFO: GPS data processed {"connection_id":50663,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:59:32] local.INFO: Acknowledgment sent {"connection_id":50663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 13:59:32] local.INFO: TCP Data received {"connection_id":50290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:59:32] local.INFO: Processing buffer {"connection_id":50290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 13:59:32] local.INFO: IMEI packet received {"connection_id":50290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 13:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 13:59:33] local.INFO: TCP Data received {"connection_id":50290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:59:33] local.INFO: Processing buffer {"connection_id":50290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 13:59:33] local.INFO: Packet analysis {"connection_id":50290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:59:33] local.INFO: Extracted packet for processing {"connection_id":50290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 13:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 13: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-22 13:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 13:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 13:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 13:59: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-22 13:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 13: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-22 13:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 13:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 13: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-22 13: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-22 13:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 13:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 13:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 13:59:33] local.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-22 13:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 13:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 13:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 13:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 13:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 13:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 13:59:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 13:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 13:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 13:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 13:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 13:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":50290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 13:59:33] local.INFO: GPS data processed {"connection_id":50290,"processed":1,"errors":0,"total":1} 
[2026-04-22 13:59:33] local.INFO: Acknowledgment sent {"connection_id":50290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:00:03] local.INFO: TCP Data received {"connection_id":50663,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:00:03] local.INFO: Processing buffer {"connection_id":50663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:00:03] local.INFO: Packet analysis {"connection_id":50663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:00:03] local.INFO: Extracted packet for processing {"connection_id":50663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872623872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00: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-22 14:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846488000,"timestamp_ms":1776846488000,"timestamp_seconds":1776846488,"priority":1,"record_length":96,"hex_timestamp":"0000019db44dc1c0"} 
[2026-04-22 14: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-22 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:00: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-22 14: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-22 14: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-22 14:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:00: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-22 14:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872623872001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872623872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872623872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":50663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:00:03] local.INFO: GPS data processed {"connection_id":50663,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:00:03] local.INFO: Acknowledgment sent {"connection_id":50663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:00:05] local.INFO: TCP Data received {"connection_id":50290,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 14:00:05] local.INFO: Processing buffer {"connection_id":50290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 14:00:05] local.INFO: Packet analysis {"connection_id":50290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 14:00:05] local.INFO: Extracted packet for processing {"connection_id":50290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 14: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-22 14:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:00:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":50290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:00:05] local.INFO: GPS data processed {"connection_id":50290,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:00:05] local.INFO: Acknowledgment sent {"connection_id":50290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:00:26] local.INFO: TCP Data received {"connection_id":50550,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:00:26] local.INFO: Processing buffer {"connection_id":50550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:00:26] local.INFO: IMEI packet received {"connection_id":50550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":50550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:00:28] local.INFO: TCP Data received {"connection_id":50551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:00:28] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:00:28] local.INFO: IMEI packet received {"connection_id":50551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":50551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:00:31] local.INFO: TCP Data received {"connection_id":50550,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:00:31] local.INFO: Processing buffer {"connection_id":50550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:00:31] local.INFO: IMEI packet received {"connection_id":50550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":50550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:00:32] local.INFO: TCP Data received {"connection_id":50550,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:00:32] local.INFO: Processing buffer {"connection_id":50550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:00:32] local.INFO: Packet analysis {"connection_id":50550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:00:32] local.INFO: Extracted packet for processing {"connection_id":50550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872623872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:32] 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-22 14:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846488000,"timestamp_ms":1776846488000,"timestamp_seconds":1776846488,"priority":1,"record_length":96,"hex_timestamp":"0000019db44dc1c0"} 
[2026-04-22 14: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-22 14:00: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-22 14: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:00: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-22 14: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-22 14: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-22 14:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872623872001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872623872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872623872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":50550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:00:32] local.INFO: GPS data processed {"connection_id":50550,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:00:32] local.INFO: Acknowledgment sent {"connection_id":50550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:00:33] local.INFO: TCP Data received {"connection_id":50551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:00:33] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:00:33] local.INFO: IMEI packet received {"connection_id":50551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":50551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:00:33] local.INFO: TCP Data received {"connection_id":50551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 14:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 14:00:33] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 14:00:33] local.INFO: Packet analysis {"connection_id":50551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 14:00:33] local.INFO: Extracted packet for processing {"connection_id":50551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 14:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 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-22 14:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:00: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-22 14:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 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-22 14:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 14:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:00:33] local.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-22 14:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:00:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:00:33] local.INFO: GPS data processed {"connection_id":50551,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:00:33] local.INFO: Acknowledgment sent {"connection_id":50551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:01:03] local.INFO: TCP Data received {"connection_id":50550,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:01:03] local.INFO: Processing buffer {"connection_id":50550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:01:03] local.INFO: Packet analysis {"connection_id":50550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:01:03] local.INFO: Extracted packet for processing {"connection_id":50550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872623872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01: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-22 14:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846488000,"timestamp_ms":1776846488000,"timestamp_seconds":1776846488,"priority":1,"record_length":96,"hex_timestamp":"0000019db44dc1c0"} 
[2026-04-22 14:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:01: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-22 14:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:01: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-22 14:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872623872001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872623872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872623872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":50550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:01:03] local.INFO: GPS data processed {"connection_id":50550,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:01:03] local.INFO: Acknowledgment sent {"connection_id":50550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:01:04] local.INFO: TCP Data received {"connection_id":50551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 14:01:04] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44b6c18012d197540071fecc0003c011429..."} 
[2026-04-22 14:01:04] local.INFO: Packet analysis {"connection_id":50551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 14:01:04] local.INFO: Extracted packet for processing {"connection_id":50551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44b"} 
[2026-04-22 14:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872584704001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01: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-22 14:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776846335000,"timestamp_ms":1776846335000,"timestamp_seconds":1776846335,"priority":1,"record_length":96,"hex_timestamp":"0000019db44b6c18"} 
[2026-04-22 14: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-22 14:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:01:04] local.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-22 14:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872584704001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872584704001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872584704001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":50551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:01:05] local.INFO: GPS data processed {"connection_id":50551,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:01:05] local.INFO: Acknowledgment sent {"connection_id":50551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:01:26] local.INFO: TCP Data received {"connection_id":50664,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:01:26] local.INFO: Processing buffer {"connection_id":50664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:01:26] local.INFO: IMEI packet received {"connection_id":50664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":50664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:01:29] local.INFO: TCP Data received {"connection_id":51228,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:01:29] local.INFO: Processing buffer {"connection_id":51228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:01:29] local.INFO: IMEI packet received {"connection_id":51228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":51228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:01:31] local.INFO: TCP Data received {"connection_id":50664,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:01:31] local.INFO: Processing buffer {"connection_id":50664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:01:31] local.INFO: IMEI packet received {"connection_id":50664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:01:32] local.INFO: TCP Data received {"connection_id":50664,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:01:32] local.INFO: Processing buffer {"connection_id":50664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:01:32] local.INFO: Packet analysis {"connection_id":50664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:01:32] local.INFO: Extracted packet for processing {"connection_id":50664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872623872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01:32] 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-22 14:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846488000,"timestamp_ms":1776846488000,"timestamp_seconds":1776846488,"priority":1,"record_length":96,"hex_timestamp":"0000019db44dc1c0"} 
[2026-04-22 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-22 14:01: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:01: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-22 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-22 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-22 14:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872623872001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872623872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872623872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":50664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:01:32] local.INFO: GPS data processed {"connection_id":50664,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:01:32] local.INFO: Acknowledgment sent {"connection_id":50664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:01:33] local.INFO: TCP Data received {"connection_id":51228,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:01:33] local.INFO: Processing buffer {"connection_id":51228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:01:33] local.INFO: IMEI packet received {"connection_id":51228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":51228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:01:34] local.INFO: TCP Data received {"connection_id":51228,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:01:34] local.INFO: Processing buffer {"connection_id":51228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:01:34] local.INFO: Packet analysis {"connection_id":51228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:01:34] local.INFO: Extracted packet for processing {"connection_id":51228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:01: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-22 14:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 14:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:01:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":51228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:01:34] local.INFO: GPS data processed {"connection_id":51228,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:01:34] local.INFO: Acknowledgment sent {"connection_id":51228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:02:03] local.INFO: TCP Data received {"connection_id":50664,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:02:03] local.INFO: Processing buffer {"connection_id":50664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:02:03] local.INFO: Packet analysis {"connection_id":50664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:02:03] local.INFO: Extracted packet for processing {"connection_id":50664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872623872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02: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-22 14:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846488000,"timestamp_ms":1776846488000,"timestamp_seconds":1776846488,"priority":1,"record_length":96,"hex_timestamp":"0000019db44dc1c0"} 
[2026-04-22 14:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:02: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-22 14:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:02: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-22 14:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872623872001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872623872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:02:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872623872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":50664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:02:03] local.INFO: GPS data processed {"connection_id":50664,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:02:03] local.INFO: Acknowledgment sent {"connection_id":50664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:02:05] local.INFO: TCP Data received {"connection_id":51228,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:02:05] local.INFO: Processing buffer {"connection_id":51228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:02:05] local.INFO: Packet analysis {"connection_id":51228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:02:05] local.INFO: Extracted packet for processing {"connection_id":51228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02: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-22 14:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 14: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-22 14:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:02:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":51228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:02:05] local.INFO: GPS data processed {"connection_id":51228,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:02:05] local.INFO: Acknowledgment sent {"connection_id":51228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:02:29] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:02:29] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:02:29] local.INFO: IMEI packet received {"connection_id":50292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":50292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:02:31] local.INFO: TCP Data received {"connection_id":50291,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:02:31] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:02:31] local.INFO: IMEI packet received {"connection_id":50291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":50291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:02:34] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:02:34] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:02:34] local.INFO: IMEI packet received {"connection_id":50292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":50292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:02:36] local.INFO: TCP Data received {"connection_id":50291,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:02:36] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:02:36] local.INFO: IMEI packet received {"connection_id":50291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":50291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:02:37] local.INFO: TCP Data received {"connection_id":50291,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:02:37] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:02:37] local.INFO: Packet analysis {"connection_id":50291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:02:37] local.INFO: Extracted packet for processing {"connection_id":50291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872623872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:37] 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-22 14:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776846488000,"timestamp_ms":1776846488000,"timestamp_seconds":1776846488,"priority":1,"record_length":96,"hex_timestamp":"0000019db44dc1c0"} 
[2026-04-22 14:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:02: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-22 14:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:02: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-22 14:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872623872001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872623872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872623872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":50291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:02:37] local.INFO: GPS data processed {"connection_id":50291,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:02:37] local.INFO: Acknowledgment sent {"connection_id":50291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:02:38] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:02:38] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:02:38] local.INFO: IMEI packet received {"connection_id":50292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":50292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:02:38] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:02:38] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:02:38] local.INFO: Packet analysis {"connection_id":50292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:02:38] local.INFO: Extracted packet for processing {"connection_id":50292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02: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-22 14:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 14: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-22 14:02:38] 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-22 14:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:02:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":50292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:02:38] local.INFO: GPS data processed {"connection_id":50292,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:02:38] local.INFO: Acknowledgment sent {"connection_id":50292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:02:41] local.INFO: TCP Data received {"connection_id":50291,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:02:41] local.INFO: Processing buffer {"connection_id":50291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:02:41] local.INFO: Packet analysis {"connection_id":50291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:02:41] local.INFO: Extracted packet for processing {"connection_id":50291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872623872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:02:41] 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-22 14:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776846488000,"timestamp_ms":1776846488000,"timestamp_seconds":1776846488,"priority":1,"record_length":96,"hex_timestamp":"0000019db44dc1c0"} 
[2026-04-22 14:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:02:41] 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-22 14:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872623872001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872623872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:02:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872623872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":50291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:02:41] local.INFO: GPS data processed {"connection_id":50291,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:02:41] local.INFO: Acknowledgment sent {"connection_id":50291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:03:01] local.INFO: TCP Data received {"connection_id":50552,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:03:01] local.INFO: Processing buffer {"connection_id":50552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:03:01] local.INFO: IMEI packet received {"connection_id":50552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":50552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:03:10] local.INFO: TCP Data received {"connection_id":50292,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:03:10] local.INFO: Processing buffer {"connection_id":50292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:03:10] local.INFO: Packet analysis {"connection_id":50292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:03:10] local.INFO: Extracted packet for processing {"connection_id":50292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03: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-22 14:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 14:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:03:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":50292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:03:10] local.INFO: GPS data processed {"connection_id":50292,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:03:10] local.INFO: Acknowledgment sent {"connection_id":50292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:03:26] local.INFO: TCP Data received {"connection_id":51229,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:03:26] local.INFO: Processing buffer {"connection_id":51229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:03:26] local.INFO: IMEI packet received {"connection_id":51229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":51229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:03:31] local.INFO: TCP Data received {"connection_id":51229,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:03:31] local.INFO: Processing buffer {"connection_id":51229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:03:31] local.INFO: IMEI packet received {"connection_id":51229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":51229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:03:32] local.INFO: TCP Data received {"connection_id":51229,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:03:32] local.INFO: Processing buffer {"connection_id":51229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db44dc1c0012d7f864005afda200029013326..."} 
[2026-04-22 14:03:32] local.INFO: Packet analysis {"connection_id":51229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:03:32] local.INFO: Extracted packet for processing {"connection_id":51229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db44d"} 
[2026-04-22 14:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872623872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03:32] 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-22 14:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846488000,"timestamp_ms":1776846488000,"timestamp_seconds":1776846488,"priority":1,"record_length":96,"hex_timestamp":"0000019db44dc1c0"} 
[2026-04-22 14: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-22 14: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-22 14: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:03: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-22 14: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-22 14: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-22 14:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872623872001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872623872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872623872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":51229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:03:32] local.INFO: GPS data processed {"connection_id":51229,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:03:32] local.INFO: Acknowledgment sent {"connection_id":51229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:03:33] local.INFO: TCP Data received {"connection_id":50553,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:03:33] local.INFO: Processing buffer {"connection_id":50553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:03:33] local.INFO: IMEI packet received {"connection_id":50553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":50553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:03:38] local.INFO: TCP Data received {"connection_id":50553,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:03:38] local.INFO: Processing buffer {"connection_id":50553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:03:38] local.INFO: IMEI packet received {"connection_id":50553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":50553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:03:38] local.INFO: TCP Data received {"connection_id":50553,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:03:38] local.INFO: Processing buffer {"connection_id":50553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:03:38] local.INFO: Packet analysis {"connection_id":50553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:03:38] local.INFO: Extracted packet for processing {"connection_id":50553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03: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-22 14:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 14: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-22 14:03:38] 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-22 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:03: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-22 14: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-22 14: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-22 14:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:03:38] 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-22 14:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:03:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":50553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:03:39] local.INFO: GPS data processed {"connection_id":50553,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:03:39] local.INFO: Acknowledgment sent {"connection_id":50553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:03:43] local.INFO: TCP Data received {"connection_id":50553,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:03:43] local.INFO: Processing buffer {"connection_id":50553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:03:43] local.INFO: Packet analysis {"connection_id":50553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:03:43] local.INFO: Extracted packet for processing {"connection_id":50553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:03: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-22 14:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 14:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:03:43] 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-22 14:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:03:43] 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-22 14:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:03:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":50553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:03:43] local.INFO: GPS data processed {"connection_id":50553,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:03:43] local.INFO: Acknowledgment sent {"connection_id":50553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:04:03] local.INFO: TCP Data received {"connection_id":51229,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:04:03] local.INFO: Processing buffer {"connection_id":51229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:04:03] local.INFO: Packet analysis {"connection_id":51229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:04:03] local.INFO: Extracted packet for processing {"connection_id":51229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:04: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-22 14:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 14: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-22 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:04: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-22 14: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-22 14: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-22 14:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:04: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-22 14:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":51229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:04:03] local.INFO: GPS data processed {"connection_id":51229,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:04:03] local.INFO: Acknowledgment sent {"connection_id":51229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:04:26] local.INFO: TCP Data received {"connection_id":50554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:04:26] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:04:26] local.INFO: IMEI packet received {"connection_id":50554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":50554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:04:28] local.INFO: TCP Data received {"connection_id":50293,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:04:28] local.INFO: Processing buffer {"connection_id":50293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:04:28] local.INFO: IMEI packet received {"connection_id":50293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":50293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:04:31] local.INFO: TCP Data received {"connection_id":50554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:04:31] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:04:31] local.INFO: IMEI packet received {"connection_id":50554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":50554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:04:32] local.INFO: TCP Data received {"connection_id":50554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:04:32] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:04:32] local.INFO: Packet analysis {"connection_id":50554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:04:32] local.INFO: Extracted packet for processing {"connection_id":50554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:04:32] 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-22 14:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 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-22 14:04: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:04: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-22 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-22 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-22 14:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:04: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-22 14:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":50554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:04:32] local.INFO: GPS data processed {"connection_id":50554,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:04:32] local.INFO: Acknowledgment sent {"connection_id":50554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:04:33] local.INFO: TCP Data received {"connection_id":50293,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:04:33] local.INFO: Processing buffer {"connection_id":50293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:04:33] local.INFO: IMEI packet received {"connection_id":50293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":50293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:04:33] local.INFO: TCP Data received {"connection_id":50293,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:04:33] local.INFO: Processing buffer {"connection_id":50293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:04:33] local.INFO: Packet analysis {"connection_id":50293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:04:33] local.INFO: Extracted packet for processing {"connection_id":50293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:04: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-22 14:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 14: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-22 14:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:04:33] 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-22 14:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:04:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":50293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:04:33] local.INFO: GPS data processed {"connection_id":50293,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:04:33] local.INFO: Acknowledgment sent {"connection_id":50293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:05:03] local.INFO: TCP Data received {"connection_id":50554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:05:03] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:05:03] local.INFO: Packet analysis {"connection_id":50554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:05:03] local.INFO: Extracted packet for processing {"connection_id":50554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05: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-22 14:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 14: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-22 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:05: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-22 14: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-22 14: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-22 14:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14: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-22 14:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:05:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":50554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:05:03] local.INFO: GPS data processed {"connection_id":50554,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:05:03] local.INFO: Acknowledgment sent {"connection_id":50554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:05:05] local.INFO: TCP Data received {"connection_id":50293,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:05:05] local.INFO: Processing buffer {"connection_id":50293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:05:05] local.INFO: Packet analysis {"connection_id":50293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:05:05] local.INFO: Extracted packet for processing {"connection_id":50293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 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-22 14:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05: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-22 14:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 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-22 14:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 14:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:05:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":50293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:05:05] local.INFO: GPS data processed {"connection_id":50293,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:05:05] local.INFO: Acknowledgment sent {"connection_id":50293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:05:28] local.INFO: TCP Data received {"connection_id":50555,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:05:28] local.INFO: Processing buffer {"connection_id":50555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:05:28] local.INFO: IMEI packet received {"connection_id":50555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":50555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:05:31] local.INFO: TCP Data received {"connection_id":50556,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:05:31] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:05:31] local.INFO: IMEI packet received {"connection_id":50556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":50556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:05:33] local.INFO: TCP Data received {"connection_id":50555,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:05:33] local.INFO: Processing buffer {"connection_id":50555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:05:33] local.INFO: IMEI packet received {"connection_id":50555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":50555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:05:34] local.INFO: TCP Data received {"connection_id":50555,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:05:34] local.INFO: Processing buffer {"connection_id":50555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:05:34] local.INFO: Packet analysis {"connection_id":50555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:05:34] local.INFO: Extracted packet for processing {"connection_id":50555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05: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-22 14:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 14: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-22 14:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:05:34] 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-22 14:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:05:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":50555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:05:34] local.INFO: GPS data processed {"connection_id":50555,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:05:34] local.INFO: Acknowledgment sent {"connection_id":50555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:05:36] local.INFO: TCP Data received {"connection_id":50556,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:05:36] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:05:36] local.INFO: IMEI packet received {"connection_id":50556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":50556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:05:37] local.INFO: TCP Data received {"connection_id":50556,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:05:37] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:05:37] local.INFO: Packet analysis {"connection_id":50556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:05:37] local.INFO: Extracted packet for processing {"connection_id":50556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:37] 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-22 14:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 14: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-22 14:05: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:05: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-22 14: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-22 14: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-22 14:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14: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-22 14:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":50556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:05:37] local.INFO: GPS data processed {"connection_id":50556,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:05:37] local.INFO: Acknowledgment sent {"connection_id":50556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:05:41] local.INFO: TCP Data received {"connection_id":50556,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:05:41] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:05:41] local.INFO: Packet analysis {"connection_id":50556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:05:41] local.INFO: Extracted packet for processing {"connection_id":50556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:05:41] 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-22 14:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 14:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:05:41] 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-22 14:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:05:41] local.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-22 14:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:05:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":50556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:05:41] local.INFO: GPS data processed {"connection_id":50556,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:05:41] local.INFO: Acknowledgment sent {"connection_id":50556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:06:05] local.INFO: TCP Data received {"connection_id":50555,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:06:05] local.INFO: Processing buffer {"connection_id":50555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45003e0012d197540071fecc0003c011429..."} 
[2026-04-22 14:06:05] local.INFO: Packet analysis {"connection_id":50555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:06:05] local.INFO: Extracted packet for processing {"connection_id":50555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db450"} 
[2026-04-22 14:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872661760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:06: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-22 14:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776846636000,"timestamp_ms":1776846636000,"timestamp_seconds":1776846636,"priority":1,"record_length":96,"hex_timestamp":"0000019db45003e0"} 
[2026-04-22 14: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-22 14:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:06: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-22 14:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872661760001,"66":2155,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872661760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:06:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872661760001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":50555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:06:05] local.INFO: GPS data processed {"connection_id":50555,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:06:05] local.INFO: Acknowledgment sent {"connection_id":50555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:06:26] local.INFO: TCP Data received {"connection_id":50666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:06:26] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:06:26] local.INFO: IMEI packet received {"connection_id":50666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":50666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:06:28] local.INFO: TCP Data received {"connection_id":50295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:06:28] local.INFO: Processing buffer {"connection_id":50295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:06:28] local.INFO: IMEI packet received {"connection_id":50295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":50295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:06:31] local.INFO: TCP Data received {"connection_id":50666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:06:31] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:06:31] local.INFO: IMEI packet received {"connection_id":50666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":50666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:06:32] local.INFO: TCP Data received {"connection_id":50666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:06:32] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:06:32] local.INFO: Packet analysis {"connection_id":50666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:06:32] local.INFO: Extracted packet for processing {"connection_id":50666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:06:32] 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-22 14:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 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-22 14:06: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:06: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-22 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-22 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-22 14:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:06:32] 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-22 14:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":50666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:06:32] local.INFO: GPS data processed {"connection_id":50666,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:06:32] local.INFO: Acknowledgment sent {"connection_id":50666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:06:32] local.INFO: TCP Data received {"connection_id":50295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:06:32] local.INFO: Processing buffer {"connection_id":50295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:06:32] local.INFO: IMEI packet received {"connection_id":50295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:06:33] local.INFO: TCP Data received {"connection_id":50295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:06:33] local.INFO: Processing buffer {"connection_id":50295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:06:33] local.INFO: Packet analysis {"connection_id":50295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:06:33] local.INFO: Extracted packet for processing {"connection_id":50295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14: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-22 14:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 14: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-22 14:06:33] 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-22 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:06:33] 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-22 14:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:06:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:06:33] local.INFO: GPS data processed {"connection_id":50295,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:06:33] local.INFO: Acknowledgment sent {"connection_id":50295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:07:03] local.INFO: TCP Data received {"connection_id":50666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:07:03] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:07:03] local.INFO: Packet analysis {"connection_id":50666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:07:03] local.INFO: Extracted packet for processing {"connection_id":50666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07: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-22 14:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 14:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:07: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-22 14:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:07: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-22 14:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:07:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:07:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":50666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:07:03] local.INFO: GPS data processed {"connection_id":50666,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:07:03] local.INFO: Acknowledgment sent {"connection_id":50666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:07:04] local.INFO: TCP Data received {"connection_id":50295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:07:04] local.INFO: Processing buffer {"connection_id":50295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:07:04] local.INFO: Packet analysis {"connection_id":50295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:07:04] local.INFO: Extracted packet for processing {"connection_id":50295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14: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-22 14:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 14: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-22 14:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:07:04] 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-22 14:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:07:04] local.INFO: GPS data processed {"connection_id":50295,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:07:04] local.INFO: Acknowledgment sent {"connection_id":50295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:07:26] local.INFO: TCP Data received {"connection_id":51231,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:07:26] local.INFO: Processing buffer {"connection_id":51231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:07:26] local.INFO: IMEI packet received {"connection_id":51231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":51231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:07:31] local.INFO: TCP Data received {"connection_id":51231,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:07:31] local.INFO: Processing buffer {"connection_id":51231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:07:31] local.INFO: IMEI packet received {"connection_id":51231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":51231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:07:32] local.INFO: TCP Data received {"connection_id":51231,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:07:32] local.INFO: Processing buffer {"connection_id":51231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:07:32] local.INFO: Packet analysis {"connection_id":51231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:07:32] local.INFO: Extracted packet for processing {"connection_id":51231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:32] 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-22 14:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 14: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-22 14:07: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-22 14: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:07: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-22 14: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-22 14: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-22 14:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":51231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:07:32] local.INFO: GPS data processed {"connection_id":51231,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:07:32] local.INFO: Acknowledgment sent {"connection_id":51231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:07:33] local.INFO: TCP Data received {"connection_id":50296,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:07:33] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:07:33] local.INFO: IMEI packet received {"connection_id":50296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":50296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:07:38] local.INFO: TCP Data received {"connection_id":50296,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:07:38] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:07:38] local.INFO: IMEI packet received {"connection_id":50296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":50296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:07:38] local.INFO: TCP Data received {"connection_id":50296,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:07:38] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:07:38] local.INFO: Packet analysis {"connection_id":50296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:07:38] local.INFO: Extracted packet for processing {"connection_id":50296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07: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-22 14:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 14:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:07:38] 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-22 14:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 14:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:07:38] 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-22 14:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:07:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":50296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:07:38] local.INFO: GPS data processed {"connection_id":50296,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:07:38] local.INFO: Acknowledgment sent {"connection_id":50296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:07:43] local.INFO: TCP Data received {"connection_id":50296,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:07:43] local.INFO: Processing buffer {"connection_id":50296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:07:43] local.INFO: Packet analysis {"connection_id":50296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:07:43] local.INFO: Extracted packet for processing {"connection_id":50296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:07: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-22 14:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:07: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-22 14:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 14:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:07:43] 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-22 14:07: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 14:07: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-22 14:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:07:43] 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-22 14:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:07:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:07:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":50296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:07:43] local.INFO: GPS data processed {"connection_id":50296,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:07:43] local.INFO: Acknowledgment sent {"connection_id":50296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:08:03] local.INFO: TCP Data received {"connection_id":51231,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:08:03] local.INFO: Processing buffer {"connection_id":51231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:08:03] local.INFO: Packet analysis {"connection_id":51231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:08:03] local.INFO: Extracted packet for processing {"connection_id":51231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:08: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-22 14:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 14: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-22 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:08: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-22 14: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-22 14: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-22 14:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:08: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-22 14:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":51231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:08:03] local.INFO: GPS data processed {"connection_id":51231,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:08:03] local.INFO: Acknowledgment sent {"connection_id":51231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:08:26] local.INFO: TCP Data received {"connection_id":50668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:08:26] local.INFO: Processing buffer {"connection_id":50668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:08:26] local.INFO: IMEI packet received {"connection_id":50668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":50668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:08:28] local.INFO: TCP Data received {"connection_id":50559,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:08:28] local.INFO: Processing buffer {"connection_id":50559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:08:28] local.INFO: IMEI packet received {"connection_id":50559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":50559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:08:31] local.INFO: TCP Data received {"connection_id":50668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:08:31] local.INFO: Processing buffer {"connection_id":50668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:08:31] local.INFO: IMEI packet received {"connection_id":50668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":50668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:08:32] local.INFO: TCP Data received {"connection_id":50668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:08:32] local.INFO: Processing buffer {"connection_id":50668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4525988012d7f864005afda20002c01332a..."} 
[2026-04-22 14:08:32] local.INFO: Packet analysis {"connection_id":50668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:08:32] local.INFO: Extracted packet for processing {"connection_id":50668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db452"} 
[2026-04-22 14:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":44,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:08:32] 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-22 14:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776846789000,"timestamp_ms":1776846789000,"timestamp_seconds":1776846789,"priority":1,"record_length":96,"hex_timestamp":"0000019db4525988"} 
[2026-04-22 14: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-22 14:08: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-22 14: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-22 14: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-22 14: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-22 14: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-22 14:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:08: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-22 14:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872700928001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:08:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872700928001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":50668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:08:32] local.INFO: GPS data processed {"connection_id":50668,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:08:32] local.INFO: Acknowledgment sent {"connection_id":50668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:08:33] local.INFO: TCP Data received {"connection_id":50559,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:08:33] local.INFO: Processing buffer {"connection_id":50559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:08:33] local.INFO: IMEI packet received {"connection_id":50559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":50559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:08:34] local.INFO: TCP Data received {"connection_id":50559,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:08:34] local.INFO: Processing buffer {"connection_id":50559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:08:34] local.INFO: Packet analysis {"connection_id":50559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:08:34] local.INFO: Extracted packet for processing {"connection_id":50559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:08: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-22 14:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 14:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:08:34] 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-22 14:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:08: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-22 14:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:08:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":50559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:08:34] local.INFO: GPS data processed {"connection_id":50559,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:08:34] local.INFO: Acknowledgment sent {"connection_id":50559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:08:50] local.INFO: TCP Data received {"connection_id":50669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:08:50] local.INFO: Processing buffer {"connection_id":50669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:08:50] local.INFO: IMEI packet received {"connection_id":50669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":50669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:09:03] local.INFO: TCP Data received {"connection_id":50668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:09:03] local.INFO: Processing buffer {"connection_id":50668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:09:03] local.INFO: Packet analysis {"connection_id":50668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:09:03] local.INFO: Extracted packet for processing {"connection_id":50668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09: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-22 14:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 14:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:09: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-22 14:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:09: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-22 14:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":50668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:09:03] local.INFO: GPS data processed {"connection_id":50668,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:09:03] local.INFO: Acknowledgment sent {"connection_id":50668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:09:05] local.INFO: TCP Data received {"connection_id":50559,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:09:05] local.INFO: Processing buffer {"connection_id":50559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:09:05] local.INFO: Packet analysis {"connection_id":50559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:09:05] local.INFO: Extracted packet for processing {"connection_id":50559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 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-22 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 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-22 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:09:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":50559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:09:05] local.INFO: GPS data processed {"connection_id":50559,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:09:05] local.INFO: Acknowledgment sent {"connection_id":50559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:09:26] local.INFO: TCP Data received {"connection_id":50670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:09:26] local.INFO: Processing buffer {"connection_id":50670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:09:26] local.INFO: IMEI packet received {"connection_id":50670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":50670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:09:27] local.INFO: TCP Data received {"connection_id":51232,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:09:27] local.INFO: Processing buffer {"connection_id":51232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:09:27] local.INFO: IMEI packet received {"connection_id":51232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":51232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:09:31] local.INFO: TCP Data received {"connection_id":50670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:09:31] local.INFO: Processing buffer {"connection_id":50670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:09:31] local.INFO: IMEI packet received {"connection_id":50670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":50670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:09:31] local.INFO: TCP Data received {"connection_id":50670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:09:31] local.INFO: Processing buffer {"connection_id":50670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:09:31] local.INFO: Packet analysis {"connection_id":50670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:09:31] local.INFO: Extracted packet for processing {"connection_id":50670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:31] 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-22 14:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 14: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-22 14:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:09: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-22 14: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-22 14: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-22 14:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:09: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-22 14:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":50670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:09:31] local.INFO: GPS data processed {"connection_id":50670,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:09:31] local.INFO: Acknowledgment sent {"connection_id":50670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:09:33] local.INFO: TCP Data received {"connection_id":51232,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:09:33] local.INFO: Processing buffer {"connection_id":51232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:09:33] local.INFO: IMEI packet received {"connection_id":51232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":51232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:09:33] local.INFO: TCP Data received {"connection_id":51232,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:09:33] local.INFO: Processing buffer {"connection_id":51232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:09:33] local.INFO: Packet analysis {"connection_id":51232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:09:33] local.INFO: Extracted packet for processing {"connection_id":51232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:09: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-22 14:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 14: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-22 14:09:33] 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-22 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:09:33] 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-22 14:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:09:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":51232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:09:33] local.INFO: GPS data processed {"connection_id":51232,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:09:33] local.INFO: Acknowledgment sent {"connection_id":51232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:10:02] local.INFO: TCP Data received {"connection_id":50670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:10:02] local.INFO: Processing buffer {"connection_id":50670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:10:02] local.INFO: Packet analysis {"connection_id":50670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:10:02] local.INFO: Extracted packet for processing {"connection_id":50670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:02] 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-22 14:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 14: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-22 14:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:10: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-22 14: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-22 14: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-22 14:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:10: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-22 14:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:10:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":50670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:10:02] local.INFO: GPS data processed {"connection_id":50670,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:10:02] local.INFO: Acknowledgment sent {"connection_id":50670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:10:04] local.INFO: TCP Data received {"connection_id":51232,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:10:04] local.INFO: Processing buffer {"connection_id":51232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:10:04] local.INFO: Packet analysis {"connection_id":51232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:10:04] local.INFO: Extracted packet for processing {"connection_id":51232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10: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-22 14:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 14:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:10:04] 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-22 14:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:10:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":51232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:10:05] local.INFO: GPS data processed {"connection_id":51232,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:10:05] local.INFO: Acknowledgment sent {"connection_id":51232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:10:31] local.INFO: TCP Data received {"connection_id":50297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:10:31] local.INFO: Processing buffer {"connection_id":50297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:10:31] local.INFO: IMEI packet received {"connection_id":50297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":50297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:10:34] local.INFO: TCP Data received {"connection_id":50298,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:10:34] local.INFO: Processing buffer {"connection_id":50298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:10:34] local.INFO: IMEI packet received {"connection_id":50298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":50298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:10:36] local.INFO: TCP Data received {"connection_id":50297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:10:36] local.INFO: Processing buffer {"connection_id":50297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:10:36] local.INFO: IMEI packet received {"connection_id":50297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":50297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:10:37] local.INFO: TCP Data received {"connection_id":50297,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:10:37] local.INFO: Processing buffer {"connection_id":50297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:10:37] local.INFO: Packet analysis {"connection_id":50297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:10:37] local.INFO: Extracted packet for processing {"connection_id":50297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:37] 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-22 14:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 14: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-22 14:10: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-22 14: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:10: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-22 14: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-22 14: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-22 14:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":50297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:10:37] local.INFO: GPS data processed {"connection_id":50297,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:10:37] local.INFO: Acknowledgment sent {"connection_id":50297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:10:38] local.INFO: TCP Data received {"connection_id":50298,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:10:38] local.INFO: Processing buffer {"connection_id":50298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:10:38] local.INFO: IMEI packet received {"connection_id":50298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":50298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:10:38] local.INFO: TCP Data received {"connection_id":50298,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:10:38] local.INFO: Processing buffer {"connection_id":50298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:10:38] local.INFO: Packet analysis {"connection_id":50298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:10:38] local.INFO: Extracted packet for processing {"connection_id":50298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10: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-22 14:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 14: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-22 14:10:38] 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-22 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 14: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-22 14: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-22 14:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:10:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":50298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:10:38] local.INFO: GPS data processed {"connection_id":50298,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:10:38] local.INFO: Acknowledgment sent {"connection_id":50298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:10:41] local.INFO: TCP Data received {"connection_id":50297,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:10:41] local.INFO: Processing buffer {"connection_id":50297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:10:41] local.INFO: Packet analysis {"connection_id":50297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:10:41] local.INFO: Extracted packet for processing {"connection_id":50297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:41] 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-22 14:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 14:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:10:41] 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-22 14:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:10:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":50297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:10:41] local.INFO: GPS data processed {"connection_id":50297,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:10:41] local.INFO: Acknowledgment sent {"connection_id":50297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:10:43] local.INFO: TCP Data received {"connection_id":50298,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:10:43] local.INFO: Processing buffer {"connection_id":50298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4549ba8012d197540071fecc0003c01142a..."} 
[2026-04-22 14:10:43] local.INFO: Packet analysis {"connection_id":50298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:10:43] local.INFO: Extracted packet for processing {"connection_id":50298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db454"} 
[2026-04-22 14:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872738816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:10: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-22 14:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776846937000,"timestamp_ms":1776846937000,"timestamp_seconds":1776846937,"priority":1,"record_length":96,"hex_timestamp":"0000019db4549ba8"} 
[2026-04-22 14:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:10:43] 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-22 14:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 14:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 14:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872738816001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872738816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:10:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872738816001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":50298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:10:43] local.INFO: GPS data processed {"connection_id":50298,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:10:43] local.INFO: Acknowledgment sent {"connection_id":50298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:11:26] local.INFO: TCP Data received {"connection_id":51234,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:11:26] local.INFO: Processing buffer {"connection_id":51234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:11:26] local.INFO: IMEI packet received {"connection_id":51234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":51234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:11:28] local.INFO: TCP Data received {"connection_id":50560,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:11:28] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:11:28] local.INFO: IMEI packet received {"connection_id":50560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":50560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:11:31] local.INFO: TCP Data received {"connection_id":51234,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:11:31] local.INFO: Processing buffer {"connection_id":51234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:11:31] local.INFO: IMEI packet received {"connection_id":51234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":51234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:11:33] local.INFO: TCP Data received {"connection_id":51234,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:11:33] local.INFO: Processing buffer {"connection_id":51234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:11:33] local.INFO: Packet analysis {"connection_id":51234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:11:33] local.INFO: Extracted packet for processing {"connection_id":51234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:11:33] 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-22 14:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 14: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-22 14:11: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:11: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-22 14: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-22 14: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-22 14:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:11:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":51234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:11:33] local.INFO: GPS data processed {"connection_id":51234,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:11:33] local.INFO: Acknowledgment sent {"connection_id":51234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:11:33] local.INFO: TCP Data received {"connection_id":50560,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:11:33] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:11:33] local.INFO: IMEI packet received {"connection_id":50560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":50560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:11:34] local.INFO: TCP Data received {"connection_id":50560,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4593370012d197540071fecc0003c011429..."} 
[2026-04-22 14:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4593370012d197540071fecc0003c011429..."} 
[2026-04-22 14:11:34] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4593370012d197540071fecc0003c011429..."} 
[2026-04-22 14:11:34] local.INFO: Packet analysis {"connection_id":50560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db459"} 
[2026-04-22 14:11:34] local.INFO: Extracted packet for processing {"connection_id":50560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db459"} 
[2026-04-22 14:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872815872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:11: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-22 14:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776847238000,"timestamp_ms":1776847238000,"timestamp_seconds":1776847238,"priority":1,"record_length":96,"hex_timestamp":"0000019db4593370"} 
[2026-04-22 14: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-22 14:11:34] 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-22 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 14:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:11:34] 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-22 14:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872815872001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872815872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:11:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872815872001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":50560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:11:34] local.INFO: GPS data processed {"connection_id":50560,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:11:34] local.INFO: Acknowledgment sent {"connection_id":50560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:12:04] local.INFO: TCP Data received {"connection_id":51234,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:12:04] local.INFO: Processing buffer {"connection_id":51234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:12:04] local.INFO: Packet analysis {"connection_id":51234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:12:04] local.INFO: Extracted packet for processing {"connection_id":51234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12: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-22 14:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 14: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-22 14:12: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:12:04] 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-22 14: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-22 14: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-22 14:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:12: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-22 14:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":51234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:12:04] local.INFO: GPS data processed {"connection_id":51234,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:12:04] local.INFO: Acknowledgment sent {"connection_id":51234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:12:06] local.INFO: TCP Data received {"connection_id":50560,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4593370012d197540071fecc0003c011429..."} 
[2026-04-22 14:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4593370012d197540071fecc0003c011429..."} 
[2026-04-22 14:12:06] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4593370012d197540071fecc0003c011429..."} 
[2026-04-22 14:12:06] local.INFO: Packet analysis {"connection_id":50560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db459"} 
[2026-04-22 14:12:06] local.INFO: Extracted packet for processing {"connection_id":50560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db459"} 
[2026-04-22 14:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872815872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12: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-22 14:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776847238000,"timestamp_ms":1776847238000,"timestamp_seconds":1776847238,"priority":1,"record_length":96,"hex_timestamp":"0000019db4593370"} 
[2026-04-22 14:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:12:06] 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-22 14:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 14:12:06] 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-22 14:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:12:06] 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-22 14:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872815872001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872815872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:12:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872815872001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":50560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:12:06] local.INFO: GPS data processed {"connection_id":50560,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:12:06] local.INFO: Acknowledgment sent {"connection_id":50560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:12:26] local.INFO: TCP Data received {"connection_id":50300,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:12:26] local.INFO: Processing buffer {"connection_id":50300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:12:26] local.INFO: IMEI packet received {"connection_id":50300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":50300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:12:27] local.INFO: TCP Data received {"connection_id":50672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:12:27] local.INFO: Processing buffer {"connection_id":50672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:12:27] local.INFO: IMEI packet received {"connection_id":50672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":50672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:12:31] local.INFO: TCP Data received {"connection_id":50300,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:12:31] local.INFO: Processing buffer {"connection_id":50300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:12:31] local.INFO: IMEI packet received {"connection_id":50300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":50300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:12:32] local.INFO: TCP Data received {"connection_id":50300,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:12:32] local.INFO: Processing buffer {"connection_id":50300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:12:32] local.INFO: Packet analysis {"connection_id":50300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:12:32] local.INFO: Extracted packet for processing {"connection_id":50300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12:32] 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-22 14:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 14:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:12: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-22 14:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:12: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-22 14:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:12:32] 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-22 14:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":50300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:12:32] local.INFO: GPS data processed {"connection_id":50300,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:12:32] local.INFO: Acknowledgment sent {"connection_id":50300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:12:33] local.INFO: TCP Data received {"connection_id":50672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:12:33] local.INFO: Processing buffer {"connection_id":50672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:12:33] local.INFO: IMEI packet received {"connection_id":50672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":50672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:12:34] local.INFO: TCP Data received {"connection_id":50672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4593370012d197540071fecc0003c011429..."} 
[2026-04-22 14:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4593370012d197540071fecc0003c011429..."} 
[2026-04-22 14:12:34] local.INFO: Processing buffer {"connection_id":50672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4593370012d197540071fecc0003c011429..."} 
[2026-04-22 14:12:34] local.INFO: Packet analysis {"connection_id":50672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db459"} 
[2026-04-22 14:12:34] local.INFO: Extracted packet for processing {"connection_id":50672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db459"} 
[2026-04-22 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872815872001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:12: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-22 14:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776847238000,"timestamp_ms":1776847238000,"timestamp_seconds":1776847238,"priority":1,"record_length":96,"hex_timestamp":"0000019db4593370"} 
[2026-04-22 14: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-22 14:12:34] 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-22 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 14:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:12:34] local.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-22 14:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872815872001,"66":2177,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872815872001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:12:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872815872001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":50672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:12:34] local.INFO: GPS data processed {"connection_id":50672,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:12:34] local.INFO: Acknowledgment sent {"connection_id":50672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:13:03] local.INFO: TCP Data received {"connection_id":50300,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:13:03] local.INFO: Processing buffer {"connection_id":50300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:13:03] local.INFO: Packet analysis {"connection_id":50300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:13:03] local.INFO: Extracted packet for processing {"connection_id":50300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13: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-22 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 14: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-22 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:13: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-22 14: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-22 14: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-22 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:13: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-22 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":50300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:13:03] local.INFO: GPS data processed {"connection_id":50300,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:13:03] local.INFO: Acknowledgment sent {"connection_id":50300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:13:06] local.INFO: TCP Data received {"connection_id":50672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45aaa70012d197540071fecc0003c011429..."} 
[2026-04-22 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45aaa70012d197540071fecc0003c011429..."} 
[2026-04-22 14:13:06] local.INFO: Processing buffer {"connection_id":50672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45aaa70012d197540071fecc0003c011429..."} 
[2026-04-22 14:13:06] local.INFO: Packet analysis {"connection_id":50672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45a"} 
[2026-04-22 14:13:06] local.INFO: Extracted packet for processing {"connection_id":50672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45a"} 
[2026-04-22 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:13:06] 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-22 14:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872892928001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13: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-22 14:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776847334000,"timestamp_ms":1776847334000,"timestamp_seconds":1776847334,"priority":1,"record_length":96,"hex_timestamp":"0000019db45aaa70"} 
[2026-04-22 14:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:13:06] 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-22 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 14:13:06] 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-22 14:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:13:06] local.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-22 14:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872892928001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872892928001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:13:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872892928001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":50672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:13:06] local.INFO: GPS data processed {"connection_id":50672,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:13:06] local.INFO: Acknowledgment sent {"connection_id":50672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:13:26] local.INFO: TCP Data received {"connection_id":50561,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:13:26] local.INFO: Processing buffer {"connection_id":50561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:13:26] local.INFO: IMEI packet received {"connection_id":50561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":50561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:13:28] local.INFO: TCP Data received {"connection_id":51236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:13:28] local.INFO: Processing buffer {"connection_id":51236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:13:28] local.INFO: IMEI packet received {"connection_id":51236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":51236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:13:31] local.INFO: TCP Data received {"connection_id":50561,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:13:31] local.INFO: Processing buffer {"connection_id":50561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:13:31] local.INFO: IMEI packet received {"connection_id":50561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":50561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:13:32] local.INFO: TCP Data received {"connection_id":50561,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:13:32] local.INFO: Processing buffer {"connection_id":50561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db456f150012d7f864005afda20002901332a..."} 
[2026-04-22 14:13:32] local.INFO: Packet analysis {"connection_id":50561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:13:32] local.INFO: Extracted packet for processing {"connection_id":50561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db456"} 
[2026-04-22 14:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":41,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:32] 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-22 14:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847090000,"timestamp_ms":1776847090000,"timestamp_seconds":1776847090,"priority":1,"record_length":96,"hex_timestamp":"0000019db456f150"} 
[2026-04-22 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-22 14:13: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:13: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-22 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-22 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-22 14:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:13:32] 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-22 14:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872777984001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872777984001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":50561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:13:32] local.INFO: GPS data processed {"connection_id":50561,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:13:32] local.INFO: Acknowledgment sent {"connection_id":50561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:13:32] local.INFO: TCP Data received {"connection_id":51236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:13:32] local.INFO: Processing buffer {"connection_id":51236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:13:32] local.INFO: IMEI packet received {"connection_id":51236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":51236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:13:33] local.INFO: TCP Data received {"connection_id":51236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45aaa70012d197540071fecc0003c011429..."} 
[2026-04-22 14:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45aaa70012d197540071fecc0003c011429..."} 
[2026-04-22 14:13:33] local.INFO: Processing buffer {"connection_id":51236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45aaa70012d197540071fecc0003c011429..."} 
[2026-04-22 14:13:33] local.INFO: Packet analysis {"connection_id":51236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45a"} 
[2026-04-22 14:13:33] local.INFO: Extracted packet for processing {"connection_id":51236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45a"} 
[2026-04-22 14:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872917504001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13: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-22 14:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776847334000,"timestamp_ms":1776847334000,"timestamp_seconds":1776847334,"priority":1,"record_length":96,"hex_timestamp":"0000019db45aaa70"} 
[2026-04-22 14: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-22 14:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:13:33] local.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-22 14:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872917504001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872917504001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:13:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872917504001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":51236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:13:33] local.INFO: GPS data processed {"connection_id":51236,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:13:33] local.INFO: Acknowledgment sent {"connection_id":51236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:13:38] local.INFO: TCP Data received {"connection_id":51236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45aaa70012d197540071fecc0003c011429..."} 
[2026-04-22 14:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45aaa70012d197540071fecc0003c011429..."} 
[2026-04-22 14:13:38] local.INFO: Processing buffer {"connection_id":51236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45aaa70012d197540071fecc0003c011429..."} 
[2026-04-22 14:13:38] local.INFO: Packet analysis {"connection_id":51236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45a"} 
[2026-04-22 14:13:38] local.INFO: Extracted packet for processing {"connection_id":51236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45a"} 
[2026-04-22 14:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119532736,"longitude_deg":75.6643136,"latitude_deg":11.9532736,"altitude":60,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d197540","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-22 14:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872917504001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:13: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-22 14:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776847334000,"timestamp_ms":1776847334000,"timestamp_seconds":1776847334,"priority":1,"record_length":96,"hex_timestamp":"0000019db45aaa70"} 
[2026-04-22 14:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:13: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-22 14:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872917504001,"66":2166,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872917504001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:13:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872917504001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":51236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:13:38] local.INFO: GPS data processed {"connection_id":51236,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:13:38] local.INFO: Acknowledgment sent {"connection_id":51236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:14:03] local.INFO: TCP Data received {"connection_id":50561,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:14:03] local.INFO: Processing buffer {"connection_id":50561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:14:03] local.INFO: Packet analysis {"connection_id":50561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:14:03] local.INFO: Extracted packet for processing {"connection_id":50561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14: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-22 14:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 14: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-22 14: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:14: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-22 14: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-22 14: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-22 14:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:14: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-22 14:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:14:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":50561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:14:03] local.INFO: GPS data processed {"connection_id":50561,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:14:03] local.INFO: Acknowledgment sent {"connection_id":50561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:14:08] local.INFO: TCP Data received {"connection_id":51236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b13e8012d1967c0071febe0003c011229..."} 
[2026-04-22 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b13e8012d1967c0071febe0003c011229..."} 
[2026-04-22 14:14:08] local.INFO: Processing buffer {"connection_id":51236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b13e8012d1967c0071febe0003c011229..."} 
[2026-04-22 14:14:08] local.INFO: Packet analysis {"connection_id":51236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:14:08] local.INFO: Extracted packet for processing {"connection_id":51236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532512,"longitude_deg":75.663968,"latitude_deg":11.9532512,"altitude":60,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-04-22 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872917504001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892512531218432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822567903232,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776847361000,"timestamp_ms":1776847361000,"timestamp_seconds":1776847361,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b13e8"} 
[2026-04-22 14:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:14:08] 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-22 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 14:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:14:08] local.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-22 14:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872917504001,"66":14135,"106":206,"83":41984,"24":0,"16":113892512531218432,"45":1834442822567903232},"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-22 14:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872917504001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:14:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892512531218432,"km_value":113892512531218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822567903232,"description":"Unknown IO ID 45"} 
[2026-04-22 14:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872917504001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834442822567903232}} 
[2026-04-22 14:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":51236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:14:09] local.INFO: GPS data processed {"connection_id":51236,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:14:09] local.INFO: Acknowledgment sent {"connection_id":51236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:14:11] local.INFO: TCP Data received {"connection_id":50301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:14:11] local.INFO: Processing buffer {"connection_id":50301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:14:11] local.INFO: IMEI packet received {"connection_id":50301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":50301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:14:25] local.INFO: TCP Data received {"connection_id":50673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:14:25] local.INFO: Processing buffer {"connection_id":50673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:14:25] local.INFO: IMEI packet received {"connection_id":50673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":50673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:14:26] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:14:26] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:14:26] local.INFO: IMEI packet received {"connection_id":50674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":50674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:14:27] local.INFO: TCP Data received {"connection_id":50673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:14:27] local.INFO: Processing buffer {"connection_id":50673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:14:27] local.INFO: IMEI packet received {"connection_id":50673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:14:31] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:14:31] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:14:31] local.INFO: IMEI packet received {"connection_id":50674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":50674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:14:31] local.INFO: TCP Data received {"connection_id":50673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:14:31] local.INFO: Processing buffer {"connection_id":50673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:14:31] local.INFO: IMEI packet received {"connection_id":50673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":50673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:14:32] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:14:32] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:14:32] local.INFO: Packet analysis {"connection_id":50674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:14:32] local.INFO: Extracted packet for processing {"connection_id":50674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:32] 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-22 14:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 14: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-22 14:14: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:14: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-22 14: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-22 14: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-22 14:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:14:32] 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-22 14:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":50674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:14:32] local.INFO: GPS data processed {"connection_id":50674,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:14:32] local.INFO: Acknowledgment sent {"connection_id":50674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:14:32] local.INFO: TCP Data received {"connection_id":50673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45bcf68012d1985c0071ff068003e00522a..."} 
[2026-04-22 14:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45bcf68012d1985c0071ff068003e00522a..."} 
[2026-04-22 14:14:32] local.INFO: Processing buffer {"connection_id":50673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45bcf68012d1985c0071ff068003e00522a..."} 
[2026-04-22 14:14:32] local.INFO: Packet analysis {"connection_id":50673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:14:32] local.INFO: Extracted packet for processing {"connection_id":50673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756647360,"raw_latitude":119533672,"longitude_deg":75.664736,"latitude_deg":11.9533672,"altitude":62,"angle":82,"satellites":42,"speed":22,"hex_longitude":"2d1985c0","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872935680001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113892946322915328,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728614109184,"note":"Value kept but may cause issues"} 
[2026-04-22 14:14: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-22 14:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847409000,"timestamp_ms":1776847409000,"timestamp_seconds":1776847409,"priority":1,"record_length":96,"hex_timestamp":"0000019db45bcf68"} 
[2026-04-22 14: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-22 14:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 14:14:32] 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-22 14: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-22 14: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-22 14:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872935680001,"66":13928,"106":206,"83":41984,"24":22,"16":113892946322915328,"45":1836905728614109184},"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-22 14:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872935680001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:14:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113892946322915328,"km_value":113892946322915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728614109184,"description":"Unknown IO ID 45"} 
[2026-04-22 14:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872935680001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1836905728614109184}} 
[2026-04-22 14:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":50673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:14:32] local.INFO: GPS data processed {"connection_id":50673,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:14:32] local.INFO: Acknowledgment sent {"connection_id":50673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:14:52] local.INFO: TCP Data received {"connection_id":50302,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:14:52] local.INFO: Processing buffer {"connection_id":50302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:14:52] local.INFO: IMEI packet received {"connection_id":50302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":50302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:15:03] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:15:03] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:15:03] local.INFO: Packet analysis {"connection_id":50674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:15:03] local.INFO: Extracted packet for processing {"connection_id":50674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15: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-22 14:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 14:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:15: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-22 14:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:15: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-22 14:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":50674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:15:03] local.INFO: GPS data processed {"connection_id":50674,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:15:03] local.INFO: Acknowledgment sent {"connection_id":50674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:15:04] local.INFO: TCP Data received {"connection_id":50673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45c7760012d19dd8007200a40002c01342a..."} 
[2026-04-22 14:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45c7760012d19dd8007200a40002c01342a..."} 
[2026-04-22 14:15:04] local.INFO: Processing buffer {"connection_id":50673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45c7760012d19dd8007200a40002c01342a..."} 
[2026-04-22 14:15:04] local.INFO: Packet analysis {"connection_id":50673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45c"} 
[2026-04-22 14:15:04] local.INFO: Extracted packet for processing {"connection_id":50673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45c"} 
[2026-04-22 14:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756669824,"raw_latitude":119540288,"longitude_deg":75.6669824,"latitude_deg":11.9540288,"altitude":44,"angle":308,"satellites":42,"speed":10,"hex_longitude":"2d19dd80","hex_latitude":"07200a40","is_valid_coordinates":true} 
[2026-04-22 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-22 14:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872947456001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113894204748333056,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868581888,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15: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-22 14:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776847452000,"timestamp_ms":1776847452000,"timestamp_seconds":1776847452,"priority":1,"record_length":96,"hex_timestamp":"0000019db45c7760"} 
[2026-04-22 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-22 14:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-04-22 14:15:04] 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-22 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-22 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-22 14:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:15:04] local.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-22 14:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872947456001,"66":13896,"106":206,"83":41984,"24":10,"16":113894204748333056,"45":1864068063868581888},"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-22 14:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872947456001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:15:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113894204748333056,"km_value":113894204748333.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868581888,"description":"Unknown IO ID 45"} 
[2026-04-22 14:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872947456001,"power":13896,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1864068063868581888}} 
[2026-04-22 14:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":50673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:15:04] local.INFO: GPS data processed {"connection_id":50673,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:15:04] local.INFO: Acknowledgment sent {"connection_id":50673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:15:28] local.INFO: TCP Data received {"connection_id":50303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:15:28] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:15:28] local.INFO: IMEI packet received {"connection_id":50303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":50303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:15:31] local.INFO: TCP Data received {"connection_id":50304,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:15:31] local.INFO: Processing buffer {"connection_id":50304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:15:31] local.INFO: IMEI packet received {"connection_id":50304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":50304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:15:32] local.INFO: TCP Data received {"connection_id":50304,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:15:32] local.INFO: Processing buffer {"connection_id":50304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:15:32] local.INFO: Packet analysis {"connection_id":50304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:15:32] local.INFO: Extracted packet for processing {"connection_id":50304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15:32] 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-22 14:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 14: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-22 14:15: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-22 14: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:15: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-22 14: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-22 14: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-22 14:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:15:32] 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-22 14:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":50304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:15:32] local.INFO: GPS data processed {"connection_id":50304,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:15:32] local.INFO: Acknowledgment sent {"connection_id":50304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:15:32] local.INFO: TCP Data received {"connection_id":50303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:15:32] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:15:32] local.INFO: IMEI packet received {"connection_id":50303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:15:33] local.INFO: TCP Data received {"connection_id":50303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45c96a0012d19ce80072015b0002e014128..."} 
[2026-04-22 14:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45c96a0012d19ce80072015b0002e014128..."} 
[2026-04-22 14:15:33] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45c96a0012d19ce80072015b0002e014128..."} 
[2026-04-22 14:15:33] local.INFO: Packet analysis {"connection_id":50303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45c"} 
[2026-04-22 14:15:33] local.INFO: Extracted packet for processing {"connection_id":50303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45c"} 
[2026-04-22 14:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119543216,"longitude_deg":75.6665984,"latitude_deg":11.9543216,"altitude":46,"angle":321,"satellites":40,"speed":34,"hex_longitude":"2d19ce80","hex_latitude":"072015b0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872947712001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113894440971534336,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891922432,"note":"Value kept but may cause issues"} 
[2026-04-22 14:15: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-22 14:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776847460000,"timestamp_ms":1776847460000,"timestamp_seconds":1776847460,"priority":1,"record_length":96,"hex_timestamp":"0000019db45c96a0"} 
[2026-04-22 14: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-22 14:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-04-22 14:15:33] 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-22 14: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-22 14: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-22 14:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:15:33] local.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-22 14:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872947712001,"66":14428,"106":206,"83":41984,"24":34,"16":113894440971534336,"45":1863786588891922432},"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-22 14:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872947712001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:15:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113894440971534336,"km_value":113894440971534.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891922432,"description":"Unknown IO ID 45"} 
[2026-04-22 14:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872947712001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1863786588891922432}} 
[2026-04-22 14:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:15:33] local.INFO: GPS data processed {"connection_id":50303,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:15:33] local.INFO: Acknowledgment sent {"connection_id":50303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:16:04] local.INFO: TCP Data received {"connection_id":50304,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:16:04] local.INFO: Processing buffer {"connection_id":50304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:16:04] local.INFO: Packet analysis {"connection_id":50304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:16:04] local.INFO: Extracted packet for processing {"connection_id":50304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16: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-22 14:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 14: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-22 14:16: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:16:04] 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-22 14: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-22 14: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-22 14:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:16: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-22 14:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":50304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:16:04] local.INFO: GPS data processed {"connection_id":50304,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:16:04] local.INFO: Acknowledgment sent {"connection_id":50304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:16:05] local.INFO: TCP Data received {"connection_id":50303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45ca258012d19c8c007201ee80030014c22..."} 
[2026-04-22 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45ca258012d19c8c007201ee80030014c22..."} 
[2026-04-22 14:16:05] local.INFO: Processing buffer {"connection_id":50303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45ca258012d19c8c007201ee80030014c22..."} 
[2026-04-22 14:16:05] local.INFO: Packet analysis {"connection_id":50303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45c"} 
[2026-04-22 14:16:05] local.INFO: Extracted packet for processing {"connection_id":50303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45c"} 
[2026-04-22 14:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119545576,"longitude_deg":75.6664512,"latitude_deg":11.9545576,"altitude":48,"angle":332,"satellites":34,"speed":38,"hex_longitude":"2d19c8c0","hex_latitude":"07201ee8","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872949760001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113894574115520512,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242012160,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16: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-22 14:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776847463000,"timestamp_ms":1776847463000,"timestamp_seconds":1776847463,"priority":1,"record_length":96,"hex_timestamp":"0000019db45ca258"} 
[2026-04-22 14: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-22 14:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 14:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872949760001,"66":14298,"106":206,"83":41984,"24":38,"16":113894574115520512,"45":1859564464242012160},"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-22 14:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872949760001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:16:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113894574115520512,"km_value":113894574115520.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242012160,"description":"Unknown IO ID 45"} 
[2026-04-22 14:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872949760001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1859564464242012160}} 
[2026-04-22 14:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":50303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:16:05] local.INFO: GPS data processed {"connection_id":50303,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:16:05] local.INFO: Acknowledgment sent {"connection_id":50303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:16:26] local.INFO: TCP Data received {"connection_id":50562,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:16:26] local.INFO: Processing buffer {"connection_id":50562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:16:26] local.INFO: IMEI packet received {"connection_id":50562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:16:28] local.INFO: TCP Data received {"connection_id":50563,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:28] local.INFO: Processing buffer {"connection_id":50563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:28] local.INFO: IMEI packet received {"connection_id":50563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":50563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:16:29] local.INFO: TCP Data received {"connection_id":50563,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:29] local.INFO: Processing buffer {"connection_id":50563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:29] local.INFO: IMEI packet received {"connection_id":50563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":50563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:16:31] local.INFO: TCP Data received {"connection_id":50563,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:31] local.INFO: Processing buffer {"connection_id":50563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:31] local.INFO: IMEI packet received {"connection_id":50563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:16:31] local.INFO: TCP Data received {"connection_id":50562,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:16:31] local.INFO: Processing buffer {"connection_id":50562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:16:31] local.INFO: IMEI packet received {"connection_id":50562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:16:32] local.INFO: TCP Data received {"connection_id":50562,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:16:32] local.INFO: Processing buffer {"connection_id":50562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:16:32] local.INFO: Packet analysis {"connection_id":50562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:16:32] local.INFO: Extracted packet for processing {"connection_id":50562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:32] 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-22 14:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 14: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-22 14:16: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:16: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-22 14: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-22 14: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-22 14:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:16:32] 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-22 14:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":50562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:16:32] local.INFO: GPS data processed {"connection_id":50562,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:16:32] local.INFO: Acknowledgment sent {"connection_id":50562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:16:35] local.INFO: TCP Data received {"connection_id":50563,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:35] local.INFO: Processing buffer {"connection_id":50563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:16:35] local.INFO: IMEI packet received {"connection_id":50563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":50563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:16:36] local.INFO: TCP Data received {"connection_id":50563,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45db7b0012d19bb400720a6900033003b26..."} 
[2026-04-22 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45db7b0012d19bb400720a6900033003b26..."} 
[2026-04-22 14:16:36] local.INFO: Processing buffer {"connection_id":50563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45db7b0012d19bb400720a6900033003b26..."} 
[2026-04-22 14:16:36] local.INFO: Packet analysis {"connection_id":50563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45d"} 
[2026-04-22 14:16:36] local.INFO: Extracted packet for processing {"connection_id":50563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45d"} 
[2026-04-22 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119580304,"longitude_deg":75.6661056,"latitude_deg":11.9580304,"altitude":51,"angle":59,"satellites":38,"speed":9,"hex_longitude":"2d19bb40","hex_latitude":"0720a690","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872966656001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113896382296752128,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851049846205157376,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776847534000,"timestamp_ms":1776847534000,"timestamp_seconds":1776847534,"priority":1,"record_length":96,"hex_timestamp":"0000019db45db7b0"} 
[2026-04-22 14: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-22 14:16:36] 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-22 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 14:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872966656001,"66":14363,"106":206,"83":41984,"24":9,"16":113896382296752128,"45":1851049846205157376},"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-22 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872966656001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:16:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113896382296752128,"km_value":113896382296752.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851049846205157376,"description":"Unknown IO ID 45"} 
[2026-04-22 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872966656001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1851049846205157376}} 
[2026-04-22 14:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":50563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:16:36] local.INFO: GPS data processed {"connection_id":50563,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:16:36] local.INFO: Acknowledgment sent {"connection_id":50563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:16:37] local.INFO: TCP Data received {"connection_id":50563,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45de690012d19bdc00720a6300033007328..."} 
[2026-04-22 14:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45de690012d19bdc00720a6300033007328..."} 
[2026-04-22 14:16:37] local.INFO: Processing buffer {"connection_id":50563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45de690012d19bdc00720a6300033007328..."} 
[2026-04-22 14:16:37] local.INFO: Packet analysis {"connection_id":50563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45d"} 
[2026-04-22 14:16:37] local.INFO: Extracted packet for processing {"connection_id":50563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45d"} 
[2026-04-22 14:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119580208,"longitude_deg":75.6661696,"latitude_deg":11.9580208,"altitude":51,"angle":115,"satellites":40,"speed":5,"hex_longitude":"2d19bdc0","hex_latitude":"0720a630","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872968704001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113896412361523200,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949826560,"note":"Value kept but may cause issues"} 
[2026-04-22 14:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776847546000,"timestamp_ms":1776847546000,"timestamp_seconds":1776847546,"priority":1,"record_length":96,"hex_timestamp":"0000019db45de690"} 
[2026-04-22 14: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-22 14:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 14:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:16:37] local.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-22 14:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872968704001,"66":13917,"106":206,"83":41984,"24":5,"16":113896412361523200,"45":1854146070949826560},"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-22 14:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872968704001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:16:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113896412361523200,"km_value":113896412361523.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949826560,"description":"Unknown IO ID 45"} 
[2026-04-22 14:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872968704001,"power":13917,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1854146070949826560}} 
[2026-04-22 14:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":50563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:16:37] local.INFO: GPS data processed {"connection_id":50563,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:16:37] local.INFO: Acknowledgment sent {"connection_id":50563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:17:03] local.INFO: TCP Data received {"connection_id":50562,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:17:03] local.INFO: Processing buffer {"connection_id":50562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:17:03] local.INFO: Packet analysis {"connection_id":50562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:17:03] local.INFO: Extracted packet for processing {"connection_id":50562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17: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-22 14:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 14:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:17: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-22 14:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:17:03] 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-22 14:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:17:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":50562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:17:03] local.INFO: GPS data processed {"connection_id":50562,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:17:03] local.INFO: Acknowledgment sent {"connection_id":50562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:17:26] local.INFO: TCP Data received {"connection_id":51237,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:17:26] local.INFO: Processing buffer {"connection_id":51237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:17:26] local.INFO: IMEI packet received {"connection_id":51237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":51237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:17:31] local.INFO: TCP Data received {"connection_id":51237,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:17:31] local.INFO: Processing buffer {"connection_id":51237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:17:31] local.INFO: IMEI packet received {"connection_id":51237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":51237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:17:32] local.INFO: TCP Data received {"connection_id":51237,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:17:32] local.INFO: Processing buffer {"connection_id":51237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:17:32] local.INFO: Packet analysis {"connection_id":51237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:17:32] local.INFO: Extracted packet for processing {"connection_id":51237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:32] 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-22 14:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 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-22 14: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:17: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-22 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-22 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-22 14:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:17: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-22 14:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":51237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:17:32] local.INFO: GPS data processed {"connection_id":51237,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:17:32] local.INFO: Acknowledgment sent {"connection_id":51237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:17:36] local.INFO: TCP Data received {"connection_id":50563,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45df630012d19c3000720a4900032006528..."} 
[2026-04-22 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45df630012d19c3000720a4900032006528..."} 
[2026-04-22 14:17:36] local.INFO: Processing buffer {"connection_id":50563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45df630012d19c3000720a4900032006528..."} 
[2026-04-22 14:17:36] local.INFO: Packet analysis {"connection_id":50563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45d"} 
[2026-04-22 14:17:36] local.INFO: Extracted packet for processing {"connection_id":50563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45d"} 
[2026-04-22 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119579792,"longitude_deg":75.666304,"latitude_deg":11.9579792,"altitude":50,"angle":101,"satellites":40,"speed":21,"hex_longitude":"2d19c300","hex_latitude":"0720a490","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872971776001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113896481080999936,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849758391578624,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776847550000,"timestamp_ms":1776847550000,"timestamp_seconds":1776847550,"priority":1,"record_length":96,"hex_timestamp":"0000019db45df630"} 
[2026-04-22 14: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-22 14:17:36] 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-22 14: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-22 14:17:36] 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-22 14: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-22 14: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-22 14:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872971776001,"66":13961,"106":206,"83":41984,"24":21,"16":113896481080999936,"45":1854849758391578624},"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-22 14:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872971776001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:17:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113896481080999936,"km_value":113896481080999.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849758391578624,"description":"Unknown IO ID 45"} 
[2026-04-22 14:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872971776001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1854849758391578624}} 
[2026-04-22 14:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":50563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:17:36] local.INFO: GPS data processed {"connection_id":50563,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:17:36] local.INFO: Acknowledgment sent {"connection_id":50563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:17:38] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:17:38] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:17:38] local.INFO: IMEI packet received {"connection_id":50307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":50307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:17:46] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:17:46] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:17:46] local.INFO: IMEI packet received {"connection_id":50307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":50307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:17:47] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45ec538012d1a18800720cde80033003c28..."} 
[2026-04-22 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45ec538012d1a18800720cde80033003c28..."} 
[2026-04-22 14:17:47] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45ec538012d1a18800720cde80033003c28..."} 
[2026-04-22 14:17:47] local.INFO: Packet analysis {"connection_id":50307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45e"} 
[2026-04-22 14:17:47] local.INFO: Extracted packet for processing {"connection_id":50307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45e"} 
[2026-04-22 14:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756684928,"raw_latitude":119590376,"longitude_deg":75.6684928,"latitude_deg":11.9590376,"altitude":51,"angle":60,"satellites":40,"speed":15,"hex_longitude":"2d1a1880","hex_latitude":"0720cde8","is_valid_coordinates":true} 
[2026-04-22 14:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113897713736613888,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878915868902668288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:47] 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-22 14:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776847603000,"timestamp_ms":1776847603000,"timestamp_seconds":1776847603,"priority":1,"record_length":96,"hex_timestamp":"0000019db45ec538"} 
[2026-04-22 14:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-22 14:17:47] 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-22 14:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:17: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-22 14:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872985088001,"66":14483,"61":206,"83":41984,"24":15,"16":113897713736613888,"45":1878915868902668288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 14:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:17:47] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 14:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113897713736613888,"km_value":113897713736613.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878915868902668288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872985088001,"power":14483,"unknown_61":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1878915868902668288}} 
[2026-04-22 14:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":50307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:17:47] local.INFO: GPS data processed {"connection_id":50307,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:17:47] local.INFO: Acknowledgment sent {"connection_id":50307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:17:49] local.INFO: TCP Data received {"connection_id":50307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db45eec48012d1a2b000720d7b00035003129..."} 
[2026-04-22 14:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45eec48012d1a2b000720d7b00035003129..."} 
[2026-04-22 14:17:49] local.INFO: Processing buffer {"connection_id":50307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45eec48012d1a2b000720d7b00035003129..."} 
[2026-04-22 14:17:49] local.INFO: Packet analysis {"connection_id":50307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45e"} 
[2026-04-22 14:17:49] local.INFO: Extracted packet for processing {"connection_id":50307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45e"} 
[2026-04-22 14:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756689664,"raw_latitude":119592880,"longitude_deg":75.6689664,"latitude_deg":11.959288,"altitude":53,"angle":49,"satellites":41,"speed":24,"hex_longitude":"2d1a2b00","hex_latitude":"0720d7b0","is_valid_coordinates":true} 
[2026-04-22 14:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872986368001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113897971434651648,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880393612530673664,"note":"Value kept but may cause issues"} 
[2026-04-22 14:17:49] 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-22 14:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776847613000,"timestamp_ms":1776847613000,"timestamp_seconds":1776847613,"priority":1,"record_length":96,"hex_timestamp":"0000019db45eec48"} 
[2026-04-22 14:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:17: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-22 14:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-22 14:17:49] 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-22 14:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":50307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":50307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":50307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:17: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-22 14:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872986368001,"66":14515,"61":206,"83":41984,"24":24,"16":113897971434651648,"45":1880393612530673664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 14:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872986368001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:17:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 14:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113897971434651648,"km_value":113897971434651.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880393612530673664,"description":"Unknown IO ID 45"} 
[2026-04-22 14:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872986368001,"power":14515,"unknown_61":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1880393612530673664}} 
[2026-04-22 14:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":50307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:17:49] local.INFO: GPS data processed {"connection_id":50307,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:17:49] local.INFO: Acknowledgment sent {"connection_id":50307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:18:03] local.INFO: TCP Data received {"connection_id":51237,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:18:03] local.INFO: Processing buffer {"connection_id":51237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:18:03] local.INFO: Packet analysis {"connection_id":51237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:18:03] local.INFO: Extracted packet for processing {"connection_id":51237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18: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-22 14:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 14:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:18: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-22 14:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:18: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-22 14:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:18: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-22 14:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":51237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:18:03] local.INFO: GPS data processed {"connection_id":51237,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:18:03] local.INFO: Acknowledgment sent {"connection_id":51237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:18:26] local.INFO: TCP Data received {"connection_id":50676,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:18:26] local.INFO: Processing buffer {"connection_id":50676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:18:26] local.INFO: IMEI packet received {"connection_id":50676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":50676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:18:31] local.INFO: TCP Data received {"connection_id":50676,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:18:31] local.INFO: Processing buffer {"connection_id":50676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:18:31] local.INFO: IMEI packet received {"connection_id":50676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":50676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:18:32] local.INFO: TCP Data received {"connection_id":50676,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:18:32] local.INFO: Processing buffer {"connection_id":50676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45b8918012d7f864005afda200022013328..."} 
[2026-04-22 14:18:32] local.INFO: Packet analysis {"connection_id":50676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:18:32] local.INFO: Extracted packet for processing {"connection_id":50676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45b"} 
[2026-04-22 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":34,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872855040001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:32] 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-22 14:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847391000,"timestamp_ms":1776847391000,"timestamp_seconds":1776847391,"priority":1,"record_length":96,"hex_timestamp":"0000019db45b8918"} 
[2026-04-22 14:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:18: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-22 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:18: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-22 14:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:18: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-22 14:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872855040001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872855040001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:18:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872855040001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":50676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:18:32] local.INFO: GPS data processed {"connection_id":50676,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:18:32] local.INFO: Acknowledgment sent {"connection_id":50676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:18:33] local.INFO: TCP Data received {"connection_id":50677,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:18:33] local.INFO: Processing buffer {"connection_id":50677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:18:33] local.INFO: IMEI packet received {"connection_id":50677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":50677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:18:38] local.INFO: TCP Data received {"connection_id":50677,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:18:38] local.INFO: Processing buffer {"connection_id":50677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:18:38] local.INFO: IMEI packet received {"connection_id":50677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":50677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:18:39] local.INFO: TCP Data received {"connection_id":50677,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db45fb380012d1a6c000720d2f80047009825..."} 
[2026-04-22 14:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45fb380012d1a6c000720d2f80047009825..."} 
[2026-04-22 14:18:39] local.INFO: Processing buffer {"connection_id":50677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45fb380012d1a6c000720d2f80047009825..."} 
[2026-04-22 14:18:39] local.INFO: Packet analysis {"connection_id":50677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:18:39] local.INFO: Extracted packet for processing {"connection_id":50677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756706304,"raw_latitude":119591672,"longitude_deg":75.6706304,"latitude_deg":11.9591672,"altitude":71,"angle":152,"satellites":37,"speed":11,"hex_longitude":"2d1a6c00","hex_latitude":"0720d2f8","is_valid_coordinates":true} 
[2026-04-22 14:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872999168001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899161140592640,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900378335878336512,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:39] 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-22 14:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776847664000,"timestamp_ms":1776847664000,"timestamp_seconds":1776847664,"priority":1,"record_length":96,"hex_timestamp":"0000019db45fb380"} 
[2026-04-22 14:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 14:18:39] 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-22 14:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:18:39] 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-22 14:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872999168001,"66":13493,"75":206,"83":41984,"24":11,"16":113899161140592640,"45":1900378335878336512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-22 14:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872999168001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:18:39] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-22 14:18:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899161140592640,"km_value":113899161140592.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900378335878336512,"description":"Unknown IO ID 45"} 
[2026-04-22 14:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872999168001,"power":13493,"unknown_75":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1900378335878336512}} 
[2026-04-22 14:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":50677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:18:40] local.INFO: GPS data processed {"connection_id":50677,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:18:40] local.INFO: Acknowledgment sent {"connection_id":50677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:18:42] local.INFO: TCP Data received {"connection_id":50677,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db45fb768012d1a6cc00720d1f8004800a425..."} 
[2026-04-22 14:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45fb768012d1a6cc00720d1f8004800a425..."} 
[2026-04-22 14:18:42] local.INFO: Processing buffer {"connection_id":50677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45fb768012d1a6cc00720d1f8004800a425..."} 
[2026-04-22 14:18:42] local.INFO: Packet analysis {"connection_id":50677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:18:42] local.INFO: Extracted packet for processing {"connection_id":50677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756706496,"raw_latitude":119591416,"longitude_deg":75.6706496,"latitude_deg":11.9591416,"altitude":72,"angle":164,"satellites":37,"speed":10,"hex_longitude":"2d1a6cc0","hex_latitude":"0720d1f8","is_valid_coordinates":true} 
[2026-04-22 14:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873001984001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899178320461824,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903896773086345216,"note":"Value kept but may cause issues"} 
[2026-04-22 14:18:42] 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-22 14:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776847665000,"timestamp_ms":1776847665000,"timestamp_seconds":1776847665,"priority":1,"record_length":96,"hex_timestamp":"0000019db45fb768"} 
[2026-04-22 14:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 14:18:42] 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-22 14:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873001984001,"66":14407,"75":206,"83":41984,"24":10,"16":113899178320461824,"45":1903896773086345216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-22 14:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873001984001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:18:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-22 14:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899178320461824,"km_value":113899178320461.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903896773086345216,"description":"Unknown IO ID 45"} 
[2026-04-22 14:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873001984001,"power":14407,"unknown_75":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1903896773086345216}} 
[2026-04-22 14:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":50677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:18:42] local.INFO: GPS data processed {"connection_id":50677,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:18:42] local.INFO: Acknowledgment sent {"connection_id":50677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:19:05] local.INFO: TCP Data received {"connection_id":50676,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:19:05] local.INFO: Processing buffer {"connection_id":50676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:19:05] local.INFO: Packet analysis {"connection_id":50676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:19:05] local.INFO: Extracted packet for processing {"connection_id":50676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:05] 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-22 14:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14: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-22 14: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-22 14: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:19: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-22 14: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-22 14: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-22 14:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":50676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:19:05] local.INFO: GPS data processed {"connection_id":50676,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:19:05] local.INFO: Acknowledgment sent {"connection_id":50676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:19:28] local.INFO: TCP Data received {"connection_id":50564,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:19:28] local.INFO: Processing buffer {"connection_id":50564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:19:28] local.INFO: IMEI packet received {"connection_id":50564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":50564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:19:31] local.INFO: TCP Data received {"connection_id":50308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:19:31] local.INFO: Processing buffer {"connection_id":50308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:19:31] local.INFO: IMEI packet received {"connection_id":50308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":50308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:19:33] local.INFO: TCP Data received {"connection_id":50564,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:19:33] local.INFO: Processing buffer {"connection_id":50564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:19:33] local.INFO: IMEI packet received {"connection_id":50564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":50564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:19:36] local.INFO: TCP Data received {"connection_id":50308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:19:36] local.INFO: Processing buffer {"connection_id":50308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:19:36] local.INFO: IMEI packet received {"connection_id":50308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":50308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:19:37] local.INFO: TCP Data received {"connection_id":50308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:19:37] local.INFO: Processing buffer {"connection_id":50308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:19:37] local.INFO: Packet analysis {"connection_id":50308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:19:37] local.INFO: Extracted packet for processing {"connection_id":50308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:37] 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-22 14:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:19: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-22 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:19: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-22 14:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:19: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-22 14:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":50308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:19:37] local.INFO: GPS data processed {"connection_id":50308,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:19:37] local.INFO: Acknowledgment sent {"connection_id":50308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:19:37] local.INFO: TCP Data received {"connection_id":50564,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db45fbb50012d1a6cc00720d0e8004800b425..."} 
[2026-04-22 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45fbb50012d1a6cc00720d0e8004800b425..."} 
[2026-04-22 14:19:37] local.INFO: Processing buffer {"connection_id":50564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45fbb50012d1a6cc00720d0e8004800b425..."} 
[2026-04-22 14:19:37] local.INFO: Packet analysis {"connection_id":50564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:19:37] local.INFO: Extracted packet for processing {"connection_id":50564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756706496,"raw_latitude":119591144,"longitude_deg":75.6706496,"latitude_deg":11.9591144,"altitude":72,"angle":180,"satellites":37,"speed":11,"hex_longitude":"2d1a6cc0","hex_latitude":"0720d0e8","is_valid_coordinates":true} 
[2026-04-22 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873002240001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899191205363712,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904107879318812672,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:37] 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-22 14:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776847666000,"timestamp_ms":1776847666000,"timestamp_seconds":1776847666,"priority":1,"record_length":96,"hex_timestamp":"0000019db45fbb50"} 
[2026-04-22 14:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 14:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:19:37] 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-22 14:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873002240001,"66":14407,"75":206,"83":41984,"24":11,"16":113899191205363712,"45":1904107879318812672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-22 14:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873002240001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:19:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-22 14:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899191205363712,"km_value":113899191205363.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904107879318812672,"description":"Unknown IO ID 45"} 
[2026-04-22 14:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873002240001,"power":14407,"unknown_75":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1904107879318812672}} 
[2026-04-22 14:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":50564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:19:37] local.INFO: GPS data processed {"connection_id":50564,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:19:37] local.INFO: Acknowledgment sent {"connection_id":50564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:19:41] local.INFO: TCP Data received {"connection_id":50308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:19:41] local.INFO: Processing buffer {"connection_id":50308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:19:41] local.INFO: Packet analysis {"connection_id":50308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:19:41] local.INFO: Extracted packet for processing {"connection_id":50308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:19:41] 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-22 14:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14: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-22 14:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:19:41] 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-22 14: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-22 14: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-22 14:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:19:41] local.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-22 14:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:19:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":50308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:19:41] local.INFO: GPS data processed {"connection_id":50308,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:19:41] local.INFO: Acknowledgment sent {"connection_id":50308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:20:11] local.INFO: TCP Data received {"connection_id":50309,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:20:11] local.INFO: Processing buffer {"connection_id":50309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:20:11] local.INFO: IMEI packet received {"connection_id":50309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":50309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:20:16] local.INFO: TCP Data received {"connection_id":50564,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db45fbf38012d1a6c400720cfd0004900c325..."} 
[2026-04-22 14:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45fbf38012d1a6c400720cfd0004900c325..."} 
[2026-04-22 14:20:16] local.INFO: Processing buffer {"connection_id":50564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45fbf38012d1a6c400720cfd0004900c325..."} 
[2026-04-22 14:20:16] local.INFO: Packet analysis {"connection_id":50564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:20:16] local.INFO: Extracted packet for processing {"connection_id":50564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756706368,"raw_latitude":119590864,"longitude_deg":75.6706368,"latitude_deg":11.9590864,"altitude":73,"angle":195,"satellites":37,"speed":11,"hex_longitude":"2d1a6c40","hex_latitude":"0720cfd0","is_valid_coordinates":true} 
[2026-04-22 14:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873002496001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899204090265600,"note":"Value kept but may cause issues"} 
[2026-04-22 14:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904107879318743040,"note":"Value kept but may cause issues"} 
[2026-04-22 14:20:16] 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-22 14:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776847667000,"timestamp_ms":1776847667000,"timestamp_seconds":1776847667,"priority":1,"record_length":96,"hex_timestamp":"0000019db45fbf38"} 
[2026-04-22 14:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 14:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873002496001,"66":14374,"75":206,"83":41984,"24":11,"16":113899204090265600,"45":1904107879318743040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-22 14:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873002496001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:20:16] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-22 14:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899204090265600,"km_value":113899204090265.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904107879318743040,"description":"Unknown IO ID 45"} 
[2026-04-22 14:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873002496001,"power":14374,"unknown_75":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1904107879318743040}} 
[2026-04-22 14:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":50564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:20:16] local.INFO: GPS data processed {"connection_id":50564,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:20:16] local.INFO: Acknowledgment sent {"connection_id":50564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:20:26] local.INFO: TCP Data received {"connection_id":50678,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:20:26] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:20:26] local.INFO: IMEI packet received {"connection_id":50678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":50678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:20:28] local.INFO: TCP Data received {"connection_id":51239,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:20:28] local.INFO: Processing buffer {"connection_id":51239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:20:28] local.INFO: IMEI packet received {"connection_id":51239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":51239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:20:31] local.INFO: TCP Data received {"connection_id":50678,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:20:31] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:20:31] local.INFO: IMEI packet received {"connection_id":50678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":50678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:20:32] local.INFO: TCP Data received {"connection_id":50678,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:20:32] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:20:32] local.INFO: Packet analysis {"connection_id":50678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:20:32] local.INFO: Extracted packet for processing {"connection_id":50678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:20:32] 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-22 14:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:20: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-22 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-22 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-22 14:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":50678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:20:32] local.INFO: GPS data processed {"connection_id":50678,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:20:32] local.INFO: Acknowledgment sent {"connection_id":50678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:20:32] local.INFO: TCP Data received {"connection_id":51239,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:20:32] local.INFO: Processing buffer {"connection_id":51239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:20:32] local.INFO: IMEI packet received {"connection_id":51239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":51239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:20:33] local.INFO: TCP Data received {"connection_id":51239,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db45ff9d0012d1a6a800720c0b0004a00b426..."} 
[2026-04-22 14:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db45ff9d0012d1a6a800720c0b0004a00b426..."} 
[2026-04-22 14:20:33] local.INFO: Processing buffer {"connection_id":51239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db45ff9d0012d1a6a800720c0b0004a00b426..."} 
[2026-04-22 14:20:33] local.INFO: Packet analysis {"connection_id":51239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:20:33] local.INFO: Extracted packet for processing {"connection_id":51239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db45f"} 
[2026-04-22 14:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119586992,"longitude_deg":75.670592,"latitude_deg":11.9586992,"altitude":74,"angle":180,"satellites":38,"speed":9,"hex_longitude":"2d1a6a80","hex_latitude":"0720c0b0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873002752001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899397363793920,"note":"Value kept but may cause issues"} 
[2026-04-22 14:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903967141830316032,"note":"Value kept but may cause issues"} 
[2026-04-22 14:20:33] 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-22 14:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776847682000,"timestamp_ms":1776847682000,"timestamp_seconds":1776847682,"priority":1,"record_length":96,"hex_timestamp":"0000019db45ff9d0"} 
[2026-04-22 14: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-22 14:20: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-22 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 14:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:20:33] 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-22 14:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873002752001,"66":13102,"75":206,"83":41984,"24":9,"16":113899397363793920,"45":1903967141830316032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-22 14:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873002752001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:20:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-22 14:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899397363793920,"km_value":113899397363793.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903967141830316032,"description":"Unknown IO ID 45"} 
[2026-04-22 14:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873002752001,"power":13102,"unknown_75":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1903967141830316032}} 
[2026-04-22 14:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":51239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:20:33] local.INFO: GPS data processed {"connection_id":51239,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:20:33] local.INFO: Acknowledgment sent {"connection_id":51239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:20:50] local.INFO: TCP Data received {"connection_id":51240,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:20:50] local.INFO: Processing buffer {"connection_id":51240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:20:50] local.INFO: IMEI packet received {"connection_id":51240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":51240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:21:03] local.INFO: TCP Data received {"connection_id":50678,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:21:03] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:21:03] local.INFO: Packet analysis {"connection_id":50678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:21:03] local.INFO: Extracted packet for processing {"connection_id":50678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21: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-22 14:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14: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-22 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:21: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-22 14: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-22 14: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-22 14:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":50678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:21:03] local.INFO: GPS data processed {"connection_id":50678,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:21:03] local.INFO: Acknowledgment sent {"connection_id":50678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:21:26] local.INFO: TCP Data received {"connection_id":51239,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db4601cf8012d1a6ac00720b9c80046009f26..."} 
[2026-04-22 14:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4601cf8012d1a6ac00720b9c80046009f26..."} 
[2026-04-22 14:21:26] local.INFO: Processing buffer {"connection_id":51239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4601cf8012d1a6ac00720b9c80046009f26..."} 
[2026-04-22 14:21:26] local.INFO: Packet analysis {"connection_id":51239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:21:26] local.INFO: Extracted packet for processing {"connection_id":51239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756705984,"raw_latitude":119585224,"longitude_deg":75.6705984,"latitude_deg":11.9585224,"altitude":70,"angle":159,"satellites":38,"speed":7,"hex_longitude":"2d1a6ac0","hex_latitude":"0720b9c8","is_valid_coordinates":true} 
[2026-04-22 14:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873006592001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899483263139840,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560620081152,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:26] 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-22 14:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776847691000,"timestamp_ms":1776847691000,"timestamp_seconds":1776847691,"priority":1,"record_length":96,"hex_timestamp":"0000019db4601cf8"} 
[2026-04-22 14:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:21:26] 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-22 14:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-22 14:21:26] 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-22 14:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":51239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":51239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":51239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:21:26] 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-22 14:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873006592001,"66":13048,"75":206,"83":41984,"24":7,"16":113899483263139840,"45":1903474560620081152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-22 14:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873006592001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:21:26] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-22 14:21:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899483263139840,"km_value":113899483263139.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560620081152,"description":"Unknown IO ID 45"} 
[2026-04-22 14:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873006592001,"power":13048,"unknown_75":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1903474560620081152}} 
[2026-04-22 14:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":51239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:21:26] local.INFO: GPS data processed {"connection_id":51239,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:21:26] local.INFO: Acknowledgment sent {"connection_id":51239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:21:28] local.INFO: TCP Data received {"connection_id":50310,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:21:28] local.INFO: Processing buffer {"connection_id":50310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:21:28] local.INFO: IMEI packet received {"connection_id":50310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":50310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:21:35] local.INFO: TCP Data received {"connection_id":50310,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:21:35] local.INFO: Processing buffer {"connection_id":50310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:21:35] local.INFO: IMEI packet received {"connection_id":50310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":50310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:21:35] local.INFO: TCP Data received {"connection_id":50310,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:21:35] local.INFO: Processing buffer {"connection_id":50310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:21:35] local.INFO: Packet analysis {"connection_id":50310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:21:35] local.INFO: Extracted packet for processing {"connection_id":50310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:21:35] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:35] 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-22 14:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:21: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-22 14:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:21:35] 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-22 14:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:21:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":50310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:21:35] local.INFO: GPS data processed {"connection_id":50310,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:21:35] local.INFO: Acknowledgment sent {"connection_id":50310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:21:36] local.INFO: TCP Data received {"connection_id":50310,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:21:36] local.INFO: Processing buffer {"connection_id":50310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:21:36] local.INFO: Packet analysis {"connection_id":50310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:21:36] local.INFO: Extracted packet for processing {"connection_id":50310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:21: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-22 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14: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-22 14: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:21:36] 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-22 14: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-22 14: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-22 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":50310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:21:36] local.INFO: GPS data processed {"connection_id":50310,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:21:36] local.INFO: Acknowledgment sent {"connection_id":50310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:22:11] local.INFO: TCP Data received {"connection_id":50310,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:22:11] local.INFO: Processing buffer {"connection_id":50310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:22:11] local.INFO: Packet analysis {"connection_id":50310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:22:11] local.INFO: Extracted packet for processing {"connection_id":50310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:22:11] 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-22 14:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:22: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-22 14:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:22:11] 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-22 14:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":50310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:22:11] local.INFO: GPS data processed {"connection_id":50310,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:22:11] local.INFO: Acknowledgment sent {"connection_id":50310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:22:26] local.INFO: TCP Data received {"connection_id":50679,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:22:26] local.INFO: Processing buffer {"connection_id":50679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:22:26] local.INFO: IMEI packet received {"connection_id":50679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":50679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:22:31] local.INFO: TCP Data received {"connection_id":50679,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:22:31] local.INFO: Processing buffer {"connection_id":50679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:22:31] local.INFO: IMEI packet received {"connection_id":50679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":50679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:22:32] local.INFO: TCP Data received {"connection_id":50679,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:22:32] local.INFO: Processing buffer {"connection_id":50679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:22:32] local.INFO: Packet analysis {"connection_id":50679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:22:32] local.INFO: Extracted packet for processing {"connection_id":50679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:22:32] 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-22 14:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14: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-22 14: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-22 14: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-22 14: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-22 14: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-22 14: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-22 14:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":50679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:22:32] local.INFO: GPS data processed {"connection_id":50679,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:22:32] local.INFO: Acknowledgment sent {"connection_id":50679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:23:03] local.INFO: TCP Data received {"connection_id":50679,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:23:03] local.INFO: Processing buffer {"connection_id":50679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:23:03] local.INFO: Packet analysis {"connection_id":50679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:23:03] local.INFO: Extracted packet for processing {"connection_id":50679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:23: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-22 14:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:23: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-22 14:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:23:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":50679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:23:03] local.INFO: GPS data processed {"connection_id":50679,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:23:03] local.INFO: Acknowledgment sent {"connection_id":50679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:23:26] local.INFO: TCP Data received {"connection_id":50312,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:23:26] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:23:26] local.INFO: IMEI packet received {"connection_id":50312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":50312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:23:31] local.INFO: TCP Data received {"connection_id":50312,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:23:31] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:23:31] local.INFO: IMEI packet received {"connection_id":50312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":50312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:23:32] local.INFO: TCP Data received {"connection_id":50312,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:23:32] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46020e0012d7f864005afda200017013326..."} 
[2026-04-22 14:23:32] local.INFO: Packet analysis {"connection_id":50312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:23:32] local.INFO: Extracted packet for processing {"connection_id":50312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db460"} 
[2026-04-22 14:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":23,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454872932096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:23:32] 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-22 14:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847692000,"timestamp_ms":1776847692000,"timestamp_seconds":1776847692,"priority":1,"record_length":96,"hex_timestamp":"0000019db46020e0"} 
[2026-04-22 14: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-22 14: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-22 14: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-22 14: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-22 14: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-22 14: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-22 14:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:23:32] 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-22 14:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454872932096001,"66":25321,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454872932096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454872932096001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":50312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:23:32] local.INFO: GPS data processed {"connection_id":50312,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:23:32] local.INFO: Acknowledgment sent {"connection_id":50312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:23:37] local.INFO: TCP Data received {"connection_id":50313,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:23:37] local.INFO: Processing buffer {"connection_id":50313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:23:37] local.INFO: IMEI packet received {"connection_id":50313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":50313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:23:43] local.INFO: TCP Data received {"connection_id":50313,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:23:43] local.INFO: Processing buffer {"connection_id":50313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:23:43] local.INFO: IMEI packet received {"connection_id":50313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":50313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:23:43] local.INFO: TCP Data received {"connection_id":50313,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db4627a70012d1a74c00720b5d0003d005720..."} 
[2026-04-22 14:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4627a70012d1a74c00720b5d0003d005720..."} 
[2026-04-22 14:23:43] local.INFO: Processing buffer {"connection_id":50313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4627a70012d1a74c00720b5d0003d005720..."} 
[2026-04-22 14:23:43] local.INFO: Packet analysis {"connection_id":50313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db462"} 
[2026-04-22 14:23:43] local.INFO: Extracted packet for processing {"connection_id":50313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db462"} 
[2026-04-22 14:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119584208,"longitude_deg":75.6708544,"latitude_deg":11.9584208,"altitude":61,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d1a74c0","hex_latitude":"0720b5d0","is_valid_coordinates":true} 
[2026-04-22 14:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873043456001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899633586995200,"note":"Value kept but may cause issues"} 
[2026-04-22 14:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679130652672,"note":"Value kept but may cause issues"} 
[2026-04-22 14:23: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-22 14:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776847846000,"timestamp_ms":1776847846000,"timestamp_seconds":1776847846,"priority":1,"record_length":96,"hex_timestamp":"0000019db4627a70"} 
[2026-04-22 14:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-22 14:23:43] 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-22 14:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:23:43] 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-22 14:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873043456001,"66":12722,"12":206,"83":41984,"24":0,"16":113899633586995200,"45":1906359679130652672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-04-22 14:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873043456001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:23:43] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-22 14:23:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899633586995200,"km_value":113899633586995.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679130652672,"description":"Unknown IO ID 45"} 
[2026-04-22 14:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873043456001,"power":12722,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679130652672}} 
[2026-04-22 14:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":50313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:23:43] local.INFO: GPS data processed {"connection_id":50313,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:23:43] local.INFO: Acknowledgment sent {"connection_id":50313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:24:03] local.INFO: TCP Data received {"connection_id":50312,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:24:03] local.INFO: Processing buffer {"connection_id":50312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:24:03] local.INFO: Packet analysis {"connection_id":50312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:24:03] local.INFO: Extracted packet for processing {"connection_id":50312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24: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-22 14:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 14:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:24: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-22 14:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":50312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:24:03] local.INFO: GPS data processed {"connection_id":50312,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:24:03] local.INFO: Acknowledgment sent {"connection_id":50312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:24:31] local.INFO: TCP Data received {"connection_id":51243,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:24:31] local.INFO: Processing buffer {"connection_id":51243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:24:31] local.INFO: IMEI packet received {"connection_id":51243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":51243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:24:36] local.INFO: TCP Data received {"connection_id":51243,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:24:36] local.INFO: Processing buffer {"connection_id":51243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:24:36] local.INFO: IMEI packet received {"connection_id":51243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":51243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:24:37] local.INFO: TCP Data received {"connection_id":51243,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:24:37] local.INFO: Processing buffer {"connection_id":51243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:24:37] local.INFO: Packet analysis {"connection_id":51243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:24:37] local.INFO: Extracted packet for processing {"connection_id":51243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:37] 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-22 14:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 14: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-22 14:24: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-22 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:24: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-22 14: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-22 14: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-22 14:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:24:37] 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-22 14:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":51243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:24:37] local.INFO: GPS data processed {"connection_id":51243,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:24:37] local.INFO: Acknowledgment sent {"connection_id":51243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:24:38] local.INFO: TCP Data received {"connection_id":51244,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:24:38] local.INFO: Processing buffer {"connection_id":51244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:24:38] local.INFO: IMEI packet received {"connection_id":51244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":51244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:24:41] local.INFO: TCP Data received {"connection_id":51243,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:24:41] local.INFO: Processing buffer {"connection_id":51243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:24:41] local.INFO: Packet analysis {"connection_id":51243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:24:41] local.INFO: Extracted packet for processing {"connection_id":51243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:41] 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-22 14:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 14:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:24:41] 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-22 14:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:24:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":51243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:24:41] local.INFO: GPS data processed {"connection_id":51243,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:24:41] local.INFO: Acknowledgment sent {"connection_id":51243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:24:43] local.INFO: TCP Data received {"connection_id":51244,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:24:43] local.INFO: Processing buffer {"connection_id":51244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:24:43] local.INFO: IMEI packet received {"connection_id":51244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":51244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:24:44] local.INFO: TCP Data received {"connection_id":51244,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db462d060012d1a74c00720b5d0003d00571e..."} 
[2026-04-22 14:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db462d060012d1a74c00720b5d0003d00571e..."} 
[2026-04-22 14:24:44] local.INFO: Processing buffer {"connection_id":51244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db462d060012d1a74c00720b5d0003d00571e..."} 
[2026-04-22 14:24:44] local.INFO: Packet analysis {"connection_id":51244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db462"} 
[2026-04-22 14:24:44] local.INFO: Extracted packet for processing {"connection_id":51244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db462"} 
[2026-04-22 14:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119584208,"longitude_deg":75.6708544,"latitude_deg":11.9584208,"altitude":61,"angle":87,"satellites":30,"speed":0,"hex_longitude":"2d1a74c0","hex_latitude":"0720b5d0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873048576001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899633586995200,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679130652672,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24: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-22 14:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776847868000,"timestamp_ms":1776847868000,"timestamp_seconds":1776847868,"priority":1,"record_length":96,"hex_timestamp":"0000019db462d060"} 
[2026-04-22 14: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-22 14:24:44] 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-22 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 14:24:44] 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-22 14: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-22 14: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-22 14:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":51244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":51244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":51244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:24:44] 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-22 14:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873048576001,"66":12689,"106":206,"83":41984,"24":0,"16":113899633586995200,"45":1906359679130652672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873048576001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:24:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:24:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899633586995200,"km_value":113899633586995.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679130652672,"description":"Unknown IO ID 45"} 
[2026-04-22 14:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873048576001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679130652672}} 
[2026-04-22 14:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":51244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:24:44] local.INFO: GPS data processed {"connection_id":51244,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:24:44] local.INFO: Acknowledgment sent {"connection_id":51244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:24:49] local.INFO: TCP Data received {"connection_id":51244,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db4631e80012d1a74c00720b5d0003d005720..."} 
[2026-04-22 14:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4631e80012d1a74c00720b5d0003d005720..."} 
[2026-04-22 14:24:49] local.INFO: Processing buffer {"connection_id":51244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4631e80012d1a74c00720b5d0003d005720..."} 
[2026-04-22 14:24:49] local.INFO: Packet analysis {"connection_id":51244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db463"} 
[2026-04-22 14:24:49] local.INFO: Extracted packet for processing {"connection_id":51244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db463"} 
[2026-04-22 14:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119584208,"longitude_deg":75.6708544,"latitude_deg":11.9584208,"altitude":61,"angle":87,"satellites":32,"speed":0,"hex_longitude":"2d1a74c0","hex_latitude":"0720b5d0","is_valid_coordinates":true} 
[2026-04-22 14:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873054208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899633586995200,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679130652672,"note":"Value kept but may cause issues"} 
[2026-04-22 14:24:49] 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-22 14:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776847888000,"timestamp_ms":1776847888000,"timestamp_seconds":1776847888,"priority":1,"record_length":96,"hex_timestamp":"0000019db4631e80"} 
[2026-04-22 14:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 14:24: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-22 14:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":51244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":51244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":51244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:24: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-22 14:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873054208001,"66":12667,"146":206,"83":41984,"24":0,"16":113899633586995200,"45":1906359679130652672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,45]} 
[2026-04-22 14:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873054208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:24:49] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-04-22 14:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899633586995200,"km_value":113899633586995.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679130652672,"description":"Unknown IO ID 45"} 
[2026-04-22 14:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873054208001,"power":12667,"unknown_146":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679130652672}} 
[2026-04-22 14:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":51244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:24:49] local.INFO: GPS data processed {"connection_id":51244,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:24:49] local.INFO: Acknowledgment sent {"connection_id":51244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:25:26] local.INFO: TCP Data received {"connection_id":51246,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:25:26] local.INFO: Processing buffer {"connection_id":51246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:25:26] local.INFO: IMEI packet received {"connection_id":51246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":51246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:25:31] local.INFO: TCP Data received {"connection_id":51246,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:25:31] local.INFO: Processing buffer {"connection_id":51246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:25:31] local.INFO: IMEI packet received {"connection_id":51246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":51246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:25:32] local.INFO: TCP Data received {"connection_id":51246,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:25:32] local.INFO: Processing buffer {"connection_id":51246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:25:32] local.INFO: Packet analysis {"connection_id":51246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:25:32] local.INFO: Extracted packet for processing {"connection_id":51246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:25:32] 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-22 14:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 14: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-22 14:25: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-22 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:25: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-22 14: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-22 14: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-22 14:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:25:32] 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-22 14:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":51246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:25:32] local.INFO: GPS data processed {"connection_id":51246,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:25:32] local.INFO: Acknowledgment sent {"connection_id":51246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:26:03] local.INFO: TCP Data received {"connection_id":51246,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:26:03] local.INFO: Processing buffer {"connection_id":51246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:26:03] local.INFO: Packet analysis {"connection_id":51246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:26:03] local.INFO: Extracted packet for processing {"connection_id":51246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:26: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-22 14:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 14: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-22 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:26: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-22 14: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-22 14: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-22 14:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:26:03] 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-22 14:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":51246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:26:03] local.INFO: GPS data processed {"connection_id":51246,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:26:03] local.INFO: Acknowledgment sent {"connection_id":51246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:26:06] local.INFO: TCP Data received {"connection_id":50566,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:26:06] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:26:06] local.INFO: IMEI packet received {"connection_id":50566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":50566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:26:26] local.INFO: TCP Data received {"connection_id":50680,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:26:26] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:26:26] local.INFO: IMEI packet received {"connection_id":50680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":50680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:26:31] local.INFO: TCP Data received {"connection_id":50680,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:26:31] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:26:31] local.INFO: IMEI packet received {"connection_id":50680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":50680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:26:32] local.INFO: TCP Data received {"connection_id":50680,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:26:32] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:26:32] local.INFO: Packet analysis {"connection_id":50680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:26:32] local.INFO: Extracted packet for processing {"connection_id":50680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:26:32] 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-22 14:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 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-22 14: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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:26: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-22 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-22 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-22 14:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:26:32] 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-22 14:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:26:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":50680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:26:32] local.INFO: GPS data processed {"connection_id":50680,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:26:32] local.INFO: Acknowledgment sent {"connection_id":50680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:26:42] local.INFO: TCP Data received {"connection_id":50314,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:26:42] local.INFO: Processing buffer {"connection_id":50314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:26:42] local.INFO: IMEI packet received {"connection_id":50314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":50314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:26:48] local.INFO: TCP Data received {"connection_id":50314,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:26:48] local.INFO: Processing buffer {"connection_id":50314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:26:48] local.INFO: IMEI packet received {"connection_id":50314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":50314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:26:50] local.INFO: TCP Data received {"connection_id":50314,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db466a4d8012d1a74c00720b5d0003d005724..."} 
[2026-04-22 14:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db466a4d8012d1a74c00720b5d0003d005724..."} 
[2026-04-22 14:26:50] local.INFO: Processing buffer {"connection_id":50314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db466a4d8012d1a74c00720b5d0003d005724..."} 
[2026-04-22 14:26:50] local.INFO: Packet analysis {"connection_id":50314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db466"} 
[2026-04-22 14:26:50] local.INFO: Extracted packet for processing {"connection_id":50314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db466"} 
[2026-04-22 14:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119584208,"longitude_deg":75.6708544,"latitude_deg":11.9584208,"altitude":61,"angle":87,"satellites":36,"speed":0,"hex_longitude":"2d1a74c0","hex_latitude":"0720b5d0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873113344001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113899633586995200,"note":"Value kept but may cause issues"} 
[2026-04-22 14:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679130652672,"note":"Value kept but may cause issues"} 
[2026-04-22 14:26:50] 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-22 14:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776848119000,"timestamp_ms":1776848119000,"timestamp_seconds":1776848119,"priority":1,"record_length":96,"hex_timestamp":"0000019db466a4d8"} 
[2026-04-22 14: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-22 14:26: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-22 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 14:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":50314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":50314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":50314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:26:50] 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-22 14:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873113344001,"66":14070,"19":206,"83":41984,"24":0,"16":113899633586995200,"45":1906359679130652672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 14:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873113344001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:26:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 14:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113899633586995200,"km_value":113899633586995.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679130652672,"description":"Unknown IO ID 45"} 
[2026-04-22 14:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873113344001,"power":14070,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906359679130652672}} 
[2026-04-22 14:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":50314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:26:50] local.INFO: GPS data processed {"connection_id":50314,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:26:50] local.INFO: Acknowledgment sent {"connection_id":50314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:26:56] local.INFO: TCP Data received {"connection_id":50567,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:26:56] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:26:56] local.INFO: IMEI packet received {"connection_id":50567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":50567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:27:04] local.INFO: TCP Data received {"connection_id":50680,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:27:04] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:27:04] local.INFO: Packet analysis {"connection_id":50680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:27:04] local.INFO: Extracted packet for processing {"connection_id":50680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:27: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-22 14:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 14:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:27: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-22 14:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:27:04] 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-22 14:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:27:04] local.INFO: GPS data processed {"connection_id":50680,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:27:04] local.INFO: Acknowledgment sent {"connection_id":50680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:27:26] local.INFO: TCP Data received {"connection_id":50315,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:27:26] local.INFO: Processing buffer {"connection_id":50315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:27:26] local.INFO: IMEI packet received {"connection_id":50315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":50315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:27:31] local.INFO: TCP Data received {"connection_id":50315,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:27:31] local.INFO: Processing buffer {"connection_id":50315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:27:31] local.INFO: IMEI packet received {"connection_id":50315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":50315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:27:32] local.INFO: TCP Data received {"connection_id":50315,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:27:32] local.INFO: Processing buffer {"connection_id":50315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:27:32] local.INFO: Packet analysis {"connection_id":50315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:27:32] local.INFO: Extracted packet for processing {"connection_id":50315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:27:32] 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-22 14:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 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-22 14:27: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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:27: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-22 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-22 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-22 14:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:27:32] 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-22 14:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:27:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":50315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:27:32] local.INFO: GPS data processed {"connection_id":50315,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:27:32] local.INFO: Acknowledgment sent {"connection_id":50315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:28:00] local.INFO: TCP Data received {"connection_id":51248,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:00] local.INFO: Processing buffer {"connection_id":51248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:00] local.INFO: IMEI packet received {"connection_id":51248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":51248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:28:03] local.INFO: TCP Data received {"connection_id":51248,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:03] local.INFO: Processing buffer {"connection_id":51248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:03] local.INFO: IMEI packet received {"connection_id":51248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":51248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:28:04] local.INFO: TCP Data received {"connection_id":50315,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:28:04] local.INFO: Processing buffer {"connection_id":50315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:28:04] local.INFO: Packet analysis {"connection_id":50315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:28:04] local.INFO: Extracted packet for processing {"connection_id":50315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:28: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-22 14:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 14:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:28: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-22 14:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:28: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-22 14:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:28:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":50315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:28:04] local.INFO: GPS data processed {"connection_id":50315,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:28:04] local.INFO: Acknowledgment sent {"connection_id":50315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:28:17] local.INFO: TCP Data received {"connection_id":51248,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:17] local.INFO: Processing buffer {"connection_id":51248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:17] local.INFO: IMEI packet received {"connection_id":51248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":51248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:28:31] local.INFO: TCP Data received {"connection_id":50317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:28:31] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:28:31] local.INFO: IMEI packet received {"connection_id":50317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":50317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:28:33] local.INFO: TCP Data received {"connection_id":50568,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:33] local.INFO: Processing buffer {"connection_id":50568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:28:33] local.INFO: IMEI packet received {"connection_id":50568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":50568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:28:36] local.INFO: TCP Data received {"connection_id":50317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:28:36] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:28:36] local.INFO: IMEI packet received {"connection_id":50317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":50317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:28:37] local.INFO: TCP Data received {"connection_id":50317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:28:37] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db464b8a8012d7f864005afda20000b013329..."} 
[2026-04-22 14:28:37] local.INFO: Packet analysis {"connection_id":50317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:28:37] local.INFO: Extracted packet for processing {"connection_id":50317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db464"} 
[2026-04-22 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":11,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873009152001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:28:37] 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-22 14:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776847993000,"timestamp_ms":1776847993000,"timestamp_seconds":1776847993,"priority":1,"record_length":96,"hex_timestamp":"0000019db464b8a8"} 
[2026-04-22 14:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:28: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-22 14:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 14:28: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-22 14:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873009152001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873009152001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873009152001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":50317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:28:37] local.INFO: GPS data processed {"connection_id":50317,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:28:37] local.INFO: Acknowledgment sent {"connection_id":50317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:29:08] local.INFO: TCP Data received {"connection_id":50317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:29:08] local.INFO: Processing buffer {"connection_id":50317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:29:08] local.INFO: Packet analysis {"connection_id":50317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:29:08] local.INFO: Extracted packet for processing {"connection_id":50317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:29: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-22 14:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 14:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:29: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-22 14:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:29: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-22 14:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":50317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:29:08] local.INFO: GPS data processed {"connection_id":50317,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:29:08] local.INFO: Acknowledgment sent {"connection_id":50317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:29:26] local.INFO: TCP Data received {"connection_id":51249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:29:26] local.INFO: Processing buffer {"connection_id":51249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:29:26] local.INFO: IMEI packet received {"connection_id":51249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":51249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:29:31] local.INFO: TCP Data received {"connection_id":51249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:29:31] local.INFO: Processing buffer {"connection_id":51249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:29:31] local.INFO: IMEI packet received {"connection_id":51249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":51249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:29:31] local.INFO: TCP Data received {"connection_id":51249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:29:31] local.INFO: Processing buffer {"connection_id":51249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:29:31] local.INFO: Packet analysis {"connection_id":51249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:29:31] local.INFO: Extracted packet for processing {"connection_id":51249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:29:31] 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-22 14:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 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-22 14:29: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:29: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-22 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-22 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-22 14:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14: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-22 14:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":51249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:29:32] local.INFO: GPS data processed {"connection_id":51249,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:29:32] local.INFO: Acknowledgment sent {"connection_id":51249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:30:02] local.INFO: TCP Data received {"connection_id":51249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:30:02] local.INFO: Processing buffer {"connection_id":51249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:30:02] local.INFO: Packet analysis {"connection_id":51249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:30:02] local.INFO: Extracted packet for processing {"connection_id":51249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:30:02] 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-22 14:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 14: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-22 14:30: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:30: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-22 14: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-22 14: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-22 14:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:30: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-22 14:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":51249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:30:02] local.INFO: GPS data processed {"connection_id":51249,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:30:02] local.INFO: Acknowledgment sent {"connection_id":51249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:30:26] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:30:26] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:30:26] local.INFO: IMEI packet received {"connection_id":50683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":50683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:30:31] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:30:31] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:30:31] local.INFO: IMEI packet received {"connection_id":50683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":50683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:30:32] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:30:32] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:30:32] local.INFO: Packet analysis {"connection_id":50683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:30:32] local.INFO: Extracted packet for processing {"connection_id":50683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:30:32] 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-22 14:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 14: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-22 14: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:30: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-22 14: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-22 14: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-22 14:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:30: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-22 14:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":50683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:30:32] local.INFO: GPS data processed {"connection_id":50683,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:30:32] local.INFO: Acknowledgment sent {"connection_id":50683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:31:03] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:31:03] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:31:03] local.INFO: Packet analysis {"connection_id":50683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:31:03] local.INFO: Extracted packet for processing {"connection_id":50683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:31: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-22 14:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 14:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:31: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-22 14:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:31: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-22 14:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":50683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:31:03] local.INFO: GPS data processed {"connection_id":50683,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:31:03] local.INFO: Acknowledgment sent {"connection_id":50683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:31:26] local.INFO: TCP Data received {"connection_id":51251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:31:26] local.INFO: Processing buffer {"connection_id":51251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:31:26] local.INFO: IMEI packet received {"connection_id":51251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":51251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:31:31] local.INFO: TCP Data received {"connection_id":51251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:31:31] local.INFO: Processing buffer {"connection_id":51251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:31:31] local.INFO: IMEI packet received {"connection_id":51251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":51251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:31:31] local.INFO: TCP Data received {"connection_id":51251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:31:31] local.INFO: Processing buffer {"connection_id":51251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:31:31] local.INFO: Packet analysis {"connection_id":51251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:31:31] local.INFO: Extracted packet for processing {"connection_id":51251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:31:31] 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-22 14:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 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-22 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:31: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-22 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-22 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-22 14:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14: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-22 14:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":51251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:31:31] local.INFO: GPS data processed {"connection_id":51251,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:31:31] local.INFO: Acknowledgment sent {"connection_id":51251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:32:02] local.INFO: TCP Data received {"connection_id":51251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:32:02] local.INFO: Processing buffer {"connection_id":51251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:32:02] local.INFO: Packet analysis {"connection_id":51251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:32:02] local.INFO: Extracted packet for processing {"connection_id":51251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:32:02] 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-22 14:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 14: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-22 14:32: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:32: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-22 14: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-22 14: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-22 14:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:32: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-22 14:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:32:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":51251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:32:02] local.INFO: GPS data processed {"connection_id":51251,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:32:02] local.INFO: Acknowledgment sent {"connection_id":51251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:32:26] local.INFO: TCP Data received {"connection_id":50684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:32:26] local.INFO: Processing buffer {"connection_id":50684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:32:26] local.INFO: IMEI packet received {"connection_id":50684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":50684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:32:26] local.INFO: TCP Data received {"connection_id":50572,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:32:26] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:32:26] local.INFO: IMEI packet received {"connection_id":50572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":50572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:32:31] local.INFO: TCP Data received {"connection_id":50684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:32:31] local.INFO: Processing buffer {"connection_id":50684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:32:31] local.INFO: IMEI packet received {"connection_id":50684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":50684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:32:33] local.INFO: TCP Data received {"connection_id":50684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:32:33] local.INFO: Processing buffer {"connection_id":50684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:32:33] local.INFO: Packet analysis {"connection_id":50684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:32:33] local.INFO: Extracted packet for processing {"connection_id":50684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:32:33] 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-22 14:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 14: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-22 14:32: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:32: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-22 14: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-22 14: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-22 14:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:32:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:32:33] local.INFO: GPS data processed {"connection_id":50684,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:32:33] local.INFO: Acknowledgment sent {"connection_id":50684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:32:50] local.INFO: TCP Data received {"connection_id":50320,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:32:50] local.INFO: Processing buffer {"connection_id":50320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:32:50] local.INFO: IMEI packet received {"connection_id":50320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":50320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:33:04] local.INFO: TCP Data received {"connection_id":50684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:33:04] local.INFO: Processing buffer {"connection_id":50684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:33:04] local.INFO: Packet analysis {"connection_id":50684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:33:04] local.INFO: Extracted packet for processing {"connection_id":50684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:33: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-22 14:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 14: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-22 14:33: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:33:04] 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-22 14: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-22 14: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-22 14:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14: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-22 14:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:33:04] local.INFO: GPS data processed {"connection_id":50684,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:33:04] local.INFO: Acknowledgment sent {"connection_id":50684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:33:26] local.INFO: TCP Data received {"connection_id":51252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:33:26] local.INFO: Processing buffer {"connection_id":51252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:33:26] local.INFO: IMEI packet received {"connection_id":51252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":51252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:33:31] local.INFO: TCP Data received {"connection_id":51252,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:33:31] local.INFO: Processing buffer {"connection_id":51252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:33:31] local.INFO: IMEI packet received {"connection_id":51252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":51252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:33:31] local.INFO: TCP Data received {"connection_id":51252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:33:31] local.INFO: Processing buffer {"connection_id":51252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4695070012d7f864005afda200006013329..."} 
[2026-04-22 14:33:31] local.INFO: Packet analysis {"connection_id":51252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:33:31] local.INFO: Extracted packet for processing {"connection_id":51252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db469"} 
[2026-04-22 14:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":6,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873086208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:33:31] 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-22 14:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776848294000,"timestamp_ms":1776848294000,"timestamp_seconds":1776848294,"priority":1,"record_length":96,"hex_timestamp":"0000019db4695070"} 
[2026-04-22 14: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-22 14:33: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-22 14: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-22 14: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-22 14: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-22 14: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-22 14:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14: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-22 14:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873086208001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873086208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873086208001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":51252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:33:31] local.INFO: GPS data processed {"connection_id":51252,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:33:31] local.INFO: Acknowledgment sent {"connection_id":51252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:33:37] local.INFO: TCP Data received {"connection_id":50573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:33:37] local.INFO: Processing buffer {"connection_id":50573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:33:37] local.INFO: IMEI packet received {"connection_id":50573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":50573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:33:38] local.INFO: TCP Data received {"connection_id":50573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db46cdab0012d18c54007213bd80046015125..."} 
[2026-04-22 14:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46cdab0012d18c54007213bd80046015125..."} 
[2026-04-22 14:33:38] local.INFO: Processing buffer {"connection_id":50573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46cdab0012d18c54007213bd80046015125..."} 
[2026-04-22 14:33:38] local.INFO: Packet analysis {"connection_id":50573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46c"} 
[2026-04-22 14:33:38] local.INFO: Extracted packet for processing {"connection_id":50573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46c"} 
[2026-04-22 14:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119618520,"longitude_deg":75.659808,"latitude_deg":11.961852,"altitude":70,"angle":337,"satellites":37,"speed":33,"hex_longitude":"2d18c540","hex_latitude":"07213bd8","is_valid_coordinates":true} 
[2026-04-22 14:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873221632001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113911139804381184,"note":"Value kept but may cause issues"} 
[2026-04-22 14:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786803182780856320,"note":"Value kept but may cause issues"} 
[2026-04-22 14:33: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-22 14:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776848526000,"timestamp_ms":1776848526000,"timestamp_seconds":1776848526,"priority":1,"record_length":96,"hex_timestamp":"0000019db46cdab0"} 
[2026-04-22 14:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 14:33:38] 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-22 14:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:33:38] 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-22 14:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873221632001,"66":14048,"106":206,"83":41984,"24":33,"16":113911139804381184,"45":1786803182780856320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 14:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873221632001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:33:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 14:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113911139804381184,"km_value":113911139804381.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786803182780856320,"description":"Unknown IO ID 45"} 
[2026-04-22 14:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873221632001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1786803182780856320}} 
[2026-04-22 14:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":50573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:33:38] local.INFO: GPS data processed {"connection_id":50573,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:33:38] local.INFO: Acknowledgment sent {"connection_id":50573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:34:02] local.INFO: TCP Data received {"connection_id":51252,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:34:02] local.INFO: Processing buffer {"connection_id":51252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:34:02] local.INFO: Packet analysis {"connection_id":51252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:34:02] local.INFO: Extracted packet for processing {"connection_id":51252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:02] 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-22 14:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14: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-22 14:34: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-22 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:34: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-22 14: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-22 14: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-22 14:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:34: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-22 14:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:34:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":51252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:34:02] local.INFO: GPS data processed {"connection_id":51252,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:34:02] local.INFO: Acknowledgment sent {"connection_id":51252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:34:09] local.INFO: TCP Data received {"connection_id":50573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db46e0b60012d181d400721a730004c016726..."} 
[2026-04-22 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46e0b60012d181d400721a730004c016726..."} 
[2026-04-22 14:34:09] local.INFO: Processing buffer {"connection_id":50573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46e0b60012d181d400721a730004c016726..."} 
[2026-04-22 14:34:09] local.INFO: Packet analysis {"connection_id":50573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:34:09] local.INFO: Extracted packet for processing {"connection_id":50573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646000,"longitude_deg":75.6555072,"latitude_deg":11.9646,"altitude":76,"angle":359,"satellites":38,"speed":6,"hex_longitude":"2d181d40","hex_latitude":"0721a730","is_valid_coordinates":true} 
[2026-04-22 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-22 14:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873237504001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113913806979072000,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304911872,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776848604000,"timestamp_ms":1776848604000,"timestamp_seconds":1776848604,"priority":1,"record_length":96,"hex_timestamp":"0000019db46e0b60"} 
[2026-04-22 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-22 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 14:34:09] 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-22 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-22 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-22 14:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:34:09] 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-22 14:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873237504001,"66":13830,"105":206,"83":41984,"24":6,"16":113913806979072000,"45":1741274605304911872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873237504001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:34:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113913806979072000,"km_value":113913806979072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304911872,"description":"Unknown IO ID 45"} 
[2026-04-22 14:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873237504001,"power":13830,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741274605304911872}} 
[2026-04-22 14:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":50573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:34:09] local.INFO: GPS data processed {"connection_id":50573,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:34:09] local.INFO: Acknowledgment sent {"connection_id":50573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:34:26] local.INFO: TCP Data received {"connection_id":50686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:34:26] local.INFO: Processing buffer {"connection_id":50686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:34:26] local.INFO: IMEI packet received {"connection_id":50686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":50686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:34:27] local.INFO: TCP Data received {"connection_id":50321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:34:27] local.INFO: Processing buffer {"connection_id":50321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:34:27] local.INFO: IMEI packet received {"connection_id":50321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:34:31] local.INFO: TCP Data received {"connection_id":50686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:34:31] local.INFO: Processing buffer {"connection_id":50686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:34:31] local.INFO: IMEI packet received {"connection_id":50686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":50686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:34:31] local.INFO: TCP Data received {"connection_id":50686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:34:31] local.INFO: Processing buffer {"connection_id":50686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:34:31] local.INFO: Packet analysis {"connection_id":50686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:34:31] local.INFO: Extracted packet for processing {"connection_id":50686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:31] 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-22 14:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14: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-22 14:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:34: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-22 14: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-22 14: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-22 14:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14: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-22 14:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:34:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":50686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:34:31] local.INFO: GPS data processed {"connection_id":50686,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:34:31] local.INFO: Acknowledgment sent {"connection_id":50686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:34:33] local.INFO: TCP Data received {"connection_id":50321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:34:33] local.INFO: Processing buffer {"connection_id":50321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:34:33] local.INFO: IMEI packet received {"connection_id":50321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":50321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:34:33] local.INFO: TCP Data received {"connection_id":50321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db46e0f48012d181dc00721a800004d001626..."} 
[2026-04-22 14:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46e0f48012d181dc00721a800004d001626..."} 
[2026-04-22 14:34:33] local.INFO: Processing buffer {"connection_id":50321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46e0f48012d181dc00721a800004d001626..."} 
[2026-04-22 14:34:33] local.INFO: Packet analysis {"connection_id":50321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:34:33] local.INFO: Extracted packet for processing {"connection_id":50321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646208,"longitude_deg":75.65552,"latitude_deg":11.9646208,"altitude":77,"angle":22,"satellites":38,"speed":10,"hex_longitude":"2d181dc0","hex_latitude":"0721a800","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873242624001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113913815569006592,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608433152,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776848605000,"timestamp_ms":1776848605000,"timestamp_seconds":1776848605,"priority":1,"record_length":96,"hex_timestamp":"0000019db46e0f48"} 
[2026-04-22 14: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-22 14:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10133107767312384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628124156160,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2187853903,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2147950977,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3000172544,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5187815711879198943,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.WARNING: Large IO value detected {"io_id":117,"raw_value":84667212824605,"note":"Value kept but may cause issues"} 
[2026-04-22 14:34:33] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,180,189,45,64,155,77,39,10,66,179,181,192,152,138,1,240,185,227,33,4,113,205,38,91,124,184,34,239,53,2,148,7,78,36,44,117],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 14:34:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476772034766045184,"timestamp_seconds":5476772034766045.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 14: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-22 14:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:34:33] 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-22 14:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873242624001,"66":13820,"105":206,"83":41984,"24":10,"16":113913815569006592,"45":1737615430608433152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873242624001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:34:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113913815569006592,"km_value":113913815569006.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608433152,"description":"Unknown IO ID 45"} 
[2026-04-22 14:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873242624001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737615430608433152}} 
[2026-04-22 14:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:34:33] local.INFO: GPS data processed {"connection_id":50321,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:34:33] local.INFO: Acknowledgment sent {"connection_id":50321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:35:02] local.INFO: TCP Data received {"connection_id":50686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:35:02] local.INFO: Processing buffer {"connection_id":50686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:35:02] local.INFO: Packet analysis {"connection_id":50686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:35:02] local.INFO: Extracted packet for processing {"connection_id":50686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:02] 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-22 14:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14: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-22 14:35: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-22 14: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:35: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-22 14: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-22 14: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-22 14:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:35: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-22 14:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:35:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":50686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:35:02] local.INFO: GPS data processed {"connection_id":50686,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:35:02] local.INFO: Acknowledgment sent {"connection_id":50686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:35:04] local.INFO: TCP Data received {"connection_id":50321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db46e1b00012d181f400721aae8004d002126..."} 
[2026-04-22 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46e1b00012d181f400721aae8004d002126..."} 
[2026-04-22 14:35:04] local.INFO: Processing buffer {"connection_id":50321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46e1b00012d181f400721aae8004d002126..."} 
[2026-04-22 14:35:04] local.INFO: Packet analysis {"connection_id":50321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:35:04] local.INFO: Extracted packet for processing {"connection_id":50321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646952,"longitude_deg":75.6555584,"latitude_deg":11.9646952,"altitude":77,"angle":33,"satellites":38,"speed":14,"hex_longitude":"2d181f40","hex_latitude":"0721aae8","is_valid_coordinates":true} 
[2026-04-22 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-22 14:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873242880001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113913858518679552,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096841728,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776848608000,"timestamp_ms":1776848608000,"timestamp_seconds":1776848608,"priority":1,"record_length":96,"hex_timestamp":"0000019db46e1b00"} 
[2026-04-22 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-22 14:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 14:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 14:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:35:04] 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-22 14:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873242880001,"66":13928,"105":206,"83":41984,"24":14,"16":113913858518679552,"45":1737756168096841728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873242880001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:35:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113913858518679552,"km_value":113913858518679.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096841728,"description":"Unknown IO ID 45"} 
[2026-04-22 14:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873242880001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737756168096841728}} 
[2026-04-22 14:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:35:04] local.INFO: GPS data processed {"connection_id":50321,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:35:04] local.INFO: Acknowledgment sent {"connection_id":50321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:35:26] local.INFO: TCP Data received {"connection_id":50322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:35:26] local.INFO: Processing buffer {"connection_id":50322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:35:26] local.INFO: IMEI packet received {"connection_id":50322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":50322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:35:27] local.INFO: TCP Data received {"connection_id":50575,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:35:27] local.INFO: Processing buffer {"connection_id":50575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:35:27] local.INFO: IMEI packet received {"connection_id":50575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:35:31] local.INFO: TCP Data received {"connection_id":50322,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:35:31] local.INFO: Processing buffer {"connection_id":50322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:35:31] local.INFO: IMEI packet received {"connection_id":50322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":50322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:35:31] local.INFO: TCP Data received {"connection_id":50322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:35:31] local.INFO: Processing buffer {"connection_id":50322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:35:31] local.INFO: Packet analysis {"connection_id":50322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:35:31] local.INFO: Extracted packet for processing {"connection_id":50322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:31] 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-22 14:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14: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-22 14:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14: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-22 14:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":50322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:35:31] local.INFO: GPS data processed {"connection_id":50322,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:35:31] local.INFO: Acknowledgment sent {"connection_id":50322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:35:33] local.INFO: TCP Data received {"connection_id":50575,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:35:33] local.INFO: Processing buffer {"connection_id":50575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:35:33] local.INFO: IMEI packet received {"connection_id":50575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":50575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:35:33] local.INFO: TCP Data received {"connection_id":50575,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db46e6d08012d1824800721b2b0004e001826..."} 
[2026-04-22 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46e6d08012d1824800721b2b0004e001826..."} 
[2026-04-22 14:35:33] local.INFO: Processing buffer {"connection_id":50575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46e6d08012d1824800721b2b0004e001826..."} 
[2026-04-22 14:35:33] local.INFO: Packet analysis {"connection_id":50575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:35:33] local.INFO: Extracted packet for processing {"connection_id":50575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119648944,"longitude_deg":75.6556928,"latitude_deg":11.9648944,"altitude":78,"angle":24,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-04-22 14:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873243648001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113913974482796544,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562098176,"note":"Value kept but may cause issues"} 
[2026-04-22 14:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776848629000,"timestamp_ms":1776848629000,"timestamp_seconds":1776848629,"priority":1,"record_length":96,"hex_timestamp":"0000019db46e6d08"} 
[2026-04-22 14:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:35: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-22 14:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 14:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:35:33] 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-22 14:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873243648001,"66":14461,"105":206,"83":41984,"24":0,"16":113913974482796544,"45":1738178380562098176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873243648001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:35:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113913974482796544,"km_value":113913974482796.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562098176,"description":"Unknown IO ID 45"} 
[2026-04-22 14:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873243648001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562098176}} 
[2026-04-22 14:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:35:33] local.INFO: GPS data processed {"connection_id":50575,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:35:33] local.INFO: Acknowledgment sent {"connection_id":50575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:36:02] local.INFO: TCP Data received {"connection_id":50322,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:36:02] local.INFO: Processing buffer {"connection_id":50322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:36:02] local.INFO: Packet analysis {"connection_id":50322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:36:02] local.INFO: Extracted packet for processing {"connection_id":50322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:02] 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-22 14:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14: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-22 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:36: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-22 14: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-22 14: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-22 14:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:36: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-22 14:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":50322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:36:02] local.INFO: GPS data processed {"connection_id":50322,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:36:02] local.INFO: Acknowledgment sent {"connection_id":50322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:36:04] local.INFO: TCP Data received {"connection_id":50575,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db46ebf10012d1824800721b2b0004e001826..."} 
[2026-04-22 14:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46ebf10012d1824800721b2b0004e001826..."} 
[2026-04-22 14:36:04] local.INFO: Processing buffer {"connection_id":50575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46ebf10012d1824800721b2b0004e001826..."} 
[2026-04-22 14:36:04] local.INFO: Packet analysis {"connection_id":50575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:36:04] local.INFO: Extracted packet for processing {"connection_id":50575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46e"} 
[2026-04-22 14:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119648944,"longitude_deg":75.6556928,"latitude_deg":11.9648944,"altitude":78,"angle":24,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873249024001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113913974482796544,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190339072,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776848650000,"timestamp_ms":1776848650000,"timestamp_seconds":1776848650,"priority":1,"record_length":96,"hex_timestamp":"0000019db46ebf10"} 
[2026-04-22 14: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-22 14:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 14:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:36:04] 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-22 14:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873249024001,"66":13015,"105":206,"83":41984,"24":0,"16":113913974482796544,"45":1739656124190339072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873249024001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:36:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113913974482796544,"km_value":113913974482796.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190339072,"description":"Unknown IO ID 45"} 
[2026-04-22 14:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873249024001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190339072}} 
[2026-04-22 14:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":50575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:36:05] local.INFO: GPS data processed {"connection_id":50575,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:36:05] local.INFO: Acknowledgment sent {"connection_id":50575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:36:26] local.INFO: TCP Data received {"connection_id":50687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:36:26] local.INFO: Processing buffer {"connection_id":50687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:36:26] local.INFO: IMEI packet received {"connection_id":50687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":50687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:36:31] local.INFO: TCP Data received {"connection_id":50687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:36:31] local.INFO: Processing buffer {"connection_id":50687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:36:31] local.INFO: IMEI packet received {"connection_id":50687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":50687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:36:32] local.INFO: TCP Data received {"connection_id":50687,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:36:32] local.INFO: Processing buffer {"connection_id":50687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:36:32] local.INFO: Packet analysis {"connection_id":50687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:36:32] local.INFO: Extracted packet for processing {"connection_id":50687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:32] 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-22 14:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14: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-22 14:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:36: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-22 14:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:36: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-22 14:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":50687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:36:32] local.INFO: GPS data processed {"connection_id":50687,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:36:32] local.INFO: Acknowledgment sent {"connection_id":50687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:36:33] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:36:33] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:36:33] local.INFO: IMEI packet received {"connection_id":50323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":50323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:36:37] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:36:37] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:36:37] local.INFO: IMEI packet received {"connection_id":50323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":50323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:36:38] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db46f0d30012d1825c00721b5080051001827..."} 
[2026-04-22 14:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46f0d30012d1825c00721b5080051001827..."} 
[2026-04-22 14:36:38] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46f0d30012d1825c00721b5080051001827..."} 
[2026-04-22 14:36:38] local.INFO: Packet analysis {"connection_id":50323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:36:38] local.INFO: Extracted packet for processing {"connection_id":50323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649544,"longitude_deg":75.6557248,"latitude_deg":11.9649544,"altitude":81,"angle":24,"satellites":39,"speed":5,"hex_longitude":"2d1825c0","hex_latitude":"0721b508","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873254400001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914008842534912,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190339072,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776848670000,"timestamp_ms":1776848670000,"timestamp_seconds":1776848670,"priority":1,"record_length":96,"hex_timestamp":"0000019db46f0d30"} 
[2026-04-22 14: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-22 14:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 14:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:36:38] 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-22 14:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873254400001,"66":13102,"105":206,"83":41984,"24":5,"16":113914008842534912,"45":1739656124190339072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873254400001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:36:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914008842534912,"km_value":113914008842534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190339072,"description":"Unknown IO ID 45"} 
[2026-04-22 14:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873254400001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739656124190339072}} 
[2026-04-22 14:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":50323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:36:38] local.INFO: GPS data processed {"connection_id":50323,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:36:38] local.INFO: Acknowledgment sent {"connection_id":50323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:36:39] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db46f1cd0012d1824400721b5800050010328..."} 
[2026-04-22 14:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46f1cd0012d1824400721b5800050010328..."} 
[2026-04-22 14:36:39] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46f1cd0012d1824400721b5800050010328..."} 
[2026-04-22 14:36:39] local.INFO: Packet analysis {"connection_id":50323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:36:39] local.INFO: Extracted packet for processing {"connection_id":50323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649664,"longitude_deg":75.6556864,"latitude_deg":11.9649664,"altitude":80,"angle":259,"satellites":40,"speed":7,"hex_longitude":"2d182440","hex_latitude":"0721b580","is_valid_coordinates":true} 
[2026-04-22 14:36: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-22 14:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873259520001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914030317371392,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911380992,"note":"Value kept but may cause issues"} 
[2026-04-22 14:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776848674000,"timestamp_ms":1776848674000,"timestamp_seconds":1776848674,"priority":1,"record_length":96,"hex_timestamp":"0000019db46f1cd0"} 
[2026-04-22 14:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-22 14:36:39] 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-22 14:36: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-22 14:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:36:39] 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-22 14:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873259520001,"66":13124,"105":206,"83":41984,"24":7,"16":113914030317371392,"45":1740007967911380992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873259520001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:36:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914030317371392,"km_value":113914030317371.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911380992,"description":"Unknown IO ID 45"} 
[2026-04-22 14:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873259520001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1740007967911380992}} 
[2026-04-22 14:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":50323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:36:39] local.INFO: GPS data processed {"connection_id":50323,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:36:39] local.INFO: Acknowledgment sent {"connection_id":50323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:37:03] local.INFO: TCP Data received {"connection_id":50687,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:37:03] local.INFO: Processing buffer {"connection_id":50687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:37:03] local.INFO: Packet analysis {"connection_id":50687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:37:03] local.INFO: Extracted packet for processing {"connection_id":50687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37: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-22 14:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14: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-22 14: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-22 14: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:37: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-22 14:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":50687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:37:03] local.INFO: GPS data processed {"connection_id":50687,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:37:03] local.INFO: Acknowledgment sent {"connection_id":50687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:37:10] local.INFO: TCP Data received {"connection_id":50323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db46f20b8012d1823800721b538005000e427..."} 
[2026-04-22 14:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46f20b8012d1823800721b538005000e427..."} 
[2026-04-22 14:37:10] local.INFO: Processing buffer {"connection_id":50323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46f20b8012d1823800721b538005000e427..."} 
[2026-04-22 14:37:10] local.INFO: Packet analysis {"connection_id":50323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:37:10] local.INFO: Extracted packet for processing {"connection_id":50323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649592,"longitude_deg":75.6556672,"latitude_deg":11.9649592,"altitude":80,"angle":228,"satellites":39,"speed":7,"hex_longitude":"2d182380","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873260544001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914038907305984,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446345728,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776848675000,"timestamp_ms":1776848675000,"timestamp_seconds":1776848675,"priority":1,"record_length":96,"hex_timestamp":"0000019db46f20b8"} 
[2026-04-22 14: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-22 14:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-04-22 14:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873260544001,"66":13124,"105":206,"83":41984,"24":7,"16":113914038907305984,"45":1739585755446345728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873260544001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:37:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914038907305984,"km_value":113914038907305.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446345728,"description":"Unknown IO ID 45"} 
[2026-04-22 14:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873260544001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739585755446345728}} 
[2026-04-22 14:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":50323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:37:10] local.INFO: GPS data processed {"connection_id":50323,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:37:10] local.INFO: Acknowledgment sent {"connection_id":50323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:37:26] local.INFO: TCP Data received {"connection_id":50576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:37:26] local.INFO: Processing buffer {"connection_id":50576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:37:26] local.INFO: IMEI packet received {"connection_id":50576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":50576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:37:28] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:37:28] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:37:28] local.INFO: IMEI packet received {"connection_id":50688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":50688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:37:31] local.INFO: TCP Data received {"connection_id":50576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:37:31] local.INFO: Processing buffer {"connection_id":50576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:37:31] local.INFO: IMEI packet received {"connection_id":50576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":50576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:37:31] local.INFO: TCP Data received {"connection_id":50576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:37:31] local.INFO: Processing buffer {"connection_id":50576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:37:31] local.INFO: Packet analysis {"connection_id":50576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:37:31] local.INFO: Extracted packet for processing {"connection_id":50576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:31] 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-22 14:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14: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-22 14:37: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-22 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:37: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-22 14: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-22 14: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-22 14:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:37: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-22 14:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:37:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":50576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:37:31] local.INFO: GPS data processed {"connection_id":50576,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:37:31] local.INFO: Acknowledgment sent {"connection_id":50576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:37:33] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:37:33] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:37:33] local.INFO: IMEI packet received {"connection_id":50688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":50688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:37:33] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db46f24a0012d1823400721b4c8005000d728..."} 
[2026-04-22 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46f24a0012d1823400721b4c8005000d728..."} 
[2026-04-22 14:37:33] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46f24a0012d1823400721b4c8005000d728..."} 
[2026-04-22 14:37:33] local.INFO: Packet analysis {"connection_id":50688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:37:33] local.INFO: Extracted packet for processing {"connection_id":50688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649480,"longitude_deg":75.6556608,"latitude_deg":11.964948,"altitude":80,"angle":215,"satellites":40,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873260800001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914047497240576,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213794304,"note":"Value kept but may cause issues"} 
[2026-04-22 14:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776848676000,"timestamp_ms":1776848676000,"timestamp_seconds":1776848676,"priority":1,"record_length":96,"hex_timestamp":"0000019db46f24a0"} 
[2026-04-22 14: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-22 14:37: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-22 14: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-04-22 14:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:37:33] 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-22 14:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873260800001,"66":13091,"105":206,"83":41984,"24":6,"16":113914047497240576,"45":1739374649213794304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873260800001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:37:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914047497240576,"km_value":113914047497240.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213794304,"description":"Unknown IO ID 45"} 
[2026-04-22 14:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873260800001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739374649213794304}} 
[2026-04-22 14:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":50688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:37:33] local.INFO: GPS data processed {"connection_id":50688,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:37:33] local.INFO: Acknowledgment sent {"connection_id":50688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:38:02] local.INFO: TCP Data received {"connection_id":50576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:38:02] local.INFO: Processing buffer {"connection_id":50576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:38:02] local.INFO: Packet analysis {"connection_id":50576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:38:02] local.INFO: Extracted packet for processing {"connection_id":50576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:02] 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-22 14:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14: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-22 14:38: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-22 14: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-22 14: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-22 14: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-22 14: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-22 14:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:38: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-22 14:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:38:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":50576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:38:02] local.INFO: GPS data processed {"connection_id":50576,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:38:02] local.INFO: Acknowledgment sent {"connection_id":50576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:38:04] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db46f76a8012d181fc00721b0a0004e00d628..."} 
[2026-04-22 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46f76a8012d181fc00721b0a0004e00d628..."} 
[2026-04-22 14:38:04] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46f76a8012d181fc00721b0a0004e00d628..."} 
[2026-04-22 14:38:04] local.INFO: Packet analysis {"connection_id":50688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:38:04] local.INFO: Extracted packet for processing {"connection_id":50688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873261056001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469587968,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776848697000,"timestamp_ms":1776848697000,"timestamp_seconds":1776848697,"priority":1,"record_length":96,"hex_timestamp":"0000019db46f76a8"} 
[2026-04-22 14:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 14:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:38:04] 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-22 14:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873261056001,"66":13091,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1739304280469587968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873261056001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:38:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469587968,"description":"Unknown IO ID 45"} 
[2026-04-22 14:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873261056001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469587968}} 
[2026-04-22 14:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:38:04] local.INFO: GPS data processed {"connection_id":50688,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:38:04] local.INFO: Acknowledgment sent {"connection_id":50688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:38:16] local.INFO: TCP Data received {"connection_id":50689,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:38:16] local.INFO: Processing buffer {"connection_id":50689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:38:16] local.INFO: IMEI packet received {"connection_id":50689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":50689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:38:26] local.INFO: TCP Data received {"connection_id":51255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:38:26] local.INFO: Processing buffer {"connection_id":51255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:38:26] local.INFO: IMEI packet received {"connection_id":51255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":51255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:38:28] local.INFO: TCP Data received {"connection_id":51256,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:38:28] local.INFO: Processing buffer {"connection_id":51256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:38:28] local.INFO: IMEI packet received {"connection_id":51256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":51256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:38:31] local.INFO: TCP Data received {"connection_id":51255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:38:31] local.INFO: Processing buffer {"connection_id":51255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:38:31] local.INFO: IMEI packet received {"connection_id":51255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":51255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:38:31] local.INFO: TCP Data received {"connection_id":51255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:38:31] local.INFO: Processing buffer {"connection_id":51255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46de838012d7f864005afda200005013327..."} 
[2026-04-22 14:38:31] local.INFO: Packet analysis {"connection_id":51255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:38:31] local.INFO: Extracted packet for processing {"connection_id":51255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46d"} 
[2026-04-22 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873163264001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:31] 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-22 14:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776848595000,"timestamp_ms":1776848595000,"timestamp_seconds":1776848595,"priority":1,"record_length":96,"hex_timestamp":"0000019db46de838"} 
[2026-04-22 14: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-22 14:38: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-22 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:38: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-22 14: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-22 14: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-22 14:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:38: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-22 14:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873163264001,"66":25299,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873163264001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873163264001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":51255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:38:32] local.INFO: GPS data processed {"connection_id":51255,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:38:32] local.INFO: Acknowledgment sent {"connection_id":51255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:38:33] local.INFO: TCP Data received {"connection_id":51256,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:38:33] local.INFO: Processing buffer {"connection_id":51256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:38:33] local.INFO: IMEI packet received {"connection_id":51256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":51256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:38:33] local.INFO: TCP Data received {"connection_id":51256,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db46fc8b0012d181fc00721b0a0004e00d626..."} 
[2026-04-22 14:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db46fc8b0012d181fc00721b0a0004e00d626..."} 
[2026-04-22 14:38:33] local.INFO: Processing buffer {"connection_id":51256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db46fc8b0012d181fc00721b0a0004e00d626..."} 
[2026-04-22 14:38:33] local.INFO: Packet analysis {"connection_id":51256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:38:33] local.INFO: Extracted packet for processing {"connection_id":51256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db46f"} 
[2026-04-22 14:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873266432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776848718000,"timestamp_ms":1776848718000,"timestamp_seconds":1776848718,"priority":1,"record_length":96,"hex_timestamp":"0000019db46fc8b0"} 
[2026-04-22 14: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-22 14:38: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-22 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 14:38:33] 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-22 14: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-22 14: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-22 14:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:38:33] 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-22 14:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873266432001,"66":13004,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873266432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:38:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873266432001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":51256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:38:33] local.INFO: GPS data processed {"connection_id":51256,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:38:33] local.INFO: Acknowledgment sent {"connection_id":51256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:38:50] local.INFO: TCP Data received {"connection_id":50324,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:38:50] local.INFO: Processing buffer {"connection_id":50324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:38:50] local.INFO: IMEI packet received {"connection_id":50324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":50324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:39:03] local.INFO: TCP Data received {"connection_id":51255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:39:03] local.INFO: Processing buffer {"connection_id":51255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:39:03] local.INFO: Packet analysis {"connection_id":51255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:39:03] local.INFO: Extracted packet for processing {"connection_id":51255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39: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-22 14:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 14:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:39: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-22 14:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:39: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-22 14:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":51255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:39:03] local.INFO: GPS data processed {"connection_id":51255,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:39:03] local.INFO: Acknowledgment sent {"connection_id":51255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:39:05] local.INFO: TCP Data received {"connection_id":51256,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4701ab8012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4701ab8012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:39:05] local.INFO: Processing buffer {"connection_id":51256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4701ab8012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:39:05] local.INFO: Packet analysis {"connection_id":51256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db470"} 
[2026-04-22 14:39:05] local.INFO: Extracted packet for processing {"connection_id":51256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db470"} 
[2026-04-22 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873271808001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776848739000,"timestamp_ms":1776848739000,"timestamp_seconds":1776848739,"priority":1,"record_length":96,"hex_timestamp":"0000019db4701ab8"} 
[2026-04-22 14:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 14:39:05] 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-22 14:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873271808001,"66":13015,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873271808001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:39:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873271808001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":51256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:39:05] local.INFO: GPS data processed {"connection_id":51256,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:39:05] local.INFO: Acknowledgment sent {"connection_id":51256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:39:26] local.INFO: TCP Data received {"connection_id":50577,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:39:26] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:39:26] local.INFO: IMEI packet received {"connection_id":50577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":50577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:39:26] local.INFO: TCP Data received {"connection_id":50325,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:39:26] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:39:26] local.INFO: IMEI packet received {"connection_id":50325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":50325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:39:27] local.INFO: TCP Data received {"connection_id":50325,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:39:27] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:39:27] local.INFO: IMEI packet received {"connection_id":50325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:39:31] local.INFO: TCP Data received {"connection_id":50577,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:39:31] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:39:31] local.INFO: IMEI packet received {"connection_id":50577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":50577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:39:32] local.INFO: TCP Data received {"connection_id":50577,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:39:32] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:39:32] local.INFO: Packet analysis {"connection_id":50577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:39:32] local.INFO: Extracted packet for processing {"connection_id":50577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:32] 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-22 14:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 14: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-22 14: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-22 14: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:39: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-22 14: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-22 14: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-22 14:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14: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-22 14:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":50577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:39:32] local.INFO: GPS data processed {"connection_id":50577,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:39:32] local.INFO: Acknowledgment sent {"connection_id":50577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:39:33] local.INFO: TCP Data received {"connection_id":50325,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:39:33] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:39:33] local.INFO: IMEI packet received {"connection_id":50325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":50325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:39:33] local.INFO: TCP Data received {"connection_id":50325,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4706cc0012d181fc00721b0a0004e00d627..."} 
[2026-04-22 14:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4706cc0012d181fc00721b0a0004e00d627..."} 
[2026-04-22 14:39:33] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4706cc0012d181fc00721b0a0004e00d627..."} 
[2026-04-22 14:39:33] local.INFO: Packet analysis {"connection_id":50325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db470"} 
[2026-04-22 14:39:33] local.INFO: Extracted packet for processing {"connection_id":50325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db470"} 
[2026-04-22 14:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873277184001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776848760000,"timestamp_ms":1776848760000,"timestamp_seconds":1776848760,"priority":1,"record_length":96,"hex_timestamp":"0000019db4706cc0"} 
[2026-04-22 14: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-22 14:39: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-22 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 14:39:33] 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-22 14: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-22 14: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-22 14:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:39:33] 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-22 14:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873277184001,"66":12982,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873277184001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:39:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873277184001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":50325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:39:33] local.INFO: GPS data processed {"connection_id":50325,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:39:33] local.INFO: Acknowledgment sent {"connection_id":50325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:40:03] local.INFO: TCP Data received {"connection_id":50577,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:40:03] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:40:03] local.INFO: Packet analysis {"connection_id":50577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:40:03] local.INFO: Extracted packet for processing {"connection_id":50577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40: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-22 14:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 14: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-22 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:40: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-22 14: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-22 14: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-22 14:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:40: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-22 14:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":50577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:40:03] local.INFO: GPS data processed {"connection_id":50577,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:40:03] local.INFO: Acknowledgment sent {"connection_id":50577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:40:04] local.INFO: TCP Data received {"connection_id":50325,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db470bec8012d181fc00721b0a0004e00d628..."} 
[2026-04-22 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db470bec8012d181fc00721b0a0004e00d628..."} 
[2026-04-22 14:40:04] local.INFO: Processing buffer {"connection_id":50325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db470bec8012d181fc00721b0a0004e00d628..."} 
[2026-04-22 14:40:04] local.INFO: Packet analysis {"connection_id":50325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db470"} 
[2026-04-22 14:40:04] local.INFO: Extracted packet for processing {"connection_id":50325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db470"} 
[2026-04-22 14:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873282560001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776848781000,"timestamp_ms":1776848781000,"timestamp_seconds":1776848781,"priority":1,"record_length":96,"hex_timestamp":"0000019db470bec8"} 
[2026-04-22 14: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-22 14:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-04-22 14:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:40:04] 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-22 14:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873282560001,"66":12972,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873282560001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:40:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873282560001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":50325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:40:05] local.INFO: GPS data processed {"connection_id":50325,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:40:05] local.INFO: Acknowledgment sent {"connection_id":50325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:40:27] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:40:27] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:40:27] local.INFO: IMEI packet received {"connection_id":50690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:40:30] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:40:30] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:40:30] local.INFO: IMEI packet received {"connection_id":50690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":50690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:40:31] local.INFO: TCP Data received {"connection_id":50691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:40:31] local.INFO: Processing buffer {"connection_id":50691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:40:31] local.INFO: IMEI packet received {"connection_id":50691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":50691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:40:33] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:40:33] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:40:33] local.INFO: IMEI packet received {"connection_id":50690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":50690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:40:34] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47110d0012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47110d0012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:40:34] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47110d0012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:40:34] local.INFO: Packet analysis {"connection_id":50690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db471"} 
[2026-04-22 14:40:34] local.INFO: Extracted packet for processing {"connection_id":50690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db471"} 
[2026-04-22 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873287936001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776848802000,"timestamp_ms":1776848802000,"timestamp_seconds":1776848802,"priority":1,"record_length":96,"hex_timestamp":"0000019db47110d0"} 
[2026-04-22 14:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:40:34] 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-22 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 14:40:34] 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-22 14:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:40:34] 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-22 14:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873287936001,"66":12950,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873287936001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:40:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873287936001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":50690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:40:34] local.INFO: GPS data processed {"connection_id":50690,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:40:34] local.INFO: Acknowledgment sent {"connection_id":50690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:40:36] local.INFO: TCP Data received {"connection_id":50691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:40:36] local.INFO: Processing buffer {"connection_id":50691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:40:36] local.INFO: IMEI packet received {"connection_id":50691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":50691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:40:37] local.INFO: TCP Data received {"connection_id":50691,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:40:37] local.INFO: Processing buffer {"connection_id":50691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:40:37] local.INFO: Packet analysis {"connection_id":50691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:40:37] local.INFO: Extracted packet for processing {"connection_id":50691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:37] 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-22 14:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 14: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-22 14:40: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-22 14: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":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:40:37] 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-22 14: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-22 14: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-22 14:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:40: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-22 14:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":50691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:40:37] local.INFO: GPS data processed {"connection_id":50691,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:40:37] local.INFO: Acknowledgment sent {"connection_id":50691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:40:41] local.INFO: TCP Data received {"connection_id":50691,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:40:41] local.INFO: Processing buffer {"connection_id":50691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:40:41] local.INFO: Packet analysis {"connection_id":50691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:40:41] local.INFO: Extracted packet for processing {"connection_id":50691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:40:41] 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-22 14:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 14:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:40:41] 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-22 14:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":50691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:40:41] local.INFO: GPS data processed {"connection_id":50691,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:40:41] local.INFO: Acknowledgment sent {"connection_id":50691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:41:05] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47162d8012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47162d8012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:41:05] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47162d8012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:41:05] local.INFO: Packet analysis {"connection_id":50690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db471"} 
[2026-04-22 14:41:05] local.INFO: Extracted packet for processing {"connection_id":50690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db471"} 
[2026-04-22 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873293312001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776848823000,"timestamp_ms":1776848823000,"timestamp_seconds":1776848823,"priority":1,"record_length":96,"hex_timestamp":"0000019db47162d8"} 
[2026-04-22 14: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-22 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 14:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873293312001,"66":12939,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873293312001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:41:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873293312001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":50690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:41:05] local.INFO: GPS data processed {"connection_id":50690,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:41:05] local.INFO: Acknowledgment sent {"connection_id":50690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:41:26] local.INFO: TCP Data received {"connection_id":50692,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:41:26] local.INFO: Processing buffer {"connection_id":50692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:41:26] local.INFO: IMEI packet received {"connection_id":50692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":50692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:41:27] local.INFO: TCP Data received {"connection_id":50693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:41:27] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:41:27] local.INFO: IMEI packet received {"connection_id":50693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":50693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:41:32] local.INFO: TCP Data received {"connection_id":50692,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:41:32] local.INFO: Processing buffer {"connection_id":50692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:41:32] local.INFO: IMEI packet received {"connection_id":50692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:41:33] local.INFO: TCP Data received {"connection_id":50693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:41:33] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:41:33] local.INFO: IMEI packet received {"connection_id":50693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":50693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:41:33] local.INFO: TCP Data received {"connection_id":50692,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:41:33] local.INFO: Processing buffer {"connection_id":50692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:41:33] local.INFO: Packet analysis {"connection_id":50692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:41:33] local.INFO: Extracted packet for processing {"connection_id":50692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:41:33] 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-22 14:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 14:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14: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-22 14:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:41:33] 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-22 14:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:41: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-22 14:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":50692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:41:33] local.INFO: GPS data processed {"connection_id":50692,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:41:33] local.INFO: Acknowledgment sent {"connection_id":50692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:41:34] local.INFO: TCP Data received {"connection_id":50693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db471b4e0012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db471b4e0012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:41:34] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db471b4e0012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:41:34] local.INFO: Packet analysis {"connection_id":50693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db471"} 
[2026-04-22 14:41:34] local.INFO: Extracted packet for processing {"connection_id":50693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db471"} 
[2026-04-22 14:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873298688001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776848844000,"timestamp_ms":1776848844000,"timestamp_seconds":1776848844,"priority":1,"record_length":96,"hex_timestamp":"0000019db471b4e0"} 
[2026-04-22 14:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:41:34] 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-22 14:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-22 14:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:41:34] 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-22 14:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873298688001,"66":12885,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873298688001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:41:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873298688001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":50693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:41:34] local.INFO: GPS data processed {"connection_id":50693,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:41:34] local.INFO: Acknowledgment sent {"connection_id":50693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:42:05] local.INFO: TCP Data received {"connection_id":50693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4720ad0012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4720ad0012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:42:05] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4720ad0012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:42:05] local.INFO: Packet analysis {"connection_id":50693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:05] local.INFO: Extracted packet for processing {"connection_id":50693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 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-22 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873304064001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776848866000,"timestamp_ms":1776848866000,"timestamp_seconds":1776848866,"priority":1,"record_length":96,"hex_timestamp":"0000019db4720ad0"} 
[2026-04-22 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-22 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 14:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873304064001,"66":12885,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873304064001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:42:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873304064001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":50693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:42:05] local.INFO: GPS data processed {"connection_id":50693,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:42:05] local.INFO: Acknowledgment sent {"connection_id":50693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:42:05] local.INFO: TCP Data received {"connection_id":50692,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:42:05] local.INFO: Processing buffer {"connection_id":50692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:42:05] local.INFO: Packet analysis {"connection_id":50692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:05] local.INFO: Extracted packet for processing {"connection_id":50692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:05] 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-22 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:42: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-22 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-22 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-22 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:42: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-22 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":50692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:42:05] local.INFO: GPS data processed {"connection_id":50692,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:42:05] local.INFO: Acknowledgment sent {"connection_id":50692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:42:26] local.INFO: TCP Data received {"connection_id":51259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:42:26] local.INFO: Processing buffer {"connection_id":51259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:42:26] local.INFO: IMEI packet received {"connection_id":51259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":51259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:42:31] local.INFO: TCP Data received {"connection_id":51259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:42:31] local.INFO: Processing buffer {"connection_id":51259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:42:31] local.INFO: IMEI packet received {"connection_id":51259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":51259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:42:32] local.INFO: TCP Data received {"connection_id":51259,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:42:32] local.INFO: Processing buffer {"connection_id":51259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:42:32] local.INFO: Packet analysis {"connection_id":51259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:32] local.INFO: Extracted packet for processing {"connection_id":51259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:32] 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-22 14:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 14: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-22 14: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-22 14: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:42: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-22 14: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-22 14: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-22 14:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:42: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-22 14:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":51259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:42:32] local.INFO: GPS data processed {"connection_id":51259,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:42:32] local.INFO: Acknowledgment sent {"connection_id":51259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:42:33] local.INFO: TCP Data received {"connection_id":51260,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:42:33] local.INFO: Processing buffer {"connection_id":51260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:42:33] local.INFO: IMEI packet received {"connection_id":51260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":51260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:42:35] local.INFO: TCP Data received {"connection_id":51260,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:42:35] local.INFO: Processing buffer {"connection_id":51260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:42:35] local.INFO: IMEI packet received {"connection_id":51260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":51260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:42:36] local.INFO: TCP Data received {"connection_id":51260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4725cd8012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4725cd8012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:42:36] local.INFO: Processing buffer {"connection_id":51260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4725cd8012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:42:36] local.INFO: Packet analysis {"connection_id":51260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:36] local.INFO: Extracted packet for processing {"connection_id":51260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873309696001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42: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-22 14:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776848887000,"timestamp_ms":1776848887000,"timestamp_seconds":1776848887,"priority":1,"record_length":96,"hex_timestamp":"0000019db4725cd8"} 
[2026-04-22 14: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-22 14:42:36] 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-22 14: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 14:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873309696001,"66":12863,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873309696001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873309696001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":51260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:42:36] local.INFO: GPS data processed {"connection_id":51260,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:42:36] local.INFO: Acknowledgment sent {"connection_id":51260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:42:37] local.INFO: TCP Data received {"connection_id":51260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db472aee0012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db472aee0012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:42:37] local.INFO: Processing buffer {"connection_id":51260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db472aee0012d181fc00721b0a0004e00d629..."} 
[2026-04-22 14:42:37] local.INFO: Packet analysis {"connection_id":51260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:37] local.INFO: Extracted packet for processing {"connection_id":51260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873315072001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776848908000,"timestamp_ms":1776848908000,"timestamp_seconds":1776848908,"priority":1,"record_length":96,"hex_timestamp":"0000019db472aee0"} 
[2026-04-22 14:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 14:42:37] 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-22 14:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873315072001,"66":12809,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873315072001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:42:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873315072001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":51260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:42:38] local.INFO: GPS data processed {"connection_id":51260,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:42:38] local.INFO: Acknowledgment sent {"connection_id":51260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:43:04] local.INFO: TCP Data received {"connection_id":51259,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:43:04] local.INFO: Processing buffer {"connection_id":51259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:43:04] local.INFO: Packet analysis {"connection_id":51259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:43:04] local.INFO: Extracted packet for processing {"connection_id":51259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43: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-22 14:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 14:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:43: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-22 14:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:43:04] 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-22 14:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:43: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-22 14:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 14:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":51259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:43:04] local.INFO: GPS data processed {"connection_id":51259,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:43:04] local.INFO: Acknowledgment sent {"connection_id":51259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:43:09] local.INFO: TCP Data received {"connection_id":51260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db472fd00012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db472fd00012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:43:09] local.INFO: Processing buffer {"connection_id":51260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db472fd00012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:43:09] local.INFO: Packet analysis {"connection_id":51260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:43:09] local.INFO: Extracted packet for processing {"connection_id":51260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:43:09] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873320448001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776848928000,"timestamp_ms":1776848928000,"timestamp_seconds":1776848928,"priority":1,"record_length":96,"hex_timestamp":"0000019db472fd00"} 
[2026-04-22 14: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-22 14:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3027287752,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":180,"raw_value":8101060941016735680,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2963275854,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3024617472,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427616122321819175,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:09] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,180,92,45,192,176,78,42,10,66,1,240,85,227,33,4,113,205,31,160,41,239,50,2,148,7,164,72],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 14:43:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620727806540382208,"timestamp_seconds":5620727806540382.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 14: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-22 14:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:43:09] 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-22 14:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873320448001,"66":12841,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873320448001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:43:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:43:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873320448001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":51260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:43:09] local.INFO: GPS data processed {"connection_id":51260,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:43:09] local.INFO: Acknowledgment sent {"connection_id":51260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:43:26] local.INFO: TCP Data received {"connection_id":51261,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:43:26] local.INFO: Processing buffer {"connection_id":51261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:43:26] local.INFO: IMEI packet received {"connection_id":51261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":51261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:43:28] local.INFO: TCP Data received {"connection_id":50327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:43:28] local.INFO: Processing buffer {"connection_id":50327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:43:28] local.INFO: IMEI packet received {"connection_id":50327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":50327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:43:31] local.INFO: TCP Data received {"connection_id":51261,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:43:31] local.INFO: Processing buffer {"connection_id":51261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:43:31] local.INFO: IMEI packet received {"connection_id":51261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":51261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:43:32] local.INFO: TCP Data received {"connection_id":51261,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:43:32] local.INFO: Processing buffer {"connection_id":51261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4728000012d7f864005afda20000a013328..."} 
[2026-04-22 14:43:32] local.INFO: Packet analysis {"connection_id":51261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:43:32] local.INFO: Extracted packet for processing {"connection_id":51261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db472"} 
[2026-04-22 14:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":10,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873240320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:32] 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-22 14:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776848896000,"timestamp_ms":1776848896000,"timestamp_seconds":1776848896,"priority":1,"record_length":96,"hex_timestamp":"0000019db4728000"} 
[2026-04-22 14: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-22 14:43: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-22 14: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 14:43: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-22 14: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-22 14: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-22 14:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:43:32] 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-22 14:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873240320001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873240320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:43:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873240320001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":51261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:43:32] local.INFO: GPS data processed {"connection_id":51261,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:43:32] local.INFO: Acknowledgment sent {"connection_id":51261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:43:32] local.INFO: TCP Data received {"connection_id":50327,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:43:32] local.INFO: Processing buffer {"connection_id":50327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:43:32] local.INFO: IMEI packet received {"connection_id":50327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":50327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:43:33] local.INFO: TCP Data received {"connection_id":50327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4734f08012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4734f08012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:43:33] local.INFO: Processing buffer {"connection_id":50327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4734f08012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:43:33] local.INFO: Packet analysis {"connection_id":50327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db473"} 
[2026-04-22 14:43:33] local.INFO: Extracted packet for processing {"connection_id":50327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db473"} 
[2026-04-22 14:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873325568001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776848949000,"timestamp_ms":1776848949000,"timestamp_seconds":1776848949,"priority":1,"record_length":96,"hex_timestamp":"0000019db4734f08"} 
[2026-04-22 14: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-22 14:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 14:43:33] 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-22 14: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-22 14: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-22 14:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:43:33] 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-22 14:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873325568001,"66":12809,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873325568001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:43:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873325568001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":50327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:43:33] local.INFO: GPS data processed {"connection_id":50327,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:43:33] local.INFO: Acknowledgment sent {"connection_id":50327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:44:04] local.INFO: TCP Data received {"connection_id":50327,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db473a110012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db473a110012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:44:04] local.INFO: Processing buffer {"connection_id":50327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db473a110012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:44:04] local.INFO: Packet analysis {"connection_id":50327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db473"} 
[2026-04-22 14:44:04] local.INFO: Extracted packet for processing {"connection_id":50327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db473"} 
[2026-04-22 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873330944001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776848970000,"timestamp_ms":1776848970000,"timestamp_seconds":1776848970,"priority":1,"record_length":96,"hex_timestamp":"0000019db473a110"} 
[2026-04-22 14: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-22 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3027329752,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":8147240429383327680,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2963275854,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3024617472,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427616122321819177,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,180,253,45,192,176,78,42,10,66,174,41,92,1,240,63,227,33,4,113,205,31,160,239,50,2,148,7,164,72],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 14:44:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620727810835349504,"timestamp_seconds":5620727810835350.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 14: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-22 14:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:44:04] 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-22 14:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873330944001,"66":12819,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873330944001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:44:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873330944001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:44:04] local.INFO: GPS data processed {"connection_id":50327,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:44:04] local.INFO: Acknowledgment sent {"connection_id":50327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:44:04] local.INFO: TCP Data received {"connection_id":51261,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:44:04] local.INFO: Processing buffer {"connection_id":51261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:44:04] local.INFO: Packet analysis {"connection_id":51261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:44:04] local.INFO: Extracted packet for processing {"connection_id":51261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44: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-22 14:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 14: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-22 14:44: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:44:04] 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-22 14: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-22 14: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-22 14:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":51261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:44:04] local.INFO: GPS data processed {"connection_id":51261,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:44:04] local.INFO: Acknowledgment sent {"connection_id":51261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:44:11] local.INFO: TCP Data received {"connection_id":50695,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:44:11] local.INFO: Processing buffer {"connection_id":50695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:44:11] local.INFO: IMEI packet received {"connection_id":50695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":50695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:44:28] local.INFO: TCP Data received {"connection_id":50696,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:44:28] local.INFO: Processing buffer {"connection_id":50696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:44:28] local.INFO: IMEI packet received {"connection_id":50696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":50696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:44:31] local.INFO: TCP Data received {"connection_id":50578,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:44:31] local.INFO: Processing buffer {"connection_id":50578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:44:31] local.INFO: IMEI packet received {"connection_id":50578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":50578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:44:33] local.INFO: TCP Data received {"connection_id":50696,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:44:33] local.INFO: Processing buffer {"connection_id":50696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:44:33] local.INFO: IMEI packet received {"connection_id":50696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":50696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:44:33] local.INFO: TCP Data received {"connection_id":50696,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db473f318012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db473f318012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:44:33] local.INFO: Processing buffer {"connection_id":50696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db473f318012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:44:33] local.INFO: Packet analysis {"connection_id":50696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db473"} 
[2026-04-22 14:44:33] local.INFO: Extracted packet for processing {"connection_id":50696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db473"} 
[2026-04-22 14:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873336320001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776848991000,"timestamp_ms":1776848991000,"timestamp_seconds":1776848991,"priority":1,"record_length":96,"hex_timestamp":"0000019db473f318"} 
[2026-04-22 14: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-22 14:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3027350752,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":8170330173566623680,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505337818775552,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2963275854,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":21955967994298368,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182148105240832,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3024617472,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427616122321819177,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84750492634653104,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,180,79,45,192,176,78,42,10,66,253,174,1,240,9,227,33,4,113,205,31,160,239,50,2,148,7,164,72,69,208],"length":625,"final_offset":755,"validated_count":37,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-04-22 14:44:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620727810835349504,"timestamp_seconds":5620727810835350.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 14: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-22 14:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:44:33] 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-22 14:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873336320001,"66":12722,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873336320001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:44:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873336320001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":50696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:44:33] local.INFO: GPS data processed {"connection_id":50696,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:44:33] local.INFO: Acknowledgment sent {"connection_id":50696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:44:36] local.INFO: TCP Data received {"connection_id":50578,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:44:36] local.INFO: Processing buffer {"connection_id":50578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:44:36] local.INFO: IMEI packet received {"connection_id":50578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":50578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:44:37] local.INFO: TCP Data received {"connection_id":50578,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:44:37] local.INFO: Processing buffer {"connection_id":50578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:44:37] local.INFO: Packet analysis {"connection_id":50578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:44:37] local.INFO: Extracted packet for processing {"connection_id":50578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:44:37] 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-22 14:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 14: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-22 14:44: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:44: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-22 14: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-22 14: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-22 14:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:44:37] 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-22 14:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":50578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:44:37] local.INFO: GPS data processed {"connection_id":50578,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:44:37] local.INFO: Acknowledgment sent {"connection_id":50578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:44:50] local.INFO: TCP Data received {"connection_id":50697,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:44:50] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:44:50] local.INFO: IMEI packet received {"connection_id":50697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":50697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:45:04] local.INFO: TCP Data received {"connection_id":50696,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4777970012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4777970012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:45:04] local.INFO: Processing buffer {"connection_id":50696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4777970012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:45:04] local.INFO: Packet analysis {"connection_id":50696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:45:04] local.INFO: Extracted packet for processing {"connection_id":50696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873395456001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849222000,"timestamp_ms":1776849222000,"timestamp_seconds":1776849222,"priority":1,"record_length":96,"hex_timestamp":"0000019db4777970"} 
[2026-04-22 14: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-22 14:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 14:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:45:04] 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-22 14:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873395456001,"66":12613,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873395456001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:45:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873395456001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":50696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:45:04] local.INFO: GPS data processed {"connection_id":50696,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:45:04] local.INFO: Acknowledgment sent {"connection_id":50696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:45:08] local.INFO: TCP Data received {"connection_id":50578,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:45:08] local.INFO: Processing buffer {"connection_id":50578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:45:08] local.INFO: Packet analysis {"connection_id":50578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:45:08] local.INFO: Extracted packet for processing {"connection_id":50578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45: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-22 14:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 14: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-22 14:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:45:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":50578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:45:08] local.INFO: GPS data processed {"connection_id":50578,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:45:08] local.INFO: Acknowledgment sent {"connection_id":50578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:45:26] local.INFO: TCP Data received {"connection_id":50579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:45:26] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:45:26] local.INFO: IMEI packet received {"connection_id":50579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":50579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:45:28] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:45:28] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:45:28] local.INFO: IMEI packet received {"connection_id":50328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":50328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:45:31] local.INFO: TCP Data received {"connection_id":50579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:45:31] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:45:31] local.INFO: IMEI packet received {"connection_id":50579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":50579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:45:32] local.INFO: TCP Data received {"connection_id":50579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:45:32] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:45:32] local.INFO: Packet analysis {"connection_id":50579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:45:32] local.INFO: Extracted packet for processing {"connection_id":50579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:32] 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-22 14:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:45: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-22 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-22 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-22 14:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":50579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:45:32] local.INFO: GPS data processed {"connection_id":50579,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:45:32] local.INFO: Acknowledgment sent {"connection_id":50579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:45:33] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:45:33] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:45:33] local.INFO: IMEI packet received {"connection_id":50328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":50328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:45:33] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db477cb78012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db477cb78012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:45:33] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db477cb78012d181fc00721b0a0004e00d62a..."} 
[2026-04-22 14:45:33] local.INFO: Packet analysis {"connection_id":50328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:45:33] local.INFO: Extracted packet for processing {"connection_id":50328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873400832001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849243000,"timestamp_ms":1776849243000,"timestamp_seconds":1776849243,"priority":1,"record_length":96,"hex_timestamp":"0000019db477cb78"} 
[2026-04-22 14:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-22 14:45:33] 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-22 14:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:45:33] 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-22 14:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873400832001,"66":12645,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873400832001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:45:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873400832001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":50328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:45:33] local.INFO: GPS data processed {"connection_id":50328,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:45:33] local.INFO: Acknowledgment sent {"connection_id":50328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:46:03] local.INFO: TCP Data received {"connection_id":50579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:46:03] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:46:03] local.INFO: Packet analysis {"connection_id":50579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:46:03] local.INFO: Extracted packet for processing {"connection_id":50579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46: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-22 14:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 14:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:46: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-22 14:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:46:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":50579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:46:03] local.INFO: GPS data processed {"connection_id":50579,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:46:03] local.INFO: Acknowledgment sent {"connection_id":50579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:46:05] local.INFO: TCP Data received {"connection_id":50328,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4781d80012d181fc00721b0a0004e00d62c..."} 
[2026-04-22 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4781d80012d181fc00721b0a0004e00d62c..."} 
[2026-04-22 14:46:05] local.INFO: Processing buffer {"connection_id":50328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4781d80012d181fc00721b0a0004e00d62c..."} 
[2026-04-22 14:46:05] local.INFO: Packet analysis {"connection_id":50328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db478"} 
[2026-04-22 14:46:05] local.INFO: Extracted packet for processing {"connection_id":50328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db478"} 
[2026-04-22 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873406208001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776849264000,"timestamp_ms":1776849264000,"timestamp_seconds":1776849264,"priority":1,"record_length":96,"hex_timestamp":"0000019db4781d80"} 
[2026-04-22 14: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-22 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-22 14:46:05] 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-22 14: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-22 14: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-22 14:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873406208001,"66":12602,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873406208001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:46:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873406208001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":50328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:46:05] local.INFO: GPS data processed {"connection_id":50328,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:46:05] local.INFO: Acknowledgment sent {"connection_id":50328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:46:26] local.INFO: TCP Data received {"connection_id":51264,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:46:26] local.INFO: Processing buffer {"connection_id":51264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:46:26] local.INFO: IMEI packet received {"connection_id":51264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":51264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:46:27] local.INFO: TCP Data received {"connection_id":51264,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:46:27] local.INFO: Processing buffer {"connection_id":51264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:46:27] local.INFO: IMEI packet received {"connection_id":51264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":51264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:46:27] local.INFO: TCP Data received {"connection_id":51263,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:46:27] local.INFO: Processing buffer {"connection_id":51263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:46:27] local.INFO: IMEI packet received {"connection_id":51263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":51263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:46:31] local.INFO: TCP Data received {"connection_id":51263,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:46:31] local.INFO: Processing buffer {"connection_id":51263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:46:31] local.INFO: IMEI packet received {"connection_id":51263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":51263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:46:32] local.INFO: TCP Data received {"connection_id":51263,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:46:32] local.INFO: Processing buffer {"connection_id":51263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:46:32] local.INFO: Packet analysis {"connection_id":51263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:46:32] local.INFO: Extracted packet for processing {"connection_id":51263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:32] 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-22 14:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:46: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-22 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-22 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-22 14:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:46:32] 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-22 14:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":51263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:46:32] local.INFO: GPS data processed {"connection_id":51263,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:46:32] local.INFO: Acknowledgment sent {"connection_id":51263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:46:33] local.INFO: TCP Data received {"connection_id":51264,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:46:33] local.INFO: Processing buffer {"connection_id":51264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:46:33] local.INFO: IMEI packet received {"connection_id":51264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":51264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:46:33] local.INFO: TCP Data received {"connection_id":51264,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4786f88012d181fc00721b0a0004e00d62c..."} 
[2026-04-22 14:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4786f88012d181fc00721b0a0004e00d62c..."} 
[2026-04-22 14:46:33] local.INFO: Processing buffer {"connection_id":51264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4786f88012d181fc00721b0a0004e00d62c..."} 
[2026-04-22 14:46:33] local.INFO: Packet analysis {"connection_id":51264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db478"} 
[2026-04-22 14:46:33] local.INFO: Extracted packet for processing {"connection_id":51264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db478"} 
[2026-04-22 14:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":78,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873411584001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914111921750016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849285000,"timestamp_ms":1776849285000,"timestamp_seconds":1776849285,"priority":1,"record_length":96,"hex_timestamp":"0000019db4786f88"} 
[2026-04-22 14: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-22 14:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 14:46:33] 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-22 14: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-22 14: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-22 14:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:46:33] 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-22 14:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873411584001,"66":12591,"105":206,"83":41984,"24":0,"16":113914111921750016,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873411584001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:46:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914111921750016,"km_value":113914111921750.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873411584001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":51264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:46:33] local.INFO: GPS data processed {"connection_id":51264,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:46:33] local.INFO: Acknowledgment sent {"connection_id":51264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:47:05] local.INFO: TCP Data received {"connection_id":51263,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:47:05] local.INFO: Processing buffer {"connection_id":51263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:47:05] local.INFO: Packet analysis {"connection_id":51263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:47:05] local.INFO: Extracted packet for processing {"connection_id":51263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:05] 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-22 14:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 14: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-22 14:47: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:47: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-22 14: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-22 14: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-22 14:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":51263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:47:05] local.INFO: GPS data processed {"connection_id":51263,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:47:05] local.INFO: Acknowledgment sent {"connection_id":51263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:47:07] local.INFO: TCP Data received {"connection_id":51264,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db478c190012d181e000721afc8004b00d72b..."} 
[2026-04-22 14:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db478c190012d181e000721afc8004b00d72b..."} 
[2026-04-22 14:47:07] local.INFO: Processing buffer {"connection_id":51264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db478c190012d181e000721afc8004b00d72b..."} 
[2026-04-22 14:47:07] local.INFO: Packet analysis {"connection_id":51264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db478"} 
[2026-04-22 14:47:07] local.INFO: Extracted packet for processing {"connection_id":51264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db478"} 
[2026-04-22 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648200,"longitude_deg":75.6555264,"latitude_deg":11.96482,"altitude":75,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-04-22 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873416960001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776849306000,"timestamp_ms":1776849306000,"timestamp_seconds":1776849306,"priority":1,"record_length":96,"hex_timestamp":"0000019db478c190"} 
[2026-04-22 14:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:47: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-22 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 14:47:07] 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-22 14:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:47:07] 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-22 14:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873416960001,"66":12558,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1738319118050828288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873416960001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:47:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-04-22 14:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873416960001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-04-22 14:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":51264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:47:07] local.INFO: GPS data processed {"connection_id":51264,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:47:07] local.INFO: Acknowledgment sent {"connection_id":51264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:47:26] local.INFO: TCP Data received {"connection_id":50581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:47:26] local.INFO: Processing buffer {"connection_id":50581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:47:26] local.INFO: IMEI packet received {"connection_id":50581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":50581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:47:27] local.INFO: TCP Data received {"connection_id":50582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:47:27] local.INFO: Processing buffer {"connection_id":50582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:47:27] local.INFO: IMEI packet received {"connection_id":50582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:47:30] local.INFO: TCP Data received {"connection_id":50582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:47:30] local.INFO: Processing buffer {"connection_id":50582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:47:30] local.INFO: IMEI packet received {"connection_id":50582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":50582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:47:31] local.INFO: TCP Data received {"connection_id":50581,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:47:31] local.INFO: Processing buffer {"connection_id":50581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:47:31] local.INFO: IMEI packet received {"connection_id":50581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":50581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:47:32] local.INFO: TCP Data received {"connection_id":50581,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:47:32] local.INFO: Processing buffer {"connection_id":50581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:47:32] local.INFO: Packet analysis {"connection_id":50581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:47:32] local.INFO: Extracted packet for processing {"connection_id":50581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:32] 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-22 14:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14: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-22 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-22 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-22 14:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:47:32] 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-22 14:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":50581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:47:32] local.INFO: GPS data processed {"connection_id":50581,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:47:32] local.INFO: Acknowledgment sent {"connection_id":50581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:47:33] local.INFO: TCP Data received {"connection_id":50582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:47:33] local.INFO: Processing buffer {"connection_id":50582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:47:33] local.INFO: IMEI packet received {"connection_id":50582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":50582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:47:33] local.INFO: TCP Data received {"connection_id":50582,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4791398012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4791398012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:47:33] local.INFO: Processing buffer {"connection_id":50582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4791398012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:47:33] local.INFO: Packet analysis {"connection_id":50582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db479"} 
[2026-04-22 14:47:33] local.INFO: Extracted packet for processing {"connection_id":50582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db479"} 
[2026-04-22 14:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873422336001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841529344,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849327000,"timestamp_ms":1776849327000,"timestamp_seconds":1776849327,"priority":1,"record_length":96,"hex_timestamp":"0000019db4791398"} 
[2026-04-22 14: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-22 14:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3027686752,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":30721,"corrected_to":0} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643168,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2963275854,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931242,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3024617472,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 14:47:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,180,111,45,192,176,78,44,10,66,29,203,1,240,101,227,33,4,113,205,39,31,160,41,239,48,2,148,7,106,73,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":203,"original":30721,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 14:47:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404556132528160768,"timestamp_seconds":5404556132528161.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 14: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-22 14:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:47:33] 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-22 14:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873422336001,"66":12537,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841529344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873422336001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:47:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841529344,"description":"Unknown IO ID 45"} 
[2026-04-22 14:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873422336001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841529344}} 
[2026-04-22 14:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:47:33] local.INFO: GPS data processed {"connection_id":50582,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:47:33] local.INFO: Acknowledgment sent {"connection_id":50582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:48:03] local.INFO: TCP Data received {"connection_id":50581,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:48:03] local.INFO: Processing buffer {"connection_id":50581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:48:03] local.INFO: Packet analysis {"connection_id":50581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:48:03] local.INFO: Extracted packet for processing {"connection_id":50581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48: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-22 14:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 14: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-22 14: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:48: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-22 14: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-22 14: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-22 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:48:03] 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-22 14:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":50581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:48:03] local.INFO: GPS data processed {"connection_id":50581,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:48:03] local.INFO: Acknowledgment sent {"connection_id":50581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:48:04] local.INFO: TCP Data received {"connection_id":50582,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47965a0012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47965a0012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:48:04] local.INFO: Processing buffer {"connection_id":50582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47965a0012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:48:04] local.INFO: Packet analysis {"connection_id":50582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db479"} 
[2026-04-22 14:48:04] local.INFO: Extracted packet for processing {"connection_id":50582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db479"} 
[2026-04-22 14:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873427712001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849348000,"timestamp_ms":1776849348000,"timestamp_seconds":1776849348,"priority":1,"record_length":96,"hex_timestamp":"0000019db47965a0"} 
[2026-04-22 14: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-22 14:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 14:48:04] 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-22 14: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-22 14: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-22 14:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:48:04] 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-22 14:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873427712001,"66":12548,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873427712001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:48:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873427712001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":50582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:48:04] local.INFO: GPS data processed {"connection_id":50582,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:48:04] local.INFO: Acknowledgment sent {"connection_id":50582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:48:26] local.INFO: TCP Data received {"connection_id":51265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:48:26] local.INFO: Processing buffer {"connection_id":51265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:48:26] local.INFO: IMEI packet received {"connection_id":51265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":51265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:48:27] local.INFO: TCP Data received {"connection_id":50330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:48:27] local.INFO: Processing buffer {"connection_id":50330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:48:27] local.INFO: IMEI packet received {"connection_id":50330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":50330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:48:31] local.INFO: TCP Data received {"connection_id":51265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:48:31] local.INFO: Processing buffer {"connection_id":51265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:48:31] local.INFO: IMEI packet received {"connection_id":51265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":51265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:48:32] local.INFO: TCP Data received {"connection_id":51265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:48:32] local.INFO: Processing buffer {"connection_id":51265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47717c8012d7f864005afda200003013328..."} 
[2026-04-22 14:48:32] local.INFO: Packet analysis {"connection_id":51265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:48:32] local.INFO: Extracted packet for processing {"connection_id":51265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db477"} 
[2026-04-22 14:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":3,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873317376001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:32] 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-22 14:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849197000,"timestamp_ms":1776849197000,"timestamp_seconds":1776849197,"priority":1,"record_length":96,"hex_timestamp":"0000019db47717c8"} 
[2026-04-22 14: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-22 14:48: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-22 14: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:48: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-22 14: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-22 14: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-22 14:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:48:32] 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-22 14:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873317376001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873317376001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873317376001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":51265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:48:32] local.INFO: GPS data processed {"connection_id":51265,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:48:32] local.INFO: Acknowledgment sent {"connection_id":51265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:48:33] local.INFO: TCP Data received {"connection_id":50330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:48:33] local.INFO: Processing buffer {"connection_id":50330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:48:33] local.INFO: IMEI packet received {"connection_id":50330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":50330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:48:33] local.INFO: TCP Data received {"connection_id":50330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db479b7a8012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db479b7a8012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:48:33] local.INFO: Processing buffer {"connection_id":50330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db479b7a8012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:48:33] local.INFO: Packet analysis {"connection_id":50330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db479"} 
[2026-04-22 14:48:33] local.INFO: Extracted packet for processing {"connection_id":50330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db479"} 
[2026-04-22 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873433088001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849369000,"timestamp_ms":1776849369000,"timestamp_seconds":1776849369,"priority":1,"record_length":96,"hex_timestamp":"0000019db479b7a8"} 
[2026-04-22 14: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-22 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3027728752,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2963275854,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 14:48:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2013343000,"corrected_to":0} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3024617472,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 14:48:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,180,19,45,175,75,44,10,66,193,43,111,192,1,240,47,227,33,4,113,205,203,31,160,42,239,49,2,148,7,78,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":203,"original":2013343000,"validated":0}]} 
[2026-04-22 14:48:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404556136823128064,"timestamp_seconds":5404556136823128.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 14: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-22 14:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:48:33] 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-22 14:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873433088001,"66":12558,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873433088001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:48:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873433088001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":50330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:48:34] local.INFO: GPS data processed {"connection_id":50330,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:48:34] local.INFO: Acknowledgment sent {"connection_id":50330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:49:04] local.INFO: TCP Data received {"connection_id":51265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:49:04] local.INFO: Processing buffer {"connection_id":51265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:49:04] local.INFO: Packet analysis {"connection_id":51265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:49:04] local.INFO: Extracted packet for processing {"connection_id":51265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49: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-22 14:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 14: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-22 14:49: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:49:04] 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-22 14: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-22 14: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-22 14:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:49: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-22 14:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":51265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:49:04] local.INFO: GPS data processed {"connection_id":51265,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:49:04] local.INFO: Acknowledgment sent {"connection_id":51265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:49:05] local.INFO: TCP Data received {"connection_id":50330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47a09b0012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47a09b0012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:49:05] local.INFO: Processing buffer {"connection_id":50330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47a09b0012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:49:05] local.INFO: Packet analysis {"connection_id":50330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47a"} 
[2026-04-22 14:49:05] local.INFO: Extracted packet for processing {"connection_id":50330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47a"} 
[2026-04-22 14:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873438464001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776849390000,"timestamp_ms":1776849390000,"timestamp_seconds":1776849390,"priority":1,"record_length":96,"hex_timestamp":"0000019db47a09b0"} 
[2026-04-22 14:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3027749752,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382040761643168,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2963275854,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3024617472,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,180,101,45,175,75,44,10,66,19,193,1,240,14,227,33,4,113,205,29,31,160,239,49,2,148,7,78,106,73,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 14:49:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404556141118095360,"timestamp_seconds":5404556141118095.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 14:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873438464001,"66":12461,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873438464001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:49:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873438464001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":50330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:49:05] local.INFO: GPS data processed {"connection_id":50330,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:49:05] local.INFO: Acknowledgment sent {"connection_id":50330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:49:27] local.INFO: TCP Data received {"connection_id":51266,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:49:27] local.INFO: Processing buffer {"connection_id":51266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:49:27] local.INFO: IMEI packet received {"connection_id":51266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":51266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:49:31] local.INFO: TCP Data received {"connection_id":51267,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:49:31] local.INFO: Processing buffer {"connection_id":51267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:49:31] local.INFO: IMEI packet received {"connection_id":51267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":51267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:49:33] local.INFO: TCP Data received {"connection_id":51266,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:49:33] local.INFO: Processing buffer {"connection_id":51266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:49:33] local.INFO: IMEI packet received {"connection_id":51266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":51266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:49:33] local.INFO: TCP Data received {"connection_id":51266,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47a5bb8012d181e000721afc0004b00d72e..."} 
[2026-04-22 14:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47a5bb8012d181e000721afc0004b00d72e..."} 
[2026-04-22 14:49:33] local.INFO: Processing buffer {"connection_id":51266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47a5bb8012d181e000721afc0004b00d72e..."} 
[2026-04-22 14:49:33] local.INFO: Packet analysis {"connection_id":51266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47a"} 
[2026-04-22 14:49:33] local.INFO: Extracted packet for processing {"connection_id":51266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47a"} 
[2026-04-22 14:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873443840001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849411000,"timestamp_ms":1776849411000,"timestamp_seconds":1776849411,"priority":1,"record_length":96,"hex_timestamp":"0000019db47a5bb8"} 
[2026-04-22 14: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-22 14:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 14:49:33] 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-22 14: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-22 14: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-22 14:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:49:33] 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-22 14:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873443840001,"66":12504,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873443840001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:49:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873443840001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":51266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:49:33] local.INFO: GPS data processed {"connection_id":51266,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:49:33] local.INFO: Acknowledgment sent {"connection_id":51266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:49:36] local.INFO: TCP Data received {"connection_id":51267,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:49:36] local.INFO: Processing buffer {"connection_id":51267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:49:36] local.INFO: IMEI packet received {"connection_id":51267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":51267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:49:37] local.INFO: TCP Data received {"connection_id":51267,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:49:37] local.INFO: Processing buffer {"connection_id":51267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:49:37] local.INFO: Packet analysis {"connection_id":51267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:49:37] local.INFO: Extracted packet for processing {"connection_id":51267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:49:37] 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-22 14:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 14:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:49: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-22 14:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:49: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-22 14:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":51267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:49:37] local.INFO: GPS data processed {"connection_id":51267,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:49:37] local.INFO: Acknowledgment sent {"connection_id":51267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:50:04] local.INFO: TCP Data received {"connection_id":51266,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47aadc0012d181e000721afc0004b00d72e..."} 
[2026-04-22 14:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47aadc0012d181e000721afc0004b00d72e..."} 
[2026-04-22 14:50:04] local.INFO: Processing buffer {"connection_id":51266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47aadc0012d181e000721afc0004b00d72e..."} 
[2026-04-22 14:50:04] local.INFO: Packet analysis {"connection_id":51266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47a"} 
[2026-04-22 14:50:04] local.INFO: Extracted packet for processing {"connection_id":51266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47a"} 
[2026-04-22 14:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873449216001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849432000,"timestamp_ms":1776849432000,"timestamp_seconds":1776849432,"priority":1,"record_length":96,"hex_timestamp":"0000019db47aadc0"} 
[2026-04-22 14:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 14:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:50:04] 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-22 14:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873449216001,"66":12504,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873449216001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:50:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873449216001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":51266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:50:05] local.INFO: GPS data processed {"connection_id":51266,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:50:05] local.INFO: Acknowledgment sent {"connection_id":51266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:50:06] local.INFO: TCP Data received {"connection_id":50584,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:50:06] local.INFO: Processing buffer {"connection_id":50584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:50:06] local.INFO: IMEI packet received {"connection_id":50584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":50584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:50:08] local.INFO: TCP Data received {"connection_id":51267,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:50:08] local.INFO: Processing buffer {"connection_id":51267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:50:08] local.INFO: Packet analysis {"connection_id":51267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:50:08] local.INFO: Extracted packet for processing {"connection_id":51267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50: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-22 14:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 14: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-22 14:50: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:50: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-22 14:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":51267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:50:08] local.INFO: GPS data processed {"connection_id":51267,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:50:08] local.INFO: Acknowledgment sent {"connection_id":51267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:50:26] local.INFO: TCP Data received {"connection_id":50698,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:50:26] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:50:26] local.INFO: IMEI packet received {"connection_id":50698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":50698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:50:31] local.INFO: TCP Data received {"connection_id":50698,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:50:31] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:50:31] local.INFO: IMEI packet received {"connection_id":50698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":50698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:50:32] local.INFO: TCP Data received {"connection_id":50698,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:50:32] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:50:32] local.INFO: Packet analysis {"connection_id":50698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:50:32] local.INFO: Extracted packet for processing {"connection_id":50698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 14:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:32] 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-22 14:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:50: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-22 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-22 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-22 14:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:50:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:50:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":50698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:50:32] local.INFO: GPS data processed {"connection_id":50698,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:50:32] local.INFO: Acknowledgment sent {"connection_id":50698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:50:33] local.INFO: TCP Data received {"connection_id":50585,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:50:33] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:50:33] local.INFO: IMEI packet received {"connection_id":50585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":50585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:50:37] local.INFO: TCP Data received {"connection_id":50585,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:50:37] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:50:37] local.INFO: IMEI packet received {"connection_id":50585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":50585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:50:38] local.INFO: TCP Data received {"connection_id":50585,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47b03b0012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47b03b0012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:50:38] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47b03b0012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:50:38] local.INFO: Packet analysis {"connection_id":50585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:50:38] local.INFO: Extracted packet for processing {"connection_id":50585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873454592001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776849454000,"timestamp_ms":1776849454000,"timestamp_seconds":1776849454,"priority":1,"record_length":96,"hex_timestamp":"0000019db47b03b0"} 
[2026-04-22 14: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-22 14:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 14:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:50:38] 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-22 14:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873454592001,"66":12461,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873454592001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:50:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873454592001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":50585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:50:38] local.INFO: GPS data processed {"connection_id":50585,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:50:38] local.INFO: Acknowledgment sent {"connection_id":50585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:50:39] local.INFO: TCP Data received {"connection_id":50585,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47b55b8012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47b55b8012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:50:39] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47b55b8012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:50:39] local.INFO: Packet analysis {"connection_id":50585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:50:39] local.INFO: Extracted packet for processing {"connection_id":50585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873460224001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776849475000,"timestamp_ms":1776849475000,"timestamp_seconds":1776849475,"priority":1,"record_length":96,"hex_timestamp":"0000019db47b55b8"} 
[2026-04-22 14: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-22 14:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 14:50: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-22 14: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-22 14: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-22 14:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:50:39] 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-22 14:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873460224001,"66":12526,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873460224001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:50:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873460224001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":50585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:50:39] local.INFO: GPS data processed {"connection_id":50585,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:50:39] local.INFO: Acknowledgment sent {"connection_id":50585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:50:56] local.INFO: TCP Data received {"connection_id":50331,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:50:56] local.INFO: Processing buffer {"connection_id":50331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:50:56] local.INFO: IMEI packet received {"connection_id":50331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":50331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:51:03] local.INFO: TCP Data received {"connection_id":50698,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:51:03] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:51:03] local.INFO: Packet analysis {"connection_id":50698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:51:03] local.INFO: Extracted packet for processing {"connection_id":50698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51: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-22 14:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 14:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:51: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-22 14:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:51:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:51:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":50698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:51:03] local.INFO: GPS data processed {"connection_id":50698,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:51:03] local.INFO: Acknowledgment sent {"connection_id":50698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:51:10] local.INFO: TCP Data received {"connection_id":50585,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47ba3d8012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47ba3d8012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:51:10] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47ba3d8012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:51:10] local.INFO: Packet analysis {"connection_id":50585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:51:10] local.INFO: Extracted packet for processing {"connection_id":50585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873465600001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776849495000,"timestamp_ms":1776849495000,"timestamp_seconds":1776849495,"priority":1,"record_length":96,"hex_timestamp":"0000019db47ba3d8"} 
[2026-04-22 14:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 14:51:10] 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-22 14:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873465600001,"66":12504,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873465600001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:51:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873465600001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":50585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:51:10] local.INFO: GPS data processed {"connection_id":50585,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:51:10] local.INFO: Acknowledgment sent {"connection_id":50585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:51:28] local.INFO: TCP Data received {"connection_id":50332,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:51:28] local.INFO: Processing buffer {"connection_id":50332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:51:28] local.INFO: IMEI packet received {"connection_id":50332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":50332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:51:31] local.INFO: TCP Data received {"connection_id":50333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:51:31] local.INFO: Processing buffer {"connection_id":50333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:51:31] local.INFO: IMEI packet received {"connection_id":50333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":50333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:51:33] local.INFO: TCP Data received {"connection_id":50332,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:51:33] local.INFO: Processing buffer {"connection_id":50332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:51:33] local.INFO: IMEI packet received {"connection_id":50332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":50332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:51:33] local.INFO: TCP Data received {"connection_id":50332,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47bf5e0012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47bf5e0012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:51:33] local.INFO: Processing buffer {"connection_id":50332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47bf5e0012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:51:33] local.INFO: Packet analysis {"connection_id":50332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:51:33] local.INFO: Extracted packet for processing {"connection_id":50332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873470720001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849516000,"timestamp_ms":1776849516000,"timestamp_seconds":1776849516,"priority":1,"record_length":96,"hex_timestamp":"0000019db47bf5e0"} 
[2026-04-22 14: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-22 14:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 14:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:51:33] 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-22 14:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873470720001,"66":12504,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873470720001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:51:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873470720001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:51:33] local.INFO: GPS data processed {"connection_id":50332,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:51:33] local.INFO: Acknowledgment sent {"connection_id":50332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:51:36] local.INFO: TCP Data received {"connection_id":50333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:51:36] local.INFO: Processing buffer {"connection_id":50333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:51:36] local.INFO: IMEI packet received {"connection_id":50333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":50333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:51:37] local.INFO: TCP Data received {"connection_id":50333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:51:37] local.INFO: Processing buffer {"connection_id":50333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:51:37] local.INFO: Packet analysis {"connection_id":50333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:51:37] local.INFO: Extracted packet for processing {"connection_id":50333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:51:37] 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-22 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 14:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:51: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-22 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:51: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-22 14:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":50333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:51:37] local.INFO: GPS data processed {"connection_id":50333,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:51:37] local.INFO: Acknowledgment sent {"connection_id":50333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:52:04] local.INFO: TCP Data received {"connection_id":50332,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47c47e8012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47c47e8012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:52:04] local.INFO: Processing buffer {"connection_id":50332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47c47e8012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:52:04] local.INFO: Packet analysis {"connection_id":50332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47c"} 
[2026-04-22 14:52:04] local.INFO: Extracted packet for processing {"connection_id":50332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47c"} 
[2026-04-22 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873476096001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849537000,"timestamp_ms":1776849537000,"timestamp_seconds":1776849537,"priority":1,"record_length":96,"hex_timestamp":"0000019db47c47e8"} 
[2026-04-22 14: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-22 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 14:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:52:04] 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-22 14:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873476096001,"66":12461,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873476096001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:52:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873476096001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":50332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:52:04] local.INFO: GPS data processed {"connection_id":50332,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:52:04] local.INFO: Acknowledgment sent {"connection_id":50332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:52:08] local.INFO: TCP Data received {"connection_id":50333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:52:08] local.INFO: Processing buffer {"connection_id":50333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:52:08] local.INFO: Packet analysis {"connection_id":50333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:52:08] local.INFO: Extracted packet for processing {"connection_id":50333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52: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-22 14:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 14: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-22 14: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":50333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:52:08] local.INFO: GPS data processed {"connection_id":50333,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:52:08] local.INFO: Acknowledgment sent {"connection_id":50333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:52:28] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:52:28] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:52:28] local.INFO: IMEI packet received {"connection_id":50334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":50334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:52:31] local.INFO: TCP Data received {"connection_id":50586,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:52:31] local.INFO: Processing buffer {"connection_id":50586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:52:31] local.INFO: IMEI packet received {"connection_id":50586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":50586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:52:33] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:52:33] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:52:33] local.INFO: IMEI packet received {"connection_id":50334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":50334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:52:33] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47c99f0012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47c99f0012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:52:33] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47c99f0012d181e000721afc0004b00d72c..."} 
[2026-04-22 14:52:33] local.INFO: Packet analysis {"connection_id":50334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47c"} 
[2026-04-22 14:52:33] local.INFO: Extracted packet for processing {"connection_id":50334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47c"} 
[2026-04-22 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873481472001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849558000,"timestamp_ms":1776849558000,"timestamp_seconds":1776849558,"priority":1,"record_length":96,"hex_timestamp":"0000019db47c99f0"} 
[2026-04-22 14:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 14:52:33] 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-22 14:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:52:33] 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-22 14:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873481472001,"66":12439,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873481472001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:52:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873481472001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":50334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:52:33] local.INFO: GPS data processed {"connection_id":50334,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:52:33] local.INFO: Acknowledgment sent {"connection_id":50334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:52:36] local.INFO: TCP Data received {"connection_id":50586,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:52:36] local.INFO: Processing buffer {"connection_id":50586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:52:36] local.INFO: IMEI packet received {"connection_id":50586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":50586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:52:37] local.INFO: TCP Data received {"connection_id":50586,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:52:37] local.INFO: Processing buffer {"connection_id":50586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:52:37] local.INFO: Packet analysis {"connection_id":50586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:52:37] local.INFO: Extracted packet for processing {"connection_id":50586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:37] 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-22 14:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 14: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-22 14:52: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-22 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:52: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-22 14: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-22 14: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-22 14:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:52:37] 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-22 14:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":50586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:52:37] local.INFO: GPS data processed {"connection_id":50586,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:52:37] local.INFO: Acknowledgment sent {"connection_id":50586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:52:41] local.INFO: TCP Data received {"connection_id":50586,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:52:41] local.INFO: Processing buffer {"connection_id":50586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:52:41] local.INFO: Packet analysis {"connection_id":50586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:52:41] local.INFO: Extracted packet for processing {"connection_id":50586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:52:41] 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-22 14:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 14:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:52:41] 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-22 14:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:52:41] 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-22 14:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:52:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":50586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:52:41] local.INFO: GPS data processed {"connection_id":50586,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:52:41] local.INFO: Acknowledgment sent {"connection_id":50586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:53:05] local.INFO: TCP Data received {"connection_id":50334,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47cebf8012d181e000721afc0004b00d72b..."} 
[2026-04-22 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47cebf8012d181e000721afc0004b00d72b..."} 
[2026-04-22 14:53:05] local.INFO: Processing buffer {"connection_id":50334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47cebf8012d181e000721afc0004b00d72b..."} 
[2026-04-22 14:53:05] local.INFO: Packet analysis {"connection_id":50334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47c"} 
[2026-04-22 14:53:05] local.INFO: Extracted packet for processing {"connection_id":50334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47c"} 
[2026-04-22 14:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873486848001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776849579000,"timestamp_ms":1776849579000,"timestamp_seconds":1776849579,"priority":1,"record_length":96,"hex_timestamp":"0000019db47cebf8"} 
[2026-04-22 14: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-22 14:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 14:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873486848001,"66":12504,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873486848001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:53:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873486848001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":50334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:53:05] local.INFO: GPS data processed {"connection_id":50334,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:53:05] local.INFO: Acknowledgment sent {"connection_id":50334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:53:26] local.INFO: TCP Data received {"connection_id":51269,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:53:26] local.INFO: Processing buffer {"connection_id":51269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:53:26] local.INFO: IMEI packet received {"connection_id":51269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":51269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:53:26] local.INFO: TCP Data received {"connection_id":51270,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:53:26] local.INFO: Processing buffer {"connection_id":51270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:53:26] local.INFO: IMEI packet received {"connection_id":51270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":51270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:53:27] local.INFO: TCP Data received {"connection_id":51270,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:53:27] local.INFO: Processing buffer {"connection_id":51270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:53:27] local.INFO: IMEI packet received {"connection_id":51270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":51270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:53:31] local.INFO: TCP Data received {"connection_id":51269,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:53:31] local.INFO: Processing buffer {"connection_id":51269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:53:31] local.INFO: IMEI packet received {"connection_id":51269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":51269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:53:32] local.INFO: TCP Data received {"connection_id":51269,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:53:32] local.INFO: Processing buffer {"connection_id":51269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47baf90012d7f864005afda200005013328..."} 
[2026-04-22 14:53:32] local.INFO: Packet analysis {"connection_id":51269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:53:32] local.INFO: Extracted packet for processing {"connection_id":51269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47b"} 
[2026-04-22 14:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873394432001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:53:32] 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-22 14:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849498000,"timestamp_ms":1776849498000,"timestamp_seconds":1776849498,"priority":1,"record_length":96,"hex_timestamp":"0000019db47baf90"} 
[2026-04-22 14: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-22 14:53: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-22 14: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 14:53: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-22 14: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-22 14: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-22 14:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:53:32] 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-22 14:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873394432001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873394432001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873394432001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":51269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:53:32] local.INFO: GPS data processed {"connection_id":51269,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:53:32] local.INFO: Acknowledgment sent {"connection_id":51269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:53:32] local.INFO: TCP Data received {"connection_id":51270,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:53:33] local.INFO: Processing buffer {"connection_id":51270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:53:33] local.INFO: IMEI packet received {"connection_id":51270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":51270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:53:33] local.INFO: TCP Data received {"connection_id":51270,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47d3e00012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47d3e00012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:53:33] local.INFO: Processing buffer {"connection_id":51270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47d3e00012d181e000721afc0004b00d72d..."} 
[2026-04-22 14:53:33] local.INFO: Packet analysis {"connection_id":51270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47d"} 
[2026-04-22 14:53:33] local.INFO: Extracted packet for processing {"connection_id":51270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47d"} 
[2026-04-22 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 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-22 14:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873492224001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849600000,"timestamp_ms":1776849600000,"timestamp_seconds":1776849600,"priority":1,"record_length":96,"hex_timestamp":"0000019db47d3e00"} 
[2026-04-22 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-22 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 14:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 14:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:53:33] 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-22 14:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873492224001,"66":12461,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873492224001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:53:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873492224001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":51270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:53:33] local.INFO: GPS data processed {"connection_id":51270,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:53:33] local.INFO: Acknowledgment sent {"connection_id":51270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:54:03] local.INFO: TCP Data received {"connection_id":51269,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:54:03] local.INFO: Processing buffer {"connection_id":51269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:54:03] local.INFO: Packet analysis {"connection_id":51269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:54:03] local.INFO: Extracted packet for processing {"connection_id":51269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54: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-22 14:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14: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-22 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:54: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-22 14:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":51269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:54:03] local.INFO: GPS data processed {"connection_id":51269,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:54:03] local.INFO: Acknowledgment sent {"connection_id":51269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:54:05] local.INFO: TCP Data received {"connection_id":51270,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47d9008012d181e000721afc0004b00d72a..."} 
[2026-04-22 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47d9008012d181e000721afc0004b00d72a..."} 
[2026-04-22 14:54:05] local.INFO: Processing buffer {"connection_id":51270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47d9008012d181e000721afc0004b00d72a..."} 
[2026-04-22 14:54:05] local.INFO: Packet analysis {"connection_id":51270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47d"} 
[2026-04-22 14:54:05] local.INFO: Extracted packet for processing {"connection_id":51270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47d"} 
[2026-04-22 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 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-22 14:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873497600001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776849621000,"timestamp_ms":1776849621000,"timestamp_seconds":1776849621,"priority":1,"record_length":96,"hex_timestamp":"0000019db47d9008"} 
[2026-04-22 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-22 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 14:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 14:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873497600001,"66":12504,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873497600001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:54:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873497600001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":51270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:54:05] local.INFO: GPS data processed {"connection_id":51270,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:54:05] local.INFO: Acknowledgment sent {"connection_id":51270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:54:26] local.INFO: TCP Data received {"connection_id":50701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:54:26] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:54:26] local.INFO: IMEI packet received {"connection_id":50701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":50701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:54:27] local.INFO: TCP Data received {"connection_id":51272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:54:27] local.INFO: Processing buffer {"connection_id":51272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:54:27] local.INFO: IMEI packet received {"connection_id":51272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":51272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:54:30] local.INFO: TCP Data received {"connection_id":51272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:54:30] local.INFO: Processing buffer {"connection_id":51272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:54:30] local.INFO: IMEI packet received {"connection_id":51272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":51272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:54:31] local.INFO: TCP Data received {"connection_id":50701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:54:31] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:54:31] local.INFO: IMEI packet received {"connection_id":50701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:54:32] local.INFO: TCP Data received {"connection_id":50701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:54:32] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:54:32] local.INFO: Packet analysis {"connection_id":50701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:54:32] local.INFO: Extracted packet for processing {"connection_id":50701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:32] 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-22 14:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14: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-22 14:54: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-22 14: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:54: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-22 14: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-22 14: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-22 14:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":50701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:54:32] local.INFO: GPS data processed {"connection_id":50701,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:54:32] local.INFO: Acknowledgment sent {"connection_id":50701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:54:33] local.INFO: TCP Data received {"connection_id":51272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:54:33] local.INFO: Processing buffer {"connection_id":51272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:54:33] local.INFO: IMEI packet received {"connection_id":51272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":51272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:54:33] local.INFO: TCP Data received {"connection_id":51272,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db47de210012d181e000721afc0004b00d72a..."} 
[2026-04-22 14:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db47de210012d181e000721afc0004b00d72a..."} 
[2026-04-22 14:54:33] local.INFO: Processing buffer {"connection_id":51272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db47de210012d181e000721afc0004b00d72a..."} 
[2026-04-22 14:54:33] local.INFO: Packet analysis {"connection_id":51272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db47d"} 
[2026-04-22 14:54:33] local.INFO: Extracted packet for processing {"connection_id":51272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db47d"} 
[2026-04-22 14:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648192,"longitude_deg":75.6555264,"latitude_deg":11.9648192,"altitude":75,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721afc0","is_valid_coordinates":true} 
[2026-04-22 14:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873502976001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914146281488384,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841527296,"note":"Value kept but may cause issues"} 
[2026-04-22 14:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849642000,"timestamp_ms":1776849642000,"timestamp_seconds":1776849642,"priority":1,"record_length":96,"hex_timestamp":"0000019db47de210"} 
[2026-04-22 14: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-22 14:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 14:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:54:33] 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-22 14:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873502976001,"66":12461,"105":206,"83":41984,"24":0,"16":113914146281488384,"45":1737826536841527296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873502976001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:54:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914146281488384,"km_value":113914146281488.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841527296,"description":"Unknown IO ID 45"} 
[2026-04-22 14:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873502976001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841527296}} 
[2026-04-22 14:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":51272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:54:33] local.INFO: GPS data processed {"connection_id":51272,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:54:33] local.INFO: Acknowledgment sent {"connection_id":51272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:55:04] local.INFO: TCP Data received {"connection_id":50701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:55:04] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:55:04] local.INFO: Packet analysis {"connection_id":50701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:55:04] local.INFO: Extracted packet for processing {"connection_id":50701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55: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-22 14:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:55: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-22 14:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":50701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:55:04] local.INFO: GPS data processed {"connection_id":50701,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:55:04] local.INFO: Acknowledgment sent {"connection_id":50701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:55:04] local.INFO: TCP Data received {"connection_id":51272,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4810aa8012d181d000721ac28004a00672b..."} 
[2026-04-22 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4810aa8012d181d000721ac28004a00672b..."} 
[2026-04-22 14:55:04] local.INFO: Processing buffer {"connection_id":51272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4810aa8012d181d000721ac28004a00672b..."} 
[2026-04-22 14:55:04] local.INFO: Packet analysis {"connection_id":51272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:55:04] local.INFO: Extracted packet for processing {"connection_id":51272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647272,"longitude_deg":75.6555008,"latitude_deg":11.9647272,"altitude":74,"angle":103,"satellites":43,"speed":3,"hex_longitude":"2d181d00","hex_latitude":"0721ac28","is_valid_coordinates":true} 
[2026-04-22 14:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873561088001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914197821095936,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120411648,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849849000,"timestamp_ms":1776849849000,"timestamp_seconds":1776849849,"priority":1,"record_length":96,"hex_timestamp":"0000019db4810aa8"} 
[2026-04-22 14:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-22 14:55:04] 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-22 14:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:55:04] 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-22 14:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873561088001,"66":13439,"105":206,"83":41984,"24":3,"16":113914197821095936,"45":1737474693120411648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873561088001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:55:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914197821095936,"km_value":113914197821095.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120411648,"description":"Unknown IO ID 45"} 
[2026-04-22 14:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873561088001,"power":13439,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737474693120411648}} 
[2026-04-22 14:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":51272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:55:04] local.INFO: GPS data processed {"connection_id":51272,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:55:04] local.INFO: Acknowledgment sent {"connection_id":51272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:55:26] local.INFO: TCP Data received {"connection_id":50335,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:55:26] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:55:26] local.INFO: IMEI packet received {"connection_id":50335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":50335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:55:27] local.INFO: TCP Data received {"connection_id":50336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:55:27] local.INFO: Processing buffer {"connection_id":50336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:55:27] local.INFO: IMEI packet received {"connection_id":50336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":50336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:55:28] local.INFO: TCP Data received {"connection_id":50336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:55:28] local.INFO: Processing buffer {"connection_id":50336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:55:28] local.INFO: IMEI packet received {"connection_id":50336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":50336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:55:31] local.INFO: TCP Data received {"connection_id":50335,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:55:31] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:55:31] local.INFO: IMEI packet received {"connection_id":50335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":50335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:55:32] local.INFO: TCP Data received {"connection_id":50335,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:55:32] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:55:32] local.INFO: Packet analysis {"connection_id":50335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:55:32] local.INFO: Extracted packet for processing {"connection_id":50335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:32] 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-22 14:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14: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-22 14: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-22 14: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:55: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-22 14: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-22 14: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-22 14:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:55:32] 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-22 14:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":50335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:55:32] local.INFO: GPS data processed {"connection_id":50335,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:55:32] local.INFO: Acknowledgment sent {"connection_id":50335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:55:33] local.INFO: TCP Data received {"connection_id":50336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:55:33] local.INFO: Processing buffer {"connection_id":50336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:55:33] local.INFO: IMEI packet received {"connection_id":50336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":50336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:55:33] local.INFO: TCP Data received {"connection_id":50336,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4811278012d181e000721ac48004a003a2b..."} 
[2026-04-22 14:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4811278012d181e000721ac48004a003a2b..."} 
[2026-04-22 14:55:33] local.INFO: Processing buffer {"connection_id":50336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4811278012d181e000721ac48004a003a2b..."} 
[2026-04-22 14:55:33] local.INFO: Packet analysis {"connection_id":50336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:55:33] local.INFO: Extracted packet for processing {"connection_id":50336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647304,"longitude_deg":75.6555264,"latitude_deg":11.9647304,"altitude":74,"angle":58,"satellites":43,"speed":5,"hex_longitude":"2d181e00","hex_latitude":"0721ac48","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873561344001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914210705997824,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864581120,"note":"Value kept but may cause issues"} 
[2026-04-22 14:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849851000,"timestamp_ms":1776849851000,"timestamp_seconds":1776849851,"priority":1,"record_length":96,"hex_timestamp":"0000019db4811278"} 
[2026-04-22 14: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-22 14:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-22 14:55:33] 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-22 14: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-22 14: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-22 14:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:55:33] 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-22 14:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873561344001,"66":13928,"105":206,"83":41984,"24":5,"16":113914210705997824,"45":1737545061864581120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873561344001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:55:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914210705997824,"km_value":113914210705997.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864581120,"description":"Unknown IO ID 45"} 
[2026-04-22 14:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873561344001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737545061864581120}} 
[2026-04-22 14:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":50336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:55:34] local.INFO: GPS data processed {"connection_id":50336,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:55:34] local.INFO: Acknowledgment sent {"connection_id":50336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:56:04] local.INFO: TCP Data received {"connection_id":50336,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4811660012d181e800721acc0004a00252c..."} 
[2026-04-22 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4811660012d181e800721acc0004a00252c..."} 
[2026-04-22 14:56:04] local.INFO: Processing buffer {"connection_id":50336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4811660012d181e800721acc0004a00252c..."} 
[2026-04-22 14:56:04] local.INFO: Packet analysis {"connection_id":50336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:56:04] local.INFO: Extracted packet for processing {"connection_id":50336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647424,"longitude_deg":75.6555392,"latitude_deg":11.9647424,"altitude":74,"angle":37,"satellites":44,"speed":8,"hex_longitude":"2d181e80","hex_latitude":"0721acc0","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873561856001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914219295932416,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841299968,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849852000,"timestamp_ms":1776849852000,"timestamp_seconds":1776849852,"priority":1,"record_length":96,"hex_timestamp":"0000019db4811660"} 
[2026-04-22 14: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-22 14:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 14:56:04] 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-22 14: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-22 14: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-22 14:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:56:04] 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-22 14:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873561856001,"66":14233,"105":206,"83":41984,"24":8,"16":113914219295932416,"45":1737826536841299968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873561856001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:56:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914219295932416,"km_value":113914219295932.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841299968,"description":"Unknown IO ID 45"} 
[2026-04-22 14:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873561856001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737826536841299968}} 
[2026-04-22 14:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":50336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:56:05] local.INFO: GPS data processed {"connection_id":50336,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:56:05] local.INFO: Acknowledgment sent {"connection_id":50336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:56:06] local.INFO: TCP Data received {"connection_id":50335,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:56:06] local.INFO: Processing buffer {"connection_id":50335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:56:06] local.INFO: Packet analysis {"connection_id":50335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:56:06] local.INFO: Extracted packet for processing {"connection_id":50335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:06] 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-22 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:56: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-22 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:56: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-22 14:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:56:06] 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-22 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":50335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:56:06] local.INFO: GPS data processed {"connection_id":50335,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:56:06] local.INFO: Acknowledgment sent {"connection_id":50335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:56:16] local.INFO: TCP Data received {"connection_id":50702,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:56:16] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:56:16] local.INFO: IMEI packet received {"connection_id":50702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":50702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:56:30] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:56:30] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:56:30] local.INFO: IMEI packet received {"connection_id":50588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":50588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:56:31] local.INFO: TCP Data received {"connection_id":51273,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:56:31] local.INFO: Processing buffer {"connection_id":51273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:56:31] local.INFO: IMEI packet received {"connection_id":51273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":51273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:56:32] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:56:32] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:56:32] local.INFO: IMEI packet received {"connection_id":50588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:56:36] local.INFO: TCP Data received {"connection_id":51273,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:56:36] local.INFO: Processing buffer {"connection_id":51273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:56:36] local.INFO: IMEI packet received {"connection_id":51273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":51273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:56:37] local.INFO: TCP Data received {"connection_id":51273,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:56:37] local.INFO: Processing buffer {"connection_id":51273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:56:37] local.INFO: Packet analysis {"connection_id":51273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:56:37] local.INFO: Extracted packet for processing {"connection_id":51273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:37] 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-22 14:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:56: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-22 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:56: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-22 14:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:56:37] 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-22 14:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":51273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:56:37] local.INFO: GPS data processed {"connection_id":51273,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:56:37] local.INFO: Acknowledgment sent {"connection_id":51273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:56:38] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:56:38] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:56:38] local.INFO: IMEI packet received {"connection_id":50588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":50588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:56:38] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48150f8012d1831000721ca98004c001f2d..."} 
[2026-04-22 14:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48150f8012d1831000721ca98004c001f2d..."} 
[2026-04-22 14:56:38] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48150f8012d1831000721ca98004c001f2d..."} 
[2026-04-22 14:56:38] local.INFO: Packet analysis {"connection_id":50588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:56:38] local.INFO: Extracted packet for processing {"connection_id":50588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756560128,"raw_latitude":119655064,"longitude_deg":75.6560128,"latitude_deg":11.9655064,"altitude":76,"angle":31,"satellites":45,"speed":34,"hex_longitude":"2d183100","hex_latitude":"0721ca98","is_valid_coordinates":true} 
[2026-04-22 14:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873562112001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113914653087629312,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329686016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776849867000,"timestamp_ms":1776849867000,"timestamp_seconds":1776849867,"priority":1,"record_length":96,"hex_timestamp":"0000019db48150f8"} 
[2026-04-22 14:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-22 14:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:56:38] 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-22 14:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873562112001,"66":14233,"105":206,"83":41984,"24":34,"16":113914653087629312,"45":1737967274329686016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873562112001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:56:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113914653087629312,"km_value":113914653087629.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329686016,"description":"Unknown IO ID 45"} 
[2026-04-22 14:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873562112001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1737967274329686016}} 
[2026-04-22 14:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":50588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:56:38] local.INFO: GPS data processed {"connection_id":50588,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:56:38] local.INFO: Acknowledgment sent {"connection_id":50588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:56:43] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4817808012d1845800721e7e8004e00262c..."} 
[2026-04-22 14:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4817808012d1845800721e7e8004e00262c..."} 
[2026-04-22 14:56:43] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4817808012d1845800721e7e8004e00262c..."} 
[2026-04-22 14:56:43] local.INFO: Packet analysis {"connection_id":50588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:56:43] local.INFO: Extracted packet for processing {"connection_id":50588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756565376,"raw_latitude":119662568,"longitude_deg":75.6565376,"latitude_deg":11.9662568,"altitude":78,"angle":38,"satellites":44,"speed":36,"hex_longitude":"2d184580","hex_latitude":"0721e7e8","is_valid_coordinates":true} 
[2026-04-22 14:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873565952001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915095469260800,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743174561400788992,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56: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-22 14:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776849877000,"timestamp_ms":1776849877000,"timestamp_seconds":1776849877,"priority":1,"record_length":96,"hex_timestamp":"0000019db4817808"} 
[2026-04-22 14:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-22 14:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:56:43] 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-22 14:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873565952001,"66":13678,"105":206,"83":41984,"24":36,"16":113915095469260800,"45":1743174561400788992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873565952001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:56:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:56:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915095469260800,"km_value":113915095469260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743174561400788992,"description":"Unknown IO ID 45"} 
[2026-04-22 14:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873565952001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1743174561400788992}} 
[2026-04-22 14:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":50588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:56:43] local.INFO: GPS data processed {"connection_id":50588,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:56:43] local.INFO: Acknowledgment sent {"connection_id":50588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:56:48] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4818f78012d1851800721f668004f00332b..."} 
[2026-04-22 14:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4818f78012d1851800721f668004f00332b..."} 
[2026-04-22 14:56:48] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4818f78012d1851800721f668004f00332b..."} 
[2026-04-22 14:56:48] local.INFO: Packet analysis {"connection_id":50588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:56:48] local.INFO: Extracted packet for processing {"connection_id":50588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756568448,"raw_latitude":119666280,"longitude_deg":75.6568448,"latitude_deg":11.966628,"altitude":79,"angle":51,"satellites":43,"speed":26,"hex_longitude":"2d185180","hex_latitude":"0721f668","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873568512001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915327397494784,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748944798425278464,"note":"Value kept but may cause issues"} 
[2026-04-22 14:56: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-22 14:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776849883000,"timestamp_ms":1776849883000,"timestamp_seconds":1776849883,"priority":1,"record_length":96,"hex_timestamp":"0000019db4818f78"} 
[2026-04-22 14: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-22 14:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 14:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14: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-22 14: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-22 14:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:56:48] 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-22 14:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873568512001,"66":13004,"105":206,"83":41984,"24":26,"16":113915327397494784,"45":1748944798425278464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873568512001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:56:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915327397494784,"km_value":113915327397494.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748944798425278464,"description":"Unknown IO ID 45"} 
[2026-04-22 14:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873568512001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1748944798425278464}} 
[2026-04-22 14:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":50588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:56:48] local.INFO: GPS data processed {"connection_id":50588,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:56:48] local.INFO: Acknowledgment sent {"connection_id":50588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:56:50] local.INFO: TCP Data received {"connection_id":50703,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:56:50] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 14:56:50] local.INFO: IMEI packet received {"connection_id":50703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 14:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":50703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:57:09] local.INFO: TCP Data received {"connection_id":51273,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:57:09] local.INFO: Processing buffer {"connection_id":51273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:57:09] local.INFO: Packet analysis {"connection_id":51273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:57:09] local.INFO: Extracted packet for processing {"connection_id":51273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:57:09] 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-22 14:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14: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-22 14: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-22 14: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:57:09] 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-22 14: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-22 14: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-22 14:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:57:09] 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-22 14:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:57:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":51273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:57:09] local.INFO: GPS data processed {"connection_id":51273,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:57:09] local.INFO: Acknowledgment sent {"connection_id":51273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:57:26] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:57:26] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:57:26] local.INFO: IMEI packet received {"connection_id":50589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":50589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:57:27] local.INFO: TCP Data received {"connection_id":50337,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:57:27] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:57:27] local.INFO: IMEI packet received {"connection_id":50337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":50337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:57:31] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:57:31] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:57:31] local.INFO: IMEI packet received {"connection_id":50589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":50589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:57:32] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:57:32] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:57:32] local.INFO: Packet analysis {"connection_id":50589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:57:32] local.INFO: Extracted packet for processing {"connection_id":50589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:57:32] 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-22 14:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14: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-22 14:57: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-22 14: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:57: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-22 14: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-22 14: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-22 14:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:57: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-22 14:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:57:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":50589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:57:32] local.INFO: GPS data processed {"connection_id":50589,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:57:32] local.INFO: Acknowledgment sent {"connection_id":50589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:57:33] local.INFO: TCP Data received {"connection_id":50337,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:57:33] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:57:33] local.INFO: IMEI packet received {"connection_id":50337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":50337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:57:33] local.INFO: TCP Data received {"connection_id":50337,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4819b30012d1857400721f9c0004f00442a..."} 
[2026-04-22 14:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4819b30012d1857400721f9c0004f00442a..."} 
[2026-04-22 14:57:33] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4819b30012d1857400721f9c0004f00442a..."} 
[2026-04-22 14:57:33] local.INFO: Packet analysis {"connection_id":50337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:57:33] local.INFO: Extracted packet for processing {"connection_id":50337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667136,"longitude_deg":75.656992,"latitude_deg":11.9667136,"altitude":79,"angle":68,"satellites":42,"speed":16,"hex_longitude":"2d185740","hex_latitude":"0721f9c0","is_valid_coordinates":true} 
[2026-04-22 14:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873570048001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915404706906112,"note":"Value kept but may cause issues"} 
[2026-04-22 14:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752322498146756608,"note":"Value kept but may cause issues"} 
[2026-04-22 14:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849886000,"timestamp_ms":1776849886000,"timestamp_seconds":1776849886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4819b30"} 
[2026-04-22 14:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 14:57:33] 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-22 14:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:57:33] 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-22 14:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873570048001,"66":13059,"105":206,"83":41984,"24":16,"16":113915404706906112,"45":1752322498146756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873570048001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:57:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915404706906112,"km_value":113915404706906.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752322498146756608,"description":"Unknown IO ID 45"} 
[2026-04-22 14:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873570048001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1752322498146756608}} 
[2026-04-22 14:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:57:33] local.INFO: GPS data processed {"connection_id":50337,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:57:33] local.INFO: Acknowledgment sent {"connection_id":50337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:58:04] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:58:04] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:58:04] local.INFO: Packet analysis {"connection_id":50589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:58:04] local.INFO: Extracted packet for processing {"connection_id":50589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58: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-22 14:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:58: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-22 14:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:58: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-22 14:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":50589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:58:04] local.INFO: GPS data processed {"connection_id":50589,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:58:04] local.INFO: Acknowledgment sent {"connection_id":50589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:58:04] local.INFO: TCP Data received {"connection_id":50337,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db481aad0012d185a800721faa0005000512c..."} 
[2026-04-22 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db481aad0012d185a800721faa0005000512c..."} 
[2026-04-22 14:58:04] local.INFO: Processing buffer {"connection_id":50337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db481aad0012d185a800721faa0005000512c..."} 
[2026-04-22 14:58:04] local.INFO: Packet analysis {"connection_id":50337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:58:04] local.INFO: Extracted packet for processing {"connection_id":50337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756570752,"raw_latitude":119667360,"longitude_deg":75.6570752,"latitude_deg":11.966736,"altitude":80,"angle":81,"satellites":44,"speed":9,"hex_longitude":"2d185a80","hex_latitude":"0721faa0","is_valid_coordinates":true} 
[2026-04-22 14:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873570816001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915447656579072,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263062016,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776849890000,"timestamp_ms":1776849890000,"timestamp_seconds":1776849890,"priority":1,"record_length":96,"hex_timestamp":"0000019db481aad0"} 
[2026-04-22 14:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169388203370,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709955,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3028355752,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":26624,"corrected_to":0} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2165727233,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2898264138,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 14:58:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3026124800,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,181,143,45,128,246,79,43,10,66,120,231,78,44,80,1,240,153,227,180,33,4,113,205,8,18,30,72,239,54,2,148,7,74,3],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":246,"original":26624,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 14:58:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692624876176670720,"timestamp_seconds":5692624876176671.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 14:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:58:04] 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-22 14:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873570816001,"66":13004,"105":206,"83":41984,"24":9,"16":113915447656579072,"45":1753940979263062016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873570816001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915447656579072,"km_value":113915447656579.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263062016,"description":"Unknown IO ID 45"} 
[2026-04-22 14:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873570816001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1753940979263062016}} 
[2026-04-22 14:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":50337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:58:04] local.INFO: GPS data processed {"connection_id":50337,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:58:04] local.INFO: Acknowledgment sent {"connection_id":50337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:58:26] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:58:26] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:58:26] local.INFO: IMEI packet received {"connection_id":50704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":50704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:58:27] local.INFO: TCP Data received {"connection_id":51275,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:58:27] local.INFO: Processing buffer {"connection_id":51275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:58:27] local.INFO: IMEI packet received {"connection_id":51275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":51275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:58:31] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:58:31] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:58:31] local.INFO: IMEI packet received {"connection_id":50704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":50704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:58:32] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:58:32] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4804758012d7f864005afda200005013329..."} 
[2026-04-22 14:58:32] local.INFO: Packet analysis {"connection_id":50704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:58:32] local.INFO: Extracted packet for processing {"connection_id":50704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db480"} 
[2026-04-22 14:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":5,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14: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-22 14:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873471488001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:32] 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-22 14:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776849799000,"timestamp_ms":1776849799000,"timestamp_seconds":1776849799,"priority":1,"record_length":96,"hex_timestamp":"0000019db4804758"} 
[2026-04-22 14: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-22 14: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-22 14: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:58: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-22 14: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-22 14: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-22 14:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:58:32] 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-22 14:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873471488001,"66":25375,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873471488001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:58:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873471488001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":50704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:58:32] local.INFO: GPS data processed {"connection_id":50704,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:58:32] local.INFO: Acknowledgment sent {"connection_id":50704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:58:33] local.INFO: TCP Data received {"connection_id":51275,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:58:33] local.INFO: Processing buffer {"connection_id":51275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:58:33] local.INFO: IMEI packet received {"connection_id":51275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":51275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:58:33] local.INFO: TCP Data received {"connection_id":51275,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db481d5c8012d186e000721ff88005300452b..."} 
[2026-04-22 14:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db481d5c8012d186e000721ff88005300452b..."} 
[2026-04-22 14:58:33] local.INFO: Processing buffer {"connection_id":51275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db481d5c8012d186e000721ff88005300452b..."} 
[2026-04-22 14:58:33] local.INFO: Packet analysis {"connection_id":51275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:58:33] local.INFO: Extracted packet for processing {"connection_id":51275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db481"} 
[2026-04-22 14:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756575744,"raw_latitude":119668616,"longitude_deg":75.6575744,"latitude_deg":11.9668616,"altitude":83,"angle":69,"satellites":43,"speed":16,"hex_longitude":"2d186e00","hex_latitude":"0721ff88","is_valid_coordinates":true} 
[2026-04-22 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-22 14:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873571840001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915692469714944,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754855772937428992,"note":"Value kept but may cause issues"} 
[2026-04-22 14:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776849901000,"timestamp_ms":1776849901000,"timestamp_seconds":1776849901,"priority":1,"record_length":96,"hex_timestamp":"0000019db481d5c8"} 
[2026-04-22 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-22 14:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 14:58:33] 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-22 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-22 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-22 14:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:58:33] 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-22 14:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873571840001,"66":13015,"105":206,"83":41984,"24":16,"16":113915692469714944,"45":1754855772937428992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873571840001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:58:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915692469714944,"km_value":113915692469714.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754855772937428992,"description":"Unknown IO ID 45"} 
[2026-04-22 14:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873571840001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1754855772937428992}} 
[2026-04-22 14:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":51275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:58:33] local.INFO: GPS data processed {"connection_id":51275,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:58:33] local.INFO: Acknowledgment sent {"connection_id":51275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:59:03] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 14:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 14:59:03] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 14:59:03] local.INFO: Packet analysis {"connection_id":50704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:03] local.INFO: Extracted packet for processing {"connection_id":50704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":36,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873548544001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59: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-22 14:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776850100000,"timestamp_ms":1776850100000,"timestamp_seconds":1776850100,"priority":1,"record_length":96,"hex_timestamp":"0000019db484df20"} 
[2026-04-22 14:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 14:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:59: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-22 14:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873548544001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873548544001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873548544001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":50704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:59:03] local.INFO: GPS data processed {"connection_id":50704,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:59:03] local.INFO: Acknowledgment sent {"connection_id":50704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:59:04] local.INFO: TCP Data received {"connection_id":51275,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4843340012d187200072209a80055000f2d..."} 
[2026-04-22 14:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4843340012d187200072209a80055000f2d..."} 
[2026-04-22 14:59:04] local.INFO: Processing buffer {"connection_id":51275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4843340012d187200072209a80055000f2d..."} 
[2026-04-22 14:59:04] local.INFO: Packet analysis {"connection_id":51275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:04] local.INFO: Extracted packet for processing {"connection_id":51275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 14:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873608960001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850056000,"timestamp_ms":1776850056000,"timestamp_seconds":1776850056,"priority":1,"record_length":96,"hex_timestamp":"0000019db4843340"} 
[2026-04-22 14:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 14:59:04] 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-22 14:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:59:04] 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-22 14:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873608960001,"66":12841,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873608960001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:59:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 14:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873608960001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 14:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":51275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:59:04] local.INFO: GPS data processed {"connection_id":51275,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:59:04] local.INFO: Acknowledgment sent {"connection_id":51275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:59:28] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:59:28] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:59:28] local.INFO: IMEI packet received {"connection_id":50591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 14:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":50591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:59:31] local.INFO: TCP Data received {"connection_id":51276,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:59:31] local.INFO: Processing buffer {"connection_id":51276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:59:31] local.INFO: IMEI packet received {"connection_id":51276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 14:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":51276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 14:59:33] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:59:33] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 14:59:33] local.INFO: IMEI packet received {"connection_id":50591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 14:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":50591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:59:34] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4848548012d187200072209a80055000f29..."} 
[2026-04-22 14:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4848548012d187200072209a80055000f29..."} 
[2026-04-22 14:59:34] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4848548012d187200072209a80055000f29..."} 
[2026-04-22 14:59:34] local.INFO: Packet analysis {"connection_id":50591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:34] local.INFO: Extracted packet for processing {"connection_id":50591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 14:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873614336001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 14:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776850077000,"timestamp_ms":1776850077000,"timestamp_seconds":1776850077,"priority":1,"record_length":96,"hex_timestamp":"0000019db4848548"} 
[2026-04-22 14:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 14:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 14:59:34] 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-22 14:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 14:59:34] 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-22 14:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 14:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 14:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873614336001,"66":12776,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 14:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 14:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 14:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873614336001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:59:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 14:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 14:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 14:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873614336001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 14:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":50591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:59:34] local.INFO: GPS data processed {"connection_id":50591,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:59:34] local.INFO: Acknowledgment sent {"connection_id":50591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:59:36] local.INFO: TCP Data received {"connection_id":51276,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:59:36] local.INFO: Processing buffer {"connection_id":51276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 14:59:36] local.INFO: IMEI packet received {"connection_id":51276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 14:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":51276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 14:59:37] local.INFO: TCP Data received {"connection_id":51276,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 14:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 14:59:37] local.INFO: Processing buffer {"connection_id":51276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 14:59:37] local.INFO: Packet analysis {"connection_id":51276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:37] local.INFO: Extracted packet for processing {"connection_id":51276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":36,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873548544001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:37] 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-22 14:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776850100000,"timestamp_ms":1776850100000,"timestamp_seconds":1776850100,"priority":1,"record_length":96,"hex_timestamp":"0000019db484df20"} 
[2026-04-22 14:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:59: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-22 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:59: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-22 14:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873548544001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873548544001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873548544001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":51276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:59:37] local.INFO: GPS data processed {"connection_id":51276,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:59:37] local.INFO: Acknowledgment sent {"connection_id":51276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 14:59:47] local.INFO: TCP Data received {"connection_id":51276,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 14:59:47] local.INFO: Processing buffer {"connection_id":51276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 14:59:47] local.INFO: Packet analysis {"connection_id":51276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:47] local.INFO: Extracted packet for processing {"connection_id":51276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 14:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":36,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 14:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 14:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873548544001,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 14:59:47] 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-22 14:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776850100000,"timestamp_ms":1776850100000,"timestamp_seconds":1776850100,"priority":1,"record_length":96,"hex_timestamp":"0000019db484df20"} 
[2026-04-22 14:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 14:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 14:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 14:59:47] 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-22 14:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 14:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 14:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 14:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 14:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 14:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 14:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 14:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 14:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873548544001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 14:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 14:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 14:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873548544001,"description":"Unknown IO ID 0"} 
[2026-04-22 14:59:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 14:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 14:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 14:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 14:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873548544001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 14:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":51276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 14:59:47] local.INFO: GPS data processed {"connection_id":51276,"processed":1,"errors":0,"total":1} 
[2026-04-22 14:59:47] local.INFO: Acknowledgment sent {"connection_id":51276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:00:04] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db484d750012d187200072209a80055000f27..."} 
[2026-04-22 15:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484d750012d187200072209a80055000f27..."} 
[2026-04-22 15:00:04] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484d750012d187200072209a80055000f27..."} 
[2026-04-22 15:00:04] local.INFO: Packet analysis {"connection_id":50591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:00:04] local.INFO: Extracted packet for processing {"connection_id":50591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":39,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873619712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850098000,"timestamp_ms":1776850098000,"timestamp_seconds":1776850098,"priority":1,"record_length":96,"hex_timestamp":"0000019db484d750"} 
[2026-04-22 15: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-22 15:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:00:04] 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-22 15:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873619712001,"66":12819,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873619712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:00:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873619712001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 15:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":50591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:00:05] local.INFO: GPS data processed {"connection_id":50591,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:00:05] local.INFO: Acknowledgment sent {"connection_id":50591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:00:27] local.INFO: TCP Data received {"connection_id":50592,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:00:27] local.INFO: Processing buffer {"connection_id":50592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:00:27] local.INFO: IMEI packet received {"connection_id":50592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:00:32] local.INFO: TCP Data received {"connection_id":50592,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:00:32] local.INFO: Processing buffer {"connection_id":50592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:00:32] local.INFO: IMEI packet received {"connection_id":50592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:00:33] local.INFO: TCP Data received {"connection_id":50592,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4852958012d187200072209a80055000f2b..."} 
[2026-04-22 15:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4852958012d187200072209a80055000f2b..."} 
[2026-04-22 15:00:33] local.INFO: Processing buffer {"connection_id":50592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4852958012d187200072209a80055000f2b..."} 
[2026-04-22 15:00:33] local.INFO: Packet analysis {"connection_id":50592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db485"} 
[2026-04-22 15:00:33] local.INFO: Extracted packet for processing {"connection_id":50592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db485"} 
[2026-04-22 15:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":43,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625088001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850119000,"timestamp_ms":1776850119000,"timestamp_seconds":1776850119,"priority":1,"record_length":96,"hex_timestamp":"0000019db4852958"} 
[2026-04-22 15: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-22 15:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3028478752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84750845895713289,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505337845121024,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-9036164784011578880,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":168,"raw_value":23925438199889920,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3050962944,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2452676191459479333,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:00:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,181,133,45,9,85,41,10,66,51,225,1,240,63,227,180,34,4,113,205,61,114,168,239,50,2,148,7,164,218,69],"length":625,"final_offset":755,"validated_count":37,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-04-22 15:00:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6124912153402015744,"timestamp_seconds":6124912153402016.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15: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-22 15:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:00:33] 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-22 15:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625088001,"66":12809,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625088001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:00:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625088001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 15:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:00:33] local.INFO: GPS data processed {"connection_id":50592,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:00:33] local.INFO: Acknowledgment sent {"connection_id":50592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:00:56] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:00:56] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:00:56] local.INFO: IMEI packet received {"connection_id":50706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":50706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:01:01] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:01:01] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:01:01] local.INFO: IMEI packet received {"connection_id":50706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":50706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:01:02] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:01:02] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:01:02] local.INFO: Packet analysis {"connection_id":50706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:01:02] local.INFO: Extracted packet for processing {"connection_id":50706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":36,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873548544001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:02] 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-22 15:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776850100000,"timestamp_ms":1776850100000,"timestamp_seconds":1776850100,"priority":1,"record_length":96,"hex_timestamp":"0000019db484df20"} 
[2026-04-22 15: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-22 15:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 15:01: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-22 15: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-22 15: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-22 15:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:01: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-22 15:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873548544001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873548544001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:01:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873548544001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":50706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:01:02] local.INFO: GPS data processed {"connection_id":50706,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:01:02] local.INFO: Acknowledgment sent {"connection_id":50706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:01:04] local.INFO: TCP Data received {"connection_id":50592,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4857b60012d187200072209a80055000f2c..."} 
[2026-04-22 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4857b60012d187200072209a80055000f2c..."} 
[2026-04-22 15:01:04] local.INFO: Processing buffer {"connection_id":50592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4857b60012d187200072209a80055000f2c..."} 
[2026-04-22 15:01:04] local.INFO: Packet analysis {"connection_id":50592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db485"} 
[2026-04-22 15:01:04] local.INFO: Extracted packet for processing {"connection_id":50592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db485"} 
[2026-04-22 15:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":44,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873630464001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850140000,"timestamp_ms":1776850140000,"timestamp_seconds":1776850140,"priority":1,"record_length":96,"hex_timestamp":"0000019db4857b60"} 
[2026-04-22 15: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-22 15:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3028499752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-9013075039828282880,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146179942887853,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3050962944,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2452676191459479336,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,181,215,45,9,85,39,10,66,133,41,51,1,240,227,180,34,4,113,205,143,114,168,239,50,2,148,7,164,218],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:01:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6124912170581884928,"timestamp_seconds":6124912170581885.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15: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-22 15:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:01:04] 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-22 15:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873630464001,"66":12776,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873630464001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:01:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873630464001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 15:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:01:04] local.INFO: GPS data processed {"connection_id":50592,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:01:04] local.INFO: Acknowledgment sent {"connection_id":50592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:01:27] local.INFO: TCP Data received {"connection_id":50339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:01:27] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:01:27] local.INFO: IMEI packet received {"connection_id":50339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":50339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:01:31] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:01:31] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:01:31] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:01:33] local.INFO: TCP Data received {"connection_id":50339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:01:33] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:01:33] local.INFO: IMEI packet received {"connection_id":50339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":50339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:01:33] local.INFO: TCP Data received {"connection_id":50339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db485cd68012d187200072209a80055000f2a..."} 
[2026-04-22 15:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db485cd68012d187200072209a80055000f2a..."} 
[2026-04-22 15:01:33] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db485cd68012d187200072209a80055000f2a..."} 
[2026-04-22 15:01:33] local.INFO: Packet analysis {"connection_id":50339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db485"} 
[2026-04-22 15:01:33] local.INFO: Extracted packet for processing {"connection_id":50339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db485"} 
[2026-04-22 15:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":42,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873635840001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850161000,"timestamp_ms":1776850161000,"timestamp_seconds":1776850161,"priority":1,"record_length":96,"hex_timestamp":"0000019db485cd68"} 
[2026-04-22 15: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-22 15:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:01:33] 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-22 15: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-22 15: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-22 15:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:01:33] 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-22 15:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873635840001,"66":12776,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873635840001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:01:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873635840001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 15:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":50339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:01:33] local.INFO: GPS data processed {"connection_id":50339,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:01:33] local.INFO: Acknowledgment sent {"connection_id":50339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:01:36] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:01:36] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:01:36] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:01:37] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:01:37] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:01:37] local.INFO: Packet analysis {"connection_id":50593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:01:37] local.INFO: Extracted packet for processing {"connection_id":50593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":36,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873548544001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:37] 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-22 15:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776850100000,"timestamp_ms":1776850100000,"timestamp_seconds":1776850100,"priority":1,"record_length":96,"hex_timestamp":"0000019db484df20"} 
[2026-04-22 15:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:01: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-22 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 15:01: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-22 15:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:01:37] 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-22 15:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873548544001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873548544001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873548544001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":50593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:01:37] local.INFO: GPS data processed {"connection_id":50593,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:01:37] local.INFO: Acknowledgment sent {"connection_id":50593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:01:41] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:01:41] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:01:41] local.INFO: Packet analysis {"connection_id":50593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:01:41] local.INFO: Extracted packet for processing {"connection_id":50593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":36,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873548544001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:01:41] 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-22 15:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776850100000,"timestamp_ms":1776850100000,"timestamp_seconds":1776850100,"priority":1,"record_length":96,"hex_timestamp":"0000019db484df20"} 
[2026-04-22 15:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 15:01:41] 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-22 15:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:01:41] 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-22 15:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873548544001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873548544001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873548544001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":50593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:01:41] local.INFO: GPS data processed {"connection_id":50593,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:01:41] local.INFO: Acknowledgment sent {"connection_id":50593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:02:04] local.INFO: TCP Data received {"connection_id":50339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4861f70012d187200072209a80055000f29..."} 
[2026-04-22 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4861f70012d187200072209a80055000f29..."} 
[2026-04-22 15:02:04] local.INFO: Processing buffer {"connection_id":50339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4861f70012d187200072209a80055000f29..."} 
[2026-04-22 15:02:04] local.INFO: Packet analysis {"connection_id":50339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db486"} 
[2026-04-22 15:02:04] local.INFO: Extracted packet for processing {"connection_id":50339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db486"} 
[2026-04-22 15:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873641216001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850182000,"timestamp_ms":1776850182000,"timestamp_seconds":1776850182,"priority":1,"record_length":96,"hex_timestamp":"0000019db4861f70"} 
[2026-04-22 15: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-22 15:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:02:04] 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-22 15:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873641216001,"66":12743,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873641216001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:02:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873641216001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 15:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":50339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:02:04] local.INFO: GPS data processed {"connection_id":50339,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:02:04] local.INFO: Acknowledgment sent {"connection_id":50339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:02:11] local.INFO: TCP Data received {"connection_id":50340,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:02:11] local.INFO: Processing buffer {"connection_id":50340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:02:11] local.INFO: IMEI packet received {"connection_id":50340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":50340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:02:26] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:02:26] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:02:26] local.INFO: IMEI packet received {"connection_id":50341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":50341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:02:26] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:02:26] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:02:26] local.INFO: IMEI packet received {"connection_id":50594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":50594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:02:27] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:02:27] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:02:27] local.INFO: IMEI packet received {"connection_id":50594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:02:31] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:02:31] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:02:31] local.INFO: IMEI packet received {"connection_id":50341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":50341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:02:32] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:02:32] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:02:32] local.INFO: Packet analysis {"connection_id":50341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:02:32] local.INFO: Extracted packet for processing {"connection_id":50341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":36,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 15:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873548544001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:02:32] 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-22 15:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776850100000,"timestamp_ms":1776850100000,"timestamp_seconds":1776850100,"priority":1,"record_length":96,"hex_timestamp":"0000019db484df20"} 
[2026-04-22 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-22 15:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":31,"data_length":795,"current_offset":136} 
[2026-04-22 15:02: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-22 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-22 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-22 15:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:02:32] local.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-22 15:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873548544001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873548544001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:02:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873548544001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":50341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:02:32] local.INFO: GPS data processed {"connection_id":50341,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:02:32] local.INFO: Acknowledgment sent {"connection_id":50341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:02:32] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:02:32] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:02:32] local.INFO: IMEI packet received {"connection_id":50594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:02:33] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4867178012d187200072209a80055000f29..."} 
[2026-04-22 15:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4867178012d187200072209a80055000f29..."} 
[2026-04-22 15:02:33] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4867178012d187200072209a80055000f29..."} 
[2026-04-22 15:02:33] local.INFO: Packet analysis {"connection_id":50594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db486"} 
[2026-04-22 15:02:33] local.INFO: Extracted packet for processing {"connection_id":50594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db486"} 
[2026-04-22 15:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873646592001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850203000,"timestamp_ms":1776850203000,"timestamp_seconds":1776850203,"priority":1,"record_length":96,"hex_timestamp":"0000019db4867178"} 
[2026-04-22 15: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-22 15:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-22 15:02:33] 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-22 15: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-22 15: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-22 15:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:02:33] 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-22 15:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873646592001,"66":12722,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873646592001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:02:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873646592001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 15:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:02:33] local.INFO: GPS data processed {"connection_id":50594,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:02:33] local.INFO: Acknowledgment sent {"connection_id":50594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:02:50] local.INFO: TCP Data received {"connection_id":51277,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:02:50] local.INFO: Processing buffer {"connection_id":51277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:02:50] local.INFO: IMEI packet received {"connection_id":51277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":51277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:03:03] local.INFO: TCP Data received {"connection_id":50341,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:03:03] local.INFO: Processing buffer {"connection_id":50341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:03:03] local.INFO: Packet analysis {"connection_id":50341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:03:03] local.INFO: Extracted packet for processing {"connection_id":50341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":36,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873548544001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03: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-22 15:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776850100000,"timestamp_ms":1776850100000,"timestamp_seconds":1776850100,"priority":1,"record_length":96,"hex_timestamp":"0000019db484df20"} 
[2026-04-22 15: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-22 15:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 15:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873548544001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873548544001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873548544001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":50341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:03:03] local.INFO: GPS data processed {"connection_id":50341,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:03:03] local.INFO: Acknowledgment sent {"connection_id":50341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:03:04] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db486c380012d187200072209a80055000f2c..."} 
[2026-04-22 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db486c380012d187200072209a80055000f2c..."} 
[2026-04-22 15:03:04] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db486c380012d187200072209a80055000f2c..."} 
[2026-04-22 15:03:04] local.INFO: Packet analysis {"connection_id":50594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db486"} 
[2026-04-22 15:03:04] local.INFO: Extracted packet for processing {"connection_id":50594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db486"} 
[2026-04-22 15:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":44,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 15:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873651968001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850224000,"timestamp_ms":1776850224000,"timestamp_seconds":1776850224,"priority":1,"record_length":96,"hex_timestamp":"0000019db486c380"} 
[2026-04-22 15:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 15:03:04] 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-22 15:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:03:04] 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-22 15:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873651968001,"66":12722,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873651968001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:03:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873651968001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 15:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:03:04] local.INFO: GPS data processed {"connection_id":50594,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:03:04] local.INFO: Acknowledgment sent {"connection_id":50594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:03:26] local.INFO: TCP Data received {"connection_id":50707,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:03:26] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:03:26] local.INFO: IMEI packet received {"connection_id":50707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":50707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:03:27] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:03:27] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:03:27] local.INFO: IMEI packet received {"connection_id":50708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:03:30] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:03:30] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:03:30] local.INFO: IMEI packet received {"connection_id":50708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":50708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:03:31] local.INFO: TCP Data received {"connection_id":50707,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:03:31] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:03:31] local.INFO: IMEI packet received {"connection_id":50707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":50707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:03:32] local.INFO: TCP Data received {"connection_id":50707,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:03:32] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db484df20012d7f864005afda200024013326..."} 
[2026-04-22 15:03:32] local.INFO: Packet analysis {"connection_id":50707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:03:32] local.INFO: Extracted packet for processing {"connection_id":50707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db484"} 
[2026-04-22 15:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":36,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 15:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873548544001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:32] 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-22 15:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776850100000,"timestamp_ms":1776850100000,"timestamp_seconds":1776850100,"priority":1,"record_length":96,"hex_timestamp":"0000019db484df20"} 
[2026-04-22 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-22 15:03: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-22 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":31,"data_length":795,"current_offset":136} 
[2026-04-22 15:03: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-22 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-22 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-22 15:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873548544001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873548544001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873548544001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":50707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:03:32] local.INFO: GPS data processed {"connection_id":50707,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:03:32] local.INFO: Acknowledgment sent {"connection_id":50707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:03:32] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:03:32] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:03:32] local.INFO: IMEI packet received {"connection_id":50708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:03:33] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4871588012d187200072209a80055000f2c..."} 
[2026-04-22 15:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4871588012d187200072209a80055000f2c..."} 
[2026-04-22 15:03:33] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4871588012d187200072209a80055000f2c..."} 
[2026-04-22 15:03:33] local.INFO: Packet analysis {"connection_id":50708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db487"} 
[2026-04-22 15:03:33] local.INFO: Extracted packet for processing {"connection_id":50708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db487"} 
[2026-04-22 15:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":44,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873657344001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850245000,"timestamp_ms":1776850245000,"timestamp_seconds":1776850245,"priority":1,"record_length":96,"hex_timestamp":"0000019db4871588"} 
[2026-04-22 15: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-22 15:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 15:03:33] 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-22 15: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-22 15: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-22 15:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:03:33] 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-22 15:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873657344001,"66":12722,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873657344001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:03:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873657344001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 15:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:03:33] local.INFO: GPS data processed {"connection_id":50708,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:03:33] local.INFO: Acknowledgment sent {"connection_id":50708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:04:03] local.INFO: TCP Data received {"connection_id":50707,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:04:03] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:04:03] local.INFO: Packet analysis {"connection_id":50707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:04:03] local.INFO: Extracted packet for processing {"connection_id":50707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04: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-22 15:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15: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-22 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:04: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-22 15: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-22 15: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-22 15:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":50707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:04:03] local.INFO: GPS data processed {"connection_id":50707,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:04:03] local.INFO: Acknowledgment sent {"connection_id":50707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:04:04] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4876790012d187200072209a80055000f2b..."} 
[2026-04-22 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4876790012d187200072209a80055000f2b..."} 
[2026-04-22 15:04:04] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4876790012d187200072209a80055000f2b..."} 
[2026-04-22 15:04:04] local.INFO: Packet analysis {"connection_id":50708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db487"} 
[2026-04-22 15:04:04] local.INFO: Extracted packet for processing {"connection_id":50708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db487"} 
[2026-04-22 15:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119671208,"longitude_deg":75.6576768,"latitude_deg":11.9671208,"altitude":85,"angle":15,"satellites":43,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072209a8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873662720001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915838498603008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891114496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850266000,"timestamp_ms":1776850266000,"timestamp_seconds":1776850266,"priority":1,"record_length":96,"hex_timestamp":"0000019db4876790"} 
[2026-04-22 15: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-22 15:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 15:04:04] 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-22 15: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-22 15: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-22 15:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:04:04] 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-22 15:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873662720001,"66":12645,"105":206,"83":41984,"24":0,"16":113915838498603008,"45":1761470434891114496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873662720001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:04:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915838498603008,"km_value":113915838498603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891114496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873662720001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891114496}} 
[2026-04-22 15:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:04:04] local.INFO: GPS data processed {"connection_id":50708,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:04:04] local.INFO: Acknowledgment sent {"connection_id":50708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:04:26] local.INFO: TCP Data received {"connection_id":50343,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:04:26] local.INFO: Processing buffer {"connection_id":50343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:04:26] local.INFO: IMEI packet received {"connection_id":50343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":50343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:04:27] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:04:27] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:04:27] local.INFO: IMEI packet received {"connection_id":50709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":50709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:04:28] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:04:28] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:04:28] local.INFO: IMEI packet received {"connection_id":50709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":50709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:04:31] local.INFO: TCP Data received {"connection_id":50343,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:04:31] local.INFO: Processing buffer {"connection_id":50343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:04:31] local.INFO: IMEI packet received {"connection_id":50343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":50343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:04:32] local.INFO: TCP Data received {"connection_id":50343,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:04:32] local.INFO: Processing buffer {"connection_id":50343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:04:32] local.INFO: Packet analysis {"connection_id":50343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:04:32] local.INFO: Extracted packet for processing {"connection_id":50343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:32] 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-22 15:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15: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-22 15:04: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-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:04: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-22 15: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-22 15: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-22 15:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":50343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:04:32] local.INFO: GPS data processed {"connection_id":50343,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:04:32] local.INFO: Acknowledgment sent {"connection_id":50343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:04:32] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:04:32] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:04:32] local.INFO: IMEI packet received {"connection_id":50709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":50709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:04:33] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db489a1e0012d187080072207e8005c01042c..."} 
[2026-04-22 15:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db489a1e0012d187080072207e8005c01042c..."} 
[2026-04-22 15:04:33] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db489a1e0012d187080072207e8005c01042c..."} 
[2026-04-22 15:04:33] local.INFO: Packet analysis {"connection_id":50709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:04:33] local.INFO: Extracted packet for processing {"connection_id":50709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756576384,"raw_latitude":119670760,"longitude_deg":75.6576384,"latitude_deg":11.967076,"altitude":92,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2d187080","hex_latitude":"072207e8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873705216001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915872858341376,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222425939968,"note":"Value kept but may cause issues"} 
[2026-04-22 15:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850412000,"timestamp_ms":1776850412000,"timestamp_seconds":1776850412,"priority":1,"record_length":96,"hex_timestamp":"0000019db489a1e0"} 
[2026-04-22 15: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-22 15:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 15:04:33] 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-22 15: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-22 15: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-22 15:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:04:33] 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-22 15:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873705216001,"66":14233,"105":206,"83":41984,"24":0,"16":113915872858341376,"45":1761048222425939968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873705216001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:04:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915872858341376,"km_value":113915872858341.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222425939968,"description":"Unknown IO ID 45"} 
[2026-04-22 15:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873705216001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761048222425939968}} 
[2026-04-22 15:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":50709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:04:33] local.INFO: GPS data processed {"connection_id":50709,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:04:33] local.INFO: Acknowledgment sent {"connection_id":50709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:05:04] local.INFO: TCP Data received {"connection_id":50343,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:05:04] local.INFO: Processing buffer {"connection_id":50343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:05:04] local.INFO: Packet analysis {"connection_id":50343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:05:04] local.INFO: Extracted packet for processing {"connection_id":50343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05: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-22 15:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:05: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-22 15:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:05:04] 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-22 15:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:05:04] 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-22 15:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":50343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:05:04] local.INFO: GPS data processed {"connection_id":50343,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:05:04] local.INFO: Acknowledgment sent {"connection_id":50343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:05:04] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db489bd38012d18708007220638005b00bd2b..."} 
[2026-04-22 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db489bd38012d18708007220638005b00bd2b..."} 
[2026-04-22 15:05:04] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db489bd38012d18708007220638005b00bd2b..."} 
[2026-04-22 15:05:04] local.INFO: Packet analysis {"connection_id":50709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:05:04] local.INFO: Extracted packet for processing {"connection_id":50709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756576384,"raw_latitude":119670328,"longitude_deg":75.6576384,"latitude_deg":11.9670328,"altitude":91,"angle":189,"satellites":43,"speed":5,"hex_longitude":"2d187080","hex_latitude":"07220638","is_valid_coordinates":true} 
[2026-04-22 15:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873705472001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915894333177856,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222425933824,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850419000,"timestamp_ms":1776850419000,"timestamp_seconds":1776850419,"priority":1,"record_length":96,"hex_timestamp":"0000019db489bd38"} 
[2026-04-22 15:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-22 15:05:04] 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-22 15:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:05:04] 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-22 15:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873705472001,"66":14157,"105":206,"83":41984,"24":5,"16":113915894333177856,"45":1761048222425933824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873705472001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:05:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915894333177856,"km_value":113915894333177.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222425933824,"description":"Unknown IO ID 45"} 
[2026-04-22 15:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873705472001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1761048222425933824}} 
[2026-04-22 15:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":50709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:05:04] local.INFO: GPS data processed {"connection_id":50709,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:05:04] local.INFO: Acknowledgment sent {"connection_id":50709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:05:26] local.INFO: TCP Data received {"connection_id":50595,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:05:26] local.INFO: Processing buffer {"connection_id":50595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:05:26] local.INFO: IMEI packet received {"connection_id":50595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":50595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:05:27] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:05:27] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:05:27] local.INFO: IMEI packet received {"connection_id":50596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:05:31] local.INFO: TCP Data received {"connection_id":50595,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:05:31] local.INFO: Processing buffer {"connection_id":50595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:05:31] local.INFO: IMEI packet received {"connection_id":50595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":50595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:05:32] local.INFO: TCP Data received {"connection_id":50595,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:05:32] local.INFO: Processing buffer {"connection_id":50595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:05:32] local.INFO: Packet analysis {"connection_id":50595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:05:32] local.INFO: Extracted packet for processing {"connection_id":50595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 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-22 15:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:32] 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-22 15:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 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-22 15:05: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:05: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-22 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-22 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-22 15:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:05:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":50595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:05:32] local.INFO: GPS data processed {"connection_id":50595,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:05:32] local.INFO: Acknowledgment sent {"connection_id":50595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:05:33] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:05:33] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:05:33] local.INFO: IMEI packet received {"connection_id":50596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":50596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:05:34] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db489d4a8012d18700007220178005b00cb2c..."} 
[2026-04-22 15:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db489d4a8012d18700007220178005b00cb2c..."} 
[2026-04-22 15:05:34] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db489d4a8012d18700007220178005b00cb2c..."} 
[2026-04-22 15:05:34] local.INFO: Packet analysis {"connection_id":50596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:05:34] local.INFO: Extracted packet for processing {"connection_id":50596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756576256,"raw_latitude":119669112,"longitude_deg":75.6576256,"latitude_deg":11.9669112,"altitude":91,"angle":203,"satellites":44,"speed":8,"hex_longitude":"2d187000","hex_latitude":"07220178","is_valid_coordinates":true} 
[2026-04-22 15:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873707264001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915954462720000,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222425823232,"note":"Value kept but may cause issues"} 
[2026-04-22 15:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776850425000,"timestamp_ms":1776850425000,"timestamp_seconds":1776850425,"priority":1,"record_length":96,"hex_timestamp":"0000019db489d4a8"} 
[2026-04-22 15:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 15:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:05:34] 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-22 15:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873707264001,"66":13319,"105":206,"83":41984,"24":8,"16":113915954462720000,"45":1761048222425823232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873707264001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:05:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915954462720000,"km_value":113915954462720,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222425823232,"description":"Unknown IO ID 45"} 
[2026-04-22 15:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873707264001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1761048222425823232}} 
[2026-04-22 15:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":50596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:05:34] local.INFO: GPS data processed {"connection_id":50596,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:05:34] local.INFO: Acknowledgment sent {"connection_id":50596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:06:03] local.INFO: TCP Data received {"connection_id":50595,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:06:03] local.INFO: Processing buffer {"connection_id":50595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:06:03] local.INFO: Packet analysis {"connection_id":50595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:03] local.INFO: Extracted packet for processing {"connection_id":50595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06: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-22 15:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:06: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-22 15:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:06:03] 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-22 15:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:06:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":50595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:06:03] local.INFO: GPS data processed {"connection_id":50595,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:06:03] local.INFO: Acknowledgment sent {"connection_id":50595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:06:05] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db489d890012d186f80072200d0005b00da2c..."} 
[2026-04-22 15:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db489d890012d186f80072200d0005b00da2c..."} 
[2026-04-22 15:06:05] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db489d890012d186f80072200d0005b00da2c..."} 
[2026-04-22 15:06:05] local.INFO: Packet analysis {"connection_id":50596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:05] local.INFO: Extracted packet for processing {"connection_id":50596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756576128,"raw_latitude":119668944,"longitude_deg":75.6576128,"latitude_deg":11.9668944,"altitude":91,"angle":218,"satellites":44,"speed":8,"hex_longitude":"2d186f80","hex_latitude":"072200d0","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873708800001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915963052654592,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760907484937156608,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776850426000,"timestamp_ms":1776850426000,"timestamp_seconds":1776850426,"priority":1,"record_length":96,"hex_timestamp":"0000019db489d890"} 
[2026-04-22 15: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-22 15:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3028912752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2308575233,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":34,"raw_value":695806507501955840,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3051290624,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":109,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.WARNING: Large IO value detected {"io_id":137,"raw_value":6034824793871745031,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,181,189,45,128,6,91,43,10,66,161,7,92,44,1,240,77,227,180,34,4,113,205,2,146,112,39,239,55,148,109,137],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:06:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6557464447290966016,"timestamp_seconds":6557464447290966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15: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-22 15:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873708800001,"66":12776,"105":206,"83":41984,"24":8,"16":113915963052654592,"45":1760907484937156608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873708800001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:06:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915963052654592,"km_value":113915963052654.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760907484937156608,"description":"Unknown IO ID 45"} 
[2026-04-22 15:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873708800001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1760907484937156608}} 
[2026-04-22 15:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":50596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:06:05] local.INFO: GPS data processed {"connection_id":50596,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:06:05] local.INFO: Acknowledgment sent {"connection_id":50596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:06:31] local.INFO: TCP Data received {"connection_id":51280,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:06:31] local.INFO: Processing buffer {"connection_id":51280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:06:31] local.INFO: IMEI packet received {"connection_id":51280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":51280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:06:32] local.INFO: TCP Data received {"connection_id":51281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:06:32] local.INFO: Processing buffer {"connection_id":51281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:06:32] local.INFO: IMEI packet received {"connection_id":51281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":51281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:06:36] local.INFO: TCP Data received {"connection_id":51280,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:06:36] local.INFO: Processing buffer {"connection_id":51280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:06:36] local.INFO: IMEI packet received {"connection_id":51280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":51280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:06:37] local.INFO: TCP Data received {"connection_id":51280,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:06:37] local.INFO: Processing buffer {"connection_id":51280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:06:37] local.INFO: Packet analysis {"connection_id":51280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:37] local.INFO: Extracted packet for processing {"connection_id":51280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:37] 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-22 15:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:06: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-22 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:06: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-22 15:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:06:37] 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-22 15:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":51280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:06:37] local.INFO: GPS data processed {"connection_id":51280,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:06:37] local.INFO: Acknowledgment sent {"connection_id":51280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:06:37] local.INFO: TCP Data received {"connection_id":51281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:06:37] local.INFO: Processing buffer {"connection_id":51281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:06:37] local.INFO: IMEI packet received {"connection_id":51281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":51281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:06:38] local.INFO: TCP Data received {"connection_id":51281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db489dc78012d186f0007220048005b00e92c..."} 
[2026-04-22 15:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db489dc78012d186f0007220048005b00e92c..."} 
[2026-04-22 15:06:38] local.INFO: Processing buffer {"connection_id":51281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db489dc78012d186f0007220048005b00e92c..."} 
[2026-04-22 15:06:38] local.INFO: Packet analysis {"connection_id":51281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:38] local.INFO: Extracted packet for processing {"connection_id":51281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756576000,"raw_latitude":119668808,"longitude_deg":75.6576,"latitude_deg":11.9668808,"altitude":91,"angle":233,"satellites":44,"speed":8,"hex_longitude":"2d186f00","hex_latitude":"07220048","is_valid_coordinates":true} 
[2026-04-22 15:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873709056001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113915971642589184,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760766747448758272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776850427000,"timestamp_ms":1776850427000,"timestamp_seconds":1776850427,"priority":1,"record_length":96,"hex_timestamp":"0000019db489dc78"} 
[2026-04-22 15:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:06:38] 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-22 15:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:06:38] 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-22 15:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873709056001,"66":12776,"105":206,"83":41984,"24":8,"16":113915971642589184,"45":1760766747448758272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873709056001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:06:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113915971642589184,"km_value":113915971642589.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760766747448758272,"description":"Unknown IO ID 45"} 
[2026-04-22 15:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873709056001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1760766747448758272}} 
[2026-04-22 15:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":51281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:06:38] local.INFO: GPS data processed {"connection_id":51281,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:06:38] local.INFO: Acknowledgment sent {"connection_id":51281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:06:39] local.INFO: TCP Data received {"connection_id":51281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db489e448012d186d000721ff48005a00f82b..."} 
[2026-04-22 15:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db489e448012d186d000721ff48005a00f82b..."} 
[2026-04-22 15:06:39] local.INFO: Processing buffer {"connection_id":51281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db489e448012d186d000721ff48005a00f82b..."} 
[2026-04-22 15:06:39] local.INFO: Packet analysis {"connection_id":51281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:39] local.INFO: Extracted packet for processing {"connection_id":51281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756575488,"raw_latitude":119668552,"longitude_deg":75.6575488,"latitude_deg":11.9668552,"altitude":90,"angle":248,"satellites":43,"speed":13,"hex_longitude":"2d186d00","hex_latitude":"0721ff48","is_valid_coordinates":true} 
[2026-04-22 15:06: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-22 15:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873709312001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113916001707360256,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760626009960368128,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776850429000,"timestamp_ms":1776850429000,"timestamp_seconds":1776850429,"priority":1,"record_length":96,"hex_timestamp":"0000019db489e448"} 
[2026-04-22 15:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:06:39] 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-22 15:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:06:39] 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-22 15:06: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-22 15:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:06:39] 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-22 15:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873709312001,"66":11961,"105":206,"83":41984,"24":13,"16":113916001707360256,"45":1760626009960368128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873709312001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:06:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113916001707360256,"km_value":113916001707360.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760626009960368128,"description":"Unknown IO ID 45"} 
[2026-04-22 15:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873709312001,"power":11961,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1760626009960368128}} 
[2026-04-22 15:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":51281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:06:40] local.INFO: GPS data processed {"connection_id":51281,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:06:40] local.INFO: Acknowledgment sent {"connection_id":51281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:06:41] local.INFO: TCP Data received {"connection_id":51280,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:06:41] local.INFO: Processing buffer {"connection_id":51280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:06:41] local.INFO: Packet analysis {"connection_id":51280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:41] local.INFO: Extracted packet for processing {"connection_id":51280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:06:41] 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-22 15:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:06:41] 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-22 15:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:06:41] 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-22 15:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:06:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":51280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:06:41] local.INFO: GPS data processed {"connection_id":51280,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:06:41] local.INFO: Acknowledgment sent {"connection_id":51280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:07:10] local.INFO: TCP Data received {"connection_id":51281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48a2e80012d1852800721f5a8005500ed28..."} 
[2026-04-22 15:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48a2e80012d1852800721f5a8005500ed28..."} 
[2026-04-22 15:07:10] local.INFO: Processing buffer {"connection_id":51281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48a2e80012d1852800721f5a8005500ed28..."} 
[2026-04-22 15:07:10] local.INFO: Packet analysis {"connection_id":51281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:07:10] local.INFO: Extracted packet for processing {"connection_id":51281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756568704,"raw_latitude":119666088,"longitude_deg":75.6568704,"latitude_deg":11.9666088,"altitude":85,"angle":237,"satellites":40,"speed":19,"hex_longitude":"2d185280","hex_latitude":"0721f5a8","is_valid_coordinates":true} 
[2026-04-22 15:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873709824001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113916345304743936,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760063060006881280,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776850448000,"timestamp_ms":1776850448000,"timestamp_seconds":1776850448,"priority":1,"record_length":96,"hex_timestamp":"0000019db48a2e80"} 
[2026-04-22 15:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 15:07:10] 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-22 15: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-22 15:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":51281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":51281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":51281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873709824001,"66":12841,"105":206,"83":41984,"24":19,"16":113916345304743936,"45":1760063060006881280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873709824001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:07:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113916345304743936,"km_value":113916345304743.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760063060006881280,"description":"Unknown IO ID 45"} 
[2026-04-22 15:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873709824001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1760063060006881280}} 
[2026-04-22 15:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":51281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:07:10] local.INFO: GPS data processed {"connection_id":51281,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:07:10] local.INFO: Acknowledgment sent {"connection_id":51281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:07:26] local.INFO: TCP Data received {"connection_id":50344,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:07:26] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:07:26] local.INFO: IMEI packet received {"connection_id":50344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":50344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:07:27] local.INFO: TCP Data received {"connection_id":51282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:07:27] local.INFO: Processing buffer {"connection_id":51282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:07:27] local.INFO: IMEI packet received {"connection_id":51282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":51282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:07:32] local.INFO: TCP Data received {"connection_id":51282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:07:32] local.INFO: Processing buffer {"connection_id":51282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:07:32] local.INFO: IMEI packet received {"connection_id":51282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":51282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:07:33] local.INFO: TCP Data received {"connection_id":51282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48a3650012d184f400721f2b8005400dc29..."} 
[2026-04-22 15:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48a3650012d184f400721f2b8005400dc29..."} 
[2026-04-22 15:07:33] local.INFO: Processing buffer {"connection_id":51282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48a3650012d184f400721f2b8005400dc29..."} 
[2026-04-22 15:07:33] local.INFO: Packet analysis {"connection_id":51282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:07:33] local.INFO: Extracted packet for processing {"connection_id":51282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756567872,"raw_latitude":119665336,"longitude_deg":75.6567872,"latitude_deg":11.9665336,"altitude":84,"angle":220,"satellites":41,"speed":24,"hex_longitude":"2d184f40","hex_latitude":"0721f2b8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873714688001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113916396844351488,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752603973123418112,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850450000,"timestamp_ms":1776850450000,"timestamp_seconds":1776850450,"priority":1,"record_length":96,"hex_timestamp":"0000019db48a3650"} 
[2026-04-22 15: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-22 15:07: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-22 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 15:07:33] 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-22 15: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-22 15: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-22 15:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:07:33] 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-22 15:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873714688001,"66":12798,"105":206,"83":41984,"24":24,"16":113916396844351488,"45":1752603973123418112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873714688001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:07:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113916396844351488,"km_value":113916396844351.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752603973123418112,"description":"Unknown IO ID 45"} 
[2026-04-22 15:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873714688001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1752603973123418112}} 
[2026-04-22 15:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":51282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:07:33] local.INFO: GPS data processed {"connection_id":51282,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:07:33] local.INFO: Acknowledgment sent {"connection_id":51282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:07:35] local.INFO: TCP Data received {"connection_id":50344,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:07:35] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:07:35] local.INFO: IMEI packet received {"connection_id":50344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":50344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:07:36] local.INFO: TCP Data received {"connection_id":50344,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:07:36] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:07:36] local.INFO: Packet analysis {"connection_id":50344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:07:36] local.INFO: Extracted packet for processing {"connection_id":50344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07: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-22 15:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15: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-22 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:07:36] 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-22 15: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-22 15: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-22 15:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":50344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:07:36] local.INFO: GPS data processed {"connection_id":50344,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:07:36] local.INFO: Acknowledgment sent {"connection_id":50344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:07:36] local.INFO: TCP Data received {"connection_id":50344,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:07:36] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:07:36] local.INFO: Packet analysis {"connection_id":50344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:07:36] local.INFO: Extracted packet for processing {"connection_id":50344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:07: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-22 15:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15: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-22 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:07:36] 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-22 15: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-22 15: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-22 15:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":50344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:07:36] local.INFO: GPS data processed {"connection_id":50344,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:07:36] local.INFO: Acknowledgment sent {"connection_id":50344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:08:04] local.INFO: TCP Data received {"connection_id":51282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48a5d60012d183a800721d530004f00d82a..."} 
[2026-04-22 15:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48a5d60012d183a800721d530004f00d82a..."} 
[2026-04-22 15:08:04] local.INFO: Processing buffer {"connection_id":51282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48a5d60012d183a800721d530004f00d82a..."} 
[2026-04-22 15:08:04] local.INFO: Packet analysis {"connection_id":51282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:08:04] local.INFO: Extracted packet for processing {"connection_id":51282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756562560,"raw_latitude":119657776,"longitude_deg":75.656256,"latitude_deg":11.9657776,"altitude":79,"angle":216,"satellites":42,"speed":40,"hex_longitude":"2d183a80","hex_latitude":"0721d530","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873715200001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113916843520950272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751689179448915968,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850460000,"timestamp_ms":1776850460000,"timestamp_seconds":1776850460,"priority":1,"record_length":96,"hex_timestamp":"0000019db48a5d60"} 
[2026-04-22 15:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 15:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:08:04] 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-22 15:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873715200001,"66":12776,"105":206,"83":41984,"24":40,"16":113916843520950272,"45":1751689179448915968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873715200001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:08:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113916843520950272,"km_value":113916843520950.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751689179448915968,"description":"Unknown IO ID 45"} 
[2026-04-22 15:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873715200001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1751689179448915968}} 
[2026-04-22 15:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":51282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:08:04] local.INFO: GPS data processed {"connection_id":51282,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:08:04] local.INFO: Acknowledgment sent {"connection_id":51282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:08:10] local.INFO: TCP Data received {"connection_id":50344,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:08:10] local.INFO: Processing buffer {"connection_id":50344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:08:10] local.INFO: Packet analysis {"connection_id":50344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:08:10] local.INFO: Extracted packet for processing {"connection_id":50344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:10] 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-22 15:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15: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-22 15:08: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-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:08: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-22 15: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-22 15: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-22 15:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":50344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:08:10] local.INFO: GPS data processed {"connection_id":50344,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:08:10] local.INFO: Acknowledgment sent {"connection_id":50344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:08:16] local.INFO: TCP Data received {"connection_id":50710,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:08:16] local.INFO: Processing buffer {"connection_id":50710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:08:16] local.INFO: IMEI packet received {"connection_id":50710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":50710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:08:24] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:08:24] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:08:24] local.INFO: IMEI packet received {"connection_id":50711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":50711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:08:26] local.INFO: TCP Data received {"connection_id":50598,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:08:26] local.INFO: Processing buffer {"connection_id":50598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:08:26] local.INFO: IMEI packet received {"connection_id":50598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":50598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:08:27] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:08:27] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:08:27] local.INFO: IMEI packet received {"connection_id":50711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":50711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:08:31] local.INFO: TCP Data received {"connection_id":50598,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:08:31] local.INFO: Processing buffer {"connection_id":50598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:08:31] local.INFO: IMEI packet received {"connection_id":50598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":50598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:08:32] local.INFO: TCP Data received {"connection_id":50598,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:08:32] local.INFO: Processing buffer {"connection_id":50598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48976e8012d7f864005afda20001e013328..."} 
[2026-04-22 15:08:32] local.INFO: Packet analysis {"connection_id":50598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:08:32] local.INFO: Extracted packet for processing {"connection_id":50598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db489"} 
[2026-04-22 15:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":30,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873625600001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:32] 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-22 15:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776850401000,"timestamp_ms":1776850401000,"timestamp_seconds":1776850401,"priority":1,"record_length":96,"hex_timestamp":"0000019db48976e8"} 
[2026-04-22 15: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-22 15:08: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-22 15: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-22 15: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-22 15: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-22 15: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-22 15:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:08:32] 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-22 15:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873625600001,"66":25343,"28":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 15:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873625600001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:08:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 15:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873625600001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":50598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:08:32] local.INFO: GPS data processed {"connection_id":50598,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:08:32] local.INFO: Acknowledgment sent {"connection_id":50598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:08:32] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:08:32] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:08:32] local.INFO: IMEI packet received {"connection_id":50711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:08:33] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48a9fc8012d1825000721b980004c00d129..."} 
[2026-04-22 15:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48a9fc8012d1825000721b980004c00d129..."} 
[2026-04-22 15:08:33] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48a9fc8012d1825000721b980004c00d129..."} 
[2026-04-22 15:08:33] local.INFO: Packet analysis {"connection_id":50711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:08:33] local.INFO: Extracted packet for processing {"connection_id":50711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650688,"longitude_deg":75.6557056,"latitude_deg":11.9650688,"altitude":76,"angle":209,"satellites":41,"speed":9,"hex_longitude":"2d182500","hex_latitude":"0721b980","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873717760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917273017679872,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745848573680234496,"note":"Value kept but may cause issues"} 
[2026-04-22 15:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850477000,"timestamp_ms":1776850477000,"timestamp_seconds":1776850477,"priority":1,"record_length":96,"hex_timestamp":"0000019db48a9fc8"} 
[2026-04-22 15: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-22 15:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:08:33] 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-22 15: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-22 15: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-22 15:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:08:33] 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-22 15:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873717760001,"66":12798,"105":206,"83":41984,"24":9,"16":113917273017679872,"45":1745848573680234496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873717760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:08:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917273017679872,"km_value":113917273017679.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745848573680234496,"description":"Unknown IO ID 45"} 
[2026-04-22 15:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873717760001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1745848573680234496}} 
[2026-04-22 15:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":50711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:08:33] local.INFO: GPS data processed {"connection_id":50711,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:08:33] local.INFO: Acknowledgment sent {"connection_id":50711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:08:50] local.INFO: TCP Data received {"connection_id":50599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:08:50] local.INFO: Processing buffer {"connection_id":50599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:08:50] local.INFO: IMEI packet received {"connection_id":50599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":50599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:09:04] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48af1d0012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48af1d0012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:09:04] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48af1d0012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:09:04] local.INFO: Packet analysis {"connection_id":50711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:09:04] local.INFO: Extracted packet for processing {"connection_id":50711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48a"} 
[2026-04-22 15:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-04-22 15:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873722112001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917337442189312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679140864,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850498000,"timestamp_ms":1776850498000,"timestamp_seconds":1776850498,"priority":1,"record_length":96,"hex_timestamp":"0000019db48af1d0"} 
[2026-04-22 15:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 15:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:09:04] 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-22 15:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873722112001,"66":12809,"105":206,"83":41984,"24":0,"16":113917337442189312,"45":1739796861679140864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873722112001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:09:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917337442189312,"km_value":113917337442189.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679140864,"description":"Unknown IO ID 45"} 
[2026-04-22 15:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873722112001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679140864}} 
[2026-04-22 15:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":50711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:09:04] local.INFO: GPS data processed {"connection_id":50711,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:09:04] local.INFO: Acknowledgment sent {"connection_id":50711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:09:07] local.INFO: TCP Data received {"connection_id":50598,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:09:07] local.INFO: Processing buffer {"connection_id":50598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:09:07] local.INFO: Packet analysis {"connection_id":50598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:09:07] local.INFO: Extracted packet for processing {"connection_id":50598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:07] 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-22 15:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15: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-22 15:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:09:07] 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-22 15:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 15:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:09:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":50598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:09:07] local.INFO: GPS data processed {"connection_id":50598,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:09:07] local.INFO: Acknowledgment sent {"connection_id":50598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:09:28] local.INFO: TCP Data received {"connection_id":50600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:09:28] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:09:28] local.INFO: IMEI packet received {"connection_id":50600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":50600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:09:28] local.INFO: TCP Data received {"connection_id":50600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:09:28] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:09:28] local.INFO: IMEI packet received {"connection_id":50600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":50600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:09:31] local.INFO: TCP Data received {"connection_id":50712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:09:31] local.INFO: Processing buffer {"connection_id":50712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:09:31] local.INFO: IMEI packet received {"connection_id":50712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":50712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:09:32] local.INFO: TCP Data received {"connection_id":50600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:09:32] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:09:32] local.INFO: IMEI packet received {"connection_id":50600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:09:33] local.INFO: TCP Data received {"connection_id":50600,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48b43d8012d1822c00721b538004b00d22c..."} 
[2026-04-22 15:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48b43d8012d1822c00721b538004b00d22c..."} 
[2026-04-22 15:09:33] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48b43d8012d1822c00721b538004b00d22c..."} 
[2026-04-22 15:09:33] local.INFO: Packet analysis {"connection_id":50600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48b"} 
[2026-04-22 15:09:33] local.INFO: Extracted packet for processing {"connection_id":50600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48b"} 
[2026-04-22 15:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873727488001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917337442189312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850519000,"timestamp_ms":1776850519000,"timestamp_seconds":1776850519,"priority":1,"record_length":96,"hex_timestamp":"0000019db48b43d8"} 
[2026-04-22 15: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-22 15:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3028933752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-8513896760817979520,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4121428053,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2450186897234909740,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156399998382509,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:33] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,105,83,24,241,157,16,183,159,45,185,76,41,10,66,93,128,213,79,42,182,54,64,1,240,254,227,180,33,4,113,205,19,228,109,72,43,239,46,2,148,7,91,8,49,164,249],"length":535,"final_offset":665,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:09:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404550634970021888,"timestamp_seconds":5404550634970022.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15: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-22 15:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:09:33] 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-22 15:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873727488001,"66":12798,"105":206,"83":41984,"24":0,"16":113917337442189312,"45":1739163542981261312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873727488001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:09:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917337442189312,"km_value":113917337442189.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-04-22 15:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873727488001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-04-22 15:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":50600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:09:33] local.INFO: GPS data processed {"connection_id":50600,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:09:33] local.INFO: Acknowledgment sent {"connection_id":50600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:09:37] local.INFO: TCP Data received {"connection_id":50712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:09:37] local.INFO: Processing buffer {"connection_id":50712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:09:37] local.INFO: IMEI packet received {"connection_id":50712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":50712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:09:47] local.INFO: TCP Data received {"connection_id":50712,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:09:47] local.INFO: Processing buffer {"connection_id":50712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:09:47] local.INFO: Packet analysis {"connection_id":50712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:09:47] local.INFO: Extracted packet for processing {"connection_id":50712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:09:47] 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-22 15:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:09:47] 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-22 15:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 15:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:09:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:09:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":50712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:09:47] local.INFO: GPS data processed {"connection_id":50712,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:09:47] local.INFO: Acknowledgment sent {"connection_id":50712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:10:04] local.INFO: TCP Data received {"connection_id":50600,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48b95e0012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48b95e0012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:10:04] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48b95e0012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:10:04] local.INFO: Packet analysis {"connection_id":50600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48b"} 
[2026-04-22 15:10:04] local.INFO: Extracted packet for processing {"connection_id":50600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48b"} 
[2026-04-22 15:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873732864001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917337442189312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850540000,"timestamp_ms":1776850540000,"timestamp_seconds":1776850540,"priority":1,"record_length":96,"hex_timestamp":"0000019db48b95e0"} 
[2026-04-22 15: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-22 15:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 15:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:10:04] 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-22 15:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873732864001,"66":12776,"105":206,"83":41984,"24":0,"16":113917337442189312,"45":1739163542981261312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873732864001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:10:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917337442189312,"km_value":113917337442189.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-04-22 15:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873732864001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-04-22 15:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":50600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:10:04] local.INFO: GPS data processed {"connection_id":50600,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:10:04] local.INFO: Acknowledgment sent {"connection_id":50600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:10:26] local.INFO: TCP Data received {"connection_id":51283,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:10:26] local.INFO: Processing buffer {"connection_id":51283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:10:26] local.INFO: IMEI packet received {"connection_id":51283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":51283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:10:28] local.INFO: TCP Data received {"connection_id":51284,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:10:28] local.INFO: Processing buffer {"connection_id":51284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:10:28] local.INFO: IMEI packet received {"connection_id":51284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":51284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:10:30] local.INFO: TCP Data received {"connection_id":51284,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:10:30] local.INFO: Processing buffer {"connection_id":51284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:10:30] local.INFO: IMEI packet received {"connection_id":51284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":51284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:10:31] local.INFO: TCP Data received {"connection_id":51283,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:10:31] local.INFO: Processing buffer {"connection_id":51283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:10:31] local.INFO: IMEI packet received {"connection_id":51283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":51283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:10:32] local.INFO: TCP Data received {"connection_id":51284,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:10:32] local.INFO: Processing buffer {"connection_id":51284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:10:32] local.INFO: IMEI packet received {"connection_id":51284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":51284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:10:33] local.INFO: TCP Data received {"connection_id":51284,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48be7e8012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48be7e8012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:10:33] local.INFO: Processing buffer {"connection_id":51284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48be7e8012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:10:33] local.INFO: Packet analysis {"connection_id":51284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48b"} 
[2026-04-22 15:10:33] local.INFO: Extracted packet for processing {"connection_id":51284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48b"} 
[2026-04-22 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873738240001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917337442189312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850561000,"timestamp_ms":1776850561000,"timestamp_seconds":1776850561,"priority":1,"record_length":96,"hex_timestamp":"0000019db48be7e8"} 
[2026-04-22 15: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-22 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:10:33] 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-22 15: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-22 15: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-22 15:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:10:33] 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-22 15:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873738240001,"66":12722,"105":206,"83":41984,"24":0,"16":113917337442189312,"45":1739163542981261312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873738240001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:10:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917337442189312,"km_value":113917337442189.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-04-22 15:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873738240001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-04-22 15:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":51284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:10:33] local.INFO: GPS data processed {"connection_id":51284,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:10:33] local.INFO: Acknowledgment sent {"connection_id":51284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:10:33] local.INFO: TCP Data received {"connection_id":51283,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:10:33] local.INFO: Processing buffer {"connection_id":51283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:10:33] local.INFO: Packet analysis {"connection_id":51283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:10:33] local.INFO: Extracted packet for processing {"connection_id":51283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:33] 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-22 15:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15: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-22 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15: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-22 15: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-22 15: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-22 15:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 15:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:10:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":51283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:10:33] local.INFO: GPS data processed {"connection_id":51283,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:10:33] local.INFO: Acknowledgment sent {"connection_id":51283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:10:38] local.INFO: TCP Data received {"connection_id":51284,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48c39f0012d1822c00721b538004b00d22c..."} 
[2026-04-22 15:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48c39f0012d1822c00721b538004b00d22c..."} 
[2026-04-22 15:10:38] local.INFO: Processing buffer {"connection_id":51284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48c39f0012d1822c00721b538004b00d22c..."} 
[2026-04-22 15:10:38] local.INFO: Packet analysis {"connection_id":51284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48c"} 
[2026-04-22 15:10:38] local.INFO: Extracted packet for processing {"connection_id":51284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48c"} 
[2026-04-22 15:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-04-22 15:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873743616001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917337442189312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776850582000,"timestamp_ms":1776850582000,"timestamp_seconds":1776850582,"priority":1,"record_length":96,"hex_timestamp":"0000019db48c39f0"} 
[2026-04-22 15:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 15:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:10:38] 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-22 15:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873743616001,"66":13406,"105":206,"83":41984,"24":0,"16":113917337442189312,"45":1739163542981261312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873743616001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:10:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917337442189312,"km_value":113917337442189.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-04-22 15:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873743616001,"power":13406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-04-22 15:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":51284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:10:38] local.INFO: GPS data processed {"connection_id":51284,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:10:38] local.INFO: Acknowledgment sent {"connection_id":51284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:11:05] local.INFO: TCP Data received {"connection_id":51283,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:11:05] local.INFO: Processing buffer {"connection_id":51283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:11:05] local.INFO: Packet analysis {"connection_id":51283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:11:05] local.INFO: Extracted packet for processing {"connection_id":51283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:05] 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-22 15:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15: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-22 15:11: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-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:11: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-22 15: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-22 15: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-22 15:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:11:05] 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-22 15:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 15:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:11:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":51283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:11:05] local.INFO: GPS data processed {"connection_id":51283,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:11:05] local.INFO: Acknowledgment sent {"connection_id":51283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:11:09] local.INFO: TCP Data received {"connection_id":51284,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48c8bf8012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48c8bf8012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:11:09] local.INFO: Processing buffer {"connection_id":51284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48c8bf8012d1822c00721b538004b00d22b..."} 
[2026-04-22 15:11:09] local.INFO: Packet analysis {"connection_id":51284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48c"} 
[2026-04-22 15:11:09] local.INFO: Extracted packet for processing {"connection_id":51284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48c"} 
[2026-04-22 15:11:09] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649592,"longitude_deg":75.655648,"latitude_deg":11.9649592,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873748992001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917337442189312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776850603000,"timestamp_ms":1776850603000,"timestamp_seconds":1776850603,"priority":1,"record_length":96,"hex_timestamp":"0000019db48c8bf8"} 
[2026-04-22 15: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-22 15:11:09] 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-22 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-22 15:11:09] 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-22 15: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-22 15: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-22 15:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:11:09] 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-22 15:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873748992001,"66":12885,"105":206,"83":41984,"24":0,"16":113917337442189312,"45":1739163542981261312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873748992001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:11:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917337442189312,"km_value":113917337442189.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-04-22 15:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873748992001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-04-22 15:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":51284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:11:09] local.INFO: GPS data processed {"connection_id":51284,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:11:09] local.INFO: Acknowledgment sent {"connection_id":51284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:11:27] local.INFO: TCP Data received {"connection_id":51285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:11:27] local.INFO: Processing buffer {"connection_id":51285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:11:27] local.INFO: IMEI packet received {"connection_id":51285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":51285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:11:31] local.INFO: TCP Data received {"connection_id":50347,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:11:31] local.INFO: Processing buffer {"connection_id":50347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:11:31] local.INFO: IMEI packet received {"connection_id":50347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":50347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:11:33] local.INFO: TCP Data received {"connection_id":51285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:11:33] local.INFO: Processing buffer {"connection_id":51285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:11:33] local.INFO: IMEI packet received {"connection_id":51285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":51285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:11:34] local.INFO: TCP Data received {"connection_id":51285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48cde00012d1821400721b4b8004e00d22c..."} 
[2026-04-22 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48cde00012d1821400721b4b8004e00d22c..."} 
[2026-04-22 15:11:34] local.INFO: Processing buffer {"connection_id":51285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48cde00012d1821400721b4b8004e00d22c..."} 
[2026-04-22 15:11:34] local.INFO: Packet analysis {"connection_id":51285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48c"} 
[2026-04-22 15:11:34] local.INFO: Extracted packet for processing {"connection_id":51285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48c"} 
[2026-04-22 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649464,"longitude_deg":75.6556096,"latitude_deg":11.9649464,"altitude":78,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b4b8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873754368001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917367506960384,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981261312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776850624000,"timestamp_ms":1776850624000,"timestamp_seconds":1776850624,"priority":1,"record_length":96,"hex_timestamp":"0000019db48cde00"} 
[2026-04-22 15: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-22 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 15:11:34] 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-22 15: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-22 15: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-22 15:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:11:34] 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-22 15:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873754368001,"66":12863,"105":206,"83":41984,"24":0,"16":113917367506960384,"45":1739163542981261312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873754368001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:11:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917367506960384,"km_value":113917367506960.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981261312,"description":"Unknown IO ID 45"} 
[2026-04-22 15:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873754368001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981261312}} 
[2026-04-22 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":51285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:11:34] local.INFO: GPS data processed {"connection_id":51285,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:11:34] local.INFO: Acknowledgment sent {"connection_id":51285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:11:36] local.INFO: TCP Data received {"connection_id":50347,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:11:36] local.INFO: Processing buffer {"connection_id":50347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:11:36] local.INFO: IMEI packet received {"connection_id":50347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":50347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:11:39] local.INFO: TCP Data received {"connection_id":50347,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:11:39] local.INFO: Processing buffer {"connection_id":50347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:11:39] local.INFO: Packet analysis {"connection_id":50347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:11:39] local.INFO: Extracted packet for processing {"connection_id":50347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:39] 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-22 15:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15: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-22 15:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:11:39] 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-22 15:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 15:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:11:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":50347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:11:39] local.INFO: GPS data processed {"connection_id":50347,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:11:39] local.INFO: Acknowledgment sent {"connection_id":50347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:11:44] local.INFO: TCP Data received {"connection_id":50347,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:11:44] local.INFO: Processing buffer {"connection_id":50347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:11:44] local.INFO: Packet analysis {"connection_id":50347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:11:44] local.INFO: Extracted packet for processing {"connection_id":50347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:11:44] 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-22 15:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15: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-22 15:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:11:44] 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-22 15: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-22 15: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-22 15:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:11:44] 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-22 15:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 15:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:11:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":50347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:11:44] local.INFO: GPS data processed {"connection_id":50347,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:11:44] local.INFO: Acknowledgment sent {"connection_id":50347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:12:05] local.INFO: TCP Data received {"connection_id":51285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48d3008012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48d3008012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:12:05] local.INFO: Processing buffer {"connection_id":51285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48d3008012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:12:05] local.INFO: Packet analysis {"connection_id":51285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48d"} 
[2026-04-22 15:12:05] local.INFO: Extracted packet for processing {"connection_id":51285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48d"} 
[2026-04-22 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 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-22 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873759744001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516162560,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776850645000,"timestamp_ms":1776850645000,"timestamp_seconds":1776850645,"priority":1,"record_length":96,"hex_timestamp":"0000019db48d3008"} 
[2026-04-22 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-22 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 15:12:05] 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-22 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-22 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-22 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873759744001,"66":12809,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738741330516162560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873759744001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:12:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516162560,"description":"Unknown IO ID 45"} 
[2026-04-22 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873759744001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516162560}} 
[2026-04-22 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":51285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:12:05] local.INFO: GPS data processed {"connection_id":51285,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:12:05] local.INFO: Acknowledgment sent {"connection_id":51285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:12:26] local.INFO: TCP Data received {"connection_id":51286,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:12:26] local.INFO: Processing buffer {"connection_id":51286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:12:26] local.INFO: IMEI packet received {"connection_id":51286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":51286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:12:27] local.INFO: TCP Data received {"connection_id":50348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:12:27] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:12:27] local.INFO: IMEI packet received {"connection_id":50348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":50348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:12:31] local.INFO: TCP Data received {"connection_id":51286,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:12:31] local.INFO: Processing buffer {"connection_id":51286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:12:31] local.INFO: IMEI packet received {"connection_id":51286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":51286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:12:32] local.INFO: TCP Data received {"connection_id":51286,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:12:32] local.INFO: Processing buffer {"connection_id":51286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:12:32] local.INFO: Packet analysis {"connection_id":51286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:12:32] local.INFO: Extracted packet for processing {"connection_id":51286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12: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-22 15:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:12: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-22 15:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:12: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-22 15:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:12: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-22 15:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:12:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":51286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:12:32] local.INFO: GPS data processed {"connection_id":51286,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:12:32] local.INFO: Acknowledgment sent {"connection_id":51286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:12:33] local.INFO: TCP Data received {"connection_id":50348,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:12:33] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:12:33] local.INFO: IMEI packet received {"connection_id":50348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":50348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:12:34] local.INFO: TCP Data received {"connection_id":50348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db48d8210012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48d8210012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:12:34] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48d8210012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:12:34] local.INFO: Packet analysis {"connection_id":50348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48d"} 
[2026-04-22 15:12:34] local.INFO: Extracted packet for processing {"connection_id":50348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48d"} 
[2026-04-22 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873765120001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776850666000,"timestamp_ms":1776850666000,"timestamp_seconds":1776850666,"priority":1,"record_length":96,"hex_timestamp":"0000019db48d8210"} 
[2026-04-22 15: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-22 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3029025752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-8434731923618127168,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3040346187,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692853,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-143889331163967917,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3073835008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428909147945751083,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 15:12:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,183,222,45,64,180,78,44,10,66,139,192,181,75,43,57,1,240,94,227,33,4,113,205,149,34,56,239,49,2,148,7,164,55],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:12:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620723412788838400,"timestamp_seconds":5620723412788838.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15: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-22 15:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:12:34] 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-22 15:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873765120001,"66":12798,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873765120001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:12:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873765120001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":50348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:12:34] local.INFO: GPS data processed {"connection_id":50348,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:12:34] local.INFO: Acknowledgment sent {"connection_id":50348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:13:03] local.INFO: TCP Data received {"connection_id":51286,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:13:03] local.INFO: Processing buffer {"connection_id":51286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:13:03] local.INFO: Packet analysis {"connection_id":51286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:13:03] local.INFO: Extracted packet for processing {"connection_id":51286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13: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-22 15:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15: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-22 15:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:13: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-22 15: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-22 15: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-22 15:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:13: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-22 15:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:13:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":51286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:13:03] local.INFO: GPS data processed {"connection_id":51286,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:13:03] local.INFO: Acknowledgment sent {"connection_id":51286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:13:05] local.INFO: TCP Data received {"connection_id":50348,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4910868012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4910868012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:13:05] local.INFO: Processing buffer {"connection_id":50348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4910868012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:13:05] local.INFO: Packet analysis {"connection_id":50348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db491"} 
[2026-04-22 15:13:05] local.INFO: Extracted packet for processing {"connection_id":50348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db491"} 
[2026-04-22 15:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873824256001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776850897000,"timestamp_ms":1776850897000,"timestamp_seconds":1776850897,"priority":1,"record_length":96,"hex_timestamp":"0000019db4910868"} 
[2026-04-22 15: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-22 15:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-22 15:13:05] 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-22 15: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-22 15: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-22 15:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873824256001,"66":12591,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873824256001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:13:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873824256001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":50348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:13:05] local.INFO: GPS data processed {"connection_id":50348,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:13:05] local.INFO: Acknowledgment sent {"connection_id":50348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:13:26] local.INFO: TCP Data received {"connection_id":51287,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:13:26] local.INFO: Processing buffer {"connection_id":51287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:13:26] local.INFO: IMEI packet received {"connection_id":51287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":51287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:13:27] local.INFO: TCP Data received {"connection_id":51288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:13:27] local.INFO: Processing buffer {"connection_id":51288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:13:27] local.INFO: IMEI packet received {"connection_id":51288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":51288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:13:33] local.INFO: TCP Data received {"connection_id":51288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:13:33] local.INFO: Processing buffer {"connection_id":51288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:13:33] local.INFO: IMEI packet received {"connection_id":51288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":51288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:13:33] local.INFO: TCP Data received {"connection_id":51288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4915a70012d1821000721b3d8004e00d229..."} 
[2026-04-22 15:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4915a70012d1821000721b3d8004e00d229..."} 
[2026-04-22 15:13:33] local.INFO: Processing buffer {"connection_id":51288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4915a70012d1821000721b3d8004e00d229..."} 
[2026-04-22 15:13:33] local.INFO: Packet analysis {"connection_id":51288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db491"} 
[2026-04-22 15:13:33] local.INFO: Extracted packet for processing {"connection_id":51288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db491"} 
[2026-04-22 15:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873829632001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850918000,"timestamp_ms":1776850918000,"timestamp_seconds":1776850918,"priority":1,"record_length":96,"hex_timestamp":"0000019db4915a70"} 
[2026-04-22 15: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-22 15:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 15:13:33] 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-22 15: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-22 15: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-22 15:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:13:33] 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-22 15:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873829632001,"66":12613,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873829632001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:13:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873829632001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":51288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:13:33] local.INFO: GPS data processed {"connection_id":51288,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:13:33] local.INFO: Acknowledgment sent {"connection_id":51288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:13:33] local.INFO: TCP Data received {"connection_id":51287,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:13:33] local.INFO: Processing buffer {"connection_id":51287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:13:33] local.INFO: IMEI packet received {"connection_id":51287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":51287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:13:34] local.INFO: TCP Data received {"connection_id":51287,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:13:34] local.INFO: Processing buffer {"connection_id":51287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:13:34] local.INFO: Packet analysis {"connection_id":51287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:13:34] local.INFO: Extracted packet for processing {"connection_id":51287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13: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-22 15:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:13: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-22 15:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:13: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-22 15:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:13:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":51287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:13:35] local.INFO: GPS data processed {"connection_id":51287,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:13:35] local.INFO: Acknowledgment sent {"connection_id":51287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:13:36] local.INFO: TCP Data received {"connection_id":51287,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:13:36] local.INFO: Processing buffer {"connection_id":51287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db48e0eb0012d7f864005afda200019013328..."} 
[2026-04-22 15:13:36] local.INFO: Packet analysis {"connection_id":51287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:13:36] local.INFO: Extracted packet for processing {"connection_id":51287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db48e"} 
[2026-04-22 15:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":25,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873702656001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:13: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-22 15:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776850702000,"timestamp_ms":1776850702000,"timestamp_seconds":1776850702,"priority":1,"record_length":96,"hex_timestamp":"0000019db48e0eb0"} 
[2026-04-22 15: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-22 15:13: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-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:13:36] 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-22 15: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-22 15: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-22 15:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:13:36] 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-22 15:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873702656001,"66":25343,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873702656001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:13:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873702656001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":51287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:13:36] local.INFO: GPS data processed {"connection_id":51287,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:13:36] local.INFO: Acknowledgment sent {"connection_id":51287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:14:04] local.INFO: TCP Data received {"connection_id":51288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db491ac78012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db491ac78012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:14:04] local.INFO: Processing buffer {"connection_id":51288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db491ac78012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:14:04] local.INFO: Packet analysis {"connection_id":51288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db491"} 
[2026-04-22 15:14:04] local.INFO: Extracted packet for processing {"connection_id":51288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db491"} 
[2026-04-22 15:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873835008001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850939000,"timestamp_ms":1776850939000,"timestamp_seconds":1776850939,"priority":1,"record_length":96,"hex_timestamp":"0000019db491ac78"} 
[2026-04-22 15: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-22 15:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-22 15:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:14:04] 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-22 15:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873835008001,"66":12613,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873835008001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:14:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873835008001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":51288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:14:05] local.INFO: GPS data processed {"connection_id":51288,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:14:05] local.INFO: Acknowledgment sent {"connection_id":51288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:14:06] local.INFO: TCP Data received {"connection_id":50715,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:14:06] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:14:06] local.INFO: IMEI packet received {"connection_id":50715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":50715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:14:08] local.INFO: TCP Data received {"connection_id":51287,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:14:08] local.INFO: Processing buffer {"connection_id":51287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:14:08] local.INFO: Packet analysis {"connection_id":51287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:14:08] local.INFO: Extracted packet for processing {"connection_id":51287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:08] 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-22 15:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:14: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-22 15:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:14:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":51287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:14:08] local.INFO: GPS data processed {"connection_id":51287,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:14:08] local.INFO: Acknowledgment sent {"connection_id":51287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:14:27] local.INFO: TCP Data received {"connection_id":50716,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:14:27] local.INFO: Processing buffer {"connection_id":50716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:14:27] local.INFO: IMEI packet received {"connection_id":50716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:14:31] local.INFO: TCP Data received {"connection_id":50717,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:14:31] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:14:31] local.INFO: IMEI packet received {"connection_id":50717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":50717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:14:33] local.INFO: TCP Data received {"connection_id":50716,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:14:33] local.INFO: Processing buffer {"connection_id":50716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:14:33] local.INFO: IMEI packet received {"connection_id":50716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":50716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:14:33] local.INFO: TCP Data received {"connection_id":50716,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db491fe80012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db491fe80012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:14:33] local.INFO: Processing buffer {"connection_id":50716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db491fe80012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:14:33] local.INFO: Packet analysis {"connection_id":50716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db491"} 
[2026-04-22 15:14:33] local.INFO: Extracted packet for processing {"connection_id":50716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db491"} 
[2026-04-22 15:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776850960000,"timestamp_ms":1776850960000,"timestamp_seconds":1776850960,"priority":1,"record_length":96,"hex_timestamp":"0000019db491fe80"} 
[2026-04-22 15: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-22 15:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-22 15:14:33] 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-22 15: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-22 15: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-22 15:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:14:33] 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-22 15:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873840384001,"66":12537,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:14:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873840384001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":50716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:14:34] local.INFO: GPS data processed {"connection_id":50716,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:14:34] local.INFO: Acknowledgment sent {"connection_id":50716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:14:36] local.INFO: TCP Data received {"connection_id":50717,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:14:36] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:14:36] local.INFO: IMEI packet received {"connection_id":50717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":50717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:14:37] local.INFO: TCP Data received {"connection_id":50717,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:14:37] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:14:37] local.INFO: Packet analysis {"connection_id":50717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:14:37] local.INFO: Extracted packet for processing {"connection_id":50717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:37] 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-22 15:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:14: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-22 15:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:14: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-22 15:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:14:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":50717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:14:37] local.INFO: GPS data processed {"connection_id":50717,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:14:37] local.INFO: Acknowledgment sent {"connection_id":50717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:14:41] local.INFO: TCP Data received {"connection_id":50717,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:14:41] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:14:41] local.INFO: Packet analysis {"connection_id":50717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:14:41] local.INFO: Extracted packet for processing {"connection_id":50717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:14:41] 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-22 15:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:14:41] 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-22 15:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:14:41] local.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-22 15:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:14:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":50717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:14:41] local.INFO: GPS data processed {"connection_id":50717,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:14:41] local.INFO: Acknowledgment sent {"connection_id":50717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:14:50] local.INFO: TCP Data received {"connection_id":51289,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:14:50] local.INFO: Processing buffer {"connection_id":51289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:14:50] local.INFO: IMEI packet received {"connection_id":51289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":51289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:15:04] local.INFO: TCP Data received {"connection_id":50716,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4925088012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4925088012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:15:04] local.INFO: Processing buffer {"connection_id":50716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4925088012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:15:04] local.INFO: Packet analysis {"connection_id":50716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:15:04] local.INFO: Extracted packet for processing {"connection_id":50716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873845760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776850981000,"timestamp_ms":1776850981000,"timestamp_seconds":1776850981,"priority":1,"record_length":96,"hex_timestamp":"0000019db4925088"} 
[2026-04-22 15: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-22 15:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 15:15:04] 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-22 15: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-22 15: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-22 15:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:15:04] 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-22 15:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873845760001,"66":12591,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873845760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:15:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873845760001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":50716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:15:04] local.INFO: GPS data processed {"connection_id":50716,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:15:04] local.INFO: Acknowledgment sent {"connection_id":50716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:15:26] local.INFO: TCP Data received {"connection_id":50601,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:15:26] local.INFO: Processing buffer {"connection_id":50601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:15:26] local.INFO: IMEI packet received {"connection_id":50601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":50601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:15:27] local.INFO: TCP Data received {"connection_id":50718,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:15:27] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:15:27] local.INFO: IMEI packet received {"connection_id":50718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:15:32] local.INFO: TCP Data received {"connection_id":50718,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:15:32] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:15:32] local.INFO: IMEI packet received {"connection_id":50718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:15:33] local.INFO: TCP Data received {"connection_id":50718,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a290012d1821000721b3d8004e00d22c..."} 
[2026-04-22 15:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a290012d1821000721b3d8004e00d22c..."} 
[2026-04-22 15:15:33] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a290012d1821000721b3d8004e00d22c..."} 
[2026-04-22 15:15:33] local.INFO: Packet analysis {"connection_id":50718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:15:33] local.INFO: Extracted packet for processing {"connection_id":50718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873851136001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776851002000,"timestamp_ms":1776851002000,"timestamp_seconds":1776851002,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a290"} 
[2026-04-22 15: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-22 15:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 15:15:33] 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-22 15: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-22 15: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-22 15:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:15:33] 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-22 15:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873851136001,"66":12591,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873851136001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:15:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873851136001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:15:33] local.INFO: GPS data processed {"connection_id":50718,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:15:33] local.INFO: Acknowledgment sent {"connection_id":50718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:15:35] local.INFO: TCP Data received {"connection_id":50601,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:15:35] local.INFO: Processing buffer {"connection_id":50601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:15:35] local.INFO: IMEI packet received {"connection_id":50601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":50601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:15:36] local.INFO: TCP Data received {"connection_id":50601,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:15:36] local.INFO: Processing buffer {"connection_id":50601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:15:36] local.INFO: Packet analysis {"connection_id":50601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:15:36] local.INFO: Extracted packet for processing {"connection_id":50601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:15:36] 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-22 15:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15: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-22 15:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:15:36] 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-22 15: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-22 15: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-22 15:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:15:36] 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-22 15:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:15:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":50601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:15:36] local.INFO: GPS data processed {"connection_id":50601,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:15:36] local.INFO: Acknowledgment sent {"connection_id":50601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:16:05] local.INFO: TCP Data received {"connection_id":50718,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db492f498012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492f498012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:16:05] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492f498012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:16:05] local.INFO: Packet analysis {"connection_id":50718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:16:05] local.INFO: Extracted packet for processing {"connection_id":50718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873856512001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776851023000,"timestamp_ms":1776851023000,"timestamp_seconds":1776851023,"priority":1,"record_length":96,"hex_timestamp":"0000019db492f498"} 
[2026-04-22 15: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-22 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 15:16:05] 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-22 15: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-22 15: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-22 15:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:16:05] 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-22 15:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873856512001,"66":12558,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873856512001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:16:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873856512001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":50718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:16:05] local.INFO: GPS data processed {"connection_id":50718,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:16:05] local.INFO: Acknowledgment sent {"connection_id":50718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:16:07] local.INFO: TCP Data received {"connection_id":50601,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:16:07] local.INFO: Processing buffer {"connection_id":50601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:16:07] local.INFO: Packet analysis {"connection_id":50601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:16:07] local.INFO: Extracted packet for processing {"connection_id":50601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:07] 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-22 15:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15: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-22 15:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:16:07] 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-22 15:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:16:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":50601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:16:07] local.INFO: GPS data processed {"connection_id":50601,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:16:07] local.INFO: Acknowledgment sent {"connection_id":50601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:16:26] local.INFO: TCP Data received {"connection_id":50720,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:16:26] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:16:26] local.INFO: IMEI packet received {"connection_id":50720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:16:27] local.INFO: TCP Data received {"connection_id":51290,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:16:27] local.INFO: Processing buffer {"connection_id":51290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:16:27] local.INFO: IMEI packet received {"connection_id":51290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":51290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:16:28] local.INFO: TCP Data received {"connection_id":51290,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:16:28] local.INFO: Processing buffer {"connection_id":51290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:16:28] local.INFO: IMEI packet received {"connection_id":51290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":51290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:16:31] local.INFO: TCP Data received {"connection_id":50720,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:16:31] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:16:31] local.INFO: IMEI packet received {"connection_id":50720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:16:32] local.INFO: TCP Data received {"connection_id":50720,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:16:32] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:16:32] local.INFO: Packet analysis {"connection_id":50720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:16:32] local.INFO: Extracted packet for processing {"connection_id":50720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:32] 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-22 15:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15: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-22 15:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:16: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-22 15: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-22 15: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-22 15:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:16:32] 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-22 15:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:16:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":50720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:16:32] local.INFO: GPS data processed {"connection_id":50720,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:16:32] local.INFO: Acknowledgment sent {"connection_id":50720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:16:32] local.INFO: TCP Data received {"connection_id":51290,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:16:32] local.INFO: Processing buffer {"connection_id":51290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:16:32] local.INFO: IMEI packet received {"connection_id":51290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":51290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:16:33] local.INFO: TCP Data received {"connection_id":51290,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db49346a0012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49346a0012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:16:33] local.INFO: Processing buffer {"connection_id":51290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49346a0012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:16:33] local.INFO: Packet analysis {"connection_id":51290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db493"} 
[2026-04-22 15:16:33] local.INFO: Extracted packet for processing {"connection_id":51290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db493"} 
[2026-04-22 15:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873861888001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776851044000,"timestamp_ms":1776851044000,"timestamp_seconds":1776851044,"priority":1,"record_length":96,"hex_timestamp":"0000019db49346a0"} 
[2026-04-22 15: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-22 15:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3029403752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178712,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2443999233,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3074490368,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 15:16:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,183,162,45,179,78,44,10,66,80,43,254,1,240,249,227,180,33,4,113,205,90,216,41,239,49,2,148,7,106,75,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:16:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620723417083805696,"timestamp_seconds":5620723417083806.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15: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-22 15:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:16:33] 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-22 15:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873861888001,"66":12548,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873861888001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:16:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873861888001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":51290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:16:33] local.INFO: GPS data processed {"connection_id":51290,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:16:33] local.INFO: Acknowledgment sent {"connection_id":51290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:17:03] local.INFO: TCP Data received {"connection_id":50720,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:17:03] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:17:03] local.INFO: Packet analysis {"connection_id":50720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:17:03] local.INFO: Extracted packet for processing {"connection_id":50720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17: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-22 15:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:17: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-22 15:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:17:03] 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-22 15:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:17:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":50720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:17:03] local.INFO: GPS data processed {"connection_id":50720,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:17:03] local.INFO: Acknowledgment sent {"connection_id":50720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:17:04] local.INFO: TCP Data received {"connection_id":51290,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db49398a8012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49398a8012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:17:04] local.INFO: Processing buffer {"connection_id":51290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49398a8012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:17:04] local.INFO: Packet analysis {"connection_id":51290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db493"} 
[2026-04-22 15:17:04] local.INFO: Extracted packet for processing {"connection_id":51290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db493"} 
[2026-04-22 15:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873867264001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776851065000,"timestamp_ms":1776851065000,"timestamp_seconds":1776851065,"priority":1,"record_length":96,"hex_timestamp":"0000019db49398a8"} 
[2026-04-22 15:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3029424752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2449375233,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3074490368,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,183,244,45,179,78,43,10,66,162,44,80,1,240,47,227,180,33,4,113,205,172,216,40,239,49,2,148,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:17:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620723417083805696,"timestamp_seconds":5620723417083806.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:17:04] 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-22 15:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873867264001,"66":12558,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873867264001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:17:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:17:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873867264001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":51290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:17:04] local.INFO: GPS data processed {"connection_id":51290,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:17:04] local.INFO: Acknowledgment sent {"connection_id":51290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:17:26] local.INFO: TCP Data received {"connection_id":50349,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:17:26] local.INFO: Processing buffer {"connection_id":50349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:17:26] local.INFO: IMEI packet received {"connection_id":50349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":50349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:17:27] local.INFO: TCP Data received {"connection_id":50350,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:17:27] local.INFO: Processing buffer {"connection_id":50350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:17:27] local.INFO: IMEI packet received {"connection_id":50350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":50350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:17:30] local.INFO: TCP Data received {"connection_id":50350,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:17:30] local.INFO: Processing buffer {"connection_id":50350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:17:30] local.INFO: IMEI packet received {"connection_id":50350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":50350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:17:31] local.INFO: TCP Data received {"connection_id":50349,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:17:31] local.INFO: Processing buffer {"connection_id":50349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:17:31] local.INFO: IMEI packet received {"connection_id":50349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":50349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:17:32] local.INFO: TCP Data received {"connection_id":50349,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:17:32] local.INFO: Processing buffer {"connection_id":50349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:17:32] local.INFO: Packet analysis {"connection_id":50349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:17:32] local.INFO: Extracted packet for processing {"connection_id":50349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:32] 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-22 15:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15: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-22 15:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:17: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-22 15: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-22 15: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-22 15:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:17:32] 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-22 15:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:17:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":50349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:17:32] local.INFO: GPS data processed {"connection_id":50349,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:17:32] local.INFO: Acknowledgment sent {"connection_id":50349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:17:32] local.INFO: TCP Data received {"connection_id":50350,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:17:32] local.INFO: Processing buffer {"connection_id":50350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:17:32] local.INFO: IMEI packet received {"connection_id":50350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:17:33] local.INFO: TCP Data received {"connection_id":50350,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db493eab0012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db493eab0012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:17:33] local.INFO: Processing buffer {"connection_id":50350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db493eab0012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:17:33] local.INFO: Packet analysis {"connection_id":50350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db493"} 
[2026-04-22 15:17:33] local.INFO: Extracted packet for processing {"connection_id":50350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db493"} 
[2026-04-22 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873872640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776851086000,"timestamp_ms":1776851086000,"timestamp_seconds":1776851086,"priority":1,"record_length":96,"hex_timestamp":"0000019db493eab0"} 
[2026-04-22 15:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3029445752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178712,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2454751233,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579370,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3074490368,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 15:17:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,183,70,45,179,78,43,10,66,244,162,1,240,47,227,180,33,4,113,205,254,216,42,239,48,2,148,7,106,76,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:17:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620723404198903808,"timestamp_seconds":5620723404198904.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:17:33] 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-22 15:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873872640001,"66":12537,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873872640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:17:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873872640001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:17:33] local.INFO: GPS data processed {"connection_id":50350,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:17:33] local.INFO: Acknowledgment sent {"connection_id":50350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:18:03] local.INFO: TCP Data received {"connection_id":50349,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:18:03] local.INFO: Processing buffer {"connection_id":50349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:18:03] local.INFO: Packet analysis {"connection_id":50349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:18:03] local.INFO: Extracted packet for processing {"connection_id":50349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18: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-22 15:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:18: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-22 15:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:18:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":50349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:18:03] local.INFO: GPS data processed {"connection_id":50349,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:18:03] local.INFO: Acknowledgment sent {"connection_id":50349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:18:04] local.INFO: TCP Data received {"connection_id":50350,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4943cb8012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4943cb8012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:18:04] local.INFO: Processing buffer {"connection_id":50350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4943cb8012d1821000721b3d8004e00d228..."} 
[2026-04-22 15:18:04] local.INFO: Packet analysis {"connection_id":50350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db494"} 
[2026-04-22 15:18:04] local.INFO: Extracted packet for processing {"connection_id":50350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db494"} 
[2026-04-22 15:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873878016001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776851107000,"timestamp_ms":1776851107000,"timestamp_seconds":1776851107,"priority":1,"record_length":96,"hex_timestamp":"0000019db4943cb8"} 
[2026-04-22 15:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 15:18:04] 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-22 15:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:18:04] 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-22 15:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873878016001,"66":12537,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873878016001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:18:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873878016001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:18:04] local.INFO: GPS data processed {"connection_id":50350,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:18:04] local.INFO: Acknowledgment sent {"connection_id":50350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:18:26] local.INFO: TCP Data received {"connection_id":50721,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:18:26] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:18:26] local.INFO: IMEI packet received {"connection_id":50721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":50721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:18:31] local.INFO: TCP Data received {"connection_id":50721,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:18:31] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:18:31] local.INFO: IMEI packet received {"connection_id":50721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":50721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:18:32] local.INFO: TCP Data received {"connection_id":50721,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:18:32] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db492a678012d7f864005afda200013013329..."} 
[2026-04-22 15:18:32] local.INFO: Packet analysis {"connection_id":50721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:18:32] local.INFO: Extracted packet for processing {"connection_id":50721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db492"} 
[2026-04-22 15:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":19,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873779712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:32] 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-22 15:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851003000,"timestamp_ms":1776851003000,"timestamp_seconds":1776851003,"priority":1,"record_length":96,"hex_timestamp":"0000019db492a678"} 
[2026-04-22 15:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:18: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-22 15:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:18:32] 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-22 15:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873779712001,"66":25343,"27":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 15:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873779712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:18:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 15:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873779712001,"power":25343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":50721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:18:32] local.INFO: GPS data processed {"connection_id":50721,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:18:32] local.INFO: Acknowledgment sent {"connection_id":50721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:18:32] local.INFO: TCP Data received {"connection_id":50603,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:18:32] local.INFO: Processing buffer {"connection_id":50603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:18:32] local.INFO: IMEI packet received {"connection_id":50603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:18:33] local.INFO: TCP Data received {"connection_id":50603,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:18:33] local.INFO: Processing buffer {"connection_id":50603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:18:33] local.INFO: IMEI packet received {"connection_id":50603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":50603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:18:34] local.INFO: TCP Data received {"connection_id":50603,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4948ec0012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4948ec0012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:18:34] local.INFO: Processing buffer {"connection_id":50603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4948ec0012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:18:34] local.INFO: Packet analysis {"connection_id":50603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db494"} 
[2026-04-22 15:18:34] local.INFO: Extracted packet for processing {"connection_id":50603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db494"} 
[2026-04-22 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873883392001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776851128000,"timestamp_ms":1776851128000,"timestamp_seconds":1776851128,"priority":1,"record_length":96,"hex_timestamp":"0000019db4948ec0"} 
[2026-04-22 15: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-22 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 15:18:34] 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-22 15: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-22 15: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-22 15:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:18:34] 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-22 15:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873883392001,"66":12526,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873883392001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:18:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873883392001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":50603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:18:34] local.INFO: GPS data processed {"connection_id":50603,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:18:34] local.INFO: Acknowledgment sent {"connection_id":50603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:18:38] local.INFO: TCP Data received {"connection_id":50603,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db494e0c8012d1821000721b3d8004e00d22d..."} 
[2026-04-22 15:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db494e0c8012d1821000721b3d8004e00d22d..."} 
[2026-04-22 15:18:38] local.INFO: Processing buffer {"connection_id":50603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db494e0c8012d1821000721b3d8004e00d22d..."} 
[2026-04-22 15:18:38] local.INFO: Packet analysis {"connection_id":50603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db494"} 
[2026-04-22 15:18:38] local.INFO: Extracted packet for processing {"connection_id":50603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db494"} 
[2026-04-22 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873888768001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776851149000,"timestamp_ms":1776851149000,"timestamp_seconds":1776851149,"priority":1,"record_length":96,"hex_timestamp":"0000019db494e0c8"} 
[2026-04-22 15: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-22 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 15:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:18:38] 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-22 15:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873888768001,"66":12461,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873888768001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:18:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873888768001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":50603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:18:38] local.INFO: GPS data processed {"connection_id":50603,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:18:38] local.INFO: Acknowledgment sent {"connection_id":50603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:19:02] local.INFO: TCP Data received {"connection_id":50721,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db49726d0012d7f864005afda200014013328..."} 
[2026-04-22 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49726d0012d7f864005afda200014013328..."} 
[2026-04-22 15:19:02] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49726d0012d7f864005afda200014013328..."} 
[2026-04-22 15:19:02] local.INFO: Packet analysis {"connection_id":50721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:19:02] local.INFO: Extracted packet for processing {"connection_id":50721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410720,"longitude_deg":76.333216,"latitude_deg":9.541072,"altitude":20,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 15:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:02] 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-22 15:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776851298000,"timestamp_ms":1776851298000,"timestamp_seconds":1776851298,"priority":1,"record_length":96,"hex_timestamp":"0000019db49726d0"} 
[2026-04-22 15:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:19: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-22 15:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 15:19: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-22 15:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873856768001,"66":25321,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"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-22 15:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873856768001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":50721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:19:02] local.INFO: GPS data processed {"connection_id":50721,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:19:02] local.INFO: Acknowledgment sent {"connection_id":50721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:19:09] local.INFO: TCP Data received {"connection_id":50603,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db49532d0012d1821000721b3d8004e00d22c..."} 
[2026-04-22 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49532d0012d1821000721b3d8004e00d22c..."} 
[2026-04-22 15:19:09] local.INFO: Processing buffer {"connection_id":50603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49532d0012d1821000721b3d8004e00d22c..."} 
[2026-04-22 15:19:09] local.INFO: Packet analysis {"connection_id":50603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db495"} 
[2026-04-22 15:19:09] local.INFO: Extracted packet for processing {"connection_id":50603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db495"} 
[2026-04-22 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873894144001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776851170000,"timestamp_ms":1776851170000,"timestamp_seconds":1776851170,"priority":1,"record_length":96,"hex_timestamp":"0000019db49532d0"} 
[2026-04-22 15: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-22 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 15:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:19:09] 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-22 15:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873894144001,"66":12504,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873894144001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:19:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873894144001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":50603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:19:09] local.INFO: GPS data processed {"connection_id":50603,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:19:09] local.INFO: Acknowledgment sent {"connection_id":50603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:19:27] local.INFO: TCP Data received {"connection_id":50351,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:19:27] local.INFO: Processing buffer {"connection_id":50351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:19:27] local.INFO: IMEI packet received {"connection_id":50351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:19:31] local.INFO: TCP Data received {"connection_id":50352,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:19:31] local.INFO: Processing buffer {"connection_id":50352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:19:31] local.INFO: IMEI packet received {"connection_id":50352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":50352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:19:32] local.INFO: TCP Data received {"connection_id":50351,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:19:32] local.INFO: Processing buffer {"connection_id":50351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:19:32] local.INFO: IMEI packet received {"connection_id":50351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:19:33] local.INFO: TCP Data received {"connection_id":50351,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db49584d8012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49584d8012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:19:33] local.INFO: Processing buffer {"connection_id":50351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49584d8012d1821000721b3d8004e00d22b..."} 
[2026-04-22 15:19:33] local.INFO: Packet analysis {"connection_id":50351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db495"} 
[2026-04-22 15:19:33] local.INFO: Extracted packet for processing {"connection_id":50351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db495"} 
[2026-04-22 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873899520001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776851191000,"timestamp_ms":1776851191000,"timestamp_seconds":1776851191,"priority":1,"record_length":96,"hex_timestamp":"0000019db49584d8"} 
[2026-04-22 15: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-22 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 15:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:19:33] 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-22 15:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873899520001,"66":12504,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873899520001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:19:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873899520001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:19:33] local.INFO: GPS data processed {"connection_id":50351,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:19:33] local.INFO: Acknowledgment sent {"connection_id":50351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:19:36] local.INFO: TCP Data received {"connection_id":50352,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:19:36] local.INFO: Processing buffer {"connection_id":50352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:19:36] local.INFO: IMEI packet received {"connection_id":50352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":50352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:19:37] local.INFO: TCP Data received {"connection_id":50352,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4973e40012d7f850005afdb70001400f528..."} 
[2026-04-22 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4973e40012d7f850005afdb70001400f528..."} 
[2026-04-22 15:19:37] local.INFO: Processing buffer {"connection_id":50352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4973e40012d7f850005afdb70001400f528..."} 
[2026-04-22 15:19:37] local.INFO: Packet analysis {"connection_id":50352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:19:37] local.INFO: Extracted packet for processing {"connection_id":50352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763331840,"raw_latitude":95411056,"longitude_deg":76.333184,"latitude_deg":9.5411056,"altitude":20,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d7f8500","hex_latitude":"05afdb70","is_valid_coordinates":true} 
[2026-04-22 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873932288001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478601366536192,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865397760,"note":"Value kept but may cause issues"} 
[2026-04-22 15:19:37] 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-22 15:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776851304000,"timestamp_ms":1776851304000,"timestamp_seconds":1776851304,"priority":1,"record_length":96,"hex_timestamp":"0000019db4973e40"} 
[2026-04-22 15:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 15:19: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-22 15:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873932288001,"66":24995,"250":206,"85":12544,"24":0,"16":278478601366536192,"45":9189102482865397760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873932288001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:19:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478601366536192,"km_value":278478601366536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865397760,"description":"Unknown IO ID 45"} 
[2026-04-22 15:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873932288001,"power":24995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865397760}} 
[2026-04-22 15:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":50352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:19:37] local.INFO: GPS data processed {"connection_id":50352,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:19:37] local.INFO: Acknowledgment sent {"connection_id":50352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:20:04] local.INFO: TCP Data received {"connection_id":50351,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db495d6e0012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db495d6e0012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:20:04] local.INFO: Processing buffer {"connection_id":50351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db495d6e0012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:20:04] local.INFO: Packet analysis {"connection_id":50351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db495"} 
[2026-04-22 15:20:04] local.INFO: Extracted packet for processing {"connection_id":50351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db495"} 
[2026-04-22 15:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873904896001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776851212000,"timestamp_ms":1776851212000,"timestamp_seconds":1776851212,"priority":1,"record_length":96,"hex_timestamp":"0000019db495d6e0"} 
[2026-04-22 15: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-22 15:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 15:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:20:04] 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-22 15:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873904896001,"66":12461,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873904896001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:20:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873904896001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:20:04] local.INFO: GPS data processed {"connection_id":50351,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:20:04] local.INFO: Acknowledgment sent {"connection_id":50351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:20:08] local.INFO: TCP Data received {"connection_id":50352,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4976938012d7f854005afdb30001400f528..."} 
[2026-04-22 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4976938012d7f854005afdb30001400f528..."} 
[2026-04-22 15:20:08] local.INFO: Processing buffer {"connection_id":50352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4976938012d7f854005afdb30001400f528..."} 
[2026-04-22 15:20:08] local.INFO: Packet analysis {"connection_id":50352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:20:08] local.INFO: Extracted packet for processing {"connection_id":50352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763331904,"raw_latitude":95410992,"longitude_deg":76.3331904,"latitude_deg":9.5410992,"altitude":20,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d7f8540","hex_latitude":"05afdb30","is_valid_coordinates":true} 
[2026-04-22 15:20: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-22 15:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478609956470784,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188750639144595456,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20: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-22 15:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776851315000,"timestamp_ms":1776851315000,"timestamp_seconds":1776851315,"priority":1,"record_length":96,"hex_timestamp":"0000019db4976938"} 
[2026-04-22 15: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-22 15:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 15:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:20:08] 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-22 15:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873933824001,"66":25071,"250":206,"85":12544,"24":0,"16":278478609956470784,"45":9188750639144595456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:20:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478609956470784,"km_value":278478609956470.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188750639144595456,"description":"Unknown IO ID 45"} 
[2026-04-22 15:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873933824001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188750639144595456}} 
[2026-04-22 15:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":50352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:20:08] local.INFO: GPS data processed {"connection_id":50352,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:20:08] local.INFO: Acknowledgment sent {"connection_id":50352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:20:21] local.INFO: TCP Data received {"connection_id":50723,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:20:21] local.INFO: Processing buffer {"connection_id":50723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:20:21] local.INFO: IMEI packet received {"connection_id":50723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":50723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:20:26] local.INFO: TCP Data received {"connection_id":51293,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:20:26] local.INFO: Processing buffer {"connection_id":51293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:20:26] local.INFO: IMEI packet received {"connection_id":51293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":51293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:20:26] local.INFO: TCP Data received {"connection_id":51293,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:20:26] local.INFO: Processing buffer {"connection_id":51293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:20:26] local.INFO: IMEI packet received {"connection_id":51293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":51293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:20:27] local.INFO: TCP Data received {"connection_id":51294,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:20:27] local.INFO: Processing buffer {"connection_id":51294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:20:27] local.INFO: IMEI packet received {"connection_id":51294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":51294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:20:29] local.INFO: TCP Data received {"connection_id":51293,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:20:29] local.INFO: Processing buffer {"connection_id":51293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:20:29] local.INFO: IMEI packet received {"connection_id":51293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":51293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:20:30] local.INFO: TCP Data received {"connection_id":51293,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4976d20012d7f858005afdb30001400f528..."} 
[2026-04-22 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4976d20012d7f858005afdb30001400f528..."} 
[2026-04-22 15:20:30] local.INFO: Processing buffer {"connection_id":51293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4976d20012d7f858005afdb30001400f528..."} 
[2026-04-22 15:20:30] local.INFO: Packet analysis {"connection_id":51293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:20:30] local.INFO: Extracted packet for processing {"connection_id":51293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763331968,"raw_latitude":95410992,"longitude_deg":76.3331968,"latitude_deg":9.5410992,"altitude":20,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d7f8580","hex_latitude":"05afdb30","is_valid_coordinates":true} 
[2026-04-22 15:20: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-22 15:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873936640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478609956470784,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188821007888756736,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20: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-22 15:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776851316000,"timestamp_ms":1776851316000,"timestamp_seconds":1776851316,"priority":1,"record_length":96,"hex_timestamp":"0000019db4976d20"} 
[2026-04-22 15: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-22 15:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 15:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":51293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":51293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":51293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:20: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-22 15:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873936640001,"66":25071,"250":206,"85":12544,"24":0,"16":278478609956470784,"45":9188821007888756736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873936640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:20:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478609956470784,"km_value":278478609956470.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188821007888756736,"description":"Unknown IO ID 45"} 
[2026-04-22 15:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873936640001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188821007888756736}} 
[2026-04-22 15:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":51293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:20:30] local.INFO: GPS data processed {"connection_id":51293,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:20:30] local.INFO: Acknowledgment sent {"connection_id":51293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:20:32] local.INFO: TCP Data received {"connection_id":51294,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:20:32] local.INFO: Processing buffer {"connection_id":51294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:20:32] local.INFO: IMEI packet received {"connection_id":51294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":51294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:20:33] local.INFO: TCP Data received {"connection_id":51294,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db49628e8012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49628e8012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:20:33] local.INFO: Processing buffer {"connection_id":51294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49628e8012d1821000721b3d8004e00d22a..."} 
[2026-04-22 15:20:33] local.INFO: Packet analysis {"connection_id":51294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db496"} 
[2026-04-22 15:20:33] local.INFO: Extracted packet for processing {"connection_id":51294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db496"} 
[2026-04-22 15:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":78,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873910272001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917380391862272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776851233000,"timestamp_ms":1776851233000,"timestamp_seconds":1776851233,"priority":1,"record_length":96,"hex_timestamp":"0000019db49628e8"} 
[2026-04-22 15: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-22 15:20: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-22 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 15:20:33] 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-22 15: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-22 15: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-22 15:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:20:33] 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-22 15:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873910272001,"66":12461,"105":206,"83":41984,"24":0,"16":113917380391862272,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873910272001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:20:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917380391862272,"km_value":113917380391862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873910272001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":51294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:20:33] local.INFO: GPS data processed {"connection_id":51294,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:20:33] local.INFO: Acknowledgment sent {"connection_id":51294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:20:56] local.INFO: TCP Data received {"connection_id":50353,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:20:56] local.INFO: Processing buffer {"connection_id":50353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:20:56] local.INFO: IMEI packet received {"connection_id":50353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":50353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:21:01] local.INFO: TCP Data received {"connection_id":51293,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4979048012d7f858005afdb30001400f52a..."} 
[2026-04-22 15:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4979048012d7f858005afdb30001400f52a..."} 
[2026-04-22 15:21:01] local.INFO: Processing buffer {"connection_id":51293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4979048012d7f858005afdb30001400f52a..."} 
[2026-04-22 15:21:01] local.INFO: Packet analysis {"connection_id":51293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:21:01] local.INFO: Extracted packet for processing {"connection_id":51293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763331968,"raw_latitude":95410992,"longitude_deg":76.3331968,"latitude_deg":9.5410992,"altitude":20,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d7f8580","hex_latitude":"05afdb30","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873936896001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478609956470784,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188891376632934400,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21: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-22 15:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776851325000,"timestamp_ms":1776851325000,"timestamp_seconds":1776851325,"priority":1,"record_length":96,"hex_timestamp":"0000019db4979048"} 
[2026-04-22 15: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-22 15:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 15:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":51293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":51293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":51293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:21: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-22 15:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873936896001,"66":25038,"250":206,"85":12544,"24":0,"16":278478609956470784,"45":9188891376632934400},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873936896001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:21:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478609956470784,"km_value":278478609956470.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188891376632934400,"description":"Unknown IO ID 45"} 
[2026-04-22 15:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873936896001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188891376632934400}} 
[2026-04-22 15:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":51293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:21:01] local.INFO: GPS data processed {"connection_id":51293,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:21:01] local.INFO: Acknowledgment sent {"connection_id":51293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:21:04] local.INFO: TCP Data received {"connection_id":51294,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4967af0012d181f800721b188005100d12a..."} 
[2026-04-22 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4967af0012d181f800721b188005100d12a..."} 
[2026-04-22 15:21:04] local.INFO: Processing buffer {"connection_id":51294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4967af0012d181f800721b188005100d12a..."} 
[2026-04-22 15:21:04] local.INFO: Packet analysis {"connection_id":51294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db496"} 
[2026-04-22 15:21:04] local.INFO: Extracted packet for processing {"connection_id":51294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db496"} 
[2026-04-22 15:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648648,"longitude_deg":75.6555648,"latitude_deg":11.9648648,"altitude":81,"angle":209,"satellites":42,"speed":3,"hex_longitude":"2d181f80","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873915648001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917414751600640,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776851254000,"timestamp_ms":1776851254000,"timestamp_seconds":1776851254,"priority":1,"record_length":96,"hex_timestamp":"0000019db4967af0"} 
[2026-04-22 15: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-22 15:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 15:21:04] 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-22 15: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-22 15: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-22 15:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:21:04] 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-22 15:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873915648001,"66":12472,"105":206,"83":41984,"24":3,"16":113917414751600640,"45":1738670961771927552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873915648001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:21:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917414751600640,"km_value":113917414751600.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-04-22 15:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873915648001,"power":12472,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-04-22 15:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":51294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:21:04] local.INFO: GPS data processed {"connection_id":51294,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:21:04] local.INFO: Acknowledgment sent {"connection_id":51294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:21:26] local.INFO: TCP Data received {"connection_id":50724,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:21:26] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:21:26] local.INFO: IMEI packet received {"connection_id":50724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":50724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:21:27] local.INFO: TCP Data received {"connection_id":50725,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:21:27] local.INFO: Processing buffer {"connection_id":50725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:21:27] local.INFO: IMEI packet received {"connection_id":50725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:21:31] local.INFO: TCP Data received {"connection_id":50724,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:21:31] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:21:31] local.INFO: IMEI packet received {"connection_id":50724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":50724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:21:32] local.INFO: TCP Data received {"connection_id":50724,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db497e250012d7f85c005afdaf8001400f52a..."} 
[2026-04-22 15:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db497e250012d7f85c005afdaf8001400f52a..."} 
[2026-04-22 15:21:32] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db497e250012d7f85c005afdaf8001400f52a..."} 
[2026-04-22 15:21:32] local.INFO: Packet analysis {"connection_id":50724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:21:32] local.INFO: Extracted packet for processing {"connection_id":50724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763332032,"raw_latitude":95410936,"longitude_deg":76.3332032,"latitude_deg":9.5410936,"altitude":20,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d7f85c0","hex_latitude":"05afdaf8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873939200001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478618546405376,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188891376632934400,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21: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-22 15:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851346000,"timestamp_ms":1776851346000,"timestamp_seconds":1776851346,"priority":1,"record_length":96,"hex_timestamp":"0000019db497e250"} 
[2026-04-22 15: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-22 15:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-22 15:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:21:32] 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-22 15:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873939200001,"66":25028,"250":206,"85":12544,"24":0,"16":278478618546405376,"45":9188891376632934400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873939200001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:21:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478618546405376,"km_value":278478618546405.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188891376632934400,"description":"Unknown IO ID 45"} 
[2026-04-22 15:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873939200001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188891376632934400}} 
[2026-04-22 15:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":50724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:21:32] local.INFO: GPS data processed {"connection_id":50724,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:21:32] local.INFO: Acknowledgment sent {"connection_id":50724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:21:33] local.INFO: TCP Data received {"connection_id":50725,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:21:33] local.INFO: Processing buffer {"connection_id":50725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:21:33] local.INFO: IMEI packet received {"connection_id":50725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":50725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:21:33] local.INFO: TCP Data received {"connection_id":50725,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db496ccf8012d181ec00721b090005100db2c..."} 
[2026-04-22 15:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db496ccf8012d181ec00721b090005100db2c..."} 
[2026-04-22 15:21:33] local.INFO: Processing buffer {"connection_id":50725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db496ccf8012d181ec00721b090005100db2c..."} 
[2026-04-22 15:21:33] local.INFO: Packet analysis {"connection_id":50725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db496"} 
[2026-04-22 15:21:33] local.INFO: Extracted packet for processing {"connection_id":50725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db496"} 
[2026-04-22 15:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":81,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-04-22 15:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873921024001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917431931469824,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306710016,"note":"Value kept but may cause issues"} 
[2026-04-22 15:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776851275000,"timestamp_ms":1776851275000,"timestamp_seconds":1776851275,"priority":1,"record_length":96,"hex_timestamp":"0000019db496ccf8"} 
[2026-04-22 15:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-22 15:21:33] 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-22 15:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:21:33] 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-22 15:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873921024001,"66":12439,"105":206,"83":41984,"24":0,"16":113917431931469824,"45":1738248749306710016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873921024001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:21:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917431931469824,"km_value":113917431931469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306710016,"description":"Unknown IO ID 45"} 
[2026-04-22 15:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873921024001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306710016}} 
[2026-04-22 15:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":50725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:21:33] local.INFO: GPS data processed {"connection_id":50725,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:21:33] local.INFO: Acknowledgment sent {"connection_id":50725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:22:02] local.INFO: TCP Data received {"connection_id":50724,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db4983458012d7f864005afda90001400f528..."} 
[2026-04-22 15:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4983458012d7f864005afda90001400f528..."} 
[2026-04-22 15:22:02] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4983458012d7f864005afda90001400f528..."} 
[2026-04-22 15:22:02] local.INFO: Packet analysis {"connection_id":50724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:22:02] local.INFO: Extracted packet for processing {"connection_id":50724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":95410832,"longitude_deg":76.333216,"latitude_deg":9.5410832,"altitude":20,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d7f8640","hex_latitude":"05afda90","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873944576001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478627136339968,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188961745377097728,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:02] 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-22 15:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776851367000,"timestamp_ms":1776851367000,"timestamp_seconds":1776851367,"priority":1,"record_length":96,"hex_timestamp":"0000019db4983458"} 
[2026-04-22 15: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-22 15:22: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-22 15: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 15:22:02] 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-22 15: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-22 15: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-22 15:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:22:02] 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-22 15:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873944576001,"66":24962,"250":206,"85":12544,"24":0,"16":278478627136339968,"45":9188961745377097728},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873944576001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:22:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478627136339968,"km_value":278478627136339.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188961745377097728,"description":"Unknown IO ID 45"} 
[2026-04-22 15:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873944576001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188961745377097728}} 
[2026-04-22 15:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":50724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:22:02] local.INFO: GPS data processed {"connection_id":50724,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:22:02] local.INFO: Acknowledgment sent {"connection_id":50724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:22:04] local.INFO: TCP Data received {"connection_id":50725,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4971f00012d181ec00721b090005100db2b..."} 
[2026-04-22 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4971f00012d181ec00721b090005100db2b..."} 
[2026-04-22 15:22:04] local.INFO: Processing buffer {"connection_id":50725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4971f00012d181ec00721b090005100db2b..."} 
[2026-04-22 15:22:04] local.INFO: Packet analysis {"connection_id":50725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:22:04] local.INFO: Extracted packet for processing {"connection_id":50725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":81,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-04-22 15:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873926400001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917431931469824,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776851296000,"timestamp_ms":1776851296000,"timestamp_seconds":1776851296,"priority":1,"record_length":96,"hex_timestamp":"0000019db4971f00"} 
[2026-04-22 15:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 15:22:04] 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-22 15:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:22:04] 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-22 15:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873926400001,"66":12461,"105":206,"83":41984,"24":0,"16":113917431931469824,"45":1738037643074113536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873926400001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:22:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917431931469824,"km_value":113917431931469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-04-22 15:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873926400001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-04-22 15:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":50725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:22:04] local.INFO: GPS data processed {"connection_id":50725,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:22:04] local.INFO: Acknowledgment sent {"connection_id":50725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:22:26] local.INFO: TCP Data received {"connection_id":50604,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:22:26] local.INFO: Processing buffer {"connection_id":50604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:22:26] local.INFO: IMEI packet received {"connection_id":50604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":50604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:22:27] local.INFO: TCP Data received {"connection_id":50354,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:22:27] local.INFO: Processing buffer {"connection_id":50354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:22:27] local.INFO: IMEI packet received {"connection_id":50354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:22:31] local.INFO: TCP Data received {"connection_id":50604,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:22:31] local.INFO: Processing buffer {"connection_id":50604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:22:31] local.INFO: IMEI packet received {"connection_id":50604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":50604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:22:32] local.INFO: TCP Data received {"connection_id":50604,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db4988660012d7f86c005afda78001400f52a..."} 
[2026-04-22 15:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4988660012d7f86c005afda78001400f52a..."} 
[2026-04-22 15:22:32] local.INFO: Processing buffer {"connection_id":50604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4988660012d7f86c005afda78001400f52a..."} 
[2026-04-22 15:22:32] local.INFO: Packet analysis {"connection_id":50604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:22:32] local.INFO: Extracted packet for processing {"connection_id":50604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763332288,"raw_latitude":95410808,"longitude_deg":76.3332288,"latitude_deg":9.5410808,"altitude":20,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d7f86c0","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873949952001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102482865426432,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22: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-22 15:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851388000,"timestamp_ms":1776851388000,"timestamp_seconds":1776851388,"priority":1,"record_length":96,"hex_timestamp":"0000019db4988660"} 
[2026-04-22 15: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-22 15:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-22 15:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:22: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-22 15:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873949952001,"66":24962,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189102482865426432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873949952001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:22:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102482865426432,"description":"Unknown IO ID 45"} 
[2026-04-22 15:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873949952001,"power":24962,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189102482865426432}} 
[2026-04-22 15:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":50604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:22:32] local.INFO: GPS data processed {"connection_id":50604,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:22:32] local.INFO: Acknowledgment sent {"connection_id":50604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:22:32] local.INFO: TCP Data received {"connection_id":50354,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:22:32] local.INFO: Processing buffer {"connection_id":50354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:22:32] local.INFO: IMEI packet received {"connection_id":50354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:22:33] local.INFO: TCP Data received {"connection_id":50354,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4977108012d181ec00721b090005100db2b..."} 
[2026-04-22 15:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4977108012d181ec00721b090005100db2b..."} 
[2026-04-22 15:22:33] local.INFO: Processing buffer {"connection_id":50354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4977108012d181ec00721b090005100db2b..."} 
[2026-04-22 15:22:33] local.INFO: Packet analysis {"connection_id":50354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:22:33] local.INFO: Extracted packet for processing {"connection_id":50354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":81,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-04-22 15:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873931776001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917431931469824,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-04-22 15:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776851317000,"timestamp_ms":1776851317000,"timestamp_seconds":1776851317,"priority":1,"record_length":96,"hex_timestamp":"0000019db4977108"} 
[2026-04-22 15:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 15:22:33] 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-22 15: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-22 15:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:22:33] 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-22 15:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873931776001,"66":12439,"105":206,"83":41984,"24":0,"16":113917431931469824,"45":1738037643074113536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873931776001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:22:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917431931469824,"km_value":113917431931469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-04-22 15:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873931776001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-04-22 15:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":50354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:22:33] local.INFO: GPS data processed {"connection_id":50354,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:22:33] local.INFO: Acknowledgment sent {"connection_id":50354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:23:02] local.INFO: TCP Data received {"connection_id":50604,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:23:02] local.INFO: Processing buffer {"connection_id":50604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:23:02] local.INFO: Packet analysis {"connection_id":50604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:23:02] local.INFO: Extracted packet for processing {"connection_id":50604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763332288,"raw_latitude":95410808,"longitude_deg":76.3332288,"latitude_deg":9.5410808,"altitude":20,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d7f86c0","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-04-22 15:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873955328001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189243220353775616,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:02] 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-22 15:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776851390000,"timestamp_ms":1776851390000,"timestamp_seconds":1776851390,"priority":1,"record_length":96,"hex_timestamp":"0000019db4988e30"} 
[2026-04-22 15: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-22 15: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-22 15: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-22 15:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873955328001,"66":24745,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189243220353775616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873955328001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:23:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189243220353775616,"description":"Unknown IO ID 45"} 
[2026-04-22 15:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873955328001,"power":24745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189243220353775616}} 
[2026-04-22 15:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":50604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:23:02] local.INFO: GPS data processed {"connection_id":50604,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:23:02] local.INFO: Acknowledgment sent {"connection_id":50604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:23:04] local.INFO: TCP Data received {"connection_id":50354,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db497c310012d181ec00721b090005100db26..."} 
[2026-04-22 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db497c310012d181ec00721b090005100db26..."} 
[2026-04-22 15:23:04] local.INFO: Processing buffer {"connection_id":50354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db497c310012d181ec00721b090005100db26..."} 
[2026-04-22 15:23:04] local.INFO: Packet analysis {"connection_id":50354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:23:04] local.INFO: Extracted packet for processing {"connection_id":50354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db497"} 
[2026-04-22 15:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":81,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-04-22 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873937152001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917431931469824,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776851338000,"timestamp_ms":1776851338000,"timestamp_seconds":1776851338,"priority":1,"record_length":96,"hex_timestamp":"0000019db497c310"} 
[2026-04-22 15:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 15:23:04] 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-22 15:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:23:04] 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-22 15:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873937152001,"66":12461,"105":206,"83":41984,"24":0,"16":113917431931469824,"45":1738037643074113536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873937152001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:23:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917431931469824,"km_value":113917431931469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-04-22 15:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873937152001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-04-22 15:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":50354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:23:05] local.INFO: GPS data processed {"connection_id":50354,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:23:05] local.INFO: Acknowledgment sent {"connection_id":50354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:23:26] local.INFO: TCP Data received {"connection_id":51296,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:23:26] local.INFO: Processing buffer {"connection_id":51296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:23:26] local.INFO: IMEI packet received {"connection_id":51296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":51296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:23:27] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:23:27] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:23:27] local.INFO: IMEI packet received {"connection_id":50355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":50355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:23:28] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:23:28] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:23:28] local.INFO: IMEI packet received {"connection_id":50355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":50355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:23:31] local.INFO: TCP Data received {"connection_id":51296,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:23:31] local.INFO: Processing buffer {"connection_id":51296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:23:31] local.INFO: IMEI packet received {"connection_id":51296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":51296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:23:32] local.INFO: TCP Data received {"connection_id":51296,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:23:32] local.INFO: Processing buffer {"connection_id":51296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:23:32] local.INFO: Packet analysis {"connection_id":51296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:23:32] local.INFO: Extracted packet for processing {"connection_id":51296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763332288,"raw_latitude":95410808,"longitude_deg":76.3332288,"latitude_deg":9.5410808,"altitude":20,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d7f86c0","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-04-22 15:23: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-22 15:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873955328001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189243220353775616,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23: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-22 15:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851390000,"timestamp_ms":1776851390000,"timestamp_seconds":1776851390,"priority":1,"record_length":96,"hex_timestamp":"0000019db4988e30"} 
[2026-04-22 15: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-22 15: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-22 15: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-22 15:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873955328001,"66":24745,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189243220353775616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873955328001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:23:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189243220353775616,"description":"Unknown IO ID 45"} 
[2026-04-22 15:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873955328001,"power":24745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189243220353775616}} 
[2026-04-22 15:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":51296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:23:32] local.INFO: GPS data processed {"connection_id":51296,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:23:32] local.INFO: Acknowledgment sent {"connection_id":51296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:23:32] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:23:32] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:23:32] local.INFO: IMEI packet received {"connection_id":50355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:23:33] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4981518012d181ec00721b090005100db2a..."} 
[2026-04-22 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4981518012d181ec00721b090005100db2a..."} 
[2026-04-22 15:23:33] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4981518012d181ec00721b090005100db2a..."} 
[2026-04-22 15:23:33] local.INFO: Packet analysis {"connection_id":50355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:23:33] local.INFO: Extracted packet for processing {"connection_id":50355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":81,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-04-22 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-22 15:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873942528001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917431931469824,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-04-22 15:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776851359000,"timestamp_ms":1776851359000,"timestamp_seconds":1776851359,"priority":1,"record_length":96,"hex_timestamp":"0000019db4981518"} 
[2026-04-22 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-22 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 15:23:33] 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-22 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-22 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-22 15:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:23:33] 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-22 15:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873942528001,"66":12461,"105":206,"83":41984,"24":0,"16":113917431931469824,"45":1738037643074113536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873942528001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:23:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917431931469824,"km_value":113917431931469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-04-22 15:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873942528001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-04-22 15:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:23:33] local.INFO: GPS data processed {"connection_id":50355,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:23:33] local.INFO: Acknowledgment sent {"connection_id":50355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:24:03] local.INFO: TCP Data received {"connection_id":51296,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:24:03] local.INFO: Processing buffer {"connection_id":51296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:24:03] local.INFO: Packet analysis {"connection_id":51296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:24:03] local.INFO: Extracted packet for processing {"connection_id":51296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763332288,"raw_latitude":95410808,"longitude_deg":76.3332288,"latitude_deg":9.5410808,"altitude":20,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d7f86c0","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-04-22 15:24: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-22 15:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873955328001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189243220353775616,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24: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-22 15:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776851390000,"timestamp_ms":1776851390000,"timestamp_seconds":1776851390,"priority":1,"record_length":96,"hex_timestamp":"0000019db4988e30"} 
[2026-04-22 15:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:24: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-22 15:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-22 15:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:24: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-22 15:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873955328001,"66":24745,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189243220353775616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873955328001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:24:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189243220353775616,"description":"Unknown IO ID 45"} 
[2026-04-22 15:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873955328001,"power":24745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189243220353775616}} 
[2026-04-22 15:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":51296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:24:03] local.INFO: GPS data processed {"connection_id":51296,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:24:03] local.INFO: Acknowledgment sent {"connection_id":51296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:24:04] local.INFO: TCP Data received {"connection_id":50355,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4986720012d181ec00721b090005100db2b..."} 
[2026-04-22 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4986720012d181ec00721b090005100db2b..."} 
[2026-04-22 15:24:04] local.INFO: Processing buffer {"connection_id":50355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4986720012d181ec00721b090005100db2b..."} 
[2026-04-22 15:24:04] local.INFO: Packet analysis {"connection_id":50355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:24:04] local.INFO: Extracted packet for processing {"connection_id":50355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":81,"angle":219,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-04-22 15:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873947904001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917431931469824,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776851380000,"timestamp_ms":1776851380000,"timestamp_seconds":1776851380,"priority":1,"record_length":96,"hex_timestamp":"0000019db4986720"} 
[2026-04-22 15:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 15:24:04] 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-22 15:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:24:04] 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-22 15:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873947904001,"66":12461,"105":206,"83":41984,"24":0,"16":113917431931469824,"45":1738037643074113536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873947904001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:24:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917431931469824,"km_value":113917431931469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-04-22 15:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873947904001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-04-22 15:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":50355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:24:05] local.INFO: GPS data processed {"connection_id":50355,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:24:05] local.INFO: Acknowledgment sent {"connection_id":50355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:24:25] local.INFO: TCP Data received {"connection_id":50357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:24:25] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:24:25] local.INFO: IMEI packet received {"connection_id":50357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":50357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:24:27] local.INFO: TCP Data received {"connection_id":50726,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:24:27] local.INFO: Processing buffer {"connection_id":50726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:24:27] local.INFO: IMEI packet received {"connection_id":50726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":50726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:24:31] local.INFO: TCP Data received {"connection_id":50357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:24:31] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:24:31] local.INFO: IMEI packet received {"connection_id":50357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":50357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:24:32] local.INFO: TCP Data received {"connection_id":50357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:24:32] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:24:32] local.INFO: Packet analysis {"connection_id":50357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:24:32] local.INFO: Extracted packet for processing {"connection_id":50357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763332288,"raw_latitude":95410808,"longitude_deg":76.3332288,"latitude_deg":9.5410808,"altitude":20,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d7f86c0","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-04-22 15:24: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-22 15:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873955328001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189243220353775616,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24: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-22 15:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851390000,"timestamp_ms":1776851390000,"timestamp_seconds":1776851390,"priority":1,"record_length":96,"hex_timestamp":"0000019db4988e30"} 
[2026-04-22 15: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-22 15:24: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-22 15: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-22 15:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:24:32] 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-22 15:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873955328001,"66":24745,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189243220353775616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873955328001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:24:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189243220353775616,"description":"Unknown IO ID 45"} 
[2026-04-22 15:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873955328001,"power":24745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189243220353775616}} 
[2026-04-22 15:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":50357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:24:32] local.INFO: GPS data processed {"connection_id":50357,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:24:32] local.INFO: Acknowledgment sent {"connection_id":50357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:24:32] local.INFO: TCP Data received {"connection_id":50726,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:24:32] local.INFO: Processing buffer {"connection_id":50726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:24:32] local.INFO: IMEI packet received {"connection_id":50726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:24:33] local.INFO: TCP Data received {"connection_id":50726,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db49be990012d181ec00721af48004d00b72c..."} 
[2026-04-22 15:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49be990012d181ec00721af48004d00b72c..."} 
[2026-04-22 15:24:33] local.INFO: Processing buffer {"connection_id":50726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49be990012d181ec00721af48004d00b72c..."} 
[2026-04-22 15:24:33] local.INFO: Packet analysis {"connection_id":50726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49b"} 
[2026-04-22 15:24:33] local.INFO: Extracted packet for processing {"connection_id":50726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49b"} 
[2026-04-22 15:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648072,"longitude_deg":75.6555456,"latitude_deg":11.9648072,"altitude":77,"angle":183,"satellites":44,"speed":3,"hex_longitude":"2d181ec0","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-04-22 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-22 15:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874007040001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917449111339008,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-04-22 15:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776851610000,"timestamp_ms":1776851610000,"timestamp_seconds":1776851610,"priority":1,"record_length":96,"hex_timestamp":"0000019db49be990"} 
[2026-04-22 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-22 15:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 15:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 15:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:24:33] 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-22 15:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874007040001,"66":14135,"105":206,"83":41984,"24":3,"16":113917449111339008,"45":1738037643074113536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874007040001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:24:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917449111339008,"km_value":113917449111339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-04-22 15:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874007040001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-04-22 15:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":50726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:24:33] local.INFO: GPS data processed {"connection_id":50726,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:24:33] local.INFO: Acknowledgment sent {"connection_id":50726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:25:03] local.INFO: TCP Data received {"connection_id":50357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:25:03] local.INFO: Processing buffer {"connection_id":50357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:25:03] local.INFO: Packet analysis {"connection_id":50357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:25:03] local.INFO: Extracted packet for processing {"connection_id":50357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763332288,"raw_latitude":95410808,"longitude_deg":76.3332288,"latitude_deg":9.5410808,"altitude":20,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d7f86c0","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873955328001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189243220353775616,"note":"Value kept but may cause issues"} 
[2026-04-22 15: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-22 15:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776851390000,"timestamp_ms":1776851390000,"timestamp_seconds":1776851390,"priority":1,"record_length":96,"hex_timestamp":"0000019db4988e30"} 
[2026-04-22 15: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-22 15: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-22 15: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-22 15:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15: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-22 15:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873955328001,"66":24745,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189243220353775616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873955328001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:25:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189243220353775616,"description":"Unknown IO ID 45"} 
[2026-04-22 15:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873955328001,"power":24745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189243220353775616}} 
[2026-04-22 15:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":50357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:25:03] local.INFO: GPS data processed {"connection_id":50357,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:25:03] local.INFO: Acknowledgment sent {"connection_id":50357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:25:05] local.INFO: TCP Data received {"connection_id":50726,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db49bf930012d181ec00721ada0004d00ac2c..."} 
[2026-04-22 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49bf930012d181ec00721ada0004d00ac2c..."} 
[2026-04-22 15:25:05] local.INFO: Processing buffer {"connection_id":50726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49bf930012d181ec00721ada0004d00ac2c..."} 
[2026-04-22 15:25:05] local.INFO: Packet analysis {"connection_id":50726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49b"} 
[2026-04-22 15:25:05] local.INFO: Extracted packet for processing {"connection_id":50726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49b"} 
[2026-04-22 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647648,"longitude_deg":75.6555456,"latitude_deg":11.9647648,"altitude":77,"angle":172,"satellites":44,"speed":4,"hex_longitude":"2d181ec0","hex_latitude":"0721ada0","is_valid_coordinates":true} 
[2026-04-22 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-22 15:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874012160001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113917470586175488,"note":"Value kept but may cause issues"} 
[2026-04-22 15:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074029568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776851614000,"timestamp_ms":1776851614000,"timestamp_seconds":1776851614,"priority":1,"record_length":96,"hex_timestamp":"0000019db49bf930"} 
[2026-04-22 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-22 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-22 15:25:05] 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-22 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-22 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-22 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:25:05] 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-22 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874012160001,"66":14157,"105":206,"83":41984,"24":4,"16":113917470586175488,"45":1738037643074029568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874012160001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:25:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113917470586175488,"km_value":113917470586175.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074029568,"description":"Unknown IO ID 45"} 
[2026-04-22 15:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874012160001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738037643074029568}} 
[2026-04-22 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":50726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:25:05] local.INFO: GPS data processed {"connection_id":50726,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:25:05] local.INFO: Acknowledgment sent {"connection_id":50726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:25:25] local.INFO: TCP Data received {"connection_id":50606,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:25:25] local.INFO: Processing buffer {"connection_id":50606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:25:25] local.INFO: IMEI packet received {"connection_id":50606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":50606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:25:29] local.INFO: TCP Data received {"connection_id":50607,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:29] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:29] local.INFO: IMEI packet received {"connection_id":50607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":50607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:25:30] local.INFO: TCP Data received {"connection_id":50607,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:30] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:30] local.INFO: IMEI packet received {"connection_id":50607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":50607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:25:31] local.INFO: TCP Data received {"connection_id":50606,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:25:31] local.INFO: Processing buffer {"connection_id":50606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:25:31] local.INFO: IMEI packet received {"connection_id":50606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":50606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:25:31] local.INFO: TCP Data received {"connection_id":50607,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:31] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:31] local.INFO: IMEI packet received {"connection_id":50607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":50607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:25:32] local.INFO: TCP Data received {"connection_id":50606,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:25:32] local.INFO: Processing buffer {"connection_id":50606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4988e30012d7f86c005afda78001400f529..."} 
[2026-04-22 15:25:32] local.INFO: Packet analysis {"connection_id":50606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:25:32] local.INFO: Extracted packet for processing {"connection_id":50606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db498"} 
[2026-04-22 15:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763332288,"raw_latitude":95410808,"longitude_deg":76.3332288,"latitude_deg":9.5410808,"altitude":20,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d7f86c0","hex_latitude":"05afda78","is_valid_coordinates":true} 
[2026-04-22 15:25: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-22 15:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873955328001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189243220353775616,"note":"Value kept but may cause issues"} 
[2026-04-22 15:25: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-22 15:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851390000,"timestamp_ms":1776851390000,"timestamp_seconds":1776851390,"priority":1,"record_length":96,"hex_timestamp":"0000019db4988e30"} 
[2026-04-22 15: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-22 15: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-22 15: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-22 15:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873955328001,"66":24745,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189243220353775616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873955328001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:25:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189243220353775616,"description":"Unknown IO ID 45"} 
[2026-04-22 15:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873955328001,"power":24745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189243220353775616}} 
[2026-04-22 15:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":50606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:25:32] local.INFO: GPS data processed {"connection_id":50606,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:25:32] local.INFO: Acknowledgment sent {"connection_id":50606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:25:32] local.INFO: TCP Data received {"connection_id":50607,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:32] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:25:32] local.INFO: IMEI packet received {"connection_id":50607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:26:02] local.INFO: TCP Data received {"connection_id":50606,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db49d31b0012d7f884005afdac8000000f52a..."} 
[2026-04-22 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49d31b0012d7f884005afdac8000000f52a..."} 
[2026-04-22 15:26:02] local.INFO: Processing buffer {"connection_id":50606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49d31b0012d7f884005afdac8000000f52a..."} 
[2026-04-22 15:26:02] local.INFO: Packet analysis {"connection_id":50606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:26:02] local.INFO: Extracted packet for processing {"connection_id":50606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95410888,"longitude_deg":76.3332672,"latitude_deg":9.5410888,"altitude":0,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afdac8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454873955840001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189243220353775616,"note":"Value kept but may cause issues"} 
[2026-04-22 15:26:02] 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-22 15:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776851694000,"timestamp_ms":1776851694000,"timestamp_seconds":1776851694,"priority":1,"record_length":96,"hex_timestamp":"0000019db49d31b0"} 
[2026-04-22 15: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-22 15:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 15:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454873955840001,"66":25321,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189243220353775616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454873955840001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:26:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189243220353775616,"description":"Unknown IO ID 45"} 
[2026-04-22 15:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454873955840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189243220353775616}} 
[2026-04-22 15:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":50606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:26:02] local.INFO: GPS data processed {"connection_id":50606,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:26:02] local.INFO: Acknowledgment sent {"connection_id":50606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:26:26] local.INFO: TCP Data received {"connection_id":50727,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:26:26] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:26:26] local.INFO: IMEI packet received {"connection_id":50727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":50727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:26:26] local.INFO: TCP Data received {"connection_id":51298,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:26:26] local.INFO: Processing buffer {"connection_id":51298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:26:26] local.INFO: IMEI packet received {"connection_id":51298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":51298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:26:31] local.INFO: TCP Data received {"connection_id":51298,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:26:31] local.INFO: Processing buffer {"connection_id":51298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:26:31] local.INFO: IMEI packet received {"connection_id":51298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":51298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:26:32] local.INFO: TCP Data received {"connection_id":51298,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db49d87a0012d7f884005afdac8000000f528..."} 
[2026-04-22 15:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49d87a0012d7f884005afdac8000000f528..."} 
[2026-04-22 15:26:32] local.INFO: Processing buffer {"connection_id":51298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49d87a0012d7f884005afdac8000000f528..."} 
[2026-04-22 15:26:32] local.INFO: Packet analysis {"connection_id":51298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:26:32] local.INFO: Extracted packet for processing {"connection_id":51298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":95410888,"longitude_deg":76.3332672,"latitude_deg":9.5410888,"altitude":0,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d7f8840","hex_latitude":"05afdac8","is_valid_coordinates":true} 
[2026-04-22 15:26: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-22 15:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874033664001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432818862080,"note":"Value kept but may cause issues"} 
[2026-04-22 15:26: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-22 15:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851716000,"timestamp_ms":1776851716000,"timestamp_seconds":1776851716,"priority":1,"record_length":96,"hex_timestamp":"0000019db49d87a0"} 
[2026-04-22 15: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-22 15: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-22 15: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 15:26: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-22 15: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-22 15: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-22 15:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874033664001,"66":25321,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189665432818862080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874033664001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:26:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432818862080,"description":"Unknown IO ID 45"} 
[2026-04-22 15:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874033664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432818862080}} 
[2026-04-22 15:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":51298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:26:32] local.INFO: GPS data processed {"connection_id":51298,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:26:32] local.INFO: Acknowledgment sent {"connection_id":51298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:26:50] local.INFO: TCP Data received {"connection_id":50728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:26:50] local.INFO: Processing buffer {"connection_id":50728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:26:50] local.INFO: IMEI packet received {"connection_id":50728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":50728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:27:03] local.INFO: TCP Data received {"connection_id":51298,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db49d9358012d7f84c005afdc280000007d29..."} 
[2026-04-22 15:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49d9358012d7f84c005afdc280000007d29..."} 
[2026-04-22 15:27:03] local.INFO: Processing buffer {"connection_id":51298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49d9358012d7f84c005afdc280000007d29..."} 
[2026-04-22 15:27:03] local.INFO: Packet analysis {"connection_id":51298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:27:03] local.INFO: Extracted packet for processing {"connection_id":51298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763331776,"raw_latitude":95411240,"longitude_deg":76.3331776,"latitude_deg":9.541124,"altitude":0,"angle":125,"satellites":41,"speed":0,"hex_longitude":"2d7f84c0","hex_latitude":"05afdc28","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874039296001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478644316209152,"note":"Value kept but may cause issues"} 
[2026-04-22 15:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665432818862080,"note":"Value kept but may cause issues"} 
[2026-04-22 15:27: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-22 15:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776851719000,"timestamp_ms":1776851719000,"timestamp_seconds":1776851719,"priority":1,"record_length":96,"hex_timestamp":"0000019db49d9358"} 
[2026-04-22 15: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-22 15:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 15:27: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-22 15: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-22 15: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-22 15:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874039296001,"66":25093,"250":206,"85":12544,"24":0,"16":278478644316209152,"45":9189665432818862080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874039296001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:27:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478644316209152,"km_value":278478644316209.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665432818862080,"description":"Unknown IO ID 45"} 
[2026-04-22 15:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874039296001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189665432818862080}} 
[2026-04-22 15:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":51298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:27:03] local.INFO: GPS data processed {"connection_id":51298,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:27:03] local.INFO: Acknowledgment sent {"connection_id":51298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:27:26] local.INFO: TCP Data received {"connection_id":50609,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:27:26] local.INFO: Processing buffer {"connection_id":50609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:27:26] local.INFO: IMEI packet received {"connection_id":50609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":50609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:27:31] local.INFO: TCP Data received {"connection_id":50609,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:27:31] local.INFO: Processing buffer {"connection_id":50609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:27:31] local.INFO: IMEI packet received {"connection_id":50609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":50609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:27:32] local.INFO: TCP Data received {"connection_id":50609,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db49de560012d7f848005afdd080000007d29..."} 
[2026-04-22 15:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49de560012d7f848005afdd080000007d29..."} 
[2026-04-22 15:27:32] local.INFO: Processing buffer {"connection_id":50609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49de560012d7f848005afdd080000007d29..."} 
[2026-04-22 15:27:32] local.INFO: Packet analysis {"connection_id":50609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:27:32] local.INFO: Extracted packet for processing {"connection_id":50609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763331712,"raw_latitude":95411464,"longitude_deg":76.3331712,"latitude_deg":9.5411464,"altitude":0,"angle":125,"satellites":41,"speed":0,"hex_longitude":"2d7f8480","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874040064001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478665791045632,"note":"Value kept but may cause issues"} 
[2026-04-22 15:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188680270400464896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:27: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-22 15:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851740000,"timestamp_ms":1776851740000,"timestamp_seconds":1776851740,"priority":1,"record_length":96,"hex_timestamp":"0000019db49de560"} 
[2026-04-22 15: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-22 15:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":5,"data_length":795,"current_offset":136} 
[2026-04-22 15:27:32] 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-22 15: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-22 15: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-22 15:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874040064001,"66":27789,"250":206,"85":12544,"24":0,"16":278478665791045632,"45":9188680270400464896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874040064001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478665791045632,"km_value":278478665791045.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188680270400464896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874040064001,"power":27789,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188680270400464896}} 
[2026-04-22 15:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":50609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:27:32] local.INFO: GPS data processed {"connection_id":50609,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:27:32] local.INFO: Acknowledgment sent {"connection_id":50609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:28:03] local.INFO: TCP Data received {"connection_id":50609,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db49de948012d7f848005afdd180000014b29..."} 
[2026-04-22 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49de948012d7f848005afdd180000014b29..."} 
[2026-04-22 15:28:03] local.INFO: Processing buffer {"connection_id":50609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49de948012d7f848005afdd180000014b29..."} 
[2026-04-22 15:28:03] local.INFO: Packet analysis {"connection_id":50609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:28:03] local.INFO: Extracted packet for processing {"connection_id":50609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49d"} 
[2026-04-22 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763331712,"raw_latitude":95411480,"longitude_deg":76.3331712,"latitude_deg":9.541148,"altitude":0,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d7f8480","hex_latitude":"05afdd18","is_valid_coordinates":true} 
[2026-04-22 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874045440001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478665791045632,"note":"Value kept but may cause issues"} 
[2026-04-22 15:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188609901656344576,"note":"Value kept but may cause issues"} 
[2026-04-22 15:28: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-22 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776851741000,"timestamp_ms":1776851741000,"timestamp_seconds":1776851741,"priority":1,"record_length":96,"hex_timestamp":"0000019db49de948"} 
[2026-04-22 15:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-22 15:28: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-22 15:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874045440001,"66":27767,"250":206,"85":12544,"24":0,"16":278478665791045632,"45":9188609901656344576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874045440001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:28:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:28:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478665791045632,"km_value":278478665791045.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188609901656344576,"description":"Unknown IO ID 45"} 
[2026-04-22 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874045440001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188609901656344576}} 
[2026-04-22 15:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":50609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:28:03] local.INFO: GPS data processed {"connection_id":50609,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:28:03] local.INFO: Acknowledgment sent {"connection_id":50609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:28:26] local.INFO: TCP Data received {"connection_id":50359,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:28:26] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:28:26] local.INFO: IMEI packet received {"connection_id":50359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":50359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:28:31] local.INFO: TCP Data received {"connection_id":50359,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:28:31] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:28:31] local.INFO: IMEI packet received {"connection_id":50359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":50359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:28:32] local.INFO: TCP Data received {"connection_id":50359,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db49e3b50012d7f840005afddc8000001492a..."} 
[2026-04-22 15:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49e3b50012d7f840005afddc8000001492a..."} 
[2026-04-22 15:28:32] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49e3b50012d7f840005afddc8000001492a..."} 
[2026-04-22 15:28:32] local.INFO: Packet analysis {"connection_id":50359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49e"} 
[2026-04-22 15:28:32] local.INFO: Extracted packet for processing {"connection_id":50359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49e"} 
[2026-04-22 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763331584,"raw_latitude":95411656,"longitude_deg":76.3331584,"latitude_deg":9.5411656,"altitude":0,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8400","hex_latitude":"05afddc8","is_valid_coordinates":true} 
[2026-04-22 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-22 15:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874045696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478682970914816,"note":"Value kept but may cause issues"} 
[2026-04-22 15:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188609901656348672,"note":"Value kept but may cause issues"} 
[2026-04-22 15:28: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-22 15:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851762000,"timestamp_ms":1776851762000,"timestamp_seconds":1776851762,"priority":1,"record_length":96,"hex_timestamp":"0000019db49e3b50"} 
[2026-04-22 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-22 15:28: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-22 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-22 15:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 15:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:28:32] 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-22 15:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874045696001,"66":27865,"250":206,"85":12544,"24":0,"16":278478682970914816,"45":9188609901656348672},"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-22 15:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874045696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:28:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478682970914816,"km_value":278478682970914.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188609901656348672,"description":"Unknown IO ID 45"} 
[2026-04-22 15:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874045696001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188609901656348672}} 
[2026-04-22 15:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":50359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:28:32] local.INFO: GPS data processed {"connection_id":50359,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:28:32] local.INFO: Acknowledgment sent {"connection_id":50359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:29:03] local.INFO: TCP Data received {"connection_id":50359,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db49e8d58012d7f84c005afddd8000001492b..."} 
[2026-04-22 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49e8d58012d7f84c005afddd8000001492b..."} 
[2026-04-22 15:29:03] local.INFO: Processing buffer {"connection_id":50359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49e8d58012d7f84c005afddd8000001492b..."} 
[2026-04-22 15:29:03] local.INFO: Packet analysis {"connection_id":50359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49e"} 
[2026-04-22 15:29:03] local.INFO: Extracted packet for processing {"connection_id":50359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49e"} 
[2026-04-22 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763331776,"raw_latitude":95411672,"longitude_deg":76.3331776,"latitude_deg":9.5411672,"altitude":0,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d7f84c0","hex_latitude":"05afddd8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874051072001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478691560849408,"note":"Value kept but may cause issues"} 
[2026-04-22 15:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188469164168038400,"note":"Value kept but may cause issues"} 
[2026-04-22 15:29: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-22 15:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776851783000,"timestamp_ms":1776851783000,"timestamp_seconds":1776851783,"priority":1,"record_length":96,"hex_timestamp":"0000019db49e8d58"} 
[2026-04-22 15: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-22 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15: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-22 15: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-22 15: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-22 15:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:29: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-22 15:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874051072001,"66":27800,"250":206,"85":12544,"24":0,"16":278478691560849408,"45":9188469164168038400},"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-22 15:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874051072001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:29:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:29:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478691560849408,"km_value":278478691560849.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188469164168038400,"description":"Unknown IO ID 45"} 
[2026-04-22 15:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874051072001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188469164168038400}} 
[2026-04-22 15:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":50359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:29:03] local.INFO: GPS data processed {"connection_id":50359,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:29:03] local.INFO: Acknowledgment sent {"connection_id":50359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:29:25] local.INFO: TCP Data received {"connection_id":51299,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:29:25] local.INFO: Processing buffer {"connection_id":51299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:29:25] local.INFO: IMEI packet received {"connection_id":51299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":51299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:29:31] local.INFO: TCP Data received {"connection_id":51299,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:29:31] local.INFO: Processing buffer {"connection_id":51299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:29:31] local.INFO: IMEI packet received {"connection_id":51299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":51299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:29:32] local.INFO: TCP Data received {"connection_id":51299,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db49edf60012d7f854005afde30000001492a..."} 
[2026-04-22 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49edf60012d7f854005afde30000001492a..."} 
[2026-04-22 15:29:32] local.INFO: Processing buffer {"connection_id":51299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49edf60012d7f854005afde30000001492a..."} 
[2026-04-22 15:29:32] local.INFO: Packet analysis {"connection_id":51299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49e"} 
[2026-04-22 15:29:32] local.INFO: Extracted packet for processing {"connection_id":51299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49e"} 
[2026-04-22 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763331904,"raw_latitude":95411760,"longitude_deg":76.3331904,"latitude_deg":9.541176,"altitude":0,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8540","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874056448001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478704445751296,"note":"Value kept but may cause issues"} 
[2026-04-22 15:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188680270400575488,"note":"Value kept but may cause issues"} 
[2026-04-22 15:29: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-22 15:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851804000,"timestamp_ms":1776851804000,"timestamp_seconds":1776851804,"priority":1,"record_length":96,"hex_timestamp":"0000019db49edf60"} 
[2026-04-22 15: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-22 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 15:29: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-22 15: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-22 15: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-22 15:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874056448001,"66":27767,"250":206,"85":12544,"24":0,"16":278478704445751296,"45":9188680270400575488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874056448001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:29:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478704445751296,"km_value":278478704445751.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188680270400575488,"description":"Unknown IO ID 45"} 
[2026-04-22 15:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874056448001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188680270400575488}} 
[2026-04-22 15:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":51299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:29:32] local.INFO: GPS data processed {"connection_id":51299,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:29:32] local.INFO: Acknowledgment sent {"connection_id":51299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:30:03] local.INFO: TCP Data received {"connection_id":51299,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db49f3168012d7f85c005afde08000001492a..."} 
[2026-04-22 15:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49f3168012d7f85c005afde08000001492a..."} 
[2026-04-22 15:30:03] local.INFO: Processing buffer {"connection_id":51299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49f3168012d7f85c005afde08000001492a..."} 
[2026-04-22 15:30:03] local.INFO: Packet analysis {"connection_id":51299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:30:03] local.INFO: Extracted packet for processing {"connection_id":51299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763332032,"raw_latitude":95411720,"longitude_deg":76.3332032,"latitude_deg":9.541172,"altitude":0,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f85c0","hex_latitude":"05afde08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874061824001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478713035685888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188821007888953344,"note":"Value kept but may cause issues"} 
[2026-04-22 15:30: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-22 15:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776851825000,"timestamp_ms":1776851825000,"timestamp_seconds":1776851825,"priority":1,"record_length":96,"hex_timestamp":"0000019db49f3168"} 
[2026-04-22 15: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-22 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-22 15:30: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-22 15: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-22 15: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-22 15:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874061824001,"66":27876,"250":206,"85":12544,"24":0,"16":278478713035685888,"45":9188821007888953344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874061824001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:30:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:30:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478713035685888,"km_value":278478713035685.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188821007888953344,"description":"Unknown IO ID 45"} 
[2026-04-22 15:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874061824001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188821007888953344}} 
[2026-04-22 15:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":51299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:30:03] local.INFO: GPS data processed {"connection_id":51299,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:30:03] local.INFO: Acknowledgment sent {"connection_id":51299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:30:25] local.INFO: TCP Data received {"connection_id":50732,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:30:25] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:30:25] local.INFO: IMEI packet received {"connection_id":50732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":50732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:30:31] local.INFO: TCP Data received {"connection_id":50732,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:30:31] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:30:31] local.INFO: IMEI packet received {"connection_id":50732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":50732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:30:32] local.INFO: TCP Data received {"connection_id":50732,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:30:32] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:30:32] local.INFO: Packet analysis {"connection_id":50732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:30:32] local.INFO: Extracted packet for processing {"connection_id":50732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411632,"longitude_deg":76.3332224,"latitude_deg":9.5411632,"altitude":0,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-04-22 15:30: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-22 15:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874067200001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188961745377298432,"note":"Value kept but may cause issues"} 
[2026-04-22 15:30: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-22 15:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851835000,"timestamp_ms":1776851835000,"timestamp_seconds":1776851835,"priority":1,"record_length":96,"hex_timestamp":"0000019db49f5878"} 
[2026-04-22 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-22 15:30: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-22 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-22 15:30: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-22 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-22 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-22 15:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874067200001,"66":28028,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9188961745377298432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874067200001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:30:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188961745377298432,"description":"Unknown IO ID 45"} 
[2026-04-22 15:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874067200001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188961745377298432}} 
[2026-04-22 15:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":50732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:30:32] local.INFO: GPS data processed {"connection_id":50732,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:30:32] local.INFO: Acknowledgment sent {"connection_id":50732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:30:37] local.INFO: TCP Data received {"connection_id":50731,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:30:37] local.INFO: Processing buffer {"connection_id":50731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:30:37] local.INFO: IMEI packet received {"connection_id":50731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":50731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:30:38] local.INFO: TCP Data received {"connection_id":50731,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db49ecfc0012d1990c00720a250003e01002a..."} 
[2026-04-22 15:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49ecfc0012d1990c00720a250003e01002a..."} 
[2026-04-22 15:30:38] local.INFO: Processing buffer {"connection_id":50731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49ecfc0012d1990c00720a250003e01002a..."} 
[2026-04-22 15:30:38] local.INFO: Packet analysis {"connection_id":50731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49e"} 
[2026-04-22 15:30:38] local.INFO: Extracted packet for processing {"connection_id":50731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49e"} 
[2026-04-22 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756650176,"raw_latitude":119579216,"longitude_deg":75.6650176,"latitude_deg":11.9579216,"altitude":62,"angle":256,"satellites":42,"speed":7,"hex_longitude":"2d1990c0","hex_latitude":"0720a250","is_valid_coordinates":true} 
[2026-04-22 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874060544001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113923870087446528,"note":"Value kept but may cause issues"} 
[2026-04-22 15:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842324121927725056,"note":"Value kept but may cause issues"} 
[2026-04-22 15:30: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-22 15:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776851800000,"timestamp_ms":1776851800000,"timestamp_seconds":1776851800,"priority":1,"record_length":96,"hex_timestamp":"0000019db49ecfc0"} 
[2026-04-22 15:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-22 15:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:30:38] 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-22 15:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874060544001,"66":14450,"107":206,"83":41984,"24":7,"16":113923870087446528,"45":1842324121927725056},"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-22 15:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874060544001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:30:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-22 15:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113923870087446528,"km_value":113923870087446.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842324121927725056,"description":"Unknown IO ID 45"} 
[2026-04-22 15:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874060544001,"power":14450,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1842324121927725056}} 
[2026-04-22 15:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":50731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:30:38] local.INFO: GPS data processed {"connection_id":50731,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:30:38] local.INFO: Acknowledgment sent {"connection_id":50731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:31:03] local.INFO: TCP Data received {"connection_id":50732,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:31:03] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:31:03] local.INFO: Packet analysis {"connection_id":50732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:31:03] local.INFO: Extracted packet for processing {"connection_id":50732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411632,"longitude_deg":76.3332224,"latitude_deg":9.5411632,"altitude":0,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-04-22 15:31: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-22 15:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874067200001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188961745377298432,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31: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-22 15:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776851835000,"timestamp_ms":1776851835000,"timestamp_seconds":1776851835,"priority":1,"record_length":96,"hex_timestamp":"0000019db49f5878"} 
[2026-04-22 15:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:31: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-22 15:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-22 15:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:31: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-22 15:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874067200001,"66":28028,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9188961745377298432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874067200001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:31:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188961745377298432,"description":"Unknown IO ID 45"} 
[2026-04-22 15:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874067200001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188961745377298432}} 
[2026-04-22 15:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":50732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:31:03] local.INFO: GPS data processed {"connection_id":50732,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:31:03] local.INFO: Acknowledgment sent {"connection_id":50732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:31:09] local.INFO: TCP Data received {"connection_id":50731,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a21798012d198f800720a4e8003f000628..."} 
[2026-04-22 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a21798012d198f800720a4e8003f000628..."} 
[2026-04-22 15:31:09] local.INFO: Processing buffer {"connection_id":50731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a21798012d198f800720a4e8003f000628..."} 
[2026-04-22 15:31:09] local.INFO: Packet analysis {"connection_id":50731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a2"} 
[2026-04-22 15:31:09] local.INFO: Extracted packet for processing {"connection_id":50731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a2"} 
[2026-04-22 15:31:09] local.INFO: GPS Element Parsed {"raw_longitude":756649856,"raw_latitude":119579880,"longitude_deg":75.6649856,"latitude_deg":11.957988,"altitude":63,"angle":6,"satellites":40,"speed":8,"hex_longitude":"2d198f80","hex_latitude":"0720a4e8","is_valid_coordinates":true} 
[2026-04-22 15:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874115328001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113923925922021376,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841761171974352896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776852015000,"timestamp_ms":1776852015000,"timestamp_seconds":1776852015,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a21798"} 
[2026-04-22 15:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 15:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:31:09] 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-22 15:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874115328001,"66":13906,"106":206,"83":41984,"24":8,"16":113923925922021376,"45":1841761171974352896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874115328001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:31:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113923925922021376,"km_value":113923925922021.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841761171974352896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874115328001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1841761171974352896}} 
[2026-04-22 15:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":50731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:31:09] local.INFO: GPS data processed {"connection_id":50731,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:31:09] local.INFO: Acknowledgment sent {"connection_id":50731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:31:27] local.INFO: TCP Data received {"connection_id":51301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:31:27] local.INFO: Processing buffer {"connection_id":51301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:31:27] local.INFO: IMEI packet received {"connection_id":51301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":51301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:31:30] local.INFO: TCP Data received {"connection_id":51301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:31:30] local.INFO: Processing buffer {"connection_id":51301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:31:30] local.INFO: IMEI packet received {"connection_id":51301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":51301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:31:31] local.INFO: TCP Data received {"connection_id":51302,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:31:31] local.INFO: Processing buffer {"connection_id":51302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:31:31] local.INFO: IMEI packet received {"connection_id":51302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":51302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:31:32] local.INFO: TCP Data received {"connection_id":51301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:31:32] local.INFO: Processing buffer {"connection_id":51301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:31:32] local.INFO: IMEI packet received {"connection_id":51301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":51301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:31:34] local.INFO: TCP Data received {"connection_id":51301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a23ac0012d1991000720ace0003e001327..."} 
[2026-04-22 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a23ac0012d1991000720ace0003e001327..."} 
[2026-04-22 15:31:34] local.INFO: Processing buffer {"connection_id":51301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a23ac0012d1991000720ace0003e001327..."} 
[2026-04-22 15:31:34] local.INFO: Packet analysis {"connection_id":51301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a2"} 
[2026-04-22 15:31:34] local.INFO: Extracted packet for processing {"connection_id":51301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a2"} 
[2026-04-22 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756650240,"raw_latitude":119581920,"longitude_deg":75.665024,"latitude_deg":11.958192,"altitude":62,"angle":19,"satellites":39,"speed":8,"hex_longitude":"2d199100","hex_latitude":"0720ace0","is_valid_coordinates":true} 
[2026-04-22 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874115840001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113924029001236480,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841831540718626816,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31: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-22 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776852024000,"timestamp_ms":1776852024000,"timestamp_seconds":1776852024,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a23ac0"} 
[2026-04-22 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-22 15:31:34] 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-22 15:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:31:34] 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-22 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874115840001,"66":13863,"106":206,"83":41984,"24":8,"16":113924029001236480,"45":1841831540718626816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874115840001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:31:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113924029001236480,"km_value":113924029001236.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841831540718626816,"description":"Unknown IO ID 45"} 
[2026-04-22 15:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874115840001,"power":13863,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1841831540718626816}} 
[2026-04-22 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":51301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:31:34] local.INFO: GPS data processed {"connection_id":51301,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:31:34] local.INFO: Acknowledgment sent {"connection_id":51301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:31:36] local.INFO: TCP Data received {"connection_id":51302,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:31:36] local.INFO: Processing buffer {"connection_id":51302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:31:36] local.INFO: IMEI packet received {"connection_id":51302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":51302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:31:37] local.INFO: TCP Data received {"connection_id":51302,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:31:37] local.INFO: Processing buffer {"connection_id":51302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:31:37] local.INFO: Packet analysis {"connection_id":51302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:31:37] local.INFO: Extracted packet for processing {"connection_id":51302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411632,"longitude_deg":76.3332224,"latitude_deg":9.5411632,"altitude":0,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-04-22 15:31: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-22 15:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874067200001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188961745377298432,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:37] 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-22 15:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776851835000,"timestamp_ms":1776851835000,"timestamp_seconds":1776851835,"priority":1,"record_length":96,"hex_timestamp":"0000019db49f5878"} 
[2026-04-22 15:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:31: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-22 15:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-22 15:31: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-22 15:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:31:37] 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-22 15:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874067200001,"66":28028,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9188961745377298432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874067200001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:31:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188961745377298432,"description":"Unknown IO ID 45"} 
[2026-04-22 15:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874067200001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188961745377298432}} 
[2026-04-22 15:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":51302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:31:37] local.INFO: GPS data processed {"connection_id":51302,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:31:37] local.INFO: Acknowledgment sent {"connection_id":51302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:31:41] local.INFO: TCP Data received {"connection_id":51302,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:31:41] local.INFO: Processing buffer {"connection_id":51302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:31:41] local.INFO: Packet analysis {"connection_id":51302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:31:41] local.INFO: Extracted packet for processing {"connection_id":51302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411632,"longitude_deg":76.3332224,"latitude_deg":9.5411632,"altitude":0,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-04-22 15:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874067200001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188961745377298432,"note":"Value kept but may cause issues"} 
[2026-04-22 15:31:41] 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-22 15:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776851835000,"timestamp_ms":1776851835000,"timestamp_seconds":1776851835,"priority":1,"record_length":96,"hex_timestamp":"0000019db49f5878"} 
[2026-04-22 15:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:31: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-22 15:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-22 15:31:41] 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-22 15:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:31:41] 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-22 15:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874067200001,"66":28028,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9188961745377298432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874067200001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:31:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188961745377298432,"description":"Unknown IO ID 45"} 
[2026-04-22 15:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874067200001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188961745377298432}} 
[2026-04-22 15:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":51302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:31:41] local.INFO: GPS data processed {"connection_id":51302,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:31:41] local.INFO: Acknowledgment sent {"connection_id":51302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:32:05] local.INFO: TCP Data received {"connection_id":51301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a2f258012d19534007209e80003200f027..."} 
[2026-04-22 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a2f258012d19534007209e80003200f027..."} 
[2026-04-22 15:32:05] local.INFO: Processing buffer {"connection_id":51301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a2f258012d19534007209e80003200f027..."} 
[2026-04-22 15:32:05] local.INFO: Packet analysis {"connection_id":51301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a2"} 
[2026-04-22 15:32:05] local.INFO: Extracted packet for processing {"connection_id":51301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a2"} 
[2026-04-22 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119578240,"longitude_deg":75.6634432,"latitude_deg":11.957824,"altitude":50,"angle":240,"satellites":39,"speed":10,"hex_longitude":"2d195340","hex_latitude":"07209e80","is_valid_coordinates":true} 
[2026-04-22 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874129152001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113924952419205120,"note":"Value kept but may cause issues"} 
[2026-04-22 15:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826209679510845440,"note":"Value kept but may cause issues"} 
[2026-04-22 15:32: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-22 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776852071000,"timestamp_ms":1776852071000,"timestamp_seconds":1776852071,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a2f258"} 
[2026-04-22 15:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:32:05] 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-22 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 15:32:05] 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-22 15:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:32:05] 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-22 15:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874129152001,"66":14374,"106":206,"83":41984,"24":10,"16":113924952419205120,"45":1826209679510845440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874129152001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:32:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113924952419205120,"km_value":113924952419205.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826209679510845440,"description":"Unknown IO ID 45"} 
[2026-04-22 15:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874129152001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1826209679510845440}} 
[2026-04-22 15:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":51301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:32:05] local.INFO: GPS data processed {"connection_id":51301,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:32:05] local.INFO: Acknowledgment sent {"connection_id":51301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:32:05] local.INFO: TCP Data received {"connection_id":50361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:32:05] local.INFO: Processing buffer {"connection_id":50361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:32:05] local.INFO: IMEI packet received {"connection_id":50361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":50361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:32:26] local.INFO: TCP Data received {"connection_id":50733,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:32:26] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:32:26] local.INFO: IMEI packet received {"connection_id":50733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":50733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:32:27] local.INFO: TCP Data received {"connection_id":50612,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:32:27] local.INFO: Processing buffer {"connection_id":50612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:32:27] local.INFO: IMEI packet received {"connection_id":50612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":50612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:32:31] local.INFO: TCP Data received {"connection_id":50733,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:32:31] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:32:31] local.INFO: IMEI packet received {"connection_id":50733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":50733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:32:32] local.INFO: TCP Data received {"connection_id":50733,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:32:32] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db49f5878012d7f868005afddb0000001492a..."} 
[2026-04-22 15:32:32] local.INFO: Packet analysis {"connection_id":50733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:32:32] local.INFO: Extracted packet for processing {"connection_id":50733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db49f"} 
[2026-04-22 15:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411632,"longitude_deg":76.3332224,"latitude_deg":9.5411632,"altitude":0,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afddb0","is_valid_coordinates":true} 
[2026-04-22 15:32: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-22 15:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874067200001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188961745377298432,"note":"Value kept but may cause issues"} 
[2026-04-22 15:32: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-22 15:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776851835000,"timestamp_ms":1776851835000,"timestamp_seconds":1776851835,"priority":1,"record_length":96,"hex_timestamp":"0000019db49f5878"} 
[2026-04-22 15: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-22 15:32: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-22 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-22 15:32: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-22 15: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-22 15: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-22 15:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:32:32] 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-22 15:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874067200001,"66":28028,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9188961745377298432},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874067200001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:32:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188961745377298432,"description":"Unknown IO ID 45"} 
[2026-04-22 15:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874067200001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9188961745377298432}} 
[2026-04-22 15:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":50733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:32:32] local.INFO: GPS data processed {"connection_id":50733,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:32:32] local.INFO: Acknowledgment sent {"connection_id":50733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:32:32] local.INFO: TCP Data received {"connection_id":50612,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:32:32] local.INFO: Processing buffer {"connection_id":50612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:32:32] local.INFO: IMEI packet received {"connection_id":50612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:32:33] local.INFO: TCP Data received {"connection_id":50612,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a2fa28012d19520007209da8003200e326..."} 
[2026-04-22 15:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a2fa28012d19520007209da8003200e326..."} 
[2026-04-22 15:32:33] local.INFO: Processing buffer {"connection_id":50612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a2fa28012d19520007209da8003200e326..."} 
[2026-04-22 15:32:33] local.INFO: Packet analysis {"connection_id":50612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a2"} 
[2026-04-22 15:32:33] local.INFO: Extracted packet for processing {"connection_id":50612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a2"} 
[2026-04-22 15:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119578024,"longitude_deg":75.6634112,"latitude_deg":11.9578024,"altitude":50,"angle":227,"satellites":38,"speed":6,"hex_longitude":"2d195200","hex_latitude":"07209da8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874130176001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113924969599074304,"note":"Value kept but may cause issues"} 
[2026-04-22 15:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673371389952,"note":"Value kept but may cause issues"} 
[2026-04-22 15:32: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-22 15:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852073000,"timestamp_ms":1776852073000,"timestamp_seconds":1776852073,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a2fa28"} 
[2026-04-22 15: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-22 15:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 15:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:32:33] 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-22 15:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874130176001,"66":14363,"106":206,"83":41984,"24":6,"16":113924969599074304,"45":1824872673371389952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874130176001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:32:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113924969599074304,"km_value":113924969599074.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673371389952,"description":"Unknown IO ID 45"} 
[2026-04-22 15:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874130176001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1824872673371389952}} 
[2026-04-22 15:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:32:33] local.INFO: GPS data processed {"connection_id":50612,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:32:33] local.INFO: Acknowledgment sent {"connection_id":50612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:32:50] local.INFO: TCP Data received {"connection_id":50362,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:32:50] local.INFO: Processing buffer {"connection_id":50362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:32:50] local.INFO: IMEI packet received {"connection_id":50362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":50362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:33:02] local.INFO: TCP Data received {"connection_id":50733,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:33:02] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:33:02] local.INFO: Packet analysis {"connection_id":50733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:33:02] local.INFO: Extracted packet for processing {"connection_id":50733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:02] 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-22 15:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:33: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-22 15:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:33:02] 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-22 15:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:33:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":50733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:33:02] local.INFO: GPS data processed {"connection_id":50733,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:33:02] local.INFO: Acknowledgment sent {"connection_id":50733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:33:04] local.INFO: TCP Data received {"connection_id":50612,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a32908012d19504007209b98003200cb24..."} 
[2026-04-22 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a32908012d19504007209b98003200cb24..."} 
[2026-04-22 15:33:04] local.INFO: Processing buffer {"connection_id":50612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a32908012d19504007209b98003200cb24..."} 
[2026-04-22 15:33:04] local.INFO: Packet analysis {"connection_id":50612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:33:04] local.INFO: Extracted packet for processing {"connection_id":50612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119577496,"longitude_deg":75.6633664,"latitude_deg":11.9577496,"altitude":50,"angle":203,"satellites":36,"speed":9,"hex_longitude":"2d195040","hex_latitude":"07209b98","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874130688001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113925008253779968,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829650446336,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33: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-22 15:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776852085000,"timestamp_ms":1776852085000,"timestamp_seconds":1776852085,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a32908"} 
[2026-04-22 15: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-22 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 15:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:33:04] 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-22 15:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874130688001,"66":14461,"106":206,"83":41984,"24":9,"16":113925008253779968,"45":1824520829650446336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874130688001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:33:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113925008253779968,"km_value":113925008253779.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829650446336,"description":"Unknown IO ID 45"} 
[2026-04-22 15:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874130688001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1824520829650446336}} 
[2026-04-22 15:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:33:04] local.INFO: GPS data processed {"connection_id":50612,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:33:04] local.INFO: Acknowledgment sent {"connection_id":50612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:33:26] local.INFO: TCP Data received {"connection_id":50735,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:33:26] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:33:26] local.INFO: IMEI packet received {"connection_id":50735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":50735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:33:27] local.INFO: TCP Data received {"connection_id":50613,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:33:27] local.INFO: Processing buffer {"connection_id":50613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:33:27] local.INFO: IMEI packet received {"connection_id":50613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:33:31] local.INFO: TCP Data received {"connection_id":50735,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:33:31] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:33:31] local.INFO: IMEI packet received {"connection_id":50735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":50735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:33:32] local.INFO: TCP Data received {"connection_id":50613,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:33:32] local.INFO: Processing buffer {"connection_id":50613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:33:32] local.INFO: IMEI packet received {"connection_id":50613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:33:33] local.INFO: TCP Data received {"connection_id":50613,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a42308012d196d00072065f8002b013928..."} 
[2026-04-22 15:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a42308012d196d00072065f8002b013928..."} 
[2026-04-22 15:33:33] local.INFO: Processing buffer {"connection_id":50613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a42308012d196d00072065f8002b013928..."} 
[2026-04-22 15:33:33] local.INFO: Packet analysis {"connection_id":50613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a4"} 
[2026-04-22 15:33:33] local.INFO: Extracted packet for processing {"connection_id":50613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a4"} 
[2026-04-22 15:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119563768,"longitude_deg":75.6641024,"latitude_deg":11.9563768,"altitude":43,"angle":313,"satellites":40,"speed":3,"hex_longitude":"2d196d00","hex_latitude":"072065f8","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874149888001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113925828592533504,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832191022762147840,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33: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-22 15:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852149000,"timestamp_ms":1776852149000,"timestamp_seconds":1776852149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a42308"} 
[2026-04-22 15: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-22 15:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 15:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:33:33] 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-22 15:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874149888001,"66":14298,"106":206,"83":41984,"24":3,"16":113925828592533504,"45":1832191022762147840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874149888001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:33:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113925828592533504,"km_value":113925828592533.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832191022762147840,"description":"Unknown IO ID 45"} 
[2026-04-22 15:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874149888001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1832191022762147840}} 
[2026-04-22 15:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":50613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:33:33] local.INFO: GPS data processed {"connection_id":50613,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:33:33] local.INFO: Acknowledgment sent {"connection_id":50613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:33:37] local.INFO: TCP Data received {"connection_id":50735,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:33:37] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:33:37] local.INFO: Packet analysis {"connection_id":50735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:33:37] local.INFO: Extracted packet for processing {"connection_id":50735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:33:37] 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-22 15:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:33: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-22 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:33:37] 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-22 15:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:33:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":50735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:33:37] local.INFO: GPS data processed {"connection_id":50735,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:33:37] local.INFO: Acknowledgment sent {"connection_id":50735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:34:06] local.INFO: TCP Data received {"connection_id":50613,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a4daa0012d195bc007202fd8003900db27..."} 
[2026-04-22 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a4daa0012d195bc007202fd8003900db27..."} 
[2026-04-22 15:34:06] local.INFO: Processing buffer {"connection_id":50613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a4daa0012d195bc007202fd8003900db27..."} 
[2026-04-22 15:34:06] local.INFO: Packet analysis {"connection_id":50613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a4"} 
[2026-04-22 15:34:06] local.INFO: Extracted packet for processing {"connection_id":50613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a4"} 
[2026-04-22 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756636608,"raw_latitude":119549912,"longitude_deg":75.6636608,"latitude_deg":11.9549912,"altitude":57,"angle":219,"satellites":39,"speed":11,"hex_longitude":"2d195bc0","hex_latitude":"07202fd8","is_valid_coordinates":true} 
[2026-04-22 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874161920001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113926648931287040,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827476316898781184,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34: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-22 15:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776852196000,"timestamp_ms":1776852196000,"timestamp_seconds":1776852196,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a4daa0"} 
[2026-04-22 15:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-22 15:34:06] 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-22 15:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874161920001,"66":13939,"106":206,"83":41984,"24":11,"16":113926648931287040,"45":1827476316898781184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874161920001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:34:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113926648931287040,"km_value":113926648931287.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827476316898781184,"description":"Unknown IO ID 45"} 
[2026-04-22 15:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874161920001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1827476316898781184}} 
[2026-04-22 15:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":50613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:34:06] local.INFO: GPS data processed {"connection_id":50613,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:34:06] local.INFO: Acknowledgment sent {"connection_id":50613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:34:08] local.INFO: TCP Data received {"connection_id":50735,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:34:08] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:34:08] local.INFO: Packet analysis {"connection_id":50735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:34:08] local.INFO: Extracted packet for processing {"connection_id":50735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34: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-22 15:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:34: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-22 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:34:08] 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-22 15:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:34:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":50735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:34:08] local.INFO: GPS data processed {"connection_id":50735,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:34:08] local.INFO: Acknowledgment sent {"connection_id":50735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:34:26] local.INFO: TCP Data received {"connection_id":51303,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:34:26] local.INFO: Processing buffer {"connection_id":51303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:34:26] local.INFO: IMEI packet received {"connection_id":51303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":51303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:34:27] local.INFO: TCP Data received {"connection_id":50614,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:34:27] local.INFO: Processing buffer {"connection_id":50614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:34:27] local.INFO: IMEI packet received {"connection_id":50614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:34:31] local.INFO: TCP Data received {"connection_id":51303,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:34:31] local.INFO: Processing buffer {"connection_id":51303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:34:31] local.INFO: IMEI packet received {"connection_id":51303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":51303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:34:32] local.INFO: TCP Data received {"connection_id":51303,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:34:32] local.INFO: Processing buffer {"connection_id":51303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:34:32] local.INFO: Packet analysis {"connection_id":51303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:34:32] local.INFO: Extracted packet for processing {"connection_id":51303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34: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-22 15:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15: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-22 15: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-22 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:34: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-22 15:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:34:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":51303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:34:32] local.INFO: GPS data processed {"connection_id":51303,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:34:32] local.INFO: Acknowledgment sent {"connection_id":51303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:34:32] local.INFO: TCP Data received {"connection_id":50614,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:34:32] local.INFO: Processing buffer {"connection_id":50614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:34:32] local.INFO: IMEI packet received {"connection_id":50614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:34:33] local.INFO: TCP Data received {"connection_id":50614,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a4de88012d195b4007202ed0003900c524..."} 
[2026-04-22 15:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a4de88012d195b4007202ed0003900c524..."} 
[2026-04-22 15:34:33] local.INFO: Processing buffer {"connection_id":50614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a4de88012d195b4007202ed0003900c524..."} 
[2026-04-22 15:34:33] local.INFO: Packet analysis {"connection_id":50614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a4"} 
[2026-04-22 15:34:33] local.INFO: Extracted packet for processing {"connection_id":50614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a4"} 
[2026-04-22 15:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756636480,"raw_latitude":119549648,"longitude_deg":75.663648,"latitude_deg":11.9549648,"altitude":57,"angle":197,"satellites":36,"speed":10,"hex_longitude":"2d195b40","hex_latitude":"07202ed0","is_valid_coordinates":true} 
[2026-04-22 15:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874162176001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113926661816188928,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827265210666178560,"note":"Value kept but may cause issues"} 
[2026-04-22 15:34: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-22 15:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852197000,"timestamp_ms":1776852197000,"timestamp_seconds":1776852197,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a4de88"} 
[2026-04-22 15:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-22 15:34:33] 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-22 15:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:34:33] 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-22 15:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874162176001,"66":13939,"106":206,"83":41984,"24":10,"16":113926661816188928,"45":1827265210666178560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874162176001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:34:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113926661816188928,"km_value":113926661816188.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827265210666178560,"description":"Unknown IO ID 45"} 
[2026-04-22 15:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874162176001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1827265210666178560}} 
[2026-04-22 15:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:34:33] local.INFO: GPS data processed {"connection_id":50614,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:34:33] local.INFO: Acknowledgment sent {"connection_id":50614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:35:03] local.INFO: TCP Data received {"connection_id":51303,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:35:03] local.INFO: Processing buffer {"connection_id":51303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:35:03] local.INFO: Packet analysis {"connection_id":51303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:35:03] local.INFO: Extracted packet for processing {"connection_id":51303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35: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-22 15:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15: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-22 15:35: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-22 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:35: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-22 15:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:35:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":51303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:35:03] local.INFO: GPS data processed {"connection_id":51303,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:35:03] local.INFO: Acknowledgment sent {"connection_id":51303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:35:04] local.INFO: TCP Data received {"connection_id":50614,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a5dc70012d19264007200a200039014926..."} 
[2026-04-22 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a5dc70012d19264007200a200039014926..."} 
[2026-04-22 15:35:04] local.INFO: Processing buffer {"connection_id":50614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a5dc70012d19264007200a200039014926..."} 
[2026-04-22 15:35:04] local.INFO: Packet analysis {"connection_id":50614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a5"} 
[2026-04-22 15:35:04] local.INFO: Extracted packet for processing {"connection_id":50614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a5"} 
[2026-04-22 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756622912,"raw_latitude":119540256,"longitude_deg":75.6622912,"latitude_deg":11.9540256,"altitude":57,"angle":329,"satellites":38,"speed":15,"hex_longitude":"2d192640","hex_latitude":"07200a20","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874178304001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113927988961083392,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812417405641897984,"note":"Value kept but may cause issues"} 
[2026-04-22 15: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-22 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776852262000,"timestamp_ms":1776852262000,"timestamp_seconds":1776852262,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a5dc70"} 
[2026-04-22 15: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-22 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-22 15:35: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-22 15: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-22 15: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-22 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:35:04] 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-22 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874178304001,"66":14396,"106":206,"83":41984,"24":15,"16":113927988961083392,"45":1812417405641897984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874178304001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:35:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113927988961083392,"km_value":113927988961083.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812417405641897984,"description":"Unknown IO ID 45"} 
[2026-04-22 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874178304001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1812417405641897984}} 
[2026-04-22 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:35:04] local.INFO: GPS data processed {"connection_id":50614,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:35:04] local.INFO: Acknowledgment sent {"connection_id":50614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:35:25] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:35:25] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:35:25] local.INFO: IMEI packet received {"connection_id":50364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":50364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:35:31] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:35:31] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:35:31] local.INFO: IMEI packet received {"connection_id":50364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":50364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:35:32] local.INFO: TCP Data received {"connection_id":50736,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:32] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:32] local.INFO: IMEI packet received {"connection_id":50736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:35:32] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:35:32] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:35:32] local.INFO: Packet analysis {"connection_id":50364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:35:32] local.INFO: Extracted packet for processing {"connection_id":50364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35: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-22 15:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15: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-22 15:35: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-22 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:35: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-22 15:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:35:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":50364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:35:32] local.INFO: GPS data processed {"connection_id":50364,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:35:32] local.INFO: Acknowledgment sent {"connection_id":50364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:35:32] local.INFO: TCP Data received {"connection_id":50736,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:32] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:32] local.INFO: IMEI packet received {"connection_id":50736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:35:32] local.INFO: TCP Data received {"connection_id":50736,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:33] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:33] local.INFO: IMEI packet received {"connection_id":50736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":50736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:35:33] local.INFO: TCP Data received {"connection_id":50736,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:33] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:35:33] local.INFO: IMEI packet received {"connection_id":50736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":50736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:35:34] local.INFO: TCP Data received {"connection_id":50736,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a5e058012d19258007200b280038013924..."} 
[2026-04-22 15:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a5e058012d19258007200b280038013924..."} 
[2026-04-22 15:35:34] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a5e058012d19258007200b280038013924..."} 
[2026-04-22 15:35:34] local.INFO: Packet analysis {"connection_id":50736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a5"} 
[2026-04-22 15:35:34] local.INFO: Extracted packet for processing {"connection_id":50736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a5"} 
[2026-04-22 15:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756622720,"raw_latitude":119540520,"longitude_deg":75.662272,"latitude_deg":11.954052,"altitude":56,"angle":313,"satellites":36,"speed":13,"hex_longitude":"2d192580","hex_latitude":"07200b28","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874179072001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113928006140952576,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812206299409686528,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35: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-22 15:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776852263000,"timestamp_ms":1776852263000,"timestamp_seconds":1776852263,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a5e058"} 
[2026-04-22 15: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-22 15:35:34] 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-22 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 15:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:35:34] 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-22 15:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874179072001,"66":14396,"106":206,"83":41984,"24":13,"16":113928006140952576,"45":1812206299409686528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874179072001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:35:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113928006140952576,"km_value":113928006140952.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812206299409686528,"description":"Unknown IO ID 45"} 
[2026-04-22 15:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874179072001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1812206299409686528}} 
[2026-04-22 15:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":50736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:35:34] local.INFO: GPS data processed {"connection_id":50736,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:35:34] local.INFO: Acknowledgment sent {"connection_id":50736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:35:35] local.INFO: TCP Data received {"connection_id":50736,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a5e828012d19244007200c980038014a24..."} 
[2026-04-22 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a5e828012d19244007200c980038014a24..."} 
[2026-04-22 15:35:35] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a5e828012d19244007200c980038014a24..."} 
[2026-04-22 15:35:35] local.INFO: Packet analysis {"connection_id":50736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a5"} 
[2026-04-22 15:35:35] local.INFO: Extracted packet for processing {"connection_id":50736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a5"} 
[2026-04-22 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756622400,"raw_latitude":119540888,"longitude_deg":75.66224,"latitude_deg":11.9540888,"altitude":56,"angle":330,"satellites":36,"speed":8,"hex_longitude":"2d192440","hex_latitude":"07200c98","is_valid_coordinates":true} 
[2026-04-22 15:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874179328001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113928031910756352,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811995193177221120,"note":"Value kept but may cause issues"} 
[2026-04-22 15:35: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-22 15:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776852265000,"timestamp_ms":1776852265000,"timestamp_seconds":1776852265,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a5e828"} 
[2026-04-22 15:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 15:35:35] 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-22 15:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:35:35] 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-22 15:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874179328001,"66":14265,"106":206,"83":41984,"24":8,"16":113928031910756352,"45":1811995193177221120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874179328001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:35:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113928031910756352,"km_value":113928031910756.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811995193177221120,"description":"Unknown IO ID 45"} 
[2026-04-22 15:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874179328001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1811995193177221120}} 
[2026-04-22 15:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":50736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:35:36] local.INFO: GPS data processed {"connection_id":50736,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:35:36] local.INFO: Acknowledgment sent {"connection_id":50736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:36:02] local.INFO: TCP Data received {"connection_id":50364,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:36:02] local.INFO: Processing buffer {"connection_id":50364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:36:02] local.INFO: Packet analysis {"connection_id":50364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:36:02] local.INFO: Extracted packet for processing {"connection_id":50364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:36:02] 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-22 15:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15: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-22 15:36: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-22 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:36:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":50364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:36:02] local.INFO: GPS data processed {"connection_id":50364,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:36:02] local.INFO: Acknowledgment sent {"connection_id":50364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:36:09] local.INFO: TCP Data received {"connection_id":50736,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a69fc0012d193800071ffaf00039006028..."} 
[2026-04-22 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a69fc0012d193800071ffaf00039006028..."} 
[2026-04-22 15:36:09] local.INFO: Processing buffer {"connection_id":50736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a69fc0012d193800071ffaf00039006028..."} 
[2026-04-22 15:36:09] local.INFO: Packet analysis {"connection_id":50736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a6"} 
[2026-04-22 15:36:09] local.INFO: Extracted packet for processing {"connection_id":50736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a6"} 
[2026-04-22 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756627456,"raw_latitude":119536368,"longitude_deg":75.6627456,"latitude_deg":11.9536368,"altitude":57,"angle":96,"satellites":40,"speed":25,"hex_longitude":"2d193800","hex_latitude":"071ffaf0","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874190592001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113928448522584064,"note":"Value kept but may cause issues"} 
[2026-04-22 15:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813965518013243392,"note":"Value kept but may cause issues"} 
[2026-04-22 15:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776852312000,"timestamp_ms":1776852312000,"timestamp_seconds":1776852312,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a69fc0"} 
[2026-04-22 15: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-22 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 15:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:36:09] 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-22 15:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874190592001,"66":13917,"106":206,"83":41984,"24":25,"16":113928448522584064,"45":1813965518013243392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 15:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874190592001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:36:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 15:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113928448522584064,"km_value":113928448522584.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813965518013243392,"description":"Unknown IO ID 45"} 
[2026-04-22 15:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874190592001,"power":13917,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1813965518013243392}} 
[2026-04-22 15:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":50736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:36:09] local.INFO: GPS data processed {"connection_id":50736,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:36:09] local.INFO: Acknowledgment sent {"connection_id":50736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:36:25] local.INFO: TCP Data received {"connection_id":50737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:36:25] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:36:25] local.INFO: IMEI packet received {"connection_id":50737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":50737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:36:31] local.INFO: TCP Data received {"connection_id":50737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:36:31] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:36:31] local.INFO: IMEI packet received {"connection_id":50737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":50737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:36:32] local.INFO: TCP Data received {"connection_id":50737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:36:32] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:36:32] local.INFO: Packet analysis {"connection_id":50737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:36:32] local.INFO: Extracted packet for processing {"connection_id":50737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:36: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-22 15:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15: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-22 15: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-22 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:36: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-22 15:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:36:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":50737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:36:32] local.INFO: GPS data processed {"connection_id":50737,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:36:32] local.INFO: Acknowledgment sent {"connection_id":50737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:36:37] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:37] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:37] local.INFO: IMEI packet received {"connection_id":50366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":50366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:36:38] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:38] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:38] local.INFO: IMEI packet received {"connection_id":50366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":50366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:36:39] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:39] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:39] local.INFO: IMEI packet received {"connection_id":50366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":50366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:36:40] local.INFO: TCP Data received {"connection_id":50366,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:40] local.INFO: Processing buffer {"connection_id":50366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:36:40] local.INFO: IMEI packet received {"connection_id":50366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":50366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:37:03] local.INFO: TCP Data received {"connection_id":50737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:37:03] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:37:03] local.INFO: Packet analysis {"connection_id":50737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:37:03] local.INFO: Extracted packet for processing {"connection_id":50737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:37: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-22 15:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15: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-22 15:37: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-22 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:37: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-22 15:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:37:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":50737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:37:03] local.INFO: GPS data processed {"connection_id":50737,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:37:03] local.INFO: Acknowledgment sent {"connection_id":50737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:37:31] local.INFO: TCP Data received {"connection_id":51304,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:37:31] local.INFO: Processing buffer {"connection_id":51304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:37:31] local.INFO: IMEI packet received {"connection_id":51304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":51304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:37:36] local.INFO: TCP Data received {"connection_id":51304,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:37:36] local.INFO: Processing buffer {"connection_id":51304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:37:36] local.INFO: IMEI packet received {"connection_id":51304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":51304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:37:37] local.INFO: TCP Data received {"connection_id":51304,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:37:37] local.INFO: Processing buffer {"connection_id":51304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:37:37] local.INFO: Packet analysis {"connection_id":51304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:37:37] local.INFO: Extracted packet for processing {"connection_id":51304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:37:37] 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-22 15:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:37: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-22 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:37: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-22 15:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:37:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":51304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:37:37] local.INFO: GPS data processed {"connection_id":51304,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:37:37] local.INFO: Acknowledgment sent {"connection_id":51304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:37:41] local.INFO: TCP Data received {"connection_id":51304,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:37:41] local.INFO: Processing buffer {"connection_id":51304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a3fbf8012d7f868005afdd08000901492a..."} 
[2026-04-22 15:37:41] local.INFO: Packet analysis {"connection_id":51304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:37:41] local.INFO: Extracted packet for processing {"connection_id":51304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a3"} 
[2026-04-22 15:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":9,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874069760001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609808896,"note":"Value kept but may cause issues"} 
[2026-04-22 15:37:41] 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-22 15:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776852139000,"timestamp_ms":1776852139000,"timestamp_seconds":1776852139,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a3fbf8"} 
[2026-04-22 15:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 15:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 15:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:37:41] 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-22 15:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874069760001,"66":25875,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609808896},"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-22 15:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874069760001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:37:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609808896,"description":"Unknown IO ID 45"} 
[2026-04-22 15:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874069760001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609808896}} 
[2026-04-22 15:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":51304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:37:41] local.INFO: GPS data processed {"connection_id":51304,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:37:41] local.INFO: Acknowledgment sent {"connection_id":51304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:38:11] local.INFO: TCP Data received {"connection_id":50616,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:38:11] local.INFO: Processing buffer {"connection_id":50616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:38:11] local.INFO: IMEI packet received {"connection_id":50616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":50616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:38:26] local.INFO: TCP Data received {"connection_id":50368,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:38:26] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:38:26] local.INFO: IMEI packet received {"connection_id":50368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":50368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:38:31] local.INFO: TCP Data received {"connection_id":50368,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:38:31] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:38:31] local.INFO: IMEI packet received {"connection_id":50368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":50368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:38:32] local.INFO: TCP Data received {"connection_id":50368,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:38:32] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:38:32] local.INFO: Packet analysis {"connection_id":50368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:38:32] local.INFO: Extracted packet for processing {"connection_id":50368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":11,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874147584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:38: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-22 15:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852440000,"timestamp_ms":1776852440000,"timestamp_seconds":1776852440,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a893c0"} 
[2026-04-22 15: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-22 15:38: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-22 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:38: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-22 15: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-22 15: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-22 15:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:38:32] 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-22 15:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874147584001,"66":25734,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874147584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:38:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874147584001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":50368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:38:32] local.INFO: GPS data processed {"connection_id":50368,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:38:32] local.INFO: Acknowledgment sent {"connection_id":50368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:38:50] local.INFO: TCP Data received {"connection_id":50738,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:38:50] local.INFO: Processing buffer {"connection_id":50738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:38:50] local.INFO: IMEI packet received {"connection_id":50738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":50738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:39:03] local.INFO: TCP Data received {"connection_id":50368,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:39:03] local.INFO: Processing buffer {"connection_id":50368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:39:03] local.INFO: Packet analysis {"connection_id":50368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:39:03] local.INFO: Extracted packet for processing {"connection_id":50368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":11,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874147584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:39: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-22 15:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776852440000,"timestamp_ms":1776852440000,"timestamp_seconds":1776852440,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a893c0"} 
[2026-04-22 15: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-22 15:39: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-22 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:39:03] 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-22 15:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874147584001,"66":25734,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874147584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:39:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874147584001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":50368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:39:03] local.INFO: GPS data processed {"connection_id":50368,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:39:03] local.INFO: Acknowledgment sent {"connection_id":50368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:39:26] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:39:26] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:39:26] local.INFO: IMEI packet received {"connection_id":50618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":50618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:39:31] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:39:31] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:39:31] local.INFO: IMEI packet received {"connection_id":50618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":50618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:39:32] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:39:32] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:39:32] local.INFO: Packet analysis {"connection_id":50618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:39:32] local.INFO: Extracted packet for processing {"connection_id":50618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":11,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874147584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:39: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-22 15:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852440000,"timestamp_ms":1776852440000,"timestamp_seconds":1776852440,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a893c0"} 
[2026-04-22 15: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-22 15:39: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-22 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:39: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-22 15: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-22 15: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-22 15:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:39: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-22 15:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874147584001,"66":25734,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 15:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874147584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:39:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874147584001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":50618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:39:32] local.INFO: GPS data processed {"connection_id":50618,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:39:32] local.INFO: Acknowledgment sent {"connection_id":50618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:40:02] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:40:02] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:40:02] local.INFO: Packet analysis {"connection_id":50618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:40:02] local.INFO: Extracted packet for processing {"connection_id":50618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":11,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874147584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:40:02] 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-22 15:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776852440000,"timestamp_ms":1776852440000,"timestamp_seconds":1776852440,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a893c0"} 
[2026-04-22 15:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:40: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-22 15:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874147584001,"66":25734,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 15:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874147584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:40:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874147584001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":50618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:40:02] local.INFO: GPS data processed {"connection_id":50618,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:40:02] local.INFO: Acknowledgment sent {"connection_id":50618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:40:26] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:40:26] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:40:26] local.INFO: IMEI packet received {"connection_id":50369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":50369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:40:31] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:40:31] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:40:31] local.INFO: IMEI packet received {"connection_id":50369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":50369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:40:32] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:40:32] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:40:32] local.INFO: Packet analysis {"connection_id":50369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:40:32] local.INFO: Extracted packet for processing {"connection_id":50369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":11,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874147584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:40: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-22 15:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852440000,"timestamp_ms":1776852440000,"timestamp_seconds":1776852440,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a893c0"} 
[2026-04-22 15: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-22 15:40: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-22 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:40: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-22 15: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-22 15: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-22 15:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:40: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-22 15:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874147584001,"66":25734,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874147584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:40:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874147584001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":50369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:40:32] local.INFO: GPS data processed {"connection_id":50369,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:40:32] local.INFO: Acknowledgment sent {"connection_id":50369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:41:03] local.INFO: TCP Data received {"connection_id":50369,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:41:03] local.INFO: Processing buffer {"connection_id":50369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:41:03] local.INFO: Packet analysis {"connection_id":50369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:41:03] local.INFO: Extracted packet for processing {"connection_id":50369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":11,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874147584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:41: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-22 15:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776852440000,"timestamp_ms":1776852440000,"timestamp_seconds":1776852440,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a893c0"} 
[2026-04-22 15:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:41: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-22 15:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:41: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-22 15:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874147584001,"66":25734,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874147584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:41:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874147584001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":50369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:41:03] local.INFO: GPS data processed {"connection_id":50369,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:41:03] local.INFO: Acknowledgment sent {"connection_id":50369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:41:25] local.INFO: TCP Data received {"connection_id":51307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:41:25] local.INFO: Processing buffer {"connection_id":51307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:41:25] local.INFO: IMEI packet received {"connection_id":51307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":51307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:41:31] local.INFO: TCP Data received {"connection_id":51307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:41:31] local.INFO: Processing buffer {"connection_id":51307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:41:31] local.INFO: IMEI packet received {"connection_id":51307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":51307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:41:32] local.INFO: TCP Data received {"connection_id":51307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:41:32] local.INFO: Processing buffer {"connection_id":51307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:41:32] local.INFO: Packet analysis {"connection_id":51307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:41:32] local.INFO: Extracted packet for processing {"connection_id":51307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":11,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 15:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874147584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:41: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-22 15:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852440000,"timestamp_ms":1776852440000,"timestamp_seconds":1776852440,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a893c0"} 
[2026-04-22 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-22 15:41: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-22 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:41: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-22 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-22 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-22 15:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874147584001,"66":25734,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874147584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:41:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874147584001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":51307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:41:32] local.INFO: GPS data processed {"connection_id":51307,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:41:32] local.INFO: Acknowledgment sent {"connection_id":51307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:41:42] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:41:42] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:41:42] local.INFO: IMEI packet received {"connection_id":50620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":50620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:41:43] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ab3f58012d1882c0072182100049011d24..."} 
[2026-04-22 15:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ab3f58012d1882c0072182100049011d24..."} 
[2026-04-22 15:41:43] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ab3f58012d1882c0072182100049011d24..."} 
[2026-04-22 15:41:43] local.INFO: Packet analysis {"connection_id":50620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ab"} 
[2026-04-22 15:41:43] local.INFO: Extracted packet for processing {"connection_id":50620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ab"} 
[2026-04-22 15:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756581056,"raw_latitude":119636496,"longitude_deg":75.6581056,"latitude_deg":11.9636496,"altitude":73,"angle":285,"satellites":36,"speed":35,"hex_longitude":"2d1882c0","hex_latitude":"07218210","is_valid_coordinates":true} 
[2026-04-22 15:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874266880001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113938219573182464,"note":"Value kept but may cause issues"} 
[2026-04-22 15:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764926189568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:41: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-22 15:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776852615000,"timestamp_ms":1776852615000,"timestamp_seconds":1776852615,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ab3f58"} 
[2026-04-22 15:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 15:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:41:43] 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-22 15:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874266880001,"66":13733,"105":206,"83":41984,"24":35,"16":113938219573182464,"45":1776036764926189568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874266880001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:41:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:41:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113938219573182464,"km_value":113938219573182.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764926189568,"description":"Unknown IO ID 45"} 
[2026-04-22 15:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874266880001,"power":13733,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1776036764926189568}} 
[2026-04-22 15:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":50620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:41:43] local.INFO: GPS data processed {"connection_id":50620,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:41:43] local.INFO: Acknowledgment sent {"connection_id":50620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:42:03] local.INFO: TCP Data received {"connection_id":51307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:42:03] local.INFO: Processing buffer {"connection_id":51307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:42:03] local.INFO: Packet analysis {"connection_id":51307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:42:03] local.INFO: Extracted packet for processing {"connection_id":51307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":11,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874147584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:42: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-22 15:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776852440000,"timestamp_ms":1776852440000,"timestamp_seconds":1776852440,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a893c0"} 
[2026-04-22 15: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-22 15:42: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-22 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:42: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-22 15:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874147584001,"66":25734,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874147584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:42:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:42:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874147584001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":51307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:42:03] local.INFO: GPS data processed {"connection_id":51307,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:42:03] local.INFO: Acknowledgment sent {"connection_id":51307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:42:25] local.INFO: TCP Data received {"connection_id":50621,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:42:25] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:42:25] local.INFO: IMEI packet received {"connection_id":50621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":50621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:42:27] local.INFO: TCP Data received {"connection_id":51308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:42:27] local.INFO: Processing buffer {"connection_id":51308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:42:27] local.INFO: IMEI packet received {"connection_id":51308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":51308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:42:31] local.INFO: TCP Data received {"connection_id":50621,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:42:31] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:42:31] local.INFO: IMEI packet received {"connection_id":50621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":50621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:42:32] local.INFO: TCP Data received {"connection_id":50621,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:42:32] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4a893c0012d7f868005afdd08000b014925..."} 
[2026-04-22 15:42:32] local.INFO: Packet analysis {"connection_id":50621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:42:32] local.INFO: Extracted packet for processing {"connection_id":50621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4a8"} 
[2026-04-22 15:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":11,"angle":329,"satellites":37,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874147584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:42: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-22 15:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852440000,"timestamp_ms":1776852440000,"timestamp_seconds":1776852440,"priority":1,"record_length":96,"hex_timestamp":"0000019db4a893c0"} 
[2026-04-22 15: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-22 15:42: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-22 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 15:42: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-22 15: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-22 15: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-22 15:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:42:32] local.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-22 15:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874147584001,"66":25734,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874147584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:42:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874147584001,"power":25734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":50621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:42:32] local.INFO: GPS data processed {"connection_id":50621,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:42:32] local.INFO: Acknowledgment sent {"connection_id":50621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:42:32] local.INFO: TCP Data received {"connection_id":51308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:42:32] local.INFO: Processing buffer {"connection_id":51308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:42:32] local.INFO: IMEI packet received {"connection_id":51308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":51308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:42:33] local.INFO: TCP Data received {"connection_id":51308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ac6068012d181d000721a9a0004e000d2b..."} 
[2026-04-22 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ac6068012d181d000721a9a0004e000d2b..."} 
[2026-04-22 15:42:33] local.INFO: Processing buffer {"connection_id":51308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ac6068012d181d000721a9a0004e000d2b..."} 
[2026-04-22 15:42:33] local.INFO: Packet analysis {"connection_id":51308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ac"} 
[2026-04-22 15:42:33] local.INFO: Extracted packet for processing {"connection_id":51308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ac"} 
[2026-04-22 15:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646624,"longitude_deg":75.6555008,"latitude_deg":11.9646624,"altitude":78,"angle":13,"satellites":43,"speed":13,"hex_longitude":"2d181d00","hex_latitude":"0721a9a0","is_valid_coordinates":true} 
[2026-04-22 15:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874287872001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939615437553664,"note":"Value kept but may cause issues"} 
[2026-04-22 15:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864286208,"note":"Value kept but may cause issues"} 
[2026-04-22 15:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852689000,"timestamp_ms":1776852689000,"timestamp_seconds":1776852689,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ac6068"} 
[2026-04-22 15:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:42: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-22 15:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-22 15:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:42:33] 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-22 15:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874287872001,"66":13091,"105":206,"83":41984,"24":13,"16":113939615437553664,"45":1737545061864286208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874287872001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:42:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939615437553664,"km_value":113939615437553.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864286208,"description":"Unknown IO ID 45"} 
[2026-04-22 15:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874287872001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737545061864286208}} 
[2026-04-22 15:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":51308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:42:33] local.INFO: GPS data processed {"connection_id":51308,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:42:33] local.INFO: Acknowledgment sent {"connection_id":51308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:43:03] local.INFO: TCP Data received {"connection_id":50621,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:43:03] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:43:03] local.INFO: Packet analysis {"connection_id":50621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:43:03] local.INFO: Extracted packet for processing {"connection_id":50621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43: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-22 15:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 15: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-22 15:43: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-22 15:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 15:43:03] 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-22 15: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-22 15: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-22 15:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:43:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:43:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":50621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:43:03] local.INFO: GPS data processed {"connection_id":50621,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:43:03] local.INFO: Acknowledgment sent {"connection_id":50621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:43:04] local.INFO: TCP Data received {"connection_id":51308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ac6450012d181dc00721aac8004e001b2c..."} 
[2026-04-22 15:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ac6450012d181dc00721aac8004e001b2c..."} 
[2026-04-22 15:43:04] local.INFO: Processing buffer {"connection_id":51308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ac6450012d181dc00721aac8004e001b2c..."} 
[2026-04-22 15:43:04] local.INFO: Packet analysis {"connection_id":51308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ac"} 
[2026-04-22 15:43:04] local.INFO: Extracted packet for processing {"connection_id":51308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ac"} 
[2026-04-22 15:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646920,"longitude_deg":75.65552,"latitude_deg":11.964692,"altitude":78,"angle":27,"satellites":44,"speed":13,"hex_longitude":"2d181dc0","hex_latitude":"0721aac8","is_valid_coordinates":true} 
[2026-04-22 15:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874288384001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939628322455552,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864415232,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776852690000,"timestamp_ms":1776852690000,"timestamp_seconds":1776852690,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ac6450"} 
[2026-04-22 15:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 15:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:43:04] 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-22 15:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874288384001,"66":13102,"105":206,"83":41984,"24":13,"16":113939628322455552,"45":1737545061864415232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874288384001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:43:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939628322455552,"km_value":113939628322455.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864415232,"description":"Unknown IO ID 45"} 
[2026-04-22 15:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874288384001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737545061864415232}} 
[2026-04-22 15:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":51308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:43:05] local.INFO: GPS data processed {"connection_id":51308,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:43:05] local.INFO: Acknowledgment sent {"connection_id":51308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:43:28] local.INFO: TCP Data received {"connection_id":50370,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:43:28] local.INFO: Processing buffer {"connection_id":50370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:43:28] local.INFO: IMEI packet received {"connection_id":50370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":50370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:43:31] local.INFO: TCP Data received {"connection_id":50371,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:43:31] local.INFO: Processing buffer {"connection_id":50371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:43:31] local.INFO: IMEI packet received {"connection_id":50371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":50371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:43:32] local.INFO: TCP Data received {"connection_id":50370,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:43:32] local.INFO: Processing buffer {"connection_id":50370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:43:32] local.INFO: IMEI packet received {"connection_id":50370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":50370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:43:33] local.INFO: TCP Data received {"connection_id":50370,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ac8b60012d1825000721b740004e000a2b..."} 
[2026-04-22 15:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ac8b60012d1825000721b740004e000a2b..."} 
[2026-04-22 15:43:33] local.INFO: Processing buffer {"connection_id":50370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ac8b60012d1825000721b740004e000a2b..."} 
[2026-04-22 15:43:33] local.INFO: Packet analysis {"connection_id":50370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ac"} 
[2026-04-22 15:43:33] local.INFO: Extracted packet for processing {"connection_id":50370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ac"} 
[2026-04-22 15:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650112,"longitude_deg":75.6557056,"latitude_deg":11.9650112,"altitude":78,"angle":10,"satellites":43,"speed":8,"hex_longitude":"2d182500","hex_latitude":"0721b740","is_valid_coordinates":true} 
[2026-04-22 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-22 15:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874288640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939808711081984,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097024000,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852700000,"timestamp_ms":1776852700000,"timestamp_seconds":1776852700,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ac8b60"} 
[2026-04-22 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-22 15:43: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-22 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-22 15:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 15:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:43:33] 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-22 15:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874288640001,"66":13102,"105":206,"83":41984,"24":8,"16":113939808711081984,"45":1737756168097024000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874288640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:43:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939808711081984,"km_value":113939808711081.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097024000,"description":"Unknown IO ID 45"} 
[2026-04-22 15:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874288640001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737756168097024000}} 
[2026-04-22 15:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":50370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:43:33] local.INFO: GPS data processed {"connection_id":50370,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:43:33] local.INFO: Acknowledgment sent {"connection_id":50370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:43:36] local.INFO: TCP Data received {"connection_id":50371,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:43:36] local.INFO: Processing buffer {"connection_id":50371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:43:36] local.INFO: IMEI packet received {"connection_id":50371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":50371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:43:36] local.INFO: TCP Data received {"connection_id":50371,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:43:36] local.INFO: Processing buffer {"connection_id":50371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:43:36] local.INFO: Packet analysis {"connection_id":50371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:43:36] local.INFO: Extracted packet for processing {"connection_id":50371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:43: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-22 15:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 15:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:43: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-22 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 15:43:36] 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-22 15:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:43:36] 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-22 15:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:43:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":50371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:43:37] local.INFO: GPS data processed {"connection_id":50371,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:43:37] local.INFO: Acknowledgment sent {"connection_id":50371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:44:04] local.INFO: TCP Data received {"connection_id":50370,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4acdd68012d1823000721b470004f000a2b..."} 
[2026-04-22 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4acdd68012d1823000721b470004f000a2b..."} 
[2026-04-22 15:44:04] local.INFO: Processing buffer {"connection_id":50370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4acdd68012d1823000721b470004f000a2b..."} 
[2026-04-22 15:44:04] local.INFO: Packet analysis {"connection_id":50370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ac"} 
[2026-04-22 15:44:04] local.INFO: Extracted packet for processing {"connection_id":50370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ac"} 
[2026-04-22 15:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649392,"longitude_deg":75.6556544,"latitude_deg":11.9649392,"altitude":79,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874291200001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939886020493312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678993408,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776852721000,"timestamp_ms":1776852721000,"timestamp_seconds":1776852721,"priority":1,"record_length":96,"hex_timestamp":"0000019db4acdd68"} 
[2026-04-22 15: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-22 15:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-22 15:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:44:04] 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-22 15:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874291200001,"66":13059,"105":206,"83":41984,"24":0,"16":113939886020493312,"45":1739796861678993408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874291200001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:44:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939886020493312,"km_value":113939886020493.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678993408,"description":"Unknown IO ID 45"} 
[2026-04-22 15:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874291200001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861678993408}} 
[2026-04-22 15:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":50370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:44:04] local.INFO: GPS data processed {"connection_id":50370,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:44:04] local.INFO: Acknowledgment sent {"connection_id":50370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:44:08] local.INFO: TCP Data received {"connection_id":50371,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:44:08] local.INFO: Processing buffer {"connection_id":50371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:44:08] local.INFO: Packet analysis {"connection_id":50371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:44:08] local.INFO: Extracted packet for processing {"connection_id":50371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44: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-22 15:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 15: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-22 15:44: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-22 15: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":134,"data_length":795,"current_offset":136} 
[2026-04-22 15:44:08] 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-22 15: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-22 15: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-22 15:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:44: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-22 15:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:44:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":50371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:44:08] local.INFO: GPS data processed {"connection_id":50371,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:44:08] local.INFO: Acknowledgment sent {"connection_id":50371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:44:11] local.INFO: TCP Data received {"connection_id":50372,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:44:11] local.INFO: Processing buffer {"connection_id":50372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:44:11] local.INFO: IMEI packet received {"connection_id":50372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":50372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:44:26] local.INFO: TCP Data received {"connection_id":50741,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:44:26] local.INFO: Processing buffer {"connection_id":50741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:44:26] local.INFO: IMEI packet received {"connection_id":50741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":50741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:44:27] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:44:27] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:44:27] local.INFO: IMEI packet received {"connection_id":50373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":50373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:44:31] local.INFO: TCP Data received {"connection_id":50741,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:44:31] local.INFO: Processing buffer {"connection_id":50741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:44:31] local.INFO: IMEI packet received {"connection_id":50741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":50741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:44:31] local.INFO: TCP Data received {"connection_id":50741,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:44:31] local.INFO: Processing buffer {"connection_id":50741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:44:31] local.INFO: Packet analysis {"connection_id":50741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:44:31] local.INFO: Extracted packet for processing {"connection_id":50741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44: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-22 15:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 15:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:44: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-22 15:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 15:44:31] 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-22 15:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:44:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":50741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:44:32] local.INFO: GPS data processed {"connection_id":50741,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:44:32] local.INFO: Acknowledgment sent {"connection_id":50741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:44:32] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:44:32] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:44:32] local.INFO: IMEI packet received {"connection_id":50373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:44:33] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2f70012d1823000721b470004f000a29..."} 
[2026-04-22 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2f70012d1823000721b470004f000a29..."} 
[2026-04-22 15:44:33] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2f70012d1823000721b470004f000a29..."} 
[2026-04-22 15:44:33] local.INFO: Packet analysis {"connection_id":50373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:44:33] local.INFO: Extracted packet for processing {"connection_id":50373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649392,"longitude_deg":75.6556544,"latitude_deg":11.9649392,"altitude":79,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-04-22 15:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874296576001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939886020493312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725387776,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852742000,"timestamp_ms":1776852742000,"timestamp_seconds":1776852742,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2f70"} 
[2026-04-22 15:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:44: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-22 15:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164640251242,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709954,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3031191752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2046820352,"corrected_to":0} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2891487233,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2812805198,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3413245952,"note":"Value kept but may cause issues"} 
[2026-04-22 15:44:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,203,139,45,183,78,43,10,66,100,192,170,44,96,1,240,35,227,180,33,4,113,205,7,84,29,42,239,51,2,148],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":203,"original":2046820352,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:44:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692561108796178432,"timestamp_seconds":5692561108796178.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:44:33] 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-22 15:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874296576001,"66":13037,"105":206,"83":41984,"24":0,"16":113939886020493312,"45":1739233911725387776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874296576001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:44:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939886020493312,"km_value":113939886020493.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725387776,"description":"Unknown IO ID 45"} 
[2026-04-22 15:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874296576001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725387776}} 
[2026-04-22 15:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":50373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:44:33] local.INFO: GPS data processed {"connection_id":50373,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:44:33] local.INFO: Acknowledgment sent {"connection_id":50373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:44:50] local.INFO: TCP Data received {"connection_id":51309,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:44:50] local.INFO: Processing buffer {"connection_id":51309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:44:50] local.INFO: IMEI packet received {"connection_id":51309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":51309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:45:03] local.INFO: TCP Data received {"connection_id":50741,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:45:03] local.INFO: Processing buffer {"connection_id":50741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:45:03] local.INFO: Packet analysis {"connection_id":50741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:45:03] local.INFO: Extracted packet for processing {"connection_id":50741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45: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-22 15:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 15: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-22 15:45: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-22 15: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":134,"data_length":795,"current_offset":136} 
[2026-04-22 15:45:03] 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-22 15: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-22 15: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-22 15:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:45:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":50741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:45:03] local.INFO: GPS data processed {"connection_id":50741,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:45:03] local.INFO: Acknowledgment sent {"connection_id":50741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:45:04] local.INFO: TCP Data received {"connection_id":50373,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad8178012d1823000721b470004f000a2a..."} 
[2026-04-22 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad8178012d1823000721b470004f000a2a..."} 
[2026-04-22 15:45:04] local.INFO: Processing buffer {"connection_id":50373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad8178012d1823000721b470004f000a2a..."} 
[2026-04-22 15:45:04] local.INFO: Packet analysis {"connection_id":50373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:45:04] local.INFO: Extracted packet for processing {"connection_id":50373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649392,"longitude_deg":75.6556544,"latitude_deg":11.9649392,"altitude":79,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-04-22 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301952001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939886020493312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725387776,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776852763000,"timestamp_ms":1776852763000,"timestamp_seconds":1776852763,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad8178"} 
[2026-04-22 15:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-04-22 15:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:45:04] 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-22 15:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301952001,"66":12993,"105":206,"83":41984,"24":0,"16":113939886020493312,"45":1739233911725387776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301952001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:45:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939886020493312,"km_value":113939886020493.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725387776,"description":"Unknown IO ID 45"} 
[2026-04-22 15:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301952001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725387776}} 
[2026-04-22 15:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":50373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:45:04] local.INFO: GPS data processed {"connection_id":50373,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:45:04] local.INFO: Acknowledgment sent {"connection_id":50373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:45:26] local.INFO: TCP Data received {"connection_id":51310,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:45:26] local.INFO: Processing buffer {"connection_id":51310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:45:26] local.INFO: IMEI packet received {"connection_id":51310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":51310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:45:27] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:45:27] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:45:27] local.INFO: IMEI packet received {"connection_id":50374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:45:28] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:45:28] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:45:28] local.INFO: IMEI packet received {"connection_id":50374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":50374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:45:31] local.INFO: TCP Data received {"connection_id":51310,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:45:31] local.INFO: Processing buffer {"connection_id":51310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:45:31] local.INFO: IMEI packet received {"connection_id":51310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":51310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:45:32] local.INFO: TCP Data received {"connection_id":51310,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:45:32] local.INFO: Processing buffer {"connection_id":51310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:45:32] local.INFO: Packet analysis {"connection_id":51310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:45:32] local.INFO: Extracted packet for processing {"connection_id":51310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45: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-22 15:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 15:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:45: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-22 15:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 15:45: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-22 15:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:45:32] 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-22 15:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:45:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":51310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:45:32] local.INFO: GPS data processed {"connection_id":51310,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:45:32] local.INFO: Acknowledgment sent {"connection_id":51310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:45:32] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:45:32] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:45:32] local.INFO: IMEI packet received {"connection_id":50374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":50374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:45:33] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4add380012d1823000721b470004f000a2a..."} 
[2026-04-22 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4add380012d1823000721b470004f000a2a..."} 
[2026-04-22 15:45:33] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4add380012d1823000721b470004f000a2a..."} 
[2026-04-22 15:45:33] local.INFO: Packet analysis {"connection_id":50374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:45:33] local.INFO: Extracted packet for processing {"connection_id":50374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649392,"longitude_deg":75.6556544,"latitude_deg":11.9649392,"altitude":79,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-04-22 15:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874307328001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939886020493312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725387776,"note":"Value kept but may cause issues"} 
[2026-04-22 15:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852784000,"timestamp_ms":1776852784000,"timestamp_seconds":1776852784,"priority":1,"record_length":96,"hex_timestamp":"0000019db4add380"} 
[2026-04-22 15:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:45: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-22 15:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-22 15:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:45:33] 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-22 15:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874307328001,"66":13004,"105":206,"83":41984,"24":0,"16":113939886020493312,"45":1739233911725387776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874307328001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:45:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939886020493312,"km_value":113939886020493.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725387776,"description":"Unknown IO ID 45"} 
[2026-04-22 15:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874307328001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725387776}} 
[2026-04-22 15:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":50374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:45:33] local.INFO: GPS data processed {"connection_id":50374,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:45:33] local.INFO: Acknowledgment sent {"connection_id":50374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:46:02] local.INFO: TCP Data received {"connection_id":51310,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:46:02] local.INFO: Processing buffer {"connection_id":51310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:46:02] local.INFO: Packet analysis {"connection_id":51310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:46:02] local.INFO: Extracted packet for processing {"connection_id":51310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:02] 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-22 15:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 15: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-22 15:46: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-22 15: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 15:46:02] 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-22 15: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-22 15: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-22 15:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:46:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":51310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:46:02] local.INFO: GPS data processed {"connection_id":51310,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:46:02] local.INFO: Acknowledgment sent {"connection_id":51310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:46:04] local.INFO: TCP Data received {"connection_id":50374,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ae2588012d1823000721b470004f000a29..."} 
[2026-04-22 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ae2588012d1823000721b470004f000a29..."} 
[2026-04-22 15:46:04] local.INFO: Processing buffer {"connection_id":50374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ae2588012d1823000721b470004f000a29..."} 
[2026-04-22 15:46:04] local.INFO: Packet analysis {"connection_id":50374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ae"} 
[2026-04-22 15:46:04] local.INFO: Extracted packet for processing {"connection_id":50374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ae"} 
[2026-04-22 15:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649392,"longitude_deg":75.6556544,"latitude_deg":11.9649392,"altitude":79,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874312704001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939886020493312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725387776,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776852805000,"timestamp_ms":1776852805000,"timestamp_seconds":1776852805,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ae2588"} 
[2026-04-22 15: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-22 15:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 15:46:04] 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-22 15: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-22 15: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-22 15:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:46:04] 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-22 15:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874312704001,"66":12950,"105":206,"83":41984,"24":0,"16":113939886020493312,"45":1739233911725387776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874312704001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:46:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939886020493312,"km_value":113939886020493.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725387776,"description":"Unknown IO ID 45"} 
[2026-04-22 15:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874312704001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725387776}} 
[2026-04-22 15:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":50374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:46:04] local.INFO: GPS data processed {"connection_id":50374,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:46:04] local.INFO: Acknowledgment sent {"connection_id":50374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:46:25] local.INFO: TCP Data received {"connection_id":50742,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:46:25] local.INFO: Processing buffer {"connection_id":50742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:46:25] local.INFO: IMEI packet received {"connection_id":50742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":50742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:46:31] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:46:31] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:46:31] local.INFO: IMEI packet received {"connection_id":50375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":50375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:46:31] local.INFO: TCP Data received {"connection_id":50742,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:46:31] local.INFO: Processing buffer {"connection_id":50742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:46:31] local.INFO: IMEI packet received {"connection_id":50742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":50742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:46:32] local.INFO: TCP Data received {"connection_id":50742,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:46:32] local.INFO: Processing buffer {"connection_id":50742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:46:32] local.INFO: Packet analysis {"connection_id":50742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:46:32] local.INFO: Extracted packet for processing {"connection_id":50742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 15:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46: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-22 15:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 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-22 15:46: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-22 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 15:46: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-22 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-22 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-22 15:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:46:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":50742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:46:32] local.INFO: GPS data processed {"connection_id":50742,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:46:32] local.INFO: Acknowledgment sent {"connection_id":50742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:46:32] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:46:32] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:46:32] local.INFO: IMEI packet received {"connection_id":50375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:46:37] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:46:37] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:46:37] local.INFO: IMEI packet received {"connection_id":50375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":50375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:46:38] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ae7790012d1823000721b470004f000a2a..."} 
[2026-04-22 15:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ae7790012d1823000721b470004f000a2a..."} 
[2026-04-22 15:46:38] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ae7790012d1823000721b470004f000a2a..."} 
[2026-04-22 15:46:38] local.INFO: Packet analysis {"connection_id":50375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ae"} 
[2026-04-22 15:46:38] local.INFO: Extracted packet for processing {"connection_id":50375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ae"} 
[2026-04-22 15:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649392,"longitude_deg":75.6556544,"latitude_deg":11.9649392,"altitude":79,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-04-22 15:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874318080001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939886020493312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725387776,"note":"Value kept but may cause issues"} 
[2026-04-22 15:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776852826000,"timestamp_ms":1776852826000,"timestamp_seconds":1776852826,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ae7790"} 
[2026-04-22 15:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 15:46:38] 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-22 15:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:46:38] 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-22 15:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874318080001,"66":12950,"105":206,"83":41984,"24":0,"16":113939886020493312,"45":1739233911725387776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874318080001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:46:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939886020493312,"km_value":113939886020493.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725387776,"description":"Unknown IO ID 45"} 
[2026-04-22 15:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874318080001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725387776}} 
[2026-04-22 15:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":50375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:46:38] local.INFO: GPS data processed {"connection_id":50375,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:46:38] local.INFO: Acknowledgment sent {"connection_id":50375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:47:03] local.INFO: TCP Data received {"connection_id":50742,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:47:03] local.INFO: Processing buffer {"connection_id":50742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:47:03] local.INFO: Packet analysis {"connection_id":50742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:47:03] local.INFO: Extracted packet for processing {"connection_id":50742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47: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-22 15:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 15: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-22 15:47: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-22 15:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 15:47:03] 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-22 15: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-22 15: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-22 15:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:47:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":50742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:47:03] local.INFO: GPS data processed {"connection_id":50742,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:47:03] local.INFO: Acknowledgment sent {"connection_id":50742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:47:09] local.INFO: TCP Data received {"connection_id":50375,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4aec998012d1823000721b470004f000a2a..."} 
[2026-04-22 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4aec998012d1823000721b470004f000a2a..."} 
[2026-04-22 15:47:09] local.INFO: Processing buffer {"connection_id":50375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4aec998012d1823000721b470004f000a2a..."} 
[2026-04-22 15:47:09] local.INFO: Packet analysis {"connection_id":50375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ae"} 
[2026-04-22 15:47:09] local.INFO: Extracted packet for processing {"connection_id":50375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ae"} 
[2026-04-22 15:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649392,"longitude_deg":75.6556544,"latitude_deg":11.9649392,"altitude":79,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874323456001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939886020493312,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725387776,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776852847000,"timestamp_ms":1776852847000,"timestamp_seconds":1776852847,"priority":1,"record_length":96,"hex_timestamp":"0000019db4aec998"} 
[2026-04-22 15: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-22 15:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 15:47:09] 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-22 15: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-22 15: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-22 15:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:47:09] 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-22 15:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874323456001,"66":12939,"105":206,"83":41984,"24":0,"16":113939886020493312,"45":1739233911725387776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874323456001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:47:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939886020493312,"km_value":113939886020493.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725387776,"description":"Unknown IO ID 45"} 
[2026-04-22 15:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874323456001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725387776}} 
[2026-04-22 15:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":50375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:47:09] local.INFO: GPS data processed {"connection_id":50375,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:47:09] local.INFO: Acknowledgment sent {"connection_id":50375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:47:25] local.INFO: TCP Data received {"connection_id":50625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:47:25] local.INFO: Processing buffer {"connection_id":50625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:47:25] local.INFO: IMEI packet received {"connection_id":50625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":50625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:47:27] local.INFO: TCP Data received {"connection_id":50624,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:47:27] local.INFO: Processing buffer {"connection_id":50624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:47:27] local.INFO: IMEI packet received {"connection_id":50624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:47:31] local.INFO: TCP Data received {"connection_id":50625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:47:31] local.INFO: Processing buffer {"connection_id":50625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:47:31] local.INFO: IMEI packet received {"connection_id":50625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":50625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:47:32] local.INFO: TCP Data received {"connection_id":50625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:47:32] local.INFO: Processing buffer {"connection_id":50625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ad2b88012d7f868005afdd080005014927..."} 
[2026-04-22 15:47:32] local.INFO: Packet analysis {"connection_id":50625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:47:32] local.INFO: Extracted packet for processing {"connection_id":50625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ad"} 
[2026-04-22 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":5,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 15:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874224640001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47: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-22 15:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776852741000,"timestamp_ms":1776852741000,"timestamp_seconds":1776852741,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ad2b88"} 
[2026-04-22 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-22 15: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-22 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 15: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-22 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-22 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-22 15:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:47:32] 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-22 15:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874224640001,"66":25625,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874224640001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:47:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874224640001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":50625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:47:32] local.INFO: GPS data processed {"connection_id":50625,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:47:32] local.INFO: Acknowledgment sent {"connection_id":50625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:47:32] local.INFO: TCP Data received {"connection_id":50624,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:47:32] local.INFO: Processing buffer {"connection_id":50624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:47:32] local.INFO: IMEI packet received {"connection_id":50624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:47:33] local.INFO: TCP Data received {"connection_id":50624,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4af1ba0012d1820c00721b328004d000a2a..."} 
[2026-04-22 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4af1ba0012d1820c00721b328004d000a2a..."} 
[2026-04-22 15:47:33] local.INFO: Processing buffer {"connection_id":50624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4af1ba0012d1820c00721b328004d000a2a..."} 
[2026-04-22 15:47:33] local.INFO: Packet analysis {"connection_id":50624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4af"} 
[2026-04-22 15:47:33] local.INFO: Extracted packet for processing {"connection_id":50624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4af"} 
[2026-04-22 15:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 15:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874328832001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725387776,"note":"Value kept but may cause issues"} 
[2026-04-22 15:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852868000,"timestamp_ms":1776852868000,"timestamp_seconds":1776852868,"priority":1,"record_length":96,"hex_timestamp":"0000019db4af1ba0"} 
[2026-04-22 15:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-22 15:47:33] 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-22 15:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:47:33] 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-22 15:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874328832001,"66":12852,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1739233911725387776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874328832001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:47:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725387776,"description":"Unknown IO ID 45"} 
[2026-04-22 15:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874328832001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725387776}} 
[2026-04-22 15:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:47:33] local.INFO: GPS data processed {"connection_id":50624,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:47:33] local.INFO: Acknowledgment sent {"connection_id":50624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:48:03] local.INFO: TCP Data received {"connection_id":50625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:48:03] local.INFO: Processing buffer {"connection_id":50625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:48:03] local.INFO: Packet analysis {"connection_id":50625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:48:03] local.INFO: Extracted packet for processing {"connection_id":50625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48: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-22 15:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 15: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-22 15: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-22 15: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":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:48: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-22 15: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-22 15: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-22 15:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:48:03] 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-22 15:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:48:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":50625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:48:03] local.INFO: GPS data processed {"connection_id":50625,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:48:03] local.INFO: Acknowledgment sent {"connection_id":50625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:48:04] local.INFO: TCP Data received {"connection_id":50624,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4af6da8012d1820c00721b328004d000a28..."} 
[2026-04-22 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4af6da8012d1820c00721b328004d000a28..."} 
[2026-04-22 15:48:04] local.INFO: Processing buffer {"connection_id":50624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4af6da8012d1820c00721b328004d000a28..."} 
[2026-04-22 15:48:04] local.INFO: Packet analysis {"connection_id":50624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4af"} 
[2026-04-22 15:48:04] local.INFO: Extracted packet for processing {"connection_id":50624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4af"} 
[2026-04-22 15:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 15:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874334208001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027704832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776852889000,"timestamp_ms":1776852889000,"timestamp_seconds":1776852889,"priority":1,"record_length":96,"hex_timestamp":"0000019db4af6da8"} 
[2026-04-22 15:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 15:48:04] 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-22 15:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:48:04] 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-22 15:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874334208001,"66":12863,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1738600593027704832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874334208001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:48:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027704832,"description":"Unknown IO ID 45"} 
[2026-04-22 15:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874334208001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027704832}} 
[2026-04-22 15:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":50624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:48:04] local.INFO: GPS data processed {"connection_id":50624,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:48:04] local.INFO: Acknowledgment sent {"connection_id":50624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:48:27] local.INFO: TCP Data received {"connection_id":50744,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:48:27] local.INFO: Processing buffer {"connection_id":50744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:48:27] local.INFO: IMEI packet received {"connection_id":50744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":50744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:48:31] local.INFO: TCP Data received {"connection_id":50745,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:48:31] local.INFO: Processing buffer {"connection_id":50745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:48:31] local.INFO: IMEI packet received {"connection_id":50745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":50745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:48:32] local.INFO: TCP Data received {"connection_id":50744,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:48:32] local.INFO: Processing buffer {"connection_id":50744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:48:32] local.INFO: IMEI packet received {"connection_id":50744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:48:33] local.INFO: TCP Data received {"connection_id":50744,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4afbfb0012d1820c00721b328004d000a2a..."} 
[2026-04-22 15:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4afbfb0012d1820c00721b328004d000a2a..."} 
[2026-04-22 15:48:33] local.INFO: Processing buffer {"connection_id":50744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4afbfb0012d1820c00721b328004d000a2a..."} 
[2026-04-22 15:48:33] local.INFO: Packet analysis {"connection_id":50744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4af"} 
[2026-04-22 15:48:33] local.INFO: Extracted packet for processing {"connection_id":50744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4af"} 
[2026-04-22 15:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874339584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027704832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852910000,"timestamp_ms":1776852910000,"timestamp_seconds":1776852910,"priority":1,"record_length":96,"hex_timestamp":"0000019db4afbfb0"} 
[2026-04-22 15: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-22 15:48: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-22 15: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 15:48:33] 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-22 15: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-22 15: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-22 15:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:48:33] 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-22 15:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874339584001,"66":12711,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1738600593027704832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874339584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:48:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027704832,"description":"Unknown IO ID 45"} 
[2026-04-22 15:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874339584001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027704832}} 
[2026-04-22 15:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":50744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:48:33] local.INFO: GPS data processed {"connection_id":50744,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:48:33] local.INFO: Acknowledgment sent {"connection_id":50744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:48:36] local.INFO: TCP Data received {"connection_id":50745,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:48:36] local.INFO: Processing buffer {"connection_id":50745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:48:36] local.INFO: IMEI packet received {"connection_id":50745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":50745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:48:37] local.INFO: TCP Data received {"connection_id":50745,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:48:37] local.INFO: Processing buffer {"connection_id":50745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:48:37] local.INFO: Packet analysis {"connection_id":50745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:48:37] local.INFO: Extracted packet for processing {"connection_id":50745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:48:37] 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-22 15:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 15:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:48: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-22 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:48: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-22 15:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:48:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":50745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:48:37] local.INFO: GPS data processed {"connection_id":50745,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:48:37] local.INFO: Acknowledgment sent {"connection_id":50745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:49:04] local.INFO: TCP Data received {"connection_id":50744,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b011b8012d1820c00721b328004d000a2a..."} 
[2026-04-22 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b011b8012d1820c00721b328004d000a2a..."} 
[2026-04-22 15:49:04] local.INFO: Processing buffer {"connection_id":50744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b011b8012d1820c00721b328004d000a2a..."} 
[2026-04-22 15:49:04] local.INFO: Packet analysis {"connection_id":50744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b0"} 
[2026-04-22 15:49:04] local.INFO: Extracted packet for processing {"connection_id":50744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b0"} 
[2026-04-22 15:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874344960001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027704832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776852931000,"timestamp_ms":1776852931000,"timestamp_seconds":1776852931,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b011b8"} 
[2026-04-22 15: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-22 15:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-22 15:49:04] 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-22 15: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-22 15: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-22 15:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:49:04] 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-22 15:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874344960001,"66":12841,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1738600593027704832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874344960001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:49:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027704832,"description":"Unknown IO ID 45"} 
[2026-04-22 15:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874344960001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027704832}} 
[2026-04-22 15:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":50744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:49:05] local.INFO: GPS data processed {"connection_id":50744,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:49:05] local.INFO: Acknowledgment sent {"connection_id":50744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:49:08] local.INFO: TCP Data received {"connection_id":50745,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:49:08] local.INFO: Processing buffer {"connection_id":50745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:49:08] local.INFO: Packet analysis {"connection_id":50745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:49:08] local.INFO: Extracted packet for processing {"connection_id":50745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49: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-22 15:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 15: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-22 15:49: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-22 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:49:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":50745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:49:08] local.INFO: GPS data processed {"connection_id":50745,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:49:08] local.INFO: Acknowledgment sent {"connection_id":50745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:49:26] local.INFO: TCP Data received {"connection_id":50377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:49:26] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:49:26] local.INFO: IMEI packet received {"connection_id":50377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":50377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:49:27] local.INFO: TCP Data received {"connection_id":51312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:49:27] local.INFO: Processing buffer {"connection_id":51312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:49:27] local.INFO: IMEI packet received {"connection_id":51312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":51312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:49:31] local.INFO: TCP Data received {"connection_id":50377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:49:31] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:49:31] local.INFO: IMEI packet received {"connection_id":50377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":50377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:49:32] local.INFO: TCP Data received {"connection_id":50377,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:49:32] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:49:32] local.INFO: Packet analysis {"connection_id":50377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:49:32] local.INFO: Extracted packet for processing {"connection_id":50377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 15:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49: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-22 15:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 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-22 15: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-22 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:49: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-22 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-22 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-22 15:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":50377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:49:32] local.INFO: GPS data processed {"connection_id":50377,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:49:32] local.INFO: Acknowledgment sent {"connection_id":50377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:49:32] local.INFO: TCP Data received {"connection_id":51312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:49:32] local.INFO: Processing buffer {"connection_id":51312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:49:32] local.INFO: IMEI packet received {"connection_id":51312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":51312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:49:33] local.INFO: TCP Data received {"connection_id":51312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b063c0012d1820c00721b328004d000a28..."} 
[2026-04-22 15:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b063c0012d1820c00721b328004d000a28..."} 
[2026-04-22 15:49:33] local.INFO: Processing buffer {"connection_id":51312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b063c0012d1820c00721b328004d000a28..."} 
[2026-04-22 15:49:33] local.INFO: Packet analysis {"connection_id":51312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b0"} 
[2026-04-22 15:49:33] local.INFO: Extracted packet for processing {"connection_id":51312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b0"} 
[2026-04-22 15:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874350336001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027704832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852952000,"timestamp_ms":1776852952000,"timestamp_seconds":1776852952,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b063c0"} 
[2026-04-22 15: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-22 15:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 15:49:33] 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-22 15: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-22 15: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-22 15:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:49:33] 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-22 15:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874350336001,"66":12776,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1738600593027704832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874350336001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:49:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027704832,"description":"Unknown IO ID 45"} 
[2026-04-22 15:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874350336001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027704832}} 
[2026-04-22 15:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":51312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:49:33] local.INFO: GPS data processed {"connection_id":51312,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:49:33] local.INFO: Acknowledgment sent {"connection_id":51312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:50:02] local.INFO: TCP Data received {"connection_id":50377,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:50:02] local.INFO: Processing buffer {"connection_id":50377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:50:02] local.INFO: Packet analysis {"connection_id":50377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:50:02] local.INFO: Extracted packet for processing {"connection_id":50377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:02] 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-22 15:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 15: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-22 15:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:50: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-22 15: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-22 15: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-22 15:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:50:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":50377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:50:02] local.INFO: GPS data processed {"connection_id":50377,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:50:02] local.INFO: Acknowledgment sent {"connection_id":50377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:50:04] local.INFO: TCP Data received {"connection_id":51312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b0b5c8012d1820c00721b328004d000a29..."} 
[2026-04-22 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b0b5c8012d1820c00721b328004d000a29..."} 
[2026-04-22 15:50:04] local.INFO: Processing buffer {"connection_id":51312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b0b5c8012d1820c00721b328004d000a29..."} 
[2026-04-22 15:50:04] local.INFO: Packet analysis {"connection_id":51312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b0"} 
[2026-04-22 15:50:04] local.INFO: Extracted packet for processing {"connection_id":51312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b0"} 
[2026-04-22 15:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 15:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874355712001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027704832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776852973000,"timestamp_ms":1776852973000,"timestamp_seconds":1776852973,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b0b5c8"} 
[2026-04-22 15:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:50:04] 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-22 15:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874355712001,"66":12776,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1738600593027704832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874355712001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:50:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027704832,"description":"Unknown IO ID 45"} 
[2026-04-22 15:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874355712001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027704832}} 
[2026-04-22 15:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":51312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:50:04] local.INFO: GPS data processed {"connection_id":51312,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:50:04] local.INFO: Acknowledgment sent {"connection_id":51312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:50:16] local.INFO: TCP Data received {"connection_id":50378,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:50:16] local.INFO: Processing buffer {"connection_id":50378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:50:16] local.INFO: IMEI packet received {"connection_id":50378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":50378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:50:26] local.INFO: TCP Data received {"connection_id":50746,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:50:26] local.INFO: Processing buffer {"connection_id":50746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:50:26] local.INFO: IMEI packet received {"connection_id":50746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":50746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:50:27] local.INFO: TCP Data received {"connection_id":51313,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:50:27] local.INFO: Processing buffer {"connection_id":51313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:50:27] local.INFO: IMEI packet received {"connection_id":51313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":51313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:50:31] local.INFO: TCP Data received {"connection_id":50746,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:50:31] local.INFO: Processing buffer {"connection_id":50746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:50:31] local.INFO: IMEI packet received {"connection_id":50746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":50746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:50:31] local.INFO: TCP Data received {"connection_id":50746,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:50:31] local.INFO: Processing buffer {"connection_id":50746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:50:31] local.INFO: Packet analysis {"connection_id":50746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:50:31] local.INFO: Extracted packet for processing {"connection_id":50746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50: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-22 15:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 15: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-22 15:50: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-22 15: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":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:50: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-22 15: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-22 15: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-22 15:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:50:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:50:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":50746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:50:32] local.INFO: GPS data processed {"connection_id":50746,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:50:32] local.INFO: Acknowledgment sent {"connection_id":50746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:50:32] local.INFO: TCP Data received {"connection_id":51313,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:50:32] local.INFO: Processing buffer {"connection_id":51313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:50:32] local.INFO: IMEI packet received {"connection_id":51313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":51313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:50:33] local.INFO: TCP Data received {"connection_id":51313,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b107d0012d1820c00721b328004d000a28..."} 
[2026-04-22 15:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b107d0012d1820c00721b328004d000a28..."} 
[2026-04-22 15:50:33] local.INFO: Processing buffer {"connection_id":51313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b107d0012d1820c00721b328004d000a28..."} 
[2026-04-22 15:50:33] local.INFO: Packet analysis {"connection_id":51313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:50:33] local.INFO: Extracted packet for processing {"connection_id":51313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874361088001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027704832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776852994000,"timestamp_ms":1776852994000,"timestamp_seconds":1776852994,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b107d0"} 
[2026-04-22 15: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-22 15:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:50:33] 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-22 15: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-22 15: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-22 15:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:50:33] 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-22 15:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874361088001,"66":12809,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1738600593027704832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874361088001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:50:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027704832,"description":"Unknown IO ID 45"} 
[2026-04-22 15:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874361088001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027704832}} 
[2026-04-22 15:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":51313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:50:33] local.INFO: GPS data processed {"connection_id":51313,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:50:33] local.INFO: Acknowledgment sent {"connection_id":51313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:50:50] local.INFO: TCP Data received {"connection_id":51314,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:50:50] local.INFO: Processing buffer {"connection_id":51314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:50:50] local.INFO: IMEI packet received {"connection_id":51314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":51314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:51:02] local.INFO: TCP Data received {"connection_id":50746,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:51:02] local.INFO: Processing buffer {"connection_id":50746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:51:02] local.INFO: Packet analysis {"connection_id":50746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:51:02] local.INFO: Extracted packet for processing {"connection_id":50746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:02] 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-22 15:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 15: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-22 15:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:51: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-22 15: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-22 15: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-22 15:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:51:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":50746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:51:02] local.INFO: GPS data processed {"connection_id":50746,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:51:02] local.INFO: Acknowledgment sent {"connection_id":50746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:51:04] local.INFO: TCP Data received {"connection_id":51313,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b159d8012d1820c00721b328004d000a28..."} 
[2026-04-22 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b159d8012d1820c00721b328004d000a28..."} 
[2026-04-22 15:51:04] local.INFO: Processing buffer {"connection_id":51313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b159d8012d1820c00721b328004d000a28..."} 
[2026-04-22 15:51:04] local.INFO: Packet analysis {"connection_id":51313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:51:04] local.INFO: Extracted packet for processing {"connection_id":51313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874366464001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027704832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853015000,"timestamp_ms":1776853015000,"timestamp_seconds":1776853015,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b159d8"} 
[2026-04-22 15: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-22 15:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3031374752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3254779904,"corrected_to":0} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-5851979109972303104,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3005743181,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3747220746884140627,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3418488832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428689245687253546,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,203,181,45,192,179,77,41,10,66,99,40,17,1,240,227,180,33,4,113,205,109,32,239,50,2,148,7,164,194],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":203,"original":3254779904,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:51:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548445907835420672,"timestamp_seconds":5548445907835421.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15: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-22 15:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:51:04] 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-22 15:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874366464001,"66":12809,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1738600593027704832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874366464001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:51:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027704832,"description":"Unknown IO ID 45"} 
[2026-04-22 15:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874366464001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027704832}} 
[2026-04-22 15:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":51313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:51:04] local.INFO: GPS data processed {"connection_id":51313,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:51:04] local.INFO: Acknowledgment sent {"connection_id":51313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:51:26] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:51:26] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:51:26] local.INFO: IMEI packet received {"connection_id":50379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":50379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:51:27] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:51:27] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:51:27] local.INFO: IMEI packet received {"connection_id":50626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":50626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:51:31] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:51:31] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:51:31] local.INFO: IMEI packet received {"connection_id":50379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":50379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:51:32] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:51:32] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:51:32] local.INFO: Packet analysis {"connection_id":50379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:51:32] local.INFO: Extracted packet for processing {"connection_id":50379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 15:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51: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-22 15:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 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-22 15: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-22 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:51: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-22 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-22 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-22 15:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:51: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-22 15:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 15:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:51:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":50379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:51:32] local.INFO: GPS data processed {"connection_id":50379,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:51:32] local.INFO: Acknowledgment sent {"connection_id":50379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:51:32] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:51:32] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:51:32] local.INFO: IMEI packet received {"connection_id":50626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:51:33] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1abe0012d1820c00721b328004d000a28..."} 
[2026-04-22 15:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1abe0012d1820c00721b328004d000a28..."} 
[2026-04-22 15:51:33] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1abe0012d1820c00721b328004d000a28..."} 
[2026-04-22 15:51:33] local.INFO: Packet analysis {"connection_id":50626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:51:33] local.INFO: Extracted packet for processing {"connection_id":50626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874371840001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027704832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853036000,"timestamp_ms":1776853036000,"timestamp_seconds":1776853036,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1abe0"} 
[2026-04-22 15: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-22 15:51: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-22 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3031395752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3254779904,"corrected_to":0} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428328605839788586,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-5828889365789007680,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3005743181,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847658,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3418488832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281301347923,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 15:51:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,203,7,45,192,179,77,40,10,66,181,41,99,1,240,232,227,180,33,4,113,205,191,32,42,239,49,2,148,50,164,194],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":203,"original":3254779904,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:51:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548445907835420672,"timestamp_seconds":5548445907835421.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15: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-22 15:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:51:33] 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-22 15:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874371840001,"66":12776,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1738600593027704832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874371840001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:51:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027704832,"description":"Unknown IO ID 45"} 
[2026-04-22 15:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874371840001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027704832}} 
[2026-04-22 15:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:51:33] local.INFO: GPS data processed {"connection_id":50626,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:51:33] local.INFO: Acknowledgment sent {"connection_id":50626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:52:02] local.INFO: TCP Data received {"connection_id":50379,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:52:02] local.INFO: Processing buffer {"connection_id":50379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:52:02] local.INFO: Packet analysis {"connection_id":50379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:52:02] local.INFO: Extracted packet for processing {"connection_id":50379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:02] 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-22 15:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 15:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:52: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-22 15:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:52: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-22 15:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 15:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:52:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":50379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:52:02] local.INFO: GPS data processed {"connection_id":50379,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:52:02] local.INFO: Acknowledgment sent {"connection_id":50379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:52:04] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1fde8012d1820c00721b328004d000a29..."} 
[2026-04-22 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1fde8012d1820c00721b328004d000a29..."} 
[2026-04-22 15:52:04] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1fde8012d1820c00721b328004d000a29..."} 
[2026-04-22 15:52:04] local.INFO: Packet analysis {"connection_id":50626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:52:04] local.INFO: Extracted packet for processing {"connection_id":50626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649064,"longitude_deg":75.6555968,"latitude_deg":11.9649064,"altitude":77,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b328","is_valid_coordinates":true} 
[2026-04-22 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-22 15:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874377216001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939924675198976,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027704832,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853057000,"timestamp_ms":1776853057000,"timestamp_seconds":1776853057,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1fde8"} 
[2026-04-22 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-22 15:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 15:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 15:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:52:04] 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-22 15:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874377216001,"66":12765,"105":206,"83":41984,"24":0,"16":113939924675198976,"45":1738600593027704832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874377216001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:52:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939924675198976,"km_value":113939924675198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027704832,"description":"Unknown IO ID 45"} 
[2026-04-22 15:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874377216001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027704832}} 
[2026-04-22 15:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":50626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:52:04] local.INFO: GPS data processed {"connection_id":50626,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:52:04] local.INFO: Acknowledgment sent {"connection_id":50626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:52:25] local.INFO: TCP Data received {"connection_id":50380,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:52:25] local.INFO: Processing buffer {"connection_id":50380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:52:25] local.INFO: IMEI packet received {"connection_id":50380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":50380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:52:30] local.INFO: TCP Data received {"connection_id":51316,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:52:30] local.INFO: Processing buffer {"connection_id":51316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:52:30] local.INFO: IMEI packet received {"connection_id":51316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":51316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:52:31] local.INFO: TCP Data received {"connection_id":50380,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:52:31] local.INFO: Processing buffer {"connection_id":50380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:52:31] local.INFO: IMEI packet received {"connection_id":50380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":50380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:52:32] local.INFO: TCP Data received {"connection_id":50380,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:52:32] local.INFO: Processing buffer {"connection_id":50380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b1c350012d7f868005afdd080007014926..."} 
[2026-04-22 15:52:32] local.INFO: Packet analysis {"connection_id":50380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:52:32] local.INFO: Extracted packet for processing {"connection_id":50380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b1"} 
[2026-04-22 15:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":7,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874301696001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52: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-22 15:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853042000,"timestamp_ms":1776853042000,"timestamp_seconds":1776853042,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b1c350"} 
[2026-04-22 15: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-22 15:52: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-22 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 15:52: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-22 15: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-22 15: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-22 15:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874301696001,"66":25604,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874301696001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:52:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874301696001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":50380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:52:32] local.INFO: GPS data processed {"connection_id":50380,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:52:32] local.INFO: Acknowledgment sent {"connection_id":50380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:52:32] local.INFO: TCP Data received {"connection_id":51316,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:52:32] local.INFO: Processing buffer {"connection_id":51316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:52:32] local.INFO: IMEI packet received {"connection_id":51316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":51316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:52:37] local.INFO: TCP Data received {"connection_id":51316,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:52:37] local.INFO: Processing buffer {"connection_id":51316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:52:37] local.INFO: IMEI packet received {"connection_id":51316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":51316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:52:38] local.INFO: TCP Data received {"connection_id":51316,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b57888012d181ec00721b220004700c728..."} 
[2026-04-22 15:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b57888012d181ec00721b220004700c728..."} 
[2026-04-22 15:52:38] local.INFO: Processing buffer {"connection_id":51316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b57888012d181ec00721b220004700c728..."} 
[2026-04-22 15:52:38] local.INFO: Packet analysis {"connection_id":51316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b5"} 
[2026-04-22 15:52:38] local.INFO: Extracted packet for processing {"connection_id":51316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b5"} 
[2026-04-22 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648800,"longitude_deg":75.6555456,"latitude_deg":11.96488,"altitude":71,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-04-22 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874435584001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939959034937344,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074215936,"note":"Value kept but may cause issues"} 
[2026-04-22 15:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776853285000,"timestamp_ms":1776853285000,"timestamp_seconds":1776853285,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b57888"} 
[2026-04-22 15:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-22 15:52:38] 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-22 15:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:52:38] 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-22 15:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874435584001,"66":12558,"105":206,"83":41984,"24":0,"16":113939959034937344,"45":1738037643074215936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874435584001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:52:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939959034937344,"km_value":113939959034937.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074215936,"description":"Unknown IO ID 45"} 
[2026-04-22 15:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874435584001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074215936}} 
[2026-04-22 15:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":51316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:52:38] local.INFO: GPS data processed {"connection_id":51316,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:52:38] local.INFO: Acknowledgment sent {"connection_id":51316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:53:03] local.INFO: TCP Data received {"connection_id":50380,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:53:03] local.INFO: Processing buffer {"connection_id":50380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:53:03] local.INFO: Packet analysis {"connection_id":50380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:53:03] local.INFO: Extracted packet for processing {"connection_id":50380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53: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-22 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:53: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-22 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:53: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-22 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:53:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":50380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:53:03] local.INFO: GPS data processed {"connection_id":50380,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:53:03] local.INFO: Acknowledgment sent {"connection_id":50380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:53:09] local.INFO: TCP Data received {"connection_id":51316,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b5ca90012d181ec00721b220004700c728..."} 
[2026-04-22 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b5ca90012d181ec00721b220004700c728..."} 
[2026-04-22 15:53:09] local.INFO: Processing buffer {"connection_id":51316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b5ca90012d181ec00721b220004700c728..."} 
[2026-04-22 15:53:09] local.INFO: Packet analysis {"connection_id":51316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b5"} 
[2026-04-22 15:53:09] local.INFO: Extracted packet for processing {"connection_id":51316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b5"} 
[2026-04-22 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648800,"longitude_deg":75.6555456,"latitude_deg":11.96488,"altitude":71,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-04-22 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874440960001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939959034937344,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074215936,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776853306000,"timestamp_ms":1776853306000,"timestamp_seconds":1776853306,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b5ca90"} 
[2026-04-22 15:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3031665752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3388997632,"corrected_to":0} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380941250015776,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3023071233,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988441671,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3419013120,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:09] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,203,38,45,192,178,71,39,10,66,212,42,130,1,240,101,227,180,33,4,113,205,222,30,32,40,239,49,2,148,7,106,79,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":203,"original":3388997632,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:53:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116308151305502720,"timestamp_seconds":5116308151305503.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:53:09] 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-22 15:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874440960001,"66":12602,"105":206,"83":41984,"24":0,"16":113939959034937344,"45":1738037643074215936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874440960001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:53:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939959034937344,"km_value":113939959034937.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074215936,"description":"Unknown IO ID 45"} 
[2026-04-22 15:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874440960001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074215936}} 
[2026-04-22 15:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":51316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:53:09] local.INFO: GPS data processed {"connection_id":51316,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:53:09] local.INFO: Acknowledgment sent {"connection_id":51316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:53:27] local.INFO: TCP Data received {"connection_id":50381,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:53:27] local.INFO: Processing buffer {"connection_id":50381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:53:27] local.INFO: IMEI packet received {"connection_id":50381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":50381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:53:31] local.INFO: TCP Data received {"connection_id":51318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:53:31] local.INFO: Processing buffer {"connection_id":51318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:53:31] local.INFO: IMEI packet received {"connection_id":51318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":51318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:53:32] local.INFO: TCP Data received {"connection_id":50381,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:53:32] local.INFO: Processing buffer {"connection_id":50381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:53:32] local.INFO: IMEI packet received {"connection_id":50381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:53:33] local.INFO: TCP Data received {"connection_id":50381,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b5e200012d181ec00721b028004b00e028..."} 
[2026-04-22 15:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b5e200012d181ec00721b028004b00e028..."} 
[2026-04-22 15:53:33] local.INFO: Processing buffer {"connection_id":50381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b5e200012d181ec00721b028004b00e028..."} 
[2026-04-22 15:53:33] local.INFO: Packet analysis {"connection_id":50381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b5"} 
[2026-04-22 15:53:33] local.INFO: Extracted packet for processing {"connection_id":50381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b5"} 
[2026-04-22 15:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648296,"longitude_deg":75.6555456,"latitude_deg":11.9648296,"altitude":75,"angle":224,"satellites":40,"speed":1,"hex_longitude":"2d181ec0","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-04-22 15:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874446336001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939984804741120,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074215936,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853312000,"timestamp_ms":1776853312000,"timestamp_seconds":1776853312,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b5e200"} 
[2026-04-22 15:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 15:53:33] 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-22 15:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:53:33] 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-22 15:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874446336001,"66":12591,"105":206,"83":41984,"24":1,"16":113939984804741120,"45":1738037643074215936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874446336001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:53:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939984804741120,"km_value":113939984804741.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074215936,"description":"Unknown IO ID 45"} 
[2026-04-22 15:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874446336001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738037643074215936}} 
[2026-04-22 15:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":50381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:53:33] local.INFO: GPS data processed {"connection_id":50381,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:53:33] local.INFO: Acknowledgment sent {"connection_id":50381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:53:36] local.INFO: TCP Data received {"connection_id":51318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:53:36] local.INFO: Processing buffer {"connection_id":51318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:53:36] local.INFO: IMEI packet received {"connection_id":51318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":51318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:53:36] local.INFO: TCP Data received {"connection_id":51318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:53:36] local.INFO: Processing buffer {"connection_id":51318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:53:36] local.INFO: Packet analysis {"connection_id":51318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:53:36] local.INFO: Extracted packet for processing {"connection_id":51318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:53: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-22 15:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 15:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:53: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-22 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:53:36] 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-22 15:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 15:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:53:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":51318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:53:37] local.INFO: GPS data processed {"connection_id":51318,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:53:37] local.INFO: Acknowledgment sent {"connection_id":51318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:54:04] local.INFO: TCP Data received {"connection_id":50381,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b63408012d181ec00721b010004b00e028..."} 
[2026-04-22 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b63408012d181ec00721b010004b00e028..."} 
[2026-04-22 15:54:04] local.INFO: Processing buffer {"connection_id":50381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b63408012d181ec00721b010004b00e028..."} 
[2026-04-22 15:54:04] local.INFO: Packet analysis {"connection_id":50381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:54:04] local.INFO: Extracted packet for processing {"connection_id":50381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874447872001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074086912,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853333000,"timestamp_ms":1776853333000,"timestamp_seconds":1776853333,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b63408"} 
[2026-04-22 15: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-22 15:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 15:54:04] 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-22 15: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-22 15: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-22 15:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:54:04] 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-22 15:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874447872001,"66":12591,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074086912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874447872001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:54:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074086912,"description":"Unknown IO ID 45"} 
[2026-04-22 15:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874447872001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074086912}} 
[2026-04-22 15:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":50381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:54:04] local.INFO: GPS data processed {"connection_id":50381,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:54:04] local.INFO: Acknowledgment sent {"connection_id":50381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:54:07] local.INFO: TCP Data received {"connection_id":51318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:54:07] local.INFO: Processing buffer {"connection_id":51318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:54:07] local.INFO: Packet analysis {"connection_id":51318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:54:07] local.INFO: Extracted packet for processing {"connection_id":51318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:07] 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-22 15:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 15:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 15:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:54:07] 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-22 15:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 15:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:54:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":51318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:54:07] local.INFO: GPS data processed {"connection_id":51318,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:54:07] local.INFO: Acknowledgment sent {"connection_id":51318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:54:26] local.INFO: TCP Data received {"connection_id":50628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:54:26] local.INFO: Processing buffer {"connection_id":50628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:54:26] local.INFO: IMEI packet received {"connection_id":50628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":50628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:54:27] local.INFO: TCP Data received {"connection_id":50629,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:54:27] local.INFO: Processing buffer {"connection_id":50629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:54:27] local.INFO: IMEI packet received {"connection_id":50629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":50629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:54:31] local.INFO: TCP Data received {"connection_id":50628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:54:31] local.INFO: Processing buffer {"connection_id":50628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:54:31] local.INFO: IMEI packet received {"connection_id":50628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:54:31] local.INFO: TCP Data received {"connection_id":50628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:54:31] local.INFO: Processing buffer {"connection_id":50628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:54:31] local.INFO: Packet analysis {"connection_id":50628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:54:31] local.INFO: Extracted packet for processing {"connection_id":50628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54: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-22 15:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 15: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-22 15:54: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-22 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:54:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":50628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:54:31] local.INFO: GPS data processed {"connection_id":50628,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:54:31] local.INFO: Acknowledgment sent {"connection_id":50628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:54:32] local.INFO: TCP Data received {"connection_id":50629,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:54:32] local.INFO: Processing buffer {"connection_id":50629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:54:32] local.INFO: IMEI packet received {"connection_id":50629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:54:33] local.INFO: TCP Data received {"connection_id":50629,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b68610012d181ec00721b010004b00e029..."} 
[2026-04-22 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b68610012d181ec00721b010004b00e029..."} 
[2026-04-22 15:54:33] local.INFO: Processing buffer {"connection_id":50629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b68610012d181ec00721b010004b00e029..."} 
[2026-04-22 15:54:33] local.INFO: Packet analysis {"connection_id":50629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:54:33] local.INFO: Extracted packet for processing {"connection_id":50629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874453248001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853354000,"timestamp_ms":1776853354000,"timestamp_seconds":1776853354,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b68610"} 
[2026-04-22 15: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-22 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 15:54:33] 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-22 15: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-22 15: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-22 15:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:54:33] 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-22 15:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874453248001,"66":12558,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874453248001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:54:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874453248001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":50629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:54:33] local.INFO: GPS data processed {"connection_id":50629,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:54:33] local.INFO: Acknowledgment sent {"connection_id":50629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:55:02] local.INFO: TCP Data received {"connection_id":50628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:55:02] local.INFO: Processing buffer {"connection_id":50628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:55:02] local.INFO: Packet analysis {"connection_id":50628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:55:02] local.INFO: Extracted packet for processing {"connection_id":50628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:02] 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-22 15:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 15: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-22 15:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:55:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":50628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:55:02] local.INFO: GPS data processed {"connection_id":50628,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:55:02] local.INFO: Acknowledgment sent {"connection_id":50628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:55:04] local.INFO: TCP Data received {"connection_id":50629,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b6d818012d181ec00721b010004b00e029..."} 
[2026-04-22 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b6d818012d181ec00721b010004b00e029..."} 
[2026-04-22 15:55:04] local.INFO: Processing buffer {"connection_id":50629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b6d818012d181ec00721b010004b00e029..."} 
[2026-04-22 15:55:04] local.INFO: Packet analysis {"connection_id":50629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:55:04] local.INFO: Extracted packet for processing {"connection_id":50629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874458624001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853375000,"timestamp_ms":1776853375000,"timestamp_seconds":1776853375,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b6d818"} 
[2026-04-22 15:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3031749752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3388997632,"corrected_to":0} 
[2026-04-22 15:55:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":36865,"corrected_to":0} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380941250015776,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3044575233,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988441671,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3419013120,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,203,52,45,192,176,75,40,10,66,226,202,1,240,58,227,180,33,4,113,205,38,30,32,39,239,49,2,148,7,71,106,79,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":203,"original":3388997632,"validated":0},{"io_id":202,"original":36865,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 15:55:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404566019542876160,"timestamp_seconds":5404566019542876.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:55:04] 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-22 15:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874458624001,"66":12537,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874458624001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:55:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874458624001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":50629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:55:04] local.INFO: GPS data processed {"connection_id":50629,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:55:04] local.INFO: Acknowledgment sent {"connection_id":50629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:55:26] local.INFO: TCP Data received {"connection_id":50382,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:55:26] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:55:26] local.INFO: IMEI packet received {"connection_id":50382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":50382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:55:27] local.INFO: TCP Data received {"connection_id":50383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:55:27] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:55:27] local.INFO: IMEI packet received {"connection_id":50383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":50383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:55:31] local.INFO: TCP Data received {"connection_id":50382,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:55:31] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:55:31] local.INFO: IMEI packet received {"connection_id":50382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":50382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:55:32] local.INFO: TCP Data received {"connection_id":50382,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:55:32] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:55:32] local.INFO: Packet analysis {"connection_id":50382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:55:32] local.INFO: Extracted packet for processing {"connection_id":50382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 15:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55: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-22 15:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 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-22 15: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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 15:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:55:32] 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-22 15:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:55:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":50382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:55:32] local.INFO: GPS data processed {"connection_id":50382,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:55:32] local.INFO: Acknowledgment sent {"connection_id":50382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:55:32] local.INFO: TCP Data received {"connection_id":50383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:55:32] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:55:32] local.INFO: IMEI packet received {"connection_id":50383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:55:33] local.INFO: TCP Data received {"connection_id":50383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b72a20012d181ec00721b010004b00e028..."} 
[2026-04-22 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b72a20012d181ec00721b010004b00e028..."} 
[2026-04-22 15:55:33] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b72a20012d181ec00721b010004b00e028..."} 
[2026-04-22 15:55:33] local.INFO: Packet analysis {"connection_id":50383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b7"} 
[2026-04-22 15:55:33] local.INFO: Extracted packet for processing {"connection_id":50383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b7"} 
[2026-04-22 15:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874464000001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853396000,"timestamp_ms":1776853396000,"timestamp_seconds":1776853396,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b72a20"} 
[2026-04-22 15: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-22 15:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 15:55:33] 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-22 15: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-22 15: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-22 15:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:55:33] 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-22 15:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874464000001,"66":12548,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874464000001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:55:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874464000001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:55:33] local.INFO: GPS data processed {"connection_id":50383,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:55:33] local.INFO: Acknowledgment sent {"connection_id":50383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:56:02] local.INFO: TCP Data received {"connection_id":50382,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:56:02] local.INFO: Processing buffer {"connection_id":50382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:56:02] local.INFO: Packet analysis {"connection_id":50382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:56:02] local.INFO: Extracted packet for processing {"connection_id":50382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:02] 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-22 15:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 15: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-22 15:56: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-22 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:56:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":50382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:56:02] local.INFO: GPS data processed {"connection_id":50382,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:56:02] local.INFO: Acknowledgment sent {"connection_id":50382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:56:04] local.INFO: TCP Data received {"connection_id":50383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b77c28012d181ec00721b010004b00e02b..."} 
[2026-04-22 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b77c28012d181ec00721b010004b00e02b..."} 
[2026-04-22 15:56:04] local.INFO: Processing buffer {"connection_id":50383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b77c28012d181ec00721b010004b00e02b..."} 
[2026-04-22 15:56:04] local.INFO: Packet analysis {"connection_id":50383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b7"} 
[2026-04-22 15:56:04] local.INFO: Extracted packet for processing {"connection_id":50383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b7"} 
[2026-04-22 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874469376001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853417000,"timestamp_ms":1776853417000,"timestamp_seconds":1776853417,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b77c28"} 
[2026-04-22 15: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-22 15:56:04] 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-22 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3031791752,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3506438144,"corrected_to":0} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3051487233,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2955411531,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 15:56:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2415996184,"corrected_to":0} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3419013120,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,203,216,45,192,176,75,41,10,66,134,52,1,240,47,227,180,33,4,113,205,202,30,32,40,239,49,2,148,7,71,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":203,"original":3506438144,"validated":0},{"io_id":205,"original":1785266382,"validated":0},{"io_id":202,"original":2415996184,"validated":0}]} 
[2026-04-22 15:56:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404566015247908864,"timestamp_seconds":5404566015247909.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 15: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-22 15:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:56:04] 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-22 15:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874469376001,"66":12537,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874469376001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:56:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874469376001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":50383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:56:04] local.INFO: GPS data processed {"connection_id":50383,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:56:04] local.INFO: Acknowledgment sent {"connection_id":50383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:56:16] local.INFO: TCP Data received {"connection_id":50747,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:56:16] local.INFO: Processing buffer {"connection_id":50747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:56:16] local.INFO: IMEI packet received {"connection_id":50747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":50747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:56:26] local.INFO: TCP Data received {"connection_id":51319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:56:26] local.INFO: Processing buffer {"connection_id":51319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:56:26] local.INFO: IMEI packet received {"connection_id":51319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":51319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:56:27] local.INFO: TCP Data received {"connection_id":50384,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:56:27] local.INFO: Processing buffer {"connection_id":50384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:56:27] local.INFO: IMEI packet received {"connection_id":50384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":50384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:56:31] local.INFO: TCP Data received {"connection_id":51319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:56:31] local.INFO: Processing buffer {"connection_id":51319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:56:31] local.INFO: IMEI packet received {"connection_id":51319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":51319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:56:32] local.INFO: TCP Data received {"connection_id":51319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:56:32] local.INFO: Processing buffer {"connection_id":51319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:56:32] local.INFO: Packet analysis {"connection_id":51319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:56:32] local.INFO: Extracted packet for processing {"connection_id":51319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 15:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56: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-22 15:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 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-22 15: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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 15:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:56:32] 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-22 15:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:56:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":51319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:56:32] local.INFO: GPS data processed {"connection_id":51319,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:56:32] local.INFO: Acknowledgment sent {"connection_id":51319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:56:32] local.INFO: TCP Data received {"connection_id":50384,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:56:32] local.INFO: Processing buffer {"connection_id":50384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:56:32] local.INFO: IMEI packet received {"connection_id":50384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:56:33] local.INFO: TCP Data received {"connection_id":50384,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b7ce30012d181ec00721b010004b00e02a..."} 
[2026-04-22 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b7ce30012d181ec00721b010004b00e02a..."} 
[2026-04-22 15:56:33] local.INFO: Processing buffer {"connection_id":50384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b7ce30012d181ec00721b010004b00e02a..."} 
[2026-04-22 15:56:33] local.INFO: Packet analysis {"connection_id":50384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b7"} 
[2026-04-22 15:56:33] local.INFO: Extracted packet for processing {"connection_id":50384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b7"} 
[2026-04-22 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874474752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853438000,"timestamp_ms":1776853438000,"timestamp_seconds":1776853438,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b7ce30"} 
[2026-04-22 15: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-22 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 15:56:33] 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-22 15: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-22 15: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-22 15:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:56:33] 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-22 15:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874474752001,"66":12526,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874474752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:56:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874474752001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":50384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:56:33] local.INFO: GPS data processed {"connection_id":50384,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:56:33] local.INFO: Acknowledgment sent {"connection_id":50384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:56:50] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:56:50] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 15:56:50] local.INFO: IMEI packet received {"connection_id":50748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 15:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":50748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:57:03] local.INFO: TCP Data received {"connection_id":51319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:57:03] local.INFO: Processing buffer {"connection_id":51319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:57:03] local.INFO: Packet analysis {"connection_id":51319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:57:03] local.INFO: Extracted packet for processing {"connection_id":51319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57: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-22 15:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 15: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-22 15:57: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-22 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:57:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":51319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:57:03] local.INFO: GPS data processed {"connection_id":51319,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:57:03] local.INFO: Acknowledgment sent {"connection_id":51319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:57:04] local.INFO: TCP Data received {"connection_id":50384,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b82038012d181ec00721b010004b00e029..."} 
[2026-04-22 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b82038012d181ec00721b010004b00e029..."} 
[2026-04-22 15:57:04] local.INFO: Processing buffer {"connection_id":50384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b82038012d181ec00721b010004b00e029..."} 
[2026-04-22 15:57:04] local.INFO: Packet analysis {"connection_id":50384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b8"} 
[2026-04-22 15:57:04] local.INFO: Extracted packet for processing {"connection_id":50384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b8"} 
[2026-04-22 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874480128001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853459000,"timestamp_ms":1776853459000,"timestamp_seconds":1776853459,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b82038"} 
[2026-04-22 15:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:57:04] 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-22 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 15:57:04] 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-22 15:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:57:04] 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-22 15:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874480128001,"66":12526,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874480128001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:57:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874480128001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":50384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:57:04] local.INFO: GPS data processed {"connection_id":50384,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:57:04] local.INFO: Acknowledgment sent {"connection_id":50384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:57:25] local.INFO: TCP Data received {"connection_id":51320,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:57:25] local.INFO: Processing buffer {"connection_id":51320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:57:25] local.INFO: IMEI packet received {"connection_id":51320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":51320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:57:27] local.INFO: TCP Data received {"connection_id":50749,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:57:27] local.INFO: Processing buffer {"connection_id":50749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:57:27] local.INFO: IMEI packet received {"connection_id":50749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":50749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:57:31] local.INFO: TCP Data received {"connection_id":51320,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:57:31] local.INFO: Processing buffer {"connection_id":51320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:57:31] local.INFO: IMEI packet received {"connection_id":51320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":51320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:57:32] local.INFO: TCP Data received {"connection_id":50749,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:57:32] local.INFO: Processing buffer {"connection_id":50749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:57:32] local.INFO: IMEI packet received {"connection_id":50749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:57:32] local.INFO: TCP Data received {"connection_id":51320,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:57:32] local.INFO: Processing buffer {"connection_id":51320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b65b18012d7f868005afdd080013014928..."} 
[2026-04-22 15:57:32] local.INFO: Packet analysis {"connection_id":51320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:57:32] local.INFO: Extracted packet for processing {"connection_id":51320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b6"} 
[2026-04-22 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874378752001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57: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-22 15:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853343000,"timestamp_ms":1776853343000,"timestamp_seconds":1776853343,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b65b18"} 
[2026-04-22 15: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-22 15:57: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-22 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 15:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15: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-22 15: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-22 15:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 15:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874378752001,"66":25549,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874378752001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:57:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874378752001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":51320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:57:32] local.INFO: GPS data processed {"connection_id":51320,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:57:32] local.INFO: Acknowledgment sent {"connection_id":51320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:57:33] local.INFO: TCP Data received {"connection_id":50749,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b87240012d181ec00721b010004b00e029..."} 
[2026-04-22 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b87240012d181ec00721b010004b00e029..."} 
[2026-04-22 15:57:33] local.INFO: Processing buffer {"connection_id":50749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b87240012d181ec00721b010004b00e029..."} 
[2026-04-22 15:57:33] local.INFO: Packet analysis {"connection_id":50749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b8"} 
[2026-04-22 15:57:33] local.INFO: Extracted packet for processing {"connection_id":50749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b8"} 
[2026-04-22 15:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874485504001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853480000,"timestamp_ms":1776853480000,"timestamp_seconds":1776853480,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b87240"} 
[2026-04-22 15:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 15:57:33] 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-22 15:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:57:33] 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-22 15:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874485504001,"66":12504,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874485504001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:57:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874485504001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:57:33] local.INFO: GPS data processed {"connection_id":50749,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:57:33] local.INFO: Acknowledgment sent {"connection_id":50749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:58:03] local.INFO: TCP Data received {"connection_id":51320,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:58:03] local.INFO: Processing buffer {"connection_id":51320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:58:03] local.INFO: Packet analysis {"connection_id":51320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 15:58:03] local.INFO: Extracted packet for processing {"connection_id":51320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 15:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58: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-22 15:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 15: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-22 15:58: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-22 15:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 15:58: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-22 15: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-22 15: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-22 15:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:58: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-22 15:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:58:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":51320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:58:03] local.INFO: GPS data processed {"connection_id":51320,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:58:03] local.INFO: Acknowledgment sent {"connection_id":51320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:58:04] local.INFO: TCP Data received {"connection_id":50749,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b8c448012d181ec00721b010004b00e028..."} 
[2026-04-22 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b8c448012d181ec00721b010004b00e028..."} 
[2026-04-22 15:58:04] local.INFO: Processing buffer {"connection_id":50749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b8c448012d181ec00721b010004b00e028..."} 
[2026-04-22 15:58:04] local.INFO: Packet analysis {"connection_id":50749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b8"} 
[2026-04-22 15:58:04] local.INFO: Extracted packet for processing {"connection_id":50749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b8"} 
[2026-04-22 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874490880001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853501000,"timestamp_ms":1776853501000,"timestamp_seconds":1776853501,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b8c448"} 
[2026-04-22 15:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 15:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:58:04] 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-22 15:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874490880001,"66":12504,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874490880001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:58:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874490880001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":50749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:58:04] local.INFO: GPS data processed {"connection_id":50749,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:58:04] local.INFO: Acknowledgment sent {"connection_id":50749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:58:31] local.INFO: TCP Data received {"connection_id":51321,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:58:31] local.INFO: Processing buffer {"connection_id":51321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:58:31] local.INFO: IMEI packet received {"connection_id":51321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":51321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:58:32] local.INFO: TCP Data received {"connection_id":51322,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:58:32] local.INFO: Processing buffer {"connection_id":51322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:58:32] local.INFO: IMEI packet received {"connection_id":51322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":51322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:58:36] local.INFO: TCP Data received {"connection_id":51321,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:58:36] local.INFO: Processing buffer {"connection_id":51321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:58:36] local.INFO: IMEI packet received {"connection_id":51321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":51321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:58:36] local.INFO: TCP Data received {"connection_id":51321,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:58:36] local.INFO: Processing buffer {"connection_id":51321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:58:36] local.INFO: Packet analysis {"connection_id":51321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 15:58:36] local.INFO: Extracted packet for processing {"connection_id":51321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58: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-22 15:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 15:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:58: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-22 15:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 15:58: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-22 15:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:58:36] 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-22 15:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:58:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":51321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:58:36] local.INFO: GPS data processed {"connection_id":51321,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:58:36] local.INFO: Acknowledgment sent {"connection_id":51321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:58:37] local.INFO: TCP Data received {"connection_id":51322,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:58:37] local.INFO: Processing buffer {"connection_id":51322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:58:37] local.INFO: IMEI packet received {"connection_id":51322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":51322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:58:38] local.INFO: TCP Data received {"connection_id":51322,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b91650012d181ec00721b010004b00e027..."} 
[2026-04-22 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b91650012d181ec00721b010004b00e027..."} 
[2026-04-22 15:58:38] local.INFO: Processing buffer {"connection_id":51322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b91650012d181ec00721b010004b00e027..."} 
[2026-04-22 15:58:38] local.INFO: Packet analysis {"connection_id":51322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b9"} 
[2026-04-22 15:58:38] local.INFO: Extracted packet for processing {"connection_id":51322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b9"} 
[2026-04-22 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874496256001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776853522000,"timestamp_ms":1776853522000,"timestamp_seconds":1776853522,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b91650"} 
[2026-04-22 15:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 15:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:58:38] 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-22 15:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874496256001,"66":12504,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874496256001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:58:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874496256001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":51322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:58:38] local.INFO: GPS data processed {"connection_id":51322,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:58:38] local.INFO: Acknowledgment sent {"connection_id":51322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:58:43] local.INFO: TCP Data received {"connection_id":51322,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b96858012d181ec00721b010004b00e02a..."} 
[2026-04-22 15:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b96858012d181ec00721b010004b00e02a..."} 
[2026-04-22 15:58:43] local.INFO: Processing buffer {"connection_id":51322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b96858012d181ec00721b010004b00e02a..."} 
[2026-04-22 15:58:43] local.INFO: Packet analysis {"connection_id":51322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b9"} 
[2026-04-22 15:58:43] local.INFO: Extracted packet for processing {"connection_id":51322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b9"} 
[2026-04-22 15:58:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15:58: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-22 15:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874501632001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:58: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-22 15:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776853543000,"timestamp_ms":1776853543000,"timestamp_seconds":1776853543,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b96858"} 
[2026-04-22 15:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 15:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 15:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 15:58: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-22 15:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":51322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":51322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":51322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:58:43] 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-22 15:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874501632001,"66":12504,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874501632001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:58:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:58:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874501632001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":51322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:58:43] local.INFO: GPS data processed {"connection_id":51322,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:58:43] local.INFO: Acknowledgment sent {"connection_id":51322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:59:08] local.INFO: TCP Data received {"connection_id":51321,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:59:08] local.INFO: Processing buffer {"connection_id":51321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:59:08] local.INFO: Packet analysis {"connection_id":51321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 15:59:08] local.INFO: Extracted packet for processing {"connection_id":51321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 15:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:59: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-22 15:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 15:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 15:59: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-22 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 15:59: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-22 15:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 15:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 15:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:59:08] 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-22 15:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:59:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":51321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:59:08] local.INFO: GPS data processed {"connection_id":51321,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:59:08] local.INFO: Acknowledgment sent {"connection_id":51321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:59:26] local.INFO: TCP Data received {"connection_id":50632,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:59:26] local.INFO: Processing buffer {"connection_id":50632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:59:26] local.INFO: IMEI packet received {"connection_id":50632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 15:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":50632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:59:27] local.INFO: TCP Data received {"connection_id":50633,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:59:27] local.INFO: Processing buffer {"connection_id":50633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:59:27] local.INFO: IMEI packet received {"connection_id":50633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 15:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":50633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 15:59:30] local.INFO: TCP Data received {"connection_id":50633,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:59:30] local.INFO: Processing buffer {"connection_id":50633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 15:59:30] local.INFO: IMEI packet received {"connection_id":50633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 15:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":50633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:59:31] local.INFO: TCP Data received {"connection_id":50632,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:59:31] local.INFO: Processing buffer {"connection_id":50632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 15:59:31] local.INFO: IMEI packet received {"connection_id":50632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 15:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":50632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 15:59:31] local.INFO: TCP Data received {"connection_id":50633,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4b9ba60012d181ec00721b010004b00e02a..."} 
[2026-04-22 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4b9ba60012d181ec00721b010004b00e02a..."} 
[2026-04-22 15:59:31] local.INFO: Processing buffer {"connection_id":50633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4b9ba60012d181ec00721b010004b00e02a..."} 
[2026-04-22 15:59:31] local.INFO: Packet analysis {"connection_id":50633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4b9"} 
[2026-04-22 15:59:31] local.INFO: Extracted packet for processing {"connection_id":50633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4b9"} 
[2026-04-22 15:59:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 15: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-22 15:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874507008001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 15:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 15:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 15:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776853564000,"timestamp_ms":1776853564000,"timestamp_seconds":1776853564,"priority":1,"record_length":96,"hex_timestamp":"0000019db4b9ba60"} 
[2026-04-22 15: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-22 15:59:31] 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-22 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 15:59:31] 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-22 15: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-22 15: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-22 15:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 15:59:31] 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-22 15:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 15:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 15:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874507008001,"66":12504,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 15:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 15:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 15:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874507008001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:59:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 15:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 15:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 15:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874507008001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 15:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":50633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:59:31] local.INFO: GPS data processed {"connection_id":50633,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:59:31] local.INFO: Acknowledgment sent {"connection_id":50633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 15:59:32] local.INFO: TCP Data received {"connection_id":50632,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:59:32] local.INFO: Processing buffer {"connection_id":50632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 15:59:32] local.INFO: Packet analysis {"connection_id":50632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 15:59:32] local.INFO: Extracted packet for processing {"connection_id":50632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 15:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 15:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 15:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 15:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 15:59: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-22 15:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 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-22 15: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-22 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":205,"data_length":795,"current_offset":136} 
[2026-04-22 15:59: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-22 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-22 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-22 15:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 15:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 15:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 15:59:32] 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-22 15:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 15:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 15:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 15:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 15:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 15:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 15:59:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 15:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 15:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 15:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 15:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 15:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":50632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 15:59:32] local.INFO: GPS data processed {"connection_id":50632,"processed":1,"errors":0,"total":1} 
[2026-04-22 15:59:32] local.INFO: Acknowledgment sent {"connection_id":50632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:00:02] local.INFO: TCP Data received {"connection_id":50633,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ba0c68012d181ec00721b010004b00e028..."} 
[2026-04-22 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ba0c68012d181ec00721b010004b00e028..."} 
[2026-04-22 16:00:02] local.INFO: Processing buffer {"connection_id":50633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ba0c68012d181ec00721b010004b00e028..."} 
[2026-04-22 16:00:02] local.INFO: Packet analysis {"connection_id":50633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:00:02] local.INFO: Extracted packet for processing {"connection_id":50633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874512384001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853585000,"timestamp_ms":1776853585000,"timestamp_seconds":1776853585,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ba0c68"} 
[2026-04-22 16:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 16:00:02] 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-22 16:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:00:02] 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-22 16:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874512384001,"66":12504,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874512384001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:00:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874512384001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":50633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:00:02] local.INFO: GPS data processed {"connection_id":50633,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:00:02] local.INFO: Acknowledgment sent {"connection_id":50633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:00:03] local.INFO: TCP Data received {"connection_id":50632,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:00:03] local.INFO: Processing buffer {"connection_id":50632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:00:03] local.INFO: Packet analysis {"connection_id":50632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:00:03] local.INFO: Extracted packet for processing {"connection_id":50632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00: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-22 16:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 16: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-22 16: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-22 16: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-22 16: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-22 16: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-22 16: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-22 16:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:00: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-22 16:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:00:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":50632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:00:03] local.INFO: GPS data processed {"connection_id":50632,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:00:03] local.INFO: Acknowledgment sent {"connection_id":50632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:00:26] local.INFO: TCP Data received {"connection_id":50634,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:00:26] local.INFO: Processing buffer {"connection_id":50634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:00:26] local.INFO: IMEI packet received {"connection_id":50634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":50634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:00:27] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:00:27] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:00:27] local.INFO: IMEI packet received {"connection_id":50385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:00:31] local.INFO: TCP Data received {"connection_id":50634,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:00:31] local.INFO: Processing buffer {"connection_id":50634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:00:31] local.INFO: IMEI packet received {"connection_id":50634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":50634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:00:31] local.INFO: TCP Data received {"connection_id":50634,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:00:31] local.INFO: Processing buffer {"connection_id":50634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:00:31] local.INFO: Packet analysis {"connection_id":50634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:00:31] local.INFO: Extracted packet for processing {"connection_id":50634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00: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-22 16:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 16: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-22 16:00: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-22 16:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 16:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:00:31] 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-22 16:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:00:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":50634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:00:32] local.INFO: GPS data processed {"connection_id":50634,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:00:32] local.INFO: Acknowledgment sent {"connection_id":50634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:00:32] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:00:32] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:00:32] local.INFO: IMEI packet received {"connection_id":50385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:00:33] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ba5e70012d181ec00721b010004b00e029..."} 
[2026-04-22 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ba5e70012d181ec00721b010004b00e029..."} 
[2026-04-22 16:00:33] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ba5e70012d181ec00721b010004b00e029..."} 
[2026-04-22 16:00:33] local.INFO: Packet analysis {"connection_id":50385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:00:33] local.INFO: Extracted packet for processing {"connection_id":50385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874517760001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853606000,"timestamp_ms":1776853606000,"timestamp_seconds":1776853606,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ba5e70"} 
[2026-04-22 16: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-22 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 16:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:00:33] 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-22 16:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874517760001,"66":12504,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874517760001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:00:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874517760001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:00:33] local.INFO: GPS data processed {"connection_id":50385,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:00:33] local.INFO: Acknowledgment sent {"connection_id":50385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:01:02] local.INFO: TCP Data received {"connection_id":50634,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:01:02] local.INFO: Processing buffer {"connection_id":50634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:01:02] local.INFO: Packet analysis {"connection_id":50634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:01:02] local.INFO: Extracted packet for processing {"connection_id":50634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:02] 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-22 16:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 16: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-22 16:01: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-22 16: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 16:01: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-22 16: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-22 16: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-22 16:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:01: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-22 16:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:01:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":50634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:01:02] local.INFO: GPS data processed {"connection_id":50634,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:01:02] local.INFO: Acknowledgment sent {"connection_id":50634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:01:04] local.INFO: TCP Data received {"connection_id":50385,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bab078012d181ec00721b010004b00e02b..."} 
[2026-04-22 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bab078012d181ec00721b010004b00e02b..."} 
[2026-04-22 16:01:04] local.INFO: Processing buffer {"connection_id":50385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bab078012d181ec00721b010004b00e02b..."} 
[2026-04-22 16:01:04] local.INFO: Packet analysis {"connection_id":50385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:01:04] local.INFO: Extracted packet for processing {"connection_id":50385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 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-22 16:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874523136001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853627000,"timestamp_ms":1776853627000,"timestamp_seconds":1776853627,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bab078"} 
[2026-04-22 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-22 16:01:04] 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-22 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 16:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 16:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:01:04] 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-22 16:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874523136001,"66":12504,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874523136001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:01:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874523136001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:01:04] local.INFO: GPS data processed {"connection_id":50385,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:01:04] local.INFO: Acknowledgment sent {"connection_id":50385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:01:26] local.INFO: TCP Data received {"connection_id":50754,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:01:26] local.INFO: Processing buffer {"connection_id":50754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:01:26] local.INFO: IMEI packet received {"connection_id":50754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":50754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:01:27] local.INFO: TCP Data received {"connection_id":50755,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:01:27] local.INFO: Processing buffer {"connection_id":50755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:01:27] local.INFO: IMEI packet received {"connection_id":50755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":50755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:01:31] local.INFO: TCP Data received {"connection_id":50754,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:01:31] local.INFO: Processing buffer {"connection_id":50754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:01:31] local.INFO: IMEI packet received {"connection_id":50754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:01:32] local.INFO: TCP Data received {"connection_id":50754,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:01:32] local.INFO: Processing buffer {"connection_id":50754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:01:32] local.INFO: Packet analysis {"connection_id":50754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:01:32] local.INFO: Extracted packet for processing {"connection_id":50754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01: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-22 16:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 16: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-22 16:01: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-22 16: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 16:01: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-22 16: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-22 16: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-22 16:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:01:32] local.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-22 16:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:01:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":50754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:01:32] local.INFO: GPS data processed {"connection_id":50754,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:01:32] local.INFO: Acknowledgment sent {"connection_id":50754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:01:32] local.INFO: TCP Data received {"connection_id":50755,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:01:32] local.INFO: Processing buffer {"connection_id":50755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:01:32] local.INFO: IMEI packet received {"connection_id":50755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":50755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:01:33] local.INFO: TCP Data received {"connection_id":50755,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bb0280012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bb0280012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:01:33] local.INFO: Processing buffer {"connection_id":50755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bb0280012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:01:33] local.INFO: Packet analysis {"connection_id":50755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bb"} 
[2026-04-22 16:01:33] local.INFO: Extracted packet for processing {"connection_id":50755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bb"} 
[2026-04-22 16:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874528512001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853648000,"timestamp_ms":1776853648000,"timestamp_seconds":1776853648,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bb0280"} 
[2026-04-22 16: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-22 16:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 16:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:01:33] 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-22 16:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874528512001,"66":12461,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874528512001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:01:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874528512001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":50755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:01:33] local.INFO: GPS data processed {"connection_id":50755,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:01:33] local.INFO: Acknowledgment sent {"connection_id":50755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:02:02] local.INFO: TCP Data received {"connection_id":50754,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:02:02] local.INFO: Processing buffer {"connection_id":50754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:02:02] local.INFO: Packet analysis {"connection_id":50754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:02:02] local.INFO: Extracted packet for processing {"connection_id":50754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:02] 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-22 16:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 16: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-22 16: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-22 16: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 16:02: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-22 16: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-22 16: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-22 16:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:02: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-22 16:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:02:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":50754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:02:02] local.INFO: GPS data processed {"connection_id":50754,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:02:02] local.INFO: Acknowledgment sent {"connection_id":50754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:02:04] local.INFO: TCP Data received {"connection_id":50755,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bb5488012d181ec00721b010004b00e028..."} 
[2026-04-22 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bb5488012d181ec00721b010004b00e028..."} 
[2026-04-22 16:02:04] local.INFO: Processing buffer {"connection_id":50755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bb5488012d181ec00721b010004b00e028..."} 
[2026-04-22 16:02:04] local.INFO: Packet analysis {"connection_id":50755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bb"} 
[2026-04-22 16:02:04] local.INFO: Extracted packet for processing {"connection_id":50755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bb"} 
[2026-04-22 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874533888001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853669000,"timestamp_ms":1776853669000,"timestamp_seconds":1776853669,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bb5488"} 
[2026-04-22 16: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-22 16:02:04] 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-22 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 16:02:04] 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-22 16: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-22 16: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-22 16:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:02:04] 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-22 16:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874533888001,"66":12461,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874533888001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:02:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874533888001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":50755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:02:04] local.INFO: GPS data processed {"connection_id":50755,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:02:04] local.INFO: Acknowledgment sent {"connection_id":50755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:02:06] local.INFO: TCP Data received {"connection_id":51323,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:02:06] local.INFO: Processing buffer {"connection_id":51323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:02:06] local.INFO: IMEI packet received {"connection_id":51323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":51323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:02:25] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:02:25] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:02:25] local.INFO: IMEI packet received {"connection_id":50386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":50386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:02:28] local.INFO: TCP Data received {"connection_id":50635,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:02:28] local.INFO: Processing buffer {"connection_id":50635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:02:28] local.INFO: IMEI packet received {"connection_id":50635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":50635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:02:31] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:02:31] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:02:31] local.INFO: IMEI packet received {"connection_id":50386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":50386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:02:32] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:02:32] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:02:32] local.INFO: Packet analysis {"connection_id":50386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:02:32] local.INFO: Extracted packet for processing {"connection_id":50386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02: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-22 16:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 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-22 16: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-22 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":205,"data_length":795,"current_offset":136} 
[2026-04-22 16: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-22 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-22 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-22 16:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:02: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-22 16:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:02:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:02:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":50386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:02:32] local.INFO: GPS data processed {"connection_id":50386,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:02:32] local.INFO: Acknowledgment sent {"connection_id":50386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:02:32] local.INFO: TCP Data received {"connection_id":50635,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:02:32] local.INFO: Processing buffer {"connection_id":50635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:02:32] local.INFO: IMEI packet received {"connection_id":50635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:02:33] local.INFO: TCP Data received {"connection_id":50635,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bba690012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bba690012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:02:33] local.INFO: Processing buffer {"connection_id":50635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bba690012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:02:33] local.INFO: Packet analysis {"connection_id":50635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bb"} 
[2026-04-22 16:02:33] local.INFO: Extracted packet for processing {"connection_id":50635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bb"} 
[2026-04-22 16:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874539264001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853690000,"timestamp_ms":1776853690000,"timestamp_seconds":1776853690,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bba690"} 
[2026-04-22 16: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-22 16:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 16:02:33] 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-22 16: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-22 16: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-22 16:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:02:33] 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-22 16:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874539264001,"66":12461,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874539264001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:02:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874539264001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:02:33] local.INFO: GPS data processed {"connection_id":50635,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:02:33] local.INFO: Acknowledgment sent {"connection_id":50635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:02:50] local.INFO: TCP Data received {"connection_id":50387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:02:50] local.INFO: Processing buffer {"connection_id":50387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:02:50] local.INFO: IMEI packet received {"connection_id":50387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":50387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:03:03] local.INFO: TCP Data received {"connection_id":50386,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:03:03] local.INFO: Processing buffer {"connection_id":50386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4baf2e0012d7f868005afdd08001701492a..."} 
[2026-04-22 16:03:03] local.INFO: Packet analysis {"connection_id":50386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:03:03] local.INFO: Extracted packet for processing {"connection_id":50386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ba"} 
[2026-04-22 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":23,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874455808001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03: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-22 16:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776853644000,"timestamp_ms":1776853644000,"timestamp_seconds":1776853644,"priority":1,"record_length":96,"hex_timestamp":"0000019db4baf2e0"} 
[2026-04-22 16:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:03: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-22 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 16:03: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-22 16:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:03: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-22 16:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874455808001,"66":25495,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874455808001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:03:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874455808001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":50386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:03:03] local.INFO: GPS data processed {"connection_id":50386,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:03:03] local.INFO: Acknowledgment sent {"connection_id":50386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:03:04] local.INFO: TCP Data received {"connection_id":50635,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bbf898012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bbf898012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:03:04] local.INFO: Processing buffer {"connection_id":50635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bbf898012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:03:04] local.INFO: Packet analysis {"connection_id":50635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bb"} 
[2026-04-22 16:03:04] local.INFO: Extracted packet for processing {"connection_id":50635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bb"} 
[2026-04-22 16:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874544640001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853711000,"timestamp_ms":1776853711000,"timestamp_seconds":1776853711,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bbf898"} 
[2026-04-22 16:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:03:04] 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-22 16:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 16:03:04] 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-22 16:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:03:04] 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-22 16:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874544640001,"66":12461,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874544640001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:03:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874544640001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:03:04] local.INFO: GPS data processed {"connection_id":50635,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:03:04] local.INFO: Acknowledgment sent {"connection_id":50635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:03:27] local.INFO: TCP Data received {"connection_id":51326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:03:27] local.INFO: Processing buffer {"connection_id":51326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:03:27] local.INFO: IMEI packet received {"connection_id":51326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":51326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:03:31] local.INFO: TCP Data received {"connection_id":51325,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:03:31] local.INFO: Processing buffer {"connection_id":51325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:03:31] local.INFO: IMEI packet received {"connection_id":51325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":51325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:03:32] local.INFO: TCP Data received {"connection_id":51326,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:03:32] local.INFO: Processing buffer {"connection_id":51326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:03:32] local.INFO: IMEI packet received {"connection_id":51326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":51326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:03:33] local.INFO: TCP Data received {"connection_id":51326,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bc4aa0012d181ec00721b010004b00e027..."} 
[2026-04-22 16:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bc4aa0012d181ec00721b010004b00e027..."} 
[2026-04-22 16:03:33] local.INFO: Processing buffer {"connection_id":51326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bc4aa0012d181ec00721b010004b00e027..."} 
[2026-04-22 16:03:33] local.INFO: Packet analysis {"connection_id":51326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bc"} 
[2026-04-22 16:03:33] local.INFO: Extracted packet for processing {"connection_id":51326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bc"} 
[2026-04-22 16:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874550016001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776853732000,"timestamp_ms":1776853732000,"timestamp_seconds":1776853732,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bc4aa0"} 
[2026-04-22 16: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-22 16:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 16:03:33] 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-22 16: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-22 16: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-22 16:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:03:33] 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-22 16:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874550016001,"66":12461,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874550016001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:03:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874550016001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":51326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:03:33] local.INFO: GPS data processed {"connection_id":51326,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:03:33] local.INFO: Acknowledgment sent {"connection_id":51326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:03:36] local.INFO: TCP Data received {"connection_id":51325,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:03:36] local.INFO: Processing buffer {"connection_id":51325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:03:36] local.INFO: IMEI packet received {"connection_id":51325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":51325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:03:38] local.INFO: TCP Data received {"connection_id":51325,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:03:38] local.INFO: Processing buffer {"connection_id":51325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:03:38] local.INFO: Packet analysis {"connection_id":51325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:03:38] local.INFO: Extracted packet for processing {"connection_id":51325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:38] 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-22 16:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 16: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-22 16:03: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-22 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:03: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-22 16: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-22 16: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-22 16:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:03:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":51325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:03:38] local.INFO: GPS data processed {"connection_id":51325,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:03:38] local.INFO: Acknowledgment sent {"connection_id":51325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:03:41] local.INFO: TCP Data received {"connection_id":51325,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:03:41] local.INFO: Processing buffer {"connection_id":51325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:03:41] local.INFO: Packet analysis {"connection_id":51325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:03:41] local.INFO: Extracted packet for processing {"connection_id":51325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:03:41] 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-22 16:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 16:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:03:41] 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-22 16:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:03:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":51325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:03:41] local.INFO: GPS data processed {"connection_id":51325,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:03:41] local.INFO: Acknowledgment sent {"connection_id":51325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:04:04] local.INFO: TCP Data received {"connection_id":51326,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bfd0f8012d181ec00721b010004b00e029..."} 
[2026-04-22 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bfd0f8012d181ec00721b010004b00e029..."} 
[2026-04-22 16:04:04] local.INFO: Processing buffer {"connection_id":51326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bfd0f8012d181ec00721b010004b00e029..."} 
[2026-04-22 16:04:04] local.INFO: Packet analysis {"connection_id":51326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:04:04] local.INFO: Extracted packet for processing {"connection_id":51326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609152001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776853963000,"timestamp_ms":1776853963000,"timestamp_seconds":1776853963,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bfd0f8"} 
[2026-04-22 16: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-22 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 16:04:04] 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-22 16: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-22 16: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-22 16:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:04:04] 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-22 16:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609152001,"66":12428,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609152001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:04:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609152001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":51326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:04:04] local.INFO: GPS data processed {"connection_id":51326,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:04:04] local.INFO: Acknowledgment sent {"connection_id":51326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:04:26] local.INFO: TCP Data received {"connection_id":50637,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:04:26] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:04:26] local.INFO: IMEI packet received {"connection_id":50637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":50637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:04:31] local.INFO: TCP Data received {"connection_id":50637,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:04:31] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:04:31] local.INFO: IMEI packet received {"connection_id":50637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":50637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:04:32] local.INFO: TCP Data received {"connection_id":50637,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:04:32] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:04:32] local.INFO: Packet analysis {"connection_id":50637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:04:32] local.INFO: Extracted packet for processing {"connection_id":50637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16: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-22 16:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 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-22 16:04: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-22 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":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:04: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-22 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-22 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-22 16:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:04:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":50637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:04:32] local.INFO: GPS data processed {"connection_id":50637,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:04:32] local.INFO: Acknowledgment sent {"connection_id":50637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:04:32] local.INFO: TCP Data received {"connection_id":50756,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:04:32] local.INFO: Processing buffer {"connection_id":50756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:04:32] local.INFO: IMEI packet received {"connection_id":50756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":50756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:04:37] local.INFO: TCP Data received {"connection_id":50756,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:04:37] local.INFO: Processing buffer {"connection_id":50756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:04:37] local.INFO: IMEI packet received {"connection_id":50756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":50756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:04:38] local.INFO: TCP Data received {"connection_id":50756,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c02300012d181ec00721b010004b00e028..."} 
[2026-04-22 16:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c02300012d181ec00721b010004b00e028..."} 
[2026-04-22 16:04:38] local.INFO: Processing buffer {"connection_id":50756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c02300012d181ec00721b010004b00e028..."} 
[2026-04-22 16:04:38] local.INFO: Packet analysis {"connection_id":50756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c0"} 
[2026-04-22 16:04:38] local.INFO: Extracted packet for processing {"connection_id":50756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c0"} 
[2026-04-22 16:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874614528001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776853984000,"timestamp_ms":1776853984000,"timestamp_seconds":1776853984,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c02300"} 
[2026-04-22 16:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:04:38] 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-22 16:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 16:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:04:38] 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-22 16:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874614528001,"66":12428,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874614528001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:04:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874614528001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":50756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:04:38] local.INFO: GPS data processed {"connection_id":50756,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:04:38] local.INFO: Acknowledgment sent {"connection_id":50756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:05:03] local.INFO: TCP Data received {"connection_id":50637,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:05:03] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:05:03] local.INFO: Packet analysis {"connection_id":50637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:05:03] local.INFO: Extracted packet for processing {"connection_id":50637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:05:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05: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-22 16:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 16: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-22 16:05: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-22 16:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:05:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":50637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:05:03] local.INFO: GPS data processed {"connection_id":50637,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:05:03] local.INFO: Acknowledgment sent {"connection_id":50637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:05:09] local.INFO: TCP Data received {"connection_id":50756,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c07508012d181ec00721b010004b00e027..."} 
[2026-04-22 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c07508012d181ec00721b010004b00e027..."} 
[2026-04-22 16:05:09] local.INFO: Processing buffer {"connection_id":50756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c07508012d181ec00721b010004b00e027..."} 
[2026-04-22 16:05:09] local.INFO: Packet analysis {"connection_id":50756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c0"} 
[2026-04-22 16:05:09] local.INFO: Extracted packet for processing {"connection_id":50756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c0"} 
[2026-04-22 16:05:09] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874619904001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776854005000,"timestamp_ms":1776854005000,"timestamp_seconds":1776854005,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c07508"} 
[2026-04-22 16: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-22 16:05:09] 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-22 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 16:05:09] 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-22 16: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-22 16: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-22 16:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:05:09] 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-22 16:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874619904001,"66":12428,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874619904001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:05:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:05:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874619904001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":50756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:05:09] local.INFO: GPS data processed {"connection_id":50756,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:05:09] local.INFO: Acknowledgment sent {"connection_id":50756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:05:26] local.INFO: TCP Data received {"connection_id":50758,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:05:26] local.INFO: Processing buffer {"connection_id":50758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:05:26] local.INFO: IMEI packet received {"connection_id":50758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":50758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:05:27] local.INFO: TCP Data received {"connection_id":51327,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:05:27] local.INFO: Processing buffer {"connection_id":51327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:05:27] local.INFO: IMEI packet received {"connection_id":51327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":51327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:05:28] local.INFO: TCP Data received {"connection_id":51327,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:05:28] local.INFO: Processing buffer {"connection_id":51327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:05:28] local.INFO: IMEI packet received {"connection_id":51327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":51327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:05:31] local.INFO: TCP Data received {"connection_id":50758,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:05:31] local.INFO: Processing buffer {"connection_id":50758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:05:31] local.INFO: IMEI packet received {"connection_id":50758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":50758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:05:32] local.INFO: TCP Data received {"connection_id":50758,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:05:32] local.INFO: Processing buffer {"connection_id":50758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:05:32] local.INFO: Packet analysis {"connection_id":50758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:05:32] local.INFO: Extracted packet for processing {"connection_id":50758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05: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-22 16:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 16: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-22 16:05: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-22 16: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:05: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-22 16: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-22 16: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-22 16:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:05:32] 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-22 16:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:05:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":50758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:05:32] local.INFO: GPS data processed {"connection_id":50758,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:05:32] local.INFO: Acknowledgment sent {"connection_id":50758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:05:32] local.INFO: TCP Data received {"connection_id":51327,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:05:32] local.INFO: Processing buffer {"connection_id":51327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:05:32] local.INFO: IMEI packet received {"connection_id":51327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":51327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:05:33] local.INFO: TCP Data received {"connection_id":51327,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c0c710012d181ec00721b010004b00e026..."} 
[2026-04-22 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c0c710012d181ec00721b010004b00e026..."} 
[2026-04-22 16:05:33] local.INFO: Processing buffer {"connection_id":51327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c0c710012d181ec00721b010004b00e026..."} 
[2026-04-22 16:05:33] local.INFO: Packet analysis {"connection_id":51327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c0"} 
[2026-04-22 16:05:33] local.INFO: Extracted packet for processing {"connection_id":51327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c0"} 
[2026-04-22 16:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874625280001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776854026000,"timestamp_ms":1776854026000,"timestamp_seconds":1776854026,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c0c710"} 
[2026-04-22 16: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-22 16:05:33] 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-22 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 16:05: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-22 16: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-22 16: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-22 16:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:05:33] 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-22 16:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874625280001,"66":12406,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874625280001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:05:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874625280001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":51327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:05:33] local.INFO: GPS data processed {"connection_id":51327,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:05:33] local.INFO: Acknowledgment sent {"connection_id":51327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:05:38] local.INFO: TCP Data received {"connection_id":51327,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c11918012d181ec00721b010004b00e028..."} 
[2026-04-22 16:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c11918012d181ec00721b010004b00e028..."} 
[2026-04-22 16:05:38] local.INFO: Processing buffer {"connection_id":51327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c11918012d181ec00721b010004b00e028..."} 
[2026-04-22 16:05:38] local.INFO: Packet analysis {"connection_id":51327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c1"} 
[2026-04-22 16:05:38] local.INFO: Extracted packet for processing {"connection_id":51327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c1"} 
[2026-04-22 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874630656001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776854047000,"timestamp_ms":1776854047000,"timestamp_seconds":1776854047,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c11918"} 
[2026-04-22 16:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 16:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:05:38] 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-22 16:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874630656001,"66":12428,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874630656001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:05:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874630656001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":51327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:05:38] local.INFO: GPS data processed {"connection_id":51327,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:05:38] local.INFO: Acknowledgment sent {"connection_id":51327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:06:02] local.INFO: TCP Data received {"connection_id":50758,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:06:02] local.INFO: Processing buffer {"connection_id":50758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:06:02] local.INFO: Packet analysis {"connection_id":50758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:06:02] local.INFO: Extracted packet for processing {"connection_id":50758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:02] 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-22 16:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 16:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:06: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-22 16:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":50758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:06:02] local.INFO: GPS data processed {"connection_id":50758,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:06:02] local.INFO: Acknowledgment sent {"connection_id":50758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:06:09] local.INFO: TCP Data received {"connection_id":51327,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c16b20012d181ec00721b010004b00e028..."} 
[2026-04-22 16:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c16b20012d181ec00721b010004b00e028..."} 
[2026-04-22 16:06:09] local.INFO: Processing buffer {"connection_id":51327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c16b20012d181ec00721b010004b00e028..."} 
[2026-04-22 16:06:09] local.INFO: Packet analysis {"connection_id":51327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c1"} 
[2026-04-22 16:06:09] local.INFO: Extracted packet for processing {"connection_id":51327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c1"} 
[2026-04-22 16:06:09] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874636032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776854068000,"timestamp_ms":1776854068000,"timestamp_seconds":1776854068,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c16b20"} 
[2026-04-22 16:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:06:09] 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-22 16:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 16:06:09] 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-22 16:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:06:09] 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-22 16:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874636032001,"66":12406,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874636032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:06:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:06:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874636032001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":51327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:06:09] local.INFO: GPS data processed {"connection_id":51327,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:06:09] local.INFO: Acknowledgment sent {"connection_id":51327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:06:26] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:06:26] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:06:26] local.INFO: IMEI packet received {"connection_id":50388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":50388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:06:27] local.INFO: TCP Data received {"connection_id":50638,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:06:27] local.INFO: Processing buffer {"connection_id":50638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:06:27] local.INFO: IMEI packet received {"connection_id":50638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:06:30] local.INFO: TCP Data received {"connection_id":50638,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:06:30] local.INFO: Processing buffer {"connection_id":50638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:06:30] local.INFO: IMEI packet received {"connection_id":50638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":50638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:06:31] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:06:31] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:06:31] local.INFO: IMEI packet received {"connection_id":50388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":50388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:06:31] local.INFO: TCP Data received {"connection_id":50638,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c1bd28012d181ec00721b010004b00e029..."} 
[2026-04-22 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c1bd28012d181ec00721b010004b00e029..."} 
[2026-04-22 16:06:31] local.INFO: Processing buffer {"connection_id":50638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c1bd28012d181ec00721b010004b00e029..."} 
[2026-04-22 16:06:31] local.INFO: Packet analysis {"connection_id":50638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c1"} 
[2026-04-22 16:06:31] local.INFO: Extracted packet for processing {"connection_id":50638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c1"} 
[2026-04-22 16:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874641408001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776854089000,"timestamp_ms":1776854089000,"timestamp_seconds":1776854089,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c1bd28"} 
[2026-04-22 16: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-22 16:06:31] 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-22 16: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 16:06:31] 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-22 16: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-22 16: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-22 16:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:06:31] 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-22 16:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874641408001,"66":12385,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874641408001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:06:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874641408001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":50638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:06:32] local.INFO: GPS data processed {"connection_id":50638,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:06:32] local.INFO: Acknowledgment sent {"connection_id":50638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:06:32] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:06:32] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:06:32] local.INFO: Packet analysis {"connection_id":50388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:06:32] local.INFO: Extracted packet for processing {"connection_id":50388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:06: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-22 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 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-22 16:06: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-22 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":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:06: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-22 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-22 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-22 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:06: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-22 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:06:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":50388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:06:32] local.INFO: GPS data processed {"connection_id":50388,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:06:32] local.INFO: Acknowledgment sent {"connection_id":50388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:07:03] local.INFO: TCP Data received {"connection_id":50388,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:07:03] local.INFO: Processing buffer {"connection_id":50388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:07:03] local.INFO: Packet analysis {"connection_id":50388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:07:03] local.INFO: Extracted packet for processing {"connection_id":50388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07: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-22 16:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 16:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:07: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-22 16:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:07: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-22 16:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:07: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-22 16:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:07:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:07:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":50388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:07:03] local.INFO: GPS data processed {"connection_id":50388,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:07:03] local.INFO: Acknowledgment sent {"connection_id":50388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:07:03] local.INFO: TCP Data received {"connection_id":50638,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c20f30012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c20f30012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:07:03] local.INFO: Processing buffer {"connection_id":50638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c20f30012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:07:03] local.INFO: Packet analysis {"connection_id":50638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c2"} 
[2026-04-22 16:07:03] local.INFO: Extracted packet for processing {"connection_id":50638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c2"} 
[2026-04-22 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874646784001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776854110000,"timestamp_ms":1776854110000,"timestamp_seconds":1776854110,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c20f30"} 
[2026-04-22 16:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 16:07:03] 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-22 16:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:07:03] 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-22 16:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874646784001,"66":12406,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874646784001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:07:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874646784001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":50638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:07:03] local.INFO: GPS data processed {"connection_id":50638,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:07:03] local.INFO: Acknowledgment sent {"connection_id":50638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:07:25] local.INFO: TCP Data received {"connection_id":50762,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:07:25] local.INFO: Processing buffer {"connection_id":50762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:07:25] local.INFO: IMEI packet received {"connection_id":50762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":50762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:07:27] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:07:27] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:07:27] local.INFO: IMEI packet received {"connection_id":50761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:07:31] local.INFO: TCP Data received {"connection_id":50762,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:07:31] local.INFO: Processing buffer {"connection_id":50762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:07:31] local.INFO: IMEI packet received {"connection_id":50762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":50762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:07:32] local.INFO: TCP Data received {"connection_id":50762,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:07:32] local.INFO: Processing buffer {"connection_id":50762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:07:32] local.INFO: Packet analysis {"connection_id":50762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:07:32] local.INFO: Extracted packet for processing {"connection_id":50762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07: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-22 16:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 16: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-22 16:07: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-22 16: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:07: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-22 16: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-22 16: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-22 16:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:07:32] 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-22 16:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:07:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":50762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:07:32] local.INFO: GPS data processed {"connection_id":50762,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:07:32] local.INFO: Acknowledgment sent {"connection_id":50762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:07:32] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:07:32] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:07:32] local.INFO: IMEI packet received {"connection_id":50761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:07:33] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c26138012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c26138012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:07:33] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c26138012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:07:33] local.INFO: Packet analysis {"connection_id":50761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c2"} 
[2026-04-22 16:07:33] local.INFO: Extracted packet for processing {"connection_id":50761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c2"} 
[2026-04-22 16:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874652160001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776854131000,"timestamp_ms":1776854131000,"timestamp_seconds":1776854131,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c26138"} 
[2026-04-22 16: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-22 16:07:33] 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-22 16: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 16:07:33] 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-22 16: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-22 16: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-22 16:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:07:33] 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-22 16:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874652160001,"66":12406,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874652160001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:07:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874652160001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:07:33] local.INFO: GPS data processed {"connection_id":50761,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:07:33] local.INFO: Acknowledgment sent {"connection_id":50761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:08:02] local.INFO: TCP Data received {"connection_id":50762,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:08:02] local.INFO: Processing buffer {"connection_id":50762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4bf8aa8012d7f868005afdd080020014928..."} 
[2026-04-22 16:08:02] local.INFO: Packet analysis {"connection_id":50762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:08:02] local.INFO: Extracted packet for processing {"connection_id":50762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4bf"} 
[2026-04-22 16:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874532864001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:02] 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-22 16:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776853945000,"timestamp_ms":1776853945000,"timestamp_seconds":1776853945,"priority":1,"record_length":96,"hex_timestamp":"0000019db4bf8aa8"} 
[2026-04-22 16: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-22 16:08: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-22 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 16:08: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-22 16: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-22 16: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-22 16:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:08:02] 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-22 16:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874532864001,"66":25451,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874532864001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:08:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874532864001,"power":25451,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":50762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:08:02] local.INFO: GPS data processed {"connection_id":50762,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:08:02] local.INFO: Acknowledgment sent {"connection_id":50762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:08:04] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c2b340012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c2b340012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:08:04] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c2b340012d181ec00721b010004b00e02a..."} 
[2026-04-22 16:08:04] local.INFO: Packet analysis {"connection_id":50761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c2"} 
[2026-04-22 16:08:04] local.INFO: Extracted packet for processing {"connection_id":50761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c2"} 
[2026-04-22 16:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874657536001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776854152000,"timestamp_ms":1776854152000,"timestamp_seconds":1776854152,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c2b340"} 
[2026-04-22 16: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-22 16:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 16:08:04] 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-22 16: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-22 16: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-22 16:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:08:04] 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-22 16:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874657536001,"66":12385,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874657536001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:08:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874657536001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:08:04] local.INFO: GPS data processed {"connection_id":50761,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:08:04] local.INFO: Acknowledgment sent {"connection_id":50761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:08:16] local.INFO: TCP Data received {"connection_id":51328,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:08:16] local.INFO: Processing buffer {"connection_id":51328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:08:16] local.INFO: IMEI packet received {"connection_id":51328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":51328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:08:27] local.INFO: TCP Data received {"connection_id":51329,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:08:27] local.INFO: Processing buffer {"connection_id":51329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:08:27] local.INFO: IMEI packet received {"connection_id":51329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":51329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:08:31] local.INFO: TCP Data received {"connection_id":51330,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:08:31] local.INFO: Processing buffer {"connection_id":51330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:08:31] local.INFO: IMEI packet received {"connection_id":51330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":51330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:08:32] local.INFO: TCP Data received {"connection_id":51329,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:08:32] local.INFO: Processing buffer {"connection_id":51329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:08:32] local.INFO: IMEI packet received {"connection_id":51329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":51329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:08:33] local.INFO: TCP Data received {"connection_id":51329,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c30548012d181ec00721b010004b00e029..."} 
[2026-04-22 16:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c30548012d181ec00721b010004b00e029..."} 
[2026-04-22 16:08:33] local.INFO: Processing buffer {"connection_id":51329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c30548012d181ec00721b010004b00e029..."} 
[2026-04-22 16:08:33] local.INFO: Packet analysis {"connection_id":51329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c3"} 
[2026-04-22 16:08:33] local.INFO: Extracted packet for processing {"connection_id":51329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c3"} 
[2026-04-22 16:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874662912001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776854173000,"timestamp_ms":1776854173000,"timestamp_seconds":1776854173,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c30548"} 
[2026-04-22 16: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-22 16:08:33] 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-22 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 16:08:33] 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-22 16: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-22 16: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-22 16:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:08:33] 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-22 16:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874662912001,"66":12406,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874662912001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:08:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874662912001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":51329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:08:33] local.INFO: GPS data processed {"connection_id":51329,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:08:33] local.INFO: Acknowledgment sent {"connection_id":51329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:08:36] local.INFO: TCP Data received {"connection_id":51330,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:08:36] local.INFO: Processing buffer {"connection_id":51330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:08:36] local.INFO: IMEI packet received {"connection_id":51330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":51330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:08:36] local.INFO: TCP Data received {"connection_id":51330,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:08:36] local.INFO: Processing buffer {"connection_id":51330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:08:36] local.INFO: Packet analysis {"connection_id":51330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:08:36] local.INFO: Extracted packet for processing {"connection_id":51330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08: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-22 16:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:08: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-22 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:08: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-22 16:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:08:36] local.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-22 16:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:08:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":51330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:08:36] local.INFO: GPS data processed {"connection_id":51330,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:08:36] local.INFO: Acknowledgment sent {"connection_id":51330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:08:41] local.INFO: TCP Data received {"connection_id":51330,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:08:41] local.INFO: Processing buffer {"connection_id":51330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:08:41] local.INFO: Packet analysis {"connection_id":51330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:08:41] local.INFO: Extracted packet for processing {"connection_id":51330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:08:41] 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-22 16:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:08:41] 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-22 16:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:08:41] local.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-22 16:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:08:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":51330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:08:41] local.INFO: GPS data processed {"connection_id":51330,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:08:41] local.INFO: Acknowledgment sent {"connection_id":51330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:08:50] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:08:50] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:08:50] local.INFO: IMEI packet received {"connection_id":50763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":50763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:09:04] local.INFO: TCP Data received {"connection_id":51329,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c35750012d181ec00721b010004b00e028..."} 
[2026-04-22 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c35750012d181ec00721b010004b00e028..."} 
[2026-04-22 16:09:04] local.INFO: Processing buffer {"connection_id":51329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c35750012d181ec00721b010004b00e028..."} 
[2026-04-22 16:09:04] local.INFO: Packet analysis {"connection_id":51329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c3"} 
[2026-04-22 16:09:04] local.INFO: Extracted packet for processing {"connection_id":51329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c3"} 
[2026-04-22 16:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874668288001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776854194000,"timestamp_ms":1776854194000,"timestamp_seconds":1776854194,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c35750"} 
[2026-04-22 16:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 16:09:04] 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-22 16:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:09:04] 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-22 16:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874668288001,"66":12341,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874668288001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:09:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874668288001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":51329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:09:04] local.INFO: GPS data processed {"connection_id":51329,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:09:04] local.INFO: Acknowledgment sent {"connection_id":51329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:09:26] local.INFO: TCP Data received {"connection_id":50764,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:09:26] local.INFO: Processing buffer {"connection_id":50764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:09:26] local.INFO: IMEI packet received {"connection_id":50764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":50764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:09:27] local.INFO: TCP Data received {"connection_id":51331,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:09:27] local.INFO: Processing buffer {"connection_id":51331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:09:27] local.INFO: IMEI packet received {"connection_id":51331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":51331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:09:31] local.INFO: TCP Data received {"connection_id":50764,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:09:31] local.INFO: Processing buffer {"connection_id":50764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:09:31] local.INFO: IMEI packet received {"connection_id":50764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":50764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:09:32] local.INFO: TCP Data received {"connection_id":50764,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:09:32] local.INFO: Processing buffer {"connection_id":50764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:09:32] local.INFO: Packet analysis {"connection_id":50764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:09:32] local.INFO: Extracted packet for processing {"connection_id":50764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:09: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-22 16:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16: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-22 16:09: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-22 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:09: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-22 16: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-22 16: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-22 16:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:09:32] 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-22 16:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:09:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":50764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:09:32] local.INFO: GPS data processed {"connection_id":50764,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:09:32] local.INFO: Acknowledgment sent {"connection_id":50764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:09:32] local.INFO: TCP Data received {"connection_id":51331,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:09:32] local.INFO: Processing buffer {"connection_id":51331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:09:32] local.INFO: IMEI packet received {"connection_id":51331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":51331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:09:33] local.INFO: TCP Data received {"connection_id":51331,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c3a958012d181ec00721b010004b00e028..."} 
[2026-04-22 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c3a958012d181ec00721b010004b00e028..."} 
[2026-04-22 16:09:33] local.INFO: Processing buffer {"connection_id":51331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c3a958012d181ec00721b010004b00e028..."} 
[2026-04-22 16:09:33] local.INFO: Packet analysis {"connection_id":51331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c3"} 
[2026-04-22 16:09:33] local.INFO: Extracted packet for processing {"connection_id":51331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c3"} 
[2026-04-22 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874673664001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776854215000,"timestamp_ms":1776854215000,"timestamp_seconds":1776854215,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c3a958"} 
[2026-04-22 16:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:09:33] 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-22 16:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:09:33] 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-22 16:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874673664001,"66":12363,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874673664001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:09:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874673664001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":51331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:09:33] local.INFO: GPS data processed {"connection_id":51331,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:09:33] local.INFO: Acknowledgment sent {"connection_id":51331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:10:02] local.INFO: TCP Data received {"connection_id":50764,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:10:02] local.INFO: Processing buffer {"connection_id":50764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:10:02] local.INFO: Packet analysis {"connection_id":50764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:10:02] local.INFO: Extracted packet for processing {"connection_id":50764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:02] 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-22 16:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16: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-22 16:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:10: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-22 16: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-22 16: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-22 16:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:10:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":50764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:10:02] local.INFO: GPS data processed {"connection_id":50764,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:10:02] local.INFO: Acknowledgment sent {"connection_id":50764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:10:04] local.INFO: TCP Data received {"connection_id":51331,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c3fb60012d181ec00721b010004b00e028..."} 
[2026-04-22 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c3fb60012d181ec00721b010004b00e028..."} 
[2026-04-22 16:10:04] local.INFO: Processing buffer {"connection_id":51331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c3fb60012d181ec00721b010004b00e028..."} 
[2026-04-22 16:10:04] local.INFO: Packet analysis {"connection_id":51331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c3"} 
[2026-04-22 16:10:04] local.INFO: Extracted packet for processing {"connection_id":51331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c3"} 
[2026-04-22 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874679040001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776854236000,"timestamp_ms":1776854236000,"timestamp_seconds":1776854236,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c3fb60"} 
[2026-04-22 16:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 16:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:10:04] 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-22 16:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874679040001,"66":12385,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874679040001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:10:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874679040001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":51331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:10:04] local.INFO: GPS data processed {"connection_id":51331,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:10:04] local.INFO: Acknowledgment sent {"connection_id":51331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:10:26] local.INFO: TCP Data received {"connection_id":51332,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:10:26] local.INFO: Processing buffer {"connection_id":51332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:10:26] local.INFO: IMEI packet received {"connection_id":51332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":51332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:10:27] local.INFO: TCP Data received {"connection_id":50639,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:10:27] local.INFO: Processing buffer {"connection_id":50639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:10:27] local.INFO: IMEI packet received {"connection_id":50639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:10:31] local.INFO: TCP Data received {"connection_id":50639,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:10:31] local.INFO: Processing buffer {"connection_id":50639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:10:31] local.INFO: IMEI packet received {"connection_id":50639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":50639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:10:31] local.INFO: TCP Data received {"connection_id":51332,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:10:31] local.INFO: Processing buffer {"connection_id":51332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:10:31] local.INFO: IMEI packet received {"connection_id":51332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":51332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:10:32] local.INFO: TCP Data received {"connection_id":51332,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:10:32] local.INFO: Processing buffer {"connection_id":51332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:10:32] local.INFO: Packet analysis {"connection_id":51332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:10:32] local.INFO: Extracted packet for processing {"connection_id":51332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10: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-22 16:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16: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-22 16:10: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-22 16: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:10: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-22 16: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-22 16: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-22 16:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:10:32] 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-22 16:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":51332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:10:32] local.INFO: GPS data processed {"connection_id":51332,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:10:32] local.INFO: Acknowledgment sent {"connection_id":51332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:10:32] local.INFO: TCP Data received {"connection_id":50639,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:10:32] local.INFO: Processing buffer {"connection_id":50639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:10:32] local.INFO: IMEI packet received {"connection_id":50639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:10:33] local.INFO: TCP Data received {"connection_id":50639,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c44d68012d181ec00721b010004b00e029..."} 
[2026-04-22 16:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c44d68012d181ec00721b010004b00e029..."} 
[2026-04-22 16:10:33] local.INFO: Processing buffer {"connection_id":50639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c44d68012d181ec00721b010004b00e029..."} 
[2026-04-22 16:10:33] local.INFO: Packet analysis {"connection_id":50639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:10:33] local.INFO: Extracted packet for processing {"connection_id":50639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648272,"longitude_deg":75.6555456,"latitude_deg":11.9648272,"altitude":75,"angle":224,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874684416001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113939989099708416,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074080768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776854257000,"timestamp_ms":1776854257000,"timestamp_seconds":1776854257,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c44d68"} 
[2026-04-22 16: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-22 16:10:33] 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-22 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 16:10:33] 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-22 16: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-22 16: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-22 16:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:10:33] 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-22 16:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874684416001,"66":12385,"105":206,"83":41984,"24":0,"16":113939989099708416,"45":1738037643074080768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874684416001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:10:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113939989099708416,"km_value":113939989099708.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074080768,"description":"Unknown IO ID 45"} 
[2026-04-22 16:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874684416001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074080768}} 
[2026-04-22 16:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":50639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:10:33] local.INFO: GPS data processed {"connection_id":50639,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:10:33] local.INFO: Acknowledgment sent {"connection_id":50639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:11:03] local.INFO: TCP Data received {"connection_id":51332,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:11:03] local.INFO: Processing buffer {"connection_id":51332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:11:03] local.INFO: Packet analysis {"connection_id":51332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:11:03] local.INFO: Extracted packet for processing {"connection_id":51332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:11:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11: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-22 16:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:11: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-22 16:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:11: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-22 16:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:11:03] 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-22 16:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:11:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:11:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":51332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:11:03] local.INFO: GPS data processed {"connection_id":51332,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:11:03] local.INFO: Acknowledgment sent {"connection_id":51332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:11:04] local.INFO: TCP Data received {"connection_id":50639,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c6be68012d18a6c007217478004c006e29..."} 
[2026-04-22 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c6be68012d18a6c007217478004c006e29..."} 
[2026-04-22 16:11:04] local.INFO: Processing buffer {"connection_id":50639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c6be68012d18a6c007217478004c006e29..."} 
[2026-04-22 16:11:04] local.INFO: Packet analysis {"connection_id":50639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c6"} 
[2026-04-22 16:11:04] local.INFO: Extracted packet for processing {"connection_id":50639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c6"} 
[2026-04-22 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756590272,"raw_latitude":119633016,"longitude_deg":75.6590272,"latitude_deg":11.9633016,"altitude":76,"angle":110,"satellites":41,"speed":31,"hex_longitude":"2d18a6c0","hex_latitude":"07217478","is_valid_coordinates":true} 
[2026-04-22 16:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874728192001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113941934719893504,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767029565672206336,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11: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-22 16:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776854417000,"timestamp_ms":1776854417000,"timestamp_seconds":1776854417,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c6be68"} 
[2026-04-22 16:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 16:11:04] 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-22 16:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:11:04] 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-22 16:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874728192001,"66":14265,"106":206,"83":41984,"24":31,"16":113941934719893504,"45":1767029565672206336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874728192001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:11:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113941934719893504,"km_value":113941934719893.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767029565672206336,"description":"Unknown IO ID 45"} 
[2026-04-22 16:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874728192001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1767029565672206336}} 
[2026-04-22 16:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":50639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:11:04] local.INFO: GPS data processed {"connection_id":50639,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:11:04] local.INFO: Acknowledgment sent {"connection_id":50639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:11:26] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:11:26] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:11:26] local.INFO: IMEI packet received {"connection_id":50391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":50391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:11:31] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:11:31] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:11:31] local.INFO: IMEI packet received {"connection_id":50391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":50391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:11:31] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:11:31] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:11:31] local.INFO: Packet analysis {"connection_id":50391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:11:31] local.INFO: Extracted packet for processing {"connection_id":50391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11: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-22 16:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16: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-22 16:11: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-22 16: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:11:31] 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-22 16: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-22 16: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-22 16:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:11: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-22 16:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:11:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":50391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:11:31] local.INFO: GPS data processed {"connection_id":50391,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:11:31] local.INFO: Acknowledgment sent {"connection_id":50391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:11:32] local.INFO: TCP Data received {"connection_id":51333,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:11:32] local.INFO: Processing buffer {"connection_id":51333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:11:32] local.INFO: IMEI packet received {"connection_id":51333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":51333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:11:34] local.INFO: TCP Data received {"connection_id":51333,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:11:34] local.INFO: Processing buffer {"connection_id":51333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:11:34] local.INFO: IMEI packet received {"connection_id":51333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":51333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:11:35] local.INFO: TCP Data received {"connection_id":51333,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c6c638012d18ac00072171c0004b008028..."} 
[2026-04-22 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c6c638012d18ac00072171c0004b008028..."} 
[2026-04-22 16:11:35] local.INFO: Processing buffer {"connection_id":51333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c6c638012d18ac00072171c0004b008028..."} 
[2026-04-22 16:11:35] local.INFO: Packet analysis {"connection_id":51333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c6"} 
[2026-04-22 16:11:35] local.INFO: Extracted packet for processing {"connection_id":51333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c6"} 
[2026-04-22 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632320,"longitude_deg":75.6591616,"latitude_deg":11.963232,"altitude":75,"angle":128,"satellites":40,"speed":30,"hex_longitude":"2d18ac00","hex_latitude":"072171c0","is_valid_coordinates":true} 
[2026-04-22 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874730752001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113942007734337536,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776318239902824448,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11: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-22 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776854419000,"timestamp_ms":1776854419000,"timestamp_seconds":1776854419,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c6c638"} 
[2026-04-22 16:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 16:11:35] 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-22 16:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:11:35] 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-22 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874730752001,"66":14374,"106":206,"83":41984,"24":30,"16":113942007734337536,"45":1776318239902824448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874730752001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:11:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113942007734337536,"km_value":113942007734337.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776318239902824448,"description":"Unknown IO ID 45"} 
[2026-04-22 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874730752001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1776318239902824448}} 
[2026-04-22 16:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":51333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:11:36] local.INFO: GPS data processed {"connection_id":51333,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:11:36] local.INFO: Acknowledgment sent {"connection_id":51333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:11:38] local.INFO: TCP Data received {"connection_id":51333,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c6ce08012d18b04007216d80004a008e29..."} 
[2026-04-22 16:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c6ce08012d18b04007216d80004a008e29..."} 
[2026-04-22 16:11:38] local.INFO: Processing buffer {"connection_id":51333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c6ce08012d18b04007216d80004a008e29..."} 
[2026-04-22 16:11:38] local.INFO: Packet analysis {"connection_id":51333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c6"} 
[2026-04-22 16:11:38] local.INFO: Extracted packet for processing {"connection_id":51333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c6"} 
[2026-04-22 16:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119631232,"longitude_deg":75.6592704,"latitude_deg":11.9631232,"altitude":74,"angle":142,"satellites":41,"speed":30,"hex_longitude":"2d18b040","hex_latitude":"07216d80","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874731264001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113942080748781568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530377216,"note":"Value kept but may cause issues"} 
[2026-04-22 16: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-22 16:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776854421000,"timestamp_ms":1776854421000,"timestamp_seconds":1776854421,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c6ce08"} 
[2026-04-22 16: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-22 16:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 16:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:11:38] 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-22 16:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874731264001,"66":14374,"106":206,"83":41984,"24":30,"16":113942080748781568,"45":1777795983530377216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874731264001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:11:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113942080748781568,"km_value":113942080748781.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530377216,"description":"Unknown IO ID 45"} 
[2026-04-22 16:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874731264001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777795983530377216}} 
[2026-04-22 16:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":51333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:11:38] local.INFO: GPS data processed {"connection_id":51333,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:11:38] local.INFO: Acknowledgment sent {"connection_id":51333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:12:02] local.INFO: TCP Data received {"connection_id":50391,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:12:02] local.INFO: Processing buffer {"connection_id":50391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:12:02] local.INFO: Packet analysis {"connection_id":50391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:12:02] local.INFO: Extracted packet for processing {"connection_id":50391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:02] 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-22 16:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16: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-22 16: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-22 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:12: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-22 16: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-22 16: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-22 16:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:12:02] 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-22 16:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:12:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":50391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:12:02] local.INFO: GPS data processed {"connection_id":50391,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:12:02] local.INFO: Acknowledgment sent {"connection_id":50391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:12:09] local.INFO: TCP Data received {"connection_id":51333,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c7a4e0012d1900800720d0000036007c27..."} 
[2026-04-22 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c7a4e0012d1900800720d0000036007c27..."} 
[2026-04-22 16:12:09] local.INFO: Processing buffer {"connection_id":51333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c7a4e0012d1900800720d0000036007c27..."} 
[2026-04-22 16:12:09] local.INFO: Packet analysis {"connection_id":51333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c7"} 
[2026-04-22 16:12:09] local.INFO: Extracted packet for processing {"connection_id":51333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c7"} 
[2026-04-22 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":756613248,"raw_latitude":119590912,"longitude_deg":75.6613248,"latitude_deg":11.9590912,"altitude":54,"angle":124,"satellites":39,"speed":37,"hex_longitude":"2d190080","hex_latitude":"0720d000","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874744832001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944352786481152,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798202919331907584,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776854476000,"timestamp_ms":1776854476000,"timestamp_seconds":1776854476,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c7a4e0"} 
[2026-04-22 16: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-22 16:12:09] 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-22 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 16:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:12:09] 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-22 16:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874744832001,"66":14298,"106":206,"83":41984,"24":37,"16":113944352786481152,"45":1798202919331907584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874744832001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:12:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944352786481152,"km_value":113944352786481.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798202919331907584,"description":"Unknown IO ID 45"} 
[2026-04-22 16:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874744832001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1798202919331907584}} 
[2026-04-22 16:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":51333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:12:09] local.INFO: GPS data processed {"connection_id":51333,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:12:09] local.INFO: Acknowledgment sent {"connection_id":51333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:12:25] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:12:25] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:12:25] local.INFO: IMEI packet received {"connection_id":50765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":50765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:12:30] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:12:30] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:12:30] local.INFO: IMEI packet received {"connection_id":50766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":50766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:12:31] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:12:31] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:12:31] local.INFO: IMEI packet received {"connection_id":50765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":50765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:12:32] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:12:32] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:12:32] local.INFO: Packet analysis {"connection_id":50765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:12:32] local.INFO: Extracted packet for processing {"connection_id":50765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12: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-22 16:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:12: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-22 16:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:12: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-22 16:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:12:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":50765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:12:32] local.INFO: GPS data processed {"connection_id":50765,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:12:32] local.INFO: Acknowledgment sent {"connection_id":50765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:12:35] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:12:35] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:12:35] local.INFO: IMEI packet received {"connection_id":50766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":50766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:12:38] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:12:38] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:12:38] local.INFO: IMEI packet received {"connection_id":50766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":50766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:12:39] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c7c038012d191c400720c118002f007027..."} 
[2026-04-22 16:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c7c038012d191c400720c118002f007027..."} 
[2026-04-22 16:12:39] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c7c038012d191c400720c118002f007027..."} 
[2026-04-22 16:12:39] local.INFO: Packet analysis {"connection_id":50766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c7"} 
[2026-04-22 16:12:39] local.INFO: Extracted packet for processing {"connection_id":50766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c7"} 
[2026-04-22 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756620352,"raw_latitude":119587096,"longitude_deg":75.6620352,"latitude_deg":11.9587096,"altitude":47,"angle":112,"satellites":39,"speed":51,"hex_longitude":"2d191c40","hex_latitude":"0720c118","is_valid_coordinates":true} 
[2026-04-22 16:12: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-22 16:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874745856001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113944739333537792,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801580619051827200,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12: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-22 16:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776854483000,"timestamp_ms":1776854483000,"timestamp_seconds":1776854483,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c7c038"} 
[2026-04-22 16:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 16:12:39] 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-22 16:12: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-22 16:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:12:39] 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-22 16:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874745856001,"66":14330,"106":206,"83":41984,"24":51,"16":113944739333537792,"45":1801580619051827200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874745856001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:12:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113944739333537792,"km_value":113944739333537.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801580619051827200,"description":"Unknown IO ID 45"} 
[2026-04-22 16:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874745856001,"power":14330,"unknown_106":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1801580619051827200}} 
[2026-04-22 16:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":50766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:12:39] local.INFO: GPS data processed {"connection_id":50766,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:12:39] local.INFO: Acknowledgment sent {"connection_id":50766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:12:41] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c7db90012d193bc00720b2f0002e007c27..."} 
[2026-04-22 16:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c7db90012d193bc00720b2f0002e007c27..."} 
[2026-04-22 16:12:41] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c7db90012d193bc00720b2f0002e007c27..."} 
[2026-04-22 16:12:41] local.INFO: Packet analysis {"connection_id":50766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c7"} 
[2026-04-22 16:12:41] local.INFO: Extracted packet for processing {"connection_id":50766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c7"} 
[2026-04-22 16:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756628416,"raw_latitude":119583472,"longitude_deg":75.6628416,"latitude_deg":11.9583472,"altitude":46,"angle":124,"satellites":39,"speed":46,"hex_longitude":"2d193bc0","hex_latitude":"0720b2f0","is_valid_coordinates":true} 
[2026-04-22 16:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874747648001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113945160240332800,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809391549654571008,"note":"Value kept but may cause issues"} 
[2026-04-22 16:12: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-22 16:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776854490000,"timestamp_ms":1776854490000,"timestamp_seconds":1776854490,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c7db90"} 
[2026-04-22 16:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-04-22 16:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874747648001,"66":14428,"106":206,"83":41984,"24":46,"16":113945160240332800,"45":1809391549654571008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874747648001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:12:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113945160240332800,"km_value":113945160240332.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809391549654571008,"description":"Unknown IO ID 45"} 
[2026-04-22 16:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874747648001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1809391549654571008}} 
[2026-04-22 16:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":50766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:12:41] local.INFO: GPS data processed {"connection_id":50766,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:12:41] local.INFO: Acknowledgment sent {"connection_id":50766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:13:03] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:13:03] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c42270012d7f868005afdd080020014929..."} 
[2026-04-22 16:13:03] local.INFO: Packet analysis {"connection_id":50765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:13:03] local.INFO: Extracted packet for processing {"connection_id":50765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c4"} 
[2026-04-22 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":32,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874609920001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13: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-22 16:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776854246000,"timestamp_ms":1776854246000,"timestamp_seconds":1776854246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c42270"} 
[2026-04-22 16: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-22 16:13: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-22 16:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 16:13: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-22 16: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-22 16: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-22 16:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874609920001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874609920001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:13:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874609920001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":50765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:13:03] local.INFO: GPS data processed {"connection_id":50765,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:13:03] local.INFO: Acknowledgment sent {"connection_id":50765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:13:31] local.INFO: TCP Data received {"connection_id":50640,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:13:31] local.INFO: Processing buffer {"connection_id":50640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:13:31] local.INFO: IMEI packet received {"connection_id":50640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":50640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:13:36] local.INFO: TCP Data received {"connection_id":50640,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:13:36] local.INFO: Processing buffer {"connection_id":50640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:13:36] local.INFO: IMEI packet received {"connection_id":50640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":50640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:13:36] local.INFO: TCP Data received {"connection_id":50640,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:13:36] local.INFO: Processing buffer {"connection_id":50640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:13:36] local.INFO: Packet analysis {"connection_id":50640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:13:36] local.INFO: Extracted packet for processing {"connection_id":50640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13: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-22 16:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 16: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-22 16:13: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-22 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:13:36] 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-22 16:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:13:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":50640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:13:36] local.INFO: GPS data processed {"connection_id":50640,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:13:36] local.INFO: Acknowledgment sent {"connection_id":50640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:13:41] local.INFO: TCP Data received {"connection_id":50640,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:13:41] local.INFO: Processing buffer {"connection_id":50640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:13:41] local.INFO: Packet analysis {"connection_id":50640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:13:41] local.INFO: Extracted packet for processing {"connection_id":50640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:41] 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-22 16:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 16: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-22 16:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:13:41] 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-22 16:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":50640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:13:41] local.INFO: GPS data processed {"connection_id":50640,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:13:41] local.INFO: Acknowledgment sent {"connection_id":50640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:13:45] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ae80012d19dec00720b3180030005d24..."} 
[2026-04-22 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ae80012d19dec00720b3180030005d24..."} 
[2026-04-22 16:13:45] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ae80012d19dec00720b3180030005d24..."} 
[2026-04-22 16:13:45] local.INFO: Packet analysis {"connection_id":50766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:13:45] local.INFO: Extracted packet for processing {"connection_id":50766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119583512,"longitude_deg":75.6670144,"latitude_deg":11.9583512,"altitude":48,"angle":93,"satellites":36,"speed":25,"hex_longitude":"2d19dec0","hex_latitude":"0720b318","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874762752001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113947281954177024,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862801426484453376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776854544000,"timestamp_ms":1776854544000,"timestamp_seconds":1776854544,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ae80"} 
[2026-04-22 16: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-22 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 16:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":50766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":50766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":50766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:13:45] 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-22 16:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874762752001,"66":14396,"243":206,"83":41984,"24":25,"16":113947281954177024,"45":1862801426484453376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-04-22 16:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874762752001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:13:45] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-04-22 16:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113947281954177024,"km_value":113947281954177.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862801426484453376,"description":"Unknown IO ID 45"} 
[2026-04-22 16:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874762752001,"power":14396,"unknown_243":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1862801426484453376}} 
[2026-04-22 16:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":50766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:13:45] local.INFO: GPS data processed {"connection_id":50766,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:13:45] local.INFO: Acknowledgment sent {"connection_id":50766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:14:15] local.INFO: TCP Data received {"connection_id":50767,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:15] local.INFO: Processing buffer {"connection_id":50767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:15] local.INFO: IMEI packet received {"connection_id":50767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":50767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:14:21] local.INFO: TCP Data received {"connection_id":50393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:14:21] local.INFO: Processing buffer {"connection_id":50393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:14:21] local.INFO: IMEI packet received {"connection_id":50393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":50393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:14:26] local.INFO: TCP Data received {"connection_id":51335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:14:26] local.INFO: Processing buffer {"connection_id":51335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:14:26] local.INFO: IMEI packet received {"connection_id":51335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":51335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:14:31] local.INFO: TCP Data received {"connection_id":51335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:14:31] local.INFO: Processing buffer {"connection_id":51335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:14:31] local.INFO: IMEI packet received {"connection_id":51335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":51335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:14:31] local.INFO: TCP Data received {"connection_id":51335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:14:31] local.INFO: Processing buffer {"connection_id":51335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:14:31] local.INFO: Packet analysis {"connection_id":51335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:14:31] local.INFO: Extracted packet for processing {"connection_id":51335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:14: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-22 16:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 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-22 16:14: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-22 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":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:14: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-22 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-22 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-22 16:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16: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-22 16:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:14:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":51335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:14:31] local.INFO: GPS data processed {"connection_id":51335,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:14:31] local.INFO: Acknowledgment sent {"connection_id":51335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:14:32] local.INFO: TCP Data received {"connection_id":51336,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:32] local.INFO: Processing buffer {"connection_id":51336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:32] local.INFO: IMEI packet received {"connection_id":51336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":51336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:14:34] local.INFO: TCP Data received {"connection_id":51336,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:34] local.INFO: Processing buffer {"connection_id":51336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:34] local.INFO: IMEI packet received {"connection_id":51336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":51336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:14:37] local.INFO: TCP Data received {"connection_id":51336,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:37] local.INFO: Processing buffer {"connection_id":51336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:14:37] local.INFO: IMEI packet received {"connection_id":51336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":51336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:14:38] local.INFO: TCP Data received {"connection_id":51336,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c9bff0012d1a2740072102a00044013c26..."} 
[2026-04-22 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c9bff0012d1a2740072102a00044013c26..."} 
[2026-04-22 16:14:38] local.INFO: Processing buffer {"connection_id":51336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c9bff0012d1a2740072102a00044013c26..."} 
[2026-04-22 16:14:38] local.INFO: Packet analysis {"connection_id":51336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c9"} 
[2026-04-22 16:14:38] local.INFO: Extracted packet for processing {"connection_id":51336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c9"} 
[2026-04-22 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756688704,"raw_latitude":119603872,"longitude_deg":75.6688704,"latitude_deg":11.9603872,"altitude":68,"angle":316,"satellites":38,"speed":14,"hex_longitude":"2d1a2740","hex_latitude":"072102a0","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874780672001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113949145969983488,"note":"Value kept but may cause issues"} 
[2026-04-22 16:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885108318393915392,"note":"Value kept but may cause issues"} 
[2026-04-22 16:14:38] 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-22 16:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776854614000,"timestamp_ms":1776854614000,"timestamp_seconds":1776854614,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c9bff0"} 
[2026-04-22 16: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-22 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 16:14:38] 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-22 16: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-22 16: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-22 16:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:14:38] 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-22 16:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874780672001,"66":13906,"19":206,"83":41984,"24":14,"16":113949145969983488,"45":1885108318393915392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-22 16:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874780672001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:14:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-22 16:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113949145969983488,"km_value":113949145969983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885108318393915392,"description":"Unknown IO ID 45"} 
[2026-04-22 16:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874780672001,"power":13906,"unknown_19":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1885108318393915392}} 
[2026-04-22 16:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":51336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:14:38] local.INFO: GPS data processed {"connection_id":51336,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:14:38] local.INFO: Acknowledgment sent {"connection_id":51336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:14:50] local.INFO: TCP Data received {"connection_id":50641,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:14:50] local.INFO: Processing buffer {"connection_id":50641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:14:50] local.INFO: IMEI packet received {"connection_id":50641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":50641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:15:02] local.INFO: TCP Data received {"connection_id":51335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:15:02] local.INFO: Processing buffer {"connection_id":51335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:15:02] local.INFO: Packet analysis {"connection_id":51335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:15:02] local.INFO: Extracted packet for processing {"connection_id":51335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:02] 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-22 16:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 16:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:15: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-22 16:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:15:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":51335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:15:02] local.INFO: GPS data processed {"connection_id":51335,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:15:02] local.INFO: Acknowledgment sent {"connection_id":51335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:15:09] local.INFO: TCP Data received {"connection_id":51336,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ca8ef8012d1a1200072136c00041015a29..."} 
[2026-04-22 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ca8ef8012d1a1200072136c00041015a29..."} 
[2026-04-22 16:15:09] local.INFO: Processing buffer {"connection_id":51336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ca8ef8012d1a1200072136c00041015a29..."} 
[2026-04-22 16:15:09] local.INFO: Packet analysis {"connection_id":51336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ca"} 
[2026-04-22 16:15:09] local.INFO: Extracted packet for processing {"connection_id":51336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ca"} 
[2026-04-22 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756683264,"raw_latitude":119617216,"longitude_deg":75.6683264,"latitude_deg":11.9617216,"altitude":65,"angle":346,"satellites":41,"speed":8,"hex_longitude":"2d1a1200","hex_latitude":"072136c0","is_valid_coordinates":true} 
[2026-04-22 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-22 16:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874789376001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113950039323181056,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883700943512430592,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:09] 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-22 16:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776854667000,"timestamp_ms":1776854667000,"timestamp_seconds":1776854667,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ca8ef8"} 
[2026-04-22 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-22 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-22 16:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 16:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:15:09] 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-22 16:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874789376001,"66":13993,"61":206,"83":41984,"24":8,"16":113950039323181056,"45":1883700943512430592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874789376001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:15:09] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113950039323181056,"km_value":113950039323181.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883700943512430592,"description":"Unknown IO ID 45"} 
[2026-04-22 16:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874789376001,"power":13993,"unknown_61":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1883700943512430592}} 
[2026-04-22 16:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":51336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:15:09] local.INFO: GPS data processed {"connection_id":51336,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:15:09] local.INFO: Acknowledgment sent {"connection_id":51336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:15:26] local.INFO: TCP Data received {"connection_id":51337,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:15:26] local.INFO: Processing buffer {"connection_id":51337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:15:26] local.INFO: IMEI packet received {"connection_id":51337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":51337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:15:26] local.INFO: TCP Data received {"connection_id":50642,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:26] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:26] local.INFO: IMEI packet received {"connection_id":50642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":50642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:15:27] local.INFO: TCP Data received {"connection_id":50642,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:27] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:27] local.INFO: IMEI packet received {"connection_id":50642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:15:27] local.INFO: TCP Data received {"connection_id":50642,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:27] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:27] local.INFO: IMEI packet received {"connection_id":50642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:15:31] local.INFO: TCP Data received {"connection_id":51337,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:15:31] local.INFO: Processing buffer {"connection_id":51337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:15:31] local.INFO: IMEI packet received {"connection_id":51337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":51337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:15:31] local.INFO: TCP Data received {"connection_id":51337,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:15:31] local.INFO: Processing buffer {"connection_id":51337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:15:31] local.INFO: Packet analysis {"connection_id":51337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:15:31] local.INFO: Extracted packet for processing {"connection_id":51337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16: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-22 16:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 16: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-22 16:15: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-22 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:15: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-22 16: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-22 16: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-22 16:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:15: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-22 16:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:15:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":51337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:15:32] local.INFO: GPS data processed {"connection_id":51337,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:15:32] local.INFO: Acknowledgment sent {"connection_id":51337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:15:32] local.INFO: TCP Data received {"connection_id":50642,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:32] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:15:32] local.INFO: IMEI packet received {"connection_id":50642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:15:33] local.INFO: TCP Data received {"connection_id":50642,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ca8ef8012d1a1200072136c00041015a29..."} 
[2026-04-22 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ca8ef8012d1a1200072136c00041015a29..."} 
[2026-04-22 16:15:33] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ca8ef8012d1a1200072136c00041015a29..."} 
[2026-04-22 16:15:33] local.INFO: Packet analysis {"connection_id":50642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ca"} 
[2026-04-22 16:15:33] local.INFO: Extracted packet for processing {"connection_id":50642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ca"} 
[2026-04-22 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756683264,"raw_latitude":119617216,"longitude_deg":75.6683264,"latitude_deg":11.9617216,"altitude":65,"angle":346,"satellites":41,"speed":8,"hex_longitude":"2d1a1200","hex_latitude":"072136c0","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874794752001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113950039323181056,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878564025188925440,"note":"Value kept but may cause issues"} 
[2026-04-22 16:15:33] 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-22 16:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776854667000,"timestamp_ms":1776854667000,"timestamp_seconds":1776854667,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ca8ef8"} 
[2026-04-22 16: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-22 16:15:33] 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-22 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-22 16:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:15:33] 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-22 16:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874794752001,"66":13993,"61":206,"83":41984,"24":8,"16":113950039323181056,"45":1878564025188925440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874794752001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:15:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113950039323181056,"km_value":113950039323181.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878564025188925440,"description":"Unknown IO ID 45"} 
[2026-04-22 16:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874794752001,"power":13993,"unknown_61":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1878564025188925440}} 
[2026-04-22 16:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:15:33] local.INFO: GPS data processed {"connection_id":50642,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:15:33] local.INFO: Acknowledgment sent {"connection_id":50642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:16:02] local.INFO: TCP Data received {"connection_id":51337,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:16:02] local.INFO: Processing buffer {"connection_id":51337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:16:02] local.INFO: Packet analysis {"connection_id":51337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:16:02] local.INFO: Extracted packet for processing {"connection_id":51337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:16:02] 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-22 16:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 16:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:16: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-22 16:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:16: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-22 16:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:16:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:16:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":51337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:16:02] local.INFO: GPS data processed {"connection_id":51337,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:16:02] local.INFO: Acknowledgment sent {"connection_id":51337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:16:05] local.INFO: TCP Data received {"connection_id":50642,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cb4e60012d1a2440072149400045005027..."} 
[2026-04-22 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cb4e60012d1a2440072149400045005027..."} 
[2026-04-22 16:16:05] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cb4e60012d1a2440072149400045005027..."} 
[2026-04-22 16:16:05] local.INFO: Packet analysis {"connection_id":50642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cb"} 
[2026-04-22 16:16:05] local.INFO: Extracted packet for processing {"connection_id":50642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cb"} 
[2026-04-22 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756687936,"raw_latitude":119621952,"longitude_deg":75.6687936,"latitude_deg":11.9621952,"altitude":69,"angle":80,"satellites":39,"speed":6,"hex_longitude":"2d1a2440","hex_latitude":"07214940","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874806784001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113950481704812544,"note":"Value kept but may cause issues"} 
[2026-04-22 16:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883278731050037248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:16:05] 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-22 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776854716000,"timestamp_ms":1776854716000,"timestamp_seconds":1776854716,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cb4e60"} 
[2026-04-22 16: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-22 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-22 16:16:05] 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-22 16: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-22 16: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-22 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:16:05] 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-22 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874806784001,"66":14428,"61":206,"83":41984,"24":6,"16":113950481704812544,"45":1883278731050037248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874806784001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:16:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113950481704812544,"km_value":113950481704812.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883278731050037248,"description":"Unknown IO ID 45"} 
[2026-04-22 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874806784001,"power":14428,"unknown_61":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1883278731050037248}} 
[2026-04-22 16:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":50642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:16:05] local.INFO: GPS data processed {"connection_id":50642,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:16:05] local.INFO: Acknowledgment sent {"connection_id":50642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:16:26] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:16:26] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:16:26] local.INFO: IMEI packet received {"connection_id":50394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:16:26] local.INFO: TCP Data received {"connection_id":50644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:26] local.INFO: Processing buffer {"connection_id":50644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:26] local.INFO: IMEI packet received {"connection_id":50644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:16:27] local.INFO: TCP Data received {"connection_id":50644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:27] local.INFO: Processing buffer {"connection_id":50644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:27] local.INFO: IMEI packet received {"connection_id":50644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:16:28] local.INFO: TCP Data received {"connection_id":50644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:28] local.INFO: Processing buffer {"connection_id":50644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:28] local.INFO: IMEI packet received {"connection_id":50644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":50644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:16:28] local.INFO: TCP Data received {"connection_id":50644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:28] local.INFO: Processing buffer {"connection_id":50644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:16:28] local.INFO: IMEI packet received {"connection_id":50644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":50644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:16:31] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:16:31] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:16:31] local.INFO: IMEI packet received {"connection_id":50394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:16:32] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:16:32] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:16:32] local.INFO: Packet analysis {"connection_id":50394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:16:32] local.INFO: Extracted packet for processing {"connection_id":50394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:16: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-22 16:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 16: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-22 16:16: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-22 16: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:16: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-22 16: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-22 16: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-22 16:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:16:32] 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-22 16:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:16:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":50394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:16:32] local.INFO: GPS data processed {"connection_id":50394,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:16:32] local.INFO: Acknowledgment sent {"connection_id":50394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:17:02] local.INFO: TCP Data received {"connection_id":50394,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:17:02] local.INFO: Processing buffer {"connection_id":50394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:17:02] local.INFO: Packet analysis {"connection_id":50394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:17:02] local.INFO: Extracted packet for processing {"connection_id":50394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:17:02] 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-22 16:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 16:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:17:02] 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-22 16:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:17:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":50394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:17:02] local.INFO: GPS data processed {"connection_id":50394,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:17:02] local.INFO: Acknowledgment sent {"connection_id":50394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:17:25] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:17:25] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:17:25] local.INFO: IMEI packet received {"connection_id":50769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":50769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:17:31] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:17:31] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:17:31] local.INFO: IMEI packet received {"connection_id":50769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":50769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:17:32] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:17:32] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:17:32] local.INFO: Packet analysis {"connection_id":50769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:17:32] local.INFO: Extracted packet for processing {"connection_id":50769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:17: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-22 16:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 16: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-22 16: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-22 16: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:17: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-22 16: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-22 16: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-22 16:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:17:32] 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-22 16:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:17:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":50769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:17:32] local.INFO: GPS data processed {"connection_id":50769,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:17:32] local.INFO: Acknowledgment sent {"connection_id":50769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:18:03] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:18:03] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4c8ba38012d7f868005afdd08001a014929..."} 
[2026-04-22 16:18:03] local.INFO: Packet analysis {"connection_id":50769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:18:03] local.INFO: Extracted packet for processing {"connection_id":50769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4c8"} 
[2026-04-22 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874686976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:18: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-22 16:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776854547000,"timestamp_ms":1776854547000,"timestamp_seconds":1776854547,"priority":1,"record_length":96,"hex_timestamp":"0000019db4c8ba38"} 
[2026-04-22 16:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:18: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-22 16:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:18: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-22 16:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874686976001,"66":25343,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874686976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:18:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874686976001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":50769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:18:03] local.INFO: GPS data processed {"connection_id":50769,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:18:03] local.INFO: Acknowledgment sent {"connection_id":50769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:18:31] local.INFO: TCP Data received {"connection_id":50646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:18:31] local.INFO: Processing buffer {"connection_id":50646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:18:31] local.INFO: IMEI packet received {"connection_id":50646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":50646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:18:36] local.INFO: TCP Data received {"connection_id":50646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:18:36] local.INFO: Processing buffer {"connection_id":50646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:18:36] local.INFO: IMEI packet received {"connection_id":50646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":50646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:18:37] local.INFO: TCP Data received {"connection_id":50646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:18:37] local.INFO: Processing buffer {"connection_id":50646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:18:37] local.INFO: Packet analysis {"connection_id":50646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:18:37] local.INFO: Extracted packet for processing {"connection_id":50646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:18:37] 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-22 16:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 16:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:18: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-22 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:18: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-22 16:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:18:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":50646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:18:37] local.INFO: GPS data processed {"connection_id":50646,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:18:37] local.INFO: Acknowledgment sent {"connection_id":50646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:18:41] local.INFO: TCP Data received {"connection_id":50646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:18:41] local.INFO: Processing buffer {"connection_id":50646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:18:41] local.INFO: Packet analysis {"connection_id":50646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:18:41] local.INFO: Extracted packet for processing {"connection_id":50646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:18:41] 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-22 16:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 16:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:18:41] 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-22 16:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:18:41] local.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-22 16:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:18:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":50646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:18:41] local.INFO: GPS data processed {"connection_id":50646,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:18:41] local.INFO: Acknowledgment sent {"connection_id":50646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:19:26] local.INFO: TCP Data received {"connection_id":51339,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:19:26] local.INFO: Processing buffer {"connection_id":51339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:19:26] local.INFO: IMEI packet received {"connection_id":51339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":51339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:19:31] local.INFO: TCP Data received {"connection_id":51339,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:19:31] local.INFO: Processing buffer {"connection_id":51339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:19:31] local.INFO: IMEI packet received {"connection_id":51339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":51339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:19:31] local.INFO: TCP Data received {"connection_id":51339,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:19:31] local.INFO: Processing buffer {"connection_id":51339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:19:31] local.INFO: Packet analysis {"connection_id":51339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:19:31] local.INFO: Extracted packet for processing {"connection_id":51339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:19: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-22 16:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 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-22 16:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:19: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-22 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-22 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-22 16:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:19:31] 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-22 16:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:19:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":51339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:19:31] local.INFO: GPS data processed {"connection_id":51339,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:19:31] local.INFO: Acknowledgment sent {"connection_id":51339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:20:02] local.INFO: TCP Data received {"connection_id":51339,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:20:02] local.INFO: Processing buffer {"connection_id":51339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:20:02] local.INFO: Packet analysis {"connection_id":51339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:20:02] local.INFO: Extracted packet for processing {"connection_id":51339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:20:02] 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-22 16:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 16: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-22 16:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:20: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-22 16: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-22 16: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-22 16:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:20:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":51339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:20:02] local.INFO: GPS data processed {"connection_id":51339,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:20:02] local.INFO: Acknowledgment sent {"connection_id":51339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:20:16] local.INFO: TCP Data received {"connection_id":51341,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:20:16] local.INFO: Processing buffer {"connection_id":51341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:20:16] local.INFO: IMEI packet received {"connection_id":51341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":51341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:20:26] local.INFO: TCP Data received {"connection_id":51342,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:20:26] local.INFO: Processing buffer {"connection_id":51342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:20:26] local.INFO: IMEI packet received {"connection_id":51342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":51342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:20:31] local.INFO: TCP Data received {"connection_id":51342,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:20:31] local.INFO: Processing buffer {"connection_id":51342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:20:31] local.INFO: IMEI packet received {"connection_id":51342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":51342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:20:32] local.INFO: TCP Data received {"connection_id":51342,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:20:32] local.INFO: Processing buffer {"connection_id":51342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:20:32] local.INFO: Packet analysis {"connection_id":51342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:20:32] local.INFO: Extracted packet for processing {"connection_id":51342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:20: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-22 16:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 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-22 16: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-22 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:20: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-22 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-22 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-22 16:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:20:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":51342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:20:32] local.INFO: GPS data processed {"connection_id":51342,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:20:32] local.INFO: Acknowledgment sent {"connection_id":51342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:20:51] local.INFO: TCP Data received {"connection_id":50396,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:20:51] local.INFO: Processing buffer {"connection_id":50396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:20:51] local.INFO: IMEI packet received {"connection_id":50396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":50396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:21:03] local.INFO: TCP Data received {"connection_id":51342,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:21:03] local.INFO: Processing buffer {"connection_id":51342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:21:03] local.INFO: Packet analysis {"connection_id":51342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:21:03] local.INFO: Extracted packet for processing {"connection_id":51342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:21: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-22 16:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 16:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:21: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-22 16:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:21: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-22 16:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:21: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-22 16:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:21:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":51342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:21:03] local.INFO: GPS data processed {"connection_id":51342,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:21:03] local.INFO: Acknowledgment sent {"connection_id":51342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:21:25] local.INFO: TCP Data received {"connection_id":50648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:21:25] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:21:25] local.INFO: IMEI packet received {"connection_id":50648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":50648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:21:31] local.INFO: TCP Data received {"connection_id":50648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:21:31] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:21:31] local.INFO: IMEI packet received {"connection_id":50648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":50648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:21:32] local.INFO: TCP Data received {"connection_id":50648,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:21:32] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:21:32] local.INFO: Packet analysis {"connection_id":50648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:21:32] local.INFO: Extracted packet for processing {"connection_id":50648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:21: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-22 16:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 16: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-22 16: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-22 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:21: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-22 16: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-22 16: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-22 16:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:21: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-22 16:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:21:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":50648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:21:32] local.INFO: GPS data processed {"connection_id":50648,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:21:32] local.INFO: Acknowledgment sent {"connection_id":50648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:21:34] local.INFO: TCP Data received {"connection_id":50649,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:21:34] local.INFO: Processing buffer {"connection_id":50649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:21:34] local.INFO: IMEI packet received {"connection_id":50649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":50649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:21:37] local.INFO: TCP Data received {"connection_id":50649,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:21:37] local.INFO: Processing buffer {"connection_id":50649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:21:37] local.INFO: IMEI packet received {"connection_id":50649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":50649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:21:40] local.INFO: TCP Data received {"connection_id":50649,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cdc348012d1a12c007214088004d00d728..."} 
[2026-04-22 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cdc348012d1a12c007214088004d00d728..."} 
[2026-04-22 16:21:40] local.INFO: Processing buffer {"connection_id":50649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cdc348012d1a12c007214088004d00d728..."} 
[2026-04-22 16:21:40] local.INFO: Packet analysis {"connection_id":50649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:21:40] local.INFO: Extracted packet for processing {"connection_id":50649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756683456,"raw_latitude":119619720,"longitude_deg":75.6683456,"latitude_deg":11.961972,"altitude":77,"angle":215,"satellites":40,"speed":6,"hex_longitude":"2d1a12c0","hex_latitude":"07214088","is_valid_coordinates":true} 
[2026-04-22 16:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874846976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951529676832768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879126975143161856,"note":"Value kept but may cause issues"} 
[2026-04-22 16:21: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-22 16:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776854877000,"timestamp_ms":1776854877000,"timestamp_seconds":1776854877,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cdc348"} 
[2026-04-22 16:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 16:21:40] 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-22 16:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:21:40] 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-22 16:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874846976001,"66":12558,"61":206,"83":41984,"24":6,"16":113951529676832768,"45":1879126975143161856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874846976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:21:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951529676832768,"km_value":113951529676832.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879126975143161856,"description":"Unknown IO ID 45"} 
[2026-04-22 16:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874846976001,"power":12558,"unknown_61":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1879126975143161856}} 
[2026-04-22 16:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":50649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:21:40] local.INFO: GPS data processed {"connection_id":50649,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:21:40] local.INFO: Acknowledgment sent {"connection_id":50649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:22:02] local.INFO: TCP Data received {"connection_id":50648,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:22:02] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:22:02] local.INFO: Packet analysis {"connection_id":50648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:22:02] local.INFO: Extracted packet for processing {"connection_id":50648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:02] 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-22 16:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 16: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-22 16:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:22: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-22 16: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-22 16: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-22 16:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:22:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":50648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:22:02] local.INFO: GPS data processed {"connection_id":50648,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:22:02] local.INFO: Acknowledgment sent {"connection_id":50648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:22:11] local.INFO: TCP Data received {"connection_id":50649,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cdcb18012d1a11c007213fa8004c00e428..."} 
[2026-04-22 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cdcb18012d1a11c007213fa8004c00e428..."} 
[2026-04-22 16:22:11] local.INFO: Processing buffer {"connection_id":50649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cdcb18012d1a11c007213fa8004c00e428..."} 
[2026-04-22 16:22:11] local.INFO: Packet analysis {"connection_id":50649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:22:11] local.INFO: Extracted packet for processing {"connection_id":50649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756683200,"raw_latitude":119619496,"longitude_deg":75.66832,"latitude_deg":11.9619496,"altitude":76,"angle":228,"satellites":40,"speed":5,"hex_longitude":"2d1a11c0","hex_latitude":"07213fa8","is_valid_coordinates":true} 
[2026-04-22 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874848512001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951546856701952,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878775131422099456,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] 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-22 16:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776854879000,"timestamp_ms":1776854879000,"timestamp_seconds":1776854879,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cdcb18"} 
[2026-04-22 16:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3033367752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3593338880,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249937019255737160,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3448799233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765605582,"corrected_to":0} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2550213914,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2147950923,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":105,"raw_value":4395740094942681088,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408109058,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,61,83,24,241,157,16,214,171,45,67,81,40,10,66,152,128,73,85,148,1,240,249,227,180,33,4,113,205,7,140,21,80,239,49,2,87,105,82,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1765605582,"validated":0}]} 
[2026-04-22 16:22:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671307719507968,"timestamp_seconds":5548671307719508.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:22:11] 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-22 16:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874848512001,"66":12548,"61":206,"83":41984,"24":5,"16":113951546856701952,"45":1878775131422099456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874848512001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:22:11] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951546856701952,"km_value":113951546856701.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878775131422099456,"description":"Unknown IO ID 45"} 
[2026-04-22 16:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874848512001,"power":12548,"unknown_61":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1878775131422099456}} 
[2026-04-22 16:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":50649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:22:11] local.INFO: GPS data processed {"connection_id":50649,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:22:11] local.INFO: Acknowledgment sent {"connection_id":50649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:22:27] local.INFO: TCP Data received {"connection_id":50398,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:22:27] local.INFO: Processing buffer {"connection_id":50398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:22:27] local.INFO: IMEI packet received {"connection_id":50398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:22:28] local.INFO: TCP Data received {"connection_id":50398,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:22:28] local.INFO: Processing buffer {"connection_id":50398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:22:28] local.INFO: IMEI packet received {"connection_id":50398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":50398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:22:31] local.INFO: TCP Data received {"connection_id":50397,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:22:31] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:22:31] local.INFO: IMEI packet received {"connection_id":50397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":50397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:22:34] local.INFO: TCP Data received {"connection_id":50398,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:22:34] local.INFO: Processing buffer {"connection_id":50398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:22:34] local.INFO: IMEI packet received {"connection_id":50398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":50398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:22:34] local.INFO: TCP Data received {"connection_id":50398,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ce1d20012d1a118007213f60004c00e427..."} 
[2026-04-22 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ce1d20012d1a118007213f60004c00e427..."} 
[2026-04-22 16:22:34] local.INFO: Processing buffer {"connection_id":50398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ce1d20012d1a118007213f60004c00e427..."} 
[2026-04-22 16:22:34] local.INFO: Packet analysis {"connection_id":50398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ce"} 
[2026-04-22 16:22:34] local.INFO: Extracted packet for processing {"connection_id":50398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ce"} 
[2026-04-22 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":39,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874849024001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878493656445331456,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] 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-22 16:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776854900000,"timestamp_ms":1776854900000,"timestamp_seconds":1776854900,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ce1d20"} 
[2026-04-22 16:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3033369752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3449055233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765605582,"corrected_to":0} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2147560730,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579369,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3593469952,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.WARNING: Large IO value detected {"io_id":105,"raw_value":4395740094942681088,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,61,83,24,241,157,16,214,195,45,192,64,77,40,10,66,171,67,81,152,128,1,240,249,227,180,33,4,113,205,7,144,21,239,48,2,148,86,105],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1765605582,"validated":0}]} 
[2026-04-22 16:22:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476628007332675584,"timestamp_seconds":5476628007332676.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:22:34] 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-22 16:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874849024001,"66":12537,"61":206,"83":41984,"24":0,"16":113951551151669248,"45":1878493656445331456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874849024001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:22:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878493656445331456,"description":"Unknown IO ID 45"} 
[2026-04-22 16:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874849024001,"power":12537,"unknown_61":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878493656445331456}} 
[2026-04-22 16:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":50398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:22:34] local.INFO: GPS data processed {"connection_id":50398,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:22:34] local.INFO: Acknowledgment sent {"connection_id":50398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:22:36] local.INFO: TCP Data received {"connection_id":50397,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:22:36] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:22:36] local.INFO: IMEI packet received {"connection_id":50397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":50397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:22:36] local.INFO: TCP Data received {"connection_id":50397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:22:36] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:22:36] local.INFO: Packet analysis {"connection_id":50397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:22:36] local.INFO: Extracted packet for processing {"connection_id":50397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22: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-22 16:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 16: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-22 16:22: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-22 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:22:36] 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-22 16: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-22 16: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-22 16:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:22:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":50397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:22:36] local.INFO: GPS data processed {"connection_id":50397,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:22:36] local.INFO: Acknowledgment sent {"connection_id":50397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:22:41] local.INFO: TCP Data received {"connection_id":50397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:22:41] local.INFO: Processing buffer {"connection_id":50397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cd5200012d7f868005afdd080012014927..."} 
[2026-04-22 16:22:41] local.INFO: Packet analysis {"connection_id":50397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:22:41] local.INFO: Extracted packet for processing {"connection_id":50397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cd"} 
[2026-04-22 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":18,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874764032001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:22:41] 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-22 16:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776854848000,"timestamp_ms":1776854848000,"timestamp_seconds":1776854848,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cd5200"} 
[2026-04-22 16: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-22 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 16:22:41] 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-22 16: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-22 16: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-22 16:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:22:41] local.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-22 16:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874764032001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874764032001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:22:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874764032001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":50397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:22:41] local.INFO: GPS data processed {"connection_id":50397,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:22:41] local.INFO: Acknowledgment sent {"connection_id":50397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:23:10] local.INFO: TCP Data received {"connection_id":50398,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ce6f28012d1a118007213f60004c00e428..."} 
[2026-04-22 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ce6f28012d1a118007213f60004c00e428..."} 
[2026-04-22 16:23:10] local.INFO: Processing buffer {"connection_id":50398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ce6f28012d1a118007213f60004c00e428..."} 
[2026-04-22 16:23:10] local.INFO: Packet analysis {"connection_id":50398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ce"} 
[2026-04-22 16:23:10] local.INFO: Extracted packet for processing {"connection_id":50398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ce"} 
[2026-04-22 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":40,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874854400001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:10] 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-22 16:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776854921000,"timestamp_ms":1776854921000,"timestamp_seconds":1776854921,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ce6f28"} 
[2026-04-22 16:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 16:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874854400001,"66":12526,"61":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874854400001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:23:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874854400001,"power":12526,"unknown_61":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":50398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:23:10] local.INFO: GPS data processed {"connection_id":50398,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:23:10] local.INFO: Acknowledgment sent {"connection_id":50398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:23:26] local.INFO: TCP Data received {"connection_id":50651,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:23:26] local.INFO: Processing buffer {"connection_id":50651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:23:26] local.INFO: IMEI packet received {"connection_id":50651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":50651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:23:31] local.INFO: TCP Data received {"connection_id":50651,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:23:31] local.INFO: Processing buffer {"connection_id":50651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:23:31] local.INFO: IMEI packet received {"connection_id":50651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":50651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:23:31] local.INFO: TCP Data received {"connection_id":50651,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:23:31] local.INFO: Processing buffer {"connection_id":50651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:23:31] local.INFO: Packet analysis {"connection_id":50651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:23:31] local.INFO: Extracted packet for processing {"connection_id":50651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23: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-22 16:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 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-22 16:23: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-22 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":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:23: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-22 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-22 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-22 16:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:23:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":50651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:23:31] local.INFO: GPS data processed {"connection_id":50651,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:23:31] local.INFO: Acknowledgment sent {"connection_id":50651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:23:32] local.INFO: TCP Data received {"connection_id":50399,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:23:32] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:23:32] local.INFO: IMEI packet received {"connection_id":50399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:23:32] local.INFO: TCP Data received {"connection_id":50399,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:23:32] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:23:32] local.INFO: IMEI packet received {"connection_id":50399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:23:37] local.INFO: TCP Data received {"connection_id":50399,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:23:37] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:23:37] local.INFO: IMEI packet received {"connection_id":50399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":50399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:23:40] local.INFO: TCP Data received {"connection_id":50399,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cec130012d1a118007213f60004c00e427..."} 
[2026-04-22 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cec130012d1a118007213f60004c00e427..."} 
[2026-04-22 16:23:40] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cec130012d1a118007213f60004c00e427..."} 
[2026-04-22 16:23:40] local.INFO: Packet analysis {"connection_id":50399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ce"} 
[2026-04-22 16:23:40] local.INFO: Extracted packet for processing {"connection_id":50399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ce"} 
[2026-04-22 16:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":39,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874859776001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23: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-22 16:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776854942000,"timestamp_ms":1776854942000,"timestamp_seconds":1776854942,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cec130"} 
[2026-04-22 16:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 16:23:40] 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-22 16:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:23:40] 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-22 16:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874859776001,"66":12558,"61":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874859776001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:23:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874859776001,"power":12558,"unknown_61":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":50399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:23:40] local.INFO: GPS data processed {"connection_id":50399,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:23:40] local.INFO: Acknowledgment sent {"connection_id":50399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:23:43] local.INFO: TCP Data received {"connection_id":50399,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cf1338012d1a118007213f60004c00e428..."} 
[2026-04-22 16:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cf1338012d1a118007213f60004c00e428..."} 
[2026-04-22 16:23:43] local.INFO: Processing buffer {"connection_id":50399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cf1338012d1a118007213f60004c00e428..."} 
[2026-04-22 16:23:43] local.INFO: Packet analysis {"connection_id":50399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cf"} 
[2026-04-22 16:23:43] local.INFO: Extracted packet for processing {"connection_id":50399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cf"} 
[2026-04-22 16:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":40,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874865152001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] 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-22 16:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776854963000,"timestamp_ms":1776854963000,"timestamp_seconds":1776854963,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cf1338"} 
[2026-04-22 16:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3033372752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":6145,"corrected_to":0} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249932621209225816,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3452127233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765605582,"corrected_to":0} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3623955738,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3594977280,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":105,"raw_value":4395740094942681088,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408240130,"note":"Value kept but may cause issues"} 
[2026-04-22 16:23:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,61,83,24,241,157,16,214,111,45,128,63,76,40,10,66,29,39,203,192,1,240,4,227,180,33,113,205,6,171,20,48,239,49,2,148,7,85,105,82,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":203,"original":6145,"validated":0},{"io_id":205,"original":1765605582,"validated":0}]} 
[2026-04-22 16:23:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476628003037380608,"timestamp_seconds":5476628003037381.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:23:43] 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-22 16:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874865152001,"66":12548,"61":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874865152001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:23:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:23:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874865152001,"power":12548,"unknown_61":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":50399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:23:43] local.INFO: GPS data processed {"connection_id":50399,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:23:43] local.INFO: Acknowledgment sent {"connection_id":50399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:24:02] local.INFO: TCP Data received {"connection_id":50651,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:24:02] local.INFO: Processing buffer {"connection_id":50651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:24:02] local.INFO: Packet analysis {"connection_id":50651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:24:02] local.INFO: Extracted packet for processing {"connection_id":50651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:02] 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-22 16:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 16:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:24: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-22 16:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:24: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-22 16:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:24:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":50651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:24:02] local.INFO: GPS data processed {"connection_id":50651,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:24:02] local.INFO: Acknowledgment sent {"connection_id":50651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:24:26] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:24:26] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:24:26] local.INFO: IMEI packet received {"connection_id":50773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":50773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:24:27] local.INFO: TCP Data received {"connection_id":51343,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:24:27] local.INFO: Processing buffer {"connection_id":51343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:24:27] local.INFO: IMEI packet received {"connection_id":51343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":51343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:24:31] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:24:31] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:24:31] local.INFO: IMEI packet received {"connection_id":50773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":50773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:24:32] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:24:32] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:24:32] local.INFO: Packet analysis {"connection_id":50773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:24:32] local.INFO: Extracted packet for processing {"connection_id":50773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24: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-22 16:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 16: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-22 16: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-22 16: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:24: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-22 16: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-22 16: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-22 16:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:24: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-22 16:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:24:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":50773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:24:32] local.INFO: GPS data processed {"connection_id":50773,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:24:32] local.INFO: Acknowledgment sent {"connection_id":50773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:24:32] local.INFO: TCP Data received {"connection_id":51343,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:24:32] local.INFO: Processing buffer {"connection_id":51343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:24:32] local.INFO: IMEI packet received {"connection_id":51343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":51343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:24:33] local.INFO: TCP Data received {"connection_id":51343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cf6540012d1a118007213f60004c00e427..."} 
[2026-04-22 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cf6540012d1a118007213f60004c00e427..."} 
[2026-04-22 16:24:33] local.INFO: Processing buffer {"connection_id":51343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cf6540012d1a118007213f60004c00e427..."} 
[2026-04-22 16:24:33] local.INFO: Packet analysis {"connection_id":51343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cf"} 
[2026-04-22 16:24:33] local.INFO: Extracted packet for processing {"connection_id":51343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cf"} 
[2026-04-22 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":39,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874870528001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24: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-22 16:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776854984000,"timestamp_ms":1776854984000,"timestamp_seconds":1776854984,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cf6540"} 
[2026-04-22 16:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3033377752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3452639233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765605582,"corrected_to":0} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":18,"raw_value":3221692736,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3595567104,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.WARNING: Large IO value detected {"io_id":105,"raw_value":4395740094942681088,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,61,83,24,241,157,16,214,193,45,128,63,76,39,10,66,111,40,29,1,240,249,227,180,33,4,113,205,5,195,18,136,239,49,2,148,7,81,9,105],"length":485,"final_offset":615,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1765605582,"validated":0}]} 
[2026-04-22 16:24:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476628007332347904,"timestamp_seconds":5476628007332348.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:24:33] 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-22 16:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874870528001,"66":12537,"106":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874870528001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:24:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874870528001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":51343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:24:33] local.INFO: GPS data processed {"connection_id":51343,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:24:33] local.INFO: Acknowledgment sent {"connection_id":51343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:24:34] local.INFO: TCP Data received {"connection_id":51343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4cfb748012d1a118007213f60004c00e427..."} 
[2026-04-22 16:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4cfb748012d1a118007213f60004c00e427..."} 
[2026-04-22 16:24:34] local.INFO: Processing buffer {"connection_id":51343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4cfb748012d1a118007213f60004c00e427..."} 
[2026-04-22 16:24:34] local.INFO: Packet analysis {"connection_id":51343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4cf"} 
[2026-04-22 16:24:34] local.INFO: Extracted packet for processing {"connection_id":51343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4cf"} 
[2026-04-22 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":39,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874875904001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:24: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-22 16:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776855005000,"timestamp_ms":1776855005000,"timestamp_seconds":1776855005,"priority":1,"record_length":96,"hex_timestamp":"0000019db4cfb748"} 
[2026-04-22 16:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 16:24:34] 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-22 16:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:24:34] 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-22 16:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874875904001,"66":12548,"106":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874875904001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:24:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874875904001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":51343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:24:34] local.INFO: GPS data processed {"connection_id":51343,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:24:34] local.INFO: Acknowledgment sent {"connection_id":51343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:25:03] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:25:03] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:25:03] local.INFO: Packet analysis {"connection_id":50773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:25:03] local.INFO: Extracted packet for processing {"connection_id":50773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16: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-22 16:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 16: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-22 16: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-22 16:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:25: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-22 16:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:25:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":50773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:25:03] local.INFO: GPS data processed {"connection_id":50773,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:25:03] local.INFO: Acknowledgment sent {"connection_id":50773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:25:06] local.INFO: TCP Data received {"connection_id":51343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d00950012d1a118007213f60004c00e428..."} 
[2026-04-22 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d00950012d1a118007213f60004c00e428..."} 
[2026-04-22 16:25:06] local.INFO: Processing buffer {"connection_id":51343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d00950012d1a118007213f60004c00e428..."} 
[2026-04-22 16:25:06] local.INFO: Packet analysis {"connection_id":51343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d0"} 
[2026-04-22 16:25:06] local.INFO: Extracted packet for processing {"connection_id":51343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d0"} 
[2026-04-22 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":40,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874881280001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25: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-22 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776855026000,"timestamp_ms":1776855026000,"timestamp_seconds":1776855026,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d00950"} 
[2026-04-22 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3033385752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3463391233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765605582,"corrected_to":0} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2147950911,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579369,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3595894784,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.WARNING: Large IO value detected {"io_id":105,"raw_value":4395740094942681088,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,214,101,45,128,63,76,39,10,66,19,40,61,193,1,240,14,227,180,33,4,113,205,29,17,96,239,48,2,148,7,5,105],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1765605582,"validated":0}]} 
[2026-04-22 16:25:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476628003037380608,"timestamp_seconds":5476628003037381.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874881280001,"66":12548,"106":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874881280001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:25:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874881280001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":51343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:25:06] local.INFO: GPS data processed {"connection_id":51343,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:25:06] local.INFO: Acknowledgment sent {"connection_id":51343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:25:26] local.INFO: TCP Data received {"connection_id":50401,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:25:26] local.INFO: Processing buffer {"connection_id":50401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:25:26] local.INFO: IMEI packet received {"connection_id":50401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":50401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:25:27] local.INFO: TCP Data received {"connection_id":50400,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:25:27] local.INFO: Processing buffer {"connection_id":50400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:25:27] local.INFO: IMEI packet received {"connection_id":50400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:25:31] local.INFO: TCP Data received {"connection_id":50401,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:25:31] local.INFO: Processing buffer {"connection_id":50401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:25:31] local.INFO: IMEI packet received {"connection_id":50401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":50401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:25:31] local.INFO: TCP Data received {"connection_id":50401,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:25:31] local.INFO: Processing buffer {"connection_id":50401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:25:31] local.INFO: Packet analysis {"connection_id":50401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:25:31] local.INFO: Extracted packet for processing {"connection_id":50401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25: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-22 16:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 16: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-22 16:25: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-22 16: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:25: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-22 16: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-22 16: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-22 16:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:25:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":50401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:25:31] local.INFO: GPS data processed {"connection_id":50401,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:25:31] local.INFO: Acknowledgment sent {"connection_id":50401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:25:32] local.INFO: TCP Data received {"connection_id":50400,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:25:32] local.INFO: Processing buffer {"connection_id":50400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:25:32] local.INFO: IMEI packet received {"connection_id":50400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:25:34] local.INFO: TCP Data received {"connection_id":50400,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d05b58012d1a118007213f60004c00e427..."} 
[2026-04-22 16:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d05b58012d1a118007213f60004c00e427..."} 
[2026-04-22 16:25:34] local.INFO: Processing buffer {"connection_id":50400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d05b58012d1a118007213f60004c00e427..."} 
[2026-04-22 16:25:34] local.INFO: Packet analysis {"connection_id":50400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d0"} 
[2026-04-22 16:25:34] local.INFO: Extracted packet for processing {"connection_id":50400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d0"} 
[2026-04-22 16:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":39,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874886656001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] 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-22 16:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776855047000,"timestamp_ms":1776855047000,"timestamp_seconds":1776855047,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d05b58"} 
[2026-04-22 16:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3033406752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3468767233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765605582,"corrected_to":0} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2147950911,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029993,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3595894784,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.WARNING: Large IO value detected {"io_id":105,"raw_value":4395740094942681088,"note":"Value kept but may cause issues"} 
[2026-04-22 16:25:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,214,183,45,128,63,76,39,10,66,101,19,1,240,4,227,180,33,113,205,111,17,96,40,239,48,61,2,148,7,105],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1765605582,"validated":0}]} 
[2026-04-22 16:25:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476628007332347904,"timestamp_seconds":5476628007332348.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:25:34] 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-22 16:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874886656001,"66":12548,"61":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-22 16:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874886656001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:25:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-22 16:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874886656001,"power":12548,"unknown_61":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":50400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:25:34] local.INFO: GPS data processed {"connection_id":50400,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:25:34] local.INFO: Acknowledgment sent {"connection_id":50400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:26:02] local.INFO: TCP Data received {"connection_id":50401,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:26:02] local.INFO: Processing buffer {"connection_id":50401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:26:02] local.INFO: Packet analysis {"connection_id":50401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:26:02] local.INFO: Extracted packet for processing {"connection_id":50401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26:02] 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-22 16:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 16: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-22 16:26: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-22 16: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:26: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-22 16: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-22 16: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-22 16:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:26:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":50401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:26:02] local.INFO: GPS data processed {"connection_id":50401,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:26:02] local.INFO: Acknowledgment sent {"connection_id":50401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:26:05] local.INFO: TCP Data received {"connection_id":50400,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d3e1b0012d1a118007213f60004c00e428..."} 
[2026-04-22 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d3e1b0012d1a118007213f60004c00e428..."} 
[2026-04-22 16:26:05] local.INFO: Processing buffer {"connection_id":50400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d3e1b0012d1a118007213f60004c00e428..."} 
[2026-04-22 16:26:05] local.INFO: Packet analysis {"connection_id":50400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d3"} 
[2026-04-22 16:26:05] local.INFO: Extracted packet for processing {"connection_id":50400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d3"} 
[2026-04-22 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":40,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874945792001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26: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-22 16:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776855278000,"timestamp_ms":1776855278000,"timestamp_seconds":1776855278,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d3e1b0"} 
[2026-04-22 16:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 16:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:26:05] 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-22 16:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874945792001,"66":11656,"106":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874945792001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874945792001,"power":11656,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":50400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:26:05] local.INFO: GPS data processed {"connection_id":50400,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:26:05] local.INFO: Acknowledgment sent {"connection_id":50400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:26:21] local.INFO: TCP Data received {"connection_id":50402,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:26:21] local.INFO: Processing buffer {"connection_id":50402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:26:21] local.INFO: IMEI packet received {"connection_id":50402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":50402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:26:25] local.INFO: TCP Data received {"connection_id":50652,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:26:25] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:26:25] local.INFO: IMEI packet received {"connection_id":50652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":50652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:26:31] local.INFO: TCP Data received {"connection_id":50652,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:26:31] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:26:31] local.INFO: IMEI packet received {"connection_id":50652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":50652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:26:31] local.INFO: TCP Data received {"connection_id":50652,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:26:31] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:26:31] local.INFO: Packet analysis {"connection_id":50652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:26:31] local.INFO: Extracted packet for processing {"connection_id":50652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26: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-22 16:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 16:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:26: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-22 16:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:26: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-22 16:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:26:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":50652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:26:31] local.INFO: GPS data processed {"connection_id":50652,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:26:31] local.INFO: Acknowledgment sent {"connection_id":50652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:26:32] local.INFO: TCP Data received {"connection_id":50403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:26:32] local.INFO: Processing buffer {"connection_id":50403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:26:32] local.INFO: IMEI packet received {"connection_id":50403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:26:37] local.INFO: TCP Data received {"connection_id":50403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:26:37] local.INFO: Processing buffer {"connection_id":50403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:26:37] local.INFO: IMEI packet received {"connection_id":50403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":50403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:26:38] local.INFO: TCP Data received {"connection_id":50403,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d433b8012d1a118007213f60004c00e427..."} 
[2026-04-22 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d433b8012d1a118007213f60004c00e427..."} 
[2026-04-22 16:26:38] local.INFO: Processing buffer {"connection_id":50403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d433b8012d1a118007213f60004c00e427..."} 
[2026-04-22 16:26:38] local.INFO: Packet analysis {"connection_id":50403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d4"} 
[2026-04-22 16:26:38] local.INFO: Extracted packet for processing {"connection_id":50403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d4"} 
[2026-04-22 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":39,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874951168001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:26: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-22 16:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776855299000,"timestamp_ms":1776855299000,"timestamp_seconds":1776855299,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d433b8"} 
[2026-04-22 16:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-04-22 16:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:26:38] 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-22 16:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874951168001,"66":12374,"106":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874951168001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:26:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874951168001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":50403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:26:38] local.INFO: GPS data processed {"connection_id":50403,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:26:38] local.INFO: Acknowledgment sent {"connection_id":50403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:26:50] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:26:50] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:26:50] local.INFO: IMEI packet received {"connection_id":50775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":50775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:27:02] local.INFO: TCP Data received {"connection_id":50652,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:27:02] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:27:02] local.INFO: Packet analysis {"connection_id":50652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:27:02] local.INFO: Extracted packet for processing {"connection_id":50652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:02] 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-22 16:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 16: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-22 16:27: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-22 16: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:27: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-22 16: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-22 16: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-22 16:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:27:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":50652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:27:02] local.INFO: GPS data processed {"connection_id":50652,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:27:02] local.INFO: Acknowledgment sent {"connection_id":50652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:27:10] local.INFO: TCP Data received {"connection_id":50403,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d485c0012d1a118007213f60004c00e426..."} 
[2026-04-22 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d485c0012d1a118007213f60004c00e426..."} 
[2026-04-22 16:27:10] local.INFO: Processing buffer {"connection_id":50403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d485c0012d1a118007213f60004c00e426..."} 
[2026-04-22 16:27:10] local.INFO: Packet analysis {"connection_id":50403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d4"} 
[2026-04-22 16:27:10] local.INFO: Extracted packet for processing {"connection_id":50403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d4"} 
[2026-04-22 16:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756683136,"raw_latitude":119619424,"longitude_deg":75.6683136,"latitude_deg":11.9619424,"altitude":76,"angle":228,"satellites":38,"speed":0,"hex_longitude":"2d1a1180","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-04-22 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874956544001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113951551151669248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878423287701135360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27: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-22 16:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776855320000,"timestamp_ms":1776855320000,"timestamp_seconds":1776855320,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d485c0"} 
[2026-04-22 16:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874956544001,"66":12461,"106":206,"83":41984,"24":0,"16":113951551151669248,"45":1878423287701135360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874956544001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:27:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113951551151669248,"km_value":113951551151669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878423287701135360,"description":"Unknown IO ID 45"} 
[2026-04-22 16:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874956544001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1878423287701135360}} 
[2026-04-22 16:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":50403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:27:10] local.INFO: GPS data processed {"connection_id":50403,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:27:10] local.INFO: Acknowledgment sent {"connection_id":50403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:27:31] local.INFO: TCP Data received {"connection_id":50776,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:27:31] local.INFO: Processing buffer {"connection_id":50776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:27:31] local.INFO: IMEI packet received {"connection_id":50776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":50776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:27:36] local.INFO: TCP Data received {"connection_id":50776,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:27:36] local.INFO: Processing buffer {"connection_id":50776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:27:36] local.INFO: IMEI packet received {"connection_id":50776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":50776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:27:36] local.INFO: TCP Data received {"connection_id":50776,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:27:36] local.INFO: Processing buffer {"connection_id":50776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:27:36] local.INFO: Packet analysis {"connection_id":50776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:27:36] local.INFO: Extracted packet for processing {"connection_id":50776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27: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-22 16:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 16: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-22 16:27: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-22 16: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:27:36] 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-22 16: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-22 16: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-22 16:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:27:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":50776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:27:36] local.INFO: GPS data processed {"connection_id":50776,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:27:36] local.INFO: Acknowledgment sent {"connection_id":50776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:27:41] local.INFO: TCP Data received {"connection_id":50776,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:27:41] local.INFO: Processing buffer {"connection_id":50776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d1e9c8012d7f868005afdd08001d014928..."} 
[2026-04-22 16:27:41] local.INFO: Packet analysis {"connection_id":50776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:27:41] local.INFO: Extracted packet for processing {"connection_id":50776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d1"} 
[2026-04-22 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":29,"angle":329,"satellites":40,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874841088001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:27:41] 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-22 16:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776855149000,"timestamp_ms":1776855149000,"timestamp_seconds":1776855149,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d1e9c8"} 
[2026-04-22 16:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:27:41] 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-22 16:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:27:41] 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-22 16:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874841088001,"66":25430,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874841088001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:27:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874841088001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":50776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:27:41] local.INFO: GPS data processed {"connection_id":50776,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:27:41] local.INFO: Acknowledgment sent {"connection_id":50776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:28:17] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:28:17] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:28:17] local.INFO: IMEI packet received {"connection_id":50653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":50653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:28:20] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:28:20] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:28:20] local.INFO: IMEI packet received {"connection_id":50653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":50653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:28:20] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:28:20] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:28:20] local.INFO: IMEI packet received {"connection_id":50653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":50653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:28:22] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d675d8012d1a3b400720f730003d00d227..."} 
[2026-04-22 16:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d675d8012d1a3b400720f730003d00d227..."} 
[2026-04-22 16:28:22] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d675d8012d1a3b400720f730003d00d227..."} 
[2026-04-22 16:28:22] local.INFO: Packet analysis {"connection_id":50653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:28:22] local.INFO: Extracted packet for processing {"connection_id":50653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756693824,"raw_latitude":119600944,"longitude_deg":75.6693824,"latitude_deg":11.9600944,"altitude":61,"angle":210,"satellites":39,"speed":15,"hex_longitude":"2d1a3b40","hex_latitude":"0720f730","is_valid_coordinates":true} 
[2026-04-22 16:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874994176001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113952938426105856,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890315605462509568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28:22] 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-22 16:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776855447000,"timestamp_ms":1776855447000,"timestamp_seconds":1776855447,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d675d8"} 
[2026-04-22 16:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:28: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-22 16:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 16:28:22] 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-22 16:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":50653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:28:22] 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-22 16:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874994176001,"66":14396,"146":206,"83":41984,"24":15,"16":113952938426105856,"45":1890315605462509568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,45]} 
[2026-04-22 16:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874994176001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:28:22] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-04-22 16:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113952938426105856,"km_value":113952938426105.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890315605462509568,"description":"Unknown IO ID 45"} 
[2026-04-22 16:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874994176001,"power":14396,"unknown_146":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1890315605462509568}} 
[2026-04-22 16:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":50653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:28:22] local.INFO: GPS data processed {"connection_id":50653,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:28:22] local.INFO: Acknowledgment sent {"connection_id":50653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:28:23] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d69130012d1a35000720ea08003c00c528..."} 
[2026-04-22 16:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d69130012d1a35000720ea08003c00c528..."} 
[2026-04-22 16:28:23] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d69130012d1a35000720ea08003c00c528..."} 
[2026-04-22 16:28:23] local.INFO: Packet analysis {"connection_id":50653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:28:23] local.INFO: Extracted packet for processing {"connection_id":50653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756692224,"raw_latitude":119597576,"longitude_deg":75.6692224,"latitude_deg":11.9597576,"altitude":60,"angle":197,"satellites":40,"speed":24,"hex_longitude":"2d1a3500","hex_latitude":"0720ea08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874994432001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113953118814732288,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890174867974074368,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28: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-22 16:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776855454000,"timestamp_ms":1776855454000,"timestamp_seconds":1776855454,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d69130"} 
[2026-04-22 16: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-22 16:28: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-22 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 16:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":50653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:28: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-22 16:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874994432001,"66":14374,"106":206,"83":41984,"24":24,"16":113953118814732288,"45":1890174867974074368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874994432001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:28:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:28:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113953118814732288,"km_value":113953118814732.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890174867974074368,"description":"Unknown IO ID 45"} 
[2026-04-22 16:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874994432001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1890174867974074368}} 
[2026-04-22 16:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":50653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:28:24] local.INFO: GPS data processed {"connection_id":50653,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:28:24] local.INFO: Acknowledgment sent {"connection_id":50653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:28:25] local.INFO: TCP Data received {"connection_id":51344,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:28:25] local.INFO: Processing buffer {"connection_id":51344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:28:25] local.INFO: IMEI packet received {"connection_id":51344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":51344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:28:31] local.INFO: TCP Data received {"connection_id":51344,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:28:31] local.INFO: Processing buffer {"connection_id":51344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:28:31] local.INFO: IMEI packet received {"connection_id":51344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":51344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:28:31] local.INFO: TCP Data received {"connection_id":51344,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:28:31] local.INFO: Processing buffer {"connection_id":51344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:28:31] local.INFO: Packet analysis {"connection_id":51344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:28:31] local.INFO: Extracted packet for processing {"connection_id":51344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16: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-22 16:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 16: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-22 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:28: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-22 16: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-22 16: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-22 16:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:28:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":51344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:28:31] local.INFO: GPS data processed {"connection_id":51344,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:28:31] local.INFO: Acknowledgment sent {"connection_id":51344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:28:55] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d6a8a0012d1a2ec00720dc78003a00d028..."} 
[2026-04-22 16:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d6a8a0012d1a2ec00720dc78003a00d028..."} 
[2026-04-22 16:28:55] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d6a8a0012d1a2ec00720dc78003a00d028..."} 
[2026-04-22 16:28:55] local.INFO: Packet analysis {"connection_id":50653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:28:55] local.INFO: Extracted packet for processing {"connection_id":50653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756690624,"raw_latitude":119594104,"longitude_deg":75.6690624,"latitude_deg":11.9594104,"altitude":58,"angle":208,"satellites":40,"speed":24,"hex_longitude":"2d1a2ec0","hex_latitude":"0720dc78","is_valid_coordinates":true} 
[2026-04-22 16:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874996224001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113953303498326016,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888415649368770560,"note":"Value kept but may cause issues"} 
[2026-04-22 16:28: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-22 16:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776855460000,"timestamp_ms":1776855460000,"timestamp_seconds":1776855460,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d6a8a0"} 
[2026-04-22 16:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 16:28:55] 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-22 16:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":50653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874996224001,"66":14396,"106":206,"83":41984,"24":24,"16":113953303498326016,"45":1888415649368770560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874996224001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:28:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113953303498326016,"km_value":113953303498326.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888415649368770560,"description":"Unknown IO ID 45"} 
[2026-04-22 16:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874996224001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1888415649368770560}} 
[2026-04-22 16:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":50653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:28:56] local.INFO: GPS data processed {"connection_id":50653,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:28:56] local.INFO: Acknowledgment sent {"connection_id":50653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:29:02] local.INFO: TCP Data received {"connection_id":51344,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:29:02] local.INFO: Processing buffer {"connection_id":51344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:29:02] local.INFO: Packet analysis {"connection_id":51344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:29:02] local.INFO: Extracted packet for processing {"connection_id":51344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:29:02] 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-22 16:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 16: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-22 16:29: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-22 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:29:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":51344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:29:02] local.INFO: GPS data processed {"connection_id":51344,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:29:02] local.INFO: Acknowledgment sent {"connection_id":51344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:29:26] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:29:26] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:29:26] local.INFO: IMEI packet received {"connection_id":50778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":50778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:29:28] local.INFO: TCP Data received {"connection_id":50404,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:29:28] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:29:28] local.INFO: IMEI packet received {"connection_id":50404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":50404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:29:32] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:29:32] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:29:32] local.INFO: IMEI packet received {"connection_id":50778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:29:33] local.INFO: TCP Data received {"connection_id":50404,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:29:33] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:29:33] local.INFO: IMEI packet received {"connection_id":50404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":50404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:29:33] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:29:33] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:29:33] local.INFO: Packet analysis {"connection_id":50778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:29:33] local.INFO: Extracted packet for processing {"connection_id":50778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:29:33] 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-22 16:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 16:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:29: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-22 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:29:33] 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-22 16:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:29:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":50778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:29:33] local.INFO: GPS data processed {"connection_id":50778,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:29:33] local.INFO: Acknowledgment sent {"connection_id":50778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:29:34] local.INFO: TCP Data received {"connection_id":50404,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d76bf0012d19ca000720a470003400f927..."} 
[2026-04-22 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d76bf0012d19ca000720a470003400f927..."} 
[2026-04-22 16:29:34] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d76bf0012d19ca000720a470003400f927..."} 
[2026-04-22 16:29:34] local.INFO: Packet analysis {"connection_id":50404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d7"} 
[2026-04-22 16:29:34] local.INFO: Extracted packet for processing {"connection_id":50404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d7"} 
[2026-04-22 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119579760,"longitude_deg":75.6664832,"latitude_deg":11.957976,"altitude":52,"angle":249,"satellites":39,"speed":18,"hex_longitude":"2d19ca00","hex_latitude":"0720a470","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875010304001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113954759492239360,"note":"Value kept but may cause issues"} 
[2026-04-22 16:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039321292800,"note":"Value kept but may cause issues"} 
[2026-04-22 16:29: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-22 16:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776855510000,"timestamp_ms":1776855510000,"timestamp_seconds":1776855510,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d76bf0"} 
[2026-04-22 16: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-22 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 16:29:34] 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-22 16: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-22 16: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-22 16:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:29:34] 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-22 16:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875010304001,"66":14341,"106":206,"83":41984,"24":18,"16":113954759492239360,"45":1858720039321292800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875010304001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:29:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113954759492239360,"km_value":113954759492239.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039321292800,"description":"Unknown IO ID 45"} 
[2026-04-22 16:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875010304001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1858720039321292800}} 
[2026-04-22 16:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":50404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:29:34] local.INFO: GPS data processed {"connection_id":50404,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:29:34] local.INFO: Acknowledgment sent {"connection_id":50404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:30:04] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:30:04] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:30:04] local.INFO: Packet analysis {"connection_id":50778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:30:04] local.INFO: Extracted packet for processing {"connection_id":50778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30: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-22 16:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 16: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-22 16: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-22 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:30: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-22 16: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-22 16: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-22 16:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:30:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":50778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:30:04] local.INFO: GPS data processed {"connection_id":50778,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:30:04] local.INFO: Acknowledgment sent {"connection_id":50778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:30:05] local.INFO: TCP Data received {"connection_id":50404,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d773c0012d19c5c00720a3c80034010b27..."} 
[2026-04-22 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d773c0012d19c5c00720a3c80034010b27..."} 
[2026-04-22 16:30:05] local.INFO: Processing buffer {"connection_id":50404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d773c0012d19c5c00720a3c80034010b27..."} 
[2026-04-22 16:30:05] local.INFO: Packet analysis {"connection_id":50404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d7"} 
[2026-04-22 16:30:05] local.INFO: Extracted packet for processing {"connection_id":50404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d7"} 
[2026-04-22 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119579592,"longitude_deg":75.6663744,"latitude_deg":11.9579592,"altitude":52,"angle":267,"satellites":39,"speed":23,"hex_longitude":"2d19c5c0","hex_latitude":"0720a3c8","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875010560001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113954811031846912,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826856169472,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30: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-22 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776855512000,"timestamp_ms":1776855512000,"timestamp_seconds":1776855512,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d773c0"} 
[2026-04-22 16: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-22 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940841777,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3034003752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14637833348192768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505338433568768,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3611871233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2980053044,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3640852480,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752445771030706,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,217,104,45,128,165,53,41,10,66,84,192,172,52,40,76,1,240,72,227,180,32,4,113,205,23,68,218,239,54,2,148,7,25,206,88],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 16:30:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747268835872473088,"timestamp_seconds":3747268835872473.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16: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-22 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:30:05] 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-22 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875010560001,"66":14298,"106":206,"83":41984,"24":23,"16":113954811031846912,"45":1858297826856169472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875010560001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:30:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113954811031846912,"km_value":113954811031846.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826856169472,"description":"Unknown IO ID 45"} 
[2026-04-22 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875010560001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1858297826856169472}} 
[2026-04-22 16:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":50404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:30:05] local.INFO: GPS data processed {"connection_id":50404,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:30:05] local.INFO: Acknowledgment sent {"connection_id":50404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:30:26] local.INFO: TCP Data received {"connection_id":51345,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:30:26] local.INFO: Processing buffer {"connection_id":51345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:30:26] local.INFO: IMEI packet received {"connection_id":51345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":51345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:30:26] local.INFO: TCP Data received {"connection_id":50655,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:30:26] local.INFO: Processing buffer {"connection_id":50655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:30:26] local.INFO: IMEI packet received {"connection_id":50655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":50655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:30:27] local.INFO: TCP Data received {"connection_id":50655,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:30:27] local.INFO: Processing buffer {"connection_id":50655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:30:27] local.INFO: IMEI packet received {"connection_id":50655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":50655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:30:31] local.INFO: TCP Data received {"connection_id":51345,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:30:31] local.INFO: Processing buffer {"connection_id":51345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:30:31] local.INFO: IMEI packet received {"connection_id":51345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":51345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:30:31] local.INFO: TCP Data received {"connection_id":51345,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:30:31] local.INFO: Processing buffer {"connection_id":51345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:30:31] local.INFO: Packet analysis {"connection_id":51345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:30:31] local.INFO: Extracted packet for processing {"connection_id":51345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30: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-22 16:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 16: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-22 16: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-22 16:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:30: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-22 16: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-22 16: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-22 16:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:30:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":51345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:30:31] local.INFO: GPS data processed {"connection_id":51345,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:30:31] local.INFO: Acknowledgment sent {"connection_id":51345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:30:32] local.INFO: TCP Data received {"connection_id":50655,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:30:32] local.INFO: Processing buffer {"connection_id":50655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:30:32] local.INFO: IMEI packet received {"connection_id":50655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:30:33] local.INFO: TCP Data received {"connection_id":50655,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d777a8012d19c3c00720a4280035011627..."} 
[2026-04-22 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d777a8012d19c3c00720a4280035011627..."} 
[2026-04-22 16:30:33] local.INFO: Processing buffer {"connection_id":50655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d777a8012d19c3c00720a4280035011627..."} 
[2026-04-22 16:30:33] local.INFO: Packet analysis {"connection_id":50655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d7"} 
[2026-04-22 16:30:33] local.INFO: Extracted packet for processing {"connection_id":50655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d7"} 
[2026-04-22 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756663232,"raw_latitude":119579688,"longitude_deg":75.6663232,"latitude_deg":11.9579688,"altitude":53,"angle":278,"satellites":39,"speed":24,"hex_longitude":"2d19c3c0","hex_latitude":"0720a428","is_valid_coordinates":true} 
[2026-04-22 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-22 16:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875011072001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113954836801650688,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558205106176,"note":"Value kept but may cause issues"} 
[2026-04-22 16:30: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-22 16:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776855513000,"timestamp_ms":1776855513000,"timestamp_seconds":1776855513,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d777a8"} 
[2026-04-22 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-22 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 16:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 16:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:30:33] 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-22 16:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875011072001,"66":14298,"106":206,"83":41984,"24":24,"16":113954836801650688,"45":1857101558205106176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875011072001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:30:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113954836801650688,"km_value":113954836801650.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558205106176,"description":"Unknown IO ID 45"} 
[2026-04-22 16:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875011072001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1857101558205106176}} 
[2026-04-22 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":50655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:30:33] local.INFO: GPS data processed {"connection_id":50655,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:30:33] local.INFO: Acknowledgment sent {"connection_id":50655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:31:02] local.INFO: TCP Data received {"connection_id":51345,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:31:02] local.INFO: Processing buffer {"connection_id":51345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:31:02] local.INFO: Packet analysis {"connection_id":51345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:31:02] local.INFO: Extracted packet for processing {"connection_id":51345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:02] 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-22 16:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 16:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:31: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-22 16:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:31:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":51345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:31:02] local.INFO: GPS data processed {"connection_id":51345,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:31:02] local.INFO: Acknowledgment sent {"connection_id":51345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:31:04] local.INFO: TCP Data received {"connection_id":50655,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d8fe48012d18f2c00720d948003b013a24..."} 
[2026-04-22 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d8fe48012d18f2c00720d948003b013a24..."} 
[2026-04-22 16:31:04] local.INFO: Processing buffer {"connection_id":50655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d8fe48012d18f2c00720d948003b013a24..."} 
[2026-04-22 16:31:04] local.INFO: Packet analysis {"connection_id":50655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d8"} 
[2026-04-22 16:31:04] local.INFO: Extracted packet for processing {"connection_id":50655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d8"} 
[2026-04-22 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756609728,"raw_latitude":119593288,"longitude_deg":75.6609728,"latitude_deg":11.9593288,"altitude":59,"angle":314,"satellites":36,"speed":34,"hex_longitude":"2d18f2c0","hex_latitude":"0720d948","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875034624001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113957576990785536,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803902787609272320,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31: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-22 16:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776855613000,"timestamp_ms":1776855613000,"timestamp_seconds":1776855613,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d8fe48"} 
[2026-04-22 16: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-22 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3034079752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3664052224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13462122,"corrected_to":0} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3632607233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2857893938,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692586,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,219,187,45,64,190,47,37,10,66,156,192,177,49,218,148,1,240,202,227,180,32,4,113,205,35,109,102,216,40,239,56,2,7,53],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":202,"original":13462122,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 16:31:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819383600220930048,"timestamp_seconds":3819383600220930.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16: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-22 16:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:31:04] 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-22 16:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875034624001,"66":14070,"106":206,"83":41984,"24":34,"16":113957576990785536,"45":1803902787609272320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875034624001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113957576990785536,"km_value":113957576990785.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803902787609272320,"description":"Unknown IO ID 45"} 
[2026-04-22 16:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875034624001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1803902787609272320}} 
[2026-04-22 16:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":50655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:31:04] local.INFO: GPS data processed {"connection_id":50655,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:31:04] local.INFO: Acknowledgment sent {"connection_id":50655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:31:25] local.INFO: TCP Data received {"connection_id":50779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:31:25] local.INFO: Processing buffer {"connection_id":50779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:31:25] local.INFO: IMEI packet received {"connection_id":50779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":50779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:31:27] local.INFO: TCP Data received {"connection_id":50657,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:31:27] local.INFO: Processing buffer {"connection_id":50657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:31:27] local.INFO: IMEI packet received {"connection_id":50657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":50657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:31:30] local.INFO: TCP Data received {"connection_id":50657,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:31:30] local.INFO: Processing buffer {"connection_id":50657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:31:30] local.INFO: IMEI packet received {"connection_id":50657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":50657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:31:31] local.INFO: TCP Data received {"connection_id":50779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:31:31] local.INFO: Processing buffer {"connection_id":50779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:31:31] local.INFO: IMEI packet received {"connection_id":50779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":50779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:31:31] local.INFO: TCP Data received {"connection_id":50779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:31:31] local.INFO: Processing buffer {"connection_id":50779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:31:31] local.INFO: Packet analysis {"connection_id":50779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:31:31] local.INFO: Extracted packet for processing {"connection_id":50779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31: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-22 16:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 16: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-22 16: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-22 16: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:31: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-22 16: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-22 16: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-22 16:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:31:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":50779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:31:31] local.INFO: GPS data processed {"connection_id":50779,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:31:31] local.INFO: Acknowledgment sent {"connection_id":50779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:31:32] local.INFO: TCP Data received {"connection_id":50657,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:31:32] local.INFO: Processing buffer {"connection_id":50657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:31:32] local.INFO: IMEI packet received {"connection_id":50657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:31:33] local.INFO: TCP Data received {"connection_id":50657,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d90a00012d18ec800720e1f8003d014825..."} 
[2026-04-22 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d90a00012d18ec800720e1f8003d014825..."} 
[2026-04-22 16:31:33] local.INFO: Processing buffer {"connection_id":50657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d90a00012d18ec800720e1f8003d014825..."} 
[2026-04-22 16:31:33] local.INFO: Packet analysis {"connection_id":50657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d9"} 
[2026-04-22 16:31:33] local.INFO: Extracted packet for processing {"connection_id":50657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d9"} 
[2026-04-22 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756608128,"raw_latitude":119595512,"longitude_deg":75.6608128,"latitude_deg":11.9595512,"altitude":61,"angle":328,"satellites":37,"speed":37,"hex_longitude":"2d18ec80","hex_latitude":"0720e1f8","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875036928001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113957710134771712,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797710338122663936,"note":"Value kept but may cause issues"} 
[2026-04-22 16:31: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-22 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776855616000,"timestamp_ms":1776855616000,"timestamp_seconds":1776855616,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d90a00"} 
[2026-04-22 16: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-22 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-22 16:31:33] 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-22 16: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-22 16: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-22 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:31:33] 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-22 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875036928001,"66":14080,"106":206,"83":41984,"24":37,"16":113957710134771712,"45":1797710338122663936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875036928001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:31:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113957710134771712,"km_value":113957710134771.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797710338122663936,"description":"Unknown IO ID 45"} 
[2026-04-22 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875036928001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1797710338122663936}} 
[2026-04-22 16:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":50657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:31:33] local.INFO: GPS data processed {"connection_id":50657,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:31:33] local.INFO: Acknowledgment sent {"connection_id":50657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:32:02] local.INFO: TCP Data received {"connection_id":50779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:32:02] local.INFO: Processing buffer {"connection_id":50779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:32:02] local.INFO: Packet analysis {"connection_id":50779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:32:02] local.INFO: Extracted packet for processing {"connection_id":50779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:02] 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-22 16:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 16: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-22 16:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:32:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":50779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:32:02] local.INFO: GPS data processed {"connection_id":50779,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:32:02] local.INFO: Acknowledgment sent {"connection_id":50779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:32:04] local.INFO: TCP Data received {"connection_id":50657,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d9f460012d18830007218098004f011924..."} 
[2026-04-22 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d9f460012d18830007218098004f011924..."} 
[2026-04-22 16:32:04] local.INFO: Processing buffer {"connection_id":50657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d9f460012d18830007218098004f011924..."} 
[2026-04-22 16:32:04] local.INFO: Packet analysis {"connection_id":50657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d9"} 
[2026-04-22 16:32:04] local.INFO: Extracted packet for processing {"connection_id":50657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d9"} 
[2026-04-22 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756581120,"raw_latitude":119636120,"longitude_deg":75.658112,"latitude_deg":11.963612,"altitude":79,"angle":281,"satellites":36,"speed":36,"hex_longitude":"2d188300","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875053056001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113960252755410944,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766255509486213120,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776855676000,"timestamp_ms":1776855676000,"timestamp_seconds":1776855676,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d9f460"} 
[2026-04-22 16: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-22 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 16:32:04] 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-22 16: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-22 16: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-22 16:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:32:04] 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-22 16:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875053056001,"66":13928,"105":206,"83":41984,"24":36,"16":113960252755410944,"45":1766255509486213120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875053056001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:32:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113960252755410944,"km_value":113960252755410.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766255509486213120,"description":"Unknown IO ID 45"} 
[2026-04-22 16:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875053056001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1766255509486213120}} 
[2026-04-22 16:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":50657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:32:04] local.INFO: GPS data processed {"connection_id":50657,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:32:04] local.INFO: Acknowledgment sent {"connection_id":50657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:32:16] local.INFO: TCP Data received {"connection_id":50780,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:32:16] local.INFO: Processing buffer {"connection_id":50780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:32:16] local.INFO: IMEI packet received {"connection_id":50780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":50780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:32:25] local.INFO: TCP Data received {"connection_id":50406,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:32:25] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:32:25] local.INFO: IMEI packet received {"connection_id":50406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":50406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:32:27] local.INFO: TCP Data received {"connection_id":50781,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:32:27] local.INFO: Processing buffer {"connection_id":50781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:32:27] local.INFO: IMEI packet received {"connection_id":50781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":50781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:32:31] local.INFO: TCP Data received {"connection_id":50406,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:32:31] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:32:31] local.INFO: IMEI packet received {"connection_id":50406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":50406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:32:32] local.INFO: TCP Data received {"connection_id":50406,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:32:32] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:32:32] local.INFO: Packet analysis {"connection_id":50406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:32:32] local.INFO: Extracted packet for processing {"connection_id":50406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32: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-22 16:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 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-22 16:32: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-22 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":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:32: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-22 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-22 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-22 16:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:32:32] 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-22 16:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:32:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":50406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:32:32] local.INFO: GPS data processed {"connection_id":50406,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:32:32] local.INFO: Acknowledgment sent {"connection_id":50406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:32:32] local.INFO: TCP Data received {"connection_id":50781,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:32:32] local.INFO: Processing buffer {"connection_id":50781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:32:32] local.INFO: IMEI packet received {"connection_id":50781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:32:33] local.INFO: TCP Data received {"connection_id":50781,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4da0018012d18788007218160004e010c27..."} 
[2026-04-22 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4da0018012d18788007218160004e010c27..."} 
[2026-04-22 16:32:33] local.INFO: Processing buffer {"connection_id":50781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4da0018012d18788007218160004e010c27..."} 
[2026-04-22 16:32:33] local.INFO: Packet analysis {"connection_id":50781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:32:33] local.INFO: Extracted packet for processing {"connection_id":50781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756578432,"raw_latitude":119636320,"longitude_deg":75.6578432,"latitude_deg":11.963632,"altitude":78,"angle":268,"satellites":39,"speed":35,"hex_longitude":"2d187880","hex_latitude":"07218160","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875053056001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113960377309462528,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766255509486213120,"note":"Value kept but may cause issues"} 
[2026-04-22 16:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776855679000,"timestamp_ms":1776855679000,"timestamp_seconds":1776855679,"priority":1,"record_length":96,"hex_timestamp":"0000019db4da0018"} 
[2026-04-22 16: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-22 16:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 16:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:32:33] 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-22 16:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875053056001,"66":13820,"105":206,"83":41984,"24":35,"16":113960377309462528,"45":1766255509486213120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875053056001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:32:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113960377309462528,"km_value":113960377309462.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766255509486213120,"description":"Unknown IO ID 45"} 
[2026-04-22 16:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875053056001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1766255509486213120}} 
[2026-04-22 16:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:32:33] local.INFO: GPS data processed {"connection_id":50781,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:32:33] local.INFO: Acknowledgment sent {"connection_id":50781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:32:50] local.INFO: TCP Data received {"connection_id":50407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:32:50] local.INFO: Processing buffer {"connection_id":50407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:32:50] local.INFO: IMEI packet received {"connection_id":50407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":50407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:33:03] local.INFO: TCP Data received {"connection_id":50406,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:33:03] local.INFO: Processing buffer {"connection_id":50406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4d68190012d7f868005afdd080013014929..."} 
[2026-04-22 16:33:03] local.INFO: Packet analysis {"connection_id":50406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:33:03] local.INFO: Extracted packet for processing {"connection_id":50406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4d6"} 
[2026-04-22 16:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":19,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874918144001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33: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-22 16:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776855450000,"timestamp_ms":1776855450000,"timestamp_seconds":1776855450,"priority":1,"record_length":96,"hex_timestamp":"0000019db4d68190"} 
[2026-04-22 16:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 16:33: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-22 16:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:33: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-22 16:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874918144001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874918144001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:33:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:33:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874918144001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":50406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:33:03] local.INFO: GPS data processed {"connection_id":50406,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:33:03] local.INFO: Acknowledgment sent {"connection_id":50406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:33:04] local.INFO: TCP Data received {"connection_id":50781,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4da1788012d18640007218138004f011927..."} 
[2026-04-22 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4da1788012d18640007218138004f011927..."} 
[2026-04-22 16:33:04] local.INFO: Processing buffer {"connection_id":50781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4da1788012d18640007218138004f011927..."} 
[2026-04-22 16:33:04] local.INFO: Packet analysis {"connection_id":50781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:33:04] local.INFO: Extracted packet for processing {"connection_id":50781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756573184,"raw_latitude":119636280,"longitude_deg":75.6573184,"latitude_deg":11.963628,"altitude":79,"angle":281,"satellites":39,"speed":33,"hex_longitude":"2d186400","hex_latitude":"07218138","is_valid_coordinates":true} 
[2026-04-22 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-22 16:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875053824001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113960630712532992,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763300022230802432,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776855685000,"timestamp_ms":1776855685000,"timestamp_seconds":1776855685,"priority":1,"record_length":96,"hex_timestamp":"0000019db4da1788"} 
[2026-04-22 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-22 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 16:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 16:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:33:04] 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-22 16:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875053824001,"66":13906,"105":206,"83":41984,"24":33,"16":113960630712532992,"45":1763300022230802432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875053824001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:33:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113960630712532992,"km_value":113960630712532.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763300022230802432,"description":"Unknown IO ID 45"} 
[2026-04-22 16:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875053824001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1763300022230802432}} 
[2026-04-22 16:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:33:04] local.INFO: GPS data processed {"connection_id":50781,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:33:04] local.INFO: Acknowledgment sent {"connection_id":50781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:33:31] local.INFO: TCP Data received {"connection_id":51346,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:33:31] local.INFO: Processing buffer {"connection_id":51346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:33:31] local.INFO: IMEI packet received {"connection_id":51346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":51346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:33:32] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:33:32] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:33:32] local.INFO: IMEI packet received {"connection_id":50782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:33:36] local.INFO: TCP Data received {"connection_id":51346,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:33:36] local.INFO: Processing buffer {"connection_id":51346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:33:36] local.INFO: IMEI packet received {"connection_id":51346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":51346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:33:37] local.INFO: TCP Data received {"connection_id":51346,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:33:37] local.INFO: Processing buffer {"connection_id":51346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:33:37] local.INFO: Packet analysis {"connection_id":51346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:33:37] local.INFO: Extracted packet for processing {"connection_id":51346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:37] 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-22 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:33: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-22 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:33:37] 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-22 16:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:33: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-22 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:33:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":51346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:33:37] local.INFO: GPS data processed {"connection_id":51346,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:33:37] local.INFO: Acknowledgment sent {"connection_id":51346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:33:37] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:33:37] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:33:37] local.INFO: IMEI packet received {"connection_id":50782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":50782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:33:38] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4da1f58012d185dc007218338004f012528..."} 
[2026-04-22 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4da1f58012d185dc007218338004f012528..."} 
[2026-04-22 16:33:38] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4da1f58012d185dc007218338004f012528..."} 
[2026-04-22 16:33:38] local.INFO: Packet analysis {"connection_id":50782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:33:38] local.INFO: Extracted packet for processing {"connection_id":50782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756571584,"raw_latitude":119636792,"longitude_deg":75.6571584,"latitude_deg":11.9636792,"altitude":79,"angle":293,"satellites":40,"speed":32,"hex_longitude":"2d185dc0","hex_latitude":"07218338","is_valid_coordinates":true} 
[2026-04-22 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875055360001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113960708021944320,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757529785208223744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776855687000,"timestamp_ms":1776855687000,"timestamp_seconds":1776855687,"priority":1,"record_length":96,"hex_timestamp":"0000019db4da1f58"} 
[2026-04-22 16:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-22 16:33:38] 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-22 16:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:33:38] 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-22 16:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875055360001,"66":13928,"105":206,"83":41984,"24":32,"16":113960708021944320,"45":1757529785208223744},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875055360001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:33:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113960708021944320,"km_value":113960708021944.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757529785208223744,"description":"Unknown IO ID 45"} 
[2026-04-22 16:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875055360001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1757529785208223744}} 
[2026-04-22 16:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":50782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:33:38] local.INFO: GPS data processed {"connection_id":50782,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:33:38] local.INFO: Acknowledgment sent {"connection_id":50782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:33:39] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4da4a50012d183cc0072192b00052012624..."} 
[2026-04-22 16:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4da4a50012d183cc0072192b00052012624..."} 
[2026-04-22 16:33:39] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4da4a50012d183cc0072192b00052012624..."} 
[2026-04-22 16:33:39] local.INFO: Packet analysis {"connection_id":50782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:33:39] local.INFO: Extracted packet for processing {"connection_id":50782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756563136,"raw_latitude":119640752,"longitude_deg":75.6563136,"latitude_deg":11.9640752,"altitude":82,"angle":294,"satellites":36,"speed":30,"hex_longitude":"2d183cc0","hex_latitude":"072192b0","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875055872001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113961154698543104,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755770566603913216,"note":"Value kept but may cause issues"} 
[2026-04-22 16:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776855698000,"timestamp_ms":1776855698000,"timestamp_seconds":1776855698,"priority":1,"record_length":96,"hex_timestamp":"0000019db4da4a50"} 
[2026-04-22 16: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-22 16:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 16:33:39] 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-22 16: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-22 16: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-22 16:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:33:39] 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-22 16:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875055872001,"66":13961,"105":206,"83":41984,"24":30,"16":113961154698543104,"45":1755770566603913216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875055872001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:33:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:33:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113961154698543104,"km_value":113961154698543.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755770566603913216,"description":"Unknown IO ID 45"} 
[2026-04-22 16:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875055872001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1755770566603913216}} 
[2026-04-22 16:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":50782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:33:40] local.INFO: GPS data processed {"connection_id":50782,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:33:40] local.INFO: Acknowledgment sent {"connection_id":50782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:34:08] local.INFO: TCP Data received {"connection_id":51346,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:34:08] local.INFO: Processing buffer {"connection_id":51346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:34:08] local.INFO: Packet analysis {"connection_id":51346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:34:08] local.INFO: Extracted packet for processing {"connection_id":51346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34: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-22 16:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 16:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:34: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-22 16:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:34: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-22 16:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:34:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":51346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:34:08] local.INFO: GPS data processed {"connection_id":51346,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:34:08] local.INFO: Acknowledgment sent {"connection_id":51346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:34:11] local.INFO: TCP Data received {"connection_id":50782,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4da61c0012d182d4007219a100051013126..."} 
[2026-04-22 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4da61c0012d182d4007219a100051013126..."} 
[2026-04-22 16:34:11] local.INFO: Processing buffer {"connection_id":50782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4da61c0012d182d4007219a100051013126..."} 
[2026-04-22 16:34:11] local.INFO: Packet analysis {"connection_id":50782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:34:11] local.INFO: Extracted packet for processing {"connection_id":50782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642640,"longitude_deg":75.6559168,"latitude_deg":11.964264,"altitude":81,"angle":305,"satellites":38,"speed":27,"hex_longitude":"2d182d40","hex_latitude":"07219a10","is_valid_coordinates":true} 
[2026-04-22 16:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875058688001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113961365151940608,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746481892373475328,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776855704000,"timestamp_ms":1776855704000,"timestamp_seconds":1776855704,"priority":1,"record_length":96,"hex_timestamp":"0000019db4da61c0"} 
[2026-04-22 16:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 16:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:34:11] 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-22 16:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875058688001,"66":13928,"105":206,"83":41984,"24":27,"16":113961365151940608,"45":1746481892373475328},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875058688001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:34:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113961365151940608,"km_value":113961365151940.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746481892373475328,"description":"Unknown IO ID 45"} 
[2026-04-22 16:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875058688001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1746481892373475328}} 
[2026-04-22 16:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":50782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:34:11] local.INFO: GPS data processed {"connection_id":50782,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:34:11] local.INFO: Acknowledgment sent {"connection_id":50782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:34:26] local.INFO: TCP Data received {"connection_id":50784,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:34:26] local.INFO: Processing buffer {"connection_id":50784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:34:26] local.INFO: IMEI packet received {"connection_id":50784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":50784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:34:27] local.INFO: TCP Data received {"connection_id":50658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:34:27] local.INFO: Processing buffer {"connection_id":50658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:34:27] local.INFO: IMEI packet received {"connection_id":50658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:34:31] local.INFO: TCP Data received {"connection_id":50784,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:34:31] local.INFO: Processing buffer {"connection_id":50784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:34:31] local.INFO: IMEI packet received {"connection_id":50784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":50784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:34:31] local.INFO: TCP Data received {"connection_id":50784,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:34:31] local.INFO: Processing buffer {"connection_id":50784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:34:31] local.INFO: Packet analysis {"connection_id":50784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:34:31] local.INFO: Extracted packet for processing {"connection_id":50784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34: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-22 16:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 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-22 16:34: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-22 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":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 16:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:34:31] 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-22 16:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:34:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:34:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":50784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:34:31] local.INFO: GPS data processed {"connection_id":50784,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:34:31] local.INFO: Acknowledgment sent {"connection_id":50784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:34:32] local.INFO: TCP Data received {"connection_id":50658,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:34:32] local.INFO: Processing buffer {"connection_id":50658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:34:32] local.INFO: IMEI packet received {"connection_id":50658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:34:33] local.INFO: TCP Data received {"connection_id":50658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dab3c8012d181e400721a560004c012c26..."} 
[2026-04-22 16:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dab3c8012d181e400721a560004c012c26..."} 
[2026-04-22 16:34:33] local.INFO: Processing buffer {"connection_id":50658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dab3c8012d181e400721a560004c012c26..."} 
[2026-04-22 16:34:33] local.INFO: Packet analysis {"connection_id":50658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:34:33] local.INFO: Extracted packet for processing {"connection_id":50658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4da"} 
[2026-04-22 16:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645536,"longitude_deg":75.6555328,"latitude_deg":11.9645536,"altitude":76,"angle":300,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721a560","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875060224001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113961592785207296,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030234943488,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776855725000,"timestamp_ms":1776855725000,"timestamp_seconds":1776855725,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dab3c8"} 
[2026-04-22 16: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-22 16:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 16:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:34:33] 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-22 16:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875060224001,"66":14428,"105":206,"83":41984,"24":0,"16":113961592785207296,"45":1742119030234943488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875060224001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:34:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113961592785207296,"km_value":113961592785207.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030234943488,"description":"Unknown IO ID 45"} 
[2026-04-22 16:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875060224001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742119030234943488}} 
[2026-04-22 16:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:34:33] local.INFO: GPS data processed {"connection_id":50658,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:34:33] local.INFO: Acknowledgment sent {"connection_id":50658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:34:38] local.INFO: TCP Data received {"connection_id":50658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db05d0012d181d400721a740004d012a2a..."} 
[2026-04-22 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db05d0012d181d400721a740004d012a2a..."} 
[2026-04-22 16:34:38] local.INFO: Processing buffer {"connection_id":50658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db05d0012d181d400721a740004d012a2a..."} 
[2026-04-22 16:34:38] local.INFO: Packet analysis {"connection_id":50658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:34:38] local.INFO: Extracted packet for processing {"connection_id":50658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646016,"longitude_deg":75.6555072,"latitude_deg":11.9646016,"altitude":77,"angle":298,"satellites":42,"speed":5,"hex_longitude":"2d181d40","hex_latitude":"0721a740","is_valid_coordinates":true} 
[2026-04-22 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875065600001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113961622849978368,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585025024,"note":"Value kept but may cause issues"} 
[2026-04-22 16:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776855746000,"timestamp_ms":1776855746000,"timestamp_seconds":1776855746,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db05d0"} 
[2026-04-22 16:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 16:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:34:38] 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-22 16:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875065600001,"66":12972,"105":206,"83":41984,"24":5,"16":113961622849978368,"45":1737896905585025024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875065600001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:34:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113961622849978368,"km_value":113961622849978.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585025024,"description":"Unknown IO ID 45"} 
[2026-04-22 16:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875065600001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737896905585025024}} 
[2026-04-22 16:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":50658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:34:38] local.INFO: GPS data processed {"connection_id":50658,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:34:38] local.INFO: Acknowledgment sent {"connection_id":50658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:35:03] local.INFO: TCP Data received {"connection_id":50784,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:35:03] local.INFO: Processing buffer {"connection_id":50784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:35:03] local.INFO: Packet analysis {"connection_id":50784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:35:03] local.INFO: Extracted packet for processing {"connection_id":50784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35: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-22 16:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 16: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-22 16: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-22 16:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:35: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-22 16:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:35:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":50784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:35:03] local.INFO: GPS data processed {"connection_id":50784,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:35:03] local.INFO: Acknowledgment sent {"connection_id":50784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:35:09] local.INFO: TCP Data received {"connection_id":50658,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db09b8012d181cc00721a800004d01542a..."} 
[2026-04-22 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db09b8012d181cc00721a800004d01542a..."} 
[2026-04-22 16:35:09] local.INFO: Processing buffer {"connection_id":50658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db09b8012d181cc00721a800004d01542a..."} 
[2026-04-22 16:35:09] local.INFO: Packet analysis {"connection_id":50658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:35:09] local.INFO: Extracted packet for processing {"connection_id":50658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646208,"longitude_deg":75.6554944,"latitude_deg":11.9646208,"altitude":77,"angle":340,"satellites":42,"speed":11,"hex_longitude":"2d181cc0","hex_latitude":"0721a800","is_valid_coordinates":true} 
[2026-04-22 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875070976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113961631439912960,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608437248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776855747000,"timestamp_ms":1776855747000,"timestamp_seconds":1776855747,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db09b8"} 
[2026-04-22 16:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 16:35:09] 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-22 16:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:35:09] 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-22 16:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875070976001,"66":12972,"105":206,"83":41984,"24":11,"16":113961631439912960,"45":1737615430608437248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875070976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:35:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113961631439912960,"km_value":113961631439912.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608437248,"description":"Unknown IO ID 45"} 
[2026-04-22 16:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875070976001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737615430608437248}} 
[2026-04-22 16:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":50658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:35:09] local.INFO: GPS data processed {"connection_id":50658,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:35:09] local.INFO: Acknowledgment sent {"connection_id":50658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:35:24] local.INFO: TCP Data received {"connection_id":50660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:35:24] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:35:24] local.INFO: IMEI packet received {"connection_id":50660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":50660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:35:26] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:35:26] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:35:26] local.INFO: IMEI packet received {"connection_id":50408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":50408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:35:27] local.INFO: TCP Data received {"connection_id":50660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:35:27] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:35:27] local.INFO: IMEI packet received {"connection_id":50660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:35:31] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:35:31] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:35:31] local.INFO: IMEI packet received {"connection_id":50408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":50408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:35:32] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:35:32] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:35:32] local.INFO: Packet analysis {"connection_id":50408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:35:32] local.INFO: Extracted packet for processing {"connection_id":50408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35: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-22 16:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 16: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-22 16:35: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-22 16: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:35: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-22 16: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-22 16: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-22 16:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:35:32] 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-22 16:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:35:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":50408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:35:32] local.INFO: GPS data processed {"connection_id":50408,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:35:32] local.INFO: Acknowledgment sent {"connection_id":50408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:35:32] local.INFO: TCP Data received {"connection_id":50660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:35:32] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:35:32] local.INFO: IMEI packet received {"connection_id":50660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:35:33] local.INFO: TCP Data received {"connection_id":50660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db0da0012d181cc00721a958004d00002b..."} 
[2026-04-22 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db0da0012d181cc00721a958004d00002b..."} 
[2026-04-22 16:35:33] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db0da0012d181cc00721a958004d00002b..."} 
[2026-04-22 16:35:33] local.INFO: Packet analysis {"connection_id":50660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:35:33] local.INFO: Extracted packet for processing {"connection_id":50660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646552,"longitude_deg":75.6554944,"latitude_deg":11.9646552,"altitude":77,"angle":0,"satellites":43,"speed":14,"hex_longitude":"2d181cc0","hex_latitude":"0721a958","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875071232001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113961648619782144,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120131072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776855748000,"timestamp_ms":1776855748000,"timestamp_seconds":1776855748,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db0da0"} 
[2026-04-22 16: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-22 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 16:35:33] 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-22 16: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-22 16: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-22 16:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:35:33] 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-22 16:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875071232001,"66":12863,"105":206,"83":41984,"24":14,"16":113961648619782144,"45":1737474693120131072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875071232001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:35:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113961648619782144,"km_value":113961648619782.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120131072,"description":"Unknown IO ID 45"} 
[2026-04-22 16:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875071232001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737474693120131072}} 
[2026-04-22 16:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:35:33] local.INFO: GPS data processed {"connection_id":50660,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:35:33] local.INFO: Acknowledgment sent {"connection_id":50660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:36:04] local.INFO: TCP Data received {"connection_id":50408,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:36:04] local.INFO: Processing buffer {"connection_id":50408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:36:04] local.INFO: Packet analysis {"connection_id":50408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:36:04] local.INFO: Extracted packet for processing {"connection_id":50408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16: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-22 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 16: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-22 16: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-22 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:36:04] 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-22 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:36:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":50408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:36:04] local.INFO: GPS data processed {"connection_id":50408,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:36:04] local.INFO: Acknowledgment sent {"connection_id":50408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:36:04] local.INFO: TCP Data received {"connection_id":50660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1188012d181d000721aab8004d00122b..."} 
[2026-04-22 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1188012d181d000721aab8004d00122b..."} 
[2026-04-22 16:36:04] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1188012d181d000721aab8004d00122b..."} 
[2026-04-22 16:36:04] local.INFO: Packet analysis {"connection_id":50660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:36:04] local.INFO: Extracted packet for processing {"connection_id":50660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646904,"longitude_deg":75.6555008,"latitude_deg":11.9646904,"altitude":77,"angle":18,"satellites":43,"speed":14,"hex_longitude":"2d181d00","hex_latitude":"0721aab8","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875071488001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113961665799651328,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120219136,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776855749000,"timestamp_ms":1776855749000,"timestamp_seconds":1776855749,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1188"} 
[2026-04-22 16: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-22 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 16:36:04] 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-22 16: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-22 16: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-22 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:36:04] 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-22 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875071488001,"66":12863,"105":206,"83":41984,"24":14,"16":113961665799651328,"45":1737474693120219136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875071488001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:36:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113961665799651328,"km_value":113961665799651.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120219136,"description":"Unknown IO ID 45"} 
[2026-04-22 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875071488001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737474693120219136}} 
[2026-04-22 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":50660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:36:04] local.INFO: GPS data processed {"connection_id":50660,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:36:04] local.INFO: Acknowledgment sent {"connection_id":50660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:36:25] local.INFO: TCP Data received {"connection_id":50785,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:36:25] local.INFO: Processing buffer {"connection_id":50785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:36:25] local.INFO: IMEI packet received {"connection_id":50785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":50785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:36:27] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:36:27] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:36:27] local.INFO: IMEI packet received {"connection_id":50786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":50786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:36:28] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:36:28] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:36:28] local.INFO: IMEI packet received {"connection_id":50786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":50786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:36:31] local.INFO: TCP Data received {"connection_id":50785,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:36:31] local.INFO: Processing buffer {"connection_id":50785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:36:31] local.INFO: IMEI packet received {"connection_id":50785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":50785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:36:31] local.INFO: TCP Data received {"connection_id":50785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:36:31] local.INFO: Processing buffer {"connection_id":50785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:36:31] local.INFO: Packet analysis {"connection_id":50785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:36:31] local.INFO: Extracted packet for processing {"connection_id":50785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36: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-22 16:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 16: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-22 16:36: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-22 16: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:36:31] 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-22 16:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:36:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":50785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:36:31] local.INFO: GPS data processed {"connection_id":50785,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:36:31] local.INFO: Acknowledgment sent {"connection_id":50785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:36:32] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:36:32] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:36:32] local.INFO: IMEI packet received {"connection_id":50786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:36:33] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dd7ab8012d1823000721b600004b011d2a..."} 
[2026-04-22 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dd7ab8012d1823000721b600004b011d2a..."} 
[2026-04-22 16:36:33] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dd7ab8012d1823000721b600004b011d2a..."} 
[2026-04-22 16:36:33] local.INFO: Packet analysis {"connection_id":50786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4dd"} 
[2026-04-22 16:36:33] local.INFO: Extracted packet for processing {"connection_id":50786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4dd"} 
[2026-04-22 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649792,"longitude_deg":75.6556544,"latitude_deg":11.9649792,"altitude":75,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-04-22 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875106816001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113961983627231232,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725490176,"note":"Value kept but may cause issues"} 
[2026-04-22 16:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776855907000,"timestamp_ms":1776855907000,"timestamp_seconds":1776855907,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dd7ab8"} 
[2026-04-22 16:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 16:36: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-22 16:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:36:33] 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-22 16:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875106816001,"66":12841,"105":206,"83":41984,"24":0,"16":113961983627231232,"45":1739233911725490176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875106816001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:36:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113961983627231232,"km_value":113961983627231.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725490176,"description":"Unknown IO ID 45"} 
[2026-04-22 16:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875106816001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725490176}} 
[2026-04-22 16:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":50786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:36:33] local.INFO: GPS data processed {"connection_id":50786,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:36:33] local.INFO: Acknowledgment sent {"connection_id":50786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:37:03] local.INFO: TCP Data received {"connection_id":50785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:37:03] local.INFO: Processing buffer {"connection_id":50785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:37:03] local.INFO: Packet analysis {"connection_id":50785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:37:03] local.INFO: Extracted packet for processing {"connection_id":50785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37: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-22 16:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 16: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-22 16:37: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-22 16: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:37: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-22 16:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:37:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":50785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:37:03] local.INFO: GPS data processed {"connection_id":50785,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:37:03] local.INFO: Acknowledgment sent {"connection_id":50785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:37:04] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ddccc0012d1823000721b600004b011d2b..."} 
[2026-04-22 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ddccc0012d1823000721b600004b011d2b..."} 
[2026-04-22 16:37:04] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ddccc0012d1823000721b600004b011d2b..."} 
[2026-04-22 16:37:04] local.INFO: Packet analysis {"connection_id":50786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4dd"} 
[2026-04-22 16:37:04] local.INFO: Extracted packet for processing {"connection_id":50786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4dd"} 
[2026-04-22 16:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649792,"longitude_deg":75.6556544,"latitude_deg":11.9649792,"altitude":75,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875112192001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113961983627231232,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725490176,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776855928000,"timestamp_ms":1776855928000,"timestamp_seconds":1776855928,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ddccc0"} 
[2026-04-22 16: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-22 16:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 16:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:37:04] 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-22 16:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875112192001,"66":12776,"105":206,"83":41984,"24":0,"16":113961983627231232,"45":1739233911725490176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875112192001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113961983627231232,"km_value":113961983627231.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725490176,"description":"Unknown IO ID 45"} 
[2026-04-22 16:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875112192001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725490176}} 
[2026-04-22 16:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":50786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:37:04] local.INFO: GPS data processed {"connection_id":50786,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:37:04] local.INFO: Acknowledgment sent {"connection_id":50786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:37:25] local.INFO: TCP Data received {"connection_id":51348,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:37:25] local.INFO: Processing buffer {"connection_id":51348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:37:25] local.INFO: IMEI packet received {"connection_id":51348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":51348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:37:27] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:37:27] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:37:27] local.INFO: IMEI packet received {"connection_id":50661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":50661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:37:30] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:37:30] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:37:30] local.INFO: IMEI packet received {"connection_id":50661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":50661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:37:31] local.INFO: TCP Data received {"connection_id":51348,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:37:31] local.INFO: Processing buffer {"connection_id":51348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:37:31] local.INFO: IMEI packet received {"connection_id":51348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":51348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:37:32] local.INFO: TCP Data received {"connection_id":51348,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:37:32] local.INFO: Processing buffer {"connection_id":51348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:37:32] local.INFO: Packet analysis {"connection_id":51348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:37:32] local.INFO: Extracted packet for processing {"connection_id":51348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37: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-22 16:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 16:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:37: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-22 16:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:37: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-22 16:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:37:32] 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-22 16:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:37:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":51348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:37:32] local.INFO: GPS data processed {"connection_id":51348,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:37:32] local.INFO: Acknowledgment sent {"connection_id":51348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:37:33] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:37:33] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:37:33] local.INFO: IMEI packet received {"connection_id":50661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":50661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:37:33] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4de1ec8012d1821c00721b470004d011d2b..."} 
[2026-04-22 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4de1ec8012d1821c00721b470004d011d2b..."} 
[2026-04-22 16:37:33] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4de1ec8012d1821c00721b470004d011d2b..."} 
[2026-04-22 16:37:33] local.INFO: Packet analysis {"connection_id":50661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4de"} 
[2026-04-22 16:37:33] local.INFO: Extracted packet for processing {"connection_id":50661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4de"} 
[2026-04-22 16:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649392,"longitude_deg":75.6556224,"latitude_deg":11.9649392,"altitude":77,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875117568001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962013692002304,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725490176,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776855949000,"timestamp_ms":1776855949000,"timestamp_seconds":1776855949,"priority":1,"record_length":96,"hex_timestamp":"0000019db4de1ec8"} 
[2026-04-22 16: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-22 16:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 16:37:33] 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-22 16: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-22 16: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-22 16:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:37:33] 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-22 16:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875117568001,"66":12743,"105":206,"83":41984,"24":0,"16":113962013692002304,"45":1739233911725490176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875117568001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:37:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962013692002304,"km_value":113962013692002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725490176,"description":"Unknown IO ID 45"} 
[2026-04-22 16:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875117568001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725490176}} 
[2026-04-22 16:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":50661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:37:34] local.INFO: GPS data processed {"connection_id":50661,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:37:34] local.INFO: Acknowledgment sent {"connection_id":50661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:37:38] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4de70d0012d1821c00721b470004d011d2b..."} 
[2026-04-22 16:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4de70d0012d1821c00721b470004d011d2b..."} 
[2026-04-22 16:37:38] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4de70d0012d1821c00721b470004d011d2b..."} 
[2026-04-22 16:37:38] local.INFO: Packet analysis {"connection_id":50661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4de"} 
[2026-04-22 16:37:38] local.INFO: Extracted packet for processing {"connection_id":50661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4de"} 
[2026-04-22 16:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649392,"longitude_deg":75.6556224,"latitude_deg":11.9649392,"altitude":77,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b470","is_valid_coordinates":true} 
[2026-04-22 16:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875122944001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962013692002304,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004499456,"note":"Value kept but may cause issues"} 
[2026-04-22 16:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776855970000,"timestamp_ms":1776855970000,"timestamp_seconds":1776855970,"priority":1,"record_length":96,"hex_timestamp":"0000019db4de70d0"} 
[2026-04-22 16:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-22 16:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:37:38] 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-22 16:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875122944001,"66":12776,"105":206,"83":41984,"24":0,"16":113962013692002304,"45":1738882068004499456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875122944001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:37:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962013692002304,"km_value":113962013692002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004499456,"description":"Unknown IO ID 45"} 
[2026-04-22 16:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875122944001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004499456}} 
[2026-04-22 16:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":50661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:37:38] local.INFO: GPS data processed {"connection_id":50661,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:37:38] local.INFO: Acknowledgment sent {"connection_id":50661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:38:02] local.INFO: TCP Data received {"connection_id":51348,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:38:02] local.INFO: Processing buffer {"connection_id":51348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4db1958012d7f868005afdd080000014927..."} 
[2026-04-22 16:38:02] local.INFO: Packet analysis {"connection_id":51348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:38:02] local.INFO: Extracted packet for processing {"connection_id":51348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4db"} 
[2026-04-22 16:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454874995200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:02] 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-22 16:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776855751000,"timestamp_ms":1776855751000,"timestamp_seconds":1776855751,"priority":1,"record_length":96,"hex_timestamp":"0000019db4db1958"} 
[2026-04-22 16: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-22 16: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-22 16: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:38:02] 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-22 16: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-22 16: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-22 16:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:38: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-22 16:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454874995200001,"66":25397,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454874995200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:38:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454874995200001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":51348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:38:03] local.INFO: GPS data processed {"connection_id":51348,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:38:03] local.INFO: Acknowledgment sent {"connection_id":51348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:38:09] local.INFO: TCP Data received {"connection_id":50661,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dec2d8012d1820000721b368004c011d2b..."} 
[2026-04-22 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dec2d8012d1820000721b368004c011d2b..."} 
[2026-04-22 16:38:09] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dec2d8012d1820000721b368004c011d2b..."} 
[2026-04-22 16:38:09] local.INFO: Packet analysis {"connection_id":50661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4de"} 
[2026-04-22 16:38:09] local.INFO: Extracted packet for processing {"connection_id":50661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4de"} 
[2026-04-22 16:38:09] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875128320001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004499456,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776855991000,"timestamp_ms":1776855991000,"timestamp_seconds":1776855991,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dec2d8"} 
[2026-04-22 16: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-22 16:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 16:38:09] 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-22 16: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-22 16: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-22 16:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:38:09] 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-22 16:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875128320001,"66":12722,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738882068004499456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875128320001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:38:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:38:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004499456,"description":"Unknown IO ID 45"} 
[2026-04-22 16:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875128320001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004499456}} 
[2026-04-22 16:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":50661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:38:09] local.INFO: GPS data processed {"connection_id":50661,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:38:09] local.INFO: Acknowledgment sent {"connection_id":50661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:38:14] local.INFO: TCP Data received {"connection_id":50787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:38:14] local.INFO: Processing buffer {"connection_id":50787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:38:14] local.INFO: IMEI packet received {"connection_id":50787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":50787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:38:27] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:38:27] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:38:27] local.INFO: IMEI packet received {"connection_id":50410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":50410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:38:31] local.INFO: TCP Data received {"connection_id":50411,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:38:31] local.INFO: Processing buffer {"connection_id":50411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:38:31] local.INFO: IMEI packet received {"connection_id":50411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":50411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:38:32] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:38:32] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:38:32] local.INFO: IMEI packet received {"connection_id":50410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:38:33] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4df14e0012d1820000721b368004c011d2b..."} 
[2026-04-22 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4df14e0012d1820000721b368004c011d2b..."} 
[2026-04-22 16:38:33] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4df14e0012d1820000721b368004c011d2b..."} 
[2026-04-22 16:38:33] local.INFO: Packet analysis {"connection_id":50410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:38:33] local.INFO: Extracted packet for processing {"connection_id":50410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875133696001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776856012000,"timestamp_ms":1776856012000,"timestamp_seconds":1776856012,"priority":1,"record_length":96,"hex_timestamp":"0000019db4df14e0"} 
[2026-04-22 16: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-22 16:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16: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":178,"data_length":795,"current_offset":136} 
[2026-04-22 16:38:33] 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-22 16: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-22 16: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-22 16:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:38:33] 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-22 16:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875133696001,"66":12765,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875133696001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:38:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875133696001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":50410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:38:33] local.INFO: GPS data processed {"connection_id":50410,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:38:33] local.INFO: Acknowledgment sent {"connection_id":50410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:38:36] local.INFO: TCP Data received {"connection_id":50411,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:38:36] local.INFO: Processing buffer {"connection_id":50411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:38:36] local.INFO: IMEI packet received {"connection_id":50411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":50411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:38:36] local.INFO: TCP Data received {"connection_id":50411,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:38:36] local.INFO: Processing buffer {"connection_id":50411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:38:36] local.INFO: Packet analysis {"connection_id":50411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:38:36] local.INFO: Extracted packet for processing {"connection_id":50411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:38: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-22 16:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 16:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:38: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-22 16:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:38:36] 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-22 16:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:38:36] 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-22 16:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:38:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":50411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:38:36] local.INFO: GPS data processed {"connection_id":50411,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:38:36] local.INFO: Acknowledgment sent {"connection_id":50411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:38:56] local.INFO: TCP Data received {"connection_id":50788,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:38:56] local.INFO: Processing buffer {"connection_id":50788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:38:56] local.INFO: IMEI packet received {"connection_id":50788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":50788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:39:04] local.INFO: TCP Data received {"connection_id":50410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4df66e8012d1820000721b368004c011d29..."} 
[2026-04-22 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4df66e8012d1820000721b368004c011d29..."} 
[2026-04-22 16:39:04] local.INFO: Processing buffer {"connection_id":50410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4df66e8012d1820000721b368004c011d29..."} 
[2026-04-22 16:39:04] local.INFO: Packet analysis {"connection_id":50410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:39:04] local.INFO: Extracted packet for processing {"connection_id":50410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875139072001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776856033000,"timestamp_ms":1776856033000,"timestamp_seconds":1776856033,"priority":1,"record_length":96,"hex_timestamp":"0000019db4df66e8"} 
[2026-04-22 16: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-22 16:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-22 16:39:04] 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-22 16: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-22 16: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-22 16:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:39:04] 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-22 16:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875139072001,"66":12722,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875139072001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:39:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875139072001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":50410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:39:04] local.INFO: GPS data processed {"connection_id":50410,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:39:04] local.INFO: Acknowledgment sent {"connection_id":50410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:39:08] local.INFO: TCP Data received {"connection_id":50411,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:39:08] local.INFO: Processing buffer {"connection_id":50411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:39:08] local.INFO: Packet analysis {"connection_id":50411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:39:08] local.INFO: Extracted packet for processing {"connection_id":50411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39: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-22 16:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 16: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-22 16: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-22 16: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:39: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-22 16: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-22 16: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-22 16:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:39:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":50411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:39:08] local.INFO: GPS data processed {"connection_id":50411,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:39:08] local.INFO: Acknowledgment sent {"connection_id":50411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:39:26] local.INFO: TCP Data received {"connection_id":50412,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:39:26] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:39:26] local.INFO: IMEI packet received {"connection_id":50412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":50412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:39:27] local.INFO: TCP Data received {"connection_id":50789,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:39:27] local.INFO: Processing buffer {"connection_id":50789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:39:27] local.INFO: IMEI packet received {"connection_id":50789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:39:31] local.INFO: TCP Data received {"connection_id":50412,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:39:31] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:39:31] local.INFO: IMEI packet received {"connection_id":50412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":50412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:39:32] local.INFO: TCP Data received {"connection_id":50412,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:39:32] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:39:32] local.INFO: Packet analysis {"connection_id":50412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:39:32] local.INFO: Extracted packet for processing {"connection_id":50412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39: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-22 16:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 16: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-22 16:39: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-22 16: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:39: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-22 16: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-22 16: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-22 16:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:39:32] 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-22 16:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:39:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":50412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:39:32] local.INFO: GPS data processed {"connection_id":50412,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:39:32] local.INFO: Acknowledgment sent {"connection_id":50412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:39:32] local.INFO: TCP Data received {"connection_id":50789,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:39:32] local.INFO: Processing buffer {"connection_id":50789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:39:32] local.INFO: IMEI packet received {"connection_id":50789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":50789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:39:33] local.INFO: TCP Data received {"connection_id":50789,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb8f0012d1820000721b368004c011d29..."} 
[2026-04-22 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb8f0012d1820000721b368004c011d29..."} 
[2026-04-22 16:39:33] local.INFO: Processing buffer {"connection_id":50789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb8f0012d1820000721b368004c011d29..."} 
[2026-04-22 16:39:33] local.INFO: Packet analysis {"connection_id":50789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:39:33] local.INFO: Extracted packet for processing {"connection_id":50789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875144448001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776856054000,"timestamp_ms":1776856054000,"timestamp_seconds":1776856054,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb8f0"} 
[2026-04-22 16:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 16:39:33] 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-22 16:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:39:33] 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-22 16:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875144448001,"66":12689,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875144448001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:39:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875144448001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":50789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:39:33] local.INFO: GPS data processed {"connection_id":50789,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:39:33] local.INFO: Acknowledgment sent {"connection_id":50789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:40:03] local.INFO: TCP Data received {"connection_id":50412,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:40:03] local.INFO: Processing buffer {"connection_id":50412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:40:03] local.INFO: Packet analysis {"connection_id":50412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:40:03] local.INFO: Extracted packet for processing {"connection_id":50412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40: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-22 16:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 16: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-22 16:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:40: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-22 16:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:40:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":50412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:40:03] local.INFO: GPS data processed {"connection_id":50412,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:40:03] local.INFO: Acknowledgment sent {"connection_id":50412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:40:04] local.INFO: TCP Data received {"connection_id":50789,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e00af8012d1820000721b368004c011d28..."} 
[2026-04-22 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e00af8012d1820000721b368004c011d28..."} 
[2026-04-22 16:40:04] local.INFO: Processing buffer {"connection_id":50789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e00af8012d1820000721b368004c011d28..."} 
[2026-04-22 16:40:04] local.INFO: Packet analysis {"connection_id":50789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e0"} 
[2026-04-22 16:40:04] local.INFO: Extracted packet for processing {"connection_id":50789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e0"} 
[2026-04-22 16:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875149824001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776856075000,"timestamp_ms":1776856075000,"timestamp_seconds":1776856075,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e00af8"} 
[2026-04-22 16: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-22 16:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 16:40:04] 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-22 16: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-22 16: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-22 16:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:40:04] 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-22 16:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875149824001,"66":12711,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875149824001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:40:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875149824001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":50789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:40:04] local.INFO: GPS data processed {"connection_id":50789,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:40:04] local.INFO: Acknowledgment sent {"connection_id":50789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:40:26] local.INFO: TCP Data received {"connection_id":50414,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:40:26] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:40:26] local.INFO: IMEI packet received {"connection_id":50414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":50414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:40:31] local.INFO: TCP Data received {"connection_id":50414,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:40:31] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:40:31] local.INFO: IMEI packet received {"connection_id":50414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":50414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:40:31] local.INFO: TCP Data received {"connection_id":50414,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:40:31] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:40:31] local.INFO: Packet analysis {"connection_id":50414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:40:31] local.INFO: Extracted packet for processing {"connection_id":50414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40: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-22 16:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 16: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-22 16:40: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-22 16: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:40:31] 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-22 16:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:40:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":50414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:40:31] local.INFO: GPS data processed {"connection_id":50414,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:40:31] local.INFO: Acknowledgment sent {"connection_id":50414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:40:32] local.INFO: TCP Data received {"connection_id":50415,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:40:32] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:40:32] local.INFO: IMEI packet received {"connection_id":50415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:40:37] local.INFO: TCP Data received {"connection_id":50415,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:40:37] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:40:37] local.INFO: IMEI packet received {"connection_id":50415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":50415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:40:38] local.INFO: TCP Data received {"connection_id":50415,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e05d00012d1820000721b368004c011d2a..."} 
[2026-04-22 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e05d00012d1820000721b368004c011d2a..."} 
[2026-04-22 16:40:38] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e05d00012d1820000721b368004c011d2a..."} 
[2026-04-22 16:40:38] local.INFO: Packet analysis {"connection_id":50415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e0"} 
[2026-04-22 16:40:38] local.INFO: Extracted packet for processing {"connection_id":50415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e0"} 
[2026-04-22 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875155200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776856096000,"timestamp_ms":1776856096000,"timestamp_seconds":1776856096,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e05d00"} 
[2026-04-22 16: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-22 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-22 16:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:40:38] 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-22 16:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875155200001,"66":12689,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875155200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:40:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875155200001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":50415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:40:38] local.INFO: GPS data processed {"connection_id":50415,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:40:38] local.INFO: Acknowledgment sent {"connection_id":50415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:40:39] local.INFO: TCP Data received {"connection_id":50415,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e0af08012d1820000721b368004c011d2a..."} 
[2026-04-22 16:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e0af08012d1820000721b368004c011d2a..."} 
[2026-04-22 16:40:39] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e0af08012d1820000721b368004c011d2a..."} 
[2026-04-22 16:40:39] local.INFO: Packet analysis {"connection_id":50415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e0"} 
[2026-04-22 16:40:39] local.INFO: Extracted packet for processing {"connection_id":50415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e0"} 
[2026-04-22 16:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875160576001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776856117000,"timestamp_ms":1776856117000,"timestamp_seconds":1776856117,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e0af08"} 
[2026-04-22 16:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 16:40:39] 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-22 16:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:40:39] 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-22 16:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875160576001,"66":12689,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875160576001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:40:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875160576001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":50415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:40:39] local.INFO: GPS data processed {"connection_id":50415,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:40:39] local.INFO: Acknowledgment sent {"connection_id":50415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:41:02] local.INFO: TCP Data received {"connection_id":50414,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:41:02] local.INFO: Processing buffer {"connection_id":50414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:41:02] local.INFO: Packet analysis {"connection_id":50414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:41:02] local.INFO: Extracted packet for processing {"connection_id":50414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:02] 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-22 16:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 16:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:41: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-22 16:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:41:02] 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-22 16:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:41: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-22 16:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:41:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":50414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:41:03] local.INFO: GPS data processed {"connection_id":50414,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:41:03] local.INFO: Acknowledgment sent {"connection_id":50414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:41:10] local.INFO: TCP Data received {"connection_id":50415,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e10110012d1820000721b368004c011d28..."} 
[2026-04-22 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e10110012d1820000721b368004c011d28..."} 
[2026-04-22 16:41:10] local.INFO: Processing buffer {"connection_id":50415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e10110012d1820000721b368004c011d28..."} 
[2026-04-22 16:41:10] local.INFO: Packet analysis {"connection_id":50415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e1"} 
[2026-04-22 16:41:10] local.INFO: Extracted packet for processing {"connection_id":50415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e1"} 
[2026-04-22 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875165952001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776856138000,"timestamp_ms":1776856138000,"timestamp_seconds":1776856138,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e10110"} 
[2026-04-22 16:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-22 16:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875165952001,"66":12667,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875165952001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:41:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875165952001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":50415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:41:10] local.INFO: GPS data processed {"connection_id":50415,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:41:10] local.INFO: Acknowledgment sent {"connection_id":50415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:41:24] local.INFO: TCP Data received {"connection_id":51349,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:41:24] local.INFO: Processing buffer {"connection_id":51349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:41:24] local.INFO: IMEI packet received {"connection_id":51349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":51349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:41:25] local.INFO: TCP Data received {"connection_id":50662,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:41:25] local.INFO: Processing buffer {"connection_id":50662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:41:25] local.INFO: IMEI packet received {"connection_id":50662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":50662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:41:27] local.INFO: TCP Data received {"connection_id":51349,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:41:27] local.INFO: Processing buffer {"connection_id":51349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:41:27] local.INFO: IMEI packet received {"connection_id":51349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":51349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:41:31] local.INFO: TCP Data received {"connection_id":50662,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:41:31] local.INFO: Processing buffer {"connection_id":50662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:41:31] local.INFO: IMEI packet received {"connection_id":50662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":50662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:41:31] local.INFO: TCP Data received {"connection_id":50662,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:41:31] local.INFO: Processing buffer {"connection_id":50662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:41:31] local.INFO: Packet analysis {"connection_id":50662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:41:31] local.INFO: Extracted packet for processing {"connection_id":50662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41: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-22 16:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 16:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:41: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-22 16:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:41:31] 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-22 16:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:41:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":50662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:41:31] local.INFO: GPS data processed {"connection_id":50662,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:41:31] local.INFO: Acknowledgment sent {"connection_id":50662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:41:32] local.INFO: TCP Data received {"connection_id":51349,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:41:32] local.INFO: Processing buffer {"connection_id":51349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:41:32] local.INFO: IMEI packet received {"connection_id":51349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":51349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:41:33] local.INFO: TCP Data received {"connection_id":51349,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e15318012d1820000721b368004c011d28..."} 
[2026-04-22 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e15318012d1820000721b368004c011d28..."} 
[2026-04-22 16:41:33] local.INFO: Processing buffer {"connection_id":51349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e15318012d1820000721b368004c011d28..."} 
[2026-04-22 16:41:33] local.INFO: Packet analysis {"connection_id":51349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e1"} 
[2026-04-22 16:41:33] local.INFO: Extracted packet for processing {"connection_id":51349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e1"} 
[2026-04-22 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875171328001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776856159000,"timestamp_ms":1776856159000,"timestamp_seconds":1776856159,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e15318"} 
[2026-04-22 16: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-22 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-22 16:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:41:33] 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-22 16:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875171328001,"66":12667,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875171328001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:41:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875171328001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":51349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:41:33] local.INFO: GPS data processed {"connection_id":51349,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:41:33] local.INFO: Acknowledgment sent {"connection_id":51349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:42:03] local.INFO: TCP Data received {"connection_id":50662,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:42:03] local.INFO: Processing buffer {"connection_id":50662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:42:03] local.INFO: Packet analysis {"connection_id":50662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:42:03] local.INFO: Extracted packet for processing {"connection_id":50662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42: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-22 16:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 16: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-22 16:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:42: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-22 16:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:42:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:42:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":50662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:42:03] local.INFO: GPS data processed {"connection_id":50662,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:42:03] local.INFO: Acknowledgment sent {"connection_id":50662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:42:04] local.INFO: TCP Data received {"connection_id":51349,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e1a520012d1820000721b368004c011d2a..."} 
[2026-04-22 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e1a520012d1820000721b368004c011d2a..."} 
[2026-04-22 16:42:04] local.INFO: Processing buffer {"connection_id":51349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e1a520012d1820000721b368004c011d2a..."} 
[2026-04-22 16:42:04] local.INFO: Packet analysis {"connection_id":51349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e1"} 
[2026-04-22 16:42:04] local.INFO: Extracted packet for processing {"connection_id":51349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e1"} 
[2026-04-22 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875176704001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776856180000,"timestamp_ms":1776856180000,"timestamp_seconds":1776856180,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e1a520"} 
[2026-04-22 16:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-22 16:42:04] 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-22 16:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:42:04] 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-22 16:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875176704001,"66":12613,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875176704001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:42:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875176704001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":51349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:42:04] local.INFO: GPS data processed {"connection_id":51349,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:42:04] local.INFO: Acknowledgment sent {"connection_id":51349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:42:25] local.INFO: TCP Data received {"connection_id":51350,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:42:25] local.INFO: Processing buffer {"connection_id":51350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:42:25] local.INFO: IMEI packet received {"connection_id":51350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":51350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:42:27] local.INFO: TCP Data received {"connection_id":50663,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:42:27] local.INFO: Processing buffer {"connection_id":50663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:42:27] local.INFO: IMEI packet received {"connection_id":50663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:42:28] local.INFO: TCP Data received {"connection_id":50663,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:42:28] local.INFO: Processing buffer {"connection_id":50663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:42:28] local.INFO: IMEI packet received {"connection_id":50663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":50663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:42:31] local.INFO: TCP Data received {"connection_id":51350,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:42:31] local.INFO: Processing buffer {"connection_id":51350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:42:31] local.INFO: IMEI packet received {"connection_id":51350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":51350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:42:31] local.INFO: TCP Data received {"connection_id":51350,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:42:31] local.INFO: Processing buffer {"connection_id":51350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:42:31] local.INFO: Packet analysis {"connection_id":51350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:42:31] local.INFO: Extracted packet for processing {"connection_id":51350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 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-22 16:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42: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-22 16:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 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-22 16:42: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-22 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":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 16:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:42:31] 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-22 16:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:42:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":51350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:42:31] local.INFO: GPS data processed {"connection_id":51350,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:42:31] local.INFO: Acknowledgment sent {"connection_id":51350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:42:32] local.INFO: TCP Data received {"connection_id":50663,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:42:32] local.INFO: Processing buffer {"connection_id":50663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:42:32] local.INFO: IMEI packet received {"connection_id":50663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:42:33] local.INFO: TCP Data received {"connection_id":50663,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e1f728012d1820000721b368004c011d29..."} 
[2026-04-22 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e1f728012d1820000721b368004c011d29..."} 
[2026-04-22 16:42:33] local.INFO: Processing buffer {"connection_id":50663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e1f728012d1820000721b368004c011d29..."} 
[2026-04-22 16:42:33] local.INFO: Packet analysis {"connection_id":50663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e1"} 
[2026-04-22 16:42:33] local.INFO: Extracted packet for processing {"connection_id":50663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e1"} 
[2026-04-22 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649128,"longitude_deg":75.6555776,"latitude_deg":11.9649128,"altitude":76,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875182080001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962043756773376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776856201000,"timestamp_ms":1776856201000,"timestamp_seconds":1776856201,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e1f728"} 
[2026-04-22 16: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-22 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-22 16:42:33] 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-22 16: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-22 16: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-22 16:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:42:33] 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-22 16:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875182080001,"66":12548,"105":206,"83":41984,"24":0,"16":113962043756773376,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875182080001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:42:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962043756773376,"km_value":113962043756773.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875182080001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:42:33] local.INFO: GPS data processed {"connection_id":50663,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:42:33] local.INFO: Acknowledgment sent {"connection_id":50663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:43:02] local.INFO: TCP Data received {"connection_id":51350,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:43:02] local.INFO: Processing buffer {"connection_id":51350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4dfb120012d7f868005afdd080000014927..."} 
[2026-04-22 16:43:02] local.INFO: Packet analysis {"connection_id":51350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:43:02] local.INFO: Extracted packet for processing {"connection_id":51350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4df"} 
[2026-04-22 16:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":0,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875072256001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:02] 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-22 16:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776856052000,"timestamp_ms":1776856052000,"timestamp_seconds":1776856052,"priority":1,"record_length":96,"hex_timestamp":"0000019db4dfb120"} 
[2026-04-22 16: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-22 16:43: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-22 16:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 16:43:02] 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-22 16: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-22 16: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-22 16:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:43: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-22 16:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875072256001,"66":25419,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875072256001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:43:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875072256001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":51350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:43:02] local.INFO: GPS data processed {"connection_id":51350,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:43:02] local.INFO: Acknowledgment sent {"connection_id":51350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:43:03] local.INFO: TCP Data received {"connection_id":50663,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e202e0012d1820400721b278005100dd2a..."} 
[2026-04-22 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e202e0012d1820400721b278005100dd2a..."} 
[2026-04-22 16:43:03] local.INFO: Processing buffer {"connection_id":50663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e202e0012d1820400721b278005100dd2a..."} 
[2026-04-22 16:43:03] local.INFO: Packet analysis {"connection_id":50663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e2"} 
[2026-04-22 16:43:03] local.INFO: Extracted packet for processing {"connection_id":50663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e2"} 
[2026-04-22 16:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648888,"longitude_deg":75.655584,"latitude_deg":11.9648888,"altitude":81,"angle":221,"satellites":42,"speed":2,"hex_longitude":"2d182040","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875187456001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962056641675264,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795188224,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776856204000,"timestamp_ms":1776856204000,"timestamp_seconds":1776856204,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e202e0"} 
[2026-04-22 16: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-22 16:43: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-22 16: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3034581752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184207712461,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3769567233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3009937484,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3755999232,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,223,165,45,179,76,42,10,66,40,1,240,123,227,180,33,4,113,205,93,32,104,239,49,2,148,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 16:43:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476690683790098432,"timestamp_seconds":5476690683790098.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16: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-22 16:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:43:03] 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-22 16:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875187456001,"66":12613,"105":206,"83":41984,"24":2,"16":113962056641675264,"45":1738389486795188224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875187456001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:43:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962056641675264,"km_value":113962056641675.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795188224,"description":"Unknown IO ID 45"} 
[2026-04-22 16:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875187456001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738389486795188224}} 
[2026-04-22 16:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:43:04] local.INFO: GPS data processed {"connection_id":50663,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:43:04] local.INFO: Acknowledgment sent {"connection_id":50663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:43:27] local.INFO: TCP Data received {"connection_id":50418,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:43:27] local.INFO: Processing buffer {"connection_id":50418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:43:27] local.INFO: IMEI packet received {"connection_id":50418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":50418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:43:30] local.INFO: TCP Data received {"connection_id":50418,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:43:30] local.INFO: Processing buffer {"connection_id":50418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:43:30] local.INFO: IMEI packet received {"connection_id":50418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":50418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:43:31] local.INFO: TCP Data received {"connection_id":51351,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:43:31] local.INFO: Processing buffer {"connection_id":51351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:43:31] local.INFO: IMEI packet received {"connection_id":51351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":51351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:43:31] local.INFO: TCP Data received {"connection_id":50418,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e254e8012d181f800721b168005000d42b..."} 
[2026-04-22 16:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e254e8012d181f800721b168005000d42b..."} 
[2026-04-22 16:43:31] local.INFO: Processing buffer {"connection_id":50418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e254e8012d181f800721b168005000d42b..."} 
[2026-04-22 16:43:31] local.INFO: Packet analysis {"connection_id":50418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e2"} 
[2026-04-22 16:43:31] local.INFO: Extracted packet for processing {"connection_id":50418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e2"} 
[2026-04-22 16:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 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-22 16:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875188224001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539304448,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856225000,"timestamp_ms":1776856225000,"timestamp_seconds":1776856225,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e254e8"} 
[2026-04-22 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-22 16:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-22 16:43:31] 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-22 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-22 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-22 16:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:43:31] 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-22 16:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875188224001,"66":12602,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738459855539304448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875188224001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:43:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539304448,"description":"Unknown IO ID 45"} 
[2026-04-22 16:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875188224001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539304448}} 
[2026-04-22 16:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":50418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:43:31] local.INFO: GPS data processed {"connection_id":50418,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:43:31] local.INFO: Acknowledgment sent {"connection_id":50418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:43:36] local.INFO: TCP Data received {"connection_id":51351,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:43:36] local.INFO: Processing buffer {"connection_id":51351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:43:36] local.INFO: IMEI packet received {"connection_id":51351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":51351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:43:36] local.INFO: TCP Data received {"connection_id":51351,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:43:36] local.INFO: Processing buffer {"connection_id":51351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:43:36] local.INFO: Packet analysis {"connection_id":51351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:43:36] local.INFO: Extracted packet for processing {"connection_id":51351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":20,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875149312001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:43: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-22 16:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776856353000,"timestamp_ms":1776856353000,"timestamp_seconds":1776856353,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e448e8"} 
[2026-04-22 16:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:43: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-22 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 16:43: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-22 16:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:43: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-22 16:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875149312001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875149312001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:43:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875149312001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":51351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:43:36] local.INFO: GPS data processed {"connection_id":51351,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:43:36] local.INFO: Acknowledgment sent {"connection_id":51351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:44:02] local.INFO: TCP Data received {"connection_id":50418,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e2a6f0012d181f800721b168005000d42a..."} 
[2026-04-22 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e2a6f0012d181f800721b168005000d42a..."} 
[2026-04-22 16:44:02] local.INFO: Processing buffer {"connection_id":50418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e2a6f0012d181f800721b168005000d42a..."} 
[2026-04-22 16:44:02] local.INFO: Packet analysis {"connection_id":50418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e2"} 
[2026-04-22 16:44:02] local.INFO: Extracted packet for processing {"connection_id":50418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e2"} 
[2026-04-22 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875193600001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776856246000,"timestamp_ms":1776856246000,"timestamp_seconds":1776856246,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e2a6f0"} 
[2026-04-22 16:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 16:44:02] 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-22 16:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:44:02] 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-22 16:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875193600001,"66":12526,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875193600001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:44:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875193600001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":50418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:44:02] local.INFO: GPS data processed {"connection_id":50418,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:44:02] local.INFO: Acknowledgment sent {"connection_id":50418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:44:08] local.INFO: TCP Data received {"connection_id":51351,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:44:08] local.INFO: Processing buffer {"connection_id":51351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:44:08] local.INFO: Packet analysis {"connection_id":51351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:44:08] local.INFO: Extracted packet for processing {"connection_id":51351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":20,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875149312001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44: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-22 16:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776856353000,"timestamp_ms":1776856353000,"timestamp_seconds":1776856353,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e448e8"} 
[2026-04-22 16: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-22 16:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 16:44: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-22 16: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-22 16: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-22 16:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:44: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-22 16:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875149312001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875149312001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:44:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875149312001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":51351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:44:08] local.INFO: GPS data processed {"connection_id":51351,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:44:08] local.INFO: Acknowledgment sent {"connection_id":51351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:44:26] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:44:26] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:44:26] local.INFO: IMEI packet received {"connection_id":50791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":50791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:44:27] local.INFO: TCP Data received {"connection_id":50665,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:44:27] local.INFO: Processing buffer {"connection_id":50665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:44:27] local.INFO: IMEI packet received {"connection_id":50665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":50665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:44:31] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:44:31] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:44:31] local.INFO: IMEI packet received {"connection_id":50791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":50791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:44:31] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:44:31] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:44:31] local.INFO: Packet analysis {"connection_id":50791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:44:31] local.INFO: Extracted packet for processing {"connection_id":50791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":20,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875149312001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44: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-22 16:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856353000,"timestamp_ms":1776856353000,"timestamp_seconds":1776856353,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e448e8"} 
[2026-04-22 16: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-22 16:44: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-22 16: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 16:44: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-22 16: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-22 16: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-22 16:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:44:31] 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-22 16:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875149312001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875149312001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:44:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875149312001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":50791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:44:31] local.INFO: GPS data processed {"connection_id":50791,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:44:31] local.INFO: Acknowledgment sent {"connection_id":50791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:44:32] local.INFO: TCP Data received {"connection_id":50665,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:44:32] local.INFO: Processing buffer {"connection_id":50665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:44:32] local.INFO: IMEI packet received {"connection_id":50665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:44:33] local.INFO: TCP Data received {"connection_id":50665,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e2f8f8012d181f800721b168005000d429..."} 
[2026-04-22 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e2f8f8012d181f800721b168005000d429..."} 
[2026-04-22 16:44:33] local.INFO: Processing buffer {"connection_id":50665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e2f8f8012d181f800721b168005000d429..."} 
[2026-04-22 16:44:33] local.INFO: Packet analysis {"connection_id":50665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e2"} 
[2026-04-22 16:44:33] local.INFO: Extracted packet for processing {"connection_id":50665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e2"} 
[2026-04-22 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875198976001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776856267000,"timestamp_ms":1776856267000,"timestamp_seconds":1776856267,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e2f8f8"} 
[2026-04-22 16:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 16:44:33] 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-22 16:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:44:33] 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-22 16:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875198976001,"66":12548,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875198976001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:44:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875198976001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":50665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:44:33] local.INFO: GPS data processed {"connection_id":50665,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:44:33] local.INFO: Acknowledgment sent {"connection_id":50665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:44:50] local.INFO: TCP Data received {"connection_id":50792,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:44:50] local.INFO: Processing buffer {"connection_id":50792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:44:50] local.INFO: IMEI packet received {"connection_id":50792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":50792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:45:03] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:45:03] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e448e8012d7f868005afdd080014014926..."} 
[2026-04-22 16:45:03] local.INFO: Packet analysis {"connection_id":50791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:45:03] local.INFO: Extracted packet for processing {"connection_id":50791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":20,"angle":329,"satellites":38,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875149312001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45: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-22 16:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776856353000,"timestamp_ms":1776856353000,"timestamp_seconds":1776856353,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e448e8"} 
[2026-04-22 16: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-22 16: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-22 16:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 16:45: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-22 16: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-22 16: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-22 16:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:45:03] 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-22 16:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875149312001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875149312001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:45:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875149312001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":50791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:45:03] local.INFO: GPS data processed {"connection_id":50791,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:45:03] local.INFO: Acknowledgment sent {"connection_id":50791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:45:04] local.INFO: TCP Data received {"connection_id":50665,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e34b00012d181f800721b168005000d426..."} 
[2026-04-22 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e34b00012d181f800721b168005000d426..."} 
[2026-04-22 16:45:04] local.INFO: Processing buffer {"connection_id":50665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e34b00012d181f800721b168005000d426..."} 
[2026-04-22 16:45:04] local.INFO: Packet analysis {"connection_id":50665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e3"} 
[2026-04-22 16:45:04] local.INFO: Extracted packet for processing {"connection_id":50665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e3"} 
[2026-04-22 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875204352001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776856288000,"timestamp_ms":1776856288000,"timestamp_seconds":1776856288,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e34b00"} 
[2026-04-22 16:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3034665752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3791071233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3009937484,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3755999232,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,223,166,45,128,177,80,42,10,66,84,43,2,64,1,240,69,227,180,33,4,113,205,165,32,104,239,49,148,7,76,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 16:45:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764840795592982528,"timestamp_seconds":5764840795592983.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:45:04] 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-22 16:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875204352001,"66":12558,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875204352001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:45:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875204352001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":50665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:45:04] local.INFO: GPS data processed {"connection_id":50665,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:45:04] local.INFO: Acknowledgment sent {"connection_id":50665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:45:26] local.INFO: TCP Data received {"connection_id":50419,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:45:26] local.INFO: Processing buffer {"connection_id":50419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:45:26] local.INFO: IMEI packet received {"connection_id":50419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":50419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:45:30] local.INFO: TCP Data received {"connection_id":50419,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:45:30] local.INFO: Processing buffer {"connection_id":50419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:45:30] local.INFO: IMEI packet received {"connection_id":50419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":50419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:45:31] local.INFO: TCP Data received {"connection_id":50419,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e62190012d7f868005afdd08001a014927..."} 
[2026-04-22 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e62190012d7f868005afdd08001a014927..."} 
[2026-04-22 16:45:31] local.INFO: Processing buffer {"connection_id":50419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e62190012d7f868005afdd08001a014927..."} 
[2026-04-22 16:45:31] local.INFO: Packet analysis {"connection_id":50419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e6"} 
[2026-04-22 16:45:31] local.INFO: Extracted packet for processing {"connection_id":50419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e6"} 
[2026-04-22 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763332224,"raw_latitude":95411464,"longitude_deg":76.3332224,"latitude_deg":9.5411464,"altitude":26,"angle":329,"satellites":39,"speed":0,"hex_longitude":"2d7f8680","hex_latitude":"05afdd08","is_valid_coordinates":true} 
[2026-04-22 16:45: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-22 16:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875226368001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478730215555072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45: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-22 16:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856474000,"timestamp_ms":1776856474000,"timestamp_seconds":1776856474,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e62190"} 
[2026-04-22 16:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:45: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-22 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:45: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-22 16:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875226368001,"66":25375,"250":206,"85":12544,"24":0,"16":278478730215555072,"45":9189172851609765888},"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-22 16:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875226368001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:45:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478730215555072,"km_value":278478730215555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875226368001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":50419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:45:31] local.INFO: GPS data processed {"connection_id":50419,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:45:31] local.INFO: Acknowledgment sent {"connection_id":50419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:45:32] local.INFO: TCP Data received {"connection_id":50666,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:45:32] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:45:32] local.INFO: IMEI packet received {"connection_id":50666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":50666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:45:36] local.INFO: TCP Data received {"connection_id":50666,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:45:36] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:45:36] local.INFO: IMEI packet received {"connection_id":50666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":50666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:45:37] local.INFO: TCP Data received {"connection_id":50666,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e39d08012d181f800721b168005000d429..."} 
[2026-04-22 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e39d08012d181f800721b168005000d429..."} 
[2026-04-22 16:45:37] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e39d08012d181f800721b168005000d429..."} 
[2026-04-22 16:45:37] local.INFO: Packet analysis {"connection_id":50666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e3"} 
[2026-04-22 16:45:37] local.INFO: Extracted packet for processing {"connection_id":50666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e3"} 
[2026-04-22 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875209728001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776856309000,"timestamp_ms":1776856309000,"timestamp_seconds":1776856309,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e39d08"} 
[2026-04-22 16:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3034686752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3791839233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994208849,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 16:45:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":671165720,"corrected_to":0} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3755999232,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 16:45:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,223,248,45,128,177,80,41,10,66,166,42,84,1,240,58,227,180,33,4,113,205,2,247,32,104,239,49,148,7,76,106,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":247,"original":671165720,"validated":0}]} 
[2026-04-22 16:45:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764840782708080640,"timestamp_seconds":5764840782708081.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:45:37] 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-22 16:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875209728001,"66":12504,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875209728001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:45:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875209728001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":50666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:45:37] local.INFO: GPS data processed {"connection_id":50666,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:45:37] local.INFO: Acknowledgment sent {"connection_id":50666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:46:02] local.INFO: TCP Data received {"connection_id":50419,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e63518012d7f87c005afda20001a007926..."} 
[2026-04-22 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e63518012d7f87c005afda20001a007926..."} 
[2026-04-22 16:46:02] local.INFO: Processing buffer {"connection_id":50419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e63518012d7f87c005afda20001a007926..."} 
[2026-04-22 16:46:02] local.INFO: Packet analysis {"connection_id":50419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e6"} 
[2026-04-22 16:46:02] local.INFO: Extracted packet for processing {"connection_id":50419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e6"} 
[2026-04-22 16:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763332544,"raw_latitude":95410720,"longitude_deg":76.3332544,"latitude_deg":9.541072,"altitude":26,"angle":121,"satellites":38,"speed":0,"hex_longitude":"2d7f87c0","hex_latitude":"05afda20","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875257344001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478738805489664,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189172851609765888,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:02] 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-22 16:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776856479000,"timestamp_ms":1776856479000,"timestamp_seconds":1776856479,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e63518"} 
[2026-04-22 16: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-22 16:46: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-22 16: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 16:46: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-22 16: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-22 16: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-22 16:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875257344001,"66":25125,"250":206,"85":12544,"24":0,"16":278478738805489664,"45":9189172851609765888},"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-22 16:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875257344001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:46:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478738805489664,"km_value":278478738805489.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189172851609765888,"description":"Unknown IO ID 45"} 
[2026-04-22 16:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875257344001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189172851609765888}} 
[2026-04-22 16:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":50419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:46:02] local.INFO: GPS data processed {"connection_id":50419,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:46:02] local.INFO: Acknowledgment sent {"connection_id":50419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:46:08] local.INFO: TCP Data received {"connection_id":50666,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e3ef10012d181f800721b168005000d42b..."} 
[2026-04-22 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e3ef10012d181f800721b168005000d42b..."} 
[2026-04-22 16:46:08] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e3ef10012d181f800721b168005000d42b..."} 
[2026-04-22 16:46:08] local.INFO: Packet analysis {"connection_id":50666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e3"} 
[2026-04-22 16:46:08] local.INFO: Extracted packet for processing {"connection_id":50666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e3"} 
[2026-04-22 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875215104001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776856330000,"timestamp_ms":1776856330000,"timestamp_seconds":1776856330,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e3ef10"} 
[2026-04-22 16: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-22 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 16:46:08] 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-22 16: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-22 16: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-22 16:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:46:08] 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-22 16:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875215104001,"66":12548,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875215104001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:46:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875215104001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":50666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:46:08] local.INFO: GPS data processed {"connection_id":50666,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:46:08] local.INFO: Acknowledgment sent {"connection_id":50666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:46:27] local.INFO: TCP Data received {"connection_id":51353,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:46:27] local.INFO: Processing buffer {"connection_id":51353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:46:27] local.INFO: IMEI packet received {"connection_id":51353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":51353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:46:31] local.INFO: TCP Data received {"connection_id":50793,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:46:31] local.INFO: Processing buffer {"connection_id":50793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:46:31] local.INFO: IMEI packet received {"connection_id":50793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":50793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:46:32] local.INFO: TCP Data received {"connection_id":51353,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:46:32] local.INFO: Processing buffer {"connection_id":51353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:46:32] local.INFO: IMEI packet received {"connection_id":51353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":51353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:46:33] local.INFO: TCP Data received {"connection_id":51353,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e44118012d181f800721b168005000d429..."} 
[2026-04-22 16:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e44118012d181f800721b168005000d429..."} 
[2026-04-22 16:46:33] local.INFO: Processing buffer {"connection_id":51353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e44118012d181f800721b168005000d429..."} 
[2026-04-22 16:46:33] local.INFO: Packet analysis {"connection_id":51353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:46:33] local.INFO: Extracted packet for processing {"connection_id":51353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875220480001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776856351000,"timestamp_ms":1776856351000,"timestamp_seconds":1776856351,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e44118"} 
[2026-04-22 16: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-22 16:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3034710752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3802591233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2976383056,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3756523520,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,223,45,128,177,80,41,10,66,75,38,248,1,240,4,227,180,33,113,205,84,31,104,43,239,49,2,148,7,81,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 16:46:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764840804182917120,"timestamp_seconds":5764840804182917.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16: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-22 16:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:46:33] 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-22 16:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875220480001,"66":12548,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875220480001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:46:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875220480001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":51353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:46:33] local.INFO: GPS data processed {"connection_id":51353,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:46:33] local.INFO: Acknowledgment sent {"connection_id":51353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:46:36] local.INFO: TCP Data received {"connection_id":50793,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:46:36] local.INFO: Processing buffer {"connection_id":50793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:46:36] local.INFO: IMEI packet received {"connection_id":50793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":50793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:46:36] local.INFO: TCP Data received {"connection_id":50793,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e68720012d7f880005afd9e8001b007924..."} 
[2026-04-22 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e68720012d7f880005afd9e8001b007924..."} 
[2026-04-22 16:46:36] local.INFO: Processing buffer {"connection_id":50793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e68720012d7f880005afd9e8001b007924..."} 
[2026-04-22 16:46:36] local.INFO: Packet analysis {"connection_id":50793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e6"} 
[2026-04-22 16:46:36] local.INFO: Extracted packet for processing {"connection_id":50793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e6"} 
[2026-04-22 16:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763332608,"raw_latitude":95410664,"longitude_deg":76.3332608,"latitude_deg":9.5410664,"altitude":27,"angle":121,"satellites":36,"speed":0,"hex_longitude":"2d7f8800","hex_latitude":"05afd9e8","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875258624001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478760280326144,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524695330463744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46: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-22 16:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776856500000,"timestamp_ms":1776856500000,"timestamp_seconds":1776856500,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e68720"} 
[2026-04-22 16: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-22 16: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-22 16: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 16:46:36] 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-22 16: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-22 16: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-22 16:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:46: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-22 16:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875258624001,"66":27974,"250":206,"85":12544,"24":0,"16":278478760280326144,"45":9189524695330463744},"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-22 16:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875258624001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:46:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478760280326144,"km_value":278478760280326.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524695330463744,"description":"Unknown IO ID 45"} 
[2026-04-22 16:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875258624001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9189524695330463744}} 
[2026-04-22 16:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":50793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:46:36] local.INFO: GPS data processed {"connection_id":50793,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:46:36] local.INFO: Acknowledgment sent {"connection_id":50793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:46:41] local.INFO: TCP Data received {"connection_id":50793,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e6d928012d7f898005afda80001c007d25..."} 
[2026-04-22 16:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e6d928012d7f898005afda80001c007d25..."} 
[2026-04-22 16:46:41] local.INFO: Processing buffer {"connection_id":50793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e6d928012d7f898005afda80001c007d25..."} 
[2026-04-22 16:46:41] local.INFO: Packet analysis {"connection_id":50793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e6"} 
[2026-04-22 16:46:41] local.INFO: Extracted packet for processing {"connection_id":50793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e6"} 
[2026-04-22 16:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763332992,"raw_latitude":95410816,"longitude_deg":76.3332992,"latitude_deg":9.5410816,"altitude":28,"angle":125,"satellites":37,"speed":1,"hex_longitude":"2d7f8980","hex_latitude":"05afda80","is_valid_coordinates":true} 
[2026-04-22 16:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875264000001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478794640064512,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189595064074627072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:46:41] 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-22 16:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776856521000,"timestamp_ms":1776856521000,"timestamp_seconds":1776856521,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e6d928"} 
[2026-04-22 16:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:46: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-22 16:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-22 16:46:41] 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-22 16:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:46:41] 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-22 16:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875264000001,"66":27995,"250":206,"85":12544,"24":1,"16":278478794640064512,"45":9189595064074627072},"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-22 16:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875264000001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:46:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478794640064512,"km_value":278478794640064.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189595064074627072,"description":"Unknown IO ID 45"} 
[2026-04-22 16:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875264000001,"power":27995,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9189595064074627072}} 
[2026-04-22 16:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":50793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:46:41] local.INFO: GPS data processed {"connection_id":50793,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:46:41] local.INFO: Acknowledgment sent {"connection_id":50793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:47:04] local.INFO: TCP Data received {"connection_id":51353,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e49320012d181f800721b168005000d428..."} 
[2026-04-22 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e49320012d181f800721b168005000d428..."} 
[2026-04-22 16:47:04] local.INFO: Processing buffer {"connection_id":51353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e49320012d181f800721b168005000d428..."} 
[2026-04-22 16:47:04] local.INFO: Packet analysis {"connection_id":51353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:47:04] local.INFO: Extracted packet for processing {"connection_id":51353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875225856001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776856372000,"timestamp_ms":1776856372000,"timestamp_seconds":1776856372,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e49320"} 
[2026-04-22 16: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-22 16:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3034731752,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3807967233,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2976383056,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":166,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3756523520,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,223,239,45,128,177,80,43,10,66,41,75,1,240,14,227,180,33,4,113,205,166,31,104,42,48,2,148,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 16:47:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764840795592982528,"timestamp_seconds":5764840795592983.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 16: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-22 16:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:47:04] 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-22 16:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875225856001,"66":12526,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875225856001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:47:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875225856001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":51353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:47:04] local.INFO: GPS data processed {"connection_id":51353,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:47:04] local.INFO: Acknowledgment sent {"connection_id":51353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:47:23] local.INFO: TCP Data received {"connection_id":50667,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:47:23] local.INFO: Processing buffer {"connection_id":50667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:47:23] local.INFO: IMEI packet received {"connection_id":50667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":50667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:47:26] local.INFO: TCP Data received {"connection_id":50667,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:47:26] local.INFO: Processing buffer {"connection_id":50667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:47:26] local.INFO: IMEI packet received {"connection_id":50667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":50667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:47:27] local.INFO: TCP Data received {"connection_id":51354,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:47:27] local.INFO: Processing buffer {"connection_id":51354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:47:27] local.INFO: IMEI packet received {"connection_id":51354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":51354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:47:31] local.INFO: TCP Data received {"connection_id":50667,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:47:31] local.INFO: Processing buffer {"connection_id":50667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:47:31] local.INFO: IMEI packet received {"connection_id":50667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":50667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:47:31] local.INFO: TCP Data received {"connection_id":50667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e72b30012d7f89c005afdb00001c007d26..."} 
[2026-04-22 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e72b30012d7f89c005afdb00001c007d26..."} 
[2026-04-22 16:47:31] local.INFO: Processing buffer {"connection_id":50667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e72b30012d7f89c005afdb00001c007d26..."} 
[2026-04-22 16:47:31] local.INFO: Packet analysis {"connection_id":50667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e7"} 
[2026-04-22 16:47:31] local.INFO: Extracted packet for processing {"connection_id":50667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e7"} 
[2026-04-22 16:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763333056,"raw_latitude":95410944,"longitude_deg":76.3333056,"latitude_deg":9.5410944,"altitude":28,"angle":125,"satellites":38,"speed":0,"hex_longitude":"2d7f89c0","hex_latitude":"05afdb00","is_valid_coordinates":true} 
[2026-04-22 16:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875269376001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278478807524966400,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190017276539731968,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47: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-22 16:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856542000,"timestamp_ms":1776856542000,"timestamp_seconds":1776856542,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e72b30"} 
[2026-04-22 16:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:47: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-22 16:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 16:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875269376001,"66":27658,"250":206,"85":12544,"24":0,"16":278478807524966400,"45":9190017276539731968},"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-22 16:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875269376001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:47:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278478807524966400,"km_value":278478807524966.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190017276539731968,"description":"Unknown IO ID 45"} 
[2026-04-22 16:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875269376001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9190017276539731968}} 
[2026-04-22 16:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":50667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:47:32] local.INFO: GPS data processed {"connection_id":50667,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:47:32] local.INFO: Acknowledgment sent {"connection_id":50667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:47:32] local.INFO: TCP Data received {"connection_id":51354,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:47:32] local.INFO: Processing buffer {"connection_id":51354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:47:32] local.INFO: IMEI packet received {"connection_id":51354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":51354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:47:33] local.INFO: TCP Data received {"connection_id":51354,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e4e528012d181f800721b168005000d429..."} 
[2026-04-22 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e4e528012d181f800721b168005000d429..."} 
[2026-04-22 16:47:33] local.INFO: Processing buffer {"connection_id":51354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e4e528012d181f800721b168005000d429..."} 
[2026-04-22 16:47:33] local.INFO: Packet analysis {"connection_id":51354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:47:33] local.INFO: Extracted packet for processing {"connection_id":51354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e4"} 
[2026-04-22 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875231232001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776856393000,"timestamp_ms":1776856393000,"timestamp_seconds":1776856393,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e4e528"} 
[2026-04-22 16:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 16:47:33] 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-22 16: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-22 16:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:47:33] 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-22 16:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875231232001,"66":12526,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875231232001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:47:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875231232001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":51354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:47:33] local.INFO: GPS data processed {"connection_id":51354,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:47:33] local.INFO: Acknowledgment sent {"connection_id":51354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:48:02] local.INFO: TCP Data received {"connection_id":50667,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e89a60012d7f94c005afd990001b005e27..."} 
[2026-04-22 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e89a60012d7f94c005afd990001b005e27..."} 
[2026-04-22 16:48:02] local.INFO: Processing buffer {"connection_id":50667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e89a60012d7f94c005afd990001b005e27..."} 
[2026-04-22 16:48:02] local.INFO: Packet analysis {"connection_id":50667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e8"} 
[2026-04-22 16:48:02] local.INFO: Extracted packet for processing {"connection_id":50667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e8"} 
[2026-04-22 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":95410576,"longitude_deg":76.3335872,"latitude_deg":9.5410576,"altitude":27,"angle":94,"satellites":39,"speed":2,"hex_longitude":"2d7f94c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875298560001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278479013683396608,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193113501283497984,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:02] 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-22 16:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776856636000,"timestamp_ms":1776856636000,"timestamp_seconds":1776856636,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e89a60"} 
[2026-04-22 16:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16: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-22 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 16:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875298560001,"66":27919,"250":206,"85":12544,"24":2,"16":278479013683396608,"45":9193113501283497984},"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-22 16:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875298560001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:48:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278479013683396608,"km_value":278479013683396.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193113501283497984,"description":"Unknown IO ID 45"} 
[2026-04-22 16:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875298560001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9193113501283497984}} 
[2026-04-22 16:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":50667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:48:02] local.INFO: GPS data processed {"connection_id":50667,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:48:02] local.INFO: Acknowledgment sent {"connection_id":50667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:48:04] local.INFO: TCP Data received {"connection_id":51354,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e53730012d181f800721b168005000d428..."} 
[2026-04-22 16:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e53730012d181f800721b168005000d428..."} 
[2026-04-22 16:48:04] local.INFO: Processing buffer {"connection_id":51354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e53730012d181f800721b168005000d428..."} 
[2026-04-22 16:48:04] local.INFO: Packet analysis {"connection_id":51354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e5"} 
[2026-04-22 16:48:04] local.INFO: Extracted packet for processing {"connection_id":51354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e5"} 
[2026-04-22 16:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875236608001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776856414000,"timestamp_ms":1776856414000,"timestamp_seconds":1776856414,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e53730"} 
[2026-04-22 16: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-22 16:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 16:48:04] 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-22 16: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-22 16: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-22 16:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:48:04] 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-22 16:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875236608001,"66":12515,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875236608001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:48:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875236608001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":51354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:48:04] local.INFO: GPS data processed {"connection_id":51354,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:48:04] local.INFO: Acknowledgment sent {"connection_id":51354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:48:23] local.INFO: TCP Data received {"connection_id":50420,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:48:23] local.INFO: Processing buffer {"connection_id":50420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:48:23] local.INFO: IMEI packet received {"connection_id":50420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":50420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:48:26] local.INFO: TCP Data received {"connection_id":50420,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:48:26] local.INFO: Processing buffer {"connection_id":50420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:48:26] local.INFO: IMEI packet received {"connection_id":50420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":50420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:48:27] local.INFO: TCP Data received {"connection_id":51355,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:48:27] local.INFO: Processing buffer {"connection_id":51355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:48:27] local.INFO: IMEI packet received {"connection_id":51355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":51355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:48:31] local.INFO: TCP Data received {"connection_id":50420,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:48:31] local.INFO: Processing buffer {"connection_id":50420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:48:31] local.INFO: IMEI packet received {"connection_id":50420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":50420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:48:31] local.INFO: TCP Data received {"connection_id":50420,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e89e48012d7f954005afd970001b003927..."} 
[2026-04-22 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e89e48012d7f954005afd970001b003927..."} 
[2026-04-22 16:48:31] local.INFO: Processing buffer {"connection_id":50420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e89e48012d7f954005afd970001b003927..."} 
[2026-04-22 16:48:31] local.INFO: Packet analysis {"connection_id":50420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e8"} 
[2026-04-22 16:48:31] local.INFO: Extracted packet for processing {"connection_id":50420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e8"} 
[2026-04-22 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763336000,"raw_latitude":95410544,"longitude_deg":76.3336,"latitude_deg":9.5410544,"altitude":27,"angle":57,"satellites":39,"speed":1,"hex_longitude":"2d7f9540","hex_latitude":"05afd970","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875298816001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278479022273331200,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870027665408,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48: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-22 16:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856637000,"timestamp_ms":1776856637000,"timestamp_seconds":1776856637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e89e48"} 
[2026-04-22 16: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-22 16: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-22 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 16:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875298816001,"66":27865,"250":206,"85":12544,"24":1,"16":278479022273331200,"45":9193183870027665408},"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-22 16:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875298816001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:48:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:48:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278479022273331200,"km_value":278479022273331.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870027665408,"description":"Unknown IO ID 45"} 
[2026-04-22 16:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875298816001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9193183870027665408}} 
[2026-04-22 16:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":50420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:48:31] local.INFO: GPS data processed {"connection_id":50420,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:48:31] local.INFO: Acknowledgment sent {"connection_id":50420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:48:32] local.INFO: TCP Data received {"connection_id":51355,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:48:32] local.INFO: Processing buffer {"connection_id":51355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:48:32] local.INFO: IMEI packet received {"connection_id":51355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":51355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:48:33] local.INFO: TCP Data received {"connection_id":51355,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e58938012d181f800721b168005000d427..."} 
[2026-04-22 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e58938012d181f800721b168005000d427..."} 
[2026-04-22 16:48:33] local.INFO: Processing buffer {"connection_id":51355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e58938012d181f800721b168005000d427..."} 
[2026-04-22 16:48:33] local.INFO: Packet analysis {"connection_id":51355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e5"} 
[2026-04-22 16:48:33] local.INFO: Extracted packet for processing {"connection_id":51355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e5"} 
[2026-04-22 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-04-22 16:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875241984001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962078116511744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-04-22 16:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776856435000,"timestamp_ms":1776856435000,"timestamp_seconds":1776856435,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e58938"} 
[2026-04-22 16:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-22 16:48:33] 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-22 16: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-22 16:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:48:33] 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-22 16:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875241984001,"66":12504,"105":206,"83":41984,"24":0,"16":113962078116511744,"45":1738248749306701824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875241984001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:48:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962078116511744,"km_value":113962078116511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-04-22 16:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875241984001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-04-22 16:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":51355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:48:33] local.INFO: GPS data processed {"connection_id":51355,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:48:33] local.INFO: Acknowledgment sent {"connection_id":51355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:49:02] local.INFO: TCP Data received {"connection_id":50420,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e99c30012d7fa34005afd5a8001600d227..."} 
[2026-04-22 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e99c30012d7fa34005afd5a8001600d227..."} 
[2026-04-22 16:49:02] local.INFO: Processing buffer {"connection_id":50420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e99c30012d7fa34005afd5a8001600d227..."} 
[2026-04-22 16:49:02] local.INFO: Packet analysis {"connection_id":50420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e9"} 
[2026-04-22 16:49:02] local.INFO: Extracted packet for processing {"connection_id":50420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e9"} 
[2026-04-22 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":95409576,"longitude_deg":76.3339584,"latitude_deg":9.5409576,"altitude":22,"angle":210,"satellites":39,"speed":9,"hex_longitude":"2d7fa340","hex_latitude":"05afd5a8","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875315456001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278479692288229376,"note":"Value kept but may cause issues"} 
[2026-04-22 16:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363422300160,"note":"Value kept but may cause issues"} 
[2026-04-22 16:49:02] 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-22 16:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776856702000,"timestamp_ms":1776856702000,"timestamp_seconds":1776856702,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e99c30"} 
[2026-04-22 16: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-22 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-22 16:49: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-22 16: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-22 16: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-22 16:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875315456001,"66":27767,"250":206,"85":12544,"24":9,"16":278479692288229376,"45":9197476363422300160},"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-22 16:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875315456001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:49:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278479692288229376,"km_value":278479692288229.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363422300160,"description":"Unknown IO ID 45"} 
[2026-04-22 16:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875315456001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9197476363422300160}} 
[2026-04-22 16:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":50420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:49:02] local.INFO: GPS data processed {"connection_id":50420,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:49:02] local.INFO: Acknowledgment sent {"connection_id":50420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:49:04] local.INFO: TCP Data received {"connection_id":51355,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e97cf0012d181dc00721abc0004d00a22a..."} 
[2026-04-22 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e97cf0012d181dc00721abc0004d00a22a..."} 
[2026-04-22 16:49:04] local.INFO: Processing buffer {"connection_id":51355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e97cf0012d181dc00721abc0004d00a22a..."} 
[2026-04-22 16:49:04] local.INFO: Packet analysis {"connection_id":51355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e9"} 
[2026-04-22 16:49:04] local.INFO: Extracted packet for processing {"connection_id":51355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e9"} 
[2026-04-22 16:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647168,"longitude_deg":75.65552,"latitude_deg":11.9647168,"altitude":77,"angle":162,"satellites":42,"speed":3,"hex_longitude":"2d181dc0","hex_latitude":"0721abc0","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875311872001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962151130955776,"note":"Value kept but may cause issues"} 
[2026-04-22 16:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097210368,"note":"Value kept but may cause issues"} 
[2026-04-22 16:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776856694000,"timestamp_ms":1776856694000,"timestamp_seconds":1776856694,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e97cf0"} 
[2026-04-22 16: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-22 16:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 16:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:49:04] 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-22 16:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875311872001,"66":13798,"105":206,"83":41984,"24":3,"16":113962151130955776,"45":1737756168097210368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875311872001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:49:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962151130955776,"km_value":113962151130955.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097210368,"description":"Unknown IO ID 45"} 
[2026-04-22 16:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875311872001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737756168097210368}} 
[2026-04-22 16:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":51355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:49:04] local.INFO: GPS data processed {"connection_id":51355,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:49:04] local.INFO: Acknowledgment sent {"connection_id":51355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:49:26] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:26] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:26] local.INFO: IMEI packet received {"connection_id":50796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":50796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:49:26] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:26] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:26] local.INFO: IMEI packet received {"connection_id":50796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":50796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:49:27] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:27] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:27] local.INFO: IMEI packet received {"connection_id":50796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:49:27] local.INFO: TCP Data received {"connection_id":50797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:49:27] local.INFO: Processing buffer {"connection_id":50797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:49:27] local.INFO: IMEI packet received {"connection_id":50797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:49:28] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:28] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:49:28] local.INFO: IMEI packet received {"connection_id":50796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":50796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:49:32] local.INFO: TCP Data received {"connection_id":50797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:49:32] local.INFO: Processing buffer {"connection_id":50797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:49:32] local.INFO: IMEI packet received {"connection_id":50797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:49:33] local.INFO: TCP Data received {"connection_id":50797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e984c0012d181e400721aa90004d00972a..."} 
[2026-04-22 16:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e984c0012d181e400721aa90004d00972a..."} 
[2026-04-22 16:49:33] local.INFO: Processing buffer {"connection_id":50797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e984c0012d181e400721aa90004d00972a..."} 
[2026-04-22 16:49:33] local.INFO: Packet analysis {"connection_id":50797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e9"} 
[2026-04-22 16:49:33] local.INFO: Extracted packet for processing {"connection_id":50797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e9"} 
[2026-04-22 16:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646864,"longitude_deg":75.6555328,"latitude_deg":11.9646864,"altitude":77,"angle":151,"satellites":42,"speed":8,"hex_longitude":"2d181e40","hex_latitude":"0721aa90","is_valid_coordinates":true} 
[2026-04-22 16:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875313664001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962168310824960,"note":"Value kept but may cause issues"} 
[2026-04-22 16:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097087488,"note":"Value kept but may cause issues"} 
[2026-04-22 16:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776856696000,"timestamp_ms":1776856696000,"timestamp_seconds":1776856696,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e984c0"} 
[2026-04-22 16:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 16:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:49:33] 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-22 16:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875313664001,"66":13863,"105":206,"83":41984,"24":8,"16":113962168310824960,"45":1737756168097087488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875313664001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:49:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962168310824960,"km_value":113962168310824.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097087488,"description":"Unknown IO ID 45"} 
[2026-04-22 16:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875313664001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737756168097087488}} 
[2026-04-22 16:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":50797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:49:33] local.INFO: GPS data processed {"connection_id":50797,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:49:33] local.INFO: Acknowledgment sent {"connection_id":50797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:50:08] local.INFO: TCP Data received {"connection_id":50797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4e99078012d181fc00721a7f8004d008629..."} 
[2026-04-22 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4e99078012d181fc00721a7f8004d008629..."} 
[2026-04-22 16:50:08] local.INFO: Processing buffer {"connection_id":50797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4e99078012d181fc00721a7f8004d008629..."} 
[2026-04-22 16:50:08] local.INFO: Packet analysis {"connection_id":50797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4e9"} 
[2026-04-22 16:50:08] local.INFO: Extracted packet for processing {"connection_id":50797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4e9"} 
[2026-04-22 16:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119646200,"longitude_deg":75.6555712,"latitude_deg":11.96462,"altitude":77,"angle":134,"satellites":41,"speed":8,"hex_longitude":"2d181fc0","hex_latitude":"0721a7f8","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875314176001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113962206965530624,"note":"Value kept but may cause issues"} 
[2026-04-22 16:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585364992,"note":"Value kept but may cause issues"} 
[2026-04-22 16:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776856699000,"timestamp_ms":1776856699000,"timestamp_seconds":1776856699,"priority":1,"record_length":96,"hex_timestamp":"0000019db4e99078"} 
[2026-04-22 16: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-22 16:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 16: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-22 16:50:08] 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-22 16: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-22 16: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-22 16:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:50:08] 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-22 16:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875314176001,"66":13928,"105":206,"83":41984,"24":8,"16":113962206965530624,"45":1737896905585364992},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875314176001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:50:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113962206965530624,"km_value":113962206965530.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585364992,"description":"Unknown IO ID 45"} 
[2026-04-22 16:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875314176001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737896905585364992}} 
[2026-04-22 16:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":50797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:50:08] local.INFO: GPS data processed {"connection_id":50797,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:50:08] local.INFO: Acknowledgment sent {"connection_id":50797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:50:16] local.INFO: TCP Data received {"connection_id":50669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:50:16] local.INFO: Processing buffer {"connection_id":50669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:50:16] local.INFO: IMEI packet received {"connection_id":50669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":50669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:50:26] local.INFO: TCP Data received {"connection_id":51357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:26] local.INFO: Processing buffer {"connection_id":51357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:26] local.INFO: IMEI packet received {"connection_id":51357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":51357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:50:27] local.INFO: TCP Data received {"connection_id":51357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:27] local.INFO: Processing buffer {"connection_id":51357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:27] local.INFO: IMEI packet received {"connection_id":51357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":51357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:50:27] local.INFO: TCP Data received {"connection_id":51357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:27] local.INFO: Processing buffer {"connection_id":51357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:27] local.INFO: IMEI packet received {"connection_id":51357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":51357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:50:28] local.INFO: TCP Data received {"connection_id":51357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:28] local.INFO: Processing buffer {"connection_id":51357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:50:28] local.INFO: IMEI packet received {"connection_id":51357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":51357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:50:50] local.INFO: TCP Data received {"connection_id":50421,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:50:50] local.INFO: Processing buffer {"connection_id":50421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:50:50] local.INFO: IMEI packet received {"connection_id":50421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":50421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:54:31] local.INFO: TCP Data received {"connection_id":50800,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:54:31] local.INFO: Processing buffer {"connection_id":50800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:54:31] local.INFO: IMEI packet received {"connection_id":50800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:54:31] local.INFO: TCP Data received {"connection_id":50800,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ea0990012d7faa4005afd8a0000d003026..."} 
[2026-04-22 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ea0990012d7faa4005afd8a0000d003026..."} 
[2026-04-22 16:54:31] local.INFO: Processing buffer {"connection_id":50800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ea0990012d7faa4005afd8a0000d003026..."} 
[2026-04-22 16:54:31] local.INFO: Packet analysis {"connection_id":50800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:54:31] local.INFO: Extracted packet for processing {"connection_id":50800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95410336,"longitude_deg":76.3341376,"latitude_deg":9.5410336,"altitude":13,"angle":48,"satellites":38,"speed":15,"hex_longitude":"2d7faa40","hex_latitude":"05afd8a0","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875322624001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369561767936,"note":"Value kept but may cause issues"} 
[2026-04-22 16:54: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-22 16:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856730000,"timestamp_ms":1776856730000,"timestamp_seconds":1776856730,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ea0990"} 
[2026-04-22 16: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-22 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-22 16:54: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-22 16: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-22 16: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-22 16:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875322624001,"66":27767,"250":206,"85":12544,"24":15,"16":278480031590645760,"45":9198813369561767936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875322624001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:54:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369561767936,"description":"Unknown IO ID 45"} 
[2026-04-22 16:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875322624001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9198813369561767936}} 
[2026-04-22 16:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":50800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:54:31] local.INFO: GPS data processed {"connection_id":50800,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:54:31] local.INFO: Acknowledgment sent {"connection_id":50800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:55:02] local.INFO: TCP Data received {"connection_id":50800,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ea0d78012d7fab0005afd9c8000c001726..."} 
[2026-04-22 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ea0d78012d7fab0005afd9c8000c001726..."} 
[2026-04-22 16:55:02] local.INFO: Processing buffer {"connection_id":50800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ea0d78012d7fab0005afd9c8000c001726..."} 
[2026-04-22 16:55:02] local.INFO: Packet analysis {"connection_id":50800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:55:02] local.INFO: Extracted packet for processing {"connection_id":50800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95410632,"longitude_deg":76.3341568,"latitude_deg":9.5410632,"altitude":12,"angle":23,"satellites":38,"speed":15,"hex_longitude":"2d7fab00","hex_latitude":"05afd9c8","is_valid_coordinates":true} 
[2026-04-22 16:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875322880001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026883072,"note":"Value kept but may cause issues"} 
[2026-04-22 16:55:02] 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-22 16:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776856731000,"timestamp_ms":1776856731000,"timestamp_seconds":1776856731,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ea0d78"} 
[2026-04-22 16:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-22 16:55: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-22 16:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875322880001,"66":27213,"250":206,"85":12544,"24":15,"16":278480031590645760,"45":9199235582026883072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875322880001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:55:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026883072,"description":"Unknown IO ID 45"} 
[2026-04-22 16:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875322880001,"power":27213,"unknown_250":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9199235582026883072}} 
[2026-04-22 16:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":50800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:55:02] local.INFO: GPS data processed {"connection_id":50800,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:55:02] local.INFO: Acknowledgment sent {"connection_id":50800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:55:26] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:55:26] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:55:26] local.INFO: IMEI packet received {"connection_id":50674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":50674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:55:31] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:55:31] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:55:31] local.INFO: IMEI packet received {"connection_id":50674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":50674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:55:31] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ea1160012d7fab8005afdb28000c016626..."} 
[2026-04-22 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ea1160012d7fab8005afdb28000c016626..."} 
[2026-04-22 16:55:31] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ea1160012d7fab8005afdb28000c016626..."} 
[2026-04-22 16:55:31] local.INFO: Packet analysis {"connection_id":50674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:55:31] local.INFO: Extracted packet for processing {"connection_id":50674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763341696,"raw_latitude":95410984,"longitude_deg":76.3341696,"latitude_deg":9.5410984,"altitude":12,"angle":358,"satellites":38,"speed":14,"hex_longitude":"2d7fab80","hex_latitude":"05afdb28","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875323136001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259491840,"note":"Value kept but may cause issues"} 
[2026-04-22 16:55: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-22 16:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856732000,"timestamp_ms":1776856732000,"timestamp_seconds":1776856732,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ea1160"} 
[2026-04-22 16: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-22 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16: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":77,"data_length":795,"current_offset":136} 
[2026-04-22 16:55: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-22 16: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-22 16: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-22 16:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875323136001,"66":27213,"250":206,"85":12544,"24":14,"16":278480031590645760,"45":9199446688259491840},"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-22 16:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875323136001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:55:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259491840,"description":"Unknown IO ID 45"} 
[2026-04-22 16:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875323136001,"power":27213,"unknown_250":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9199446688259491840}} 
[2026-04-22 16:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":50674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:55:31] local.INFO: GPS data processed {"connection_id":50674,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:55:31] local.INFO: Acknowledgment sent {"connection_id":50674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:55:32] local.INFO: TCP Data received {"connection_id":50675,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:55:32] local.INFO: Processing buffer {"connection_id":50675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:55:32] local.INFO: IMEI packet received {"connection_id":50675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:55:33] local.INFO: TCP Data received {"connection_id":50675,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4eef748012d18cd8007212e980042014627..."} 
[2026-04-22 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4eef748012d18cd8007212e980042014627..."} 
[2026-04-22 16:55:33] local.INFO: Processing buffer {"connection_id":50675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4eef748012d18cd8007212e980042014627..."} 
[2026-04-22 16:55:33] local.INFO: Packet analysis {"connection_id":50675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:55:33] local.INFO: Extracted packet for processing {"connection_id":50675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756600192,"raw_latitude":119615128,"longitude_deg":75.6600192,"latitude_deg":11.9615128,"altitude":66,"angle":326,"satellites":39,"speed":35,"hex_longitude":"2d18cd80","hex_latitude":"07212e98","is_valid_coordinates":true} 
[2026-04-22 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875405056001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113972815534751744,"note":"Value kept but may cause issues"} 
[2026-04-22 16:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788069820175507456,"note":"Value kept but may cause issues"} 
[2026-04-22 16:55: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-22 16:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857053000,"timestamp_ms":1776857053000,"timestamp_seconds":1776857053,"priority":1,"record_length":96,"hex_timestamp":"0000019db4eef748"} 
[2026-04-22 16:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 16:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:55:33] 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-22 16:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875405056001,"66":13722,"106":206,"83":41984,"24":35,"16":113972815534751744,"45":1788069820175507456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875405056001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:55:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113972815534751744,"km_value":113972815534751.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788069820175507456,"description":"Unknown IO ID 45"} 
[2026-04-22 16:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875405056001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788069820175507456}} 
[2026-04-22 16:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:55:33] local.INFO: GPS data processed {"connection_id":50675,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:55:33] local.INFO: Acknowledgment sent {"connection_id":50675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:56:02] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ea1548012d7fab0005afdc58000c014a27..."} 
[2026-04-22 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ea1548012d7fab0005afdc58000c014a27..."} 
[2026-04-22 16:56:02] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ea1548012d7fab0005afdc58000c014a27..."} 
[2026-04-22 16:56:02] local.INFO: Packet analysis {"connection_id":50674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:56:02] local.INFO: Extracted packet for processing {"connection_id":50674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":95411288,"longitude_deg":76.3341568,"latitude_deg":9.5411288,"altitude":12,"angle":330,"satellites":39,"speed":11,"hex_longitude":"2d7fab00","hex_latitude":"05afdc58","is_valid_coordinates":true} 
[2026-04-22 16:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875323392001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199587425747937280,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:02] 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-22 16:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776856733000,"timestamp_ms":1776856733000,"timestamp_seconds":1776856733,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ea1548"} 
[2026-04-22 16:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 16:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875323392001,"66":26702,"250":206,"85":12544,"24":11,"16":278480031590645760,"45":9199587425747937280},"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-22 16:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875323392001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:56:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199587425747937280,"description":"Unknown IO ID 45"} 
[2026-04-22 16:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875323392001,"power":26702,"unknown_250":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9199587425747937280}} 
[2026-04-22 16:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":50674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:56:02] local.INFO: GPS data processed {"connection_id":50674,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:56:02] local.INFO: Acknowledgment sent {"connection_id":50674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:56:04] local.INFO: TCP Data received {"connection_id":50675,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ef0ad0012d18c4c007213d200042015525..."} 
[2026-04-22 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ef0ad0012d18c4c007213d200042015525..."} 
[2026-04-22 16:56:04] local.INFO: Processing buffer {"connection_id":50675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ef0ad0012d18c4c007213d200042015525..."} 
[2026-04-22 16:56:04] local.INFO: Packet analysis {"connection_id":50675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ef"} 
[2026-04-22 16:56:04] local.INFO: Extracted packet for processing {"connection_id":50675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ef"} 
[2026-04-22 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119618848,"longitude_deg":75.6597952,"latitude_deg":11.9618848,"altitude":66,"angle":341,"satellites":37,"speed":34,"hex_longitude":"2d18c4c0","hex_latitude":"07213d20","is_valid_coordinates":true} 
[2026-04-22 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-22 16:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875405568001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113973025988149248,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395245783040,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56: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-22 16:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776857058000,"timestamp_ms":1776857058000,"timestamp_seconds":1776857058,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ef0ad0"} 
[2026-04-22 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-22 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 16:56:04] 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-22 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-22 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-22 16:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:56:04] 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-22 16:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875405568001,"66":13993,"106":206,"83":41984,"24":34,"16":113973025988149248,"45":1787225395245783040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 16:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875405568001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:56:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 16:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113973025988149248,"km_value":113973025988149.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395245783040,"description":"Unknown IO ID 45"} 
[2026-04-22 16:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875405568001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1787225395245783040}} 
[2026-04-22 16:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":50675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:56:05] local.INFO: GPS data processed {"connection_id":50675,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:56:05] local.INFO: Acknowledgment sent {"connection_id":50675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:56:16] local.INFO: TCP Data received {"connection_id":51362,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:56:16] local.INFO: Processing buffer {"connection_id":51362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:56:16] local.INFO: IMEI packet received {"connection_id":51362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":51362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:56:26] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:56:26] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:56:26] local.INFO: IMEI packet received {"connection_id":50801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":50801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:56:27] local.INFO: TCP Data received {"connection_id":50423,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:56:27] local.INFO: Processing buffer {"connection_id":50423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:56:27] local.INFO: IMEI packet received {"connection_id":50423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":50423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:56:31] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:56:31] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:56:31] local.INFO: IMEI packet received {"connection_id":50801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":50801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:56:31] local.INFO: TCP Data received {"connection_id":50423,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:56:31] local.INFO: Processing buffer {"connection_id":50423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:56:31] local.INFO: IMEI packet received {"connection_id":50423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":50423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:56:31] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ea1930012d7faa8005afdd18000c013a27..."} 
[2026-04-22 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ea1930012d7faa8005afdd18000c013a27..."} 
[2026-04-22 16:56:31] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ea1930012d7faa8005afdd18000c013a27..."} 
[2026-04-22 16:56:31] local.INFO: Packet analysis {"connection_id":50801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:56:31] local.INFO: Extracted packet for processing {"connection_id":50801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ea"} 
[2026-04-22 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95411480,"longitude_deg":76.334144,"latitude_deg":9.541148,"altitude":12,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afdd18","is_valid_coordinates":true} 
[2026-04-22 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875323648001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688259659776,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56: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-22 16:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776856734000,"timestamp_ms":1776856734000,"timestamp_seconds":1776856734,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ea1930"} 
[2026-04-22 16:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 16:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:56:31] 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-22 16:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875323648001,"66":26702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9199446688259659776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875323648001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:56:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:56:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688259659776,"description":"Unknown IO ID 45"} 
[2026-04-22 16:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875323648001,"power":26702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199446688259659776}} 
[2026-04-22 16:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":50801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:56:31] local.INFO: GPS data processed {"connection_id":50801,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:56:31] local.INFO: Acknowledgment sent {"connection_id":50801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:56:32] local.INFO: TCP Data received {"connection_id":50423,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4eff530012d185e00072183b8004c012524..."} 
[2026-04-22 16:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4eff530012d185e00072183b8004c012524..."} 
[2026-04-22 16:56:32] local.INFO: Processing buffer {"connection_id":50423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4eff530012d185e00072183b8004c012524..."} 
[2026-04-22 16:56:32] local.INFO: Packet analysis {"connection_id":50423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ef"} 
[2026-04-22 16:56:32] local.INFO: Extracted packet for processing {"connection_id":50423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ef"} 
[2026-04-22 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756571648,"raw_latitude":119636920,"longitude_deg":75.6571648,"latitude_deg":11.963692,"altitude":76,"angle":293,"satellites":36,"speed":36,"hex_longitude":"2d185e00","hex_latitude":"072183b8","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875421696001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113974769744871424,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260184946688,"note":"Value kept but may cause issues"} 
[2026-04-22 16:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776857118000,"timestamp_ms":1776857118000,"timestamp_seconds":1776857118,"priority":1,"record_length":96,"hex_timestamp":"0000019db4eff530"} 
[2026-04-22 16: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-22 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-22 16:56:32] 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-22 16: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-22 16: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-22 16:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:56:32] 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-22 16:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875421696001,"66":13852,"105":206,"83":41984,"24":36,"16":113974769744871424,"45":1757811260184946688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875421696001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:56:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113974769744871424,"km_value":113974769744871.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260184946688,"description":"Unknown IO ID 45"} 
[2026-04-22 16:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875421696001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1757811260184946688}} 
[2026-04-22 16:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":50423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:56:32] local.INFO: GPS data processed {"connection_id":50423,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:56:32] local.INFO: Acknowledgment sent {"connection_id":50423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:56:50] local.INFO: TCP Data received {"connection_id":50676,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:56:50] local.INFO: Processing buffer {"connection_id":50676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 16:56:50] local.INFO: IMEI packet received {"connection_id":50676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 16:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":50676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:57:03] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:57:03] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:57:03] local.INFO: Packet analysis {"connection_id":50801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:57:03] local.INFO: Extracted packet for processing {"connection_id":50801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875323904001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771353600,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57: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-22 16:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776857035000,"timestamp_ms":1776857035000,"timestamp_seconds":1776857035,"priority":1,"record_length":96,"hex_timestamp":"0000019db4eeb0f8"} 
[2026-04-22 16: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-22 16:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 16:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:57:03] 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-22 16:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875323904001,"66":25908,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9199305950771353600},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875323904001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:57:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771353600,"description":"Unknown IO ID 45"} 
[2026-04-22 16:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875323904001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950771353600}} 
[2026-04-22 16:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":50801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:57:03] local.INFO: GPS data processed {"connection_id":50801,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:57:03] local.INFO: Acknowledgment sent {"connection_id":50801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:57:03] local.INFO: TCP Data received {"connection_id":50423,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f01c40012d183c00072192f0004e012226..."} 
[2026-04-22 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f01c40012d183c00072192f0004e012226..."} 
[2026-04-22 16:57:03] local.INFO: Processing buffer {"connection_id":50423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f01c40012d183c00072192f0004e012226..."} 
[2026-04-22 16:57:03] local.INFO: Packet analysis {"connection_id":50423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f0"} 
[2026-04-22 16:57:03] local.INFO: Extracted packet for processing {"connection_id":50423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f0"} 
[2026-04-22 16:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756562944,"raw_latitude":119640816,"longitude_deg":75.6562944,"latitude_deg":11.9640816,"altitude":78,"angle":290,"satellites":38,"speed":36,"hex_longitude":"2d183c00","hex_latitude":"072192f0","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875422208001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113975220716437504,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755840935348123648,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776857128000,"timestamp_ms":1776857128000,"timestamp_seconds":1776857128,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f01c40"} 
[2026-04-22 16: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-22 16:57: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-22 16: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 16:57:03] 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-22 16: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-22 16: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-22 16:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:57:03] 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-22 16:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875422208001,"66":13820,"105":206,"83":41984,"24":36,"16":113975220716437504,"45":1755840935348123648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875422208001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:57:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113975220716437504,"km_value":113975220716437.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755840935348123648,"description":"Unknown IO ID 45"} 
[2026-04-22 16:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875422208001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1755840935348123648}} 
[2026-04-22 16:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":50423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:57:03] local.INFO: GPS data processed {"connection_id":50423,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:57:03] local.INFO: Acknowledgment sent {"connection_id":50423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:57:25] local.INFO: TCP Data received {"connection_id":50677,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:57:25] local.INFO: Processing buffer {"connection_id":50677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:57:25] local.INFO: IMEI packet received {"connection_id":50677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":50677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:57:28] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:28] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:28] local.INFO: IMEI packet received {"connection_id":50802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":50802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:57:29] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:29] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:29] local.INFO: IMEI packet received {"connection_id":50802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":50802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:57:30] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:30] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:30] local.INFO: IMEI packet received {"connection_id":50802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":50802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:57:31] local.INFO: TCP Data received {"connection_id":50677,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:57:31] local.INFO: Processing buffer {"connection_id":50677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:57:31] local.INFO: IMEI packet received {"connection_id":50677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":50677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:57:31] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:31] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:57:31] local.INFO: IMEI packet received {"connection_id":50802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":50802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:57:32] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f16078012d181b000721aa38004d00462a..."} 
[2026-04-22 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f16078012d181b000721aa38004d00462a..."} 
[2026-04-22 16:57:32] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f16078012d181b000721aa38004d00462a..."} 
[2026-04-22 16:57:32] local.INFO: Packet analysis {"connection_id":50802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f1"} 
[2026-04-22 16:57:32] local.INFO: Extracted packet for processing {"connection_id":50802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f1"} 
[2026-04-22 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119646776,"longitude_deg":75.6554496,"latitude_deg":11.9646776,"altitude":77,"angle":70,"satellites":42,"speed":5,"hex_longitude":"2d181b00","hex_latitude":"0721aa38","is_valid_coordinates":true} 
[2026-04-22 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-22 16:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875443200001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113975757587349504,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910967296,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776857211000,"timestamp_ms":1776857211000,"timestamp_seconds":1776857211,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f16078"} 
[2026-04-22 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-22 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 16:57:32] 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-22 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-22 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-22 16:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:57:32] 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-22 16:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875443200001,"66":13798,"105":206,"83":41984,"24":5,"16":113975757587349504,"45":1736982111910967296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875443200001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113975757587349504,"km_value":113975757587349.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910967296,"description":"Unknown IO ID 45"} 
[2026-04-22 16:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875443200001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1736982111910967296}} 
[2026-04-22 16:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":50802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:57:32] local.INFO: GPS data processed {"connection_id":50802,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:57:32] local.INFO: Acknowledgment sent {"connection_id":50802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:57:32] local.INFO: TCP Data received {"connection_id":50677,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:57:32] local.INFO: Processing buffer {"connection_id":50677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:57:32] local.INFO: Packet analysis {"connection_id":50677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:57:32] local.INFO: Extracted packet for processing {"connection_id":50677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 16:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875323904001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771353600,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57: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-22 16:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776857035000,"timestamp_ms":1776857035000,"timestamp_seconds":1776857035,"priority":1,"record_length":96,"hex_timestamp":"0000019db4eeb0f8"} 
[2026-04-22 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-22 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 16:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 16:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875323904001,"66":25908,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9199305950771353600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875323904001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771353600,"description":"Unknown IO ID 45"} 
[2026-04-22 16:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875323904001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950771353600}} 
[2026-04-22 16:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":50677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:57:32] local.INFO: GPS data processed {"connection_id":50677,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:57:32] local.INFO: Acknowledgment sent {"connection_id":50677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:57:32] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f16460012d181bc00721aa28004d006c2a..."} 
[2026-04-22 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f16460012d181bc00721aa28004d006c2a..."} 
[2026-04-22 16:57:32] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f16460012d181bc00721aa28004d006c2a..."} 
[2026-04-22 16:57:32] local.INFO: Packet analysis {"connection_id":50802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f1"} 
[2026-04-22 16:57:32] local.INFO: Extracted packet for processing {"connection_id":50802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f1"} 
[2026-04-22 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646760,"longitude_deg":75.6554688,"latitude_deg":11.964676,"altitude":77,"angle":108,"satellites":42,"speed":9,"hex_longitude":"2d181bc0","hex_latitude":"0721aa28","is_valid_coordinates":true} 
[2026-04-22 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-22 16:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875446016001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113975766177284096,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111911032832,"note":"Value kept but may cause issues"} 
[2026-04-22 16:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776857212000,"timestamp_ms":1776857212000,"timestamp_seconds":1776857212,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f16460"} 
[2026-04-22 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-22 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 16:57:32] 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-22 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-22 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-22 16:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:57:32] 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-22 16:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875446016001,"66":13917,"105":206,"83":41984,"24":9,"16":113975766177284096,"45":1736982111911032832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875446016001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113975766177284096,"km_value":113975766177284.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111911032832,"description":"Unknown IO ID 45"} 
[2026-04-22 16:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875446016001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1736982111911032832}} 
[2026-04-22 16:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":50802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:57:32] local.INFO: GPS data processed {"connection_id":50802,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:57:32] local.INFO: Acknowledgment sent {"connection_id":50802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:58:03] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f16848012d181c800721a990004e008f2b..."} 
[2026-04-22 16:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f16848012d181c800721a990004e008f2b..."} 
[2026-04-22 16:58:03] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f16848012d181c800721a990004e008f2b..."} 
[2026-04-22 16:58:03] local.INFO: Packet analysis {"connection_id":50802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f1"} 
[2026-04-22 16:58:03] local.INFO: Extracted packet for processing {"connection_id":50802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f1"} 
[2026-04-22 16:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646608,"longitude_deg":75.655488,"latitude_deg":11.9646608,"altitude":78,"angle":143,"satellites":43,"speed":9,"hex_longitude":"2d181c80","hex_latitude":"0721a990","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875446272001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113975774767218688,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143561728,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 16:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776857213000,"timestamp_ms":1776857213000,"timestamp_seconds":1776857213,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f16848"} 
[2026-04-22 16: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-22 16:58: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-22 16: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-22 16:58:03] 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-22 16: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-22 16: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-22 16:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 16:58:03] 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-22 16:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 16:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 16:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875446272001,"66":13917,"105":206,"83":41984,"24":9,"16":113975774767218688,"45":1737193218143561728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 16:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 16:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 16:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875446272001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:58:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 16:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 16:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113975774767218688,"km_value":113975774767218.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143561728,"description":"Unknown IO ID 45"} 
[2026-04-22 16:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875446272001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737193218143561728}} 
[2026-04-22 16:58:03] local.INFO: TCP Data received {"connection_id":50677,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:58:03] local.INFO: Processing buffer {"connection_id":50677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:58:03] local.INFO: Packet analysis {"connection_id":50677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:58:03] local.INFO: Extracted packet for processing {"connection_id":50677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875323904001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771353600,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58: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-22 16:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776857035000,"timestamp_ms":1776857035000,"timestamp_seconds":1776857035,"priority":1,"record_length":96,"hex_timestamp":"0000019db4eeb0f8"} 
[2026-04-22 16: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-22 16:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 16:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:58: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-22 16:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875323904001,"66":25908,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9199305950771353600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875323904001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:58:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771353600,"description":"Unknown IO ID 45"} 
[2026-04-22 16:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875323904001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950771353600}} 
[2026-04-22 16:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":50677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:58:03] local.INFO: GPS data processed {"connection_id":50677,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:58:03] local.INFO: Acknowledgment sent {"connection_id":50677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":50802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:58:03] local.INFO: GPS data processed {"connection_id":50802,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:58:03] local.INFO: Acknowledgment sent {"connection_id":50802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:58:27] local.INFO: TCP Data received {"connection_id":50679,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:27] local.INFO: Processing buffer {"connection_id":50679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:27] local.INFO: IMEI packet received {"connection_id":50679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 16:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:58:27] local.INFO: TCP Data received {"connection_id":50679,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:27] local.INFO: Processing buffer {"connection_id":50679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:27] local.INFO: IMEI packet received {"connection_id":50679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:58:29] local.INFO: TCP Data received {"connection_id":50679,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:29] local.INFO: Processing buffer {"connection_id":50679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:29] local.INFO: IMEI packet received {"connection_id":50679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":50679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:58:31] local.INFO: TCP Data received {"connection_id":50678,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:58:31] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:58:31] local.INFO: IMEI packet received {"connection_id":50678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":50678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:58:31] local.INFO: TCP Data received {"connection_id":50679,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:31] local.INFO: Processing buffer {"connection_id":50679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 16:58:31] local.INFO: IMEI packet received {"connection_id":50679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 16:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":50679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:58:36] local.INFO: TCP Data received {"connection_id":50678,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:58:36] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:58:36] local.INFO: IMEI packet received {"connection_id":50678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":50678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:58:37] local.INFO: TCP Data received {"connection_id":50678,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:58:37] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:58:37] local.INFO: Packet analysis {"connection_id":50678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:58:37] local.INFO: Extracted packet for processing {"connection_id":50678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875323904001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771353600,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:37] 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-22 16:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776857035000,"timestamp_ms":1776857035000,"timestamp_seconds":1776857035,"priority":1,"record_length":96,"hex_timestamp":"0000019db4eeb0f8"} 
[2026-04-22 16:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 16:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875323904001,"66":25908,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9199305950771353600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875323904001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:58:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771353600,"description":"Unknown IO ID 45"} 
[2026-04-22 16:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875323904001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950771353600}} 
[2026-04-22 16:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":50678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:58:37] local.INFO: GPS data processed {"connection_id":50678,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:58:37] local.INFO: Acknowledgment sent {"connection_id":50678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:58:41] local.INFO: TCP Data received {"connection_id":50678,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:58:41] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:58:41] local.INFO: Packet analysis {"connection_id":50678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:58:41] local.INFO: Extracted packet for processing {"connection_id":50678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 16:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 16:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875323904001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771353600,"note":"Value kept but may cause issues"} 
[2026-04-22 16:58:41] 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-22 16:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776857035000,"timestamp_ms":1776857035000,"timestamp_seconds":1776857035,"priority":1,"record_length":96,"hex_timestamp":"0000019db4eeb0f8"} 
[2026-04-22 16:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 16:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 16:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 16:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 16:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:58:41] local.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-22 16:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875323904001,"66":25908,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9199305950771353600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875323904001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:58:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771353600,"description":"Unknown IO ID 45"} 
[2026-04-22 16:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875323904001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950771353600}} 
[2026-04-22 16:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":50678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:58:41] local.INFO: GPS data processed {"connection_id":50678,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:58:41] local.INFO: Acknowledgment sent {"connection_id":50678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 16:59:26] local.INFO: TCP Data received {"connection_id":51363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:59:26] local.INFO: Processing buffer {"connection_id":51363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:59:26] local.INFO: IMEI packet received {"connection_id":51363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 16:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":51363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 16:59:31] local.INFO: TCP Data received {"connection_id":51363,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:59:31] local.INFO: Processing buffer {"connection_id":51363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 16:59:31] local.INFO: IMEI packet received {"connection_id":51363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 16:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":51363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 16:59:31] local.INFO: TCP Data received {"connection_id":51363,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:59:31] local.INFO: Processing buffer {"connection_id":51363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4eeb0f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 16:59:31] local.INFO: Packet analysis {"connection_id":51363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:59:31] local.INFO: Extracted packet for processing {"connection_id":51363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ee"} 
[2026-04-22 16:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 16: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-22 16:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875323904001,"note":"Value kept but may cause issues"} 
[2026-04-22 16:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 16:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771353600,"note":"Value kept but may cause issues"} 
[2026-04-22 16:59: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-22 16:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857035000,"timestamp_ms":1776857035000,"timestamp_seconds":1776857035,"priority":1,"record_length":96,"hex_timestamp":"0000019db4eeb0f8"} 
[2026-04-22 16: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-22 16:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 16: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 16:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 16: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-22 16: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-22 16:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 16:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 16:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 16:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 16:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 16:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 16:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875323904001,"66":25908,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9199305950771353600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 16:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 16:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 16:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875323904001,"description":"Unknown IO ID 0"} 
[2026-04-22 16:59:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 16:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 16:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 16:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771353600,"description":"Unknown IO ID 45"} 
[2026-04-22 16:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875323904001,"power":25908,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950771353600}} 
[2026-04-22 16:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":51363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 16:59:31] local.INFO: GPS data processed {"connection_id":51363,"processed":1,"errors":0,"total":1} 
[2026-04-22 16:59:31] local.INFO: Acknowledgment sent {"connection_id":51363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:00:03] local.INFO: TCP Data received {"connection_id":51363,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:00:03] local.INFO: Processing buffer {"connection_id":51363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:00:03] local.INFO: Packet analysis {"connection_id":51363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:00:03] local.INFO: Extracted packet for processing {"connection_id":51363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:00: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-22 17:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 17: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-22 17:00: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-22 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:00:03] 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-22 17:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:00:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":51363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:00:03] local.INFO: GPS data processed {"connection_id":51363,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:00:03] local.INFO: Acknowledgment sent {"connection_id":51363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:00:26] local.INFO: TCP Data received {"connection_id":50680,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:00:26] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:00:26] local.INFO: IMEI packet received {"connection_id":50680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":50680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:00:31] local.INFO: TCP Data received {"connection_id":50680,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:00:31] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:00:31] local.INFO: IMEI packet received {"connection_id":50680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":50680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:00:31] local.INFO: TCP Data received {"connection_id":50680,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:00:31] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:00:31] local.INFO: Packet analysis {"connection_id":50680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:00:31] local.INFO: Extracted packet for processing {"connection_id":50680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 17:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:00: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-22 17:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 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-22 17:00: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-22 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 17:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:00:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":50680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:00:31] local.INFO: GPS data processed {"connection_id":50680,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:00:31] local.INFO: Acknowledgment sent {"connection_id":50680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:01:02] local.INFO: TCP Data received {"connection_id":50680,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:01:02] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:01:02] local.INFO: Packet analysis {"connection_id":50680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:01:02] local.INFO: Extracted packet for processing {"connection_id":50680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:01:02] 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-22 17:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 17:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:01: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-22 17:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:01:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":50680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:01:02] local.INFO: GPS data processed {"connection_id":50680,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:01:02] local.INFO: Acknowledgment sent {"connection_id":50680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:01:25] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:01:25] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:01:25] local.INFO: IMEI packet received {"connection_id":50805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":50805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:01:31] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:01:31] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:01:31] local.INFO: IMEI packet received {"connection_id":50805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:01:32] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:01:32] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:01:32] local.INFO: Packet analysis {"connection_id":50805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:01:32] local.INFO: Extracted packet for processing {"connection_id":50805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:01: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-22 17:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 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-22 17:01: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-22 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 17:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:01:32] 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-22 17:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:01:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":50805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:01:32] local.INFO: GPS data processed {"connection_id":50805,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:01:32] local.INFO: Acknowledgment sent {"connection_id":50805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:02:03] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:02:03] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:02:03] local.INFO: Packet analysis {"connection_id":50805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:02:03] local.INFO: Extracted packet for processing {"connection_id":50805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:02: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-22 17:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 17:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:02: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-22 17:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:02: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-22 17:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:02:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:02:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":50805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:02:03] local.INFO: GPS data processed {"connection_id":50805,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:02:03] local.INFO: Acknowledgment sent {"connection_id":50805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:02:11] local.INFO: TCP Data received {"connection_id":50427,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:02:11] local.INFO: Processing buffer {"connection_id":50427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:02:11] local.INFO: IMEI packet received {"connection_id":50427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":50427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:02:25] local.INFO: TCP Data received {"connection_id":51365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:02:25] local.INFO: Processing buffer {"connection_id":51365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:02:25] local.INFO: IMEI packet received {"connection_id":51365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":51365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:02:31] local.INFO: TCP Data received {"connection_id":51365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:02:31] local.INFO: Processing buffer {"connection_id":51365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:02:31] local.INFO: IMEI packet received {"connection_id":51365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":51365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:02:31] local.INFO: TCP Data received {"connection_id":51365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:02:31] local.INFO: Processing buffer {"connection_id":51365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:02:31] local.INFO: Packet analysis {"connection_id":51365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:02:31] local.INFO: Extracted packet for processing {"connection_id":51365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 17:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:02: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-22 17:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 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-22 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 17:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:02: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-22 17:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:02:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":51365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:02:31] local.INFO: GPS data processed {"connection_id":51365,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:02:31] local.INFO: Acknowledgment sent {"connection_id":51365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:02:50] local.INFO: TCP Data received {"connection_id":51366,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:02:50] local.INFO: Processing buffer {"connection_id":51366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:02:50] local.INFO: IMEI packet received {"connection_id":51366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":51366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:03:02] local.INFO: TCP Data received {"connection_id":51365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:03:02] local.INFO: Processing buffer {"connection_id":51365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:03:02] local.INFO: Packet analysis {"connection_id":51365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:03:02] local.INFO: Extracted packet for processing {"connection_id":51365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:03:02] 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-22 17:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 17:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:03: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-22 17:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:03:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":51365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:03:02] local.INFO: GPS data processed {"connection_id":51365,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:03:02] local.INFO: Acknowledgment sent {"connection_id":51365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:03:31] local.INFO: TCP Data received {"connection_id":51367,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:03:31] local.INFO: Processing buffer {"connection_id":51367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:03:31] local.INFO: IMEI packet received {"connection_id":51367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":51367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:03:32] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:03:32] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:03:32] local.INFO: IMEI packet received {"connection_id":50807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:03:33] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f511c8012d1823400721b820004d011926..."} 
[2026-04-22 17:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f511c8012d1823400721b820004d011926..."} 
[2026-04-22 17:03:33] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f511c8012d1823400721b820004d011926..."} 
[2026-04-22 17:03:33] local.INFO: Packet analysis {"connection_id":50807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f5"} 
[2026-04-22 17:03:33] local.INFO: Extracted packet for processing {"connection_id":50807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f5"} 
[2026-04-22 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650336,"longitude_deg":75.6556608,"latitude_deg":11.9650336,"altitude":77,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-04-22 17:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875502592001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978802719162368,"note":"Value kept but may cause issues"} 
[2026-04-22 17:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469807104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857453000,"timestamp_ms":1776857453000,"timestamp_seconds":1776857453,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f511c8"} 
[2026-04-22 17:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-22 17:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:03:33] 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-22 17:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875502592001,"66":12950,"105":206,"83":41984,"24":0,"16":113978802719162368,"45":1739304280469807104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875502592001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:03:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978802719162368,"km_value":113978802719162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469807104,"description":"Unknown IO ID 45"} 
[2026-04-22 17:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875502592001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469807104}} 
[2026-04-22 17:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:03:33] local.INFO: GPS data processed {"connection_id":50807,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:03:33] local.INFO: Acknowledgment sent {"connection_id":50807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:03:36] local.INFO: TCP Data received {"connection_id":51367,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:03:36] local.INFO: Processing buffer {"connection_id":51367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:03:36] local.INFO: IMEI packet received {"connection_id":51367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":51367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:03:37] local.INFO: TCP Data received {"connection_id":51367,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:03:37] local.INFO: Processing buffer {"connection_id":51367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:03:37] local.INFO: Packet analysis {"connection_id":51367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:03:37] local.INFO: Extracted packet for processing {"connection_id":51367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:03:37] 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-22 17:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 17: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-22 17:03: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-22 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:03:37] local.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-22 17:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:03:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:03:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":51367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:03:37] local.INFO: GPS data processed {"connection_id":51367,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:03:37] local.INFO: Acknowledgment sent {"connection_id":51367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:04:04] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f563d0012d1823400721b820004d011929..."} 
[2026-04-22 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f563d0012d1823400721b820004d011929..."} 
[2026-04-22 17:04:04] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f563d0012d1823400721b820004d011929..."} 
[2026-04-22 17:04:04] local.INFO: Packet analysis {"connection_id":50807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f5"} 
[2026-04-22 17:04:04] local.INFO: Extracted packet for processing {"connection_id":50807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f5"} 
[2026-04-22 17:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650336,"longitude_deg":75.6556608,"latitude_deg":11.9650336,"altitude":77,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875507968001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978802719162368,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469807104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776857474000,"timestamp_ms":1776857474000,"timestamp_seconds":1776857474,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f563d0"} 
[2026-04-22 17: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-22 17:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 17:04:04] 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-22 17: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-22 17: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-22 17:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:04:04] 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-22 17:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875507968001,"66":12961,"105":206,"83":41984,"24":0,"16":113978802719162368,"45":1739304280469807104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875507968001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:04:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978802719162368,"km_value":113978802719162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469807104,"description":"Unknown IO ID 45"} 
[2026-04-22 17:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875507968001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469807104}} 
[2026-04-22 17:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:04:04] local.INFO: GPS data processed {"connection_id":50807,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:04:04] local.INFO: Acknowledgment sent {"connection_id":50807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:04:08] local.INFO: TCP Data received {"connection_id":51367,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:04:08] local.INFO: Processing buffer {"connection_id":51367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:04:08] local.INFO: Packet analysis {"connection_id":51367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:04:08] local.INFO: Extracted packet for processing {"connection_id":51367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04: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-22 17:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 17: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-22 17:04: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-22 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:04:08] local.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-22 17:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:04:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":51367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:04:08] local.INFO: GPS data processed {"connection_id":51367,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:04:08] local.INFO: Acknowledgment sent {"connection_id":51367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:04:26] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:04:26] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:04:26] local.INFO: IMEI packet received {"connection_id":50683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":50683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:04:27] local.INFO: TCP Data received {"connection_id":51368,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:04:27] local.INFO: Processing buffer {"connection_id":51368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:04:27] local.INFO: IMEI packet received {"connection_id":51368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":51368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:04:31] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:04:31] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:04:31] local.INFO: IMEI packet received {"connection_id":50683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":50683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:04:31] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:04:31] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f348c0012d7fa74005afda30000d013a28..."} 
[2026-04-22 17:04:31] local.INFO: Packet analysis {"connection_id":50683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:04:31] local.INFO: Extracted packet for processing {"connection_id":50683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f3"} 
[2026-04-22 17:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875400960001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04: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-22 17:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857336000,"timestamp_ms":1776857336000,"timestamp_seconds":1776857336,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f348c0"} 
[2026-04-22 17: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-22 17:04: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-22 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875400960001,"66":25712,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875400960001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:04:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875400960001,"power":25712,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":50683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:04:31] local.INFO: GPS data processed {"connection_id":50683,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:04:31] local.INFO: Acknowledgment sent {"connection_id":50683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:04:32] local.INFO: TCP Data received {"connection_id":51368,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:04:32] local.INFO: Processing buffer {"connection_id":51368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:04:32] local.INFO: IMEI packet received {"connection_id":51368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":51368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:04:33] local.INFO: TCP Data received {"connection_id":51368,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f5b5d8012d1823400721b820004d011929..."} 
[2026-04-22 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f5b5d8012d1823400721b820004d011929..."} 
[2026-04-22 17:04:33] local.INFO: Processing buffer {"connection_id":51368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f5b5d8012d1823400721b820004d011929..."} 
[2026-04-22 17:04:33] local.INFO: Packet analysis {"connection_id":51368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f5"} 
[2026-04-22 17:04:33] local.INFO: Extracted packet for processing {"connection_id":51368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f5"} 
[2026-04-22 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650336,"longitude_deg":75.6556608,"latitude_deg":11.9650336,"altitude":77,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875513344001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978802719162368,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469807104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857495000,"timestamp_ms":1776857495000,"timestamp_seconds":1776857495,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f5b5d8"} 
[2026-04-22 17: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-22 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-04-22 17:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:04:33] 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-22 17:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875513344001,"66":12950,"105":206,"83":41984,"24":0,"16":113978802719162368,"45":1739304280469807104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875513344001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:04:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978802719162368,"km_value":113978802719162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469807104,"description":"Unknown IO ID 45"} 
[2026-04-22 17:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875513344001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469807104}} 
[2026-04-22 17:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":51368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:04:33] local.INFO: GPS data processed {"connection_id":51368,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:04:33] local.INFO: Acknowledgment sent {"connection_id":51368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:05:02] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:05:02] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:05:02] local.INFO: Packet analysis {"connection_id":50683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:05:02] local.INFO: Extracted packet for processing {"connection_id":50683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:02] 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-22 17:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 17:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:05: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-22 17:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:05:02] 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-22 17:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:05:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":50683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:05:02] local.INFO: GPS data processed {"connection_id":50683,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:05:02] local.INFO: Acknowledgment sent {"connection_id":50683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:05:04] local.INFO: TCP Data received {"connection_id":51368,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f607e0012d1823400721b820004d011928..."} 
[2026-04-22 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f607e0012d1823400721b820004d011928..."} 
[2026-04-22 17:05:04] local.INFO: Processing buffer {"connection_id":51368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f607e0012d1823400721b820004d011928..."} 
[2026-04-22 17:05:04] local.INFO: Packet analysis {"connection_id":51368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f6"} 
[2026-04-22 17:05:04] local.INFO: Extracted packet for processing {"connection_id":51368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f6"} 
[2026-04-22 17:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650336,"longitude_deg":75.6556608,"latitude_deg":11.9650336,"altitude":77,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-04-22 17:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875518720001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978802719162368,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469807104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776857516000,"timestamp_ms":1776857516000,"timestamp_seconds":1776857516,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f607e0"} 
[2026-04-22 17:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 17:05:04] 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-22 17:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:05:04] 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-22 17:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875518720001,"66":12950,"105":206,"83":41984,"24":0,"16":113978802719162368,"45":1739304280469807104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875518720001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:05:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978802719162368,"km_value":113978802719162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469807104,"description":"Unknown IO ID 45"} 
[2026-04-22 17:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875518720001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469807104}} 
[2026-04-22 17:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":51368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:05:04] local.INFO: GPS data processed {"connection_id":51368,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:05:04] local.INFO: Acknowledgment sent {"connection_id":51368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:05:25] local.INFO: TCP Data received {"connection_id":50684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:05:25] local.INFO: Processing buffer {"connection_id":50684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:05:25] local.INFO: IMEI packet received {"connection_id":50684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":50684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:05:27] local.INFO: TCP Data received {"connection_id":51369,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:05:27] local.INFO: Processing buffer {"connection_id":51369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:05:27] local.INFO: IMEI packet received {"connection_id":51369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":51369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:05:31] local.INFO: TCP Data received {"connection_id":50684,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:05:31] local.INFO: Processing buffer {"connection_id":50684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:05:31] local.INFO: IMEI packet received {"connection_id":50684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":50684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:05:31] local.INFO: TCP Data received {"connection_id":50684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:05:31] local.INFO: Processing buffer {"connection_id":50684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:05:31] local.INFO: Packet analysis {"connection_id":50684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:05:31] local.INFO: Extracted packet for processing {"connection_id":50684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05: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-22 17:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 17: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-22 17:05: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-22 17: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":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:05:31] 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-22 17: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-22 17: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-22 17:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:05:31] 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-22 17:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:05:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":50684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:05:31] local.INFO: GPS data processed {"connection_id":50684,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:05:31] local.INFO: Acknowledgment sent {"connection_id":50684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:05:32] local.INFO: TCP Data received {"connection_id":51369,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:05:32] local.INFO: Processing buffer {"connection_id":51369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:05:32] local.INFO: IMEI packet received {"connection_id":51369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":51369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:05:33] local.INFO: TCP Data received {"connection_id":51369,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f659e8012d1823400721b820004d011929..."} 
[2026-04-22 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f659e8012d1823400721b820004d011929..."} 
[2026-04-22 17:05:33] local.INFO: Processing buffer {"connection_id":51369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f659e8012d1823400721b820004d011929..."} 
[2026-04-22 17:05:33] local.INFO: Packet analysis {"connection_id":51369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f6"} 
[2026-04-22 17:05:33] local.INFO: Extracted packet for processing {"connection_id":51369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f6"} 
[2026-04-22 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650336,"longitude_deg":75.6556608,"latitude_deg":11.9650336,"altitude":77,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-04-22 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875524096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978802719162368,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469807104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857537000,"timestamp_ms":1776857537000,"timestamp_seconds":1776857537,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f659e8"} 
[2026-04-22 17:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 17:05:33] 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-22 17:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:05:33] 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-22 17:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875524096001,"66":12928,"105":206,"83":41984,"24":0,"16":113978802719162368,"45":1739304280469807104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875524096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:05:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978802719162368,"km_value":113978802719162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469807104,"description":"Unknown IO ID 45"} 
[2026-04-22 17:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875524096001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469807104}} 
[2026-04-22 17:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":51369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:05:33] local.INFO: GPS data processed {"connection_id":51369,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:05:33] local.INFO: Acknowledgment sent {"connection_id":51369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:06:02] local.INFO: TCP Data received {"connection_id":50684,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:06:02] local.INFO: Processing buffer {"connection_id":50684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:06:02] local.INFO: Packet analysis {"connection_id":50684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:06:02] local.INFO: Extracted packet for processing {"connection_id":50684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:02] 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-22 17:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 17:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:06:02] 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-22 17:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":50684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:06:02] local.INFO: GPS data processed {"connection_id":50684,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:06:02] local.INFO: Acknowledgment sent {"connection_id":50684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:06:04] local.INFO: TCP Data received {"connection_id":51369,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f6abf0012d1823400721b820004d01192a..."} 
[2026-04-22 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f6abf0012d1823400721b820004d01192a..."} 
[2026-04-22 17:06:04] local.INFO: Processing buffer {"connection_id":51369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f6abf0012d1823400721b820004d01192a..."} 
[2026-04-22 17:06:04] local.INFO: Packet analysis {"connection_id":51369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f6"} 
[2026-04-22 17:06:04] local.INFO: Extracted packet for processing {"connection_id":51369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f6"} 
[2026-04-22 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650336,"longitude_deg":75.6556608,"latitude_deg":11.9650336,"altitude":77,"angle":281,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-04-22 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875529472001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978802719162368,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469807104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776857558000,"timestamp_ms":1776857558000,"timestamp_seconds":1776857558,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f6abf0"} 
[2026-04-22 17:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-04-22 17:06:04] 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-22 17:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:06:04] 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-22 17:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875529472001,"66":12874,"105":206,"83":41984,"24":0,"16":113978802719162368,"45":1739304280469807104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875529472001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:06:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978802719162368,"km_value":113978802719162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469807104,"description":"Unknown IO ID 45"} 
[2026-04-22 17:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875529472001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469807104}} 
[2026-04-22 17:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":51369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:06:04] local.INFO: GPS data processed {"connection_id":51369,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:06:04] local.INFO: Acknowledgment sent {"connection_id":51369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:06:25] local.INFO: TCP Data received {"connection_id":50429,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:06:25] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:06:25] local.INFO: IMEI packet received {"connection_id":50429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":50429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:06:27] local.INFO: TCP Data received {"connection_id":50685,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:06:27] local.INFO: Processing buffer {"connection_id":50685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:06:27] local.INFO: IMEI packet received {"connection_id":50685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:06:31] local.INFO: TCP Data received {"connection_id":50429,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:06:31] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:06:31] local.INFO: IMEI packet received {"connection_id":50429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":50429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:06:31] local.INFO: TCP Data received {"connection_id":50429,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:06:31] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:06:31] local.INFO: Packet analysis {"connection_id":50429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:06:31] local.INFO: Extracted packet for processing {"connection_id":50429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06: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-22 17:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 17: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-22 17:06: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-22 17: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:06:31] 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-22 17: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-22 17: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-22 17:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:06:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":50429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:06:32] local.INFO: GPS data processed {"connection_id":50429,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:06:32] local.INFO: Acknowledgment sent {"connection_id":50429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:06:32] local.INFO: TCP Data received {"connection_id":50685,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:06:32] local.INFO: Processing buffer {"connection_id":50685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:06:32] local.INFO: IMEI packet received {"connection_id":50685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:06:33] local.INFO: TCP Data received {"connection_id":50685,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f6fdf8012d1823400721b820004d011928..."} 
[2026-04-22 17:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f6fdf8012d1823400721b820004d011928..."} 
[2026-04-22 17:06:33] local.INFO: Processing buffer {"connection_id":50685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f6fdf8012d1823400721b820004d011928..."} 
[2026-04-22 17:06:33] local.INFO: Packet analysis {"connection_id":50685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f6"} 
[2026-04-22 17:06:33] local.INFO: Extracted packet for processing {"connection_id":50685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f6"} 
[2026-04-22 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650336,"longitude_deg":75.6556608,"latitude_deg":11.9650336,"altitude":77,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-04-22 17:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875534848001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978802719162368,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469807104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857579000,"timestamp_ms":1776857579000,"timestamp_seconds":1776857579,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f6fdf8"} 
[2026-04-22 17:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-22 17:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:06:33] 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-22 17:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875534848001,"66":12863,"105":206,"83":41984,"24":0,"16":113978802719162368,"45":1739304280469807104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875534848001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:06:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978802719162368,"km_value":113978802719162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469807104,"description":"Unknown IO ID 45"} 
[2026-04-22 17:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875534848001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469807104}} 
[2026-04-22 17:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:06:33] local.INFO: GPS data processed {"connection_id":50685,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:06:33] local.INFO: Acknowledgment sent {"connection_id":50685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:07:02] local.INFO: TCP Data received {"connection_id":50429,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:07:02] local.INFO: Processing buffer {"connection_id":50429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:07:02] local.INFO: Packet analysis {"connection_id":50429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:02] local.INFO: Extracted packet for processing {"connection_id":50429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:02] 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-22 17:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 17:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:07:02] 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-22 17:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:07:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":50429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:07:02] local.INFO: GPS data processed {"connection_id":50429,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:07:02] local.INFO: Acknowledgment sent {"connection_id":50429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:07:04] local.INFO: TCP Data received {"connection_id":50685,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f71d38012d1823400721b7c0004f00aa2a..."} 
[2026-04-22 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f71d38012d1823400721b7c0004f00aa2a..."} 
[2026-04-22 17:07:04] local.INFO: Processing buffer {"connection_id":50685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f71d38012d1823400721b7c0004f00aa2a..."} 
[2026-04-22 17:07:04] local.INFO: Packet analysis {"connection_id":50685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:04] local.INFO: Extracted packet for processing {"connection_id":50685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650240,"longitude_deg":75.6556608,"latitude_deg":11.965024,"altitude":79,"angle":170,"satellites":42,"speed":1,"hex_longitude":"2d182340","hex_latitude":"0721b7c0","is_valid_coordinates":true} 
[2026-04-22 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-22 17:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875540224001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978807014129664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469807104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776857587000,"timestamp_ms":1776857587000,"timestamp_seconds":1776857587,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f71d38"} 
[2026-04-22 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-22 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 17:07:04] 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-22 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-22 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-22 17:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:07:04] 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-22 17:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875540224001,"66":12852,"105":206,"83":41984,"24":1,"16":113978807014129664,"45":1739304280469807104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875540224001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:07:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978807014129664,"km_value":113978807014129.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469807104,"description":"Unknown IO ID 45"} 
[2026-04-22 17:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875540224001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739304280469807104}} 
[2026-04-22 17:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:07:04] local.INFO: GPS data processed {"connection_id":50685,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:07:04] local.INFO: Acknowledgment sent {"connection_id":50685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:07:27] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:07:27] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:07:27] local.INFO: IMEI packet received {"connection_id":50809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:07:31] local.INFO: TCP Data received {"connection_id":50686,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:07:31] local.INFO: Processing buffer {"connection_id":50686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:07:31] local.INFO: IMEI packet received {"connection_id":50686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":50686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:07:32] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:07:32] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:07:32] local.INFO: IMEI packet received {"connection_id":50809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:07:33] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f730c0012d1823400721b6d0004f00b52a..."} 
[2026-04-22 17:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f730c0012d1823400721b6d0004f00b52a..."} 
[2026-04-22 17:07:33] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f730c0012d1823400721b6d0004f00b52a..."} 
[2026-04-22 17:07:33] local.INFO: Packet analysis {"connection_id":50809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:33] local.INFO: Extracted packet for processing {"connection_id":50809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650000,"longitude_deg":75.6556608,"latitude_deg":11.965,"altitude":79,"angle":181,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6d0","is_valid_coordinates":true} 
[2026-04-22 17:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875542272001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978819899031552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469782528,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857592000,"timestamp_ms":1776857592000,"timestamp_seconds":1776857592,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f730c0"} 
[2026-04-22 17:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:07:33] 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-22 17:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:07:33] 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-22 17:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875542272001,"66":12852,"105":206,"83":41984,"24":0,"16":113978819899031552,"45":1739304280469782528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875542272001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:07:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978819899031552,"km_value":113978819899031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469782528,"description":"Unknown IO ID 45"} 
[2026-04-22 17:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875542272001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469782528}} 
[2026-04-22 17:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:07:33] local.INFO: GPS data processed {"connection_id":50809,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:07:33] local.INFO: Acknowledgment sent {"connection_id":50809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:07:36] local.INFO: TCP Data received {"connection_id":50686,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:07:36] local.INFO: Processing buffer {"connection_id":50686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:07:36] local.INFO: IMEI packet received {"connection_id":50686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":50686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:07:37] local.INFO: TCP Data received {"connection_id":50686,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:07:37] local.INFO: Processing buffer {"connection_id":50686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:07:37] local.INFO: Packet analysis {"connection_id":50686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:37] local.INFO: Extracted packet for processing {"connection_id":50686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 17:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:37] 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-22 17:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 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-22 17:07: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-22 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:07: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-22 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-22 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-22 17:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:07: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-22 17:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:07:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":50686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:07:37] local.INFO: GPS data processed {"connection_id":50686,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:07:37] local.INFO: Acknowledgment sent {"connection_id":50686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:07:41] local.INFO: TCP Data received {"connection_id":50686,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:07:41] local.INFO: Processing buffer {"connection_id":50686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:07:41] local.INFO: Packet analysis {"connection_id":50686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:41] local.INFO: Extracted packet for processing {"connection_id":50686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:07:41] 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-22 17:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 17:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 17:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:07:41] 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-22 17:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:07:41] local.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-22 17:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:07:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":50686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:07:41] local.INFO: GPS data processed {"connection_id":50686,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:07:41] local.INFO: Acknowledgment sent {"connection_id":50686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:08:04] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f782c8012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f782c8012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:08:04] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f782c8012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:08:04] local.INFO: Packet analysis {"connection_id":50809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:08:04] local.INFO: Extracted packet for processing {"connection_id":50809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649960,"longitude_deg":75.6556608,"latitude_deg":11.964996,"altitude":79,"angle":181,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875543552001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978819899031552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469721088,"note":"Value kept but may cause issues"} 
[2026-04-22 17:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776857613000,"timestamp_ms":1776857613000,"timestamp_seconds":1776857613,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f782c8"} 
[2026-04-22 17: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-22 17:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:08:04] 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-22 17: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-22 17: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-22 17:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:08:04] 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-22 17:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875543552001,"66":12841,"105":206,"83":41984,"24":0,"16":113978819899031552,"45":1739304280469721088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875543552001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:08:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978819899031552,"km_value":113978819899031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469721088,"description":"Unknown IO ID 45"} 
[2026-04-22 17:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875543552001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469721088}} 
[2026-04-22 17:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:08:04] local.INFO: GPS data processed {"connection_id":50809,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:08:04] local.INFO: Acknowledgment sent {"connection_id":50809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:08:16] local.INFO: TCP Data received {"connection_id":50810,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:08:16] local.INFO: Processing buffer {"connection_id":50810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:08:16] local.INFO: IMEI packet received {"connection_id":50810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":50810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:08:26] local.INFO: TCP Data received {"connection_id":50430,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:08:26] local.INFO: Processing buffer {"connection_id":50430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:08:26] local.INFO: IMEI packet received {"connection_id":50430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":50430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:08:27] local.INFO: TCP Data received {"connection_id":50811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:08:27] local.INFO: Processing buffer {"connection_id":50811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:08:27] local.INFO: IMEI packet received {"connection_id":50811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":50811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:08:31] local.INFO: TCP Data received {"connection_id":50430,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:08:31] local.INFO: Processing buffer {"connection_id":50430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:08:31] local.INFO: IMEI packet received {"connection_id":50430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":50430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:08:31] local.INFO: TCP Data received {"connection_id":50430,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:08:31] local.INFO: Processing buffer {"connection_id":50430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:08:31] local.INFO: Packet analysis {"connection_id":50430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:08:31] local.INFO: Extracted packet for processing {"connection_id":50430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:08: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-22 17:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 17: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-22 17:08: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-22 17: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:08:31] 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-22 17: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-22 17: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-22 17:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:08:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":50430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:08:31] local.INFO: GPS data processed {"connection_id":50430,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:08:31] local.INFO: Acknowledgment sent {"connection_id":50430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:08:32] local.INFO: TCP Data received {"connection_id":50811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:08:32] local.INFO: Processing buffer {"connection_id":50811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:08:32] local.INFO: IMEI packet received {"connection_id":50811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:08:33] local.INFO: TCP Data received {"connection_id":50811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7d4d0012d1823400721b6a8004f00b525..."} 
[2026-04-22 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7d4d0012d1823400721b6a8004f00b525..."} 
[2026-04-22 17:08:33] local.INFO: Processing buffer {"connection_id":50811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7d4d0012d1823400721b6a8004f00b525..."} 
[2026-04-22 17:08:33] local.INFO: Packet analysis {"connection_id":50811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:08:33] local.INFO: Extracted packet for processing {"connection_id":50811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649960,"longitude_deg":75.6556608,"latitude_deg":11.964996,"altitude":79,"angle":181,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-04-22 17:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875548928001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978819899031552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469710848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857634000,"timestamp_ms":1776857634000,"timestamp_seconds":1776857634,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7d4d0"} 
[2026-04-22 17:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 17:08:33] 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-22 17:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:08:33] 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-22 17:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875548928001,"66":12841,"105":206,"83":41984,"24":0,"16":113978819899031552,"45":1739304280469710848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875548928001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:08:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978819899031552,"km_value":113978819899031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469710848,"description":"Unknown IO ID 45"} 
[2026-04-22 17:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875548928001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469710848}} 
[2026-04-22 17:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":50811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:08:33] local.INFO: GPS data processed {"connection_id":50811,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:08:33] local.INFO: Acknowledgment sent {"connection_id":50811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:08:50] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:08:50] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:08:50] local.INFO: IMEI packet received {"connection_id":50812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":50812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:09:03] local.INFO: TCP Data received {"connection_id":50430,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:09:03] local.INFO: Processing buffer {"connection_id":50430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:09:03] local.INFO: Packet analysis {"connection_id":50430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:09:03] local.INFO: Extracted packet for processing {"connection_id":50430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17: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-22 17:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 17:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:09: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-22 17:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:09: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-22 17:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:09:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":50430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:09:03] local.INFO: GPS data processed {"connection_id":50430,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:09:03] local.INFO: Acknowledgment sent {"connection_id":50430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:09:04] local.INFO: TCP Data received {"connection_id":50811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f826d8012d1823400721b6a8004f00b528..."} 
[2026-04-22 17:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f826d8012d1823400721b6a8004f00b528..."} 
[2026-04-22 17:09:04] local.INFO: Processing buffer {"connection_id":50811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f826d8012d1823400721b6a8004f00b528..."} 
[2026-04-22 17:09:04] local.INFO: Packet analysis {"connection_id":50811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f8"} 
[2026-04-22 17:09:04] local.INFO: Extracted packet for processing {"connection_id":50811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f8"} 
[2026-04-22 17:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649960,"longitude_deg":75.6556608,"latitude_deg":11.964996,"altitude":79,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-04-22 17:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875554304001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978819899031552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469710848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776857655000,"timestamp_ms":1776857655000,"timestamp_seconds":1776857655,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f826d8"} 
[2026-04-22 17:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 17:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:09:04] 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-22 17:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875554304001,"66":12819,"105":206,"83":41984,"24":0,"16":113978819899031552,"45":1739304280469710848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875554304001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:09:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978819899031552,"km_value":113978819899031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469710848,"description":"Unknown IO ID 45"} 
[2026-04-22 17:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875554304001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469710848}} 
[2026-04-22 17:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":50811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:09:04] local.INFO: GPS data processed {"connection_id":50811,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:09:04] local.INFO: Acknowledgment sent {"connection_id":50811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:09:14] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:09:14] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:09:14] local.INFO: IMEI packet received {"connection_id":50812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 17:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":50812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:09:26] local.INFO: TCP Data received {"connection_id":50813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:09:26] local.INFO: Processing buffer {"connection_id":50813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:09:26] local.INFO: IMEI packet received {"connection_id":50813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":50813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:09:31] local.INFO: TCP Data received {"connection_id":50813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:09:31] local.INFO: Processing buffer {"connection_id":50813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:09:31] local.INFO: IMEI packet received {"connection_id":50813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":50813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:09:31] local.INFO: TCP Data received {"connection_id":50813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:09:31] local.INFO: Processing buffer {"connection_id":50813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4f7e088012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:09:31] local.INFO: Packet analysis {"connection_id":50813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:09:31] local.INFO: Extracted packet for processing {"connection_id":50813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4f7"} 
[2026-04-22 17:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875478016001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09: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-22 17:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857637000,"timestamp_ms":1776857637000,"timestamp_seconds":1776857637,"priority":1,"record_length":96,"hex_timestamp":"0000019db4f7e088"} 
[2026-04-22 17: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-22 17:09: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-22 17:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 17:09:31] 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-22 17: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-22 17: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-22 17:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875478016001,"66":25702,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875478016001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:09:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875478016001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":50813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:09:31] local.INFO: GPS data processed {"connection_id":50813,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:09:31] local.INFO: Acknowledgment sent {"connection_id":50813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:09:32] local.INFO: TCP Data received {"connection_id":51371,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:09:32] local.INFO: Processing buffer {"connection_id":51371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:09:32] local.INFO: IMEI packet received {"connection_id":51371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":51371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:09:37] local.INFO: TCP Data received {"connection_id":51371,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:09:37] local.INFO: Processing buffer {"connection_id":51371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:09:37] local.INFO: IMEI packet received {"connection_id":51371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":51371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:09:38] local.INFO: TCP Data received {"connection_id":51371,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fbad30012d1823400721b6a8004f00b528..."} 
[2026-04-22 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fbad30012d1823400721b6a8004f00b528..."} 
[2026-04-22 17:09:38] local.INFO: Processing buffer {"connection_id":51371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fbad30012d1823400721b6a8004f00b528..."} 
[2026-04-22 17:09:38] local.INFO: Packet analysis {"connection_id":51371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fb"} 
[2026-04-22 17:09:38] local.INFO: Extracted packet for processing {"connection_id":51371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fb"} 
[2026-04-22 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649960,"longitude_deg":75.6556608,"latitude_deg":11.964996,"altitude":79,"angle":181,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-04-22 17:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875613440001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978819899031552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469710848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776857886000,"timestamp_ms":1776857886000,"timestamp_seconds":1776857886,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fbad30"} 
[2026-04-22 17:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-22 17:09:38] 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-22 17:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:09:38] 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-22 17:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875613440001,"66":12602,"105":206,"83":41984,"24":0,"16":113978819899031552,"45":1739304280469710848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875613440001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:09:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978819899031552,"km_value":113978819899031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469710848,"description":"Unknown IO ID 45"} 
[2026-04-22 17:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875613440001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469710848}} 
[2026-04-22 17:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":51371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:09:38] local.INFO: GPS data processed {"connection_id":51371,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:09:38] local.INFO: Acknowledgment sent {"connection_id":51371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:09:43] local.INFO: TCP Data received {"connection_id":51371,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fbff38012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fbff38012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:09:43] local.INFO: Processing buffer {"connection_id":51371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fbff38012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:09:43] local.INFO: Packet analysis {"connection_id":51371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fb"} 
[2026-04-22 17:09:43] local.INFO: Extracted packet for processing {"connection_id":51371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fb"} 
[2026-04-22 17:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649960,"longitude_deg":75.6556608,"latitude_deg":11.964996,"altitude":79,"angle":181,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-04-22 17:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875618816001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978819899031552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469710848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:09: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-22 17:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776857907000,"timestamp_ms":1776857907000,"timestamp_seconds":1776857907,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fbff38"} 
[2026-04-22 17:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:09: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-22 17:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 17:09:43] 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-22 17:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":51371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":51371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":51371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:09:43] 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-22 17:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875618816001,"66":12645,"105":206,"83":41984,"24":0,"16":113978819899031552,"45":1739304280469710848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875618816001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:09:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:09:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978819899031552,"km_value":113978819899031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469710848,"description":"Unknown IO ID 45"} 
[2026-04-22 17:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875618816001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469710848}} 
[2026-04-22 17:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":51371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:09:43] local.INFO: GPS data processed {"connection_id":51371,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:09:43] local.INFO: Acknowledgment sent {"connection_id":51371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:10:02] local.INFO: TCP Data received {"connection_id":50813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:10:02] local.INFO: Processing buffer {"connection_id":50813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:10:02] local.INFO: Packet analysis {"connection_id":50813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:10:02] local.INFO: Extracted packet for processing {"connection_id":50813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:10:02] 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-22 17:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17: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-22 17:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:10: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-22 17:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:10:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":50813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:10:02] local.INFO: GPS data processed {"connection_id":50813,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:10:02] local.INFO: Acknowledgment sent {"connection_id":50813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:10:25] local.INFO: TCP Data received {"connection_id":50687,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:10:25] local.INFO: Processing buffer {"connection_id":50687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:10:25] local.INFO: IMEI packet received {"connection_id":50687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":50687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:10:27] local.INFO: TCP Data received {"connection_id":51372,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:10:27] local.INFO: Processing buffer {"connection_id":51372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:10:27] local.INFO: IMEI packet received {"connection_id":51372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":51372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:10:31] local.INFO: TCP Data received {"connection_id":50687,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:10:31] local.INFO: Processing buffer {"connection_id":50687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:10:31] local.INFO: IMEI packet received {"connection_id":50687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":50687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:10:31] local.INFO: TCP Data received {"connection_id":50687,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:10:31] local.INFO: Processing buffer {"connection_id":50687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:10:31] local.INFO: Packet analysis {"connection_id":50687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:10:31] local.INFO: Extracted packet for processing {"connection_id":50687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:10:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:10: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-22 17:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:10: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-22 17:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:10:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":50687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:10:32] local.INFO: GPS data processed {"connection_id":50687,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:10:32] local.INFO: Acknowledgment sent {"connection_id":50687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:10:32] local.INFO: TCP Data received {"connection_id":51372,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:10:32] local.INFO: Processing buffer {"connection_id":51372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:10:32] local.INFO: IMEI packet received {"connection_id":51372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":51372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:10:33] local.INFO: TCP Data received {"connection_id":51372,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc5140012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc5140012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:10:33] local.INFO: Processing buffer {"connection_id":51372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc5140012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:10:33] local.INFO: Packet analysis {"connection_id":51372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:10:33] local.INFO: Extracted packet for processing {"connection_id":51372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649960,"longitude_deg":75.6556608,"latitude_deg":11.964996,"altitude":79,"angle":181,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875624192001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978819899031552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469710848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857928000,"timestamp_ms":1776857928000,"timestamp_seconds":1776857928,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc5140"} 
[2026-04-22 17: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-22 17:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-22 17:10:33] 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-22 17: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-22 17: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-22 17:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:10:33] 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-22 17:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875624192001,"66":12602,"105":206,"83":41984,"24":0,"16":113978819899031552,"45":1739304280469710848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875624192001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:10:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978819899031552,"km_value":113978819899031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469710848,"description":"Unknown IO ID 45"} 
[2026-04-22 17:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875624192001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469710848}} 
[2026-04-22 17:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":51372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:10:33] local.INFO: GPS data processed {"connection_id":51372,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:10:33] local.INFO: Acknowledgment sent {"connection_id":51372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:11:03] local.INFO: TCP Data received {"connection_id":50687,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:11:03] local.INFO: Processing buffer {"connection_id":50687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:11:03] local.INFO: Packet analysis {"connection_id":50687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:11:03] local.INFO: Extracted packet for processing {"connection_id":50687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:11:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11: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-22 17:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:11: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-22 17:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:11: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-22 17:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:11:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:11:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":50687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:11:03] local.INFO: GPS data processed {"connection_id":50687,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:11:03] local.INFO: Acknowledgment sent {"connection_id":50687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:11:04] local.INFO: TCP Data received {"connection_id":51372,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fca348012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fca348012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:11:04] local.INFO: Processing buffer {"connection_id":51372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fca348012d1823400721b6a8004f00b52a..."} 
[2026-04-22 17:11:04] local.INFO: Packet analysis {"connection_id":51372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:11:04] local.INFO: Extracted packet for processing {"connection_id":51372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649960,"longitude_deg":75.6556608,"latitude_deg":11.964996,"altitude":79,"angle":181,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-04-22 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875629568001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978819899031552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469710848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776857949000,"timestamp_ms":1776857949000,"timestamp_seconds":1776857949,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fca348"} 
[2026-04-22 17:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 17:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:11:04] 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-22 17:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875629568001,"66":12548,"105":206,"83":41984,"24":0,"16":113978819899031552,"45":1739304280469710848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875629568001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:11:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978819899031552,"km_value":113978819899031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469710848,"description":"Unknown IO ID 45"} 
[2026-04-22 17:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875629568001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469710848}} 
[2026-04-22 17:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":51372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:11:04] local.INFO: GPS data processed {"connection_id":51372,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:11:04] local.INFO: Acknowledgment sent {"connection_id":51372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:11:27] local.INFO: TCP Data received {"connection_id":50816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:11:27] local.INFO: Processing buffer {"connection_id":50816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:11:27] local.INFO: IMEI packet received {"connection_id":50816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":50816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:11:31] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:11:31] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:11:31] local.INFO: IMEI packet received {"connection_id":50688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":50688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:11:32] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:11:32] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:11:32] local.INFO: Packet analysis {"connection_id":50688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:11:32] local.INFO: Extracted packet for processing {"connection_id":50688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11: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-22 17:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17: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-22 17:11: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-22 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:11: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-22 17: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-22 17: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-22 17:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:11: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-22 17:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:11:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":50688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:11:32] local.INFO: GPS data processed {"connection_id":50688,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:11:32] local.INFO: Acknowledgment sent {"connection_id":50688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:11:32] local.INFO: TCP Data received {"connection_id":50816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:11:32] local.INFO: Processing buffer {"connection_id":50816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:11:32] local.INFO: IMEI packet received {"connection_id":50816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:11:33] local.INFO: TCP Data received {"connection_id":50816,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fcf550012d1823400721b6a8004f00b529..."} 
[2026-04-22 17:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fcf550012d1823400721b6a8004f00b529..."} 
[2026-04-22 17:11:33] local.INFO: Processing buffer {"connection_id":50816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fcf550012d1823400721b6a8004f00b529..."} 
[2026-04-22 17:11:33] local.INFO: Packet analysis {"connection_id":50816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:11:33] local.INFO: Extracted packet for processing {"connection_id":50816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649960,"longitude_deg":75.6556608,"latitude_deg":11.964996,"altitude":79,"angle":181,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-04-22 17:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875634944001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978819899031552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469710848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857970000,"timestamp_ms":1776857970000,"timestamp_seconds":1776857970,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fcf550"} 
[2026-04-22 17: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-22 17:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3036329752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184207712461,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4217055233,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3064463439,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4011982848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 17:11:33] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,239,81,45,64,182,79,42,10,66,255,173,1,240,58,227,180,33,4,113,205,9,35,168,49,2,148,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 17:11:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692749120989560832,"timestamp_seconds":5692749120989561.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17: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-22 17:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:11:33] 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-22 17:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875634944001,"66":12591,"105":206,"83":41984,"24":0,"16":113978819899031552,"45":1739304280469710848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875634944001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:11:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978819899031552,"km_value":113978819899031.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469710848,"description":"Unknown IO ID 45"} 
[2026-04-22 17:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875634944001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469710848}} 
[2026-04-22 17:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":50816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:11:33] local.INFO: GPS data processed {"connection_id":50816,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:11:33] local.INFO: Acknowledgment sent {"connection_id":50816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:12:03] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:12:03] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:12:03] local.INFO: Packet analysis {"connection_id":50688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:12:03] local.INFO: Extracted packet for processing {"connection_id":50688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12: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-22 17:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:12: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-22 17:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:12: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-22 17:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:12: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-22 17:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:12:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":50688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:12:03] local.INFO: GPS data processed {"connection_id":50688,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:12:03] local.INFO: Acknowledgment sent {"connection_id":50688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:12:04] local.INFO: TCP Data received {"connection_id":50816,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fd0cc0012d1821800721b390005100d42a..."} 
[2026-04-22 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fd0cc0012d1821800721b390005100d42a..."} 
[2026-04-22 17:12:04] local.INFO: Processing buffer {"connection_id":50816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fd0cc0012d1821800721b390005100d42a..."} 
[2026-04-22 17:12:04] local.INFO: Packet analysis {"connection_id":50816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fd"} 
[2026-04-22 17:12:04] local.INFO: Extracted packet for processing {"connection_id":50816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fd"} 
[2026-04-22 17:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":81,"angle":212,"satellites":42,"speed":1,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875640320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978862848704512,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469710848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776857976000,"timestamp_ms":1776857976000,"timestamp_seconds":1776857976,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fd0cc0"} 
[2026-04-22 17: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-22 17:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 17:12:04] 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-22 17: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-22 17: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-22 17:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:12:04] 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-22 17:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875640320001,"66":12558,"105":206,"83":41984,"24":1,"16":113978862848704512,"45":1739304280469710848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875640320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:12:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978862848704512,"km_value":113978862848704.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469710848,"description":"Unknown IO ID 45"} 
[2026-04-22 17:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875640320001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739304280469710848}} 
[2026-04-22 17:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":50816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:12:04] local.INFO: GPS data processed {"connection_id":50816,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:12:04] local.INFO: Acknowledgment sent {"connection_id":50816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:12:26] local.INFO: TCP Data received {"connection_id":50689,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:12:26] local.INFO: Processing buffer {"connection_id":50689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:12:26] local.INFO: IMEI packet received {"connection_id":50689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":50689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:12:27] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:12:27] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:12:27] local.INFO: IMEI packet received {"connection_id":50690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":50690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:12:31] local.INFO: TCP Data received {"connection_id":50689,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:12:31] local.INFO: Processing buffer {"connection_id":50689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:12:31] local.INFO: IMEI packet received {"connection_id":50689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":50689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:12:31] local.INFO: TCP Data received {"connection_id":50689,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:12:31] local.INFO: Processing buffer {"connection_id":50689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:12:31] local.INFO: Packet analysis {"connection_id":50689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:12:31] local.INFO: Extracted packet for processing {"connection_id":50689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12: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-22 17:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17: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-22 17:12: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-22 17:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:12:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":50689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:12:31] local.INFO: GPS data processed {"connection_id":50689,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:12:31] local.INFO: Acknowledgment sent {"connection_id":50689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:12:32] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:12:32] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:12:32] local.INFO: IMEI packet received {"connection_id":50690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:12:33] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fd5ec8012d181e400721aee8004f00d629..."} 
[2026-04-22 17:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fd5ec8012d181e400721aee8004f00d629..."} 
[2026-04-22 17:12:33] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fd5ec8012d181e400721aee8004f00d629..."} 
[2026-04-22 17:12:33] local.INFO: Packet analysis {"connection_id":50690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fd"} 
[2026-04-22 17:12:33] local.INFO: Extracted packet for processing {"connection_id":50690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fd"} 
[2026-04-22 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875641856001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776857997000,"timestamp_ms":1776857997000,"timestamp_seconds":1776857997,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fd5ec8"} 
[2026-04-22 17:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3036371752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385889052341928,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4227807233,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3064463439,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4011982848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 17:12:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,239,245,45,64,182,79,41,10,66,163,42,81,1,240,58,227,180,33,4,113,205,173,35,168,40,49,2,148,7,106,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 17:12:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836898393925943296,"timestamp_seconds":5836898393925943.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:12:33] 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-22 17:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875641856001,"66":12548,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1738811699260264448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875641856001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:12:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-04-22 17:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875641856001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-04-22 17:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":50690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:12:33] local.INFO: GPS data processed {"connection_id":50690,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:12:33] local.INFO: Acknowledgment sent {"connection_id":50690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:13:02] local.INFO: TCP Data received {"connection_id":50689,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:13:02] local.INFO: Processing buffer {"connection_id":50689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:13:02] local.INFO: Packet analysis {"connection_id":50689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:13:02] local.INFO: Extracted packet for processing {"connection_id":50689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:02] 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-22 17:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17: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-22 17:13: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-22 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:13:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":50689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:13:03] local.INFO: GPS data processed {"connection_id":50689,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:13:03] local.INFO: Acknowledgment sent {"connection_id":50689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:13:04] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fdb0d0012d181e400721aee8004f00d629..."} 
[2026-04-22 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fdb0d0012d181e400721aee8004f00d629..."} 
[2026-04-22 17:13:04] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fdb0d0012d181e400721aee8004f00d629..."} 
[2026-04-22 17:13:04] local.INFO: Packet analysis {"connection_id":50690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fd"} 
[2026-04-22 17:13:04] local.INFO: Extracted packet for processing {"connection_id":50690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fd"} 
[2026-04-22 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875647232001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858018000,"timestamp_ms":1776858018000,"timestamp_seconds":1776858018,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fdb0d0"} 
[2026-04-22 17:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3036392752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4233183233,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3064463439,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4011982848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,239,12,45,128,179,81,42,10,66,245,64,182,79,41,163,1,240,4,227,180,33,113,205,255,35,168,49,2,148,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 17:13:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692785400578310144,"timestamp_seconds":5692785400578310.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:13:04] 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-22 17:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875647232001,"66":12526,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875647232001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:13:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875647232001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":50690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:13:04] local.INFO: GPS data processed {"connection_id":50690,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:13:04] local.INFO: Acknowledgment sent {"connection_id":50690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:13:26] local.INFO: TCP Data received {"connection_id":50818,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:13:26] local.INFO: Processing buffer {"connection_id":50818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:13:26] local.INFO: IMEI packet received {"connection_id":50818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":50818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:13:27] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:13:27] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:13:27] local.INFO: IMEI packet received {"connection_id":50819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:13:31] local.INFO: TCP Data received {"connection_id":50818,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:13:31] local.INFO: Processing buffer {"connection_id":50818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:13:31] local.INFO: IMEI packet received {"connection_id":50818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":50818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:13:31] local.INFO: TCP Data received {"connection_id":50818,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:13:31] local.INFO: Processing buffer {"connection_id":50818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:13:31] local.INFO: Packet analysis {"connection_id":50818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:13:31] local.INFO: Extracted packet for processing {"connection_id":50818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13: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-22 17:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17: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-22 17:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:13:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":50818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:13:31] local.INFO: GPS data processed {"connection_id":50818,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:13:31] local.INFO: Acknowledgment sent {"connection_id":50818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:13:32] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:13:32] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:13:32] local.INFO: IMEI packet received {"connection_id":50819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:13:33] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fe02d8012d181e400721aee8004f00d629..."} 
[2026-04-22 17:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fe02d8012d181e400721aee8004f00d629..."} 
[2026-04-22 17:13:33] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fe02d8012d181e400721aee8004f00d629..."} 
[2026-04-22 17:13:33] local.INFO: Packet analysis {"connection_id":50819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fe"} 
[2026-04-22 17:13:33] local.INFO: Extracted packet for processing {"connection_id":50819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fe"} 
[2026-04-22 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875652608001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858039000,"timestamp_ms":1776858039000,"timestamp_seconds":1776858039,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fe02d8"} 
[2026-04-22 17:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:13:33] 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-22 17:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:13:33] 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-22 17:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875652608001,"66":12526,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875652608001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:13:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875652608001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":50819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:13:33] local.INFO: GPS data processed {"connection_id":50819,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:13:33] local.INFO: Acknowledgment sent {"connection_id":50819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:14:02] local.INFO: TCP Data received {"connection_id":50818,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:14:02] local.INFO: Processing buffer {"connection_id":50818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:14:02] local.INFO: Packet analysis {"connection_id":50818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:14:02] local.INFO: Extracted packet for processing {"connection_id":50818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:02] 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-22 17:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:14: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-22 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:14:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":50818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:14:02] local.INFO: GPS data processed {"connection_id":50818,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:14:02] local.INFO: Acknowledgment sent {"connection_id":50818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:14:04] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fe54e0012d181e400721aee8004f00d628..."} 
[2026-04-22 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fe54e0012d181e400721aee8004f00d628..."} 
[2026-04-22 17:14:04] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fe54e0012d181e400721aee8004f00d628..."} 
[2026-04-22 17:14:04] local.INFO: Packet analysis {"connection_id":50819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fe"} 
[2026-04-22 17:14:04] local.INFO: Extracted packet for processing {"connection_id":50819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fe"} 
[2026-04-22 17:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875657984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858060000,"timestamp_ms":1776858060000,"timestamp_seconds":1776858060,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fe54e0"} 
[2026-04-22 17:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:14:04] 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-22 17:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:14:04] 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-22 17:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875657984001,"66":12558,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875657984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:14:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875657984001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":50819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:14:04] local.INFO: GPS data processed {"connection_id":50819,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:14:04] local.INFO: Acknowledgment sent {"connection_id":50819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:14:26] local.INFO: TCP Data received {"connection_id":50820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:14:26] local.INFO: Processing buffer {"connection_id":50820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:14:26] local.INFO: IMEI packet received {"connection_id":50820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":50820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:14:26] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:14:26] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:14:26] local.INFO: IMEI packet received {"connection_id":50821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":50821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:14:27] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:14:27] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:14:27] local.INFO: IMEI packet received {"connection_id":50821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:14:31] local.INFO: TCP Data received {"connection_id":50691,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:14:31] local.INFO: Processing buffer {"connection_id":50691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:14:31] local.INFO: IMEI packet received {"connection_id":50691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":50691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:14:31] local.INFO: TCP Data received {"connection_id":50820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:14:31] local.INFO: Processing buffer {"connection_id":50820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:14:31] local.INFO: IMEI packet received {"connection_id":50820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":50820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:14:31] local.INFO: TCP Data received {"connection_id":50820,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:14:31] local.INFO: Processing buffer {"connection_id":50820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fc7850012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:14:31] local.INFO: Packet analysis {"connection_id":50820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:14:31] local.INFO: Extracted packet for processing {"connection_id":50820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fc"} 
[2026-04-22 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875555072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14: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-22 17:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776857938000,"timestamp_ms":1776857938000,"timestamp_seconds":1776857938,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fc7850"} 
[2026-04-22 17: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-22 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 17:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:14: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-22 17:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875555072001,"66":25691,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875555072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:14:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875555072001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":50820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:14:31] local.INFO: GPS data processed {"connection_id":50820,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:14:31] local.INFO: Acknowledgment sent {"connection_id":50820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:14:32] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:14:32] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:14:32] local.INFO: IMEI packet received {"connection_id":50821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:14:33] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fea6e8012d181e400721aee8004f00d629..."} 
[2026-04-22 17:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fea6e8012d181e400721aee8004f00d629..."} 
[2026-04-22 17:14:33] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fea6e8012d181e400721aee8004f00d629..."} 
[2026-04-22 17:14:33] local.INFO: Packet analysis {"connection_id":50821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fe"} 
[2026-04-22 17:14:33] local.INFO: Extracted packet for processing {"connection_id":50821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fe"} 
[2026-04-22 17:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875663360001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858081000,"timestamp_ms":1776858081000,"timestamp_seconds":1776858081,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fea6e8"} 
[2026-04-22 17: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-22 17:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3036455752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385889052341928,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4245471233,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3012558929,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4011982848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 17:14:33] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,239,2,45,64,174,79,41,10,66,176,94,1,240,4,227,180,33,113,205,245,35,168,49,148,7,106,206],"length":575,"final_offset":705,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 17:14:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692785396283342848,"timestamp_seconds":5692785396283343.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17: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-22 17:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:14:33] 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-22 17:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875663360001,"66":12548,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875663360001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:14:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875663360001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":50821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:14:33] local.INFO: GPS data processed {"connection_id":50821,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:14:33] local.INFO: Acknowledgment sent {"connection_id":50821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:14:50] local.INFO: TCP Data received {"connection_id":50692,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:14:50] local.INFO: Processing buffer {"connection_id":50692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:14:50] local.INFO: IMEI packet received {"connection_id":50692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":50692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:15:02] local.INFO: TCP Data received {"connection_id":50820,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:15:02] local.INFO: Processing buffer {"connection_id":50820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:15:02] local.INFO: Packet analysis {"connection_id":50820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:15:02] local.INFO: Extracted packet for processing {"connection_id":50820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:02] 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-22 17:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:15: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-22 17:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:15:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":50820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:15:02] local.INFO: GPS data processed {"connection_id":50820,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:15:02] local.INFO: Acknowledgment sent {"connection_id":50820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:15:04] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4fef8f0012d181e400721aee8004f00d629..."} 
[2026-04-22 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4fef8f0012d181e400721aee8004f00d629..."} 
[2026-04-22 17:15:04] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4fef8f0012d181e400721aee8004f00d629..."} 
[2026-04-22 17:15:04] local.INFO: Packet analysis {"connection_id":50821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4fe"} 
[2026-04-22 17:15:04] local.INFO: Extracted packet for processing {"connection_id":50821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4fe"} 
[2026-04-22 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875668736001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858102000,"timestamp_ms":1776858102000,"timestamp_seconds":1776858102,"priority":1,"record_length":96,"hex_timestamp":"0000019db4fef8f0"} 
[2026-04-22 17: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-22 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3036476752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4250847233,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4012638208,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:04] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,239,84,45,64,174,79,40,10,66,2,41,176,1,240,238,227,180,33,4,113,205,12,144,42,49,148,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 17:15:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692785400578310144,"timestamp_seconds":5692785400578310.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17: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-22 17:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:15:04] 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-22 17:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875668736001,"66":12548,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875668736001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:15:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875668736001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":50821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:15:04] local.INFO: GPS data processed {"connection_id":50821,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:15:04] local.INFO: Acknowledgment sent {"connection_id":50821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:15:25] local.INFO: TCP Data received {"connection_id":50433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:15:25] local.INFO: Processing buffer {"connection_id":50433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:15:25] local.INFO: IMEI packet received {"connection_id":50433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":50433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:15:27] local.INFO: TCP Data received {"connection_id":50693,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:15:27] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:15:27] local.INFO: IMEI packet received {"connection_id":50693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:15:29] local.INFO: TCP Data received {"connection_id":50693,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:15:29] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:15:29] local.INFO: IMEI packet received {"connection_id":50693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":50693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:15:31] local.INFO: TCP Data received {"connection_id":50433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:15:31] local.INFO: Processing buffer {"connection_id":50433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:15:31] local.INFO: IMEI packet received {"connection_id":50433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":50433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:15:31] local.INFO: TCP Data received {"connection_id":50433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:15:31] local.INFO: Processing buffer {"connection_id":50433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:15:31] local.INFO: Packet analysis {"connection_id":50433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:15:31] local.INFO: Extracted packet for processing {"connection_id":50433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17: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-22 17:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17: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-22 17:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:15:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":50433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:15:31] local.INFO: GPS data processed {"connection_id":50433,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:15:31] local.INFO: Acknowledgment sent {"connection_id":50433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:15:32] local.INFO: TCP Data received {"connection_id":50693,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:15:32] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:15:32] local.INFO: IMEI packet received {"connection_id":50693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:15:33] local.INFO: TCP Data received {"connection_id":50693,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ff4af8012d181e400721aee8004f00d628..."} 
[2026-04-22 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ff4af8012d181e400721aee8004f00d628..."} 
[2026-04-22 17:15:33] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ff4af8012d181e400721aee8004f00d628..."} 
[2026-04-22 17:15:33] local.INFO: Packet analysis {"connection_id":50693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ff"} 
[2026-04-22 17:15:33] local.INFO: Extracted packet for processing {"connection_id":50693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ff"} 
[2026-04-22 17:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875674112001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858123000,"timestamp_ms":1776858123000,"timestamp_seconds":1776858123,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ff4af8"} 
[2026-04-22 17: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-22 17:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3036482752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4256223233,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2934440015,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4013817856,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 17:15:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,239,166,45,64,174,79,41,10,66,84,40,2,1,240,238,227,180,33,4,113,205,94,30,232,49,148,7,81,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 17:15:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692785400578310144,"timestamp_seconds":5692785400578310.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17: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-22 17:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:15:33] 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-22 17:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875674112001,"66":12526,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875674112001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:15:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875674112001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:15:33] local.INFO: GPS data processed {"connection_id":50693,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:15:33] local.INFO: Acknowledgment sent {"connection_id":50693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:16:03] local.INFO: TCP Data received {"connection_id":50433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:16:03] local.INFO: Processing buffer {"connection_id":50433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:16:03] local.INFO: Packet analysis {"connection_id":50433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:16:03] local.INFO: Extracted packet for processing {"connection_id":50433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16: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-22 17:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17: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-22 17:16: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-22 17:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:16: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-22 17:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":50433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:16:03] local.INFO: GPS data processed {"connection_id":50433,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:16:03] local.INFO: Acknowledgment sent {"connection_id":50433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:16:04] local.INFO: TCP Data received {"connection_id":50693,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ff9d00012d181e400721aee8004f00d629..."} 
[2026-04-22 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ff9d00012d181e400721aee8004f00d629..."} 
[2026-04-22 17:16:04] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ff9d00012d181e400721aee8004f00d629..."} 
[2026-04-22 17:16:04] local.INFO: Packet analysis {"connection_id":50693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ff"} 
[2026-04-22 17:16:04] local.INFO: Extracted packet for processing {"connection_id":50693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ff"} 
[2026-04-22 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875679488001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858144000,"timestamp_ms":1776858144000,"timestamp_seconds":1776858144,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ff9d00"} 
[2026-04-22 17: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-22 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:16:04] 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-22 17: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-22 17: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-22 17:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:16:04] 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-22 17:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875679488001,"66":12526,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875679488001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:16:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875679488001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":50693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:16:04] local.INFO: GPS data processed {"connection_id":50693,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:16:04] local.INFO: Acknowledgment sent {"connection_id":50693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:16:31] local.INFO: TCP Data received {"connection_id":51373,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:16:31] local.INFO: Processing buffer {"connection_id":51373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:16:31] local.INFO: IMEI packet received {"connection_id":51373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":51373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:16:32] local.INFO: TCP Data received {"connection_id":51374,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:16:32] local.INFO: Processing buffer {"connection_id":51374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:16:32] local.INFO: IMEI packet received {"connection_id":51374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":51374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:16:33] local.INFO: TCP Data received {"connection_id":51374,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:16:33] local.INFO: Processing buffer {"connection_id":51374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:16:33] local.INFO: IMEI packet received {"connection_id":51374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":51374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:16:36] local.INFO: TCP Data received {"connection_id":51373,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:16:36] local.INFO: Processing buffer {"connection_id":51373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:16:36] local.INFO: IMEI packet received {"connection_id":51373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":51373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:16:37] local.INFO: TCP Data received {"connection_id":51373,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:16:37] local.INFO: Processing buffer {"connection_id":51373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:16:37] local.INFO: Packet analysis {"connection_id":51373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:16:37] local.INFO: Extracted packet for processing {"connection_id":51373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:37] 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-22 17:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17: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-22 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:16:37] 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-22 17:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:16:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":51373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:16:37] local.INFO: GPS data processed {"connection_id":51373,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:16:37] local.INFO: Acknowledgment sent {"connection_id":51373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:16:37] local.INFO: TCP Data received {"connection_id":51374,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:16:37] local.INFO: Processing buffer {"connection_id":51374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:16:37] local.INFO: IMEI packet received {"connection_id":51374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":51374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:16:38] local.INFO: TCP Data received {"connection_id":51374,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db4ffef08012d181e400721aee8004f00d629..."} 
[2026-04-22 17:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db4ffef08012d181e400721aee8004f00d629..."} 
[2026-04-22 17:16:38] local.INFO: Processing buffer {"connection_id":51374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db4ffef08012d181e400721aee8004f00d629..."} 
[2026-04-22 17:16:38] local.INFO: Packet analysis {"connection_id":51374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db4ff"} 
[2026-04-22 17:16:38] local.INFO: Extracted packet for processing {"connection_id":51374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db4ff"} 
[2026-04-22 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875684864001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776858165000,"timestamp_ms":1776858165000,"timestamp_seconds":1776858165,"priority":1,"record_length":96,"hex_timestamp":"0000019db4ffef08"} 
[2026-04-22 17:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:16:38] 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-22 17:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875684864001,"66":12504,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875684864001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:16:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875684864001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":51374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:16:38] local.INFO: GPS data processed {"connection_id":51374,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:16:38] local.INFO: Acknowledgment sent {"connection_id":51374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:16:41] local.INFO: TCP Data received {"connection_id":51373,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:16:41] local.INFO: Processing buffer {"connection_id":51373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:16:41] local.INFO: Packet analysis {"connection_id":51373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:16:41] local.INFO: Extracted packet for processing {"connection_id":51373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:41] 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-22 17:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 17:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:16:41] 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-22 17:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:16:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":51373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:16:41] local.INFO: GPS data processed {"connection_id":51373,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:16:41] local.INFO: Acknowledgment sent {"connection_id":51373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:16:42] local.INFO: TCP Data received {"connection_id":51374,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5004110012d181e400721aee8004f00d627..."} 
[2026-04-22 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5004110012d181e400721aee8004f00d627..."} 
[2026-04-22 17:16:42] local.INFO: Processing buffer {"connection_id":51374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5004110012d181e400721aee8004f00d627..."} 
[2026-04-22 17:16:42] local.INFO: Packet analysis {"connection_id":51374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db500"} 
[2026-04-22 17:16:42] local.INFO: Extracted packet for processing {"connection_id":51374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db500"} 
[2026-04-22 17:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875690240001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776858186000,"timestamp_ms":1776858186000,"timestamp_seconds":1776858186,"priority":1,"record_length":96,"hex_timestamp":"0000019db5004110"} 
[2026-04-22 17: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-22 17:16: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-22 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:16:42] 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-22 17:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875690240001,"66":12504,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875690240001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:16:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875690240001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":51374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:16:43] local.INFO: GPS data processed {"connection_id":51374,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:16:43] local.INFO: Acknowledgment sent {"connection_id":51374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:17:26] local.INFO: TCP Data received {"connection_id":50434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:17:26] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:17:26] local.INFO: IMEI packet received {"connection_id":50434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":50434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:17:27] local.INFO: TCP Data received {"connection_id":51375,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:17:27] local.INFO: Processing buffer {"connection_id":51375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:17:27] local.INFO: IMEI packet received {"connection_id":51375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":51375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:17:31] local.INFO: TCP Data received {"connection_id":50434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:17:31] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:17:31] local.INFO: IMEI packet received {"connection_id":50434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":50434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:17:31] local.INFO: TCP Data received {"connection_id":50434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:17:31] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:17:31] local.INFO: Packet analysis {"connection_id":50434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:17:31] local.INFO: Extracted packet for processing {"connection_id":50434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:17: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-22 17:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17: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-22 17:17: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-22 17:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17: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-22 17:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:17:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":50434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:17:31] local.INFO: GPS data processed {"connection_id":50434,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:17:31] local.INFO: Acknowledgment sent {"connection_id":50434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:17:32] local.INFO: TCP Data received {"connection_id":51375,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:17:32] local.INFO: Processing buffer {"connection_id":51375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:17:32] local.INFO: IMEI packet received {"connection_id":51375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":51375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:17:33] local.INFO: TCP Data received {"connection_id":51375,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5009318012d181e400721aee8004f00d629..."} 
[2026-04-22 17:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5009318012d181e400721aee8004f00d629..."} 
[2026-04-22 17:17:33] local.INFO: Processing buffer {"connection_id":51375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5009318012d181e400721aee8004f00d629..."} 
[2026-04-22 17:17:33] local.INFO: Packet analysis {"connection_id":51375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db500"} 
[2026-04-22 17:17:33] local.INFO: Extracted packet for processing {"connection_id":51375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db500"} 
[2026-04-22 17:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875695616001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858207000,"timestamp_ms":1776858207000,"timestamp_seconds":1776858207,"priority":1,"record_length":96,"hex_timestamp":"0000019db5009318"} 
[2026-04-22 17:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:17:33] 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-22 17:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875695616001,"66":12504,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875695616001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:17:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875695616001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":51375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:17:33] local.INFO: GPS data processed {"connection_id":51375,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:17:33] local.INFO: Acknowledgment sent {"connection_id":51375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:18:02] local.INFO: TCP Data received {"connection_id":50434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:18:02] local.INFO: Processing buffer {"connection_id":50434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:18:02] local.INFO: Packet analysis {"connection_id":50434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:18:02] local.INFO: Extracted packet for processing {"connection_id":50434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:02] 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-22 17:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:18: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-22 17:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:18:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":50434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:18:02] local.INFO: GPS data processed {"connection_id":50434,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:18:02] local.INFO: Acknowledgment sent {"connection_id":50434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:18:04] local.INFO: TCP Data received {"connection_id":51375,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db500e520012d181e400721aee8004f00d629..."} 
[2026-04-22 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db500e520012d181e400721aee8004f00d629..."} 
[2026-04-22 17:18:04] local.INFO: Processing buffer {"connection_id":51375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db500e520012d181e400721aee8004f00d629..."} 
[2026-04-22 17:18:04] local.INFO: Packet analysis {"connection_id":51375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db500"} 
[2026-04-22 17:18:04] local.INFO: Extracted packet for processing {"connection_id":51375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db500"} 
[2026-04-22 17:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875700992001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858228000,"timestamp_ms":1776858228000,"timestamp_seconds":1776858228,"priority":1,"record_length":96,"hex_timestamp":"0000019db500e520"} 
[2026-04-22 17:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:18:04] 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-22 17:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875700992001,"66":12461,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875700992001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:18:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875700992001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":51375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:18:04] local.INFO: GPS data processed {"connection_id":51375,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:18:04] local.INFO: Acknowledgment sent {"connection_id":51375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:18:25] local.INFO: TCP Data received {"connection_id":50824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:18:25] local.INFO: Processing buffer {"connection_id":50824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:18:25] local.INFO: IMEI packet received {"connection_id":50824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":50824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:18:27] local.INFO: TCP Data received {"connection_id":50694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:18:27] local.INFO: Processing buffer {"connection_id":50694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:18:27] local.INFO: IMEI packet received {"connection_id":50694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:18:31] local.INFO: TCP Data received {"connection_id":50824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:18:31] local.INFO: Processing buffer {"connection_id":50824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:18:31] local.INFO: IMEI packet received {"connection_id":50824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":50824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:18:31] local.INFO: TCP Data received {"connection_id":50824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:18:31] local.INFO: Processing buffer {"connection_id":50824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:18:31] local.INFO: Packet analysis {"connection_id":50824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:18:31] local.INFO: Extracted packet for processing {"connection_id":50824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18: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-22 17:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17: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-22 17: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-22 17:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17: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-22 17:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:18:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":50824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:18:31] local.INFO: GPS data processed {"connection_id":50824,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:18:31] local.INFO: Acknowledgment sent {"connection_id":50824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:18:32] local.INFO: TCP Data received {"connection_id":50694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:18:32] local.INFO: Processing buffer {"connection_id":50694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:18:32] local.INFO: IMEI packet received {"connection_id":50694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:18:33] local.INFO: TCP Data received {"connection_id":50694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5013728012d181e400721aee8004f00d625..."} 
[2026-04-22 17:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5013728012d181e400721aee8004f00d625..."} 
[2026-04-22 17:18:33] local.INFO: Processing buffer {"connection_id":50694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5013728012d181e400721aee8004f00d625..."} 
[2026-04-22 17:18:33] local.INFO: Packet analysis {"connection_id":50694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:18:33] local.INFO: Extracted packet for processing {"connection_id":50694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875706368001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858249000,"timestamp_ms":1776858249000,"timestamp_seconds":1776858249,"priority":1,"record_length":96,"hex_timestamp":"0000019db5013728"} 
[2026-04-22 17: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-22 17:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 17:18:33] 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-22 17: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-22 17: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-22 17:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:18:33] 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-22 17:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875706368001,"66":12461,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875706368001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:18:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875706368001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":50694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:18:33] local.INFO: GPS data processed {"connection_id":50694,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:18:33] local.INFO: Acknowledgment sent {"connection_id":50694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:19:02] local.INFO: TCP Data received {"connection_id":50824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:19:02] local.INFO: Processing buffer {"connection_id":50824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:19:02] local.INFO: Packet analysis {"connection_id":50824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:19:02] local.INFO: Extracted packet for processing {"connection_id":50824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:02] 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-22 17:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:19: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-22 17:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:19: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-22 17:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":50824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:19:02] local.INFO: GPS data processed {"connection_id":50824,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:19:02] local.INFO: Acknowledgment sent {"connection_id":50824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:19:04] local.INFO: TCP Data received {"connection_id":50694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5018930012d181e400721aee8004f00d628..."} 
[2026-04-22 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5018930012d181e400721aee8004f00d628..."} 
[2026-04-22 17:19:04] local.INFO: Processing buffer {"connection_id":50694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5018930012d181e400721aee8004f00d628..."} 
[2026-04-22 17:19:04] local.INFO: Packet analysis {"connection_id":50694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:19:04] local.INFO: Extracted packet for processing {"connection_id":50694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875711744001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858270000,"timestamp_ms":1776858270000,"timestamp_seconds":1776858270,"priority":1,"record_length":96,"hex_timestamp":"0000019db5018930"} 
[2026-04-22 17: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-22 17:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 17:19:04] 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-22 17: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-22 17: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-22 17:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:19:04] 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-22 17:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875711744001,"66":12504,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875711744001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:19:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875711744001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":50694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:19:04] local.INFO: GPS data processed {"connection_id":50694,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:19:04] local.INFO: Acknowledgment sent {"connection_id":50694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:19:25] local.INFO: TCP Data received {"connection_id":50436,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:19:25] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:19:25] local.INFO: IMEI packet received {"connection_id":50436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":50436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:19:27] local.INFO: TCP Data received {"connection_id":51377,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:19:27] local.INFO: Processing buffer {"connection_id":51377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:19:27] local.INFO: IMEI packet received {"connection_id":51377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":51377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:19:30] local.INFO: TCP Data received {"connection_id":50436,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:19:30] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:19:30] local.INFO: IMEI packet received {"connection_id":50436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":50436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:19:31] local.INFO: TCP Data received {"connection_id":50436,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:19:31] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5011018012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:19:31] local.INFO: Packet analysis {"connection_id":50436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:19:31] local.INFO: Extracted packet for processing {"connection_id":50436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875632128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19: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-22 17:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776858239000,"timestamp_ms":1776858239000,"timestamp_seconds":1776858239,"priority":1,"record_length":96,"hex_timestamp":"0000019db5011018"} 
[2026-04-22 17: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-22 17:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 17:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17: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-22 17:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875632128001,"66":25625,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875632128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:19:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875632128001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":50436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:19:31] local.INFO: GPS data processed {"connection_id":50436,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:19:31] local.INFO: Acknowledgment sent {"connection_id":50436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:19:32] local.INFO: TCP Data received {"connection_id":51377,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:19:32] local.INFO: Processing buffer {"connection_id":51377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:19:32] local.INFO: IMEI packet received {"connection_id":51377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":51377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:19:33] local.INFO: TCP Data received {"connection_id":51377,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db501db38012d181e400721aee8004f00d628..."} 
[2026-04-22 17:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db501db38012d181e400721aee8004f00d628..."} 
[2026-04-22 17:19:33] local.INFO: Processing buffer {"connection_id":51377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db501db38012d181e400721aee8004f00d628..."} 
[2026-04-22 17:19:33] local.INFO: Packet analysis {"connection_id":51377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:19:33] local.INFO: Extracted packet for processing {"connection_id":51377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db501"} 
[2026-04-22 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875717120001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858291000,"timestamp_ms":1776858291000,"timestamp_seconds":1776858291,"priority":1,"record_length":96,"hex_timestamp":"0000019db501db38"} 
[2026-04-22 17:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:19:33] 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-22 17:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875717120001,"66":12428,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875717120001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:19:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875717120001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":51377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:19:33] local.INFO: GPS data processed {"connection_id":51377,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:19:33] local.INFO: Acknowledgment sent {"connection_id":51377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:20:02] local.INFO: TCP Data received {"connection_id":50436,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:20:02] local.INFO: Processing buffer {"connection_id":50436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:20:02] local.INFO: Packet analysis {"connection_id":50436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:02] local.INFO: Extracted packet for processing {"connection_id":50436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:02] 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-22 17:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17: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-22 17:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:20: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-22 17: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-22 17: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-22 17:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:20: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-22 17:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:20:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":50436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:20:02] local.INFO: GPS data processed {"connection_id":50436,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:20:02] local.INFO: Acknowledgment sent {"connection_id":50436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:20:04] local.INFO: TCP Data received {"connection_id":51377,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5056190012d181e400721aee8004f00d626..."} 
[2026-04-22 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5056190012d181e400721aee8004f00d626..."} 
[2026-04-22 17:20:04] local.INFO: Processing buffer {"connection_id":51377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5056190012d181e400721aee8004f00d626..."} 
[2026-04-22 17:20:04] local.INFO: Packet analysis {"connection_id":51377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:04] local.INFO: Extracted packet for processing {"connection_id":51377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 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-22 17:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875776256001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858522000,"timestamp_ms":1776858522000,"timestamp_seconds":1776858522,"priority":1,"record_length":96,"hex_timestamp":"0000019db5056190"} 
[2026-04-22 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-22 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 17:20:04] 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-22 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-22 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-22 17:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:20:04] 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-22 17:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875776256001,"66":12428,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875776256001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:20:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875776256001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":51377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:20:04] local.INFO: GPS data processed {"connection_id":51377,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:20:04] local.INFO: Acknowledgment sent {"connection_id":51377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:20:16] local.INFO: TCP Data received {"connection_id":50825,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:20:16] local.INFO: Processing buffer {"connection_id":50825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:20:16] local.INFO: IMEI packet received {"connection_id":50825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":50825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:20:27] local.INFO: TCP Data received {"connection_id":51378,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:20:27] local.INFO: Processing buffer {"connection_id":51378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:20:27] local.INFO: IMEI packet received {"connection_id":51378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":51378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:20:28] local.INFO: TCP Data received {"connection_id":51378,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:20:28] local.INFO: Processing buffer {"connection_id":51378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:20:28] local.INFO: IMEI packet received {"connection_id":51378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":51378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:20:30] local.INFO: TCP Data received {"connection_id":50437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:20:30] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:20:30] local.INFO: IMEI packet received {"connection_id":50437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":50437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:20:31] local.INFO: TCP Data received {"connection_id":51378,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:20:31] local.INFO: Processing buffer {"connection_id":51378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:20:31] local.INFO: IMEI packet received {"connection_id":51378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":51378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:20:32] local.INFO: TCP Data received {"connection_id":51378,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db505b398012d181e400721aee8004f00d627..."} 
[2026-04-22 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505b398012d181e400721aee8004f00d627..."} 
[2026-04-22 17:20:32] local.INFO: Processing buffer {"connection_id":51378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505b398012d181e400721aee8004f00d627..."} 
[2026-04-22 17:20:32] local.INFO: Packet analysis {"connection_id":51378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:32] local.INFO: Extracted packet for processing {"connection_id":51378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875781632001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776858543000,"timestamp_ms":1776858543000,"timestamp_seconds":1776858543,"priority":1,"record_length":96,"hex_timestamp":"0000019db505b398"} 
[2026-04-22 17: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-22 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 17:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:20:32] 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-22 17:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875781632001,"66":13852,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875781632001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:20:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875781632001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":51378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:20:32] local.INFO: GPS data processed {"connection_id":51378,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:20:32] local.INFO: Acknowledgment sent {"connection_id":51378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:20:35] local.INFO: TCP Data received {"connection_id":50437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:20:35] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:20:35] local.INFO: IMEI packet received {"connection_id":50437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":50437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:20:36] local.INFO: TCP Data received {"connection_id":50437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:20:36] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:20:36] local.INFO: Packet analysis {"connection_id":50437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:36] local.INFO: Extracted packet for processing {"connection_id":50437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20: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-22 17:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:20: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-22 17:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:20: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-22 17:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:20:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":50437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:20:36] local.INFO: GPS data processed {"connection_id":50437,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:20:36] local.INFO: Acknowledgment sent {"connection_id":50437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:20:41] local.INFO: TCP Data received {"connection_id":50437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:20:41] local.INFO: Processing buffer {"connection_id":50437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:20:41] local.INFO: Packet analysis {"connection_id":50437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:41] local.INFO: Extracted packet for processing {"connection_id":50437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:20:41] 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-22 17:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 17:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:20:41] local.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-22 17:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:20:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":50437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:20:41] local.INFO: GPS data processed {"connection_id":50437,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:20:41] local.INFO: Acknowledgment sent {"connection_id":50437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:20:50] local.INFO: TCP Data received {"connection_id":51379,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:20:50] local.INFO: Processing buffer {"connection_id":51379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:20:50] local.INFO: IMEI packet received {"connection_id":51379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":51379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:21:03] local.INFO: TCP Data received {"connection_id":51378,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50605a0012d181e400721aee8004f00d627..."} 
[2026-04-22 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50605a0012d181e400721aee8004f00d627..."} 
[2026-04-22 17:21:03] local.INFO: Processing buffer {"connection_id":51378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50605a0012d181e400721aee8004f00d627..."} 
[2026-04-22 17:21:03] local.INFO: Packet analysis {"connection_id":51378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db506"} 
[2026-04-22 17:21:03] local.INFO: Extracted packet for processing {"connection_id":51378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db506"} 
[2026-04-22 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647976,"longitude_deg":75.6555328,"latitude_deg":11.9647976,"altitude":79,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875787008001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113978940158115840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585649664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776858564000,"timestamp_ms":1776858564000,"timestamp_seconds":1776858564,"priority":1,"record_length":96,"hex_timestamp":"0000019db50605a0"} 
[2026-04-22 17: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-22 17:21:03] 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-22 17: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 17:21:03] 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-22 17: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-22 17: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-22 17:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:21:03] 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-22 17:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875787008001,"66":14135,"105":206,"83":41984,"24":0,"16":113978940158115840,"45":1737896905585649664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875787008001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:21:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113978940158115840,"km_value":113978940158115.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585649664,"description":"Unknown IO ID 45"} 
[2026-04-22 17:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875787008001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585649664}} 
[2026-04-22 17:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":51378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:21:03] local.INFO: GPS data processed {"connection_id":51378,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:21:03] local.INFO: Acknowledgment sent {"connection_id":51378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:21:26] local.INFO: TCP Data received {"connection_id":51380,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:21:26] local.INFO: Processing buffer {"connection_id":51380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:21:26] local.INFO: IMEI packet received {"connection_id":51380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":51380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:21:27] local.INFO: TCP Data received {"connection_id":50695,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:21:27] local.INFO: Processing buffer {"connection_id":50695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:21:27] local.INFO: IMEI packet received {"connection_id":50695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":50695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:21:31] local.INFO: TCP Data received {"connection_id":51380,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:21:31] local.INFO: Processing buffer {"connection_id":51380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:21:31] local.INFO: IMEI packet received {"connection_id":51380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":51380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:21:32] local.INFO: TCP Data received {"connection_id":51380,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:21:32] local.INFO: Processing buffer {"connection_id":51380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:21:32] local.INFO: Packet analysis {"connection_id":51380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:21:32] local.INFO: Extracted packet for processing {"connection_id":51380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:21: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-22 17:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17: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-22 17: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-22 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:21: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-22 17: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-22 17: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-22 17:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:21:32] 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-22 17:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:21:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":51380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:21:32] local.INFO: GPS data processed {"connection_id":51380,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:21:32] local.INFO: Acknowledgment sent {"connection_id":51380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:21:32] local.INFO: TCP Data received {"connection_id":50695,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:21:32] local.INFO: Processing buffer {"connection_id":50695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:21:32] local.INFO: IMEI packet received {"connection_id":50695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:21:33] local.INFO: TCP Data received {"connection_id":50695,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5070770012d18598007218618004e007525..."} 
[2026-04-22 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5070770012d18598007218618004e007525..."} 
[2026-04-22 17:21:33] local.INFO: Processing buffer {"connection_id":50695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5070770012d18598007218618004e007525..."} 
[2026-04-22 17:21:33] local.INFO: Packet analysis {"connection_id":50695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db507"} 
[2026-04-22 17:21:33] local.INFO: Extracted packet for processing {"connection_id":50695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db507"} 
[2026-04-22 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756570496,"raw_latitude":119637528,"longitude_deg":75.6570496,"latitude_deg":11.9637528,"altitude":78,"angle":117,"satellites":37,"speed":36,"hex_longitude":"2d185980","hex_latitude":"07218618","is_valid_coordinates":true} 
[2026-04-22 17:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875806720001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113979889345888256,"note":"Value kept but may cause issues"} 
[2026-04-22 17:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745355992466786304,"note":"Value kept but may cause issues"} 
[2026-04-22 17:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858630000,"timestamp_ms":1776858630000,"timestamp_seconds":1776858630,"priority":1,"record_length":96,"hex_timestamp":"0000019db5070770"} 
[2026-04-22 17:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 17:21:33] 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-22 17:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:21:33] 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-22 17:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875806720001,"66":14265,"105":206,"83":41984,"24":36,"16":113979889345888256,"45":1745355992466786304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875806720001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:21:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113979889345888256,"km_value":113979889345888.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745355992466786304,"description":"Unknown IO ID 45"} 
[2026-04-22 17:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875806720001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1745355992466786304}} 
[2026-04-22 17:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":50695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:21:33] local.INFO: GPS data processed {"connection_id":50695,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:21:33] local.INFO: Acknowledgment sent {"connection_id":50695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:22:03] local.INFO: TCP Data received {"connection_id":51380,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:22:03] local.INFO: Processing buffer {"connection_id":51380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:22:03] local.INFO: Packet analysis {"connection_id":51380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:22:03] local.INFO: Extracted packet for processing {"connection_id":51380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22: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-22 17:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:22: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-22 17:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:22: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-22 17:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:22: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-22 17:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:22:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:22:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":51380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:22:03] local.INFO: GPS data processed {"connection_id":51380,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:22:03] local.INFO: Acknowledgment sent {"connection_id":51380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:22:05] local.INFO: TCP Data received {"connection_id":50695,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5070f40012d18600007218320004d006a24..."} 
[2026-04-22 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5070f40012d18600007218320004d006a24..."} 
[2026-04-22 17:22:05] local.INFO: Processing buffer {"connection_id":50695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5070f40012d18600007218320004d006a24..."} 
[2026-04-22 17:22:05] local.INFO: Packet analysis {"connection_id":50695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db507"} 
[2026-04-22 17:22:05] local.INFO: Extracted packet for processing {"connection_id":50695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db507"} 
[2026-04-22 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756572160,"raw_latitude":119636768,"longitude_deg":75.657216,"latitude_deg":11.9636768,"altitude":77,"angle":106,"satellites":36,"speed":35,"hex_longitude":"2d186000","hex_latitude":"07218320","is_valid_coordinates":true} 
[2026-04-22 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875809280001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113979979540201472,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297953081344,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22: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-22 17:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776858632000,"timestamp_ms":1776858632000,"timestamp_seconds":1776858632,"priority":1,"record_length":96,"hex_timestamp":"0000019db5070f40"} 
[2026-04-22 17:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 17:22:05] 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-22 17:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:22:05] 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-22 17:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875809280001,"66":14265,"106":206,"83":41984,"24":35,"16":113979979540201472,"45":1754574297953081344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875809280001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:22:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113979979540201472,"km_value":113979979540201.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297953081344,"description":"Unknown IO ID 45"} 
[2026-04-22 17:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875809280001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1754574297953081344}} 
[2026-04-22 17:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":50695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:22:05] local.INFO: GPS data processed {"connection_id":50695,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:22:05] local.INFO: Acknowledgment sent {"connection_id":50695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:22:26] local.INFO: TCP Data received {"connection_id":50438,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:22:26] local.INFO: Processing buffer {"connection_id":50438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:22:26] local.INFO: IMEI packet received {"connection_id":50438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":50438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:22:31] local.INFO: TCP Data received {"connection_id":50438,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:22:31] local.INFO: Processing buffer {"connection_id":50438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:22:31] local.INFO: IMEI packet received {"connection_id":50438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":50438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:22:31] local.INFO: TCP Data received {"connection_id":50438,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:22:31] local.INFO: Processing buffer {"connection_id":50438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:22:31] local.INFO: Packet analysis {"connection_id":50438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:22:31] local.INFO: Extracted packet for processing {"connection_id":50438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22: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-22 17:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17: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-22 17:22: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-22 17:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:22: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-22 17: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-22 17: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-22 17:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:22:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":50438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:22:31] local.INFO: GPS data processed {"connection_id":50438,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:22:31] local.INFO: Acknowledgment sent {"connection_id":50438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:22:32] local.INFO: TCP Data received {"connection_id":51381,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:22:32] local.INFO: Processing buffer {"connection_id":51381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:22:32] local.INFO: IMEI packet received {"connection_id":51381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":51381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:22:33] local.INFO: TCP Data received {"connection_id":51381,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:22:33] local.INFO: Processing buffer {"connection_id":51381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:22:33] local.INFO: IMEI packet received {"connection_id":51381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":51381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:22:34] local.INFO: TCP Data received {"connection_id":51381,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db507f9a0012d18d24007212440004200ac25..."} 
[2026-04-22 17:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db507f9a0012d18d24007212440004200ac25..."} 
[2026-04-22 17:22:34] local.INFO: Processing buffer {"connection_id":51381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db507f9a0012d18d24007212440004200ac25..."} 
[2026-04-22 17:22:34] local.INFO: Packet analysis {"connection_id":51381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db507"} 
[2026-04-22 17:22:34] local.INFO: Extracted packet for processing {"connection_id":51381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db507"} 
[2026-04-22 17:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119612480,"longitude_deg":75.6601408,"latitude_deg":11.961248,"altitude":66,"angle":172,"satellites":37,"speed":37,"hex_longitude":"2d18d240","hex_latitude":"07212440","is_valid_coordinates":true} 
[2026-04-22 17:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875823616001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113982049714438144,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757851158528,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22: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-22 17:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776858692000,"timestamp_ms":1776858692000,"timestamp_seconds":1776858692,"priority":1,"record_length":96,"hex_timestamp":"0000019db507f9a0"} 
[2026-04-22 17:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:22: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-22 17:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 17:22:34] 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-22 17:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:22:34] 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-22 17:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875823616001,"66":14396,"106":206,"83":41984,"24":37,"16":113982049714438144,"45":1785958757851158528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875823616001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:22:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113982049714438144,"km_value":113982049714438.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757851158528,"description":"Unknown IO ID 45"} 
[2026-04-22 17:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875823616001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1785958757851158528}} 
[2026-04-22 17:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":51381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:22:34] local.INFO: GPS data processed {"connection_id":51381,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:22:34] local.INFO: Acknowledgment sent {"connection_id":51381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:22:36] local.INFO: TCP Data received {"connection_id":51381,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50820b0012d18d7400720ff00003b009c24..."} 
[2026-04-22 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50820b0012d18d7400720ff00003b009c24..."} 
[2026-04-22 17:22:36] local.INFO: Processing buffer {"connection_id":51381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50820b0012d18d7400720ff00003b009c24..."} 
[2026-04-22 17:22:36] local.INFO: Packet analysis {"connection_id":51381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db508"} 
[2026-04-22 17:22:36] local.INFO: Extracted packet for processing {"connection_id":51381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db508"} 
[2026-04-22 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602944,"longitude_deg":75.6602688,"latitude_deg":11.9602944,"altitude":59,"angle":156,"satellites":36,"speed":38,"hex_longitude":"2d18d740","hex_latitude":"0720ff00","is_valid_coordinates":true} 
[2026-04-22 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875825152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113982517865873408,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384480768,"note":"Value kept but may cause issues"} 
[2026-04-22 17:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776858702000,"timestamp_ms":1776858702000,"timestamp_seconds":1776858702,"priority":1,"record_length":96,"hex_timestamp":"0000019db50820b0"} 
[2026-04-22 17:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 17:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:22:36] 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-22 17:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875825152001,"66":13928,"106":206,"83":41984,"24":38,"16":113982517865873408,"45":1788562401384480768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875825152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:22:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113982517865873408,"km_value":113982517865873.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384480768,"description":"Unknown IO ID 45"} 
[2026-04-22 17:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875825152001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1788562401384480768}} 
[2026-04-22 17:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":51381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:22:37] local.INFO: GPS data processed {"connection_id":51381,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:22:37] local.INFO: Acknowledgment sent {"connection_id":51381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:23:02] local.INFO: TCP Data received {"connection_id":50438,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:23:02] local.INFO: Processing buffer {"connection_id":50438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:23:02] local.INFO: Packet analysis {"connection_id":50438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:23:02] local.INFO: Extracted packet for processing {"connection_id":50438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:02] 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-22 17:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:23: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-22 17:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:23:02] local.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-22 17:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:23:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":50438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:23:02] local.INFO: GPS data processed {"connection_id":50438,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:23:02] local.INFO: Acknowledgment sent {"connection_id":50438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:23:10] local.INFO: TCP Data received {"connection_id":51381,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50820b0012d18d7400720ff00003b009c24..."} 
[2026-04-22 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50820b0012d18d7400720ff00003b009c24..."} 
[2026-04-22 17:23:10] local.INFO: Processing buffer {"connection_id":51381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50820b0012d18d7400720ff00003b009c24..."} 
[2026-04-22 17:23:10] local.INFO: Packet analysis {"connection_id":51381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db508"} 
[2026-04-22 17:23:10] local.INFO: Extracted packet for processing {"connection_id":51381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db508"} 
[2026-04-22 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602944,"longitude_deg":75.6602688,"latitude_deg":11.9602944,"altitude":59,"angle":156,"satellites":36,"speed":38,"hex_longitude":"2d18d740","hex_latitude":"0720ff00","is_valid_coordinates":true} 
[2026-04-22 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875827712001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113982517865873408,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265592832,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23: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-22 17:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776858702000,"timestamp_ms":1776858702000,"timestamp_seconds":1776858702,"priority":1,"record_length":96,"hex_timestamp":"0000019db50820b0"} 
[2026-04-22 17:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 17:23:10] 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-22 17:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":51381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":51381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":51381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875827712001,"66":13928,"106":206,"83":41984,"24":38,"16":113982517865873408,"45":1789969776265592832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875827712001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:23:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113982517865873408,"km_value":113982517865873.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265592832,"description":"Unknown IO ID 45"} 
[2026-04-22 17:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875827712001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1789969776265592832}} 
[2026-04-22 17:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":51381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:23:10] local.INFO: GPS data processed {"connection_id":51381,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:23:10] local.INFO: Acknowledgment sent {"connection_id":51381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:23:25] local.INFO: TCP Data received {"connection_id":50697,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:23:25] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:23:25] local.INFO: IMEI packet received {"connection_id":50697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":50697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:23:26] local.INFO: TCP Data received {"connection_id":50698,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:23:26] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:23:26] local.INFO: IMEI packet received {"connection_id":50698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":50698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:23:27] local.INFO: TCP Data received {"connection_id":50697,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:23:27] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:23:27] local.INFO: IMEI packet received {"connection_id":50697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":50697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:23:31] local.INFO: TCP Data received {"connection_id":50698,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:23:31] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:23:31] local.INFO: IMEI packet received {"connection_id":50698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":50698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:23:32] local.INFO: TCP Data received {"connection_id":50698,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:23:32] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:23:32] local.INFO: Packet analysis {"connection_id":50698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:23:32] local.INFO: Extracted packet for processing {"connection_id":50698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23: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-22 17:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17: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-22 17:23: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-22 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:23: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-22 17: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-22 17: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-22 17:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:23:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":50698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:23:32] local.INFO: GPS data processed {"connection_id":50698,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:23:32] local.INFO: Acknowledgment sent {"connection_id":50698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:23:32] local.INFO: TCP Data received {"connection_id":50697,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:23:32] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:23:32] local.INFO: IMEI packet received {"connection_id":50697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:23:33] local.INFO: TCP Data received {"connection_id":50697,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db508c0d8012d195c400720aaa00028006225..."} 
[2026-04-22 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db508c0d8012d195c400720aaa00028006225..."} 
[2026-04-22 17:23:33] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db508c0d8012d195c400720aaa00028006225..."} 
[2026-04-22 17:23:33] local.INFO: Packet analysis {"connection_id":50697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db508"} 
[2026-04-22 17:23:33] local.INFO: Extracted packet for processing {"connection_id":50697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db508"} 
[2026-04-22 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119581344,"longitude_deg":75.6636736,"latitude_deg":11.9581344,"altitude":40,"angle":98,"satellites":37,"speed":7,"hex_longitude":"2d195c40","hex_latitude":"0720aaa0","is_valid_coordinates":true} 
[2026-04-22 17:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875837696001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113984523615600640,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826631891976622080,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23: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-22 17:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858743000,"timestamp_ms":1776858743000,"timestamp_seconds":1776858743,"priority":1,"record_length":96,"hex_timestamp":"0000019db508c0d8"} 
[2026-04-22 17:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940854328,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3037221752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505338871873536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84751345185661166,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":48,"raw_value":15763230727087616,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4079878144,"note":"Value kept but may cause issues"} 
[2026-04-22 17:23:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,244,173,45,170,39,33,10,66,161,40,34,149,192,1,240,250,227,243,181,32,4,113,205,52,95,254,48,38,239,53,2,148,7,206],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 17:23:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810335373951369216,"timestamp_seconds":2810335373951369.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:23:33] 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-22 17:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875837696001,"66":14298,"106":206,"83":41984,"24":7,"16":113984523615600640,"45":1826631891976622080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875837696001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:23:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113984523615600640,"km_value":113984523615600.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826631891976622080,"description":"Unknown IO ID 45"} 
[2026-04-22 17:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875837696001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1826631891976622080}} 
[2026-04-22 17:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:23:33] local.INFO: GPS data processed {"connection_id":50697,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:23:33] local.INFO: Acknowledgment sent {"connection_id":50697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:24:03] local.INFO: TCP Data received {"connection_id":50698,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:24:03] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:24:03] local.INFO: Packet analysis {"connection_id":50698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:24:03] local.INFO: Extracted packet for processing {"connection_id":50698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24: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-22 17:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:24: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-22 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:24: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-22 17:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:24:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":50698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:24:03] local.INFO: GPS data processed {"connection_id":50698,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:24:03] local.INFO: Acknowledgment sent {"connection_id":50698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:24:04] local.INFO: TCP Data received {"connection_id":50697,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50912e0012d195bc00720aa90002b006222..."} 
[2026-04-22 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50912e0012d195bc00720aa90002b006222..."} 
[2026-04-22 17:24:04] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50912e0012d195bc00720aa90002b006222..."} 
[2026-04-22 17:24:04] local.INFO: Packet analysis {"connection_id":50697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db509"} 
[2026-04-22 17:24:04] local.INFO: Extracted packet for processing {"connection_id":50697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db509"} 
[2026-04-22 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756636608,"raw_latitude":119581328,"longitude_deg":75.6636608,"latitude_deg":11.9581328,"altitude":43,"angle":98,"satellites":34,"speed":0,"hex_longitude":"2d195bc0","hex_latitude":"0720aa90","is_valid_coordinates":true} 
[2026-04-22 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875838208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113984532205535232,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948162580480,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24: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-22 17:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858764000,"timestamp_ms":1776858764000,"timestamp_seconds":1776858764,"priority":1,"record_length":96,"hex_timestamp":"0000019db50912e0"} 
[2026-04-22 17:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 17:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:24:04] 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-22 17:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875838208001,"66":13928,"106":206,"83":41984,"24":0,"16":113984532205535232,"45":1827405948162580480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875838208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:24:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113984532205535232,"km_value":113984532205535.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948162580480,"description":"Unknown IO ID 45"} 
[2026-04-22 17:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875838208001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1827405948162580480}} 
[2026-04-22 17:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":50697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:24:04] local.INFO: GPS data processed {"connection_id":50697,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:24:04] local.INFO: Acknowledgment sent {"connection_id":50697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:24:25] local.INFO: TCP Data received {"connection_id":50827,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:24:25] local.INFO: Processing buffer {"connection_id":50827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:24:25] local.INFO: IMEI packet received {"connection_id":50827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":50827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:24:27] local.INFO: TCP Data received {"connection_id":50439,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:24:27] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:24:27] local.INFO: IMEI packet received {"connection_id":50439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":50439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:24:28] local.INFO: TCP Data received {"connection_id":50439,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:24:28] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:24:28] local.INFO: IMEI packet received {"connection_id":50439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":50439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:24:29] local.INFO: TCP Data received {"connection_id":50439,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:24:29] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:24:29] local.INFO: IMEI packet received {"connection_id":50439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":50439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:24:30] local.INFO: TCP Data received {"connection_id":50439,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5091e98012d195bc00720aad0002c005322..."} 
[2026-04-22 17:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5091e98012d195bc00720aad0002c005322..."} 
[2026-04-22 17:24:30] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5091e98012d195bc00720aad0002c005322..."} 
[2026-04-22 17:24:30] local.INFO: Packet analysis {"connection_id":50439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db509"} 
[2026-04-22 17:24:30] local.INFO: Extracted packet for processing {"connection_id":50439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db509"} 
[2026-04-22 17:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756636608,"raw_latitude":119581392,"longitude_deg":75.6636608,"latitude_deg":11.9581392,"altitude":44,"angle":83,"satellites":34,"speed":4,"hex_longitude":"2d195bc0","hex_latitude":"0720aad0","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875843584001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113984532205535232,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827265210674221056,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24: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-22 17:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776858767000,"timestamp_ms":1776858767000,"timestamp_seconds":1776858767,"priority":1,"record_length":96,"hex_timestamp":"0000019db5091e98"} 
[2026-04-22 17: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-22 17:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 17:24:30] 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-22 17: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-22 17: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-22 17:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":50439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":50439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":50439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:24:30] 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-22 17:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875843584001,"66":13852,"106":206,"83":41984,"24":4,"16":113984532205535232,"45":1827265210674221056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875843584001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:24:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113984532205535232,"km_value":113984532205535.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827265210674221056,"description":"Unknown IO ID 45"} 
[2026-04-22 17:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875843584001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1827265210674221056}} 
[2026-04-22 17:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":50439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:24:30] local.INFO: GPS data processed {"connection_id":50439,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:24:30] local.INFO: Acknowledgment sent {"connection_id":50439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:24:31] local.INFO: TCP Data received {"connection_id":50827,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:24:31] local.INFO: Processing buffer {"connection_id":50827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:24:31] local.INFO: IMEI packet received {"connection_id":50827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":50827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:24:31] local.INFO: TCP Data received {"connection_id":50827,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:24:31] local.INFO: Processing buffer {"connection_id":50827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db505a3f8012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:24:31] local.INFO: Packet analysis {"connection_id":50827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:24:31] local.INFO: Extracted packet for processing {"connection_id":50827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db505"} 
[2026-04-22 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875709184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:24: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-22 17:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776858539000,"timestamp_ms":1776858539000,"timestamp_seconds":1776858539,"priority":1,"record_length":96,"hex_timestamp":"0000019db505a3f8"} 
[2026-04-22 17:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17: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-22 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 17:24: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-22 17:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:24:31] 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-22 17:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875709184001,"66":25582,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875709184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:24:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875709184001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":50827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:24:31] local.INFO: GPS data processed {"connection_id":50827,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:24:31] local.INFO: Acknowledgment sent {"connection_id":50827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:25:01] local.INFO: TCP Data received {"connection_id":50439,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a6aa0012d19ad0007208e10003100ba24..."} 
[2026-04-22 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a6aa0012d19ad0007208e10003100ba24..."} 
[2026-04-22 17:25:01] local.INFO: Processing buffer {"connection_id":50439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a6aa0012d19ad0007208e10003100ba24..."} 
[2026-04-22 17:25:01] local.INFO: Packet analysis {"connection_id":50439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:01] local.INFO: Extracted packet for processing {"connection_id":50439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119574032,"longitude_deg":75.6657408,"latitude_deg":11.9574032,"altitude":49,"angle":186,"satellites":36,"speed":33,"hex_longitude":"2d19ad00","hex_latitude":"07208e10","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875865856001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113986117048467456,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018666496,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25: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-22 17:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776858852000,"timestamp_ms":1776858852000,"timestamp_seconds":1776858852,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a6aa0"} 
[2026-04-22 17: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-22 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 17:25:01] 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-22 17: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-22 17: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-22 17:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":50439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":50439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":50439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:25:01] 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-22 17:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875865856001,"66":12863,"106":206,"83":41984,"24":33,"16":113986117048467456,"45":1850275790018666496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875865856001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:25:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113986117048467456,"km_value":113986117048467.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018666496,"description":"Unknown IO ID 45"} 
[2026-04-22 17:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875865856001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850275790018666496}} 
[2026-04-22 17:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":50439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:25:01] local.INFO: GPS data processed {"connection_id":50439,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:25:01] local.INFO: Acknowledgment sent {"connection_id":50439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:25:02] local.INFO: TCP Data received {"connection_id":50827,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:25:02] local.INFO: Processing buffer {"connection_id":50827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:25:02] local.INFO: Packet analysis {"connection_id":50827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:02] local.INFO: Extracted packet for processing {"connection_id":50827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:02] 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-22 17:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 17:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:25: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-22 17:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:25:02] 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-22 17:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:25:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":50827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:25:02] local.INFO: GPS data processed {"connection_id":50827,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:25:02] local.INFO: Acknowledgment sent {"connection_id":50827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:25:26] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:26] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:26] local.INFO: IMEI packet received {"connection_id":50828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":50828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:25:27] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:27] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:27] local.INFO: IMEI packet received {"connection_id":50828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:25:29] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:29] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:29] local.INFO: IMEI packet received {"connection_id":50828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":50828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:25:31] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:25:31] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:25:31] local.INFO: IMEI packet received {"connection_id":50829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":50829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:25:32] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:32] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:25:32] local.INFO: IMEI packet received {"connection_id":50828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:25:35] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a7270012d19ae4007208630003100a925..."} 
[2026-04-22 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a7270012d19ae4007208630003100a925..."} 
[2026-04-22 17:25:35] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a7270012d19ae4007208630003100a925..."} 
[2026-04-22 17:25:35] local.INFO: Packet analysis {"connection_id":50828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:35] local.INFO: Extracted packet for processing {"connection_id":50828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119572016,"longitude_deg":75.6657728,"latitude_deg":11.9572016,"altitude":49,"angle":169,"satellites":37,"speed":42,"hex_longitude":"2d19ae40","hex_latitude":"07208630","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875866112001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113986215832715264,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052530094080,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25: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-22 17:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776858854000,"timestamp_ms":1776858854000,"timestamp_seconds":1776858854,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a7270"} 
[2026-04-22 17: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-22 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 17:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:25:35] 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-22 17:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875866112001,"66":12667,"106":206,"83":41984,"24":42,"16":113986215832715264,"45":1850135052530094080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875866112001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:25:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113986215832715264,"km_value":113986215832715.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052530094080,"description":"Unknown IO ID 45"} 
[2026-04-22 17:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875866112001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1850135052530094080}} 
[2026-04-22 17:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":50828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:25:35] local.INFO: GPS data processed {"connection_id":50828,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:25:35] local.INFO: Acknowledgment sent {"connection_id":50828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:25:36] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:25:36] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:25:36] local.INFO: IMEI packet received {"connection_id":50829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":50829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:25:37] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:25:37] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:25:37] local.INFO: Packet analysis {"connection_id":50829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:37] local.INFO: Extracted packet for processing {"connection_id":50829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:37] 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-22 17:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 17: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-22 17:25: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-22 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:25: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-22 17: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-22 17: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-22 17:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:25:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":50829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:25:37] local.INFO: GPS data processed {"connection_id":50829,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:25:37] local.INFO: Acknowledgment sent {"connection_id":50829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:25:37] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a85f8012d19b50007206fc8002f009e24..."} 
[2026-04-22 17:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a85f8012d19b50007206fc8002f009e24..."} 
[2026-04-22 17:25:37] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a85f8012d19b50007206fc8002f009e24..."} 
[2026-04-22 17:25:37] local.INFO: Packet analysis {"connection_id":50828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:37] local.INFO: Extracted packet for processing {"connection_id":50828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756659456,"raw_latitude":119566280,"longitude_deg":75.6659456,"latitude_deg":11.956628,"altitude":47,"angle":158,"satellites":36,"speed":48,"hex_longitude":"2d19b500","hex_latitude":"07206fc8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875866624001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113986507890491392,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250466304,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776858859000,"timestamp_ms":1776858859000,"timestamp_seconds":1776858859,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a85f8"} 
[2026-04-22 17: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-22 17:25: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-22 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-22 17:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:25:37] 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-22 17:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875866624001,"66":12863,"106":206,"83":41984,"24":48,"16":113986507890491392,"45":1850486896250466304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875866624001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:25:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113986507890491392,"km_value":113986507890491.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250466304,"description":"Unknown IO ID 45"} 
[2026-04-22 17:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875866624001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1850486896250466304}} 
[2026-04-22 17:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":50828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":44999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:25:37] local.INFO: GPS data processed {"connection_id":50828,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:25:37] local.INFO: Acknowledgment sent {"connection_id":50828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:25:41] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:25:41] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:25:41] local.INFO: Packet analysis {"connection_id":50829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:41] local.INFO: Extracted packet for processing {"connection_id":50829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:25:41] 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-22 17:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 17:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 17:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:25:41] local.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-22 17:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:25:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":50829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:25:41] local.INFO: GPS data processed {"connection_id":50829,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:25:41] local.INFO: Acknowledgment sent {"connection_id":50829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:26:08] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a9980012d19bb0007205900002e00aa25..."} 
[2026-04-22 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a9980012d19bb0007205900002e00aa25..."} 
[2026-04-22 17:26:08] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a9980012d19bb0007205900002e00aa25..."} 
[2026-04-22 17:26:08] local.INFO: Packet analysis {"connection_id":50828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:26:08] local.INFO: Extracted packet for processing {"connection_id":50828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119560448,"longitude_deg":75.6660992,"latitude_deg":11.9560448,"altitude":46,"angle":170,"satellites":37,"speed":46,"hex_longitude":"2d19bb00","hex_latitude":"07205900","is_valid_coordinates":true} 
[2026-04-22 17:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875867904001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113986799948267520,"note":"Value kept but may cause issues"} 
[2026-04-22 17:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852386852341794816,"note":"Value kept but may cause issues"} 
[2026-04-22 17:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776858864000,"timestamp_ms":1776858864000,"timestamp_seconds":1776858864,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a9980"} 
[2026-04-22 17:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 17:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 17:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:26:08] 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-22 17:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875867904001,"66":12863,"106":206,"83":41984,"24":46,"16":113986799948267520,"45":1852386852341794816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875867904001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:26:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113986799948267520,"km_value":113986799948267.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852386852341794816,"description":"Unknown IO ID 45"} 
[2026-04-22 17:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875867904001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1852386852341794816}} 
[2026-04-22 17:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":50828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:26:08] local.INFO: GPS data processed {"connection_id":50828,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:26:08] local.INFO: Acknowledgment sent {"connection_id":50828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:26:15] local.INFO: TCP Data received {"connection_id":51384,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:26:15] local.INFO: Processing buffer {"connection_id":51384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:26:15] local.INFO: IMEI packet received {"connection_id":51384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":51384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:26:26] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:26:26] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:26:26] local.INFO: IMEI packet received {"connection_id":50830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":50830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:26:27] local.INFO: TCP Data received {"connection_id":51385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:26:27] local.INFO: Processing buffer {"connection_id":51385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:26:27] local.INFO: IMEI packet received {"connection_id":51385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":51385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:26:31] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:26:31] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:26:31] local.INFO: IMEI packet received {"connection_id":50830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":50830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:26:32] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:26:32] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:26:32] local.INFO: Packet analysis {"connection_id":50830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:26:32] local.INFO: Extracted packet for processing {"connection_id":50830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:26: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-22 17:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 17: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-22 17: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-22 17: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":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:26: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-22 17: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-22 17: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-22 17:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:26:32] 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-22 17:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:26:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":50830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:26:32] local.INFO: GPS data processed {"connection_id":50830,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:26:32] local.INFO: Acknowledgment sent {"connection_id":50830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:26:32] local.INFO: TCP Data received {"connection_id":51385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:26:32] local.INFO: Processing buffer {"connection_id":51385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:26:32] local.INFO: IMEI packet received {"connection_id":51385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":51385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:26:33] local.INFO: TCP Data received {"connection_id":51385,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ac090012d19c0c007203420002d009e27..."} 
[2026-04-22 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ac090012d19c0c007203420002d009e27..."} 
[2026-04-22 17:26:33] local.INFO: Processing buffer {"connection_id":51385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ac090012d19c0c007203420002d009e27..."} 
[2026-04-22 17:26:33] local.INFO: Packet analysis {"connection_id":51385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:26:33] local.INFO: Extracted packet for processing {"connection_id":51385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756662464,"raw_latitude":119551008,"longitude_deg":75.6662464,"latitude_deg":11.9551008,"altitude":45,"angle":158,"satellites":39,"speed":30,"hex_longitude":"2d19c0c0","hex_latitude":"07203420","is_valid_coordinates":true} 
[2026-04-22 17:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875869184001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987263804735488,"note":"Value kept but may cause issues"} 
[2026-04-22 17:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702200565760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:26: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-22 17:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858874000,"timestamp_ms":1776858874000,"timestamp_seconds":1776858874,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ac090"} 
[2026-04-22 17:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 17:26:33] 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-22 17:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:26:33] 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-22 17:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875869184001,"66":12885,"106":206,"83":41984,"24":30,"16":113987263804735488,"45":1854075702200565760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875869184001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:26:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987263804735488,"km_value":113987263804735.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702200565760,"description":"Unknown IO ID 45"} 
[2026-04-22 17:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875869184001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1854075702200565760}} 
[2026-04-22 17:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":51385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:26:33] local.INFO: GPS data processed {"connection_id":51385,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:26:33] local.INFO: Acknowledgment sent {"connection_id":51385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:26:50] local.INFO: TCP Data received {"connection_id":50699,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:26:50] local.INFO: Processing buffer {"connection_id":50699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:26:50] local.INFO: IMEI packet received {"connection_id":50699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":50699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:27:03] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:27:03] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:27:03] local.INFO: Packet analysis {"connection_id":50830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:27:03] local.INFO: Extracted packet for processing {"connection_id":50830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27: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-22 17:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 17: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-22 17:27: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-22 17: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":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:27: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-22 17:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:27:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":50830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:27:03] local.INFO: GPS data processed {"connection_id":50830,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:27:03] local.INFO: Acknowledgment sent {"connection_id":50830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:27:04] local.INFO: TCP Data received {"connection_id":51385,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ac090012d19c0c007203420002d009e27..."} 
[2026-04-22 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ac090012d19c0c007203420002d009e27..."} 
[2026-04-22 17:27:04] local.INFO: Processing buffer {"connection_id":51385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ac090012d19c0c007203420002d009e27..."} 
[2026-04-22 17:27:04] local.INFO: Packet analysis {"connection_id":51385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:27:04] local.INFO: Extracted packet for processing {"connection_id":51385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756662464,"raw_latitude":119551008,"longitude_deg":75.6662464,"latitude_deg":11.9551008,"altitude":45,"angle":158,"satellites":39,"speed":30,"hex_longitude":"2d19c0c0","hex_latitude":"07203420","is_valid_coordinates":true} 
[2026-04-22 17:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987263804735488,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855694183314235392,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27: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-22 17:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858874000,"timestamp_ms":1776858874000,"timestamp_seconds":1776858874,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ac090"} 
[2026-04-22 17:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 17:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:27:04] 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-22 17:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875871744001,"66":12885,"106":206,"83":41984,"24":30,"16":113987263804735488,"45":1855694183314235392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:27:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987263804735488,"km_value":113987263804735.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855694183314235392,"description":"Unknown IO ID 45"} 
[2026-04-22 17:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875871744001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1855694183314235392}} 
[2026-04-22 17:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":51385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:27:04] local.INFO: GPS data processed {"connection_id":51385,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:27:04] local.INFO: Acknowledgment sent {"connection_id":51385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:27:26] local.INFO: TCP Data received {"connection_id":51386,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:27:26] local.INFO: Processing buffer {"connection_id":51386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:27:26] local.INFO: IMEI packet received {"connection_id":51386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":51386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:27:27] local.INFO: TCP Data received {"connection_id":50440,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:27:27] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:27:27] local.INFO: IMEI packet received {"connection_id":50440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":50440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:27:31] local.INFO: TCP Data received {"connection_id":51386,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:27:31] local.INFO: Processing buffer {"connection_id":51386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:27:31] local.INFO: IMEI packet received {"connection_id":51386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":51386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:27:31] local.INFO: TCP Data received {"connection_id":51386,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:27:31] local.INFO: Processing buffer {"connection_id":51386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:27:31] local.INFO: Packet analysis {"connection_id":51386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:27:31] local.INFO: Extracted packet for processing {"connection_id":51386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 17:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 17:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 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-22 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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:27: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-22 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-22 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-22 17:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:27:31] 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-22 17:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:27:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:27:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":51386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:27:31] local.INFO: GPS data processed {"connection_id":51386,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:27:31] local.INFO: Acknowledgment sent {"connection_id":51386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:27:32] local.INFO: TCP Data received {"connection_id":50440,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:27:32] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:27:32] local.INFO: IMEI packet received {"connection_id":50440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:27:33] local.INFO: TCP Data received {"connection_id":50440,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50af740012d19cbc007201b98002c008322..."} 
[2026-04-22 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50af740012d19cbc007201b98002c008322..."} 
[2026-04-22 17:27:33] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50af740012d19cbc007201b98002c008322..."} 
[2026-04-22 17:27:33] local.INFO: Packet analysis {"connection_id":50440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:27:33] local.INFO: Extracted packet for processing {"connection_id":50440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119544728,"longitude_deg":75.666528,"latitude_deg":11.9544728,"altitude":44,"angle":131,"satellites":34,"speed":9,"hex_longitude":"2d19cbc0","hex_latitude":"07201b98","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987598812184576,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855694183314235392,"note":"Value kept but may cause issues"} 
[2026-04-22 17:27: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-22 17:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858888000,"timestamp_ms":1776858888000,"timestamp_seconds":1776858888,"priority":1,"record_length":96,"hex_timestamp":"0000019db50af740"} 
[2026-04-22 17: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-22 17:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 17:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:27:33] 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-22 17:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875871744001,"66":12852,"106":206,"83":41984,"24":9,"16":113987598812184576,"45":1855694183314235392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:27:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987598812184576,"km_value":113987598812184.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855694183314235392,"description":"Unknown IO ID 45"} 
[2026-04-22 17:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875871744001,"power":12852,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1855694183314235392}} 
[2026-04-22 17:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":50440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:27:33] local.INFO: GPS data processed {"connection_id":50440,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:27:33] local.INFO: Acknowledgment sent {"connection_id":50440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:28:02] local.INFO: TCP Data received {"connection_id":51386,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:28:02] local.INFO: Processing buffer {"connection_id":51386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:28:02] local.INFO: Packet analysis {"connection_id":51386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:28:02] local.INFO: Extracted packet for processing {"connection_id":51386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28:02] 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-22 17:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 17:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:28: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-22 17:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:28: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-22 17:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:28:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":51386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:28:02] local.INFO: GPS data processed {"connection_id":51386,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:28:02] local.INFO: Acknowledgment sent {"connection_id":51386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:28:04] local.INFO: TCP Data received {"connection_id":50440,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50b02f8012d19cd8007201a18002d009122..."} 
[2026-04-22 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50b02f8012d19cd8007201a18002d009122..."} 
[2026-04-22 17:28:04] local.INFO: Processing buffer {"connection_id":50440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50b02f8012d19cd8007201a18002d009122..."} 
[2026-04-22 17:28:04] local.INFO: Packet analysis {"connection_id":50440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50b"} 
[2026-04-22 17:28:04] local.INFO: Extracted packet for processing {"connection_id":50440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50b"} 
[2026-04-22 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544344,"longitude_deg":75.6665728,"latitude_deg":11.9544344,"altitude":45,"angle":145,"satellites":34,"speed":6,"hex_longitude":"2d19cd80","hex_latitude":"07201a18","is_valid_coordinates":true} 
[2026-04-22 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875875328001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987628876955648,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056444928,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28: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-22 17:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776858891000,"timestamp_ms":1776858891000,"timestamp_seconds":1776858891,"priority":1,"record_length":96,"hex_timestamp":"0000019db50b02f8"} 
[2026-04-22 17:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-22 17:28:04] 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-22 17:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:28:04] 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-22 17:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875875328001,"66":12885,"106":206,"83":41984,"24":6,"16":113987628876955648,"45":1858790408056444928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875875328001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:28:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987628876955648,"km_value":113987628876955.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056444928,"description":"Unknown IO ID 45"} 
[2026-04-22 17:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875875328001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1858790408056444928}} 
[2026-04-22 17:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":50440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:28:04] local.INFO: GPS data processed {"connection_id":50440,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:28:04] local.INFO: Acknowledgment sent {"connection_id":50440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:28:26] local.INFO: TCP Data received {"connection_id":50701,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:28:26] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:28:26] local.INFO: IMEI packet received {"connection_id":50701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":50701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:28:27] local.INFO: TCP Data received {"connection_id":51387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:28:27] local.INFO: Processing buffer {"connection_id":51387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:28:27] local.INFO: IMEI packet received {"connection_id":51387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":51387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:28:31] local.INFO: TCP Data received {"connection_id":50701,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:28:31] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:28:31] local.INFO: IMEI packet received {"connection_id":50701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":50701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:28:31] local.INFO: TCP Data received {"connection_id":50701,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:28:31] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:28:31] local.INFO: Packet analysis {"connection_id":50701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:28:31] local.INFO: Extracted packet for processing {"connection_id":50701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 17:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 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-22 17:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 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-22 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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:28: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-22 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-22 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-22 17:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:28:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":50701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:28:31] local.INFO: GPS data processed {"connection_id":50701,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:28:31] local.INFO: Acknowledgment sent {"connection_id":50701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:28:32] local.INFO: TCP Data received {"connection_id":51387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:28:32] local.INFO: Processing buffer {"connection_id":51387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:28:32] local.INFO: IMEI packet received {"connection_id":51387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":51387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:28:33] local.INFO: TCP Data received {"connection_id":51387,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50b5500012d19cd80072019b8002f009124..."} 
[2026-04-22 17:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50b5500012d19cd80072019b8002f009124..."} 
[2026-04-22 17:28:33] local.INFO: Processing buffer {"connection_id":51387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50b5500012d19cd80072019b8002f009124..."} 
[2026-04-22 17:28:33] local.INFO: Packet analysis {"connection_id":51387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50b"} 
[2026-04-22 17:28:33] local.INFO: Extracted packet for processing {"connection_id":51387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50b"} 
[2026-04-22 17:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":36,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875876096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265590272,"note":"Value kept but may cause issues"} 
[2026-04-22 17:28: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-22 17:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858912000,"timestamp_ms":1776858912000,"timestamp_seconds":1776858912,"priority":1,"record_length":96,"hex_timestamp":"0000019db50b5500"} 
[2026-04-22 17:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 17:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:28:33] 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-22 17:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875876096001,"66":12841,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265590272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875876096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:28:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265590272,"description":"Unknown IO ID 45"} 
[2026-04-22 17:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875876096001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265590272}} 
[2026-04-22 17:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":51387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:28:33] local.INFO: GPS data processed {"connection_id":51387,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:28:33] local.INFO: Acknowledgment sent {"connection_id":51387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:29:02] local.INFO: TCP Data received {"connection_id":50701,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:29:02] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:29:02] local.INFO: Packet analysis {"connection_id":50701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:29:02] local.INFO: Extracted packet for processing {"connection_id":50701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:02] 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-22 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 17: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-22 17:29: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-22 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:29: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-22 17: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-22 17: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-22 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17: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-22 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:29:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":50701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:29:02] local.INFO: GPS data processed {"connection_id":50701,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:29:02] local.INFO: Acknowledgment sent {"connection_id":50701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:29:05] local.INFO: TCP Data received {"connection_id":51387,"ip":"42.106.6.19","data_length":93,"data_hex":"00000000000000518e010000019db50ba708012d19cd80072019b8002f009128..."} 
[2026-04-22 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51387,"packet_length":93,"packet_hex":"00000000000000518e010000019db50ba708012d19cd80072019b8002f009128..."} 
[2026-04-22 17:29:05] local.INFO: Processing buffer {"connection_id":51387,"buffer_length":93,"buffer_hex":"00000000000000518e010000019db50ba708012d19cd80072019b8002f009128..."} 
[2026-04-22 17:29:05] local.INFO: Packet analysis {"connection_id":51387,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019db50b"} 
[2026-04-22 17:29:05] local.INFO: Extracted packet for processing {"connection_id":51387,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019db50b"} 
[2026-04-22 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-04-22 17:29:05] 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-22 17:29:05] 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-22 17:29:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51387,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-22 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51387,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-22 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51387,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-22 17:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 17:29:05] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 17:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":51387,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 17:29:05] local.ERROR: GPS data processing failed {"connection_id":51387,"error":"No valid data to process"} 
[2026-04-22 17:29:05] local.INFO: Acknowledgment sent {"connection_id":51387,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 17:29:21] local.INFO: TCP Data received {"connection_id":50702,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:29:21] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:29:21] local.INFO: IMEI packet received {"connection_id":50702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":50702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:29:22] local.INFO: TCP Data received {"connection_id":50702,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:29:22] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:29:22] local.INFO: IMEI packet received {"connection_id":50702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":50702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:29:25] local.INFO: TCP Data received {"connection_id":51388,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:29:25] local.INFO: Processing buffer {"connection_id":51388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:29:25] local.INFO: IMEI packet received {"connection_id":51388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":51388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:29:26] local.INFO: TCP Data received {"connection_id":50702,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:29:26] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:29:26] local.INFO: IMEI packet received {"connection_id":50702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":50702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:29:27] local.INFO: TCP Data received {"connection_id":50702,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-22 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-22 17:29:27] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-22 17:29:27] local.INFO: Packet analysis {"connection_id":50702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-22 17:29:27] local.INFO: Extracted packet for processing {"connection_id":50702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-22 17:29:27] 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-22 17:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:27] 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-22 17:29:27] 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-22 17:29:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 17:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":50702,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":50702,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":50702,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 17:29:27] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 17:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":50702,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 17:29:27] local.ERROR: GPS data processing failed {"connection_id":50702,"error":"No valid data to process"} 
[2026-04-22 17:29:27] local.INFO: Acknowledgment sent {"connection_id":50702,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 17:29:31] local.INFO: TCP Data received {"connection_id":51388,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:29:31] local.INFO: Processing buffer {"connection_id":51388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:29:31] local.INFO: IMEI packet received {"connection_id":51388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":51388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:29:31] local.INFO: TCP Data received {"connection_id":51388,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:29:31] local.INFO: Processing buffer {"connection_id":51388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50a3bc0012d7fa74005afda30000d013a2a..."} 
[2026-04-22 17:29:31] local.INFO: Packet analysis {"connection_id":51388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:29:31] local.INFO: Extracted packet for processing {"connection_id":51388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50a"} 
[2026-04-22 17:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875785984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29: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-22 17:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776858840000,"timestamp_ms":1776858840000,"timestamp_seconds":1776858840,"priority":1,"record_length":96,"hex_timestamp":"0000019db50a3bc0"} 
[2026-04-22 17: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-22 17:29: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-22 17: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":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:29: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-22 17: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-22 17: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-22 17:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875785984001,"66":25560,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875785984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:29:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875785984001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":51388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:29:31] local.INFO: GPS data processed {"connection_id":51388,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:29:31] local.INFO: Acknowledgment sent {"connection_id":51388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:29:32] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:29:32] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:29:32] local.INFO: IMEI packet received {"connection_id":50831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:29:37] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:29:37] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:29:37] local.INFO: IMEI packet received {"connection_id":50831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":50831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:29:38] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50bf910012d19cd80072019b8002f009127..."} 
[2026-04-22 17:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50bf910012d19cd80072019b8002f009127..."} 
[2026-04-22 17:29:38] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50bf910012d19cd80072019b8002f009127..."} 
[2026-04-22 17:29:38] local.INFO: Packet analysis {"connection_id":50831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50b"} 
[2026-04-22 17:29:38] local.INFO: Extracted packet for processing {"connection_id":50831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50b"} 
[2026-04-22 17:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":39,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875886848001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29: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-22 17:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776858954000,"timestamp_ms":1776858954000,"timestamp_seconds":1776858954,"priority":1,"record_length":96,"hex_timestamp":"0000019db50bf910"} 
[2026-04-22 17:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:29:38] 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-22 17:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 17:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:29:38] 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-22 17:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875886848001,"66":12841,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875886848001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:29:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:29:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875886848001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":50831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:29:38] local.INFO: GPS data processed {"connection_id":50831,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:29:38] local.INFO: Acknowledgment sent {"connection_id":50831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:29:41] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50c4b18012d19cd80072019b8002f009125..."} 
[2026-04-22 17:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50c4b18012d19cd80072019b8002f009125..."} 
[2026-04-22 17:29:41] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50c4b18012d19cd80072019b8002f009125..."} 
[2026-04-22 17:29:41] local.INFO: Packet analysis {"connection_id":50831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50c"} 
[2026-04-22 17:29:41] local.INFO: Extracted packet for processing {"connection_id":50831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50c"} 
[2026-04-22 17:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":37,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875892224001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:29: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-22 17:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776858975000,"timestamp_ms":1776858975000,"timestamp_seconds":1776858975,"priority":1,"record_length":96,"hex_timestamp":"0000019db50c4b18"} 
[2026-04-22 17:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:29:41] 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-22 17:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 17:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875892224001,"66":12841,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875892224001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:29:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875892224001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":50831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:29:42] local.INFO: GPS data processed {"connection_id":50831,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:29:42] local.INFO: Acknowledgment sent {"connection_id":50831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:30:02] local.INFO: TCP Data received {"connection_id":51388,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:30:02] local.INFO: Processing buffer {"connection_id":51388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:30:02] local.INFO: Packet analysis {"connection_id":51388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:30:02] local.INFO: Extracted packet for processing {"connection_id":51388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:30:02] 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-22 17:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17: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-22 17:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17: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":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:30:02] 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-22 17: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-22 17: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-22 17:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:30:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":51388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:30:02] local.INFO: GPS data processed {"connection_id":51388,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:30:02] local.INFO: Acknowledgment sent {"connection_id":51388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:30:26] local.INFO: TCP Data received {"connection_id":50832,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:30:26] local.INFO: Processing buffer {"connection_id":50832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:30:26] local.INFO: IMEI packet received {"connection_id":50832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":50832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:30:27] local.INFO: TCP Data received {"connection_id":50703,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:30:27] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:30:27] local.INFO: IMEI packet received {"connection_id":50703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":50703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:30:31] local.INFO: TCP Data received {"connection_id":50832,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:30:31] local.INFO: Processing buffer {"connection_id":50832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:30:31] local.INFO: IMEI packet received {"connection_id":50832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":50832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:30:31] local.INFO: TCP Data received {"connection_id":50832,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:30:31] local.INFO: Processing buffer {"connection_id":50832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:30:31] local.INFO: Packet analysis {"connection_id":50832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:30:31] local.INFO: Extracted packet for processing {"connection_id":50832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:30: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-22 17:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17: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-22 17:30: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-22 17:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:30: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-22 17: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-22 17: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-22 17:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:30: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-22 17:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:30:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":50832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:30:31] local.INFO: GPS data processed {"connection_id":50832,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:30:31] local.INFO: Acknowledgment sent {"connection_id":50832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:30:32] local.INFO: TCP Data received {"connection_id":50703,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:30:32] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:30:32] local.INFO: IMEI packet received {"connection_id":50703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:30:33] local.INFO: TCP Data received {"connection_id":50703,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50c9d20012d19cd80072019b8002f009125..."} 
[2026-04-22 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50c9d20012d19cd80072019b8002f009125..."} 
[2026-04-22 17:30:33] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50c9d20012d19cd80072019b8002f009125..."} 
[2026-04-22 17:30:33] local.INFO: Packet analysis {"connection_id":50703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50c"} 
[2026-04-22 17:30:33] local.INFO: Extracted packet for processing {"connection_id":50703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50c"} 
[2026-04-22 17:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":37,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875897600001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:30: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-22 17:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776858996000,"timestamp_ms":1776858996000,"timestamp_seconds":1776858996,"priority":1,"record_length":96,"hex_timestamp":"0000019db50c9d20"} 
[2026-04-22 17: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-22 17:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 17:30:33] 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-22 17: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-22 17: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-22 17:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:30:33] 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-22 17:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875897600001,"66":12798,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875897600001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:30:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875897600001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":50703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:30:33] local.INFO: GPS data processed {"connection_id":50703,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:30:33] local.INFO: Acknowledgment sent {"connection_id":50703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:31:03] local.INFO: TCP Data received {"connection_id":50832,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:31:03] local.INFO: Processing buffer {"connection_id":50832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:31:03] local.INFO: Packet analysis {"connection_id":50832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:31:03] local.INFO: Extracted packet for processing {"connection_id":50832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:31: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-22 17:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:31: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-22 17:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:31:03] 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-22 17:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:31: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-22 17:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:31:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":50832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:31:03] local.INFO: GPS data processed {"connection_id":50832,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:31:03] local.INFO: Acknowledgment sent {"connection_id":50832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:31:04] local.INFO: TCP Data received {"connection_id":50703,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db50cef28012d19cd80072019b8002f009126..."} 
[2026-04-22 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50cef28012d19cd80072019b8002f009126..."} 
[2026-04-22 17:31:04] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50cef28012d19cd80072019b8002f009126..."} 
[2026-04-22 17:31:04] local.INFO: Packet analysis {"connection_id":50703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50c"} 
[2026-04-22 17:31:04] local.INFO: Extracted packet for processing {"connection_id":50703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50c"} 
[2026-04-22 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 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-22 17:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875902976001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:31: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-22 17:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776859017000,"timestamp_ms":1776859017000,"timestamp_seconds":1776859017,"priority":1,"record_length":96,"hex_timestamp":"0000019db50cef28"} 
[2026-04-22 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-22 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 17:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 17:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:31:04] 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-22 17:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875902976001,"66":12743,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875902976001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875902976001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":50703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:31:04] local.INFO: GPS data processed {"connection_id":50703,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:31:04] local.INFO: Acknowledgment sent {"connection_id":50703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:31:26] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:31:26] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:31:26] local.INFO: IMEI packet received {"connection_id":50704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":50704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:31:31] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:31:31] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:31:31] local.INFO: IMEI packet received {"connection_id":50704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":50704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:31:31] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:31:31] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:31:31] local.INFO: Packet analysis {"connection_id":50704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:31:31] local.INFO: Extracted packet for processing {"connection_id":50704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:31: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-22 17:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17: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-22 17:31: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-22 17: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":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:31: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-22 17: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-22 17: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-22 17:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:31:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":50704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:31:31] local.INFO: GPS data processed {"connection_id":50704,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:31:31] local.INFO: Acknowledgment sent {"connection_id":50704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:31:57] local.INFO: TCP Data received {"connection_id":50834,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:31:57] local.INFO: Processing buffer {"connection_id":50834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:31:57] local.INFO: IMEI packet received {"connection_id":50834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":50834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:32:02] local.INFO: TCP Data received {"connection_id":50834,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:02] local.INFO: Processing buffer {"connection_id":50834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:02] local.INFO: IMEI packet received {"connection_id":50834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":50834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:32:02] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:32:02] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:32:02] local.INFO: Packet analysis {"connection_id":50704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:32:02] local.INFO: Extracted packet for processing {"connection_id":50704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32:02] 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-22 17:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17: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-22 17:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:32:02] 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-22 17: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-22 17: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-22 17:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:32:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":50704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:32:02] local.INFO: GPS data processed {"connection_id":50704,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:32:02] local.INFO: Acknowledgment sent {"connection_id":50704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:32:03] local.INFO: TCP Data received {"connection_id":50834,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db50d4130012d19cd80072019b8002f009125..."} 
[2026-04-22 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50d4130012d19cd80072019b8002f009125..."} 
[2026-04-22 17:32:03] local.INFO: Processing buffer {"connection_id":50834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50d4130012d19cd80072019b8002f009125..."} 
[2026-04-22 17:32:03] local.INFO: Packet analysis {"connection_id":50834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50d"} 
[2026-04-22 17:32:03] local.INFO: Extracted packet for processing {"connection_id":50834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50d"} 
[2026-04-22 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":37,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875908352001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32: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-22 17:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776859038000,"timestamp_ms":1776859038000,"timestamp_seconds":1776859038,"priority":1,"record_length":96,"hex_timestamp":"0000019db50d4130"} 
[2026-04-22 17: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-22 17:32:03] 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-22 17: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-22 17:32:03] 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-22 17: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-22 17: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-22 17:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:32:03] local.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-22 17:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875908352001,"66":12776,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875908352001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:32:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875908352001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":50834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:32:03] local.INFO: GPS data processed {"connection_id":50834,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:32:03] local.INFO: Acknowledgment sent {"connection_id":50834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:32:10] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:32:11] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:32:11] local.INFO: IMEI packet received {"connection_id":50833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":50833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:32:25] local.INFO: TCP Data received {"connection_id":51390,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:32:25] local.INFO: Processing buffer {"connection_id":51390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:32:25] local.INFO: IMEI packet received {"connection_id":51390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":51390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:32:27] local.INFO: TCP Data received {"connection_id":51391,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:27] local.INFO: Processing buffer {"connection_id":51391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:27] local.INFO: IMEI packet received {"connection_id":51391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":51391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:32:29] local.INFO: TCP Data received {"connection_id":51391,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:29] local.INFO: Processing buffer {"connection_id":51391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:29] local.INFO: IMEI packet received {"connection_id":51391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":51391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:32:31] local.INFO: TCP Data received {"connection_id":51390,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:32:31] local.INFO: Processing buffer {"connection_id":51390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:32:31] local.INFO: IMEI packet received {"connection_id":51390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":51390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:32:31] local.INFO: TCP Data received {"connection_id":51390,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:32:31] local.INFO: Processing buffer {"connection_id":51390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:32:31] local.INFO: Packet analysis {"connection_id":51390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:32:31] local.INFO: Extracted packet for processing {"connection_id":51390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32: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-22 17:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17: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-22 17:32: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-22 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:32: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-22 17: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-22 17: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-22 17:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:32: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-22 17:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:32:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:32:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":51390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:32:31] local.INFO: GPS data processed {"connection_id":51390,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:32:31] local.INFO: Acknowledgment sent {"connection_id":51390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:32:32] local.INFO: TCP Data received {"connection_id":51391,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:32] local.INFO: Processing buffer {"connection_id":51391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:32:32] local.INFO: IMEI packet received {"connection_id":51391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":51391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:32:33] local.INFO: TCP Data received {"connection_id":51391,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db510c788012d19cd80072019b8002f009126..."} 
[2026-04-22 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db510c788012d19cd80072019b8002f009126..."} 
[2026-04-22 17:32:33] local.INFO: Processing buffer {"connection_id":51391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db510c788012d19cd80072019b8002f009126..."} 
[2026-04-22 17:32:33] local.INFO: Packet analysis {"connection_id":51391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db510"} 
[2026-04-22 17:32:33] local.INFO: Extracted packet for processing {"connection_id":51391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db510"} 
[2026-04-22 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875967488001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:32: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-22 17:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776859269000,"timestamp_ms":1776859269000,"timestamp_seconds":1776859269,"priority":1,"record_length":96,"hex_timestamp":"0000019db510c788"} 
[2026-04-22 17:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-22 17:32:33] 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-22 17:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:32:33] local.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-22 17:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875967488001,"66":12548,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875967488001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:32:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875967488001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":51391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:32:33] local.INFO: GPS data processed {"connection_id":51391,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:32:33] local.INFO: Acknowledgment sent {"connection_id":51391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:32:50] local.INFO: TCP Data received {"connection_id":51392,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:32:50] local.INFO: Processing buffer {"connection_id":51392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:32:50] local.INFO: IMEI packet received {"connection_id":51392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":51392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:33:02] local.INFO: TCP Data received {"connection_id":51390,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:33:02] local.INFO: Processing buffer {"connection_id":51390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:33:02] local.INFO: Packet analysis {"connection_id":51390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:33:02] local.INFO: Extracted packet for processing {"connection_id":51390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:02] 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-22 17:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:33: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-22 17:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:33:02] 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-22 17:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:33: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-22 17:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:33:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":51390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:33:03] local.INFO: GPS data processed {"connection_id":51390,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:33:03] local.INFO: Acknowledgment sent {"connection_id":51390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:33:04] local.INFO: TCP Data received {"connection_id":51391,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5111990012d19cd80072019b8002f009127..."} 
[2026-04-22 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5111990012d19cd80072019b8002f009127..."} 
[2026-04-22 17:33:04] local.INFO: Processing buffer {"connection_id":51391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5111990012d19cd80072019b8002f009127..."} 
[2026-04-22 17:33:04] local.INFO: Packet analysis {"connection_id":51391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db511"} 
[2026-04-22 17:33:04] local.INFO: Extracted packet for processing {"connection_id":51391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db511"} 
[2026-04-22 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":39,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875972864001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33: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-22 17:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776859290000,"timestamp_ms":1776859290000,"timestamp_seconds":1776859290,"priority":1,"record_length":96,"hex_timestamp":"0000019db5111990"} 
[2026-04-22 17:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3037649752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:04] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":671088640,"corrected_to":0} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2147950617,"corrected_to":0} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847658,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4146593792,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:04] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,106,83,24,241,157,16,247,117,45,128,25,47,36,10,66,35,37,209,1,240,123,227,181,32,4,113,205,184,239,49,2,148,7],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":247,"original":671088640,"validated":0},{"io_id":205,"original":2147950617,"validated":0}]} 
[2026-04-22 17:33:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386866512177397760,"timestamp_seconds":3386866512177398.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875972864001,"66":12591,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875972864001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:33:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875972864001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":51391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:33:04] local.INFO: GPS data processed {"connection_id":51391,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:33:04] local.INFO: Acknowledgment sent {"connection_id":51391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:33:25] local.INFO: TCP Data received {"connection_id":51393,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:33:25] local.INFO: Processing buffer {"connection_id":51393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:33:25] local.INFO: IMEI packet received {"connection_id":51393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":51393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:33:27] local.INFO: TCP Data received {"connection_id":50705,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:33:27] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:33:27] local.INFO: IMEI packet received {"connection_id":50705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:33:31] local.INFO: TCP Data received {"connection_id":51393,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:33:31] local.INFO: Processing buffer {"connection_id":51393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:33:31] local.INFO: IMEI packet received {"connection_id":51393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":51393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:33:32] local.INFO: TCP Data received {"connection_id":51393,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:33:32] local.INFO: Processing buffer {"connection_id":51393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:33:32] local.INFO: Packet analysis {"connection_id":51393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:33:32] local.INFO: Extracted packet for processing {"connection_id":51393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33: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-22 17:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17: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-22 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:33: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-22 17:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:33:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":51393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:33:32] local.INFO: GPS data processed {"connection_id":51393,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:33:32] local.INFO: Acknowledgment sent {"connection_id":51393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:33:32] local.INFO: TCP Data received {"connection_id":50705,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:33:32] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:33:32] local.INFO: IMEI packet received {"connection_id":50705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:33:33] local.INFO: TCP Data received {"connection_id":50705,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5116b98012d19cd80072019b8002f009122..."} 
[2026-04-22 17:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5116b98012d19cd80072019b8002f009122..."} 
[2026-04-22 17:33:33] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5116b98012d19cd80072019b8002f009122..."} 
[2026-04-22 17:33:33] local.INFO: Packet analysis {"connection_id":50705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db511"} 
[2026-04-22 17:33:33] local.INFO: Extracted packet for processing {"connection_id":50705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db511"} 
[2026-04-22 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":34,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875978240001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:33: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-22 17:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776859311000,"timestamp_ms":1776859311000,"timestamp_seconds":1776859311,"priority":1,"record_length":96,"hex_timestamp":"0000019db5116b98"} 
[2026-04-22 17:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 17:33:33] 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-22 17:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:33:33] local.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-22 17:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875978240001,"66":12526,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875978240001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:33:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875978240001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":50705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:33:33] local.INFO: GPS data processed {"connection_id":50705,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:33:33] local.INFO: Acknowledgment sent {"connection_id":50705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:34:04] local.INFO: TCP Data received {"connection_id":50705,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db511bda0012d19cd80072019b8002f009125..."} 
[2026-04-22 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db511bda0012d19cd80072019b8002f009125..."} 
[2026-04-22 17:34:04] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db511bda0012d19cd80072019b8002f009125..."} 
[2026-04-22 17:34:04] local.INFO: Packet analysis {"connection_id":50705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db511"} 
[2026-04-22 17:34:04] local.INFO: Extracted packet for processing {"connection_id":50705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db511"} 
[2026-04-22 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":37,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875983616001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34: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-22 17:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776859332000,"timestamp_ms":1776859332000,"timestamp_seconds":1776859332,"priority":1,"record_length":96,"hex_timestamp":"0000019db511bda0"} 
[2026-04-22 17:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:34:04] 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-22 17:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875983616001,"66":12526,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875983616001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:34:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875983616001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":50705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:34:04] local.INFO: GPS data processed {"connection_id":50705,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:34:04] local.INFO: Acknowledgment sent {"connection_id":50705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:34:26] local.INFO: TCP Data received {"connection_id":51394,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:34:26] local.INFO: Processing buffer {"connection_id":51394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:34:26] local.INFO: IMEI packet received {"connection_id":51394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":51394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:34:31] local.INFO: TCP Data received {"connection_id":51394,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:34:31] local.INFO: Processing buffer {"connection_id":51394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:34:31] local.INFO: IMEI packet received {"connection_id":51394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":51394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:34:31] local.INFO: TCP Data received {"connection_id":51394,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:34:31] local.INFO: Processing buffer {"connection_id":51394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:34:31] local.INFO: Packet analysis {"connection_id":51394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:34:31] local.INFO: Extracted packet for processing {"connection_id":51394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34: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-22 17:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17: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-22 17: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-22 17: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":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:34: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-22 17: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-22 17: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-22 17:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:34: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-22 17:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:34:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:34:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":51394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:34:31] local.INFO: GPS data processed {"connection_id":51394,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:34:31] local.INFO: Acknowledgment sent {"connection_id":51394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:34:32] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:34:32] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:34:32] local.INFO: IMEI packet received {"connection_id":50836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:34:35] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:34:35] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:34:35] local.INFO: IMEI packet received {"connection_id":50836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":50836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:34:36] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5120fa8012d19cd80072019b8002f009125..."} 
[2026-04-22 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5120fa8012d19cd80072019b8002f009125..."} 
[2026-04-22 17:34:36] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5120fa8012d19cd80072019b8002f009125..."} 
[2026-04-22 17:34:36] local.INFO: Packet analysis {"connection_id":50836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db512"} 
[2026-04-22 17:34:36] local.INFO: Extracted packet for processing {"connection_id":50836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db512"} 
[2026-04-22 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":37,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875988992001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776859353000,"timestamp_ms":1776859353000,"timestamp_seconds":1776859353,"priority":1,"record_length":96,"hex_timestamp":"0000019db5120fa8"} 
[2026-04-22 17:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:34:36] 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-22 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:34:36] 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-22 17:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875988992001,"66":12537,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875988992001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:34:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875988992001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":50836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:34:36] local.INFO: GPS data processed {"connection_id":50836,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:34:36] local.INFO: Acknowledgment sent {"connection_id":50836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:34:36] local.INFO: TCP Data received {"connection_id":51394,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:34:36] local.INFO: Processing buffer {"connection_id":51394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db50ed388012d7fa74005afda30000d013a2b..."} 
[2026-04-22 17:34:36] local.INFO: Packet analysis {"connection_id":51394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:34:36] local.INFO: Extracted packet for processing {"connection_id":51394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db50e"} 
[2026-04-22 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875863040001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34: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-22 17:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776859141000,"timestamp_ms":1776859141000,"timestamp_seconds":1776859141,"priority":1,"record_length":96,"hex_timestamp":"0000019db50ed388"} 
[2026-04-22 17:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:34: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-22 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:34:36] 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-22 17:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:34:36] 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-22 17:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875863040001,"66":25549,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875863040001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:34:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875863040001,"power":25549,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":51394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:34:36] local.INFO: GPS data processed {"connection_id":51394,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:34:36] local.INFO: Acknowledgment sent {"connection_id":51394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:34:37] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db51261b0012d19cd80072019b8002f009123..."} 
[2026-04-22 17:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51261b0012d19cd80072019b8002f009123..."} 
[2026-04-22 17:34:37] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51261b0012d19cd80072019b8002f009123..."} 
[2026-04-22 17:34:37] local.INFO: Packet analysis {"connection_id":50836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db512"} 
[2026-04-22 17:34:37] local.INFO: Extracted packet for processing {"connection_id":50836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db512"} 
[2026-04-22 17:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":35,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875994368001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776859374000,"timestamp_ms":1776859374000,"timestamp_seconds":1776859374,"priority":1,"record_length":96,"hex_timestamp":"0000019db51261b0"} 
[2026-04-22 17:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 17:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:34:37] local.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-22 17:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875994368001,"66":12548,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875994368001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:34:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875994368001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":50836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:34:37] local.INFO: GPS data processed {"connection_id":50836,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:34:37] local.INFO: Acknowledgment sent {"connection_id":50836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:35:08] local.INFO: TCP Data received {"connection_id":51394,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:35:08] local.INFO: Processing buffer {"connection_id":51394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:35:08] local.INFO: Packet analysis {"connection_id":51394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:35:08] local.INFO: Extracted packet for processing {"connection_id":51394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35: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-22 17:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17: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-22 17:35: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-22 17:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:35: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-22 17: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-22 17: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-22 17:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:35:08] 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-22 17:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:35:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":51394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:35:08] local.INFO: GPS data processed {"connection_id":51394,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:35:08] local.INFO: Acknowledgment sent {"connection_id":51394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:35:08] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db512b3b8012d19cd80072019b8002f009127..."} 
[2026-04-22 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db512b3b8012d19cd80072019b8002f009127..."} 
[2026-04-22 17:35:08] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db512b3b8012d19cd80072019b8002f009127..."} 
[2026-04-22 17:35:08] local.INFO: Packet analysis {"connection_id":50836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db512"} 
[2026-04-22 17:35:08] local.INFO: Extracted packet for processing {"connection_id":50836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db512"} 
[2026-04-22 17:35:08] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":39,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875999744001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776859395000,"timestamp_ms":1776859395000,"timestamp_seconds":1776859395,"priority":1,"record_length":96,"hex_timestamp":"0000019db512b3b8"} 
[2026-04-22 17: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-22 17:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3037754752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":671088640,"corrected_to":0} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2147950617,"corrected_to":0} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4146593792,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,247,15,45,128,25,47,37,10,66,189,107,1,240,238,227,181,32,4,113,205,199,184,38,239,49,2,148,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":247,"original":671088640,"validated":0},{"io_id":205,"original":2147950617,"validated":0}]} 
[2026-04-22 17:35:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386866499292495872,"timestamp_seconds":3386866499292496.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17: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-22 17:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875999744001,"66":12548,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875999744001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:35:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:35:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875999744001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":50836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:35:08] local.INFO: GPS data processed {"connection_id":50836,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:35:08] local.INFO: Acknowledgment sent {"connection_id":50836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:35:26] local.INFO: TCP Data received {"connection_id":50707,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:35:26] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:35:26] local.INFO: IMEI packet received {"connection_id":50707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":50707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:35:27] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:35:27] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:35:27] local.INFO: IMEI packet received {"connection_id":50706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:35:31] local.INFO: TCP Data received {"connection_id":50707,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:35:31] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:35:31] local.INFO: IMEI packet received {"connection_id":50707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":50707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:35:31] local.INFO: TCP Data received {"connection_id":50707,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:35:31] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:35:31] local.INFO: Packet analysis {"connection_id":50707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:35:31] local.INFO: Extracted packet for processing {"connection_id":50707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35: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-22 17:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17: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-22 17: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-22 17: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:35: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-22 17: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-22 17: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-22 17:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:35: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-22 17:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:35:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":50707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:35:32] local.INFO: GPS data processed {"connection_id":50707,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:35:32] local.INFO: Acknowledgment sent {"connection_id":50707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:35:32] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:35:32] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:35:32] local.INFO: IMEI packet received {"connection_id":50706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:35:33] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db51305c0012d19cd80072019b8002f009127..."} 
[2026-04-22 17:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51305c0012d19cd80072019b8002f009127..."} 
[2026-04-22 17:35:33] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51305c0012d19cd80072019b8002f009127..."} 
[2026-04-22 17:35:33] local.INFO: Packet analysis {"connection_id":50706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:35:33] local.INFO: Extracted packet for processing {"connection_id":50706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":39,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876005120001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35: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-22 17:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776859416000,"timestamp_ms":1776859416000,"timestamp_seconds":1776859416,"priority":1,"record_length":96,"hex_timestamp":"0000019db51305c0"} 
[2026-04-22 17: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-22 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 17:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3037775752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:33] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":671088640,"corrected_to":0} 
[2026-04-22 17:35:33] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2147950617,"corrected_to":0} 
[2026-04-22 17:35:33] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4146593792,"note":"Value kept but may cause issues"} 
[2026-04-22 17:35:33] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,247,97,45,128,25,47,35,10,66,15,37,189,1,240,238,227,181,32,4,113,205,184,39,239,49,2,148,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":247,"original":671088640,"validated":0},{"io_id":205,"original":2147950617,"validated":0}]} 
[2026-04-22 17:35:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386866516472365056,"timestamp_seconds":3386866516472365.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17: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-22 17:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:35:33] local.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-22 17:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876005120001,"66":12526,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876005120001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:35:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876005120001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:35:33] local.INFO: GPS data processed {"connection_id":50706,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:35:33] local.INFO: Acknowledgment sent {"connection_id":50706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:36:03] local.INFO: TCP Data received {"connection_id":50707,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:36:03] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:36:03] local.INFO: Packet analysis {"connection_id":50707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:36:03] local.INFO: Extracted packet for processing {"connection_id":50707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36: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-22 17:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:36: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-22 17:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:36: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-22 17:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:36: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-22 17:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:36:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:36:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":50707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:36:03] local.INFO: GPS data processed {"connection_id":50707,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:36:03] local.INFO: Acknowledgment sent {"connection_id":50707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:36:04] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db51357c8012d19cd80072019b8002f009124..."} 
[2026-04-22 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51357c8012d19cd80072019b8002f009124..."} 
[2026-04-22 17:36:04] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51357c8012d19cd80072019b8002f009124..."} 
[2026-04-22 17:36:04] local.INFO: Packet analysis {"connection_id":50706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:36:04] local.INFO: Extracted packet for processing {"connection_id":50706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":36,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 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-22 17:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876010496001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36: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-22 17:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776859437000,"timestamp_ms":1776859437000,"timestamp_seconds":1776859437,"priority":1,"record_length":96,"hex_timestamp":"0000019db51357c8"} 
[2026-04-22 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-22 17:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:36:04] 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-22 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-22 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-22 17:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876010496001,"66":12504,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876010496001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:36:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876010496001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":50706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:36:04] local.INFO: GPS data processed {"connection_id":50706,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:36:04] local.INFO: Acknowledgment sent {"connection_id":50706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:36:25] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:36:25] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:36:25] local.INFO: IMEI packet received {"connection_id":50709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":50709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:36:27] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:36:27] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:36:27] local.INFO: IMEI packet received {"connection_id":50708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":50708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:36:30] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:36:30] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:36:30] local.INFO: IMEI packet received {"connection_id":51395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":51395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:36:31] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:36:31] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:36:31] local.INFO: IMEI packet received {"connection_id":51395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":51395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:36:31] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:36:31] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:36:31] local.INFO: IMEI packet received {"connection_id":50709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":50709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:36:31] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:36:31] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:36:31] local.INFO: Packet analysis {"connection_id":50709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:36:31] local.INFO: Extracted packet for processing {"connection_id":50709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36: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-22 17:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17: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-22 17:36: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-22 17: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:36: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-22 17: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-22 17: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-22 17:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:36: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-22 17:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:36:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":50709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:36:31] local.INFO: GPS data processed {"connection_id":50709,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:36:31] local.INFO: Acknowledgment sent {"connection_id":50709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:36:32] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:36:32] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:36:32] local.INFO: IMEI packet received {"connection_id":50708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:36:33] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db513a9d0012d19cd80072019b8002f009126..."} 
[2026-04-22 17:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db513a9d0012d19cd80072019b8002f009126..."} 
[2026-04-22 17:36:33] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db513a9d0012d19cd80072019b8002f009126..."} 
[2026-04-22 17:36:33] local.INFO: Packet analysis {"connection_id":50708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:36:33] local.INFO: Extracted packet for processing {"connection_id":50708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876015872001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36: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-22 17:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776859458000,"timestamp_ms":1776859458000,"timestamp_seconds":1776859458,"priority":1,"record_length":96,"hex_timestamp":"0000019db513a9d0"} 
[2026-04-22 17: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-22 17:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:36:33] local.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-22 17:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876015872001,"66":12526,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876015872001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:36:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876015872001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":50708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:36:33] local.INFO: GPS data processed {"connection_id":50708,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:36:33] local.INFO: Acknowledgment sent {"connection_id":50708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:36:35] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:36:35] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:36:35] local.INFO: IMEI packet received {"connection_id":51395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":51395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:36:36] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-22 17:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-22 17:36:36] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-22 17:36:36] local.INFO: Packet analysis {"connection_id":51395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-22 17:36:36] local.INFO: Extracted packet for processing {"connection_id":51395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-22 17:36: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-22 17:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 17:36:36] 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-22 17:36:36] 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-22 17:36:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 17:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51395,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 17:36:36] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 17:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":51395,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 17:36:36] local.ERROR: GPS data processing failed {"connection_id":51395,"error":"No valid data to process"} 
[2026-04-22 17:36:36] local.INFO: Acknowledgment sent {"connection_id":51395,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 17:37:02] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:37:02] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:37:02] local.INFO: Packet analysis {"connection_id":50709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:37:02] local.INFO: Extracted packet for processing {"connection_id":50709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:02] 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-22 17:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17: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-22 17:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:37: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-22 17: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-22 17: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-22 17:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:37:02] 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-22 17:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:37:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":50709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:37:02] local.INFO: GPS data processed {"connection_id":50709,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:37:02] local.INFO: Acknowledgment sent {"connection_id":50709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:37:04] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db513fbd8012d19cd80072019b8002f009126..."} 
[2026-04-22 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db513fbd8012d19cd80072019b8002f009126..."} 
[2026-04-22 17:37:04] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db513fbd8012d19cd80072019b8002f009126..."} 
[2026-04-22 17:37:04] local.INFO: Packet analysis {"connection_id":50708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:37:04] local.INFO: Extracted packet for processing {"connection_id":50708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876021248001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37: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-22 17:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776859479000,"timestamp_ms":1776859479000,"timestamp_seconds":1776859479,"priority":1,"record_length":96,"hex_timestamp":"0000019db513fbd8"} 
[2026-04-22 17:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 17:37:04] 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-22 17:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876021248001,"66":12504,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876021248001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:37:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876021248001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":50708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:37:04] local.INFO: GPS data processed {"connection_id":50708,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:37:04] local.INFO: Acknowledgment sent {"connection_id":50708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:37:07] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-22 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-22 17:37:07] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-22 17:37:07] local.INFO: Packet analysis {"connection_id":51395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-22 17:37:07] local.INFO: Extracted packet for processing {"connection_id":51395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-22 17:37:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:07] 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-22 17:37:07] 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-22 17:37:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 17:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51395,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 17:37:07] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 17:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":51395,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 17:37:07] local.ERROR: GPS data processing failed {"connection_id":51395,"error":"No valid data to process"} 
[2026-04-22 17:37:07] local.INFO: Acknowledgment sent {"connection_id":51395,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 17:37:25] local.INFO: TCP Data received {"connection_id":50837,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:37:25] local.INFO: Processing buffer {"connection_id":50837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:37:25] local.INFO: IMEI packet received {"connection_id":50837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":50837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:37:27] local.INFO: TCP Data received {"connection_id":50710,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:37:27] local.INFO: Processing buffer {"connection_id":50710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:37:27] local.INFO: IMEI packet received {"connection_id":50710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":50710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:37:31] local.INFO: TCP Data received {"connection_id":50837,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:37:31] local.INFO: Processing buffer {"connection_id":50837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:37:31] local.INFO: IMEI packet received {"connection_id":50837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":50837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:37:31] local.INFO: TCP Data received {"connection_id":50837,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:37:31] local.INFO: Processing buffer {"connection_id":50837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:37:31] local.INFO: Packet analysis {"connection_id":50837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:37:31] local.INFO: Extracted packet for processing {"connection_id":50837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37: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-22 17:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17: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-22 17:37: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-22 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:37: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-22 17: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-22 17: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-22 17:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:37: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-22 17:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:37:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:37:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":50837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:37:31] local.INFO: GPS data processed {"connection_id":50837,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:37:31] local.INFO: Acknowledgment sent {"connection_id":50837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:37:32] local.INFO: TCP Data received {"connection_id":50710,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:37:32] local.INFO: Processing buffer {"connection_id":50710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:37:32] local.INFO: IMEI packet received {"connection_id":50710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:37:33] local.INFO: TCP Data received {"connection_id":50710,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5144de0012d19cd80072019b8002f009126..."} 
[2026-04-22 17:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5144de0012d19cd80072019b8002f009126..."} 
[2026-04-22 17:37:33] local.INFO: Processing buffer {"connection_id":50710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5144de0012d19cd80072019b8002f009126..."} 
[2026-04-22 17:37:33] local.INFO: Packet analysis {"connection_id":50710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db514"} 
[2026-04-22 17:37:33] local.INFO: Extracted packet for processing {"connection_id":50710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db514"} 
[2026-04-22 17:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876026624001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37: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-22 17:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776859500000,"timestamp_ms":1776859500000,"timestamp_seconds":1776859500,"priority":1,"record_length":96,"hex_timestamp":"0000019db5144de0"} 
[2026-04-22 17: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-22 17:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:37:33] local.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-22 17:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876026624001,"66":12504,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876026624001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:37:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876026624001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":50710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:37:33] local.INFO: GPS data processed {"connection_id":50710,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:37:33] local.INFO: Acknowledgment sent {"connection_id":50710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:37:40] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-04-22 17:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-04-22 17:37:40] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-04-22 17:37:40] local.INFO: Packet analysis {"connection_id":51395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-22 17:37:40] local.INFO: Extracted packet for processing {"connection_id":51395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-22 17:37:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 17:37:40] 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-22 17:37:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:37:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 17:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":51395,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 17:37:40] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 17:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":51395,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 17:37:40] local.ERROR: GPS data processing failed {"connection_id":51395,"error":"No valid data to process"} 
[2026-04-22 17:37:40] local.INFO: Acknowledgment sent {"connection_id":51395,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 17:38:02] local.INFO: TCP Data received {"connection_id":50837,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:38:02] local.INFO: Processing buffer {"connection_id":50837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:38:02] local.INFO: Packet analysis {"connection_id":50837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:38:02] local.INFO: Extracted packet for processing {"connection_id":50837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:02] 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-22 17:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:38: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-22 17:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:38:02] 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-22 17:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:38:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":50837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:38:02] local.INFO: GPS data processed {"connection_id":50837,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:38:02] local.INFO: Acknowledgment sent {"connection_id":50837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:38:04] local.INFO: TCP Data received {"connection_id":50710,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5149fe8012d19cd80072019b8002f009123..."} 
[2026-04-22 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5149fe8012d19cd80072019b8002f009123..."} 
[2026-04-22 17:38:04] local.INFO: Processing buffer {"connection_id":50710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5149fe8012d19cd80072019b8002f009123..."} 
[2026-04-22 17:38:04] local.INFO: Packet analysis {"connection_id":50710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db514"} 
[2026-04-22 17:38:04] local.INFO: Extracted packet for processing {"connection_id":50710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db514"} 
[2026-04-22 17:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":35,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876032000001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38: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-22 17:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776859521000,"timestamp_ms":1776859521000,"timestamp_seconds":1776859521,"priority":1,"record_length":96,"hex_timestamp":"0000019db5149fe8"} 
[2026-04-22 17: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-22 17:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876032000001,"66":12504,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876032000001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876032000001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:38:04] local.INFO: GPS data processed {"connection_id":50710,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:38:04] local.INFO: Acknowledgment sent {"connection_id":50710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:38:11] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-04-22 17:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-04-22 17:38:11] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-04-22 17:38:11] local.INFO: Packet analysis {"connection_id":51395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-22 17:38:11] local.INFO: Extracted packet for processing {"connection_id":51395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-22 17:38:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-22 17:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 17:38:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:38:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 17:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":51395,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 17:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 17:38:11] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 17:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":51395,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 17:38:11] local.ERROR: GPS data processing failed {"connection_id":51395,"error":"No valid data to process"} 
[2026-04-22 17:38:11] local.INFO: Acknowledgment sent {"connection_id":51395,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 17:38:15] local.INFO: TCP Data received {"connection_id":50446,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:38:16] local.INFO: Processing buffer {"connection_id":50446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:38:16] local.INFO: IMEI packet received {"connection_id":50446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":50446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:38:26] local.INFO: TCP Data received {"connection_id":50447,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:38:26] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:38:26] local.INFO: IMEI packet received {"connection_id":50447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":50447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:38:27] local.INFO: TCP Data received {"connection_id":50447,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:38:27] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:38:27] local.INFO: IMEI packet received {"connection_id":50447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":50447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:38:31] local.INFO: TCP Data received {"connection_id":50838,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:38:31] local.INFO: Processing buffer {"connection_id":50838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:38:31] local.INFO: IMEI packet received {"connection_id":50838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":50838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:38:32] local.INFO: TCP Data received {"connection_id":50447,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:38:32] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:38:32] local.INFO: IMEI packet received {"connection_id":50447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:38:33] local.INFO: TCP Data received {"connection_id":50447,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db514f1f0012d19cd80072019b8002f009122..."} 
[2026-04-22 17:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db514f1f0012d19cd80072019b8002f009122..."} 
[2026-04-22 17:38:33] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db514f1f0012d19cd80072019b8002f009122..."} 
[2026-04-22 17:38:33] local.INFO: Packet analysis {"connection_id":50447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db514"} 
[2026-04-22 17:38:33] local.INFO: Extracted packet for processing {"connection_id":50447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db514"} 
[2026-04-22 17:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":34,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876037376001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38: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-22 17:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776859542000,"timestamp_ms":1776859542000,"timestamp_seconds":1776859542,"priority":1,"record_length":96,"hex_timestamp":"0000019db514f1f0"} 
[2026-04-22 17: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-22 17:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:38:33] local.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-22 17:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876037376001,"66":12504,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876037376001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:38:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876037376001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":50447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:38:33] local.INFO: GPS data processed {"connection_id":50447,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:38:33] local.INFO: Acknowledgment sent {"connection_id":50447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:38:36] local.INFO: TCP Data received {"connection_id":50838,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:38:36] local.INFO: Processing buffer {"connection_id":50838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:38:36] local.INFO: IMEI packet received {"connection_id":50838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":50838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:38:36] local.INFO: TCP Data received {"connection_id":50838,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:38:36] local.INFO: Processing buffer {"connection_id":50838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:38:36] local.INFO: Packet analysis {"connection_id":50838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:38:36] local.INFO: Extracted packet for processing {"connection_id":50838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38: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-22 17:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:38: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-22 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:38: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-22 17:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:38:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:38:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":50838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:38:36] local.INFO: GPS data processed {"connection_id":50838,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:38:36] local.INFO: Acknowledgment sent {"connection_id":50838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:38:41] local.INFO: TCP Data received {"connection_id":50838,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:38:41] local.INFO: Processing buffer {"connection_id":50838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:38:41] local.INFO: Packet analysis {"connection_id":50838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:38:41] local.INFO: Extracted packet for processing {"connection_id":50838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:41] 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-22 17:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:38:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":50838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:38:41] local.INFO: GPS data processed {"connection_id":50838,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:38:41] local.INFO: Acknowledgment sent {"connection_id":50838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:38:42] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db516f1a80100000000000000000000000000..."} 
[2026-04-22 17:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db516f1a80100000000000000000000000000..."} 
[2026-04-22 17:38:42] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db516f1a80100000000000000000000000000..."} 
[2026-04-22 17:38:42] local.INFO: Packet analysis {"connection_id":51395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db516"} 
[2026-04-22 17:38:42] local.INFO: Extracted packet for processing {"connection_id":51395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db516"} 
[2026-04-22 17:38:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-22 17:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 17:38:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 17:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776859673000,"timestamp_ms":1776859673000,"timestamp_seconds":1776859673,"priority":1,"record_length":96,"hex_timestamp":"0000019db516f1a8"} 
[2026-04-22 17:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:38:42] 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-22 17:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 17:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":51395,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-22 17:38:42] local.INFO: GPS data processed {"connection_id":51395,"processed":0,"errors":0,"total":1} 
[2026-04-22 17:38:42] local.INFO: Acknowledgment sent {"connection_id":51395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:38:50] local.INFO: TCP Data received {"connection_id":50839,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:38:50] local.INFO: Processing buffer {"connection_id":50839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:38:50] local.INFO: IMEI packet received {"connection_id":50839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":50839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:39:04] local.INFO: TCP Data received {"connection_id":50447,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db51543f8012d19cd80072019b8002f009126..."} 
[2026-04-22 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51543f8012d19cd80072019b8002f009126..."} 
[2026-04-22 17:39:04] local.INFO: Processing buffer {"connection_id":50447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51543f8012d19cd80072019b8002f009126..."} 
[2026-04-22 17:39:04] local.INFO: Packet analysis {"connection_id":50447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db515"} 
[2026-04-22 17:39:04] local.INFO: Extracted packet for processing {"connection_id":50447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db515"} 
[2026-04-22 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 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-22 17:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876042752001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39: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-22 17:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776859563000,"timestamp_ms":1776859563000,"timestamp_seconds":1776859563,"priority":1,"record_length":96,"hex_timestamp":"0000019db51543f8"} 
[2026-04-22 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-22 17:39: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-22 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 17:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876042752001,"66":12461,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876042752001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:39:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876042752001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":50447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:39:04] local.INFO: GPS data processed {"connection_id":50447,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:39:04] local.INFO: Acknowledgment sent {"connection_id":50447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:39:13] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51743b00100000000000000000000000000..."} 
[2026-04-22 17:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51743b00100000000000000000000000000..."} 
[2026-04-22 17:39:13] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51743b00100000000000000000000000000..."} 
[2026-04-22 17:39:13] local.INFO: Packet analysis {"connection_id":51395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db517"} 
[2026-04-22 17:39:13] local.INFO: Extracted packet for processing {"connection_id":51395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db517"} 
[2026-04-22 17:39: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-22 17:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834260330020864,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,170,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 17:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776859694000,"timestamp_ms":1776859694000,"timestamp_seconds":1776859694,"priority":1,"record_length":96,"hex_timestamp":"0000019db51743b0"} 
[2026-04-22 17:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:39:13] 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-22 17:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 17:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":51395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":51395,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-22 17:39:13] local.INFO: GPS data processed {"connection_id":51395,"processed":0,"errors":0,"total":1} 
[2026-04-22 17:39:13] local.INFO: Acknowledgment sent {"connection_id":51395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:39:26] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:39:26] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:39:26] local.INFO: IMEI packet received {"connection_id":50711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":50711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:39:27] local.INFO: TCP Data received {"connection_id":50840,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:39:27] local.INFO: Processing buffer {"connection_id":50840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:39:27] local.INFO: IMEI packet received {"connection_id":50840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:39:29] local.INFO: TCP Data received {"connection_id":50840,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:39:29] local.INFO: Processing buffer {"connection_id":50840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:39:29] local.INFO: IMEI packet received {"connection_id":50840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":50840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:39:31] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:39:31] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:39:31] local.INFO: IMEI packet received {"connection_id":50711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":50711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:39:31] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:39:31] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5136b50012d7fa74005afda30000d013a2c..."} 
[2026-04-22 17:39:31] local.INFO: Packet analysis {"connection_id":50711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:39:31] local.INFO: Extracted packet for processing {"connection_id":50711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db513"} 
[2026-04-22 17:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454875940096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39: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-22 17:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859442000,"timestamp_ms":1776859442000,"timestamp_seconds":1776859442,"priority":1,"record_length":96,"hex_timestamp":"0000019db5136b50"} 
[2026-04-22 17: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-22 17:39: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-22 17: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:39: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-22 17: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-22 17: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-22 17:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454875940096001,"66":25495,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454875940096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:39:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:39:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454875940096001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":50711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:39:31] local.INFO: GPS data processed {"connection_id":50711,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:39:31] local.INFO: Acknowledgment sent {"connection_id":50711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:39:32] local.INFO: TCP Data received {"connection_id":50840,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:39:32] local.INFO: Processing buffer {"connection_id":50840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:39:32] local.INFO: IMEI packet received {"connection_id":50840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":50840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:39:33] local.INFO: TCP Data received {"connection_id":50840,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5159600012d19cd80072019b8002f009128..."} 
[2026-04-22 17:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5159600012d19cd80072019b8002f009128..."} 
[2026-04-22 17:39:33] local.INFO: Processing buffer {"connection_id":50840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5159600012d19cd80072019b8002f009128..."} 
[2026-04-22 17:39:33] local.INFO: Packet analysis {"connection_id":50840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db515"} 
[2026-04-22 17:39:33] local.INFO: Extracted packet for processing {"connection_id":50840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db515"} 
[2026-04-22 17:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":40,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876048128001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39: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-22 17:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776859584000,"timestamp_ms":1776859584000,"timestamp_seconds":1776859584,"priority":1,"record_length":96,"hex_timestamp":"0000019db5159600"} 
[2026-04-22 17: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-22 17:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 17:39:33] 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-22 17: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-22 17: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-22 17:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:39:33] local.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-22 17:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876048128001,"66":12461,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876048128001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:39:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876048128001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":50840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:39:33] local.INFO: GPS data processed {"connection_id":50840,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:39:33] local.INFO: Acknowledgment sent {"connection_id":50840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:39:44] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5188400012d7b47c005e15b900001009106..."} 
[2026-04-22 17:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5188400012d7b47c005e15b900001009106..."} 
[2026-04-22 17:39:44] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5188400012d7b47c005e15b900001009106..."} 
[2026-04-22 17:39:44] local.INFO: Packet analysis {"connection_id":51395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:39:44] local.INFO: Extracted packet for processing {"connection_id":51395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:39:44] local.INFO: GPS Element Parsed {"raw_longitude":763054016,"raw_latitude":98655120,"longitude_deg":76.3054016,"latitude_deg":9.865512,"altitude":1,"angle":145,"satellites":6,"speed":5,"hex_longitude":"2d7b47c0","hex_latitude":"05e15b90","is_valid_coordinates":true} 
[2026-04-22 17:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876102144001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834406358908928,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883209552755740672,"note":"Value kept but may cause issues"} 
[2026-04-22 17:39:44] 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-22 17:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776859776000,"timestamp_ms":1776859776000,"timestamp_seconds":1776859776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5188400"} 
[2026-04-22 17:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 17:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":51395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876102144001,"66":13928,"170":206,"85":15104,"24":5,"16":74834406358908928,"45":8883209552755740672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 17:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876102144001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:39:44] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 17:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834406358908928,"km_value":74834406358908.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883209552755740672,"description":"Unknown IO ID 45"} 
[2026-04-22 17:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876102144001,"power":13928,"unknown_170":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8883209552755740672}} 
[2026-04-22 17:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":51395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:39:44] local.INFO: GPS data processed {"connection_id":51395,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:39:44] local.INFO: Acknowledgment sent {"connection_id":51395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:40:02] local.INFO: TCP Data received {"connection_id":50711,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:40:02] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:40:02] local.INFO: Packet analysis {"connection_id":50711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:40:02] local.INFO: Extracted packet for processing {"connection_id":50711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:02] 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-22 17:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:40: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-22 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 17:40: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-22 17:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:40:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":50711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:40:02] local.INFO: GPS data processed {"connection_id":50711,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:40:02] local.INFO: Acknowledgment sent {"connection_id":50711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:40:04] local.INFO: TCP Data received {"connection_id":50840,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db515e808012d19cd80072019b8002f00912a..."} 
[2026-04-22 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db515e808012d19cd80072019b8002f00912a..."} 
[2026-04-22 17:40:04] local.INFO: Processing buffer {"connection_id":50840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db515e808012d19cd80072019b8002f00912a..."} 
[2026-04-22 17:40:04] local.INFO: Packet analysis {"connection_id":50840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db515"} 
[2026-04-22 17:40:04] local.INFO: Extracted packet for processing {"connection_id":50840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db515"} 
[2026-04-22 17:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":42,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 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-22 17:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876053504001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40: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-22 17:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776859605000,"timestamp_ms":1776859605000,"timestamp_seconds":1776859605,"priority":1,"record_length":96,"hex_timestamp":"0000019db515e808"} 
[2026-04-22 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-22 17:40: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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 17:40:04] 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-22 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-22 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-22 17:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876053504001,"66":12504,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876053504001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:40:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876053504001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":50840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:40:04] local.INFO: GPS data processed {"connection_id":50840,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:40:04] local.INFO: Acknowledgment sent {"connection_id":50840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:40:14] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51887e8012d7b484005e15a48000000a206..."} 
[2026-04-22 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51887e8012d7b484005e15a48000000a206..."} 
[2026-04-22 17:40:14] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51887e8012d7b484005e15a48000000a206..."} 
[2026-04-22 17:40:14] local.INFO: Packet analysis {"connection_id":51395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:40:14] local.INFO: Extracted packet for processing {"connection_id":51395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763054144,"raw_latitude":98654792,"longitude_deg":76.3054144,"latitude_deg":9.8654792,"altitude":0,"angle":162,"satellites":6,"speed":6,"hex_longitude":"2d7b4840","hex_latitude":"05e15a48","is_valid_coordinates":true} 
[2026-04-22 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-22 17:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876102656001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834423538778112,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883279921499836416,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:14] 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-22 17:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776859777000,"timestamp_ms":1776859777000,"timestamp_seconds":1776859777,"priority":1,"record_length":96,"hex_timestamp":"0000019db51887e8"} 
[2026-04-22 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-22 17:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 17:40: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-22 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-22 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-22 17:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":51395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876102656001,"66":13526,"170":206,"85":15104,"24":6,"16":74834423538778112,"45":8883279921499836416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 17:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876102656001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:40:14] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 17:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834423538778112,"km_value":74834423538778.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883279921499836416,"description":"Unknown IO ID 45"} 
[2026-04-22 17:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876102656001,"power":13526,"unknown_170":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8883279921499836416}} 
[2026-04-22 17:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":51395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:40:14] local.INFO: GPS data processed {"connection_id":51395,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:40:14] local.INFO: Acknowledgment sent {"connection_id":51395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:40:26] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:40:26] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:40:26] local.INFO: IMEI packet received {"connection_id":50841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":50841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:40:27] local.INFO: TCP Data received {"connection_id":50449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:40:27] local.INFO: Processing buffer {"connection_id":50449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:40:27] local.INFO: IMEI packet received {"connection_id":50449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:40:31] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:40:31] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:40:31] local.INFO: IMEI packet received {"connection_id":50841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":50841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:40:31] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:40:31] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:40:31] local.INFO: Packet analysis {"connection_id":50841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:40:31] local.INFO: Extracted packet for processing {"connection_id":50841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40: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-22 17:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17: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-22 17:40: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-22 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 17:40: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-22 17: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-22 17: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-22 17:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:40:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":50841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:40:31] local.INFO: GPS data processed {"connection_id":50841,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:40:31] local.INFO: Acknowledgment sent {"connection_id":50841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:40:32] local.INFO: TCP Data received {"connection_id":50449,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:40:32] local.INFO: Processing buffer {"connection_id":50449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:40:32] local.INFO: IMEI packet received {"connection_id":50449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:40:33] local.INFO: TCP Data received {"connection_id":50449,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5163a10012d19cd80072019b8002f009127..."} 
[2026-04-22 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5163a10012d19cd80072019b8002f009127..."} 
[2026-04-22 17:40:33] local.INFO: Processing buffer {"connection_id":50449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5163a10012d19cd80072019b8002f009127..."} 
[2026-04-22 17:40:33] local.INFO: Packet analysis {"connection_id":50449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db516"} 
[2026-04-22 17:40:33] local.INFO: Extracted packet for processing {"connection_id":50449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db516"} 
[2026-04-22 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":39,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876058880001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40: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-22 17:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776859626000,"timestamp_ms":1776859626000,"timestamp_seconds":1776859626,"priority":1,"record_length":96,"hex_timestamp":"0000019db5163a10"} 
[2026-04-22 17:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 17:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:40:33] local.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-22 17:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876058880001,"66":12493,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876058880001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:40:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876058880001,"power":12493,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:40:33] local.INFO: GPS data processed {"connection_id":50449,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:40:33] local.INFO: Acknowledgment sent {"connection_id":50449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:40:46] local.INFO: TCP Data received {"connection_id":51395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51893a0012d7b490005e155b8000000af06..."} 
[2026-04-22 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51893a0012d7b490005e155b8000000af06..."} 
[2026-04-22 17:40:46] local.INFO: Processing buffer {"connection_id":51395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51893a0012d7b490005e155b8000000af06..."} 
[2026-04-22 17:40:46] local.INFO: Packet analysis {"connection_id":51395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:40:46] local.INFO: Extracted packet for processing {"connection_id":51395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":98653624,"longitude_deg":76.3054336,"latitude_deg":9.8653624,"altitude":0,"angle":175,"satellites":6,"speed":11,"hex_longitude":"2d7b4900","hex_latitude":"05e155b8","is_valid_coordinates":true} 
[2026-04-22 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-22 17:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834479373352960,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883420658988107776,"note":"Value kept but may cause issues"} 
[2026-04-22 17:40:46] 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-22 17:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776859780000,"timestamp_ms":1776859780000,"timestamp_seconds":1776859780,"priority":1,"record_length":96,"hex_timestamp":"0000019db51893a0"} 
[2026-04-22 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-22 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 17:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 17:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":51395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":51395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876102912001,"66":13678,"170":206,"85":15104,"24":11,"16":74834479373352960,"45":8883420658988107776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 17:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:40:46] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 17:40:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834479373352960,"km_value":74834479373352.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883420658988107776,"description":"Unknown IO ID 45"} 
[2026-04-22 17:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876102912001,"power":13678,"unknown_170":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8883420658988107776}} 
[2026-04-22 17:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":51395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:40:46] local.INFO: GPS data processed {"connection_id":51395,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:40:46] local.INFO: Acknowledgment sent {"connection_id":51395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:41:03] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:41:03] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:41:03] local.INFO: Packet analysis {"connection_id":50841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:41:03] local.INFO: Extracted packet for processing {"connection_id":50841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41: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-22 17:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:41: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-22 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 17:41: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-22 17:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:41:03] 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-22 17:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:41:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":50841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:41:03] local.INFO: GPS data processed {"connection_id":50841,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:41:03] local.INFO: Acknowledgment sent {"connection_id":50841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:41:04] local.INFO: TCP Data received {"connection_id":50449,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5168c18012d19cd80072019b8002f009126..."} 
[2026-04-22 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5168c18012d19cd80072019b8002f009126..."} 
[2026-04-22 17:41:04] local.INFO: Processing buffer {"connection_id":50449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5168c18012d19cd80072019b8002f009126..."} 
[2026-04-22 17:41:04] local.INFO: Packet analysis {"connection_id":50449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db516"} 
[2026-04-22 17:41:04] local.INFO: Extracted packet for processing {"connection_id":50449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db516"} 
[2026-04-22 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119544248,"longitude_deg":75.6665728,"latitude_deg":11.9544248,"altitude":47,"angle":145,"satellites":38,"speed":0,"hex_longitude":"2d19cd80","hex_latitude":"072019b8","is_valid_coordinates":true} 
[2026-04-22 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-22 17:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876064256001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113987641761857536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265565696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41: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-22 17:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776859647000,"timestamp_ms":1776859647000,"timestamp_seconds":1776859647,"priority":1,"record_length":96,"hex_timestamp":"0000019db5168c18"} 
[2026-04-22 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-22 17:41: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-22 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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 17:41:04] 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-22 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-22 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-22 17:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876064256001,"66":12461,"106":206,"83":41984,"24":0,"16":113987641761857536,"45":1859282989265565696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876064256001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:41:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113987641761857536,"km_value":113987641761857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265565696,"description":"Unknown IO ID 45"} 
[2026-04-22 17:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876064256001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859282989265565696}} 
[2026-04-22 17:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":50449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:41:04] local.INFO: GPS data processed {"connection_id":50449,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:41:04] local.INFO: Acknowledgment sent {"connection_id":50449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:41:10] local.INFO: TCP Data received {"connection_id":50712,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:41:10] local.INFO: Processing buffer {"connection_id":50712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:41:10] local.INFO: IMEI packet received {"connection_id":50712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":50712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:41:15] local.INFO: TCP Data received {"connection_id":50712,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:41:15] local.INFO: Processing buffer {"connection_id":50712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:41:15] local.INFO: IMEI packet received {"connection_id":50712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":50712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:41:15] local.INFO: TCP Data received {"connection_id":50712,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db518bab0012d7b4e8005e13360000000ac06..."} 
[2026-04-22 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db518bab0012d7b4e8005e13360000000ac06..."} 
[2026-04-22 17:41:15] local.INFO: Processing buffer {"connection_id":50712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db518bab0012d7b4e8005e13360000000ac06..."} 
[2026-04-22 17:41:15] local.INFO: Packet analysis {"connection_id":50712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:41:15] local.INFO: Extracted packet for processing {"connection_id":50712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":763055744,"raw_latitude":98644832,"longitude_deg":76.3055744,"latitude_deg":9.8644832,"altitude":0,"angle":172,"satellites":6,"speed":35,"hex_longitude":"2d7b4e80","hex_latitude":"05e13360","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876103680001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74834913165049856,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883631765220341760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:15] 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-22 17:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776859790000,"timestamp_ms":1776859790000,"timestamp_seconds":1776859790,"priority":1,"record_length":96,"hex_timestamp":"0000019db518bab0"} 
[2026-04-22 17: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-22 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 17:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876103680001,"66":13678,"170":206,"85":15104,"24":35,"16":74834913165049856,"45":8883631765220341760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 17:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876103680001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:41:15] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 17:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74834913165049856,"km_value":74834913165049.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883631765220341760,"description":"Unknown IO ID 45"} 
[2026-04-22 17:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876103680001,"power":13678,"unknown_170":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8883631765220341760}} 
[2026-04-22 17:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":50712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:41:15] local.INFO: GPS data processed {"connection_id":50712,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:41:15] local.INFO: Acknowledgment sent {"connection_id":50712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:41:25] local.INFO: TCP Data received {"connection_id":50451,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:41:25] local.INFO: Processing buffer {"connection_id":50451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:41:25] local.INFO: IMEI packet received {"connection_id":50451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":50451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:41:30] local.INFO: TCP Data received {"connection_id":50713,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:30] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:30] local.INFO: IMEI packet received {"connection_id":50713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":50713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:41:31] local.INFO: TCP Data received {"connection_id":50451,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:41:31] local.INFO: Processing buffer {"connection_id":50451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:41:31] local.INFO: IMEI packet received {"connection_id":50451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":50451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:41:31] local.INFO: TCP Data received {"connection_id":50713,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:31] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:31] local.INFO: IMEI packet received {"connection_id":50713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":50713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:41:32] local.INFO: TCP Data received {"connection_id":50451,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:41:32] local.INFO: Processing buffer {"connection_id":50451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:41:32] local.INFO: Packet analysis {"connection_id":50451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:41:32] local.INFO: Extracted packet for processing {"connection_id":50451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41: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-22 17:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:41: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-22 17:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 17: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-22 17:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:41:32] 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-22 17:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:41:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":50451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:41:32] local.INFO: GPS data processed {"connection_id":50451,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:41:32] local.INFO: Acknowledgment sent {"connection_id":50451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:41:32] local.INFO: TCP Data received {"connection_id":50713,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:32] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:32] local.INFO: IMEI packet received {"connection_id":50713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:41:32] local.INFO: TCP Data received {"connection_id":50713,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:32] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:41:32] local.INFO: IMEI packet received {"connection_id":50713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:41:46] local.INFO: TCP Data received {"connection_id":50712,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51a6860012d7b7a4005e03190000000ed09..."} 
[2026-04-22 17:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51a6860012d7b7a4005e03190000000ed09..."} 
[2026-04-22 17:41:46] local.INFO: Processing buffer {"connection_id":50712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51a6860012d7b7a4005e03190000000ed09..."} 
[2026-04-22 17:41:46] local.INFO: Packet analysis {"connection_id":50712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51a"} 
[2026-04-22 17:41:46] local.INFO: Extracted packet for processing {"connection_id":50712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51a"} 
[2026-04-22 17:41:46] local.INFO: GPS Element Parsed {"raw_longitude":763066944,"raw_latitude":98578832,"longitude_deg":76.3066944,"latitude_deg":9.8578832,"altitude":0,"angle":237,"satellites":9,"speed":8,"hex_longitude":"2d7b7a40","hex_latitude":"05e03190","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876133632001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74838477987905536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897916620269355008,"note":"Value kept but may cause issues"} 
[2026-04-22 17:41:46] 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-22 17:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776859900000,"timestamp_ms":1776859900000,"timestamp_seconds":1776859900,"priority":1,"record_length":96,"hex_timestamp":"0000019db51a6860"} 
[2026-04-22 17: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-22 17:41:46] 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-22 17:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-04-22 17:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876133632001,"66":13820,"35":206,"85":15104,"24":8,"16":74838477987905536,"45":8897916620269355008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 17:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876133632001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:41:46] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 17:41:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74838477987905536,"km_value":74838477987905.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897916620269355008,"description":"Unknown IO ID 45"} 
[2026-04-22 17:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876133632001,"power":13820,"unknown_35":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8897916620269355008}} 
[2026-04-22 17:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":50712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:41:46] local.INFO: GPS data processed {"connection_id":50712,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:41:46] local.INFO: Acknowledgment sent {"connection_id":50712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:42:03] local.INFO: TCP Data received {"connection_id":50451,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:42:03] local.INFO: Processing buffer {"connection_id":50451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:42:03] local.INFO: Packet analysis {"connection_id":50451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:42:03] local.INFO: Extracted packet for processing {"connection_id":50451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42: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-22 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:42: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-22 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 17:42: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-22 17: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-22 17:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:42:03] 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-22 17:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:42:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:42:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":50451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:42:03] local.INFO: GPS data processed {"connection_id":50451,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:42:03] local.INFO: Acknowledgment sent {"connection_id":50451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:42:17] local.INFO: TCP Data received {"connection_id":50712,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51a6c48012d7b7a0005e03120000000fb09..."} 
[2026-04-22 17:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51a6c48012d7b7a0005e03120000000fb09..."} 
[2026-04-22 17:42:17] local.INFO: Processing buffer {"connection_id":50712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51a6c48012d7b7a0005e03120000000fb09..."} 
[2026-04-22 17:42:17] local.INFO: Packet analysis {"connection_id":50712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51a"} 
[2026-04-22 17:42:17] local.INFO: Extracted packet for processing {"connection_id":50712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51a"} 
[2026-04-22 17:42:17] local.INFO: GPS Element Parsed {"raw_longitude":763066880,"raw_latitude":98578720,"longitude_deg":76.306688,"latitude_deg":9.857872,"altitude":0,"angle":251,"satellites":9,"speed":6,"hex_longitude":"2d7b7a00","hex_latitude":"05e03120","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876134400001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74838486577840128,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897494407804194816,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:17] 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-22 17:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776859901000,"timestamp_ms":1776859901000,"timestamp_seconds":1776859901,"priority":1,"record_length":96,"hex_timestamp":"0000019db51a6c48"} 
[2026-04-22 17: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-22 17:42:17] 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-22 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 17:42: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-22 17: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-22 17: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-22 17:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":50712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":50712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":50712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876134400001,"66":13646,"35":206,"85":15104,"24":6,"16":74838486577840128,"45":8897494407804194816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 17:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876134400001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:42:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 17:42:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74838486577840128,"km_value":74838486577840.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897494407804194816,"description":"Unknown IO ID 45"} 
[2026-04-22 17:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876134400001,"power":13646,"unknown_35":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8897494407804194816}} 
[2026-04-22 17:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":50712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:42:17] local.INFO: GPS data processed {"connection_id":50712,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:42:17] local.INFO: Acknowledgment sent {"connection_id":50712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:42:25] local.INFO: TCP Data received {"connection_id":51396,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:42:25] local.INFO: Processing buffer {"connection_id":51396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:42:25] local.INFO: IMEI packet received {"connection_id":51396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":51396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:42:31] local.INFO: TCP Data received {"connection_id":51396,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:42:31] local.INFO: Processing buffer {"connection_id":51396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:42:31] local.INFO: IMEI packet received {"connection_id":51396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":51396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:42:31] local.INFO: TCP Data received {"connection_id":51396,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:42:31] local.INFO: Processing buffer {"connection_id":51396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:42:31] local.INFO: Packet analysis {"connection_id":51396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:42:31] local.INFO: Extracted packet for processing {"connection_id":51396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42: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-22 17:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17: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-22 17:42: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-22 17: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 17:42: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-22 17: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-22 17: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-22 17:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:42:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":51396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:42:31] local.INFO: GPS data processed {"connection_id":51396,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:42:31] local.INFO: Acknowledgment sent {"connection_id":51396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:42:48] local.INFO: TCP Data received {"connection_id":50712,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51a7800012d7b788005e03098000000e609..."} 
[2026-04-22 17:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51a7800012d7b788005e03098000000e609..."} 
[2026-04-22 17:42:48] local.INFO: Processing buffer {"connection_id":50712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51a7800012d7b788005e03098000000e609..."} 
[2026-04-22 17:42:48] local.INFO: Packet analysis {"connection_id":50712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51a"} 
[2026-04-22 17:42:48] local.INFO: Extracted packet for processing {"connection_id":50712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51a"} 
[2026-04-22 17:42:48] local.INFO: GPS Element Parsed {"raw_longitude":763066496,"raw_latitude":98578584,"longitude_deg":76.3066496,"latitude_deg":9.8578584,"altitude":0,"angle":230,"satellites":9,"speed":3,"hex_longitude":"2d7b7880","hex_latitude":"05e03098","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876134656001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74838503757709312,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897424039059988480,"note":"Value kept but may cause issues"} 
[2026-04-22 17:42:48] 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-22 17:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776859904000,"timestamp_ms":1776859904000,"timestamp_seconds":1776859904,"priority":1,"record_length":96,"hex_timestamp":"0000019db51a7800"} 
[2026-04-22 17: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-22 17:42: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-22 17:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 17:42:48] 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-22 17: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-22 17: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-22 17:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876134656001,"66":13678,"35":206,"85":15104,"24":3,"16":74838503757709312,"45":8897424039059988480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 17:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876134656001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:42:48] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 17:42:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74838503757709312,"km_value":74838503757709.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897424039059988480,"description":"Unknown IO ID 45"} 
[2026-04-22 17:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876134656001,"power":13678,"unknown_35":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8897424039059988480}} 
[2026-04-22 17:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":50712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:42:48] local.INFO: GPS data processed {"connection_id":50712,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:42:48] local.INFO: Acknowledgment sent {"connection_id":50712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:43:02] local.INFO: TCP Data received {"connection_id":51396,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:43:02] local.INFO: Processing buffer {"connection_id":51396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:43:02] local.INFO: Packet analysis {"connection_id":51396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:43:02] local.INFO: Extracted packet for processing {"connection_id":51396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:02] 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-22 17:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17: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-22 17:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 17:43: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-22 17: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-22 17: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-22 17:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:43:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":51396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:43:02] local.INFO: GPS data processed {"connection_id":51396,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:43:02] local.INFO: Acknowledgment sent {"connection_id":51396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:43:13] local.INFO: TCP Data received {"connection_id":51398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:43:13] local.INFO: Processing buffer {"connection_id":51398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:43:13] local.INFO: IMEI packet received {"connection_id":51398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":51398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:43:15] local.INFO: TCP Data received {"connection_id":51398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:43:15] local.INFO: Processing buffer {"connection_id":51398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:43:15] local.INFO: IMEI packet received {"connection_id":51398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":51398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:43:17] local.INFO: TCP Data received {"connection_id":51398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:43:17] local.INFO: Processing buffer {"connection_id":51398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:43:17] local.INFO: IMEI packet received {"connection_id":51398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":51398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:43:20] local.INFO: TCP Data received {"connection_id":51398,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51a7be8012d7b790005e03008000000cc0a..."} 
[2026-04-22 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51a7be8012d7b790005e03008000000cc0a..."} 
[2026-04-22 17:43:20] local.INFO: Processing buffer {"connection_id":51398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51a7be8012d7b790005e03008000000cc0a..."} 
[2026-04-22 17:43:20] local.INFO: Packet analysis {"connection_id":51398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51a"} 
[2026-04-22 17:43:20] local.INFO: Extracted packet for processing {"connection_id":51398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51a"} 
[2026-04-22 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":763066624,"raw_latitude":98578440,"longitude_deg":76.3066624,"latitude_deg":9.857844,"altitude":0,"angle":204,"satellites":10,"speed":4,"hex_longitude":"2d7b7900","hex_latitude":"05e03008","is_valid_coordinates":true} 
[2026-04-22 17:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876135424001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74838516642611200,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897001826594887680,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:20] 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-22 17:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776859905000,"timestamp_ms":1776859905000,"timestamp_seconds":1776859905,"priority":1,"record_length":96,"hex_timestamp":"0000019db51a7be8"} 
[2026-04-22 17:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:43:20] 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-22 17:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 17:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":51398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":51398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":51398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876135424001,"66":13602,"35":206,"85":15104,"24":4,"16":74838516642611200,"45":8897001826594887680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 17:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876135424001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:43:20] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 17:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74838516642611200,"km_value":74838516642611.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897001826594887680,"description":"Unknown IO ID 45"} 
[2026-04-22 17:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876135424001,"power":13602,"unknown_35":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8897001826594887680}} 
[2026-04-22 17:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":51398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:43:20] local.INFO: GPS data processed {"connection_id":51398,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:43:20] local.INFO: Acknowledgment sent {"connection_id":51398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:43:31] local.INFO: TCP Data received {"connection_id":50843,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:43:31] local.INFO: Processing buffer {"connection_id":50843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:43:31] local.INFO: IMEI packet received {"connection_id":50843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":50843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:43:36] local.INFO: TCP Data received {"connection_id":50843,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:43:36] local.INFO: Processing buffer {"connection_id":50843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:43:36] local.INFO: IMEI packet received {"connection_id":50843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":50843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:43:36] local.INFO: TCP Data received {"connection_id":50843,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:43:36] local.INFO: Processing buffer {"connection_id":50843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:43:36] local.INFO: Packet analysis {"connection_id":50843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:43:36] local.INFO: Extracted packet for processing {"connection_id":50843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43: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-22 17:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:43: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-22 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 17:43: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-22 17:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:43:36] 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-22 17:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:43:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":50843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:43:36] local.INFO: GPS data processed {"connection_id":50843,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:43:36] local.INFO: Acknowledgment sent {"connection_id":50843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:43:41] local.INFO: TCP Data received {"connection_id":50843,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:43:41] local.INFO: Processing buffer {"connection_id":50843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:43:41] local.INFO: Packet analysis {"connection_id":50843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:43:41] local.INFO: Extracted packet for processing {"connection_id":50843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:41] 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-22 17:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 17:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:43:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":50843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:43:41] local.INFO: GPS data processed {"connection_id":50843,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:43:41] local.INFO: Acknowledgment sent {"connection_id":50843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:43:51] local.INFO: TCP Data received {"connection_id":51398,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c3938012d7b7e0005e01768000000c80f..."} 
[2026-04-22 17:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c3938012d7b7e0005e01768000000c80f..."} 
[2026-04-22 17:43:51] local.INFO: Processing buffer {"connection_id":51398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c3938012d7b7e0005e01768000000c80f..."} 
[2026-04-22 17:43:51] local.INFO: Packet analysis {"connection_id":51398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:43:51] local.INFO: Extracted packet for processing {"connection_id":51398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:43:51] local.INFO: GPS Element Parsed {"raw_longitude":763067904,"raw_latitude":98572136,"longitude_deg":76.3067904,"latitude_deg":9.8572136,"altitude":0,"angle":200,"satellites":15,"speed":3,"hex_longitude":"2d7b7e00","hex_latitude":"05e01768","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876164608001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74838868829929472,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898549938965161984,"note":"Value kept but may cause issues"} 
[2026-04-22 17:43:51] 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-22 17:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776860019000,"timestamp_ms":1776860019000,"timestamp_seconds":1776860019,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c3938"} 
[2026-04-22 17: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-22 17:43:51] 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-22 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 17:43:51] 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-22 17: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-22 17: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-22 17:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":51398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":51398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":51398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876164608001,"66":13526,"35":206,"85":15104,"24":3,"16":74838868829929472,"45":8898549938965161984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 17:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876164608001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:43:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 17:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74838868829929472,"km_value":74838868829929.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898549938965161984,"description":"Unknown IO ID 45"} 
[2026-04-22 17:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876164608001,"power":13526,"unknown_35":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8898549938965161984}} 
[2026-04-22 17:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":51398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:43:51] local.INFO: GPS data processed {"connection_id":51398,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:43:51] local.INFO: Acknowledgment sent {"connection_id":51398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:44:10] local.INFO: TCP Data received {"connection_id":50454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:44:10] local.INFO: Processing buffer {"connection_id":50454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:44:10] local.INFO: IMEI packet received {"connection_id":50454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":50454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:44:15] local.INFO: TCP Data received {"connection_id":50454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:44:15] local.INFO: Processing buffer {"connection_id":50454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:44:15] local.INFO: IMEI packet received {"connection_id":50454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":50454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:44:16] local.INFO: TCP Data received {"connection_id":50454,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c3d20012d7b7e8005e01780000000d80f..."} 
[2026-04-22 17:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c3d20012d7b7e8005e01780000000d80f..."} 
[2026-04-22 17:44:16] local.INFO: Processing buffer {"connection_id":50454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c3d20012d7b7e8005e01780000000d80f..."} 
[2026-04-22 17:44:16] local.INFO: Packet analysis {"connection_id":50454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:44:16] local.INFO: Extracted packet for processing {"connection_id":50454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:44:16] local.INFO: GPS Element Parsed {"raw_longitude":763068032,"raw_latitude":98572160,"longitude_deg":76.3068032,"latitude_deg":9.857216,"altitude":0,"angle":216,"satellites":15,"speed":2,"hex_longitude":"2d7b7e80","hex_latitude":"05e01780","is_valid_coordinates":true} 
[2026-04-22 17:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876164864001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74838873124896768,"note":"Value kept but may cause issues"} 
[2026-04-22 17:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898549938965145600,"note":"Value kept but may cause issues"} 
[2026-04-22 17:44:16] 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-22 17:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860020000,"timestamp_ms":1776860020000,"timestamp_seconds":1776860020,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c3d20"} 
[2026-04-22 17:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 17:44:16] 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-22 17:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876164864001,"66":13526,"35":206,"85":15104,"24":2,"16":74838873124896768,"45":8898549938965145600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 17:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876164864001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:44:16] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 17:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74838873124896768,"km_value":74838873124896.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898549938965145600,"description":"Unknown IO ID 45"} 
[2026-04-22 17:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876164864001,"power":13526,"unknown_35":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8898549938965145600}} 
[2026-04-22 17:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":50454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:44:16] local.INFO: GPS data processed {"connection_id":50454,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:44:16] local.INFO: Acknowledgment sent {"connection_id":50454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:44:26] local.INFO: TCP Data received {"connection_id":50715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:44:26] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:44:26] local.INFO: IMEI packet received {"connection_id":50715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":50715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:44:31] local.INFO: TCP Data received {"connection_id":50715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:44:31] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:44:31] local.INFO: IMEI packet received {"connection_id":50715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":50715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:44:31] local.INFO: TCP Data received {"connection_id":50715,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:44:31] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5180318012d7fa74005afda30000d013a2d..."} 
[2026-04-22 17:44:31] local.INFO: Packet analysis {"connection_id":50715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:44:31] local.INFO: Extracted packet for processing {"connection_id":50715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db518"} 
[2026-04-22 17:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876017152001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:44: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-22 17:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776859743000,"timestamp_ms":1776859743000,"timestamp_seconds":1776859743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5180318"} 
[2026-04-22 17: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-22 17:44: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-22 17: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-22 17: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-22 17: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-22 17: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-22 17:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876017152001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876017152001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:44:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876017152001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":50715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:44:31] local.INFO: GPS data processed {"connection_id":50715,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:44:31] local.INFO: Acknowledgment sent {"connection_id":50715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:44:47] local.INFO: TCP Data received {"connection_id":50454,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c4108012d7b7ec005e01788000000e50f..."} 
[2026-04-22 17:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c4108012d7b7ec005e01788000000e50f..."} 
[2026-04-22 17:44:47] local.INFO: Processing buffer {"connection_id":50454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c4108012d7b7ec005e01788000000e50f..."} 
[2026-04-22 17:44:47] local.INFO: Packet analysis {"connection_id":50454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:44:47] local.INFO: Extracted packet for processing {"connection_id":50454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:44:47] local.INFO: GPS Element Parsed {"raw_longitude":763068096,"raw_latitude":98572168,"longitude_deg":76.3068096,"latitude_deg":9.8572168,"altitude":0,"angle":229,"satellites":15,"speed":2,"hex_longitude":"2d7b7ec0","hex_latitude":"05e01788","is_valid_coordinates":true} 
[2026-04-22 17:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876165120001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74838877419864064,"note":"Value kept but may cause issues"} 
[2026-04-22 17:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898690676453507072,"note":"Value kept but may cause issues"} 
[2026-04-22 17:44:47] 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-22 17:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776860021000,"timestamp_ms":1776860021000,"timestamp_seconds":1776860021,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c4108"} 
[2026-04-22 17:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:44:47] 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-22 17:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 17:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876165120001,"66":13678,"35":206,"85":15104,"24":2,"16":74838877419864064,"45":8898690676453507072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-22 17:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876165120001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:44:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 17:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74838877419864064,"km_value":74838877419864.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898690676453507072,"description":"Unknown IO ID 45"} 
[2026-04-22 17:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876165120001,"power":13678,"unknown_35":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8898690676453507072}} 
[2026-04-22 17:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":50454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:44:47] local.INFO: GPS data processed {"connection_id":50454,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:44:47] local.INFO: Acknowledgment sent {"connection_id":50454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:44:50] local.INFO: TCP Data received {"connection_id":51399,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:44:50] local.INFO: Processing buffer {"connection_id":51399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:44:50] local.INFO: IMEI packet received {"connection_id":51399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":51399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:45:02] local.INFO: TCP Data received {"connection_id":50715,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:45:02] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:45:02] local.INFO: Packet analysis {"connection_id":50715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:45:02] local.INFO: Extracted packet for processing {"connection_id":50715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:02] 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-22 17:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 17: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-22 17:45: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-22 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:45: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-22 17: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-22 17: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-22 17:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:45:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":50715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:45:02] local.INFO: GPS data processed {"connection_id":50715,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:45:02] local.INFO: Acknowledgment sent {"connection_id":50715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:45:08] local.INFO: TCP Data received {"connection_id":50844,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:08] local.INFO: Processing buffer {"connection_id":50844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:08] local.INFO: IMEI packet received {"connection_id":50844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":50844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:45:10] local.INFO: TCP Data received {"connection_id":50844,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:10] local.INFO: Processing buffer {"connection_id":50844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:10] local.INFO: IMEI packet received {"connection_id":50844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":50844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:45:12] local.INFO: TCP Data received {"connection_id":50844,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:12] local.INFO: Processing buffer {"connection_id":50844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:12] local.INFO: IMEI packet received {"connection_id":50844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":50844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:45:15] local.INFO: TCP Data received {"connection_id":50844,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:15] local.INFO: Processing buffer {"connection_id":50844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:45:15] local.INFO: IMEI packet received {"connection_id":50844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":50844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:45:16] local.INFO: TCP Data received {"connection_id":50844,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51d46c0012d7b854005dffb28000000cb0f..."} 
[2026-04-22 17:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51d46c0012d7b854005dffb28000000cb0f..."} 
[2026-04-22 17:45:16] local.INFO: Processing buffer {"connection_id":50844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51d46c0012d7b854005dffb28000000cb0f..."} 
[2026-04-22 17:45:16] local.INFO: Packet analysis {"connection_id":50844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:45:16] local.INFO: Extracted packet for processing {"connection_id":50844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763069760,"raw_latitude":98564904,"longitude_deg":76.306976,"latitude_deg":9.8564904,"altitude":0,"angle":203,"satellites":15,"speed":4,"hex_longitude":"2d7b8540","hex_latitude":"05dffb28","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876182272001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74839281146789888,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001288648704,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:16] 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-22 17:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860088000,"timestamp_ms":1776860088000,"timestamp_seconds":1776860088,"priority":1,"record_length":96,"hex_timestamp":"0000019db51d46c0"} 
[2026-04-22 17: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-22 17:45:16] 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-22 17: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 17:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876182272001,"66":13722,"36":206,"85":15104,"24":4,"16":74839281146789888,"45":8900661001288648704},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876182272001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:45:16] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74839281146789888,"km_value":74839281146789.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001288648704,"description":"Unknown IO ID 45"} 
[2026-04-22 17:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876182272001,"power":13722,"unknown_36":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8900661001288648704}} 
[2026-04-22 17:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":50844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:45:16] local.INFO: GPS data processed {"connection_id":50844,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:45:16] local.INFO: Acknowledgment sent {"connection_id":50844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:45:20] local.INFO: TCP Data received {"connection_id":50844,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51d4aa8012d7b854005dffac0000000bc0f..."} 
[2026-04-22 17:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51d4aa8012d7b854005dffac0000000bc0f..."} 
[2026-04-22 17:45:20] local.INFO: Processing buffer {"connection_id":50844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51d4aa8012d7b854005dffac0000000bc0f..."} 
[2026-04-22 17:45:20] local.INFO: Packet analysis {"connection_id":50844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:45:20] local.INFO: Extracted packet for processing {"connection_id":50844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763069760,"raw_latitude":98564800,"longitude_deg":76.306976,"latitude_deg":9.85648,"altitude":0,"angle":188,"satellites":15,"speed":4,"hex_longitude":"2d7b8540","hex_latitude":"05dffac0","is_valid_coordinates":true} 
[2026-04-22 17:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876182528001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74839289736724480,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632544446464,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45: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-22 17:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776860089000,"timestamp_ms":1776860089000,"timestamp_seconds":1776860089,"priority":1,"record_length":96,"hex_timestamp":"0000019db51d4aa8"} 
[2026-04-22 17:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 17:45:20] 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-22 17:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876182528001,"66":13178,"36":206,"85":15104,"24":4,"16":74839289736724480,"45":8900590632544446464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876182528001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:45:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74839289736724480,"km_value":74839289736724.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632544446464,"description":"Unknown IO ID 45"} 
[2026-04-22 17:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876182528001,"power":13178,"unknown_36":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8900590632544446464}} 
[2026-04-22 17:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":50844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:45:20] local.INFO: GPS data processed {"connection_id":50844,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:45:20] local.INFO: Acknowledgment sent {"connection_id":50844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:45:25] local.INFO: TCP Data received {"connection_id":50845,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:45:25] local.INFO: Processing buffer {"connection_id":50845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:45:25] local.INFO: IMEI packet received {"connection_id":50845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":50845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:45:30] local.INFO: TCP Data received {"connection_id":50845,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:45:30] local.INFO: Processing buffer {"connection_id":50845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:45:30] local.INFO: IMEI packet received {"connection_id":50845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":50845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:45:31] local.INFO: TCP Data received {"connection_id":50845,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:45:31] local.INFO: Processing buffer {"connection_id":50845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:45:31] local.INFO: Packet analysis {"connection_id":50845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:45:31] local.INFO: Extracted packet for processing {"connection_id":50845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45: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-22 17:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 17:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:45: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-22 17:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:45: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-22 17:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:45:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":50845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:45:31] local.INFO: GPS data processed {"connection_id":50845,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:45:31] local.INFO: Acknowledgment sent {"connection_id":50845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:45:51] local.INFO: TCP Data received {"connection_id":50844,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51d4e90012d7b854005dffa48000000ad0f..."} 
[2026-04-22 17:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51d4e90012d7b854005dffa48000000ad0f..."} 
[2026-04-22 17:45:51] local.INFO: Processing buffer {"connection_id":50844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51d4e90012d7b854005dffa48000000ad0f..."} 
[2026-04-22 17:45:51] local.INFO: Packet analysis {"connection_id":50844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:45:51] local.INFO: Extracted packet for processing {"connection_id":50844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:45:51] local.INFO: GPS Element Parsed {"raw_longitude":763069760,"raw_latitude":98564680,"longitude_deg":76.306976,"latitude_deg":9.856468,"altitude":0,"angle":173,"satellites":15,"speed":5,"hex_longitude":"2d7b8540","hex_latitude":"05dffa48","is_valid_coordinates":true} 
[2026-04-22 17:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876182784001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74839294031691776,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632544419840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:45:51] 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-22 17:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776860090000,"timestamp_ms":1776860090000,"timestamp_seconds":1776860090,"priority":1,"record_length":96,"hex_timestamp":"0000019db51d4e90"} 
[2026-04-22 17:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:45:51] 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-22 17:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-04-22 17:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":50844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":50844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":50844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876182784001,"66":13178,"36":206,"85":15104,"24":5,"16":74839294031691776,"45":8900590632544419840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876182784001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:45:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:45:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74839294031691776,"km_value":74839294031691.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632544419840,"description":"Unknown IO ID 45"} 
[2026-04-22 17:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876182784001,"power":13178,"unknown_36":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8900590632544419840}} 
[2026-04-22 17:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":50844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:45:51] local.INFO: GPS data processed {"connection_id":50844,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:45:51] local.INFO: Acknowledgment sent {"connection_id":50844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:46:03] local.INFO: TCP Data received {"connection_id":50845,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:46:03] local.INFO: Processing buffer {"connection_id":50845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:46:03] local.INFO: Packet analysis {"connection_id":50845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:46:03] local.INFO: Extracted packet for processing {"connection_id":50845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46: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-22 17:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 17:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:46: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-22 17:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:46:03] 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-22 17:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:46:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":50845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:46:03] local.INFO: GPS data processed {"connection_id":50845,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:46:03] local.INFO: Acknowledgment sent {"connection_id":50845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:46:10] local.INFO: TCP Data received {"connection_id":51400,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:46:10] local.INFO: Processing buffer {"connection_id":51400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:46:10] local.INFO: IMEI packet received {"connection_id":51400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":51400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:46:12] local.INFO: TCP Data received {"connection_id":51400,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:46:12] local.INFO: Processing buffer {"connection_id":51400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:46:12] local.INFO: IMEI packet received {"connection_id":51400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":51400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:46:13] local.INFO: TCP Data received {"connection_id":51400,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:46:13] local.INFO: Processing buffer {"connection_id":51400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:46:13] local.INFO: IMEI packet received {"connection_id":51400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":51400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:46:14] local.INFO: TCP Data received {"connection_id":51400,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51e5830012d7b8a4005dfe200000100890e..."} 
[2026-04-22 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51e5830012d7b8a4005dfe200000100890e..."} 
[2026-04-22 17:46:14] local.INFO: Processing buffer {"connection_id":51400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51e5830012d7b8a4005dfe200000100890e..."} 
[2026-04-22 17:46:14] local.INFO: Packet analysis {"connection_id":51400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:46:14] local.INFO: Extracted packet for processing {"connection_id":51400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763071040,"raw_latitude":98558464,"longitude_deg":76.307104,"latitude_deg":9.8558464,"altitude":1,"angle":137,"satellites":14,"speed":2,"hex_longitude":"2d7b8a40","hex_latitude":"05dfe200","is_valid_coordinates":true} 
[2026-04-22 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-22 17:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876199168001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74839650513977344,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786901193928704,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:14] 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-22 17:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776860158000,"timestamp_ms":1776860158000,"timestamp_seconds":1776860158,"priority":1,"record_length":96,"hex_timestamp":"0000019db51e5830"} 
[2026-04-22 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-22 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 17:46:14] 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-22 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-22 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-22 17:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":51400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":51400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":51400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876199168001,"66":13689,"36":206,"85":15104,"24":2,"16":74839650513977344,"45":8901786901193928704},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876199168001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:46:14] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74839650513977344,"km_value":74839650513977.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786901193928704,"description":"Unknown IO ID 45"} 
[2026-04-22 17:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876199168001,"power":13689,"unknown_36":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8901786901193928704}} 
[2026-04-22 17:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":51400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:46:14] local.INFO: GPS data processed {"connection_id":51400,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:46:14] local.INFO: Acknowledgment sent {"connection_id":51400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:46:30] local.INFO: TCP Data received {"connection_id":50717,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:46:30] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:46:30] local.INFO: IMEI packet received {"connection_id":50717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":50717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:46:34] local.INFO: TCP Data received {"connection_id":51401,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:46:34] local.INFO: Processing buffer {"connection_id":51401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:46:34] local.INFO: IMEI packet received {"connection_id":51401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":51401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:46:35] local.INFO: TCP Data received {"connection_id":51401,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db51d98c8012d181f400721a700004d004e29..."} 
[2026-04-22 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51d98c8012d181f400721a700004d004e29..."} 
[2026-04-22 17:46:35] local.INFO: Processing buffer {"connection_id":51401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51d98c8012d181f400721a700004d004e29..."} 
[2026-04-22 17:46:35] local.INFO: Packet analysis {"connection_id":51401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:46:35] local.INFO: Extracted packet for processing {"connection_id":51401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645952,"longitude_deg":75.6555584,"latitude_deg":11.9645952,"altitude":77,"angle":78,"satellites":41,"speed":5,"hex_longitude":"2d181f40","hex_latitude":"0721a700","is_valid_coordinates":true} 
[2026-04-22 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876187648001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996240286384128,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329296896,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776860109000,"timestamp_ms":1776860109000,"timestamp_seconds":1776860109,"priority":1,"record_length":96,"hex_timestamp":"0000019db51d98c8"} 
[2026-04-22 17:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 17:46:35] 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-22 17:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:46:35] 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-22 17:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876187648001,"66":14298,"105":206,"83":41984,"24":5,"16":113996240286384128,"45":1737967274329296896},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876187648001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:46:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996240286384128,"km_value":113996240286384.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329296896,"description":"Unknown IO ID 45"} 
[2026-04-22 17:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876187648001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737967274329296896}} 
[2026-04-22 17:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":51401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:46:35] local.INFO: GPS data processed {"connection_id":51401,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:46:35] local.INFO: Acknowledgment sent {"connection_id":51401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:46:36] local.INFO: TCP Data received {"connection_id":50717,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:46:36] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:46:36] local.INFO: IMEI packet received {"connection_id":50717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":50717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:46:37] local.INFO: TCP Data received {"connection_id":50717,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:46:37] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:46:37] local.INFO: Packet analysis {"connection_id":50717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:46:37] local.INFO: Extracted packet for processing {"connection_id":50717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:37] 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-22 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:46: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-22 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 17:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:46:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":50717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:46:37] local.INFO: GPS data processed {"connection_id":50717,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:46:37] local.INFO: Acknowledgment sent {"connection_id":50717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:46:44] local.INFO: TCP Data received {"connection_id":51400,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51eeca0012d7b870005dfdb70000200c00f..."} 
[2026-04-22 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51eeca0012d7b870005dfdb70000200c00f..."} 
[2026-04-22 17:46:44] local.INFO: Processing buffer {"connection_id":51400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51eeca0012d7b870005dfdb70000200c00f..."} 
[2026-04-22 17:46:44] local.INFO: Packet analysis {"connection_id":51400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:46:44] local.INFO: Extracted packet for processing {"connection_id":51400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:46:44] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":98556784,"longitude_deg":76.3070208,"latitude_deg":9.8556784,"altitude":2,"angle":192,"satellites":15,"speed":4,"hex_longitude":"2d7b8700","hex_latitude":"05dfdb70","is_valid_coordinates":true} 
[2026-04-22 17:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876209664001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74839779362996224,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901153582495850496,"note":"Value kept but may cause issues"} 
[2026-04-22 17:46:44] 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-22 17:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776860196000,"timestamp_ms":1776860196000,"timestamp_seconds":1776860196,"priority":1,"record_length":96,"hex_timestamp":"0000019db51eeca0"} 
[2026-04-22 17:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:46:44] 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-22 17:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-04-22 17:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":51400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":51400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":51400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876209664001,"66":13472,"36":206,"85":15104,"24":4,"16":74839779362996224,"45":8901153582495850496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876209664001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:46:44] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74839779362996224,"km_value":74839779362996.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901153582495850496,"description":"Unknown IO ID 45"} 
[2026-04-22 17:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876209664001,"power":13472,"unknown_36":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8901153582495850496}} 
[2026-04-22 17:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":51400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:46:45] local.INFO: GPS data processed {"connection_id":51400,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:46:45] local.INFO: Acknowledgment sent {"connection_id":51400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:47:06] local.INFO: TCP Data received {"connection_id":51401,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db51d9cb0012d181f800721a700004d006d29..."} 
[2026-04-22 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51d9cb0012d181f800721a700004d006d29..."} 
[2026-04-22 17:47:06] local.INFO: Processing buffer {"connection_id":51401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51d9cb0012d181f800721a700004d006d29..."} 
[2026-04-22 17:47:06] local.INFO: Packet analysis {"connection_id":51401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:47:06] local.INFO: Extracted packet for processing {"connection_id":51401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645952,"longitude_deg":75.6555648,"latitude_deg":11.9645952,"altitude":77,"angle":109,"satellites":41,"speed":2,"hex_longitude":"2d181f80","hex_latitude":"0721a700","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876187904001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996244581351424,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561842176,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776860110000,"timestamp_ms":1776860110000,"timestamp_seconds":1776860110,"priority":1,"record_length":96,"hex_timestamp":"0000019db51d9cb0"} 
[2026-04-22 17: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-22 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 17:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:47:06] 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-22 17:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876187904001,"66":14363,"105":206,"83":41984,"24":2,"16":113996244581351424,"45":1738178380561842176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876187904001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:47:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996244581351424,"km_value":113996244581351.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561842176,"description":"Unknown IO ID 45"} 
[2026-04-22 17:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876187904001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738178380561842176}} 
[2026-04-22 17:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":51401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:47:06] local.INFO: GPS data processed {"connection_id":51401,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:47:06] local.INFO: Acknowledgment sent {"connection_id":51401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:47:08] local.INFO: TCP Data received {"connection_id":50717,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:47:08] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:47:08] local.INFO: Packet analysis {"connection_id":50717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:47:08] local.INFO: Extracted packet for processing {"connection_id":50717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 17:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47: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-22 17:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 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-22 17:47: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-22 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:47: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-22 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-22 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-22 17:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:47:08] 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-22 17:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:47:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":50717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:47:08] local.INFO: GPS data processed {"connection_id":50717,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:47:08] local.INFO: Acknowledgment sent {"connection_id":50717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:47:10] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:47:10] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:47:10] local.INFO: IMEI packet received {"connection_id":50848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":50848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:47:14] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:47:14] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:47:14] local.INFO: IMEI packet received {"connection_id":50848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":50848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:47:15] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51ef858012d7b86c005dfdae0000200cb0f..."} 
[2026-04-22 17:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51ef858012d7b86c005dfdae0000200cb0f..."} 
[2026-04-22 17:47:15] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51ef858012d7b86c005dfdae0000200cb0f..."} 
[2026-04-22 17:47:15] local.INFO: Packet analysis {"connection_id":50848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:47:15] local.INFO: Extracted packet for processing {"connection_id":50848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763070144,"raw_latitude":98556640,"longitude_deg":76.3070144,"latitude_deg":9.855664,"altitude":2,"angle":203,"satellites":15,"speed":2,"hex_longitude":"2d7b86c0","hex_latitude":"05dfdae0","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876210176001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74839787952930816,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083213751611392,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:15] 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-22 17:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776860199000,"timestamp_ms":1776860199000,"timestamp_seconds":1776860199,"priority":1,"record_length":96,"hex_timestamp":"0000019db51ef858"} 
[2026-04-22 17: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-22 17:47:15] 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-22 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 17:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876210176001,"66":13493,"36":206,"85":15104,"24":2,"16":74839787952930816,"45":8901083213751611392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876210176001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:47:15] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74839787952930816,"km_value":74839787952930.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083213751611392,"description":"Unknown IO ID 45"} 
[2026-04-22 17:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876210176001,"power":13493,"unknown_36":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8901083213751611392}} 
[2026-04-22 17:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":50848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:47:15] local.INFO: GPS data processed {"connection_id":50848,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:47:15] local.INFO: Acknowledgment sent {"connection_id":50848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:47:25] local.INFO: TCP Data received {"connection_id":51403,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:47:25] local.INFO: Processing buffer {"connection_id":51403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:47:25] local.INFO: IMEI packet received {"connection_id":51403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":51403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:47:27] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:47:27] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:47:27] local.INFO: IMEI packet received {"connection_id":50849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:47:31] local.INFO: TCP Data received {"connection_id":51403,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:47:31] local.INFO: Processing buffer {"connection_id":51403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:47:31] local.INFO: IMEI packet received {"connection_id":51403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":51403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:47:31] local.INFO: TCP Data received {"connection_id":51403,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:47:31] local.INFO: Processing buffer {"connection_id":51403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:47:31] local.INFO: Packet analysis {"connection_id":51403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:47:31] local.INFO: Extracted packet for processing {"connection_id":51403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47: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-22 17:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 17:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:47: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-22 17:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:47: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-22 17:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:47:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":51403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:47:31] local.INFO: GPS data processed {"connection_id":51403,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:47:31] local.INFO: Acknowledgment sent {"connection_id":51403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:47:32] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:47:32] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:47:32] local.INFO: IMEI packet received {"connection_id":50849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:47:33] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db51da480012d181fc00721a6c0004d007e29..."} 
[2026-04-22 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51da480012d181fc00721a6c0004d007e29..."} 
[2026-04-22 17:47:33] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51da480012d181fc00721a6c0004d007e29..."} 
[2026-04-22 17:47:33] local.INFO: Packet analysis {"connection_id":50849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:47:33] local.INFO: Extracted packet for processing {"connection_id":50849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645888,"longitude_deg":75.6555712,"latitude_deg":11.9645888,"altitude":77,"angle":126,"satellites":41,"speed":2,"hex_longitude":"2d181fc0","hex_latitude":"0721a6c0","is_valid_coordinates":true} 
[2026-04-22 17:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876188160001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996248876318720,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306019840,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860112000,"timestamp_ms":1776860112000,"timestamp_seconds":1776860112,"priority":1,"record_length":96,"hex_timestamp":"0000019db51da480"} 
[2026-04-22 17:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 17:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:47:33] 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-22 17:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876188160001,"66":14341,"105":206,"83":41984,"24":2,"16":113996248876318720,"45":1738248749306019840},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876188160001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:47:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996248876318720,"km_value":113996248876318.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306019840,"description":"Unknown IO ID 45"} 
[2026-04-22 17:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876188160001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738248749306019840}} 
[2026-04-22 17:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":50849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:47:33] local.INFO: GPS data processed {"connection_id":50849,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:47:33] local.INFO: Acknowledgment sent {"connection_id":50849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:47:45] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51f0028012d7b868005dfdad0000200d80f..."} 
[2026-04-22 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51f0028012d7b868005dfdad0000200d80f..."} 
[2026-04-22 17:47:45] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51f0028012d7b868005dfdad0000200d80f..."} 
[2026-04-22 17:47:45] local.INFO: Packet analysis {"connection_id":50848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51f"} 
[2026-04-22 17:47:45] local.INFO: Extracted packet for processing {"connection_id":50848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51f"} 
[2026-04-22 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":763070080,"raw_latitude":98556624,"longitude_deg":76.307008,"latitude_deg":9.8556624,"altitude":2,"angle":216,"satellites":15,"speed":0,"hex_longitude":"2d7b8680","hex_latitude":"05dfdad0","is_valid_coordinates":true} 
[2026-04-22 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876210944001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74839792247898112,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901012845007396864,"note":"Value kept but may cause issues"} 
[2026-04-22 17:47:45] 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-22 17:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776860201000,"timestamp_ms":1776860201000,"timestamp_seconds":1776860201,"priority":1,"record_length":96,"hex_timestamp":"0000019db51f0028"} 
[2026-04-22 17:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 17:47: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-22 17:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":50848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":50848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":50848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876210944001,"66":13798,"36":206,"85":15104,"24":0,"16":74839792247898112,"45":8901012845007396864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876210944001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:47:45] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:47:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74839792247898112,"km_value":74839792247898.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901012845007396864,"description":"Unknown IO ID 45"} 
[2026-04-22 17:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876210944001,"power":13798,"unknown_36":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8901012845007396864}} 
[2026-04-22 17:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":50848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:47:45] local.INFO: GPS data processed {"connection_id":50848,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:47:45] local.INFO: Acknowledgment sent {"connection_id":50848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:48:02] local.INFO: TCP Data received {"connection_id":51403,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:48:02] local.INFO: Processing buffer {"connection_id":51403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:48:02] local.INFO: Packet analysis {"connection_id":51403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:48:02] local.INFO: Extracted packet for processing {"connection_id":51403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:02] 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-22 17:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 17: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-22 17:48: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-22 17: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:48: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-22 17: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-22 17: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-22 17:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:48:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":51403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:48:02] local.INFO: GPS data processed {"connection_id":51403,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:48:02] local.INFO: Acknowledgment sent {"connection_id":51403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:48:04] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db51dcf78012d1824c00721a2c0004e008a28..."} 
[2026-04-22 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51dcf78012d1824c00721a2c0004e008a28..."} 
[2026-04-22 17:48:04] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51dcf78012d1824c00721a2c0004e008a28..."} 
[2026-04-22 17:48:04] local.INFO: Packet analysis {"connection_id":50849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:48:04] local.INFO: Extracted packet for processing {"connection_id":50849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644864,"longitude_deg":75.6556992,"latitude_deg":11.9644864,"altitude":78,"angle":138,"satellites":40,"speed":9,"hex_longitude":"2d1824c0","hex_latitude":"0721a2c0","is_valid_coordinates":true} 
[2026-04-22 17:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876188672001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996330480697344,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050181120,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860123000,"timestamp_ms":1776860123000,"timestamp_seconds":1776860123,"priority":1,"record_length":96,"hex_timestamp":"0000019db51dcf78"} 
[2026-04-22 17:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940859781,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3038611752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":254,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84750485118460325,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4277534720,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505339071627264,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2793406540,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 17:48:04] local.WARNING: Large IO value detected {"io_id":168,"raw_value":21393529108431360,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,254,156,45,128,167,77,41,10,66,152,64,148,1,240,218,227,181,33,4,113,205,141,30,32,40,239,56,2,7,76,206,168],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 17:48:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548573455479341056,"timestamp_seconds":5548573455479341.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:48:04] 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-22 17:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876188672001,"66":13906,"105":206,"83":41984,"24":9,"16":113996330480697344,"45":1738319118050181120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876188672001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:48:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996330480697344,"km_value":113996330480697.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050181120,"description":"Unknown IO ID 45"} 
[2026-04-22 17:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876188672001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738319118050181120}} 
[2026-04-22 17:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":50849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:48:04] local.INFO: GPS data processed {"connection_id":50849,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:48:04] local.INFO: Acknowledgment sent {"connection_id":50849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:48:10] local.INFO: TCP Data received {"connection_id":50719,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:48:10] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:48:10] local.INFO: IMEI packet received {"connection_id":50719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":50719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:48:15] local.INFO: TCP Data received {"connection_id":50719,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:48:15] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:48:15] local.INFO: IMEI packet received {"connection_id":50719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":50719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:48:16] local.INFO: TCP Data received {"connection_id":50719,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db51fee70012d7b880005dfccb0000300d410..."} 
[2026-04-22 17:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51fee70012d7b880005dfccb0000300d410..."} 
[2026-04-22 17:48:16] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51fee70012d7b880005dfccb0000300d410..."} 
[2026-04-22 17:48:16] local.INFO: Packet analysis {"connection_id":50719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51f"} 
[2026-04-22 17:48:16] local.INFO: Extracted packet for processing {"connection_id":50719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51f"} 
[2026-04-22 17:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":98553008,"longitude_deg":76.3070464,"latitude_deg":9.8553008,"altitude":3,"angle":212,"satellites":16,"speed":0,"hex_longitude":"2d7b8800","hex_latitude":"05dfccb0","is_valid_coordinates":true} 
[2026-04-22 17:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876222720001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74839994111361024,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901153582495313920,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:16] 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-22 17:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860262000,"timestamp_ms":1776860262000,"timestamp_seconds":1776860262,"priority":1,"record_length":96,"hex_timestamp":"0000019db51fee70"} 
[2026-04-22 17:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:48:16] 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-22 17:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 17:48:16] 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-22 17:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876222720001,"66":13830,"36":206,"85":15104,"24":0,"16":74839994111361024,"45":8901153582495313920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876222720001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:48:16] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74839994111361024,"km_value":74839994111361.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901153582495313920,"description":"Unknown IO ID 45"} 
[2026-04-22 17:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876222720001,"power":13830,"unknown_36":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8901153582495313920}} 
[2026-04-22 17:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":50719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:48:16] local.INFO: GPS data processed {"connection_id":50719,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:48:16] local.INFO: Acknowledgment sent {"connection_id":50719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:48:31] local.INFO: TCP Data received {"connection_id":51404,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:48:31] local.INFO: Processing buffer {"connection_id":51404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:48:31] local.INFO: IMEI packet received {"connection_id":51404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":51404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:48:32] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:48:32] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:48:32] local.INFO: IMEI packet received {"connection_id":50850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:48:36] local.INFO: TCP Data received {"connection_id":51404,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:48:36] local.INFO: Processing buffer {"connection_id":51404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:48:36] local.INFO: IMEI packet received {"connection_id":51404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":51404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:48:36] local.INFO: TCP Data received {"connection_id":51404,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:48:36] local.INFO: Processing buffer {"connection_id":51404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:48:36] local.INFO: Packet analysis {"connection_id":51404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:48:36] local.INFO: Extracted packet for processing {"connection_id":51404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48: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-22 17:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 17:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:48: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-22 17:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:48: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-22 17:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:48:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":51404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:48:36] local.INFO: GPS data processed {"connection_id":51404,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:48:36] local.INFO: Acknowledgment sent {"connection_id":51404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:48:37] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:48:37] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:48:37] local.INFO: IMEI packet received {"connection_id":50850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":50850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:48:37] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db51dead0012d18294007219f50004e007d28..."} 
[2026-04-22 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51dead0012d18294007219f50004e007d28..."} 
[2026-04-22 17:48:37] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51dead0012d18294007219f50004e007d28..."} 
[2026-04-22 17:48:37] local.INFO: Packet analysis {"connection_id":50850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:48:37] local.INFO: Extracted packet for processing {"connection_id":50850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51d"} 
[2026-04-22 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643984,"longitude_deg":75.6558144,"latitude_deg":11.9643984,"altitude":78,"angle":125,"satellites":40,"speed":3,"hex_longitude":"2d182940","hex_latitude":"07219f50","is_valid_coordinates":true} 
[2026-04-22 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876191488001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996399200174080,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933472256,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776860130000,"timestamp_ms":1776860130000,"timestamp_seconds":1776860130,"priority":1,"record_length":96,"hex_timestamp":"0000019db51dead0"} 
[2026-04-22 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-22 17:48:37] 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-22 17:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:48:37] 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-22 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876191488001,"66":13080,"105":206,"83":41984,"24":3,"16":113996399200174080,"45":1739726492933472256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876191488001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:48:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996399200174080,"km_value":113996399200174.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933472256,"description":"Unknown IO ID 45"} 
[2026-04-22 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876191488001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739726492933472256}} 
[2026-04-22 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":50850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:48:37] local.INFO: GPS data processed {"connection_id":50850,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:48:37] local.INFO: Acknowledgment sent {"connection_id":50850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:48:41] local.INFO: TCP Data received {"connection_id":51404,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:48:41] local.INFO: Processing buffer {"connection_id":51404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:48:41] local.INFO: Packet analysis {"connection_id":51404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:48:41] local.INFO: Extracted packet for processing {"connection_id":51404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:41] 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-22 17:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 17:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 17:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:48:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":51404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:48:41] local.INFO: GPS data processed {"connection_id":51404,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:48:41] local.INFO: Acknowledgment sent {"connection_id":51404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:48:41] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db51e2d38012d182a8007219ee8004b008d24..."} 
[2026-04-22 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51e2d38012d182a8007219ee8004b008d24..."} 
[2026-04-22 17:48:41] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51e2d38012d182a8007219ee8004b008d24..."} 
[2026-04-22 17:48:41] local.INFO: Packet analysis {"connection_id":50850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:48:41] local.INFO: Extracted packet for processing {"connection_id":50850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643880,"longitude_deg":75.6558464,"latitude_deg":11.964388,"altitude":75,"angle":141,"satellites":36,"speed":4,"hex_longitude":"2d182a80","hex_latitude":"07219ee8","is_valid_coordinates":true} 
[2026-04-22 17:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876193280001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996416380043264,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328444928,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776860147000,"timestamp_ms":1776860147000,"timestamp_seconds":1776860147,"priority":1,"record_length":96,"hex_timestamp":"0000019db51e2d38"} 
[2026-04-22 17:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:48:41] 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-22 17:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-22 17:48:41] 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-22 17:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876193280001,"66":13015,"105":206,"83":41984,"24":4,"16":113996416380043264,"45":1740993130328444928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876193280001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:48:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996416380043264,"km_value":113996416380043.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328444928,"description":"Unknown IO ID 45"} 
[2026-04-22 17:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876193280001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1740993130328444928}} 
[2026-04-22 17:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":50850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:48:42] local.INFO: GPS data processed {"connection_id":50850,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:48:42] local.INFO: Acknowledgment sent {"connection_id":50850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:48:46] local.INFO: TCP Data received {"connection_id":50719,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52009c8012d7b888005dfcc10000300a00f..."} 
[2026-04-22 17:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52009c8012d7b888005dfcc10000300a00f..."} 
[2026-04-22 17:48:46] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52009c8012d7b888005dfcc10000300a00f..."} 
[2026-04-22 17:48:46] local.INFO: Packet analysis {"connection_id":50719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db520"} 
[2026-04-22 17:48:46] local.INFO: Extracted packet for processing {"connection_id":50719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db520"} 
[2026-04-22 17:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":98552848,"longitude_deg":76.3070592,"latitude_deg":9.8552848,"altitude":3,"angle":160,"satellites":15,"speed":4,"hex_longitude":"2d7b8880","hex_latitude":"05dfcc10","is_valid_coordinates":true} 
[2026-04-22 17:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876227072001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840002701295616,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901364688727355392,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] 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-22 17:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776860269000,"timestamp_ms":1776860269000,"timestamp_seconds":1776860269,"priority":1,"record_length":96,"hex_timestamp":"0000019db52009c8"} 
[2026-04-22 17:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:48: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-22 17:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630453064192,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3609198595,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445200078,"corrected_to":0} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2147868632,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3798990848,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3755511808,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":86,"raw_value":1729713740443551199,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-8646909083094351871,"note":"Value kept but may cause issues"} 
[2026-04-22 17:48:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,36,85,24,241,157,16,226,172,45,64,212,3,10,66,164,136,192,1,240,227,181,223,4,113,205,121,134,32,15,239,53,2,9,5,86,216],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1445200078,"validated":0}]} 
[2026-04-22 17:48:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216405947298349056,"timestamp_seconds":216405947298349.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876227072001,"66":13526,"36":206,"85":15104,"24":4,"16":74840002701295616,"45":8901364688727355392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876227072001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:48:46] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840002701295616,"km_value":74840002701295.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901364688727355392,"description":"Unknown IO ID 45"} 
[2026-04-22 17:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876227072001,"power":13526,"unknown_36":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8901364688727355392}} 
[2026-04-22 17:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":50719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:48:46] local.INFO: GPS data processed {"connection_id":50719,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:48:46] local.INFO: Acknowledgment sent {"connection_id":50719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:49:15] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:49:15] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:49:15] local.INFO: IMEI packet received {"connection_id":50852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":50852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:49:16] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:49:16] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:49:16] local.INFO: IMEI packet received {"connection_id":50852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":50852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:49:16] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.41","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019db5..."} 
[2026-04-22 17:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019db5..."} 
[2026-04-22 17:49:16] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019db5..."} 
[2026-04-22 17:49:16] local.INFO: IMEI packet received {"connection_id":50852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":50852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:49:18] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db520fbf8012d7b880005dfc5a8000400890f..."} 
[2026-04-22 17:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db520fbf8012d7b880005dfc5a8000400890f..."} 
[2026-04-22 17:49:18] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019db520f810012d7b880005dfc608000400a00f..."} 
[2026-04-22 17:49:18] local.INFO: Packet analysis {"connection_id":50852,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019db520"} 
[2026-04-22 17:49:18] local.INFO: Extracted packet for processing {"connection_id":50852,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db520"} 
[2026-04-22 17:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":98551304,"longitude_deg":76.3070464,"latitude_deg":9.8551304,"altitude":4,"angle":160,"satellites":15,"speed":4,"hex_longitude":"2d7b8800","hex_latitude":"05dfc608","is_valid_coordinates":true} 
[2026-04-22 17:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876244224001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840097190576128,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901364688726939648,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49: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-22 17:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776860330000,"timestamp_ms":1776860330000,"timestamp_seconds":1776860330,"priority":1,"record_length":96,"hex_timestamp":"0000019db520f810"} 
[2026-04-22 17:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 17:49: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-22 17:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":50852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876244224001,"66":13678,"36":206,"85":15104,"24":4,"16":74840097190576128,"45":8901364688726939648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876244224001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:49:18] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840097190576128,"km_value":74840097190576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901364688726939648,"description":"Unknown IO ID 45"} 
[2026-04-22 17:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876244224001,"power":13678,"unknown_36":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8901364688726939648}} 
[2026-04-22 17:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":50852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:49:18] local.INFO: GPS data processed {"connection_id":50852,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:49:18] local.INFO: Acknowledgment sent {"connection_id":50852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:49:18] local.INFO: Packet analysis {"connection_id":50852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db520"} 
[2026-04-22 17:49:18] local.INFO: Extracted packet for processing {"connection_id":50852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db520"} 
[2026-04-22 17:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":98551208,"longitude_deg":76.3070464,"latitude_deg":9.8551208,"altitude":4,"angle":137,"satellites":15,"speed":5,"hex_longitude":"2d7b8800","hex_latitude":"05dfc5a8","is_valid_coordinates":true} 
[2026-04-22 17:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876244480001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840105780510720,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901364688726919168,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49: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-22 17:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776860331000,"timestamp_ms":1776860331000,"timestamp_seconds":1776860331,"priority":1,"record_length":96,"hex_timestamp":"0000019db520fbf8"} 
[2026-04-22 17:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 17:49: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-22 17:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":50852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876244480001,"66":13417,"36":206,"85":15104,"24":5,"16":74840105780510720,"45":8901364688726919168},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876244480001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:49:18] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840105780510720,"km_value":74840105780510.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901364688726919168,"description":"Unknown IO ID 45"} 
[2026-04-22 17:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876244480001,"power":13417,"unknown_36":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8901364688726919168}} 
[2026-04-22 17:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":50852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:49:18] local.INFO: GPS data processed {"connection_id":50852,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:49:18] local.INFO: Acknowledgment sent {"connection_id":50852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:49:19] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52103c8012d7b880005dfc4c0000400ae0e..."} 
[2026-04-22 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52103c8012d7b880005dfc4c0000400ae0e..."} 
[2026-04-22 17:49:19] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52103c8012d7b880005dfc4c0000400ae0e..."} 
[2026-04-22 17:49:19] local.INFO: Packet analysis {"connection_id":50852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:49:19] local.INFO: Extracted packet for processing {"connection_id":50852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":98550976,"longitude_deg":76.3070464,"latitude_deg":9.8550976,"altitude":4,"angle":174,"satellites":14,"speed":5,"hex_longitude":"2d7b8800","hex_latitude":"05dfc4c0","is_valid_coordinates":true} 
[2026-04-22 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876244736001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840114370445312,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901364688726894592,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:19] 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-22 17:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776860333000,"timestamp_ms":1776860333000,"timestamp_seconds":1776860333,"priority":1,"record_length":96,"hex_timestamp":"0000019db52103c8"} 
[2026-04-22 17:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:49:19] 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-22 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-04-22 17:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":50852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876244736001,"66":13559,"36":206,"85":15104,"24":5,"16":74840114370445312,"45":8901364688726894592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876244736001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:49:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840114370445312,"km_value":74840114370445.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901364688726894592,"description":"Unknown IO ID 45"} 
[2026-04-22 17:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876244736001,"power":13559,"unknown_36":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8901364688726894592}} 
[2026-04-22 17:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":50852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:49:19] local.INFO: GPS data processed {"connection_id":50852,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:49:19] local.INFO: Acknowledgment sent {"connection_id":50852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:49:26] local.INFO: TCP Data received {"connection_id":50720,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:49:26] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:49:26] local.INFO: IMEI packet received {"connection_id":50720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":50720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:49:27] local.INFO: TCP Data received {"connection_id":50721,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:49:27] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:49:27] local.INFO: IMEI packet received {"connection_id":50721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:49:31] local.INFO: TCP Data received {"connection_id":50720,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:49:31] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:49:31] local.INFO: IMEI packet received {"connection_id":50720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":50720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:49:32] local.INFO: TCP Data received {"connection_id":50720,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:49:32] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51c9ae0012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:49:32] local.INFO: Packet analysis {"connection_id":50720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:49:32] local.INFO: Extracted packet for processing {"connection_id":50720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51c"} 
[2026-04-22 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876094208001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49: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-22 17:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776860044000,"timestamp_ms":1776860044000,"timestamp_seconds":1776860044,"priority":1,"record_length":96,"hex_timestamp":"0000019db51c9ae0"} 
[2026-04-22 17:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:49: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-22 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:49: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-22 17:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:49: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-22 17:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876094208001,"66":25473,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876094208001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876094208001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":50720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:49:32] local.INFO: GPS data processed {"connection_id":50720,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:49:32] local.INFO: Acknowledgment sent {"connection_id":50720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:49:32] local.INFO: TCP Data received {"connection_id":50721,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:49:32] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:49:32] local.INFO: IMEI packet received {"connection_id":50721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:49:33] local.INFO: TCP Data received {"connection_id":50721,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db51e3cd8012d182c0007219d08004b007926..."} 
[2026-04-22 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51e3cd8012d182c0007219d08004b007926..."} 
[2026-04-22 17:49:33] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51e3cd8012d182c0007219d08004b007926..."} 
[2026-04-22 17:49:33] local.INFO: Packet analysis {"connection_id":50721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:49:33] local.INFO: Extracted packet for processing {"connection_id":50721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119643400,"longitude_deg":75.6558848,"latitude_deg":11.96434,"altitude":75,"angle":121,"satellites":38,"speed":5,"hex_longitude":"2d182c00","hex_latitude":"07219d08","is_valid_coordinates":true} 
[2026-04-22 17:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876197632001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996446444814336,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049306624,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860151000,"timestamp_ms":1776860151000,"timestamp_seconds":1776860151,"priority":1,"record_length":96,"hex_timestamp":"0000019db51e3cd8"} 
[2026-04-22 17:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 17:49:33] 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-22 17:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:49:33] 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-22 17:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876197632001,"66":13004,"105":206,"83":41984,"24":5,"16":113996446444814336,"45":1741344974049306624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876197632001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:49:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996446444814336,"km_value":113996446444814.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049306624,"description":"Unknown IO ID 45"} 
[2026-04-22 17:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876197632001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741344974049306624}} 
[2026-04-22 17:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":50721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:49:33] local.INFO: GPS data processed {"connection_id":50721,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:49:33] local.INFO: Acknowledgment sent {"connection_id":50721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:49:50] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db521a3f0012d7b8b4005dfb860000300a010..."} 
[2026-04-22 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db521a3f0012d7b8b4005dfb860000300a010..."} 
[2026-04-22 17:49:50] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db521a3f0012d7b8b4005dfb860000300a010..."} 
[2026-04-22 17:49:50] local.INFO: Packet analysis {"connection_id":50852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:49:50] local.INFO: Extracted packet for processing {"connection_id":50852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:49:50] local.INFO: GPS Element Parsed {"raw_longitude":763071296,"raw_latitude":98547808,"longitude_deg":76.3071296,"latitude_deg":9.8547808,"altitude":3,"angle":160,"satellites":16,"speed":3,"hex_longitude":"2d7b8b40","hex_latitude":"05dfb860","is_valid_coordinates":true} 
[2026-04-22 17:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876254720001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840294759071744,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902209113656229888,"note":"Value kept but may cause issues"} 
[2026-04-22 17:49:50] 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-22 17:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776860374000,"timestamp_ms":1776860374000,"timestamp_seconds":1776860374,"priority":1,"record_length":96,"hex_timestamp":"0000019db521a3f0"} 
[2026-04-22 17:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:49:50] 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-22 17:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 17:49:50] 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-22 17:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":50852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876254720001,"66":13319,"36":206,"85":15104,"24":3,"16":74840294759071744,"45":8902209113656229888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876254720001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:49:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840294759071744,"km_value":74840294759071.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902209113656229888,"description":"Unknown IO ID 45"} 
[2026-04-22 17:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876254720001,"power":13319,"unknown_36":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8902209113656229888}} 
[2026-04-22 17:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":50852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:49:50] local.INFO: GPS data processed {"connection_id":50852,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:49:50] local.INFO: Acknowledgment sent {"connection_id":50852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:50:02] local.INFO: TCP Data received {"connection_id":50720,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:50:03] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:50:03] local.INFO: Packet analysis {"connection_id":50720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:03] local.INFO: Extracted packet for processing {"connection_id":50720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50: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-22 17:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17: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-22 17:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:50: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-22 17: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-22 17: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-22 17:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:50: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-22 17:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:50:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:50:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":50720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:50:03] local.INFO: GPS data processed {"connection_id":50720,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:50:03] local.INFO: Acknowledgment sent {"connection_id":50720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:50:04] local.INFO: TCP Data received {"connection_id":50721,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db51e4890012d182d4007219c60004b006c28..."} 
[2026-04-22 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db51e4890012d182d4007219c60004b006c28..."} 
[2026-04-22 17:50:04] local.INFO: Processing buffer {"connection_id":50721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db51e4890012d182d4007219c60004b006c28..."} 
[2026-04-22 17:50:04] local.INFO: Packet analysis {"connection_id":50721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:50:04] local.INFO: Extracted packet for processing {"connection_id":50721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db51e"} 
[2026-04-22 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119643232,"longitude_deg":75.6559168,"latitude_deg":11.9643232,"altitude":75,"angle":108,"satellites":40,"speed":5,"hex_longitude":"2d182d40","hex_latitude":"07219c60","is_valid_coordinates":true} 
[2026-04-22 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876198656001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996463624683520,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186514249728,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860154000,"timestamp_ms":1776860154000,"timestamp_seconds":1776860154,"priority":1,"record_length":96,"hex_timestamp":"0000019db51e4890"} 
[2026-04-22 17:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 17:50:04] 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-22 17:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:50:04] 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-22 17:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876198656001,"66":13004,"105":206,"83":41984,"24":5,"16":113996463624683520,"45":1741767186514249728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876198656001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:50:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996463624683520,"km_value":113996463624683.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186514249728,"description":"Unknown IO ID 45"} 
[2026-04-22 17:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876198656001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741767186514249728}} 
[2026-04-22 17:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":50721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:50:04] local.INFO: GPS data processed {"connection_id":50721,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:50:04] local.INFO: Acknowledgment sent {"connection_id":50721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:50:10] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:50:10] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:50:10] local.INFO: IMEI packet received {"connection_id":50853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":50853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:50:15] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:50:15] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:50:15] local.INFO: IMEI packet received {"connection_id":50853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":50853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:50:15] local.INFO: TCP Data received {"connection_id":50455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:50:15] local.INFO: Processing buffer {"connection_id":50455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:50:15] local.INFO: IMEI packet received {"connection_id":50455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":50455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:50:16] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db521bf48012d7b8ac005dfb6c00003009511..."} 
[2026-04-22 17:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db521bf48012d7b8ac005dfb6c00003009511..."} 
[2026-04-22 17:50:16] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db521bf48012d7b8ac005dfb6c00003009511..."} 
[2026-04-22 17:50:16] local.INFO: Packet analysis {"connection_id":50853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:16] local.INFO: Extracted packet for processing {"connection_id":50853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":98547392,"longitude_deg":76.3071168,"latitude_deg":9.8547392,"altitude":3,"angle":149,"satellites":17,"speed":1,"hex_longitude":"2d7b8ac0","hex_latitude":"05dfb6c0","is_valid_coordinates":true} 
[2026-04-22 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876255744001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840316233908224,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902279482400333824,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] 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-22 17:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860381000,"timestamp_ms":1776860381000,"timestamp_seconds":1776860381,"priority":1,"record_length":96,"hex_timestamp":"0000019db521bf48"} 
[2026-04-22 17:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3038859752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":223,"raw_value":-4483333411854086144,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445200078,"corrected_to":0} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3305164118,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3804561408,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3753791488,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57797082858018107,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3087218839420174341,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,36,85,24,241,157,16,226,148,45,185,3,17,10,66,109,128,189,4,97,64,1,240,94,227,181,223,113,205,136,80,239,53,2,9,5,230,33],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1445200078,"validated":0}]} 
[2026-04-22 17:50:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216348772693901312,"timestamp_seconds":216348772693901.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876255744001,"66":13830,"36":206,"85":15104,"24":1,"16":74840316233908224,"45":8902279482400333824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876255744001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:50:16] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840316233908224,"km_value":74840316233908.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902279482400333824,"description":"Unknown IO ID 45"} 
[2026-04-22 17:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876255744001,"power":13830,"unknown_36":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8902279482400333824}} 
[2026-04-22 17:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":50853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:50:16] local.INFO: GPS data processed {"connection_id":50853,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:50:16] local.INFO: Acknowledgment sent {"connection_id":50853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:50:25] local.INFO: TCP Data received {"connection_id":50456,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:50:25] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:50:25] local.INFO: IMEI packet received {"connection_id":50456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":50456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:50:29] local.INFO: TCP Data received {"connection_id":51405,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:50:29] local.INFO: Processing buffer {"connection_id":51405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:50:29] local.INFO: IMEI packet received {"connection_id":51405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":51405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:50:29] local.INFO: TCP Data received {"connection_id":51405,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:50:29] local.INFO: Processing buffer {"connection_id":51405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:50:29] local.INFO: IMEI packet received {"connection_id":51405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":51405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:50:31] local.INFO: TCP Data received {"connection_id":50456,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:50:31] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:50:31] local.INFO: IMEI packet received {"connection_id":50456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":50456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:50:31] local.INFO: TCP Data received {"connection_id":50456,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:50:31] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:50:31] local.INFO: Packet analysis {"connection_id":50456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:31] local.INFO: Extracted packet for processing {"connection_id":50456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50: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-22 17:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17: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-22 17: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-22 17:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:50: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-22 17: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-22 17: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-22 17:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:50:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:50:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":50456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:50:31] local.INFO: GPS data processed {"connection_id":50456,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:50:31] local.INFO: Acknowledgment sent {"connection_id":50456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:50:32] local.INFO: TCP Data received {"connection_id":51405,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:50:32] local.INFO: Processing buffer {"connection_id":51405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:50:32] local.INFO: IMEI packet received {"connection_id":51405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":51405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:50:33] local.INFO: TCP Data received {"connection_id":51405,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5213690012d182e4007219b90004a008023..."} 
[2026-04-22 17:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5213690012d182e4007219b90004a008023..."} 
[2026-04-22 17:50:33] local.INFO: Processing buffer {"connection_id":51405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5213690012d182e4007219b90004a008023..."} 
[2026-04-22 17:50:33] local.INFO: Packet analysis {"connection_id":51405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:33] local.INFO: Extracted packet for processing {"connection_id":51405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119643024,"longitude_deg":75.6559424,"latitude_deg":11.9643024,"altitude":74,"angle":128,"satellites":35,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219b90","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876243200001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996485099520000,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211752448,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860346000,"timestamp_ms":1776860346000,"timestamp_seconds":1776860346,"priority":1,"record_length":96,"hex_timestamp":"0000019db5213690"} 
[2026-04-22 17: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-22 17:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-22 17:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:50:33] 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-22 17:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876243200001,"66":12591,"105":206,"83":41984,"24":0,"16":113996485099520000,"45":1742400505211752448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876243200001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:50:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996485099520000,"km_value":113996485099520,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211752448,"description":"Unknown IO ID 45"} 
[2026-04-22 17:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876243200001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742400505211752448}} 
[2026-04-22 17:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":51405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:50:33] local.INFO: GPS data processed {"connection_id":51405,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:50:33] local.INFO: Acknowledgment sent {"connection_id":51405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:50:37] local.INFO: TCP Data received {"connection_id":51405,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5218898012d182e4007219b90004a008025..."} 
[2026-04-22 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5218898012d182e4007219b90004a008025..."} 
[2026-04-22 17:50:37] local.INFO: Processing buffer {"connection_id":51405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5218898012d182e4007219b90004a008025..."} 
[2026-04-22 17:50:37] local.INFO: Packet analysis {"connection_id":51405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:37] local.INFO: Extracted packet for processing {"connection_id":51405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119643024,"longitude_deg":75.6559424,"latitude_deg":11.9643024,"altitude":74,"angle":128,"satellites":37,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219b90","is_valid_coordinates":true} 
[2026-04-22 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-22 17:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248576001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996485099520000,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211752448,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776860367000,"timestamp_ms":1776860367000,"timestamp_seconds":1776860367,"priority":1,"record_length":96,"hex_timestamp":"0000019db5218898"} 
[2026-04-22 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-22 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 17:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 17:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:50:37] 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-22 17:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248576001,"66":14048,"105":206,"83":41984,"24":0,"16":113996485099520000,"45":1742400505211752448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248576001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:50:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996485099520000,"km_value":113996485099520,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211752448,"description":"Unknown IO ID 45"} 
[2026-04-22 17:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248576001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742400505211752448}} 
[2026-04-22 17:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":51405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:50:37] local.INFO: GPS data processed {"connection_id":51405,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:50:37] local.INFO: Acknowledgment sent {"connection_id":51405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:50:47] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db521c330012d7b8a4005dfb6b80003008211..."} 
[2026-04-22 17:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db521c330012d7b8a4005dfb6b80003008211..."} 
[2026-04-22 17:50:47] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db521c330012d7b8a4005dfb6b80003008211..."} 
[2026-04-22 17:50:47] local.INFO: Packet analysis {"connection_id":50853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:47] local.INFO: Extracted packet for processing {"connection_id":50853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:50:47] local.INFO: GPS Element Parsed {"raw_longitude":763071040,"raw_latitude":98547384,"longitude_deg":76.307104,"latitude_deg":9.8547384,"altitude":3,"angle":130,"satellites":17,"speed":0,"hex_longitude":"2d7b8a40","hex_latitude":"05dfb6b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876257536001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840320528875520,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138744911872000,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] 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-22 17:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776860382000,"timestamp_ms":1776860382000,"timestamp_seconds":1776860382,"priority":1,"record_length":96,"hex_timestamp":"0000019db521c330"} 
[2026-04-22 17: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-22 17:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":281483582439424,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630453041920,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3190816772,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445200078,"corrected_to":0} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812246,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3804626944,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3753791488,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":81,"raw_value":-1729050773347629601,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.WARNING: Large IO value detected {"io_id":190,"raw_value":5764611925024505858,"note":"Value kept but may cause issues"} 
[2026-04-22 17:50:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,36,85,24,241,157,16,226,163,45,64,184,3,10,66,148,185,17,109,128,1,240,84,227,181,223,4,113,205,93,136,40,239,53,2,9,5,81,190],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1445200078,"validated":0}]} 
[2026-04-22 17:50:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216336682360832000,"timestamp_seconds":216336682360832,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17: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-22 17:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876257536001,"66":13830,"36":206,"85":15104,"24":0,"16":74840320528875520,"45":8902138744911872000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876257536001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:50:47] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840320528875520,"km_value":74840320528875.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138744911872000,"description":"Unknown IO ID 45"} 
[2026-04-22 17:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876257536001,"power":13830,"unknown_36":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8902138744911872000}} 
[2026-04-22 17:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":50853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:50:47] local.INFO: GPS data processed {"connection_id":50853,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:50:47] local.INFO: Acknowledgment sent {"connection_id":50853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:50:50] local.INFO: TCP Data received {"connection_id":51406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:50:50] local.INFO: Processing buffer {"connection_id":51406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:50:50] local.INFO: IMEI packet received {"connection_id":51406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":51406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:51:02] local.INFO: TCP Data received {"connection_id":50456,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:51:02] local.INFO: Processing buffer {"connection_id":50456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:51:02] local.INFO: Packet analysis {"connection_id":50456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:51:02] local.INFO: Extracted packet for processing {"connection_id":50456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:02] 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-22 17:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17: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-22 17:51: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-22 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:51: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-22 17: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-22 17: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-22 17:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:51:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":50456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:51:02] local.INFO: GPS data processed {"connection_id":50456,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:51:02] local.INFO: Acknowledgment sent {"connection_id":50456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:51:08] local.INFO: TCP Data received {"connection_id":51405,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db521daa0012d182e4007219b90004a008026..."} 
[2026-04-22 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db521daa0012d182e4007219b90004a008026..."} 
[2026-04-22 17:51:08] local.INFO: Processing buffer {"connection_id":51405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db521daa0012d182e4007219b90004a008026..."} 
[2026-04-22 17:51:08] local.INFO: Packet analysis {"connection_id":51405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:51:08] local.INFO: Extracted packet for processing {"connection_id":51405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119643024,"longitude_deg":75.6559424,"latitude_deg":11.9643024,"altitude":74,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d182e40","hex_latitude":"07219b90","is_valid_coordinates":true} 
[2026-04-22 17:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876253952001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996485099520000,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211752448,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776860388000,"timestamp_ms":1776860388000,"timestamp_seconds":1776860388,"priority":1,"record_length":96,"hex_timestamp":"0000019db521daa0"} 
[2026-04-22 17:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 17:51:08] 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-22 17:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:51:08] 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-22 17:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876253952001,"66":14157,"105":206,"83":41984,"24":0,"16":113996485099520000,"45":1742400505211752448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876253952001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:51:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996485099520000,"km_value":113996485099520,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211752448,"description":"Unknown IO ID 45"} 
[2026-04-22 17:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876253952001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742400505211752448}} 
[2026-04-22 17:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":51405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:51:08] local.INFO: GPS data processed {"connection_id":51405,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:51:08] local.INFO: Acknowledgment sent {"connection_id":51405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:51:10] local.INFO: TCP Data received {"connection_id":51407,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:51:10] local.INFO: Processing buffer {"connection_id":51407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:51:10] local.INFO: IMEI packet received {"connection_id":51407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":51407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:51:15] local.INFO: TCP Data received {"connection_id":51407,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:51:15] local.INFO: Processing buffer {"connection_id":51407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:51:15] local.INFO: IMEI packet received {"connection_id":51407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":51407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:51:17] local.INFO: TCP Data received {"connection_id":51407,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db521ee28012d7b8a4005dfb6000003009e11..."} 
[2026-04-22 17:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db521ee28012d7b8a4005dfb6000003009e11..."} 
[2026-04-22 17:51:17] local.INFO: Processing buffer {"connection_id":51407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db521ee28012d7b8a4005dfb6000003009e11..."} 
[2026-04-22 17:51:17] local.INFO: Packet analysis {"connection_id":51407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:51:17] local.INFO: Extracted packet for processing {"connection_id":51407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:51:17] local.INFO: GPS Element Parsed {"raw_longitude":763071040,"raw_latitude":98547200,"longitude_deg":76.307104,"latitude_deg":9.85472,"altitude":3,"angle":158,"satellites":17,"speed":2,"hex_longitude":"2d7b8a40","hex_latitude":"05dfb600","is_valid_coordinates":true} 
[2026-04-22 17:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876257792001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840333413777408,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901998007423514624,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] 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-22 17:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776860393000,"timestamp_ms":1776860393000,"timestamp_seconds":1776860393,"priority":1,"record_length":96,"hex_timestamp":"0000019db521ee28"} 
[2026-04-22 17:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-3458433030257900065,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630453041664,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3178758148,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445200078,"corrected_to":0} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3804626944,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3753781248,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.WARNING: Large IO value detected {"io_id":190,"raw_value":5764611925276164097,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,36,85,24,241,157,16,226,191,45,192,182,3,17,10,66,163,64,184,148,1,240,28,227,181,223,4,113,205,97,136,48,239,52,2,9,5,190],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1445200078,"validated":0}]} 
[2026-04-22 17:51:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216315791639838720,"timestamp_seconds":216315791639838.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":51407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":51407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":51407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876257792001,"66":13613,"36":206,"85":15104,"24":2,"16":74840333413777408,"45":8901998007423514624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876257792001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:51:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840333413777408,"km_value":74840333413777.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901998007423514624,"description":"Unknown IO ID 45"} 
[2026-04-22 17:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876257792001,"power":13613,"unknown_36":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8901998007423514624}} 
[2026-04-22 17:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":51407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:51:17] local.INFO: GPS data processed {"connection_id":51407,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:51:17] local.INFO: Acknowledgment sent {"connection_id":51407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:51:25] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:51:25] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:51:25] local.INFO: IMEI packet received {"connection_id":50854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":50854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:51:27] local.INFO: TCP Data received {"connection_id":50722,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:51:27] local.INFO: Processing buffer {"connection_id":50722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:51:27] local.INFO: IMEI packet received {"connection_id":50722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":50722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:51:30] local.INFO: TCP Data received {"connection_id":50722,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:51:30] local.INFO: Processing buffer {"connection_id":50722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:51:30] local.INFO: IMEI packet received {"connection_id":50722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":50722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:51:31] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:51:31] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:51:31] local.INFO: IMEI packet received {"connection_id":50854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":50854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:51:32] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:51:32] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:51:32] local.INFO: Packet analysis {"connection_id":50854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:51:32] local.INFO: Extracted packet for processing {"connection_id":50854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51: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-22 17:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:51: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-22 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:51: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-22 17:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:51:32] local.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-22 17:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:51:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":50854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:51:32] local.INFO: GPS data processed {"connection_id":50854,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:51:32] local.INFO: Acknowledgment sent {"connection_id":50854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:51:36] local.INFO: TCP Data received {"connection_id":50722,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:51:36] local.INFO: Processing buffer {"connection_id":50722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:51:36] local.INFO: IMEI packet received {"connection_id":50722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":50722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:51:39] local.INFO: TCP Data received {"connection_id":50722,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5221150012d18340007219740004f007123..."} 
[2026-04-22 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5221150012d18340007219740004f007123..."} 
[2026-04-22 17:51:39] local.INFO: Processing buffer {"connection_id":50722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5221150012d18340007219740004f007123..."} 
[2026-04-22 17:51:39] local.INFO: Packet analysis {"connection_id":50722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db522"} 
[2026-04-22 17:51:39] local.INFO: Extracted packet for processing {"connection_id":50722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db522"} 
[2026-04-22 17:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756560896,"raw_latitude":119641920,"longitude_deg":75.6560896,"latitude_deg":11.964192,"altitude":79,"angle":113,"satellites":35,"speed":16,"hex_longitude":"2d183400","hex_latitude":"07219740","is_valid_coordinates":true} 
[2026-04-22 17:51: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-22 17:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876259328001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113996575293833216,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211752448,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776860402000,"timestamp_ms":1776860402000,"timestamp_seconds":1776860402,"priority":1,"record_length":96,"hex_timestamp":"0000019db5221150"} 
[2026-04-22 17:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 17:51:39] 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-22 17:51: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-22 17:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:51:39] 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-22 17:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876259328001,"66":14243,"105":206,"83":41984,"24":16,"16":113996575293833216,"45":1742400505211752448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 17:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876259328001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:51:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 17:51:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113996575293833216,"km_value":113996575293833.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211752448,"description":"Unknown IO ID 45"} 
[2026-04-22 17:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876259328001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1742400505211752448}} 
[2026-04-22 17:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":50722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:51:39] local.INFO: GPS data processed {"connection_id":50722,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:51:39] local.INFO: Acknowledgment sent {"connection_id":50722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:51:48] local.INFO: TCP Data received {"connection_id":50722,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5224be8012d185680072188a8004f007422..."} 
[2026-04-22 17:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5224be8012d185680072188a8004f007422..."} 
[2026-04-22 17:51:48] local.INFO: Processing buffer {"connection_id":50722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5224be8012d185680072188a8004f007422..."} 
[2026-04-22 17:51:48] local.INFO: Packet analysis {"connection_id":50722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db522"} 
[2026-04-22 17:51:48] local.INFO: Extracted packet for processing {"connection_id":50722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db522"} 
[2026-04-22 17:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756569728,"raw_latitude":119638184,"longitude_deg":75.6569728,"latitude_deg":11.9638184,"altitude":79,"angle":116,"satellites":34,"speed":30,"hex_longitude":"2d185680","hex_latitude":"072188a8","is_valid_coordinates":true} 
[2026-04-22 17:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876262912001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113997030560366592,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744018986327556096,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51: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-22 17:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776860417000,"timestamp_ms":1776860417000,"timestamp_seconds":1776860417,"priority":1,"record_length":96,"hex_timestamp":"0000019db5224be8"} 
[2026-04-22 17:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 17:51:48] 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-22 17:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:51:48] 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-22 17:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876262912001,"66":13852,"106":206,"83":41984,"24":30,"16":113997030560366592,"45":1744018986327556096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876262912001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:51:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:51:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113997030560366592,"km_value":113997030560366.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744018986327556096,"description":"Unknown IO ID 45"} 
[2026-04-22 17:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876262912001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1744018986327556096}} 
[2026-04-22 17:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":50722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:51:48] local.INFO: GPS data processed {"connection_id":50722,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:51:48] local.INFO: Acknowledgment sent {"connection_id":50722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:51:49] local.INFO: TCP Data received {"connection_id":51407,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52351a0012d7b8cc005dfa858000300b112..."} 
[2026-04-22 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52351a0012d7b8cc005dfa858000300b112..."} 
[2026-04-22 17:51:49] local.INFO: Processing buffer {"connection_id":51407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52351a0012d7b8cc005dfa858000300b112..."} 
[2026-04-22 17:51:49] local.INFO: Packet analysis {"connection_id":51407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:51:49] local.INFO: Extracted packet for processing {"connection_id":51407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":763071680,"raw_latitude":98543704,"longitude_deg":76.307168,"latitude_deg":9.8543704,"altitude":3,"angle":177,"satellites":18,"speed":0,"hex_longitude":"2d7b8cc0","hex_latitude":"05dfa858","is_valid_coordinates":true} 
[2026-04-22 17:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876278528001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840543867174912,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902772063608545280,"note":"Value kept but may cause issues"} 
[2026-04-22 17:51: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-22 17:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776860484000,"timestamp_ms":1776860484000,"timestamp_seconds":1776860484,"priority":1,"record_length":96,"hex_timestamp":"0000019db52351a0"} 
[2026-04-22 17:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 17:51:49] 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-22 17:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":51407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":51407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":51407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876278528001,"66":13580,"36":206,"85":15104,"24":0,"16":74840543867174912,"45":8902772063608545280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876278528001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:51:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:51:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840543867174912,"km_value":74840543867174.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902772063608545280,"description":"Unknown IO ID 45"} 
[2026-04-22 17:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876278528001,"power":13580,"unknown_36":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8902772063608545280}} 
[2026-04-22 17:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":51407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:51:49] local.INFO: GPS data processed {"connection_id":51407,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:51:49] local.INFO: Acknowledgment sent {"connection_id":51407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:52:04] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:52:04] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:52:04] local.INFO: Packet analysis {"connection_id":50854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:52:04] local.INFO: Extracted packet for processing {"connection_id":50854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52: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-22 17:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:52: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-22 17:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:52: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-22 17:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:52:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":50854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:52:04] local.INFO: GPS data processed {"connection_id":50854,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:52:04] local.INFO: Acknowledgment sent {"connection_id":50854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:52:10] local.INFO: TCP Data received {"connection_id":51408,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:52:10] local.INFO: Processing buffer {"connection_id":51408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:52:10] local.INFO: IMEI packet received {"connection_id":51408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":51408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:52:16] local.INFO: TCP Data received {"connection_id":51408,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:52:16] local.INFO: Processing buffer {"connection_id":51408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:52:16] local.INFO: IMEI packet received {"connection_id":51408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":51408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:52:17] local.INFO: TCP Data received {"connection_id":51408,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5236140012d7b8c8005dfa7980003005a13..."} 
[2026-04-22 17:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5236140012d7b8c8005dfa7980003005a13..."} 
[2026-04-22 17:52:17] local.INFO: Processing buffer {"connection_id":51408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5236140012d7b8c8005dfa7980003005a13..."} 
[2026-04-22 17:52:17] local.INFO: Packet analysis {"connection_id":51408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:52:17] local.INFO: Extracted packet for processing {"connection_id":51408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763071616,"raw_latitude":98543512,"longitude_deg":76.3071616,"latitude_deg":9.8543512,"altitude":3,"angle":90,"satellites":19,"speed":2,"hex_longitude":"2d7b8c80","hex_latitude":"05dfa798","is_valid_coordinates":true} 
[2026-04-22 17:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876283904001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840556752076800,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902701694864349184,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] 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-22 17:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776860488000,"timestamp_ms":1776860488000,"timestamp_seconds":1776860488,"priority":1,"record_length":96,"hex_timestamp":"0000019db5236140"} 
[2026-04-22 17:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:52: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-22 17:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581666,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3038948752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":712409867519787008,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2933915651,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959365668,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445200078,"corrected_to":0} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451035978878549,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3808296960,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3752816640,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-8322645653078409213,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,36,85,24,241,157,16,227,255,45,168,3,18,10,66,220,128,172,208,1,240,93,181,223,4,113,205,141,17,239,53,2,9,5,123,59],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1445200078,"validated":0}]} 
[2026-04-22 17:52:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216367472981311488,"timestamp_seconds":216367472981311.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":51408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":51408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":51408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876283904001,"66":13765,"36":206,"85":15104,"24":2,"16":74840556752076800,"45":8902701694864349184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876283904001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:52:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840556752076800,"km_value":74840556752076.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902701694864349184,"description":"Unknown IO ID 45"} 
[2026-04-22 17:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876283904001,"power":13765,"unknown_36":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8902701694864349184}} 
[2026-04-22 17:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":51408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:52:17] local.INFO: GPS data processed {"connection_id":51408,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:52:17] local.INFO: Acknowledgment sent {"connection_id":51408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:52:27] local.INFO: TCP Data received {"connection_id":50855,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:52:27] local.INFO: Processing buffer {"connection_id":50855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:52:27] local.INFO: IMEI packet received {"connection_id":50855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":50855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:52:30] local.INFO: TCP Data received {"connection_id":50855,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:52:30] local.INFO: Processing buffer {"connection_id":50855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:52:30] local.INFO: IMEI packet received {"connection_id":50855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":50855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:52:31] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:52:31] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:52:31] local.INFO: IMEI packet received {"connection_id":50856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":50856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:52:31] local.INFO: TCP Data received {"connection_id":50855,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5234db8012d18d9000720ff60003b009b26..."} 
[2026-04-22 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5234db8012d18d9000720ff60003b009b26..."} 
[2026-04-22 17:52:31] local.INFO: Processing buffer {"connection_id":50855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5234db8012d18d9000720ff60003b009b26..."} 
[2026-04-22 17:52:31] local.INFO: Packet analysis {"connection_id":50855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:52:31] local.INFO: Extracted packet for processing {"connection_id":50855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756603136,"raw_latitude":119603040,"longitude_deg":75.6603136,"latitude_deg":11.960304,"altitude":59,"angle":155,"satellites":38,"speed":42,"hex_longitude":"2d18d900","hex_latitude":"0720ff60","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876282880001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113999693440090112,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789336457568815104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52: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-22 17:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776860483000,"timestamp_ms":1776860483000,"timestamp_seconds":1776860483,"priority":1,"record_length":96,"hex_timestamp":"0000019db5234db8"} 
[2026-04-22 17: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-22 17:52:31] 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-22 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-22 17:52:31] 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-22 17: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-22 17: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-22 17:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:52:31] 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-22 17:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876282880001,"66":13330,"106":206,"83":41984,"24":42,"16":113999693440090112,"45":1789336457568815104},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876282880001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:52:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113999693440090112,"km_value":113999693440090.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789336457568815104,"description":"Unknown IO ID 45"} 
[2026-04-22 17:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876282880001,"power":13330,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1789336457568815104}} 
[2026-04-22 17:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":50855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:52:31] local.INFO: GPS data processed {"connection_id":50855,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:52:31] local.INFO: Acknowledgment sent {"connection_id":50855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:52:36] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:52:36] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:52:36] local.INFO: IMEI packet received {"connection_id":50856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":50856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:52:36] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:52:36] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:52:36] local.INFO: Packet analysis {"connection_id":50856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:52:36] local.INFO: Extracted packet for processing {"connection_id":50856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52: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-22 17:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17: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-22 17:52: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-22 17: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:52: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-22 17: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-22 17: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-22 17:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:52:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":50856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:52:36] local.INFO: GPS data processed {"connection_id":50856,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:52:36] local.INFO: Acknowledgment sent {"connection_id":50856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:52:41] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:52:41] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:52:41] local.INFO: Packet analysis {"connection_id":50856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:52:41] local.INFO: Extracted packet for processing {"connection_id":50856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:41] 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-22 17:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 17:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:52:41] local.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-22 17:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:52:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":50856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:52:41] local.INFO: GPS data processed {"connection_id":50856,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:52:41] local.INFO: Acknowledgment sent {"connection_id":50856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:52:48] local.INFO: TCP Data received {"connection_id":51408,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5237c98012d7b8c8005dfa7700003010e13..."} 
[2026-04-22 17:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5237c98012d7b8c8005dfa7700003010e13..."} 
[2026-04-22 17:52:48] local.INFO: Processing buffer {"connection_id":51408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5237c98012d7b8c8005dfa7700003010e13..."} 
[2026-04-22 17:52:48] local.INFO: Packet analysis {"connection_id":51408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:52:48] local.INFO: Extracted packet for processing {"connection_id":51408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:52:48] local.INFO: GPS Element Parsed {"raw_longitude":763071616,"raw_latitude":98543472,"longitude_deg":76.3071616,"latitude_deg":9.8543472,"altitude":3,"angle":270,"satellites":19,"speed":1,"hex_longitude":"2d7b8c80","hex_latitude":"05dfa770","is_valid_coordinates":true} 
[2026-04-22 17:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876284928001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840556752076800,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902631326120122368,"note":"Value kept but may cause issues"} 
[2026-04-22 17:52:48] 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-22 17:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776860495000,"timestamp_ms":1776860495000,"timestamp_seconds":1776860495,"priority":1,"record_length":96,"hex_timestamp":"0000019db5237c98"} 
[2026-04-22 17:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:52: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-22 17:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 17:52:48] 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-22 17:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":51408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":51408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":51408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876284928001,"66":13559,"36":206,"85":15104,"24":1,"16":74840556752076800,"45":8902631326120122368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876284928001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:52:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:52:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840556752076800,"km_value":74840556752076.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902631326120122368,"description":"Unknown IO ID 45"} 
[2026-04-22 17:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876284928001,"power":13559,"unknown_36":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8902631326120122368}} 
[2026-04-22 17:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":51408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:52:48] local.INFO: GPS data processed {"connection_id":51408,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:52:48] local.INFO: Acknowledgment sent {"connection_id":51408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:53:02] local.INFO: TCP Data received {"connection_id":50855,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5242878012d19504007209ad8001e00c11f..."} 
[2026-04-22 17:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5242878012d19504007209ad8001e00c11f..."} 
[2026-04-22 17:53:02] local.INFO: Processing buffer {"connection_id":50855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5242878012d19504007209ad8001e00c11f..."} 
[2026-04-22 17:53:02] local.INFO: Packet analysis {"connection_id":50855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db524"} 
[2026-04-22 17:53:02] local.INFO: Extracted packet for processing {"connection_id":50855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db524"} 
[2026-04-22 17:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119577304,"longitude_deg":75.6633664,"latitude_deg":11.9577304,"altitude":30,"angle":193,"satellites":31,"speed":12,"hex_longitude":"2d195040","hex_latitude":"07209ad8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876297728001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114001956887855104,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354673620992,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776860539000,"timestamp_ms":1776860539000,"timestamp_seconds":1776860539,"priority":1,"record_length":96,"hex_timestamp":"0000019db5242878"} 
[2026-04-22 17: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-22 17:53:02] 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-22 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 17:53:02] 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-22 17: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-22 17: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-22 17:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:53:02] 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-22 17:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876297728001,"66":13928,"106":206,"83":41984,"24":12,"16":114001956887855104,"45":1824239354673620992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876297728001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:53:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114001956887855104,"km_value":114001956887855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354673620992,"description":"Unknown IO ID 45"} 
[2026-04-22 17:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876297728001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1824239354673620992}} 
[2026-04-22 17:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":50855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:53:02] local.INFO: GPS data processed {"connection_id":50855,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:53:02] local.INFO: Acknowledgment sent {"connection_id":50855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:53:10] local.INFO: TCP Data received {"connection_id":50457,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:53:10] local.INFO: Processing buffer {"connection_id":50457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:53:10] local.INFO: IMEI packet received {"connection_id":50457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":50457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:53:11] local.INFO: TCP Data received {"connection_id":50457,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:53:11] local.INFO: Processing buffer {"connection_id":50457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:53:11] local.INFO: IMEI packet received {"connection_id":50457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":50457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:53:15] local.INFO: TCP Data received {"connection_id":50457,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:53:15] local.INFO: Processing buffer {"connection_id":50457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:53:15] local.INFO: IMEI packet received {"connection_id":50457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":50457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:53:19] local.INFO: TCP Data received {"connection_id":50457,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db523a790012d7b8cc005dfa7480003007f14..."} 
[2026-04-22 17:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db523a790012d7b8cc005dfa7480003007f14..."} 
[2026-04-22 17:53:19] local.INFO: Processing buffer {"connection_id":50457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db523a790012d7b8cc005dfa7480003007f14..."} 
[2026-04-22 17:53:19] local.INFO: Packet analysis {"connection_id":50457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:53:19] local.INFO: Extracted packet for processing {"connection_id":50457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db523"} 
[2026-04-22 17:53:19] local.INFO: GPS Element Parsed {"raw_longitude":763071680,"raw_latitude":98543432,"longitude_deg":76.307168,"latitude_deg":9.8543432,"altitude":3,"angle":127,"satellites":20,"speed":1,"hex_longitude":"2d7b8cc0","hex_latitude":"05dfa748","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876286720001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74840561047044096,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902631326120112128,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:19] 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-22 17:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776860506000,"timestamp_ms":1776860506000,"timestamp_seconds":1776860506,"priority":1,"record_length":96,"hex_timestamp":"0000019db523a790"} 
[2026-04-22 17: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-22 17:53:19] 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-22 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 17:53:19] 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-22 17: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-22 17: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-22 17:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":50457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":50457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":50457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876286720001,"66":13135,"36":206,"85":15104,"24":1,"16":74840561047044096,"45":8902631326120112128},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876286720001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:53:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74840561047044096,"km_value":74840561047044.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902631326120112128,"description":"Unknown IO ID 45"} 
[2026-04-22 17:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876286720001,"power":13135,"unknown_36":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8902631326120112128}} 
[2026-04-22 17:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":50457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:53:19] local.INFO: GPS data processed {"connection_id":50457,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:53:19] local.INFO: Acknowledgment sent {"connection_id":50457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:53:26] local.INFO: TCP Data received {"connection_id":51410,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:53:26] local.INFO: Processing buffer {"connection_id":51410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:53:26] local.INFO: IMEI packet received {"connection_id":51410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":51410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:53:27] local.INFO: TCP Data received {"connection_id":50724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:53:27] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:53:27] local.INFO: IMEI packet received {"connection_id":50724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":50724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:53:27] local.INFO: TCP Data received {"connection_id":50724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:53:27] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:53:27] local.INFO: IMEI packet received {"connection_id":50724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":50724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:53:31] local.INFO: TCP Data received {"connection_id":51410,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:53:31] local.INFO: Processing buffer {"connection_id":51410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:53:31] local.INFO: IMEI packet received {"connection_id":51410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":51410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:53:32] local.INFO: TCP Data received {"connection_id":51410,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:53:32] local.INFO: Processing buffer {"connection_id":51410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:53:32] local.INFO: Packet analysis {"connection_id":51410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:53:32] local.INFO: Extracted packet for processing {"connection_id":51410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53: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-22 17:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17: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-22 17: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-22 17: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-22 17: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-22 17: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-22 17: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-22 17:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:53:32] 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-22 17:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:53:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":51410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:53:32] local.INFO: GPS data processed {"connection_id":51410,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:53:32] local.INFO: Acknowledgment sent {"connection_id":51410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:53:32] local.INFO: TCP Data received {"connection_id":50724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:53:32] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:53:32] local.INFO: IMEI packet received {"connection_id":50724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:53:33] local.INFO: TCP Data received {"connection_id":50724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5243430012d194fc007209668001e00b021..."} 
[2026-04-22 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5243430012d194fc007209668001e00b021..."} 
[2026-04-22 17:53:33] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5243430012d194fc007209668001e00b021..."} 
[2026-04-22 17:53:33] local.INFO: Packet analysis {"connection_id":50724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db524"} 
[2026-04-22 17:53:33] local.INFO: Extracted packet for processing {"connection_id":50724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db524"} 
[2026-04-22 17:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119576168,"longitude_deg":75.6633536,"latitude_deg":11.9576168,"altitude":30,"angle":176,"satellites":33,"speed":15,"hex_longitude":"2d194fc0","hex_latitude":"07209668","is_valid_coordinates":true} 
[2026-04-22 17:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876297984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114002012722429952,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248441018368,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53: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-22 17:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860542000,"timestamp_ms":1776860542000,"timestamp_seconds":1776860542,"priority":1,"record_length":96,"hex_timestamp":"0000019db5243430"} 
[2026-04-22 17:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 17:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:53:33] 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-22 17:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876297984001,"66":14341,"106":206,"83":41984,"24":15,"16":114002012722429952,"45":1824028248441018368},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876297984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:53:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114002012722429952,"km_value":114002012722429.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248441018368,"description":"Unknown IO ID 45"} 
[2026-04-22 17:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876297984001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1824028248441018368}} 
[2026-04-22 17:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":50724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:53:33] local.INFO: GPS data processed {"connection_id":50724,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:53:33] local.INFO: Acknowledgment sent {"connection_id":50724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:53:52] local.INFO: TCP Data received {"connection_id":50457,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5250720012d7b95c005df6380000800a014..."} 
[2026-04-22 17:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5250720012d7b95c005df6380000800a014..."} 
[2026-04-22 17:53:52] local.INFO: Processing buffer {"connection_id":50457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5250720012d7b95c005df6380000800a014..."} 
[2026-04-22 17:53:52] local.INFO: Packet analysis {"connection_id":50457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:53:52] local.INFO: Extracted packet for processing {"connection_id":50457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":98526080,"longitude_deg":76.3073984,"latitude_deg":9.852608,"altitude":8,"angle":160,"satellites":20,"speed":10,"hex_longitude":"2d7b95c0","hex_latitude":"05df6380","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876310784001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74841428630437888,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904883125929773056,"note":"Value kept but may cause issues"} 
[2026-04-22 17:53:52] 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-22 17:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776860596000,"timestamp_ms":1776860596000,"timestamp_seconds":1776860596,"priority":1,"record_length":96,"hex_timestamp":"0000019db5250720"} 
[2026-04-22 17:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 17:53:52] 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-22 17:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":50457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":50457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":50457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876310784001,"66":13646,"36":206,"85":15104,"24":10,"16":74841428630437888,"45":8904883125929773056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876310784001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:53:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74841428630437888,"km_value":74841428630437.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904883125929773056,"description":"Unknown IO ID 45"} 
[2026-04-22 17:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876310784001,"power":13646,"unknown_36":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8904883125929773056}} 
[2026-04-22 17:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":50457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:53:52] local.INFO: GPS data processed {"connection_id":50457,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:53:52] local.INFO: Acknowledgment sent {"connection_id":50457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:54:03] local.INFO: TCP Data received {"connection_id":51410,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:54:03] local.INFO: Processing buffer {"connection_id":51410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:54:03] local.INFO: Packet analysis {"connection_id":51410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:54:03] local.INFO: Extracted packet for processing {"connection_id":51410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54: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-22 17:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:54: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-22 17:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:54: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-22 17:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:54:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":51410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:54:03] local.INFO: GPS data processed {"connection_id":51410,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:54:03] local.INFO: Acknowledgment sent {"connection_id":51410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:54:04] local.INFO: TCP Data received {"connection_id":50724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5243818012d195040072094b8001e009f20..."} 
[2026-04-22 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5243818012d195040072094b8001e009f20..."} 
[2026-04-22 17:54:04] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5243818012d195040072094b8001e009f20..."} 
[2026-04-22 17:54:04] local.INFO: Packet analysis {"connection_id":50724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db524"} 
[2026-04-22 17:54:04] local.INFO: Extracted packet for processing {"connection_id":50724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db524"} 
[2026-04-22 17:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119575736,"longitude_deg":75.6633664,"latitude_deg":11.9575736,"altitude":30,"angle":159,"satellites":32,"speed":15,"hex_longitude":"2d195040","hex_latitude":"072094b8","is_valid_coordinates":true} 
[2026-04-22 17:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876298752001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114002034197266432,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823887510952372224,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54: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-22 17:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860543000,"timestamp_ms":1776860543000,"timestamp_seconds":1776860543,"priority":1,"record_length":96,"hex_timestamp":"0000019db5243818"} 
[2026-04-22 17:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:54: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-22 17:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6940861441,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3039036752,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505339156955136,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2671771679,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2147950751,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812266,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84751847696834720,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.WARNING: Large IO value detected {"io_id":216,"raw_value":8726566662048768,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,4,40,45,64,154,30,31,10,66,36,155,1,240,38,227,181,32,113,205,12,9,89,96,34,239,53,2,149,7,11,206,104,216],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 17:54:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2161921476919230464,"timestamp_seconds":2161921476919230.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 17:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:54:04] 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-22 17:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876298752001,"66":14341,"106":206,"83":41984,"24":15,"16":114002034197266432,"45":1823887510952372224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876298752001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:54:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114002034197266432,"km_value":114002034197266.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823887510952372224,"description":"Unknown IO ID 45"} 
[2026-04-22 17:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876298752001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1823887510952372224}} 
[2026-04-22 17:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":50724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:54:04] local.INFO: GPS data processed {"connection_id":50724,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:54:04] local.INFO: Acknowledgment sent {"connection_id":50724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:54:10] local.INFO: TCP Data received {"connection_id":50857,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:54:10] local.INFO: Processing buffer {"connection_id":50857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:54:10] local.INFO: IMEI packet received {"connection_id":50857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":50857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:54:15] local.INFO: TCP Data received {"connection_id":50857,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:54:15] local.INFO: Processing buffer {"connection_id":50857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:54:15] local.INFO: IMEI packet received {"connection_id":50857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":50857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:54:16] local.INFO: TCP Data received {"connection_id":50857,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52512d8012d7b954005df60d0000900ae13..."} 
[2026-04-22 17:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52512d8012d7b954005df60d0000900ae13..."} 
[2026-04-22 17:54:16] local.INFO: Processing buffer {"connection_id":50857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52512d8012d7b954005df60d0000900ae13..."} 
[2026-04-22 17:54:16] local.INFO: Packet analysis {"connection_id":50857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:54:16] local.INFO: Extracted packet for processing {"connection_id":50857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763073856,"raw_latitude":98525392,"longitude_deg":76.3073856,"latitude_deg":9.8525392,"altitude":9,"angle":174,"satellites":19,"speed":9,"hex_longitude":"2d7b9540","hex_latitude":"05df60d0","is_valid_coordinates":true} 
[2026-04-22 17:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876312576001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74841462990176256,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905234969650233344,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:16] 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-22 17:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860599000,"timestamp_ms":1776860599000,"timestamp_seconds":1776860599,"priority":1,"record_length":96,"hex_timestamp":"0000019db52512d8"} 
[2026-04-22 17:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 17:54:16] 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-22 17:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876312576001,"66":13624,"36":206,"85":15104,"24":9,"16":74841462990176256,"45":8905234969650233344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876312576001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:54:16] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74841462990176256,"km_value":74841462990176.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905234969650233344,"description":"Unknown IO ID 45"} 
[2026-04-22 17:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876312576001,"power":13624,"unknown_36":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8905234969650233344}} 
[2026-04-22 17:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":50857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:54:16] local.INFO: GPS data processed {"connection_id":50857,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:54:16] local.INFO: Acknowledgment sent {"connection_id":50857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:54:26] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:54:26] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:54:26] local.INFO: IMEI packet received {"connection_id":50458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":50458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:54:27] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:54:27] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:54:27] local.INFO: IMEI packet received {"connection_id":50858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":50858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:54:31] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:54:31] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:54:31] local.INFO: IMEI packet received {"connection_id":50458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:54:31] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:54:31] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:54:31] local.INFO: IMEI packet received {"connection_id":50858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:54:31] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:54:31] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52132a8012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:54:31] local.INFO: Packet analysis {"connection_id":50458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:54:31] local.INFO: Extracted packet for processing {"connection_id":50458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db521"} 
[2026-04-22 17:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876171264001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54: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-22 17:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776860345000,"timestamp_ms":1776860345000,"timestamp_seconds":1776860345,"priority":1,"record_length":96,"hex_timestamp":"0000019db52132a8"} 
[2026-04-22 17: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-22 17:54: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-22 17: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 17:54: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-22 17: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-22 17: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-22 17:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:54:31] 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-22 17:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876171264001,"66":25441,"250":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 17:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876171264001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:54:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 17:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876171264001,"power":25441,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":50458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:54:31] local.INFO: GPS data processed {"connection_id":50458,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:54:31] local.INFO: Acknowledgment sent {"connection_id":50458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:54:32] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:54:32] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:54:32] local.INFO: IMEI packet received {"connection_id":50858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:54:32] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5253600012d196d0007203510002e00e01f..."} 
[2026-04-22 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5253600012d196d0007203510002e00e01f..."} 
[2026-04-22 17:54:32] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5253600012d196d0007203510002e00e01f..."} 
[2026-04-22 17:54:32] local.INFO: Packet analysis {"connection_id":50858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:54:32] local.INFO: Extracted packet for processing {"connection_id":50858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119551248,"longitude_deg":75.6641024,"latitude_deg":11.9551248,"altitude":46,"angle":224,"satellites":31,"speed":12,"hex_longitude":"2d196d00","hex_latitude":"07203510","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876315392001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114003339867324416,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760247367680,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54: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-22 17:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776860608000,"timestamp_ms":1776860608000,"timestamp_seconds":1776860608,"priority":1,"record_length":96,"hex_timestamp":"0000019db5253600"} 
[2026-04-22 17: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-22 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 17:54:32] 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-22 17: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-22 17: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-22 17:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:54:32] 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-22 17:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876315392001,"66":14004,"106":206,"83":41984,"24":12,"16":114003339867324416,"45":1832331760247367680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876315392001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:54:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114003339867324416,"km_value":114003339867324.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760247367680,"description":"Unknown IO ID 45"} 
[2026-04-22 17:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876315392001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1832331760247367680}} 
[2026-04-22 17:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":50858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:54:33] local.INFO: GPS data processed {"connection_id":50858,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:54:33] local.INFO: Acknowledgment sent {"connection_id":50858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:54:37] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52539e8012d196bc007203450002e00ef20..."} 
[2026-04-22 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52539e8012d196bc007203450002e00ef20..."} 
[2026-04-22 17:54:37] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52539e8012d196bc007203450002e00ef20..."} 
[2026-04-22 17:54:37] local.INFO: Packet analysis {"connection_id":50858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:54:37] local.INFO: Extracted packet for processing {"connection_id":50858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119551056,"longitude_deg":75.6640704,"latitude_deg":11.9551056,"altitude":46,"angle":239,"satellites":32,"speed":14,"hex_longitude":"2d196bc0","hex_latitude":"07203450","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876315648001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114003357047193600,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654014779392,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776860609000,"timestamp_ms":1776860609000,"timestamp_seconds":1776860609,"priority":1,"record_length":96,"hex_timestamp":"0000019db52539e8"} 
[2026-04-22 17: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-22 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-22 17:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:54:37] 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-22 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876315648001,"66":14004,"106":206,"83":41984,"24":14,"16":114003357047193600,"45":1832120654014779392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876315648001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:54:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114003357047193600,"km_value":114003357047193.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654014779392,"description":"Unknown IO ID 45"} 
[2026-04-22 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876315648001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1832120654014779392}} 
[2026-04-22 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":50858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:54:38] local.INFO: GPS data processed {"connection_id":50858,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:54:38] local.INFO: Acknowledgment sent {"connection_id":50858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:54:47] local.INFO: TCP Data received {"connection_id":50857,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52564e0012d7b964005df4388000a00b613..."} 
[2026-04-22 17:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52564e0012d7b964005df4388000a00b613..."} 
[2026-04-22 17:54:47] local.INFO: Processing buffer {"connection_id":50857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52564e0012d7b964005df4388000a00b613..."} 
[2026-04-22 17:54:47] local.INFO: Packet analysis {"connection_id":50857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:54:47] local.INFO: Extracted packet for processing {"connection_id":50857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763074112,"raw_latitude":98517896,"longitude_deg":76.3074112,"latitude_deg":9.8517896,"altitude":10,"angle":182,"satellites":19,"speed":15,"hex_longitude":"2d7b9640","hex_latitude":"05df4388","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876313344001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74841828062396416,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905094232161701888,"note":"Value kept but may cause issues"} 
[2026-04-22 17:54:47] 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-22 17:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776860620000,"timestamp_ms":1776860620000,"timestamp_seconds":1776860620,"priority":1,"record_length":96,"hex_timestamp":"0000019db52564e0"} 
[2026-04-22 17: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-22 17:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 17:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876313344001,"66":13678,"36":206,"85":15104,"24":15,"16":74841828062396416,"45":8905094232161701888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876313344001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:54:47] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74841828062396416,"km_value":74841828062396.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905094232161701888,"description":"Unknown IO ID 45"} 
[2026-04-22 17:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876313344001,"power":13678,"unknown_36":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8905094232161701888}} 
[2026-04-22 17:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":50857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:54:47] local.INFO: GPS data processed {"connection_id":50857,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:54:47] local.INFO: Acknowledgment sent {"connection_id":50857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:55:09] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5260cd8012d195000071ff9c8004000b223..."} 
[2026-04-22 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5260cd8012d195000071ff9c8004000b223..."} 
[2026-04-22 17:55:09] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5260cd8012d195000071ff9c8004000b223..."} 
[2026-04-22 17:55:09] local.INFO: Packet analysis {"connection_id":50858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:55:09] local.INFO: Extracted packet for processing {"connection_id":50858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119536072,"longitude_deg":75.66336,"latitude_deg":11.9536072,"altitude":64,"angle":178,"satellites":35,"speed":9,"hex_longitude":"2d195000","hex_latitude":"071ff9c8","is_valid_coordinates":true} 
[2026-04-22 17:55: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-22 17:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876326400001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004284760129536,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779594080256,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776860663000,"timestamp_ms":1776860663000,"timestamp_seconds":1776860663,"priority":1,"record_length":96,"hex_timestamp":"0000019db5260cd8"} 
[2026-04-22 17:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:55:09] 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-22 17:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 17:55:09] 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-22 17:55: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-22 17:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:55:09] 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-22 17:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876326400001,"66":13276,"106":206,"83":41984,"24":9,"16":114004284760129536,"45":1825083779594080256},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876326400001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:55:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004284760129536,"km_value":114004284760129.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779594080256,"description":"Unknown IO ID 45"} 
[2026-04-22 17:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876326400001,"power":13276,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1825083779594080256}} 
[2026-04-22 17:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":50858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:55:09] local.INFO: GPS data processed {"connection_id":50858,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:55:09] local.INFO: Acknowledgment sent {"connection_id":50858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:55:10] local.INFO: TCP Data received {"connection_id":50859,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:55:10] local.INFO: Processing buffer {"connection_id":50859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:55:10] local.INFO: IMEI packet received {"connection_id":50859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":50859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:55:13] local.INFO: TCP Data received {"connection_id":50458,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:55:13] local.INFO: Processing buffer {"connection_id":50458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:55:13] local.INFO: Packet analysis {"connection_id":50458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:55:13] local.INFO: Extracted packet for processing {"connection_id":50458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:13] 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-22 17:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:55: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-22 17:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 17:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:55: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-22 17:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 17:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:55:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":50458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:55:13] local.INFO: GPS data processed {"connection_id":50458,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:55:13] local.INFO: Acknowledgment sent {"connection_id":50458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:55:15] local.INFO: TCP Data received {"connection_id":50859,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:55:15] local.INFO: Processing buffer {"connection_id":50859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:55:15] local.INFO: IMEI packet received {"connection_id":50859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":50859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:55:16] local.INFO: TCP Data received {"connection_id":50859,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db525b6e8012d7b994005df1ee0000a00af14..."} 
[2026-04-22 17:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525b6e8012d7b994005df1ee0000a00af14..."} 
[2026-04-22 17:55:16] local.INFO: Processing buffer {"connection_id":50859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525b6e8012d7b994005df1ee0000a00af14..."} 
[2026-04-22 17:55:16] local.INFO: Packet analysis {"connection_id":50859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:55:16] local.INFO: Extracted packet for processing {"connection_id":50859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:55:16] local.INFO: GPS Element Parsed {"raw_longitude":763074880,"raw_latitude":98508512,"longitude_deg":76.307488,"latitude_deg":9.8508512,"altitude":10,"angle":175,"satellites":20,"speed":25,"hex_longitude":"2d7b9940","hex_latitude":"05df1ee0","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876318720001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74842287623897088,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905375707136493568,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:16] 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-22 17:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860641000,"timestamp_ms":1776860641000,"timestamp_seconds":1776860641,"priority":1,"record_length":96,"hex_timestamp":"0000019db525b6e8"} 
[2026-04-22 17: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-22 17:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 17:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876318720001,"66":13624,"36":206,"85":15104,"24":25,"16":74842287623897088,"45":8905375707136493568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-22 17:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876318720001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:55:16] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-22 17:55:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74842287623897088,"km_value":74842287623897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905375707136493568,"description":"Unknown IO ID 45"} 
[2026-04-22 17:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876318720001,"power":13624,"unknown_36":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8905375707136493568}} 
[2026-04-22 17:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":50859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:55:16] local.INFO: GPS data processed {"connection_id":50859,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:55:16] local.INFO: Acknowledgment sent {"connection_id":50859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:55:25] local.INFO: TCP Data received {"connection_id":51412,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:55:25] local.INFO: Processing buffer {"connection_id":51412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:55:25] local.INFO: IMEI packet received {"connection_id":51412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":51412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:55:31] local.INFO: TCP Data received {"connection_id":51412,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:55:31] local.INFO: Processing buffer {"connection_id":51412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:55:31] local.INFO: IMEI packet received {"connection_id":51412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":51412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:55:32] local.INFO: TCP Data received {"connection_id":51412,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:55:32] local.INFO: Processing buffer {"connection_id":51412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:55:32] local.INFO: Packet analysis {"connection_id":51412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:55:32] local.INFO: Extracted packet for processing {"connection_id":51412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:32] 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-22 17:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17: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-22 17: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-22 17: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 17:55: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-22 17: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-22 17: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-22 17:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:55:32] 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-22 17:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 17:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":51412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:55:32] local.INFO: GPS data processed {"connection_id":51412,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:55:32] local.INFO: Acknowledgment sent {"connection_id":51412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:55:32] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:55:32] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:55:32] local.INFO: IMEI packet received {"connection_id":50460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:55:37] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:55:37] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:55:37] local.INFO: IMEI packet received {"connection_id":50460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":50460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:55:38] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52610c0012d195040071ff8a00041009d23..."} 
[2026-04-22 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52610c0012d195040071ff8a00041009d23..."} 
[2026-04-22 17:55:38] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52610c0012d195040071ff8a00041009d23..."} 
[2026-04-22 17:55:38] local.INFO: Packet analysis {"connection_id":50460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:55:38] local.INFO: Extracted packet for processing {"connection_id":50460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119535776,"longitude_deg":75.6633664,"latitude_deg":11.9535776,"altitude":65,"angle":157,"satellites":35,"speed":11,"hex_longitude":"2d195040","hex_latitude":"071ff8a0","is_valid_coordinates":true} 
[2026-04-22 17:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876329728001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004301939998720,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879686285312,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55: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-22 17:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776860664000,"timestamp_ms":1776860664000,"timestamp_seconds":1776860664,"priority":1,"record_length":96,"hex_timestamp":"0000019db52610c0"} 
[2026-04-22 17:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-22 17:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:55:38] 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-22 17:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876329728001,"66":13243,"106":206,"83":41984,"24":11,"16":114004301939998720,"45":1823957879686285312},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876329728001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:55:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004301939998720,"km_value":114004301939998.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879686285312,"description":"Unknown IO ID 45"} 
[2026-04-22 17:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876329728001,"power":13243,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1823957879686285312}} 
[2026-04-22 17:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":50460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:55:38] local.INFO: GPS data processed {"connection_id":50460,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:55:38] local.INFO: Acknowledgment sent {"connection_id":50460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:55:47] local.INFO: TCP Data received {"connection_id":50859,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db525e9b0012d7b9d0005defbf0000600b013..."} 
[2026-04-22 17:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525e9b0012d7b9d0005defbf0000600b013..."} 
[2026-04-22 17:55:47] local.INFO: Processing buffer {"connection_id":50859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525e9b0012d7b9d0005defbf0000600b013..."} 
[2026-04-22 17:55:47] local.INFO: Packet analysis {"connection_id":50859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:55:47] local.INFO: Extracted packet for processing {"connection_id":50859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763075840,"raw_latitude":98499568,"longitude_deg":76.307584,"latitude_deg":9.8499568,"altitude":6,"angle":176,"satellites":19,"speed":26,"hex_longitude":"2d7b9d00","hex_latitude":"05defbf0","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876324096001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74842721415593984,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906220132064223232,"note":"Value kept but may cause issues"} 
[2026-04-22 17:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776860654000,"timestamp_ms":1776860654000,"timestamp_seconds":1776860654,"priority":1,"record_length":96,"hex_timestamp":"0000019db525e9b0"} 
[2026-04-22 17: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-22 17:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 17:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876324096001,"66":13559,"49":206,"85":15104,"24":26,"16":74842721415593984,"45":8906220132064223232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 17:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876324096001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:55:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 17:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74842721415593984,"km_value":74842721415593.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906220132064223232,"description":"Unknown IO ID 45"} 
[2026-04-22 17:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876324096001,"power":13559,"unknown_49":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8906220132064223232}} 
[2026-04-22 17:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":50859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:55:47] local.INFO: GPS data processed {"connection_id":50859,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:55:47] local.INFO: Acknowledgment sent {"connection_id":50859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:56:03] local.INFO: TCP Data received {"connection_id":51412,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:56:03] local.INFO: Processing buffer {"connection_id":51412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:56:03] local.INFO: Packet analysis {"connection_id":51412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:56:03] local.INFO: Extracted packet for processing {"connection_id":51412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56: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-22 17:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17: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-22 17:56: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-22 17: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-22 17: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-22 17: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-22 17: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-22 17:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 17:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:56:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":51412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:56:03] local.INFO: GPS data processed {"connection_id":51412,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:56:03] local.INFO: Acknowledgment sent {"connection_id":51412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:56:09] local.INFO: TCP Data received {"connection_id":50460,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5261890012d195180071ff6880041009124..."} 
[2026-04-22 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5261890012d195180071ff6880041009124..."} 
[2026-04-22 17:56:09] local.INFO: Processing buffer {"connection_id":50460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5261890012d195180071ff6880041009124..."} 
[2026-04-22 17:56:09] local.INFO: Packet analysis {"connection_id":50460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:56:09] local.INFO: Extracted packet for processing {"connection_id":50460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119535240,"longitude_deg":75.6633984,"latitude_deg":11.953524,"altitude":65,"angle":145,"satellites":36,"speed":12,"hex_longitude":"2d195180","hex_latitude":"071ff688","is_valid_coordinates":true} 
[2026-04-22 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876329984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004332004769792,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248430387200,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776860666000,"timestamp_ms":1776860666000,"timestamp_seconds":1776860666,"priority":1,"record_length":96,"hex_timestamp":"0000019db5261890"} 
[2026-04-22 17:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:56:09] 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-22 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-22 17:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:56:09] 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-22 17:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876329984001,"66":13200,"106":206,"83":41984,"24":12,"16":114004332004769792,"45":1824028248430387200},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876329984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:56:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004332004769792,"km_value":114004332004769.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248430387200,"description":"Unknown IO ID 45"} 
[2026-04-22 17:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876329984001,"power":13200,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1824028248430387200}} 
[2026-04-22 17:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":50460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:56:09] local.INFO: GPS data processed {"connection_id":50460,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:56:09] local.INFO: Acknowledgment sent {"connection_id":50460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:56:14] local.INFO: TCP Data received {"connection_id":51413,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:56:14] local.INFO: Processing buffer {"connection_id":51413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:56:14] local.INFO: IMEI packet received {"connection_id":51413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":51413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:56:15] local.INFO: TCP Data received {"connection_id":51413,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:56:15] local.INFO: Processing buffer {"connection_id":51413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:56:15] local.INFO: IMEI packet received {"connection_id":51413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":51413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:56:20] local.INFO: TCP Data received {"connection_id":51413,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:56:20] local.INFO: Processing buffer {"connection_id":51413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:56:20] local.INFO: IMEI packet received {"connection_id":51413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":51413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:56:21] local.INFO: TCP Data received {"connection_id":51413,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52758e0012d7ba90005debe000007010916..."} 
[2026-04-22 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52758e0012d7ba90005debe000007010916..."} 
[2026-04-22 17:56:21] local.INFO: Processing buffer {"connection_id":51413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52758e0012d7ba90005debe000007010916..."} 
[2026-04-22 17:56:21] local.INFO: Packet analysis {"connection_id":51413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:56:21] local.INFO: Extracted packet for processing {"connection_id":51413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763078912,"raw_latitude":98483712,"longitude_deg":76.3078912,"latitude_deg":9.8483712,"altitude":7,"angle":265,"satellites":22,"speed":0,"hex_longitude":"2d7ba900","hex_latitude":"05debe00","is_valid_coordinates":true} 
[2026-04-22 17:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876346112001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74843533164412928,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910653362941073408,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776860748000,"timestamp_ms":1776860748000,"timestamp_seconds":1776860748,"priority":1,"record_length":96,"hex_timestamp":"0000019db52758e0"} 
[2026-04-22 17:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:56:21] 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-22 17:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 17:56:21] 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-22 17:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":51413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":51413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":51413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876346112001,"66":13559,"49":206,"85":15104,"24":0,"16":74843533164412928,"45":8910653362941073408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 17:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876346112001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:56:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 17:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74843533164412928,"km_value":74843533164412.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910653362941073408,"description":"Unknown IO ID 45"} 
[2026-04-22 17:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876346112001,"power":13559,"unknown_49":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8910653362941073408}} 
[2026-04-22 17:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":51413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:56:21] local.INFO: GPS data processed {"connection_id":51413,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:56:21] local.INFO: Acknowledgment sent {"connection_id":51413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:56:25] local.INFO: TCP Data received {"connection_id":50461,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:56:25] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:56:25] local.INFO: IMEI packet received {"connection_id":50461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":50461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:56:26] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:56:26] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:56:26] local.INFO: IMEI packet received {"connection_id":50860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":50860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:56:27] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:56:27] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:56:27] local.INFO: IMEI packet received {"connection_id":50860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":50860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:56:31] local.INFO: TCP Data received {"connection_id":50461,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:56:31] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:56:31] local.INFO: IMEI packet received {"connection_id":50461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":50461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:56:32] local.INFO: TCP Data received {"connection_id":50461,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:56:32] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:56:32] local.INFO: Packet analysis {"connection_id":50461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:56:32] local.INFO: Extracted packet for processing {"connection_id":50461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:32] 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-22 17:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17: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-22 17: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-22 17: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 17:56: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-22 17: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-22 17: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-22 17:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:56:32] 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-22 17:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 17:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":50461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:56:32] local.INFO: GPS data processed {"connection_id":50461,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:56:32] local.INFO: Acknowledgment sent {"connection_id":50461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:56:32] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:56:32] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:56:32] local.INFO: IMEI packet received {"connection_id":50860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:56:33] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5265328012d1954c0071ff358003f006223..."} 
[2026-04-22 17:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5265328012d1954c0071ff358003f006223..."} 
[2026-04-22 17:56:33] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5265328012d1954c0071ff358003f006223..."} 
[2026-04-22 17:56:33] local.INFO: Packet analysis {"connection_id":50860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:56:33] local.INFO: Extracted packet for processing {"connection_id":50860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756634816,"raw_latitude":119534424,"longitude_deg":75.6634816,"latitude_deg":11.9534424,"altitude":63,"angle":98,"satellites":35,"speed":7,"hex_longitude":"2d1954c0","hex_latitude":"071ff358","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876330496001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004392134311936,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092151138304,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56: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-22 17:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860681000,"timestamp_ms":1776860681000,"timestamp_seconds":1776860681,"priority":1,"record_length":96,"hex_timestamp":"0000019db5265328"} 
[2026-04-22 17: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-22 17:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-04-22 17:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:56:33] 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-22 17:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876330496001,"66":13080,"106":206,"83":41984,"24":7,"16":114004392134311936,"45":1824380092151138304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876330496001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:56:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004392134311936,"km_value":114004392134311.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092151138304,"description":"Unknown IO ID 45"} 
[2026-04-22 17:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876330496001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1824380092151138304}} 
[2026-04-22 17:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":50860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:56:33] local.INFO: GPS data processed {"connection_id":50860,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:56:33] local.INFO: Acknowledgment sent {"connection_id":50860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:56:50] local.INFO: TCP Data received {"connection_id":51414,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:56:50] local.INFO: Processing buffer {"connection_id":51414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 17:56:50] local.INFO: IMEI packet received {"connection_id":51414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 17:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":51414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:56:52] local.INFO: TCP Data received {"connection_id":51413,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5276498012d7ba98005debc70000800af17..."} 
[2026-04-22 17:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5276498012d7ba98005debc70000800af17..."} 
[2026-04-22 17:56:52] local.INFO: Processing buffer {"connection_id":51413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5276498012d7ba98005debc70000800af17..."} 
[2026-04-22 17:56:52] local.INFO: Packet analysis {"connection_id":51413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:56:52] local.INFO: Extracted packet for processing {"connection_id":51413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763079040,"raw_latitude":98483312,"longitude_deg":76.307904,"latitude_deg":9.8483312,"altitude":8,"angle":175,"satellites":23,"speed":4,"hex_longitude":"2d7ba980","hex_latitude":"05debc70","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876351488001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74843550344282112,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910653362941067264,"note":"Value kept but may cause issues"} 
[2026-04-22 17:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776860751000,"timestamp_ms":1776860751000,"timestamp_seconds":1776860751,"priority":1,"record_length":96,"hex_timestamp":"0000019db5276498"} 
[2026-04-22 17: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-22 17:56:52] 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-22 17: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":247,"data_length":795,"current_offset":136} 
[2026-04-22 17:56:52] 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-22 17: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-22 17: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-22 17:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":51413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":51413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":51413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876351488001,"66":13656,"49":206,"85":15104,"24":4,"16":74843550344282112,"45":8910653362941067264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 17:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876351488001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:56:52] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 17:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74843550344282112,"km_value":74843550344282.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910653362941067264,"description":"Unknown IO ID 45"} 
[2026-04-22 17:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876351488001,"power":13656,"unknown_49":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8910653362941067264}} 
[2026-04-22 17:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":51413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:56:52] local.INFO: GPS data processed {"connection_id":51413,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:56:52] local.INFO: Acknowledgment sent {"connection_id":51413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:57:03] local.INFO: TCP Data received {"connection_id":50461,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:57:03] local.INFO: Processing buffer {"connection_id":50461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:57:03] local.INFO: Packet analysis {"connection_id":50461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:57:03] local.INFO: Extracted packet for processing {"connection_id":50461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57: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-22 17:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:57: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-22 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 17:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:57:03] 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-22 17:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 17:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":50461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:57:03] local.INFO: GPS data processed {"connection_id":50461,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:57:03] local.INFO: Acknowledgment sent {"connection_id":50461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:57:04] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52662c8012d195840071ff268003f007225..."} 
[2026-04-22 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52662c8012d195840071ff268003f007225..."} 
[2026-04-22 17:57:04] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52662c8012d195840071ff268003f007225..."} 
[2026-04-22 17:57:04] local.INFO: Packet analysis {"connection_id":50860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:57:04] local.INFO: Extracted packet for processing {"connection_id":50860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756635712,"raw_latitude":119534184,"longitude_deg":75.6635712,"latitude_deg":11.9534184,"altitude":63,"angle":114,"satellites":37,"speed":11,"hex_longitude":"2d195840","hex_latitude":"071ff268","is_valid_coordinates":true} 
[2026-04-22 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876334336001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004435083984896,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825294885825239040,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57: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-22 17:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860685000,"timestamp_ms":1776860685000,"timestamp_seconds":1776860685,"priority":1,"record_length":96,"hex_timestamp":"0000019db52662c8"} 
[2026-04-22 17:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:57: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-22 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-22 17:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:57:04] 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-22 17:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876334336001,"66":13091,"106":206,"83":41984,"24":11,"16":114004435083984896,"45":1825294885825239040},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876334336001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004435083984896,"km_value":114004435083984.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825294885825239040,"description":"Unknown IO ID 45"} 
[2026-04-22 17:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876334336001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1825294885825239040}} 
[2026-04-22 17:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":50860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:57:04] local.INFO: GPS data processed {"connection_id":50860,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:57:04] local.INFO: Acknowledgment sent {"connection_id":50860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:57:10] local.INFO: TCP Data received {"connection_id":50462,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:57:10] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:57:10] local.INFO: IMEI packet received {"connection_id":50462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":50462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:57:14] local.INFO: TCP Data received {"connection_id":50462,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:57:14] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:57:14] local.INFO: IMEI packet received {"connection_id":50462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":50462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:57:15] local.INFO: TCP Data received {"connection_id":50462,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db527b6a0012d7ba98005deb9b8000800ae17..."} 
[2026-04-22 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db527b6a0012d7ba98005deb9b8000800ae17..."} 
[2026-04-22 17:57:15] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db527b6a0012d7ba98005deb9b8000800ae17..."} 
[2026-04-22 17:57:15] local.INFO: Packet analysis {"connection_id":50462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:57:15] local.INFO: Extracted packet for processing {"connection_id":50462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:57:15] local.INFO: GPS Element Parsed {"raw_longitude":763079040,"raw_latitude":98482616,"longitude_deg":76.307904,"latitude_deg":9.8482616,"altitude":8,"angle":174,"satellites":23,"speed":4,"hex_longitude":"2d7ba980","hex_latitude":"05deb9b8","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876352256001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74843584704020480,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910794100429320192,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776860772000,"timestamp_ms":1776860772000,"timestamp_seconds":1776860772,"priority":1,"record_length":96,"hex_timestamp":"0000019db527b6a0"} 
[2026-04-22 17: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-22 17:57: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-22 17: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 17:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876352256001,"66":13765,"49":206,"85":15104,"24":4,"16":74843584704020480,"45":8910794100429320192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 17:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876352256001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:57:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 17:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74843584704020480,"km_value":74843584704020.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910794100429320192,"description":"Unknown IO ID 45"} 
[2026-04-22 17:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876352256001,"power":13765,"unknown_49":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8910794100429320192}} 
[2026-04-22 17:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":50462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:57:15] local.INFO: GPS data processed {"connection_id":50462,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:57:15] local.INFO: Acknowledgment sent {"connection_id":50462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:57:27] local.INFO: TCP Data received {"connection_id":51415,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:57:27] local.INFO: Processing buffer {"connection_id":51415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:57:27] local.INFO: IMEI packet received {"connection_id":51415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":51415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:57:29] local.INFO: TCP Data received {"connection_id":51415,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:57:29] local.INFO: Processing buffer {"connection_id":51415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:57:29] local.INFO: IMEI packet received {"connection_id":51415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":51415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:57:31] local.INFO: TCP Data received {"connection_id":50726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:57:31] local.INFO: Processing buffer {"connection_id":50726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:57:31] local.INFO: IMEI packet received {"connection_id":50726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":50726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:57:32] local.INFO: TCP Data received {"connection_id":51415,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:57:32] local.INFO: Processing buffer {"connection_id":51415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:57:32] local.INFO: IMEI packet received {"connection_id":51415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":51415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:57:33] local.INFO: TCP Data received {"connection_id":51415,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db526b4d0012d196480071fed48003d007022..."} 
[2026-04-22 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db526b4d0012d196480071fed48003d007022..."} 
[2026-04-22 17:57:33] local.INFO: Processing buffer {"connection_id":51415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db526b4d0012d196480071fed48003d007022..."} 
[2026-04-22 17:57:33] local.INFO: Packet analysis {"connection_id":51415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:57:33] local.INFO: Extracted packet for processing {"connection_id":51415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db526"} 
[2026-04-22 17:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 17:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876335360001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826280048243664896,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57: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-22 17:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860706000,"timestamp_ms":1776860706000,"timestamp_seconds":1776860706,"priority":1,"record_length":96,"hex_timestamp":"0000019db526b4d0"} 
[2026-04-22 17:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 17:57:33] 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-22 17:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:57:33] 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-22 17:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876335360001,"66":13080,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1826280048243664896},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876335360001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:57:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826280048243664896,"description":"Unknown IO ID 45"} 
[2026-04-22 17:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876335360001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826280048243664896}} 
[2026-04-22 17:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":51415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:57:33] local.INFO: GPS data processed {"connection_id":51415,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:57:33] local.INFO: Acknowledgment sent {"connection_id":51415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:57:36] local.INFO: TCP Data received {"connection_id":50726,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:57:36] local.INFO: Processing buffer {"connection_id":50726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:57:36] local.INFO: IMEI packet received {"connection_id":50726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":50726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:57:37] local.INFO: TCP Data received {"connection_id":50726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:57:37] local.INFO: Processing buffer {"connection_id":50726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:57:37] local.INFO: Packet analysis {"connection_id":50726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:57:37] local.INFO: Extracted packet for processing {"connection_id":50726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:37] 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-22 17:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:57: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-22 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 17:57: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-22 17:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:57: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-22 17:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":50726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:57:37] local.INFO: GPS data processed {"connection_id":50726,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:57:37] local.INFO: Acknowledgment sent {"connection_id":50726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:57:41] local.INFO: TCP Data received {"connection_id":50726,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:57:41] local.INFO: Processing buffer {"connection_id":50726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:57:41] local.INFO: Packet analysis {"connection_id":50726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:57:41] local.INFO: Extracted packet for processing {"connection_id":50726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:41] 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-22 17:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 17:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 17:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 17:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:57:41] local.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-22 17:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:57:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":50726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:57:41] local.INFO: GPS data processed {"connection_id":50726,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:57:41] local.INFO: Acknowledgment sent {"connection_id":50726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:57:46] local.INFO: TCP Data received {"connection_id":50462,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52808a8012d7baa0005deb558000700a81a..."} 
[2026-04-22 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52808a8012d7baa0005deb558000700a81a..."} 
[2026-04-22 17:57:46] local.INFO: Processing buffer {"connection_id":50462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52808a8012d7baa0005deb558000700a81a..."} 
[2026-04-22 17:57:46] local.INFO: Packet analysis {"connection_id":50462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 17:57:46] local.INFO: Extracted packet for processing {"connection_id":50462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":763079168,"raw_latitude":98481496,"longitude_deg":76.3079168,"latitude_deg":9.8481496,"altitude":7,"angle":168,"satellites":26,"speed":0,"hex_longitude":"2d7baa00","hex_latitude":"05deb558","is_valid_coordinates":true} 
[2026-04-22 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876357632001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74843640538595328,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910794100429142016,"note":"Value kept but may cause issues"} 
[2026-04-22 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776860793000,"timestamp_ms":1776860793000,"timestamp_seconds":1776860793,"priority":1,"record_length":96,"hex_timestamp":"0000019db52808a8"} 
[2026-04-22 17:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:57: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-22 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 17:57:46] 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-22 17:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876357632001,"66":13450,"49":206,"85":15104,"24":0,"16":74843640538595328,"45":8910794100429142016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876357632001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:57:46] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 17:57:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74843640538595328,"km_value":74843640538595.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910794100429142016,"description":"Unknown IO ID 45"} 
[2026-04-22 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876357632001,"power":13450,"unknown_49":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8910794100429142016}} 
[2026-04-22 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":50462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:57:46] local.INFO: GPS data processed {"connection_id":50462,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:57:46] local.INFO: Acknowledgment sent {"connection_id":50462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:58:04] local.INFO: TCP Data received {"connection_id":51415,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52706d8012d196480071fed48003d007024..."} 
[2026-04-22 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52706d8012d196480071fed48003d007024..."} 
[2026-04-22 17:58:04] local.INFO: Processing buffer {"connection_id":51415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52706d8012d196480071fed48003d007024..."} 
[2026-04-22 17:58:04] local.INFO: Packet analysis {"connection_id":51415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:58:04] local.INFO: Extracted packet for processing {"connection_id":51415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 17:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876340736001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58: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-22 17:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860727000,"timestamp_ms":1776860727000,"timestamp_seconds":1776860727,"priority":1,"record_length":96,"hex_timestamp":"0000019db52706d8"} 
[2026-04-22 17:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-22 17:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:58:04] 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-22 17:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876340736001,"66":13015,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876340736001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 17:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876340736001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 17:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":51415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:58:04] local.INFO: GPS data processed {"connection_id":51415,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:58:04] local.INFO: Acknowledgment sent {"connection_id":51415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:58:10] local.INFO: TCP Data received {"connection_id":51416,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:58:10] local.INFO: Processing buffer {"connection_id":51416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:58:10] local.INFO: IMEI packet received {"connection_id":51416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":51416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:58:15] local.INFO: TCP Data received {"connection_id":51416,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:58:15] local.INFO: Processing buffer {"connection_id":51416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:58:15] local.INFO: IMEI packet received {"connection_id":51416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":51416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:58:16] local.INFO: TCP Data received {"connection_id":51416,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5285ab0012d7baa8005deb300000700aa1b..."} 
[2026-04-22 17:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5285ab0012d7baa8005deb300000700aa1b..."} 
[2026-04-22 17:58:16] local.INFO: Processing buffer {"connection_id":51416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5285ab0012d7baa8005deb300000700aa1b..."} 
[2026-04-22 17:58:16] local.INFO: Packet analysis {"connection_id":51416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 17:58:16] local.INFO: Extracted packet for processing {"connection_id":51416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763079296,"raw_latitude":98480896,"longitude_deg":76.3079296,"latitude_deg":9.8480896,"altitude":7,"angle":170,"satellites":27,"speed":0,"hex_longitude":"2d7baa80","hex_latitude":"05deb300","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876363008001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74843674898333696,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910934837917210624,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 17:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860814000,"timestamp_ms":1776860814000,"timestamp_seconds":1776860814,"priority":1,"record_length":96,"hex_timestamp":"0000019db5285ab0"} 
[2026-04-22 17: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-22 17:58:16] 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-22 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-22 17:58:16] 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-22 17: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-22 17: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-22 17:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876363008001,"66":13678,"49":206,"85":15104,"24":0,"16":74843674898333696,"45":8910934837917210624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 17:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876363008001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:58:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 17:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74843674898333696,"km_value":74843674898333.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910934837917210624,"description":"Unknown IO ID 45"} 
[2026-04-22 17:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876363008001,"power":13678,"unknown_49":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8910934837917210624}} 
[2026-04-22 17:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":51416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:58:16] local.INFO: GPS data processed {"connection_id":51416,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:58:16] local.INFO: Acknowledgment sent {"connection_id":51416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:58:25] local.INFO: TCP Data received {"connection_id":50463,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:58:25] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:58:25] local.INFO: IMEI packet received {"connection_id":50463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":50463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:58:27] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:58:27] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:58:27] local.INFO: IMEI packet received {"connection_id":50464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:58:31] local.INFO: TCP Data received {"connection_id":50463,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:58:31] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:58:31] local.INFO: IMEI packet received {"connection_id":50463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":50463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:58:32] local.INFO: TCP Data received {"connection_id":50463,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:58:32] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:58:32] local.INFO: Packet analysis {"connection_id":50463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:58:32] local.INFO: Extracted packet for processing {"connection_id":50463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:32] 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-22 17:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17: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-22 17: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-22 17: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 17:58: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-22 17: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-22 17: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-22 17:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17: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-22 17:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:58:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":50463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:58:32] local.INFO: GPS data processed {"connection_id":50463,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:58:32] local.INFO: Acknowledgment sent {"connection_id":50463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:58:32] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:58:32] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:58:32] local.INFO: IMEI packet received {"connection_id":50464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:58:33] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52758e0012d196480071fed48003d007021..."} 
[2026-04-22 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52758e0012d196480071fed48003d007021..."} 
[2026-04-22 17:58:33] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52758e0012d196480071fed48003d007021..."} 
[2026-04-22 17:58:33] local.INFO: Packet analysis {"connection_id":50464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:58:33] local.INFO: Extracted packet for processing {"connection_id":50464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876346112001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58: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-22 17:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860748000,"timestamp_ms":1776860748000,"timestamp_seconds":1776860748,"priority":1,"record_length":96,"hex_timestamp":"0000019db52758e0"} 
[2026-04-22 17:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 17:58:33] 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-22 17:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:58:33] 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-22 17:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876346112001,"66":13004,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876346112001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:58:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 17:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876346112001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 17:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:58:33] local.INFO: GPS data processed {"connection_id":50464,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:58:33] local.INFO: Acknowledgment sent {"connection_id":50464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:58:47] local.INFO: TCP Data received {"connection_id":51416,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db529e538012d7bb3c005de9c58000b009e1c..."} 
[2026-04-22 17:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db529e538012d7bb3c005de9c58000b009e1c..."} 
[2026-04-22 17:58:47] local.INFO: Processing buffer {"connection_id":51416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db529e538012d7bb3c005de9c58000b009e1c..."} 
[2026-04-22 17:58:47] local.INFO: Packet analysis {"connection_id":51416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 17:58:47] local.INFO: Extracted packet for processing {"connection_id":51416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 17:58:47] local.INFO: GPS Element Parsed {"raw_longitude":763081664,"raw_latitude":98475096,"longitude_deg":76.3081664,"latitude_deg":9.8475096,"altitude":11,"angle":158,"satellites":28,"speed":7,"hex_longitude":"2d7bb3c0","hex_latitude":"05de9c58","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876393984001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74843997020880896,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913608850194372608,"note":"Value kept but may cause issues"} 
[2026-04-22 17:58:47] 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-22 17:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776860915000,"timestamp_ms":1776860915000,"timestamp_seconds":1776860915,"priority":1,"record_length":96,"hex_timestamp":"0000019db529e538"} 
[2026-04-22 17: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-22 17:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 17:58: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-22 17: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-22 17: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-22 17:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876393984001,"66":13102,"50":206,"85":15104,"24":7,"16":74843997020880896,"45":8913608850194372608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 17:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876393984001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:58:47] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 17:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74843997020880896,"km_value":74843997020880.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913608850194372608,"description":"Unknown IO ID 45"} 
[2026-04-22 17:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876393984001,"power":13102,"unknown_50":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8913608850194372608}} 
[2026-04-22 17:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":51416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:58:47] local.INFO: GPS data processed {"connection_id":51416,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:58:47] local.INFO: Acknowledgment sent {"connection_id":51416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:59:03] local.INFO: TCP Data received {"connection_id":50463,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:59:03] local.INFO: Processing buffer {"connection_id":50463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:59:03] local.INFO: Packet analysis {"connection_id":50463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:59:03] local.INFO: Extracted packet for processing {"connection_id":50463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59: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-22 17:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:59: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-22 17:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 17:59: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-22 17:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:59: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-22 17:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 17:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":50463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:59:03] local.INFO: GPS data processed {"connection_id":50463,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:59:03] local.INFO: Acknowledgment sent {"connection_id":50463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:59:04] local.INFO: TCP Data received {"connection_id":50464,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db527aae8012d196480071fed48003d007023..."} 
[2026-04-22 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db527aae8012d196480071fed48003d007023..."} 
[2026-04-22 17:59:04] local.INFO: Processing buffer {"connection_id":50464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db527aae8012d196480071fed48003d007023..."} 
[2026-04-22 17:59:04] local.INFO: Packet analysis {"connection_id":50464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:59:04] local.INFO: Extracted packet for processing {"connection_id":50464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 17:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876351488001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59: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-22 17:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860769000,"timestamp_ms":1776860769000,"timestamp_seconds":1776860769,"priority":1,"record_length":96,"hex_timestamp":"0000019db527aae8"} 
[2026-04-22 17:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:59: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-22 17:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-22 17:59:04] 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-22 17:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:59:04] 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-22 17:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876351488001,"66":12961,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876351488001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 17:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876351488001,"power":12961,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 17:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":50464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:59:04] local.INFO: GPS data processed {"connection_id":50464,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:59:04] local.INFO: Acknowledgment sent {"connection_id":50464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:59:10] local.INFO: TCP Data received {"connection_id":50727,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:59:10] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:59:10] local.INFO: IMEI packet received {"connection_id":50727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 17:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":50727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:59:15] local.INFO: TCP Data received {"connection_id":50727,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:59:15] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 17:59:15] local.INFO: IMEI packet received {"connection_id":50727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 17:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":50727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:59:16] local.INFO: TCP Data received {"connection_id":50727,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db529f8c0012d7bb68005de98a8000b00911c..."} 
[2026-04-22 17:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db529f8c0012d7bb68005de98a8000b00911c..."} 
[2026-04-22 17:59:16] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db529f8c0012d7bb68005de98a8000b00911c..."} 
[2026-04-22 17:59:16] local.INFO: Packet analysis {"connection_id":50727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 17:59:16] local.INFO: Extracted packet for processing {"connection_id":50727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 17:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763082368,"raw_latitude":98474152,"longitude_deg":76.3082368,"latitude_deg":9.8474152,"altitude":11,"angle":145,"satellites":28,"speed":8,"hex_longitude":"2d7bb680","hex_latitude":"05de98a8","is_valid_coordinates":true} 
[2026-04-22 17:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876394240001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74844052855455744,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913679218938501120,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:16] 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-22 17:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860920000,"timestamp_ms":1776860920000,"timestamp_seconds":1776860920,"priority":1,"record_length":96,"hex_timestamp":"0000019db529f8c0"} 
[2026-04-22 17:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-22 17:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876394240001,"66":13798,"50":206,"85":15104,"24":8,"16":74844052855455744,"45":8913679218938501120},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 17:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876394240001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:59:16] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 17:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74844052855455744,"km_value":74844052855455.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913679218938501120,"description":"Unknown IO ID 45"} 
[2026-04-22 17:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876394240001,"power":13798,"unknown_50":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8913679218938501120}} 
[2026-04-22 17:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":50727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:59:16] local.INFO: GPS data processed {"connection_id":50727,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:59:16] local.INFO: Acknowledgment sent {"connection_id":50727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:59:25] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:59:25] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:59:25] local.INFO: IMEI packet received {"connection_id":50862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 17:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":50862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:59:27] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:59:27] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:59:27] local.INFO: IMEI packet received {"connection_id":50863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 17:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":50863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 17:59:30] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:59:30] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 17:59:30] local.INFO: IMEI packet received {"connection_id":50862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 17:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":50862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:59:32] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:59:32] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 17:59:32] local.INFO: IMEI packet received {"connection_id":50863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 17:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 17:59:32] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:59:32] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db525ca70012d7fa74005afda30000d013a2e..."} 
[2026-04-22 17:59:32] local.INFO: Packet analysis {"connection_id":50862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:59:32] local.INFO: Extracted packet for processing {"connection_id":50862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db525"} 
[2026-04-22 17:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876248320001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:32] 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-22 17:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776860646000,"timestamp_ms":1776860646000,"timestamp_seconds":1776860646,"priority":1,"record_length":96,"hex_timestamp":"0000019db525ca70"} 
[2026-04-22 17: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-22 17: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-22 17: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 17:59: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-22 17: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-22 17: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-22 17:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 17:59: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-22 17:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 17:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 17:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876248320001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 17:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 17:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 17:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876248320001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 17:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 17:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 17:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876248320001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 17:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":50862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:59:32] local.INFO: GPS data processed {"connection_id":50862,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:59:32] local.INFO: Acknowledgment sent {"connection_id":50862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:59:33] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db527fcf0012d196480071fed48003d007021..."} 
[2026-04-22 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db527fcf0012d196480071fed48003d007021..."} 
[2026-04-22 17:59:33] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db527fcf0012d196480071fed48003d007021..."} 
[2026-04-22 17:59:33] local.INFO: Packet analysis {"connection_id":50863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:59:33] local.INFO: Extracted packet for processing {"connection_id":50863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db527"} 
[2026-04-22 17:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 17:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876356864001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59: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-22 17:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860790000,"timestamp_ms":1776860790000,"timestamp_seconds":1776860790,"priority":1,"record_length":96,"hex_timestamp":"0000019db527fcf0"} 
[2026-04-22 17:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 17:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-04-22 17:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 17:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 17:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 17:59:33] 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-22 17:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 17:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 17:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876356864001,"66":12950,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 17:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 17:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 17:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876356864001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:59:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 17:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 17:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 17:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876356864001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 17:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":50863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:59:33] local.INFO: GPS data processed {"connection_id":50863,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:59:33] local.INFO: Acknowledgment sent {"connection_id":50863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 17:59:47] local.INFO: TCP Data received {"connection_id":50727,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a0860012d7bb8c005de9490000b009d1c..."} 
[2026-04-22 17:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a0860012d7bb8c005de9490000b009d1c..."} 
[2026-04-22 17:59:47] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a0860012d7bb8c005de9490000b009d1c..."} 
[2026-04-22 17:59:47] local.INFO: Packet analysis {"connection_id":50727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 17:59:47] local.INFO: Extracted packet for processing {"connection_id":50727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 17:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763082944,"raw_latitude":98473104,"longitude_deg":76.3082944,"latitude_deg":9.8473104,"altitude":11,"angle":157,"satellites":28,"speed":13,"hex_longitude":"2d7bb8c0","hex_latitude":"05de9490","is_valid_coordinates":true} 
[2026-04-22 17: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-22 17:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876395520001,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74844108690030592,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914453275124213760,"note":"Value kept but may cause issues"} 
[2026-04-22 17:59:47] 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-22 17:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776860924000,"timestamp_ms":1776860924000,"timestamp_seconds":1776860924,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a0860"} 
[2026-04-22 17: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-22 17:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 17:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 17:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 17: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-22 17: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-22 17:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 17:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 17:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 17:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 17:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 17:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 17:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876395520001,"66":13472,"50":206,"85":15104,"24":13,"16":74844108690030592,"45":8914453275124213760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 17:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 17:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 17:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876395520001,"description":"Unknown IO ID 0"} 
[2026-04-22 17:59:47] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 17:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 17:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74844108690030592,"km_value":74844108690030.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 17:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914453275124213760,"description":"Unknown IO ID 45"} 
[2026-04-22 17:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876395520001,"power":13472,"unknown_50":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8914453275124213760}} 
[2026-04-22 17:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":50727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 17:59:47] local.INFO: GPS data processed {"connection_id":50727,"processed":1,"errors":0,"total":1} 
[2026-04-22 17:59:47] local.INFO: Acknowledgment sent {"connection_id":50727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:00:04] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:00:04] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:00:04] local.INFO: Packet analysis {"connection_id":50862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:00:04] local.INFO: Extracted packet for processing {"connection_id":50862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00: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-22 18:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18: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-22 18:00: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-22 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 18: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-22 18: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-22 18:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:00: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-22 18:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":50862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:00:04] local.INFO: GPS data processed {"connection_id":50862,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:00:04] local.INFO: Acknowledgment sent {"connection_id":50862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:00:04] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5284ef8012d196480071fed48003d007023..."} 
[2026-04-22 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5284ef8012d196480071fed48003d007023..."} 
[2026-04-22 18:00:04] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5284ef8012d196480071fed48003d007023..."} 
[2026-04-22 18:00:04] local.INFO: Packet analysis {"connection_id":50863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 18:00:04] local.INFO: Extracted packet for processing {"connection_id":50863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876362240001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00: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-22 18:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860811000,"timestamp_ms":1776860811000,"timestamp_seconds":1776860811,"priority":1,"record_length":96,"hex_timestamp":"0000019db5284ef8"} 
[2026-04-22 18: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-22 18:00: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-22 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-22 18:00:04] 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-22 18: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-22 18: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-22 18:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:00:04] 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-22 18:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876362240001,"66":12885,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876362240001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:00:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876362240001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":50863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:00:04] local.INFO: GPS data processed {"connection_id":50863,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:00:04] local.INFO: Acknowledgment sent {"connection_id":50863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:00:14] local.INFO: TCP Data received {"connection_id":51419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:14] local.INFO: Processing buffer {"connection_id":51419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:14] local.INFO: IMEI packet received {"connection_id":51419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":51419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:00:20] local.INFO: TCP Data received {"connection_id":51419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:20] local.INFO: Processing buffer {"connection_id":51419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:20] local.INFO: IMEI packet received {"connection_id":51419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":51419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:00:21] local.INFO: TCP Data received {"connection_id":51419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:21] local.INFO: Processing buffer {"connection_id":51419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:21] local.INFO: IMEI packet received {"connection_id":51419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":51419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:00:25] local.INFO: TCP Data received {"connection_id":51419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:25] local.INFO: Processing buffer {"connection_id":51419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:00:25] local.INFO: IMEI packet received {"connection_id":51419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":51419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:00:25] local.INFO: TCP Data received {"connection_id":50728,"ip":"42.106.6.186","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:00:25] local.INFO: Processing buffer {"connection_id":50728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:00:25] local.INFO: IMEI packet received {"connection_id":50728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":50728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:00:26] local.INFO: TCP Data received {"connection_id":51419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a1fd0012d7bba4005de8e18000c00a91c..."} 
[2026-04-22 18:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a1fd0012d7bba4005de8e18000c00a91c..."} 
[2026-04-22 18:00:26] local.INFO: Processing buffer {"connection_id":51419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a1fd0012d7bba4005de8e18000c00a91c..."} 
[2026-04-22 18:00:26] local.INFO: Packet analysis {"connection_id":51419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:00:26] local.INFO: Extracted packet for processing {"connection_id":51419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763083328,"raw_latitude":98471448,"longitude_deg":76.3083328,"latitude_deg":9.8471448,"altitude":12,"angle":169,"satellites":28,"speed":8,"hex_longitude":"2d7bba40","hex_latitude":"05de8e18","is_valid_coordinates":true} 
[2026-04-22 18:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876396544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74844194589376512,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915086593821544448,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:26] 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-22 18:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776860930000,"timestamp_ms":1776860930000,"timestamp_seconds":1776860930,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a1fd0"} 
[2026-04-22 18:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:00:26] 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-22 18:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 18:00:26] 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-22 18:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":51419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":51419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":51419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876396544001,"66":13830,"50":206,"85":15104,"24":8,"16":74844194589376512,"45":8915086593821544448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876396544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:00:26] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74844194589376512,"km_value":74844194589376.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915086593821544448,"description":"Unknown IO ID 45"} 
[2026-04-22 18:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876396544001,"power":13830,"unknown_50":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8915086593821544448}} 
[2026-04-22 18:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":51419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:00:26] local.INFO: GPS data processed {"connection_id":51419,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:00:26] local.INFO: Acknowledgment sent {"connection_id":51419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:00:27] local.INFO: TCP Data received {"connection_id":51420,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:00:27] local.INFO: Processing buffer {"connection_id":51420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:00:27] local.INFO: IMEI packet received {"connection_id":51420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":51420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:00:28] local.INFO: TCP Data received {"connection_id":51419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a5298012d7bbb4005de8150000b00b51c..."} 
[2026-04-22 18:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a5298012d7bbb4005de8150000b00b51c..."} 
[2026-04-22 18:00:28] local.INFO: Processing buffer {"connection_id":51419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a5298012d7bbb4005de8150000b00b51c..."} 
[2026-04-22 18:00:28] local.INFO: Packet analysis {"connection_id":51419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:00:28] local.INFO: Extracted packet for processing {"connection_id":51419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763083584,"raw_latitude":98468176,"longitude_deg":76.3083584,"latitude_deg":9.8468176,"altitude":11,"angle":181,"satellites":28,"speed":9,"hex_longitude":"2d7bbb40","hex_latitude":"05de8150","is_valid_coordinates":true} 
[2026-04-22 18:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876398080001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74844353503166464,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915508806286186496,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] 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-22 18:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776860943000,"timestamp_ms":1776860943000,"timestamp_seconds":1776860943,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a5298"} 
[2026-04-22 18:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:00: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-22 18:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630452819456,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2635595787,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805072078,"corrected_to":0} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3861512192,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3735033856,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3459095998033298910,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] local.WARNING: Large IO value detected {"io_id":164,"raw_value":576472849500012548,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,50,85,24,241,157,16,230,8,45,192,148,11,28,10,66,248,128,152,229,1,240,46,227,181,222,4,113,205,7,186,177,239,2,9,5,22,164],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2805072078,"validated":0}]} 
[2026-04-22 18:00:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864877066179837952,"timestamp_seconds":864877066179838.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":51419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":51419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":51419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876398080001,"66":13722,"50":206,"85":15104,"24":9,"16":74844353503166464,"45":8915508806286186496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876398080001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:00:28] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74844353503166464,"km_value":74844353503166.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915508806286186496,"description":"Unknown IO ID 45"} 
[2026-04-22 18:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876398080001,"power":13722,"unknown_50":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8915508806286186496}} 
[2026-04-22 18:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":51419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:00:28] local.INFO: GPS data processed {"connection_id":51419,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:00:28] local.INFO: Acknowledgment sent {"connection_id":51419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:00:31] local.INFO: TCP Data received {"connection_id":50728,"ip":"42.106.6.186","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:00:31] local.INFO: Processing buffer {"connection_id":50728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:00:31] local.INFO: IMEI packet received {"connection_id":50728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":50728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:00:31] local.INFO: TCP Data received {"connection_id":50728,"ip":"42.106.6.186","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:00:31] local.INFO: Processing buffer {"connection_id":50728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:00:31] local.INFO: Packet analysis {"connection_id":50728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:00:31] local.INFO: Extracted packet for processing {"connection_id":50728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:31] 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-22 18:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18: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-22 18:00: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-22 18: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:00: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-22 18: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-22 18: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-22 18:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.186","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":50728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:00:31] local.INFO: GPS data processed {"connection_id":50728,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:00:31] local.INFO: Acknowledgment sent {"connection_id":50728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:00:32] local.INFO: TCP Data received {"connection_id":51420,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:00:32] local.INFO: Processing buffer {"connection_id":51420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:00:32] local.INFO: IMEI packet received {"connection_id":51420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":51420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:00:33] local.INFO: TCP Data received {"connection_id":51420,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db528a100012d196480071fed48003d00701f..."} 
[2026-04-22 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db528a100012d196480071fed48003d00701f..."} 
[2026-04-22 18:00:33] local.INFO: Processing buffer {"connection_id":51420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db528a100012d196480071fed48003d00701f..."} 
[2026-04-22 18:00:33] local.INFO: Packet analysis {"connection_id":51420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 18:00:33] local.INFO: Extracted packet for processing {"connection_id":51420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 18:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":31,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876367616001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:00: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-22 18:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860832000,"timestamp_ms":1776860832000,"timestamp_seconds":1776860832,"priority":1,"record_length":96,"hex_timestamp":"0000019db528a100"} 
[2026-04-22 18:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 18:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:00:33] 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-22 18:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876367616001,"66":12917,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876367616001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:00:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876367616001,"power":12917,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":51420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:00:33] local.INFO: GPS data processed {"connection_id":51420,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:00:33] local.INFO: Acknowledgment sent {"connection_id":51420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:01:03] local.INFO: TCP Data received {"connection_id":50728,"ip":"42.106.6.186","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:01:03] local.INFO: Processing buffer {"connection_id":50728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:01:03] local.INFO: Packet analysis {"connection_id":50728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:03] local.INFO: Extracted packet for processing {"connection_id":50728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01: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-22 18:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:01: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-22 18:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:01: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-22 18:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.186","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":50728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:01:03] local.INFO: GPS data processed {"connection_id":50728,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:01:03] local.INFO: Acknowledgment sent {"connection_id":50728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:01:04] local.INFO: TCP Data received {"connection_id":51420,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db528f308012d196480071fed48003d007024..."} 
[2026-04-22 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db528f308012d196480071fed48003d007024..."} 
[2026-04-22 18:01:04] local.INFO: Processing buffer {"connection_id":51420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db528f308012d196480071fed48003d007024..."} 
[2026-04-22 18:01:04] local.INFO: Packet analysis {"connection_id":51420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 18:01:04] local.INFO: Extracted packet for processing {"connection_id":51420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db528"} 
[2026-04-22 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876372992001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01: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-22 18:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860853000,"timestamp_ms":1776860853000,"timestamp_seconds":1776860853,"priority":1,"record_length":96,"hex_timestamp":"0000019db528f308"} 
[2026-04-22 18: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-22 18:01: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-22 18: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-22 18:01:04] 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-22 18: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-22 18: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-22 18:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:01:04] 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-22 18:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876372992001,"66":12885,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876372992001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876372992001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":51420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:01:05] local.INFO: GPS data processed {"connection_id":51420,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:01:05] local.INFO: Acknowledgment sent {"connection_id":51420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:01:10] local.INFO: TCP Data received {"connection_id":50865,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:01:10] local.INFO: Processing buffer {"connection_id":50865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:01:10] local.INFO: IMEI packet received {"connection_id":50865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":50865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:01:15] local.INFO: TCP Data received {"connection_id":50865,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:01:15] local.INFO: Processing buffer {"connection_id":50865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:01:15] local.INFO: IMEI packet received {"connection_id":50865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":50865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:01:16] local.INFO: TCP Data received {"connection_id":50865,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52aa4a0012d7bbb8005de6fa0000c00af1b..."} 
[2026-04-22 18:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52aa4a0012d7bbb8005de6fa0000c00af1b..."} 
[2026-04-22 18:01:16] local.INFO: Processing buffer {"connection_id":50865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52aa4a0012d7bbb8005de6fa0000c00af1b..."} 
[2026-04-22 18:01:16] local.INFO: Packet analysis {"connection_id":50865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:16] local.INFO: Extracted packet for processing {"connection_id":50865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:16] local.INFO: GPS Element Parsed {"raw_longitude":763083648,"raw_latitude":98463648,"longitude_deg":76.3083648,"latitude_deg":9.8463648,"altitude":12,"angle":175,"satellites":27,"speed":5,"hex_longitude":"2d7bbb80","hex_latitude":"05de6fa0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876401408001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74844572546498560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915790281262059520,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:16] 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-22 18:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860964000,"timestamp_ms":1776860964000,"timestamp_seconds":1776860964,"priority":1,"record_length":96,"hex_timestamp":"0000019db52aa4a0"} 
[2026-04-22 18: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-22 18:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 18:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876401408001,"66":13678,"50":206,"85":15104,"24":5,"16":74844572546498560,"45":8915790281262059520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876401408001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:01:16] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:01:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74844572546498560,"km_value":74844572546498.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915790281262059520,"description":"Unknown IO ID 45"} 
[2026-04-22 18:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876401408001,"power":13678,"unknown_50":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8915790281262059520}} 
[2026-04-22 18:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":50865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:01:16] local.INFO: GPS data processed {"connection_id":50865,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:01:16] local.INFO: Acknowledgment sent {"connection_id":50865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:01:27] local.INFO: TCP Data received {"connection_id":50466,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:01:27] local.INFO: Processing buffer {"connection_id":50466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:01:27] local.INFO: IMEI packet received {"connection_id":50466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":50466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:01:31] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:01:31] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:01:31] local.INFO: IMEI packet received {"connection_id":50465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:01:32] local.INFO: TCP Data received {"connection_id":50466,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:01:32] local.INFO: Processing buffer {"connection_id":50466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:01:32] local.INFO: IMEI packet received {"connection_id":50466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":50466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:01:33] local.INFO: TCP Data received {"connection_id":50466,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5294510012d196480071fed48003d007023..."} 
[2026-04-22 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5294510012d196480071fed48003d007023..."} 
[2026-04-22 18:01:33] local.INFO: Processing buffer {"connection_id":50466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5294510012d196480071fed48003d007023..."} 
[2026-04-22 18:01:33] local.INFO: Packet analysis {"connection_id":50466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 18:01:33] local.INFO: Extracted packet for processing {"connection_id":50466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 18:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876378368001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01: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-22 18:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860874000,"timestamp_ms":1776860874000,"timestamp_seconds":1776860874,"priority":1,"record_length":96,"hex_timestamp":"0000019db5294510"} 
[2026-04-22 18: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-22 18:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 18:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:01:33] 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-22 18:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876378368001,"66":12863,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876378368001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:01:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876378368001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":50466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:01:33] local.INFO: GPS data processed {"connection_id":50466,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:01:33] local.INFO: Acknowledgment sent {"connection_id":50466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:01:36] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:01:36] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:01:36] local.INFO: IMEI packet received {"connection_id":50465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":50465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:01:36] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:01:36] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:01:36] local.INFO: Packet analysis {"connection_id":50465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:36] local.INFO: Extracted packet for processing {"connection_id":50465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01: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-22 18:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18: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-22 18:01: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-22 18: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":50465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:01:37] local.INFO: GPS data processed {"connection_id":50465,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:01:37] local.INFO: Acknowledgment sent {"connection_id":50465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:01:41] local.INFO: TCP Data received {"connection_id":50465,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:01:41] local.INFO: Processing buffer {"connection_id":50465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:01:41] local.INFO: Packet analysis {"connection_id":50465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:41] local.INFO: Extracted packet for processing {"connection_id":50465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:41] 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-22 18:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 18:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:01:41] local.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-22 18:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":50465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:01:41] local.INFO: GPS data processed {"connection_id":50465,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:01:41] local.INFO: Acknowledgment sent {"connection_id":50465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:01:47] local.INFO: TCP Data received {"connection_id":50865,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52af6a8012d7bbbc005de64e8000b00b31a..."} 
[2026-04-22 18:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52af6a8012d7bbbc005de64e8000b00b31a..."} 
[2026-04-22 18:01:47] local.INFO: Processing buffer {"connection_id":50865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52af6a8012d7bbbc005de64e8000b00b31a..."} 
[2026-04-22 18:01:47] local.INFO: Packet analysis {"connection_id":50865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:47] local.INFO: Extracted packet for processing {"connection_id":50865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98460904,"longitude_deg":76.3083712,"latitude_deg":9.8460904,"altitude":11,"angle":179,"satellites":26,"speed":0,"hex_longitude":"2d7bbbc0","hex_latitude":"05de64e8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876406784001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74844705690484736,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915860650005078016,"note":"Value kept but may cause issues"} 
[2026-04-22 18:01:47] 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-22 18:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776860985000,"timestamp_ms":1776860985000,"timestamp_seconds":1776860985,"priority":1,"record_length":96,"hex_timestamp":"0000019db52af6a8"} 
[2026-04-22 18: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-22 18:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 18:01: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-22 18: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-22 18: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-22 18:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876406784001,"66":13656,"50":206,"85":15104,"24":0,"16":74844705690484736,"45":8915860650005078016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876406784001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:01:47] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74844705690484736,"km_value":74844705690484.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915860650005078016,"description":"Unknown IO ID 45"} 
[2026-04-22 18:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876406784001,"power":13656,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8915860650005078016}} 
[2026-04-22 18:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":50865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:01:47] local.INFO: GPS data processed {"connection_id":50865,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:01:47] local.INFO: Acknowledgment sent {"connection_id":50865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:02:04] local.INFO: TCP Data received {"connection_id":50466,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5299718012d196480071fed48003d007021..."} 
[2026-04-22 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5299718012d196480071fed48003d007021..."} 
[2026-04-22 18:02:04] local.INFO: Processing buffer {"connection_id":50466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5299718012d196480071fed48003d007021..."} 
[2026-04-22 18:02:04] local.INFO: Packet analysis {"connection_id":50466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 18:02:04] local.INFO: Extracted packet for processing {"connection_id":50466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876383744001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02: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-22 18:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860895000,"timestamp_ms":1776860895000,"timestamp_seconds":1776860895,"priority":1,"record_length":96,"hex_timestamp":"0000019db5299718"} 
[2026-04-22 18:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-22 18:02:04] 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-22 18:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:02:04] 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-22 18:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876383744001,"66":12841,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876383744001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:02:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876383744001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":50466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:02:04] local.INFO: GPS data processed {"connection_id":50466,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:02:04] local.INFO: Acknowledgment sent {"connection_id":50466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:02:10] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:02:10] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:02:10] local.INFO: IMEI packet received {"connection_id":50866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":50866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:02:15] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:02:15] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:02:15] local.INFO: IMEI packet received {"connection_id":50866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":50866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:02:15] local.INFO: TCP Data received {"connection_id":50729,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:02:15] local.INFO: Processing buffer {"connection_id":50729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:02:15] local.INFO: IMEI packet received {"connection_id":50729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":50729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:02:16] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52b2588012d7bbbc005de6400000b00bf1a..."} 
[2026-04-22 18:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52b2588012d7bbbc005de6400000b00bf1a..."} 
[2026-04-22 18:02:16] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52b2588012d7bbbc005de6400000b00bf1a..."} 
[2026-04-22 18:02:16] local.INFO: Packet analysis {"connection_id":50866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:02:16] local.INFO: Extracted packet for processing {"connection_id":50866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98460672,"longitude_deg":76.3083712,"latitude_deg":9.8460672,"altitude":11,"angle":191,"satellites":26,"speed":1,"hex_longitude":"2d7bbbc0","hex_latitude":"05de6400","is_valid_coordinates":true} 
[2026-04-22 18:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876412160001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74844718575386624,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018748553216,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:16] 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-22 18:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776860997000,"timestamp_ms":1776860997000,"timestamp_seconds":1776860997,"priority":1,"record_length":96,"hex_timestamp":"0000019db52b2588"} 
[2026-04-22 18:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:02:16] 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-22 18:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876412160001,"66":13222,"50":206,"85":15104,"24":1,"16":74844718575386624,"45":8915931018748553216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876412160001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:02:16] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74844718575386624,"km_value":74844718575386.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018748553216,"description":"Unknown IO ID 45"} 
[2026-04-22 18:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876412160001,"power":13222,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8915931018748553216}} 
[2026-04-22 18:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":50866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:02:16] local.INFO: GPS data processed {"connection_id":50866,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:02:16] local.INFO: Acknowledgment sent {"connection_id":50866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:02:26] local.INFO: TCP Data received {"connection_id":50730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:02:26] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:02:26] local.INFO: IMEI packet received {"connection_id":50730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":50730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:02:27] local.INFO: TCP Data received {"connection_id":50731,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:02:27] local.INFO: Processing buffer {"connection_id":50731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:02:27] local.INFO: IMEI packet received {"connection_id":50731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:02:31] local.INFO: TCP Data received {"connection_id":50730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:02:31] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:02:31] local.INFO: IMEI packet received {"connection_id":50730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":50730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:02:31] local.INFO: TCP Data received {"connection_id":50730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:02:31] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:02:31] local.INFO: Packet analysis {"connection_id":50730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:02:31] local.INFO: Extracted packet for processing {"connection_id":50730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:31] 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-22 18:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18: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-22 18:02: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-22 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:02: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-22 18: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-22 18: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-22 18:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":50730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:02:31] local.INFO: GPS data processed {"connection_id":50730,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:02:31] local.INFO: Acknowledgment sent {"connection_id":50730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:02:32] local.INFO: TCP Data received {"connection_id":50731,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:02:32] local.INFO: Processing buffer {"connection_id":50731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:02:32] local.INFO: IMEI packet received {"connection_id":50731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:02:33] local.INFO: TCP Data received {"connection_id":50731,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db529e920012d196480071fed48003d007020..."} 
[2026-04-22 18:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db529e920012d196480071fed48003d007020..."} 
[2026-04-22 18:02:33] local.INFO: Processing buffer {"connection_id":50731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db529e920012d196480071fed48003d007020..."} 
[2026-04-22 18:02:33] local.INFO: Packet analysis {"connection_id":50731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 18:02:33] local.INFO: Extracted packet for processing {"connection_id":50731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db529"} 
[2026-04-22 18:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876389120001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02: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-22 18:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776860916000,"timestamp_ms":1776860916000,"timestamp_seconds":1776860916,"priority":1,"record_length":96,"hex_timestamp":"0000019db529e920"} 
[2026-04-22 18:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-22 18:02:33] 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-22 18:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:02:33] 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-22 18:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876389120001,"66":12819,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876389120001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:02:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876389120001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:02:33] local.INFO: GPS data processed {"connection_id":50731,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:02:33] local.INFO: Acknowledgment sent {"connection_id":50731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:02:47] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52b6020012d7bbb8005de6230000b00b31d..."} 
[2026-04-22 18:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52b6020012d7bbb8005de6230000b00b31d..."} 
[2026-04-22 18:02:47] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52b6020012d7bbb8005de6230000b00b31d..."} 
[2026-04-22 18:02:47] local.INFO: Packet analysis {"connection_id":50866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:02:47] local.INFO: Extracted packet for processing {"connection_id":50866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763083648,"raw_latitude":98460208,"longitude_deg":76.3083648,"latitude_deg":9.8460208,"altitude":11,"angle":179,"satellites":29,"speed":6,"hex_longitude":"2d7bbb80","hex_latitude":"05de6230","is_valid_coordinates":true} 
[2026-04-22 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876415232001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74844744345190400,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018748493824,"note":"Value kept but may cause issues"} 
[2026-04-22 18:02:47] 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-22 18:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776861012000,"timestamp_ms":1776861012000,"timestamp_seconds":1776861012,"priority":1,"record_length":96,"hex_timestamp":"0000019db52b6020"} 
[2026-04-22 18:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-22 18:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876415232001,"66":13646,"50":206,"85":15104,"24":6,"16":74844744345190400,"45":8915931018748493824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876415232001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:02:47] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74844744345190400,"km_value":74844744345190.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018748493824,"description":"Unknown IO ID 45"} 
[2026-04-22 18:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876415232001,"power":13646,"unknown_50":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8915931018748493824}} 
[2026-04-22 18:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":50866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:02:47] local.INFO: GPS data processed {"connection_id":50866,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:02:47] local.INFO: Acknowledgment sent {"connection_id":50866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:02:50] local.INFO: TCP Data received {"connection_id":50467,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:02:50] local.INFO: Processing buffer {"connection_id":50467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:02:50] local.INFO: IMEI packet received {"connection_id":50467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":50467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:03:03] local.INFO: TCP Data received {"connection_id":50730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:03:03] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:03:03] local.INFO: Packet analysis {"connection_id":50730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:03] local.INFO: Extracted packet for processing {"connection_id":50730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03: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-22 18:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18: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-22 18:03: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-22 18:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:03: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-22 18: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-22 18: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-22 18:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":50730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:03:03] local.INFO: GPS data processed {"connection_id":50730,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:03:03] local.INFO: Acknowledgment sent {"connection_id":50730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:03:04] local.INFO: TCP Data received {"connection_id":50731,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a3b28012d196480071fed48003d007020..."} 
[2026-04-22 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a3b28012d196480071fed48003d007020..."} 
[2026-04-22 18:03:04] local.INFO: Processing buffer {"connection_id":50731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a3b28012d196480071fed48003d007020..."} 
[2026-04-22 18:03:04] local.INFO: Packet analysis {"connection_id":50731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:04] local.INFO: Extracted packet for processing {"connection_id":50731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876394496001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03: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-22 18:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776860937000,"timestamp_ms":1776860937000,"timestamp_seconds":1776860937,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a3b28"} 
[2026-04-22 18:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3039296752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195053312,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505339199488000,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2858352005269251200,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3980918845,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":72,"raw_value":17170455169335296,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111091696045,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300574150516830243,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84751887425282029,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,6,151,45,128,237,61,33,10,66,69,35,243,1,240,85,227,181,31,4,113,205,78,100,72,239,50,2,149,7,164,148,224],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0}]} 
[2026-04-22 18:03:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395636519054868480,"timestamp_seconds":4395636519054868.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:03:04] 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-22 18:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876394496001,"66":12798,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876394496001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876394496001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:03:04] local.INFO: GPS data processed {"connection_id":50731,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:03:04] local.INFO: Acknowledgment sent {"connection_id":50731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:03:07] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:03:07] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:03:07] local.INFO: IMEI packet received {"connection_id":50468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":50468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:03:10] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:03:10] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:03:10] local.INFO: IMEI packet received {"connection_id":50468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":50468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:03:15] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:03:15] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:03:15] local.INFO: IMEI packet received {"connection_id":50468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":50468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:03:16] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52d63c0012d7bc54005de29e8000d00a31b..."} 
[2026-04-22 18:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52d63c0012d7bc54005de29e8000d00a31b..."} 
[2026-04-22 18:03:16] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52d63c0012d7bc54005de29e8000d00a31b..."} 
[2026-04-22 18:03:16] local.INFO: Packet analysis {"connection_id":50468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52d"} 
[2026-04-22 18:03:16] local.INFO: Extracted packet for processing {"connection_id":50468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52d"} 
[2026-04-22 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763086144,"raw_latitude":98445800,"longitude_deg":76.3086144,"latitude_deg":9.84458,"altitude":13,"angle":163,"satellites":27,"speed":9,"hex_longitude":"2d7bc540","hex_latitude":"05de29e8","is_valid_coordinates":true} 
[2026-04-22 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-22 18:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876447488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74845470194663424,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917971712326346752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:16] 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-22 18:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776861144000,"timestamp_ms":1776861144000,"timestamp_seconds":1776861144,"priority":1,"record_length":96,"hex_timestamp":"0000019db52d63c0"} 
[2026-04-22 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-22 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-22 18:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 18:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876447488001,"66":13646,"50":206,"85":15104,"24":9,"16":74845470194663424,"45":8917971712326346752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876447488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:03:16] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74845470194663424,"km_value":74845470194663.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917971712326346752,"description":"Unknown IO ID 45"} 
[2026-04-22 18:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876447488001,"power":13646,"unknown_50":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8917971712326346752}} 
[2026-04-22 18:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":50468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:03:16] local.INFO: GPS data processed {"connection_id":50468,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:03:16] local.INFO: Acknowledgment sent {"connection_id":50468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:03:25] local.INFO: TCP Data received {"connection_id":50867,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:03:25] local.INFO: Processing buffer {"connection_id":50867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:03:25] local.INFO: IMEI packet received {"connection_id":50867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":50867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:03:31] local.INFO: TCP Data received {"connection_id":50867,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:03:31] local.INFO: Processing buffer {"connection_id":50867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:03:31] local.INFO: IMEI packet received {"connection_id":50867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":50867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:03:31] local.INFO: TCP Data received {"connection_id":50867,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:03:31] local.INFO: Processing buffer {"connection_id":50867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:03:31] local.INFO: Packet analysis {"connection_id":50867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:31] local.INFO: Extracted packet for processing {"connection_id":50867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:31] 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-22 18:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18: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-22 18:03: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-22 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:03: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-22 18: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-22 18: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-22 18:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":50867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:03:31] local.INFO: GPS data processed {"connection_id":50867,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:03:31] local.INFO: Acknowledgment sent {"connection_id":50867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:03:32] local.INFO: TCP Data received {"connection_id":51421,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:03:32] local.INFO: Processing buffer {"connection_id":51421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:03:32] local.INFO: IMEI packet received {"connection_id":51421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":51421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:03:37] local.INFO: TCP Data received {"connection_id":51421,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:03:37] local.INFO: Processing buffer {"connection_id":51421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:03:37] local.INFO: IMEI packet received {"connection_id":51421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":51421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:03:38] local.INFO: TCP Data received {"connection_id":51421,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a8d30012d196480071fed48003d00701e..."} 
[2026-04-22 18:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a8d30012d196480071fed48003d00701e..."} 
[2026-04-22 18:03:38] local.INFO: Processing buffer {"connection_id":51421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a8d30012d196480071fed48003d00701e..."} 
[2026-04-22 18:03:38] local.INFO: Packet analysis {"connection_id":51421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:38] local.INFO: Extracted packet for processing {"connection_id":51421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":30,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876399872001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03: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-22 18:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776860958000,"timestamp_ms":1776860958000,"timestamp_seconds":1776860958,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a8d30"} 
[2026-04-22 18: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-22 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 18:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:03:38] 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-22 18:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876399872001,"66":12819,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876399872001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:03:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876399872001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":51421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:03:38] local.INFO: GPS data processed {"connection_id":51421,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:03:38] local.INFO: Acknowledgment sent {"connection_id":51421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:03:42] local.INFO: TCP Data received {"connection_id":51421,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52adf38012d196480071fed48003d007024..."} 
[2026-04-22 18:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52adf38012d196480071fed48003d007024..."} 
[2026-04-22 18:03:42] local.INFO: Processing buffer {"connection_id":51421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52adf38012d196480071fed48003d007024..."} 
[2026-04-22 18:03:42] local.INFO: Packet analysis {"connection_id":51421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:42] local.INFO: Extracted packet for processing {"connection_id":51421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876405248001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03: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-22 18:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776860979000,"timestamp_ms":1776860979000,"timestamp_seconds":1776860979,"priority":1,"record_length":96,"hex_timestamp":"0000019db52adf38"} 
[2026-04-22 18:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3039338752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84751887425282029,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505339199488000,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2904531493635843200,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3980918845,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":72,"raw_value":17170455169335296,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359366233683,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300574150516830243,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195033856,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,6,59,45,128,237,61,32,10,66,233,151,1,240,41,227,181,31,4,113,205,243,100,72,36,239,50,2,149,7,164,148,69],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0}]} 
[2026-04-22 18:03:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395636510464933888,"timestamp_seconds":4395636510464934.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876405248001,"66":12776,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876405248001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:03:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876405248001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":51421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:03:42] local.INFO: GPS data processed {"connection_id":51421,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:03:42] local.INFO: Acknowledgment sent {"connection_id":51421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:03:46] local.INFO: TCP Data received {"connection_id":50468,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52db5c8012d7bccc005de0958000d00a81b..."} 
[2026-04-22 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52db5c8012d7bccc005de0958000d00a81b..."} 
[2026-04-22 18:03:46] local.INFO: Processing buffer {"connection_id":50468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52db5c8012d7bccc005de0958000d00a81b..."} 
[2026-04-22 18:03:46] local.INFO: Packet analysis {"connection_id":50468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52d"} 
[2026-04-22 18:03:46] local.INFO: Extracted packet for processing {"connection_id":50468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52d"} 
[2026-04-22 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763088064,"raw_latitude":98437464,"longitude_deg":76.3088064,"latitude_deg":9.8437464,"altitude":13,"angle":168,"satellites":27,"speed":23,"hex_longitude":"2d7bccc0","hex_latitude":"05de0958","is_valid_coordinates":true} 
[2026-04-22 18:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876452864001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74845886806491136,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918605031023437824,"note":"Value kept but may cause issues"} 
[2026-04-22 18:03:46] 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-22 18:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776861165000,"timestamp_ms":1776861165000,"timestamp_seconds":1776861165,"priority":1,"record_length":96,"hex_timestamp":"0000019db52db5c8"} 
[2026-04-22 18:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 18:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876452864001,"66":13689,"50":206,"85":15104,"24":23,"16":74845886806491136,"45":8918605031023437824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876452864001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:03:46] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74845886806491136,"km_value":74845886806491.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918605031023437824,"description":"Unknown IO ID 45"} 
[2026-04-22 18:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876452864001,"power":13689,"unknown_50":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8918605031023437824}} 
[2026-04-22 18:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":50468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:03:47] local.INFO: GPS data processed {"connection_id":50468,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:03:47] local.INFO: Acknowledgment sent {"connection_id":50468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:04:02] local.INFO: TCP Data received {"connection_id":50867,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:04:02] local.INFO: Processing buffer {"connection_id":50867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:04:02] local.INFO: Packet analysis {"connection_id":50867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:04:02] local.INFO: Extracted packet for processing {"connection_id":50867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:02] 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-22 18:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:04: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-22 18:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:04: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-22 18:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:04:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":50867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:04:02] local.INFO: GPS data processed {"connection_id":50867,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:04:02] local.INFO: Acknowledgment sent {"connection_id":50867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:04:09] local.INFO: TCP Data received {"connection_id":51422,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:04:09] local.INFO: Processing buffer {"connection_id":51422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:04:09] local.INFO: IMEI packet received {"connection_id":51422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":51422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:04:10] local.INFO: TCP Data received {"connection_id":51422,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:04:10] local.INFO: Processing buffer {"connection_id":51422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:04:10] local.INFO: IMEI packet received {"connection_id":51422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":51422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:04:15] local.INFO: TCP Data received {"connection_id":51422,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:04:15] local.INFO: Processing buffer {"connection_id":51422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:04:15] local.INFO: IMEI packet received {"connection_id":51422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":51422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:04:16] local.INFO: TCP Data received {"connection_id":51422,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52e03e8012d7bd60005dde680000a00a619..."} 
[2026-04-22 18:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52e03e8012d7bd60005dde680000a00a619..."} 
[2026-04-22 18:04:16] local.INFO: Processing buffer {"connection_id":51422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52e03e8012d7bd60005dde680000a00a619..."} 
[2026-04-22 18:04:16] local.INFO: Packet analysis {"connection_id":51422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:04:16] local.INFO: Extracted packet for processing {"connection_id":51422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:04:16] local.INFO: GPS Element Parsed {"raw_longitude":763090432,"raw_latitude":98428544,"longitude_deg":76.3090432,"latitude_deg":9.8428544,"altitude":10,"angle":166,"satellites":25,"speed":26,"hex_longitude":"2d7bd600","hex_latitude":"05dde680","is_valid_coordinates":true} 
[2026-04-22 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876458240001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74846333483089920,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920716093346633728,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:16] 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-22 18:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776861185000,"timestamp_ms":1776861185000,"timestamp_seconds":1776861185,"priority":1,"record_length":96,"hex_timestamp":"0000019db52e03e8"} 
[2026-04-22 18:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:04:16] 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-22 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 18:04:16] 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-22 18:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876458240001,"66":13526,"50":206,"85":15104,"24":26,"16":74846333483089920,"45":8920716093346633728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876458240001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:04:16] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74846333483089920,"km_value":74846333483089.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920716093346633728,"description":"Unknown IO ID 45"} 
[2026-04-22 18:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876458240001,"power":13526,"unknown_50":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8920716093346633728}} 
[2026-04-22 18:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":51422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:04:16] local.INFO: GPS data processed {"connection_id":51422,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:04:16] local.INFO: Acknowledgment sent {"connection_id":51422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:04:25] local.INFO: TCP Data received {"connection_id":50469,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:04:25] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:04:25] local.INFO: IMEI packet received {"connection_id":50469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":50469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:04:27] local.INFO: TCP Data received {"connection_id":50733,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:04:27] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:04:27] local.INFO: IMEI packet received {"connection_id":50733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":50733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:04:29] local.INFO: TCP Data received {"connection_id":50733,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:04:29] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:04:29] local.INFO: IMEI packet received {"connection_id":50733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":50733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:04:30] local.INFO: TCP Data received {"connection_id":50733,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52b3140012d196480071fed48003d007021..."} 
[2026-04-22 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52b3140012d196480071fed48003d007021..."} 
[2026-04-22 18:04:30] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52b3140012d196480071fed48003d007021..."} 
[2026-04-22 18:04:30] local.INFO: Packet analysis {"connection_id":50733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:04:30] local.INFO: Extracted packet for processing {"connection_id":50733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876410624001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04: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-22 18:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776861000000,"timestamp_ms":1776861000000,"timestamp_seconds":1776861000,"priority":1,"record_length":96,"hex_timestamp":"0000019db52b3140"} 
[2026-04-22 18: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-22 18:04:30] 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-22 18:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 18:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":50733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":50733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":50733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:04:30] 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-22 18:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876410624001,"66":12798,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876410624001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:04:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876410624001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":50733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:04:30] local.INFO: GPS data processed {"connection_id":50733,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:04:30] local.INFO: Acknowledgment sent {"connection_id":50733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:04:30] local.INFO: TCP Data received {"connection_id":50469,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:04:30] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:04:30] local.INFO: IMEI packet received {"connection_id":50469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":50469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:04:31] local.INFO: TCP Data received {"connection_id":50469,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:04:31] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52a6238012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:04:31] local.INFO: Packet analysis {"connection_id":50469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:04:31] local.INFO: Extracted packet for processing {"connection_id":50469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52a"} 
[2026-04-22 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876325376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:31] 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-22 18:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776860947000,"timestamp_ms":1776860947000,"timestamp_seconds":1776860947,"priority":1,"record_length":96,"hex_timestamp":"0000019db52a6238"} 
[2026-04-22 18: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-22 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:04: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-22 18: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-22 18: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-22 18:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:04: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-22 18:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876325376001,"66":25441,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876325376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876325376001,"power":25441,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":50469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:04:31] local.INFO: GPS data processed {"connection_id":50469,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:04:31] local.INFO: Acknowledgment sent {"connection_id":50469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:04:47] local.INFO: TCP Data received {"connection_id":51422,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52e4650012d7bdfc005ddc428000b009e1b..."} 
[2026-04-22 18:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52e4650012d7bdfc005ddc428000b009e1b..."} 
[2026-04-22 18:04:47] local.INFO: Processing buffer {"connection_id":51422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52e4650012d7bdfc005ddc428000b009e1b..."} 
[2026-04-22 18:04:47] local.INFO: Packet analysis {"connection_id":51422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:04:47] local.INFO: Extracted packet for processing {"connection_id":51422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":763092928,"raw_latitude":98419752,"longitude_deg":76.3092928,"latitude_deg":9.8419752,"altitude":11,"angle":158,"satellites":27,"speed":20,"hex_longitude":"2d7bdfc0","hex_latitude":"05ddc428","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876463360001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74846775864721408,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923319736878923776,"note":"Value kept but may cause issues"} 
[2026-04-22 18:04:47] 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-22 18:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776861202000,"timestamp_ms":1776861202000,"timestamp_seconds":1776861202,"priority":1,"record_length":96,"hex_timestamp":"0000019db52e4650"} 
[2026-04-22 18: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-22 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 18:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876463360001,"66":13580,"50":206,"85":15104,"24":20,"16":74846775864721408,"45":8923319736878923776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876463360001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:04:47] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74846775864721408,"km_value":74846775864721.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923319736878923776,"description":"Unknown IO ID 45"} 
[2026-04-22 18:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876463360001,"power":13580,"unknown_50":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8923319736878923776}} 
[2026-04-22 18:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":51422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:04:48] local.INFO: GPS data processed {"connection_id":51422,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:04:48] local.INFO: Acknowledgment sent {"connection_id":51422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:05:01] local.INFO: TCP Data received {"connection_id":50733,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52b8348012d196480071fed48003d007020..."} 
[2026-04-22 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52b8348012d196480071fed48003d007020..."} 
[2026-04-22 18:05:01] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52b8348012d196480071fed48003d007020..."} 
[2026-04-22 18:05:01] local.INFO: Packet analysis {"connection_id":50733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:05:01] local.INFO: Extracted packet for processing {"connection_id":50733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876416000001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05: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-22 18:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776861021000,"timestamp_ms":1776861021000,"timestamp_seconds":1776861021,"priority":1,"record_length":96,"hex_timestamp":"0000019db52b8348"} 
[2026-04-22 18: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-22 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 18:05:01] 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-22 18: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-22 18: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-22 18:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":50733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":50733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":50733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:05:01] 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-22 18:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876416000001,"66":12776,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876416000001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:05:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876416000001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":50733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:05:01] local.INFO: GPS data processed {"connection_id":50733,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:05:01] local.INFO: Acknowledgment sent {"connection_id":50733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:05:02] local.INFO: TCP Data received {"connection_id":50469,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:05:02] local.INFO: Processing buffer {"connection_id":50469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:05:02] local.INFO: Packet analysis {"connection_id":50469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:05:02] local.INFO: Extracted packet for processing {"connection_id":50469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:02] 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-22 18:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18: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-22 18:05: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-22 18:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:05:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":50469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:05:02] local.INFO: GPS data processed {"connection_id":50469,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:05:02] local.INFO: Acknowledgment sent {"connection_id":50469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:05:10] local.INFO: TCP Data received {"connection_id":51423,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:05:10] local.INFO: Processing buffer {"connection_id":51423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:05:10] local.INFO: IMEI packet received {"connection_id":51423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":51423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:05:14] local.INFO: TCP Data received {"connection_id":51423,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:05:14] local.INFO: Processing buffer {"connection_id":51423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:05:14] local.INFO: IMEI packet received {"connection_id":51423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":51423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:05:15] local.INFO: TCP Data received {"connection_id":51423,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db52e84d0012d7beb4005dda210000900a51d..."} 
[2026-04-22 18:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52e84d0012d7beb4005dda210000900a51d..."} 
[2026-04-22 18:05:15] local.INFO: Processing buffer {"connection_id":51423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52e84d0012d7beb4005dda210000900a51d..."} 
[2026-04-22 18:05:15] local.INFO: Packet analysis {"connection_id":51423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:05:15] local.INFO: Extracted packet for processing {"connection_id":51423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763095872,"raw_latitude":98411024,"longitude_deg":76.3095872,"latitude_deg":9.8411024,"altitude":9,"angle":165,"satellites":29,"speed":22,"hex_longitude":"2d7beb40","hex_latitude":"05dda210","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876467712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74847222541320192,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926064117899601920,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] 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-22 18:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776861218000,"timestamp_ms":1776861218000,"timestamp_seconds":1776861218,"priority":1,"record_length":96,"hex_timestamp":"0000019db52e84d0"} 
[2026-04-22 18: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-22 18:05: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-22 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581671,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3039606752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3881107456,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":713606136170807296,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937947442,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805072078,"corrected_to":0} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917246437281365,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3729072128,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-4809837949690052594,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,50,85,24,241,157,16,232,3,45,230,10,25,66,181,192,9,13,27,231,99,64,1,240,78,227,222,4,113,205,7,72,28,239,53,2,5,123,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2805072078,"validated":0}]} 
[2026-04-22 18:05:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792807373219823616,"timestamp_seconds":792807373219823.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18: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-22 18:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":51423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":51423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":51423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876467712001,"66":13559,"50":206,"85":15104,"24":22,"16":74847222541320192,"45":8926064117899601920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 18:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876467712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:05:15] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 18:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74847222541320192,"km_value":74847222541320.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926064117899601920,"description":"Unknown IO ID 45"} 
[2026-04-22 18:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876467712001,"power":13559,"unknown_50":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8926064117899601920}} 
[2026-04-22 18:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":51423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:05:15] local.INFO: GPS data processed {"connection_id":51423,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:05:15] local.INFO: Acknowledgment sent {"connection_id":51423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:05:25] local.INFO: TCP Data received {"connection_id":50735,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:05:25] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:05:25] local.INFO: IMEI packet received {"connection_id":50735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":50735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:05:27] local.INFO: TCP Data received {"connection_id":50734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:05:27] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:05:27] local.INFO: IMEI packet received {"connection_id":50734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:05:30] local.INFO: TCP Data received {"connection_id":50735,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:05:30] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:05:30] local.INFO: IMEI packet received {"connection_id":50735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":50735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:05:31] local.INFO: TCP Data received {"connection_id":50735,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:05:31] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:05:31] local.INFO: Packet analysis {"connection_id":50735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:05:31] local.INFO: Extracted packet for processing {"connection_id":50735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:31] 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-22 18:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18: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-22 18:05: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-22 18: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:05: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-22 18: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-22 18: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-22 18:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":50735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:05:31] local.INFO: GPS data processed {"connection_id":50735,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:05:31] local.INFO: Acknowledgment sent {"connection_id":50735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:05:32] local.INFO: TCP Data received {"connection_id":50734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:05:32] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:05:32] local.INFO: IMEI packet received {"connection_id":50734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:05:33] local.INFO: TCP Data received {"connection_id":50734,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52bd550012d196480071fed48003d007023..."} 
[2026-04-22 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52bd550012d196480071fed48003d007023..."} 
[2026-04-22 18:05:33] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52bd550012d196480071fed48003d007023..."} 
[2026-04-22 18:05:33] local.INFO: Packet analysis {"connection_id":50734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:05:33] local.INFO: Extracted packet for processing {"connection_id":50734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52b"} 
[2026-04-22 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876421376001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05: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-22 18:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861042000,"timestamp_ms":1776861042000,"timestamp_seconds":1776861042,"priority":1,"record_length":96,"hex_timestamp":"0000019db52bd550"} 
[2026-04-22 18: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-22 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 18:05:33] 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-22 18: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-22 18: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-22 18:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:05:33] 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-22 18:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876421376001,"66":12743,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876421376001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:05:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876421376001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":50734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:05:33] local.INFO: GPS data processed {"connection_id":50734,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:05:33] local.INFO: Acknowledgment sent {"connection_id":50734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:05:46] local.INFO: TCP Data received {"connection_id":51423,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5300f58012d7c0ac005dc8d80000d00d31d..."} 
[2026-04-22 18:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5300f58012d7c0ac005dc8d80000d00d31d..."} 
[2026-04-22 18:05:46] local.INFO: Processing buffer {"connection_id":51423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5300f58012d7c0ac005dc8d80000d00d31d..."} 
[2026-04-22 18:05:46] local.INFO: Packet analysis {"connection_id":51423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:05:46] local.INFO: Extracted packet for processing {"connection_id":51423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:05:46] local.INFO: GPS Element Parsed {"raw_longitude":763103936,"raw_latitude":98340224,"longitude_deg":76.3103936,"latitude_deg":9.8340224,"altitude":13,"angle":211,"satellites":29,"speed":34,"hex_longitude":"2d7c0ac0","hex_latitude":"05dc8d80","is_valid_coordinates":true} 
[2026-04-22 18:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876496896001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74850783069208576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939293441785235456,"note":"Value kept but may cause issues"} 
[2026-04-22 18:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776861319000,"timestamp_ms":1776861319000,"timestamp_seconds":1776861319,"priority":1,"record_length":96,"hex_timestamp":"0000019db5300f58"} 
[2026-04-22 18:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:05: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-22 18:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-04-22 18:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":51423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":51423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":51423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876496896001,"66":13428,"167":206,"85":15104,"24":34,"16":74850783069208576,"45":8939293441785235456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-04-22 18:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876496896001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:05:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-22 18:05:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74850783069208576,"km_value":74850783069208.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939293441785235456,"description":"Unknown IO ID 45"} 
[2026-04-22 18:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876496896001,"power":13428,"unknown_167":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8939293441785235456}} 
[2026-04-22 18:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":51423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:05:47] local.INFO: GPS data processed {"connection_id":51423,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:05:47] local.INFO: Acknowledgment sent {"connection_id":51423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:06:02] local.INFO: TCP Data received {"connection_id":50735,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:06:02] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:06:02] local.INFO: Packet analysis {"connection_id":50735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:06:02] local.INFO: Extracted packet for processing {"connection_id":50735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:02] 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-22 18:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:06: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-22 18:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:06:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":50735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:06:02] local.INFO: GPS data processed {"connection_id":50735,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:06:02] local.INFO: Acknowledgment sent {"connection_id":50735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:06:04] local.INFO: TCP Data received {"connection_id":50734,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52f5ba8012d196480071fed48003d007020..."} 
[2026-04-22 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52f5ba8012d196480071fed48003d007020..."} 
[2026-04-22 18:06:04] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52f5ba8012d196480071fed48003d007020..."} 
[2026-04-22 18:06:04] local.INFO: Packet analysis {"connection_id":50734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52f"} 
[2026-04-22 18:06:04] local.INFO: Extracted packet for processing {"connection_id":50734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52f"} 
[2026-04-22 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876480512001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06: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-22 18:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861273000,"timestamp_ms":1776861273000,"timestamp_seconds":1776861273,"priority":1,"record_length":96,"hex_timestamp":"0000019db52f5ba8"} 
[2026-04-22 18:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:06: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-22 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 18:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:06:04] 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-22 18:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876480512001,"66":12591,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876480512001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:06:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876480512001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":50734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:06:04] local.INFO: GPS data processed {"connection_id":50734,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:06:04] local.INFO: Acknowledgment sent {"connection_id":50734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:06:10] local.INFO: TCP Data received {"connection_id":50869,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:06:10] local.INFO: Processing buffer {"connection_id":50869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:06:10] local.INFO: IMEI packet received {"connection_id":50869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":50869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:06:14] local.INFO: TCP Data received {"connection_id":50869,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:06:14] local.INFO: Processing buffer {"connection_id":50869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:06:14] local.INFO: IMEI packet received {"connection_id":50869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":50869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:06:15] local.INFO: TCP Data received {"connection_id":50869,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5303668012d7bf98005dc6de0000c00ca1c..."} 
[2026-04-22 18:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5303668012d7bf98005dc6de0000c00ca1c..."} 
[2026-04-22 18:06:15] local.INFO: Processing buffer {"connection_id":50869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5303668012d7bf98005dc6de0000c00ca1c..."} 
[2026-04-22 18:06:15] local.INFO: Packet analysis {"connection_id":50869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:06:15] local.INFO: Extracted packet for processing {"connection_id":50869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:06:15] local.INFO: GPS Element Parsed {"raw_longitude":763099520,"raw_latitude":98332128,"longitude_deg":76.309952,"latitude_deg":9.8332128,"altitude":12,"angle":202,"satellites":28,"speed":32,"hex_longitude":"2d7bf980","hex_latitude":"05dc6de0","is_valid_coordinates":true} 
[2026-04-22 18:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876497664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74851229745807360,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938167541877800960,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776861329000,"timestamp_ms":1776861329000,"timestamp_seconds":1776861329,"priority":1,"record_length":96,"hex_timestamp":"0000019db5303668"} 
[2026-04-22 18:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:06: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-22 18:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-22 18:06:15] 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-22 18:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876497664001,"66":13559,"167":206,"85":15104,"24":32,"16":74851229745807360,"45":8938167541877800960},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-04-22 18:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876497664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:06:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-22 18:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74851229745807360,"km_value":74851229745807.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938167541877800960,"description":"Unknown IO ID 45"} 
[2026-04-22 18:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876497664001,"power":13559,"unknown_167":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8938167541877800960}} 
[2026-04-22 18:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":50869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:06:15] local.INFO: GPS data processed {"connection_id":50869,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:06:15] local.INFO: Acknowledgment sent {"connection_id":50869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:06:25] local.INFO: TCP Data received {"connection_id":50471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:06:25] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:06:25] local.INFO: IMEI packet received {"connection_id":50471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":50471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:06:27] local.INFO: TCP Data received {"connection_id":50470,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:06:27] local.INFO: Processing buffer {"connection_id":50470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:06:27] local.INFO: IMEI packet received {"connection_id":50470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:06:31] local.INFO: TCP Data received {"connection_id":50471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:06:31] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:06:31] local.INFO: IMEI packet received {"connection_id":50471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":50471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:06:32] local.INFO: TCP Data received {"connection_id":50471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:06:32] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:06:32] local.INFO: Packet analysis {"connection_id":50471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:06:32] local.INFO: Extracted packet for processing {"connection_id":50471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:32] 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-22 18:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18: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-22 18:06: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-22 18: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:06: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-22 18: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-22 18: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-22 18:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:06: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-22 18:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":50471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:06:32] local.INFO: GPS data processed {"connection_id":50471,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:06:32] local.INFO: Acknowledgment sent {"connection_id":50471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:06:32] local.INFO: TCP Data received {"connection_id":50470,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:06:32] local.INFO: Processing buffer {"connection_id":50470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:06:32] local.INFO: IMEI packet received {"connection_id":50470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":50470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:06:33] local.INFO: TCP Data received {"connection_id":50470,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52fadb0012d196480071fed48003d00701f..."} 
[2026-04-22 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52fadb0012d196480071fed48003d00701f..."} 
[2026-04-22 18:06:33] local.INFO: Processing buffer {"connection_id":50470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52fadb0012d196480071fed48003d00701f..."} 
[2026-04-22 18:06:33] local.INFO: Packet analysis {"connection_id":50470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52f"} 
[2026-04-22 18:06:33] local.INFO: Extracted packet for processing {"connection_id":50470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52f"} 
[2026-04-22 18:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":31,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876485888001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18: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-22 18:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861294000,"timestamp_ms":1776861294000,"timestamp_seconds":1776861294,"priority":1,"record_length":96,"hex_timestamp":"0000019db52fadb0"} 
[2026-04-22 18: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-22 18:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 18:06:33] 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-22 18: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-22 18: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-22 18:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:06:33] 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-22 18:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876485888001,"66":12591,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876485888001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:06:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876485888001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":50470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:06:33] local.INFO: GPS data processed {"connection_id":50470,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:06:33] local.INFO: Acknowledgment sent {"connection_id":50470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:06:46] local.INFO: TCP Data received {"connection_id":50869,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5307100012d7bec0005dc4d18000d00c21d..."} 
[2026-04-22 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5307100012d7bec0005dc4d18000d00c21d..."} 
[2026-04-22 18:06:46] local.INFO: Processing buffer {"connection_id":50869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5307100012d7bec0005dc4d18000d00c21d..."} 
[2026-04-22 18:06:46] local.INFO: Packet analysis {"connection_id":50869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:06:46] local.INFO: Extracted packet for processing {"connection_id":50869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":763096064,"raw_latitude":98323736,"longitude_deg":76.3096064,"latitude_deg":9.8323736,"altitude":13,"angle":194,"satellites":29,"speed":18,"hex_longitude":"2d7bec00","hex_latitude":"05dc4d18","is_valid_coordinates":true} 
[2026-04-22 18:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876500224001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74851667832471552,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933312098527469568,"note":"Value kept but may cause issues"} 
[2026-04-22 18:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776861344000,"timestamp_ms":1776861344000,"timestamp_seconds":1776861344,"priority":1,"record_length":96,"hex_timestamp":"0000019db5307100"} 
[2026-04-22 18:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 18:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876500224001,"66":13646,"168":206,"85":15104,"24":18,"16":74851667832471552,"45":8933312098527469568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-22 18:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876500224001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:06:46] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-22 18:06:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74851667832471552,"km_value":74851667832471.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933312098527469568,"description":"Unknown IO ID 45"} 
[2026-04-22 18:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876500224001,"power":13646,"unknown_168":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8933312098527469568}} 
[2026-04-22 18:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":50869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:06:46] local.INFO: GPS data processed {"connection_id":50869,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:06:46] local.INFO: Acknowledgment sent {"connection_id":50869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:07:04] local.INFO: TCP Data received {"connection_id":50471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:07:04] local.INFO: Processing buffer {"connection_id":50471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:07:04] local.INFO: Packet analysis {"connection_id":50471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:07:04] local.INFO: Extracted packet for processing {"connection_id":50471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07: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-22 18:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18: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-22 18:07: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-22 18:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 18: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-22 18: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-22 18:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:07: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-22 18:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:07:04] local.INFO: GPS data processed {"connection_id":50471,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:07:04] local.INFO: Acknowledgment sent {"connection_id":50471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:07:04] local.INFO: TCP Data received {"connection_id":50470,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db52fffb8012d196480071fed48003d007021..."} 
[2026-04-22 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52fffb8012d196480071fed48003d007021..."} 
[2026-04-22 18:07:04] local.INFO: Processing buffer {"connection_id":50470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52fffb8012d196480071fed48003d007021..."} 
[2026-04-22 18:07:04] local.INFO: Packet analysis {"connection_id":50470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52f"} 
[2026-04-22 18:07:04] local.INFO: Extracted packet for processing {"connection_id":50470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52f"} 
[2026-04-22 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876491264001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18: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-22 18:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861315000,"timestamp_ms":1776861315000,"timestamp_seconds":1776861315,"priority":1,"record_length":96,"hex_timestamp":"0000019db52fffb8"} 
[2026-04-22 18: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-22 18:07: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-22 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 18:07:04] 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-22 18: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-22 18: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-22 18:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:07:04] 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-22 18:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876491264001,"66":12558,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876491264001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876491264001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":50470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:07:04] local.INFO: GPS data processed {"connection_id":50470,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:07:04] local.INFO: Acknowledgment sent {"connection_id":50470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:07:10] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:07:10] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:07:10] local.INFO: IMEI packet received {"connection_id":50473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":50473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:07:14] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:07:14] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:07:14] local.INFO: IMEI packet received {"connection_id":50473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":50473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:07:15] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:07:15] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:07:15] local.INFO: IMEI packet received {"connection_id":50473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":50473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:07:15] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53080a0012d7beb4005dc4450000e00b61d..."} 
[2026-04-22 18:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53080a0012d7beb4005dc4450000e00b61d..."} 
[2026-04-22 18:07:15] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53080a0012d7beb4005dc4450000e00b61d..."} 
[2026-04-22 18:07:15] local.INFO: Packet analysis {"connection_id":50473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:07:15] local.INFO: Extracted packet for processing {"connection_id":50473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763095872,"raw_latitude":98321488,"longitude_deg":76.3095872,"latitude_deg":9.8321488,"altitude":14,"angle":182,"satellites":29,"speed":27,"hex_longitude":"2d7beb40","hex_latitude":"05dc4450","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876504064001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74851779501621248,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186339727360,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:15] 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-22 18:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776861348000,"timestamp_ms":1776861348000,"timestamp_seconds":1776861348,"priority":1,"record_length":96,"hex_timestamp":"0000019db53080a0"} 
[2026-04-22 18: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-22 18:07: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-22 18: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 18:07:15] 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-22 18:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18: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-22 18:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876504064001,"66":13656,"168":206,"85":15104,"24":27,"16":74851779501621248,"45":8929512186339727360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-22 18:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876504064001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:07:15] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-22 18:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74851779501621248,"km_value":74851779501621.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186339727360,"description":"Unknown IO ID 45"} 
[2026-04-22 18:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876504064001,"power":13656,"unknown_168":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8929512186339727360}} 
[2026-04-22 18:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":50473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:07:15] local.INFO: GPS data processed {"connection_id":50473,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:07:15] local.INFO: Acknowledgment sent {"connection_id":50473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:07:20] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db530a3c8012d7bebc005dc2168000f00b11c..."} 
[2026-04-22 18:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db530a3c8012d7bebc005dc2168000f00b11c..."} 
[2026-04-22 18:07:20] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db530a3c8012d7bebc005dc2168000f00b11c..."} 
[2026-04-22 18:07:20] local.INFO: Packet analysis {"connection_id":50473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:07:20] local.INFO: Extracted packet for processing {"connection_id":50473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763096000,"raw_latitude":98312552,"longitude_deg":76.3096,"latitude_deg":9.8312552,"altitude":15,"angle":177,"satellites":28,"speed":48,"hex_longitude":"2d7bebc0","hex_latitude":"05dc2168","is_valid_coordinates":true} 
[2026-04-22 18:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876505088001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74852213293318144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929301080106618880,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:20] 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-22 18:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776861357000,"timestamp_ms":1776861357000,"timestamp_seconds":1776861357,"priority":1,"record_length":96,"hex_timestamp":"0000019db530a3c8"} 
[2026-04-22 18:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:07: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-22 18:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:07:20] 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-22 18:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876505088001,"66":13602,"168":206,"85":15104,"24":48,"16":74852213293318144,"45":8929301080106618880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-22 18:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876505088001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:07:20] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-22 18:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74852213293318144,"km_value":74852213293318.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929301080106618880,"description":"Unknown IO ID 45"} 
[2026-04-22 18:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876505088001,"power":13602,"unknown_168":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8929301080106618880}} 
[2026-04-22 18:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":50473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:07:20] local.INFO: GPS data processed {"connection_id":50473,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:07:20] local.INFO: Acknowledgment sent {"connection_id":50473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:07:27] local.INFO: TCP Data received {"connection_id":50870,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:07:27] local.INFO: Processing buffer {"connection_id":50870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:07:27] local.INFO: IMEI packet received {"connection_id":50870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":50870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:07:30] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:07:30] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:07:30] local.INFO: IMEI packet received {"connection_id":50871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":50871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:07:32] local.INFO: TCP Data received {"connection_id":50870,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:07:32] local.INFO: Processing buffer {"connection_id":50870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:07:32] local.INFO: IMEI packet received {"connection_id":50870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:07:33] local.INFO: TCP Data received {"connection_id":50870,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53051c0012d196480071fed48003d007021..."} 
[2026-04-22 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53051c0012d196480071fed48003d007021..."} 
[2026-04-22 18:07:33] local.INFO: Processing buffer {"connection_id":50870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53051c0012d196480071fed48003d007021..."} 
[2026-04-22 18:07:33] local.INFO: Packet analysis {"connection_id":50870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:07:33] local.INFO: Extracted packet for processing {"connection_id":50870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876496640001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07: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-22 18:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861336000,"timestamp_ms":1776861336000,"timestamp_seconds":1776861336,"priority":1,"record_length":96,"hex_timestamp":"0000019db53051c0"} 
[2026-04-22 18: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-22 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3039695752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3980918845,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249739107162647880,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147950573,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,6,173,45,128,237,61,31,10,66,91,32,9,1,240,58,227,181,4,113,205,101,100,72,239,49,2,149,7,86,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-22 18:07:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395636523349835776,"timestamp_seconds":4395636523349836.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18: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-22 18:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:07:33] 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-22 18:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876496640001,"66":12504,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876496640001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:07:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876496640001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:07:33] local.INFO: GPS data processed {"connection_id":50870,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:07:33] local.INFO: Acknowledgment sent {"connection_id":50870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:07:35] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:07:35] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:07:35] local.INFO: IMEI packet received {"connection_id":50871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":50871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:07:36] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:07:36] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:07:36] local.INFO: Packet analysis {"connection_id":50871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:07:36] local.INFO: Extracted packet for processing {"connection_id":50871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07: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-22 18:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:07: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-22 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:07:36] 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-22 18:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:07:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":50871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:07:36] local.INFO: GPS data processed {"connection_id":50871,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:07:36] local.INFO: Acknowledgment sent {"connection_id":50871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:07:51] local.INFO: TCP Data received {"connection_id":50473,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db530bf20012d7beec005dbfd00000d00af1b..."} 
[2026-04-22 18:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db530bf20012d7beec005dbfd00000d00af1b..."} 
[2026-04-22 18:07:51] local.INFO: Processing buffer {"connection_id":50473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db530bf20012d7beec005dbfd00000d00af1b..."} 
[2026-04-22 18:07:51] local.INFO: Packet analysis {"connection_id":50473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:07:51] local.INFO: Extracted packet for processing {"connection_id":50473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:07:51] local.INFO: GPS Element Parsed {"raw_longitude":763096768,"raw_latitude":98303232,"longitude_deg":76.3096768,"latitude_deg":9.8303232,"altitude":13,"angle":175,"satellites":27,"speed":54,"hex_longitude":"2d7beec0","hex_latitude":"05dbfd00","is_valid_coordinates":true} 
[2026-04-22 18:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876507392001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74852664264884224,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929441817592686592,"note":"Value kept but may cause issues"} 
[2026-04-22 18:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776861364000,"timestamp_ms":1776861364000,"timestamp_seconds":1776861364,"priority":1,"record_length":96,"hex_timestamp":"0000019db530bf20"} 
[2026-04-22 18:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:07: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-22 18:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-22 18:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":50473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":50473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":50473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876507392001,"66":13559,"168":206,"85":15104,"24":54,"16":74852664264884224,"45":8929441817592686592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-22 18:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876507392001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:07:51] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-22 18:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74852664264884224,"km_value":74852664264884.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929441817592686592,"description":"Unknown IO ID 45"} 
[2026-04-22 18:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876507392001,"power":13559,"unknown_168":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8929441817592686592}} 
[2026-04-22 18:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":50473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:07:51] local.INFO: GPS data processed {"connection_id":50473,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:07:51] local.INFO: Acknowledgment sent {"connection_id":50473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:08:04] local.INFO: TCP Data received {"connection_id":50870,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db530a3c8012d196480071fed48003d007023..."} 
[2026-04-22 18:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db530a3c8012d196480071fed48003d007023..."} 
[2026-04-22 18:08:04] local.INFO: Processing buffer {"connection_id":50870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db530a3c8012d196480071fed48003d007023..."} 
[2026-04-22 18:08:04] local.INFO: Packet analysis {"connection_id":50870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:08:04] local.INFO: Extracted packet for processing {"connection_id":50870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876502016001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08: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-22 18:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861357000,"timestamp_ms":1776861357000,"timestamp_seconds":1776861357,"priority":1,"record_length":96,"hex_timestamp":"0000019db530a3c8"} 
[2026-04-22 18: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-22 18:08: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-22 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 18:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:08:04] 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-22 18:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876502016001,"66":12526,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876502016001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:08:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876502016001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:08:04] local.INFO: GPS data processed {"connection_id":50870,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:08:04] local.INFO: Acknowledgment sent {"connection_id":50870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:08:08] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:08:08] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:08:08] local.INFO: Packet analysis {"connection_id":50871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:08:08] local.INFO: Extracted packet for processing {"connection_id":50871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08: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-22 18:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:08: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-22 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:08: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-22 18:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:08: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-22 18:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":50871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:08:08] local.INFO: GPS data processed {"connection_id":50871,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:08:08] local.INFO: Acknowledgment sent {"connection_id":50871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:08:10] local.INFO: TCP Data received {"connection_id":50737,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:08:10] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:08:10] local.INFO: IMEI packet received {"connection_id":50737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":50737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:08:15] local.INFO: TCP Data received {"connection_id":50737,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:08:15] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:08:15] local.INFO: IMEI packet received {"connection_id":50737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":50737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:08:16] local.INFO: TCP Data received {"connection_id":50737,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db530de60012d7bf4c005dbd6d0000b00a91d..."} 
[2026-04-22 18:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db530de60012d7bf4c005dbd6d0000b00a91d..."} 
[2026-04-22 18:08:16] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db530de60012d7bf4c005dbd6d0000b00a91d..."} 
[2026-04-22 18:08:16] local.INFO: Packet analysis {"connection_id":50737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:08:16] local.INFO: Extracted packet for processing {"connection_id":50737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:08:16] local.INFO: GPS Element Parsed {"raw_longitude":763098304,"raw_latitude":98293456,"longitude_deg":76.3098304,"latitude_deg":9.8293456,"altitude":11,"angle":169,"satellites":29,"speed":43,"hex_longitude":"2d7bf4c0","hex_latitude":"05dbd6d0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876509184001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74853145301221376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930286242520432640,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:16] 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-22 18:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776861372000,"timestamp_ms":1776861372000,"timestamp_seconds":1776861372,"priority":1,"record_length":96,"hex_timestamp":"0000019db530de60"} 
[2026-04-22 18: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-22 18:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 18:08:16] 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-22 18: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-22 18: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-22 18:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876509184001,"66":13526,"168":206,"85":15104,"24":43,"16":74853145301221376,"45":8930286242520432640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-22 18:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876509184001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:08:16] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-22 18:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74853145301221376,"km_value":74853145301221.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930286242520432640,"description":"Unknown IO ID 45"} 
[2026-04-22 18:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876509184001,"power":13526,"unknown_168":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8930286242520432640}} 
[2026-04-22 18:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":50737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:08:16] local.INFO: GPS data processed {"connection_id":50737,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:08:16] local.INFO: Acknowledgment sent {"connection_id":50737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:08:25] local.INFO: TCP Data received {"connection_id":50738,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:08:25] local.INFO: Processing buffer {"connection_id":50738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:08:25] local.INFO: IMEI packet received {"connection_id":50738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":50738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:08:27] local.INFO: TCP Data received {"connection_id":51424,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:08:27] local.INFO: Processing buffer {"connection_id":51424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:08:27] local.INFO: IMEI packet received {"connection_id":51424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":51424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:08:30] local.INFO: TCP Data received {"connection_id":50738,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:08:30] local.INFO: Processing buffer {"connection_id":50738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:08:30] local.INFO: IMEI packet received {"connection_id":50738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":50738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:08:31] local.INFO: TCP Data received {"connection_id":50738,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:08:31] local.INFO: Processing buffer {"connection_id":50738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:08:31] local.INFO: Packet analysis {"connection_id":50738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:08:31] local.INFO: Extracted packet for processing {"connection_id":50738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:31] 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-22 18:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:08: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-22 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18: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-22 18:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:08: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-22 18:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":50738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:08:31] local.INFO: GPS data processed {"connection_id":50738,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:08:31] local.INFO: Acknowledgment sent {"connection_id":50738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:08:32] local.INFO: TCP Data received {"connection_id":51424,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:08:32] local.INFO: Processing buffer {"connection_id":51424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:08:32] local.INFO: IMEI packet received {"connection_id":51424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":51424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:08:33] local.INFO: TCP Data received {"connection_id":51424,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db530f5d0012d196480071fed48003d007023..."} 
[2026-04-22 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db530f5d0012d196480071fed48003d007023..."} 
[2026-04-22 18:08:33] local.INFO: Processing buffer {"connection_id":51424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db530f5d0012d196480071fed48003d007023..."} 
[2026-04-22 18:08:33] local.INFO: Packet analysis {"connection_id":51424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:08:33] local.INFO: Extracted packet for processing {"connection_id":51424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db530"} 
[2026-04-22 18:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876507392001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08: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-22 18:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861378000,"timestamp_ms":1776861378000,"timestamp_seconds":1776861378,"priority":1,"record_length":96,"hex_timestamp":"0000019db530f5d0"} 
[2026-04-22 18:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 18:08:33] 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-22 18: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-22 18:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:08:33] 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-22 18:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876507392001,"66":12537,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876507392001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:08:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876507392001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":51424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:08:33] local.INFO: GPS data processed {"connection_id":51424,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:08:33] local.INFO: Acknowledgment sent {"connection_id":51424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:08:48] local.INFO: TCP Data received {"connection_id":50737,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db532c2c0012d7c54c005da70300002009f18..."} 
[2026-04-22 18:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db532c2c0012d7c54c005da70300002009f18..."} 
[2026-04-22 18:08:48] local.INFO: Processing buffer {"connection_id":50737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db532c2c0012d7c54c005da70300002009f18..."} 
[2026-04-22 18:08:48] local.INFO: Packet analysis {"connection_id":50737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:08:48] local.INFO: Extracted packet for processing {"connection_id":50737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:08:48] local.INFO: GPS Element Parsed {"raw_longitude":763122880,"raw_latitude":98201648,"longitude_deg":76.312288,"latitude_deg":9.8201648,"altitude":2,"angle":159,"satellites":24,"speed":35,"hex_longitude":"2d7c54c0","hex_latitude":"05da7030","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876540672001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74857758096097280,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955759727888896000,"note":"Value kept but may cause issues"} 
[2026-04-22 18:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776861496000,"timestamp_ms":1776861496000,"timestamp_seconds":1776861496,"priority":1,"record_length":96,"hex_timestamp":"0000019db532c2c0"} 
[2026-04-22 18: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-22 18:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 18:08:48] 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-22 18: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-22 18: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-22 18:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876540672001,"66":13580,"187":206,"85":15104,"24":35,"16":74857758096097280,"45":8955759727888896000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 18:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876540672001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:08:48] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 18:08:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74857758096097280,"km_value":74857758096097.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955759727888896000,"description":"Unknown IO ID 45"} 
[2026-04-22 18:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876540672001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8955759727888896000}} 
[2026-04-22 18:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":50737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:08:48] local.INFO: GPS data processed {"connection_id":50737,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:08:48] local.INFO: Acknowledgment sent {"connection_id":50737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:08:50] local.INFO: TCP Data received {"connection_id":50872,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:08:50] local.INFO: Processing buffer {"connection_id":50872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:08:50] local.INFO: IMEI packet received {"connection_id":50872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":50872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:09:02] local.INFO: TCP Data received {"connection_id":50738,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:09:02] local.INFO: Processing buffer {"connection_id":50738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:09:02] local.INFO: Packet analysis {"connection_id":50738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:09:02] local.INFO: Extracted packet for processing {"connection_id":50738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:02] 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-22 18:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18: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-22 18:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:09: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-22 18: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-22 18: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-22 18:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:09: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-22 18:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:09:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":50738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:09:02] local.INFO: GPS data processed {"connection_id":50738,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:09:02] local.INFO: Acknowledgment sent {"connection_id":50738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:09:04] local.INFO: TCP Data received {"connection_id":51424,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53147d8012d196480071fed48003d007023..."} 
[2026-04-22 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53147d8012d196480071fed48003d007023..."} 
[2026-04-22 18:09:04] local.INFO: Processing buffer {"connection_id":51424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53147d8012d196480071fed48003d007023..."} 
[2026-04-22 18:09:04] local.INFO: Packet analysis {"connection_id":51424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db531"} 
[2026-04-22 18:09:04] local.INFO: Extracted packet for processing {"connection_id":51424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db531"} 
[2026-04-22 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876512768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09: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-22 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861399000,"timestamp_ms":1776861399000,"timestamp_seconds":1776861399,"priority":1,"record_length":96,"hex_timestamp":"0000019db53147d8"} 
[2026-04-22 18:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-22 18:09:04] 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-22 18:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:09:04] 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-22 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876512768001,"66":12526,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876512768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:09:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876512768001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":51424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:09:04] local.INFO: GPS data processed {"connection_id":51424,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:09:04] local.INFO: Acknowledgment sent {"connection_id":51424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:09:15] local.INFO: TCP Data received {"connection_id":50873,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:09:15] local.INFO: Processing buffer {"connection_id":50873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:09:15] local.INFO: IMEI packet received {"connection_id":50873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":50873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:09:20] local.INFO: TCP Data received {"connection_id":50873,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:09:20] local.INFO: Processing buffer {"connection_id":50873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:09:20] local.INFO: IMEI packet received {"connection_id":50873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":50873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:09:21] local.INFO: TCP Data received {"connection_id":50873,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db532edb8012d7c610005da4e18000000a31b..."} 
[2026-04-22 18:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db532edb8012d7c610005da4e18000000a31b..."} 
[2026-04-22 18:09:21] local.INFO: Processing buffer {"connection_id":50873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db532edb8012d7c610005da4e18000000a31b..."} 
[2026-04-22 18:09:21] local.INFO: Packet analysis {"connection_id":50873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:09:21] local.INFO: Extracted packet for processing {"connection_id":50873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:09:21] local.INFO: GPS Element Parsed {"raw_longitude":763126016,"raw_latitude":98192920,"longitude_deg":76.3126016,"latitude_deg":9.819292,"altitude":0,"angle":163,"satellites":27,"speed":35,"hex_longitude":"2d7c6100","hex_latitude":"05da4e18","is_valid_coordinates":true} 
[2026-04-22 18:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876542976001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74858204772696064,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958996690118914048,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776861507000,"timestamp_ms":1776861507000,"timestamp_seconds":1776861507,"priority":1,"record_length":96,"hex_timestamp":"0000019db532edb8"} 
[2026-04-22 18:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:09:21] 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-22 18:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581680,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3039948752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3674441728,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":716351616705363968,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4174381064,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635115786512058,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-04-22 18:09:21] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2684431740,"corrected_to":0} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024998,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2215777455459270662,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561494198701653,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:21] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,187,85,24,241,157,16,242,159,45,64,145,3,10,66,128,178,5,26,186,89,1,240,110,227,181,218,4,113,205,11,247,40,27,239,52,2,9,124,53,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2797207758,"validated":0},{"io_id":247,"original":2684431740,"validated":0}]} 
[2026-04-22 18:09:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144290113506181120,"timestamp_seconds":144290113506181.12,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":50873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":50873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":50873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876542976001,"66":13526,"187":206,"85":15104,"24":35,"16":74858204772696064,"45":8958996690118914048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 18:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876542976001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:09:21] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 18:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74858204772696064,"km_value":74858204772696.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958996690118914048,"description":"Unknown IO ID 45"} 
[2026-04-22 18:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876542976001,"power":13526,"unknown_187":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8958996690118914048}} 
[2026-04-22 18:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":50873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:09:21] local.INFO: GPS data processed {"connection_id":50873,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:09:21] local.INFO: Acknowledgment sent {"connection_id":50873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:09:26] local.INFO: TCP Data received {"connection_id":51425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:09:26] local.INFO: Processing buffer {"connection_id":51425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:09:26] local.INFO: IMEI packet received {"connection_id":51425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":51425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:09:27] local.INFO: TCP Data received {"connection_id":50739,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:09:27] local.INFO: Processing buffer {"connection_id":50739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:09:27] local.INFO: IMEI packet received {"connection_id":50739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:09:31] local.INFO: TCP Data received {"connection_id":51425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:09:31] local.INFO: Processing buffer {"connection_id":51425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:09:31] local.INFO: IMEI packet received {"connection_id":51425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":51425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:09:31] local.INFO: TCP Data received {"connection_id":51425,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:09:31] local.INFO: Processing buffer {"connection_id":51425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db52efa00012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:09:31] local.INFO: Packet analysis {"connection_id":51425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:09:31] local.INFO: Extracted packet for processing {"connection_id":51425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db52e"} 
[2026-04-22 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876402432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:31] 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-22 18:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861248000,"timestamp_ms":1776861248000,"timestamp_seconds":1776861248,"priority":1,"record_length":96,"hex_timestamp":"0000019db52efa00"} 
[2026-04-22 18: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-22 18:09: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-22 18: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:09: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-22 18: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-22 18: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-22 18:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:09: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-22 18:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876402432001,"66":25419,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876402432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876402432001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":51425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:09:31] local.INFO: GPS data processed {"connection_id":51425,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:09:31] local.INFO: Acknowledgment sent {"connection_id":51425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:09:32] local.INFO: TCP Data received {"connection_id":50739,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:09:32] local.INFO: Processing buffer {"connection_id":50739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:09:32] local.INFO: IMEI packet received {"connection_id":50739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:09:33] local.INFO: TCP Data received {"connection_id":50739,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53199e0012d196480071fed48003d007020..."} 
[2026-04-22 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53199e0012d196480071fed48003d007020..."} 
[2026-04-22 18:09:33] local.INFO: Processing buffer {"connection_id":50739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53199e0012d196480071fed48003d007020..."} 
[2026-04-22 18:09:33] local.INFO: Packet analysis {"connection_id":50739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db531"} 
[2026-04-22 18:09:33] local.INFO: Extracted packet for processing {"connection_id":50739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db531"} 
[2026-04-22 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876518144001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09: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-22 18:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861420000,"timestamp_ms":1776861420000,"timestamp_seconds":1776861420,"priority":1,"record_length":96,"hex_timestamp":"0000019db53199e0"} 
[2026-04-22 18:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 18:09:33] 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-22 18: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-22 18:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:09:33] 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-22 18:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876518144001,"66":12526,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876518144001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:09:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876518144001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":50739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:09:33] local.INFO: GPS data processed {"connection_id":50739,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:09:33] local.INFO: Acknowledgment sent {"connection_id":50739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:09:52] local.INFO: TCP Data received {"connection_id":50873,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53318b0012d7c6c0005da2d30000000a41a..."} 
[2026-04-22 18:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53318b0012d7c6c0005da2d30000000a41a..."} 
[2026-04-22 18:09:52] local.INFO: Processing buffer {"connection_id":50873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53318b0012d7c6c0005da2d30000000a41a..."} 
[2026-04-22 18:09:52] local.INFO: Packet analysis {"connection_id":50873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:09:52] local.INFO: Extracted packet for processing {"connection_id":50873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:09:52] local.INFO: GPS Element Parsed {"raw_longitude":763128832,"raw_latitude":98184496,"longitude_deg":76.3128832,"latitude_deg":9.8184496,"altitude":0,"angle":164,"satellites":26,"speed":30,"hex_longitude":"2d7c6c00","hex_latitude":"05da2d30","is_valid_coordinates":true} 
[2026-04-22 18:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876545792001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74858638564392960,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962444758581385216,"note":"Value kept but may cause issues"} 
[2026-04-22 18:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776861518000,"timestamp_ms":1776861518000,"timestamp_seconds":1776861518,"priority":1,"record_length":96,"hex_timestamp":"0000019db53318b0"} 
[2026-04-22 18:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:09: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-22 18:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 18:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":50873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":50873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":50873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876545792001,"66":13428,"187":206,"85":15104,"24":30,"16":74858638564392960,"45":8962444758581385216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 18:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876545792001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:09:52] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 18:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74858638564392960,"km_value":74858638564392.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962444758581385216,"description":"Unknown IO ID 45"} 
[2026-04-22 18:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876545792001,"power":13428,"unknown_187":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8962444758581385216}} 
[2026-04-22 18:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":50873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:09:52] local.INFO: GPS data processed {"connection_id":50873,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:09:52] local.INFO: Acknowledgment sent {"connection_id":50873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:09:55] local.INFO: TCP Data received {"connection_id":50475,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:09:55] local.INFO: Processing buffer {"connection_id":50475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:09:55] local.INFO: IMEI packet received {"connection_id":50475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":50475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:10:02] local.INFO: TCP Data received {"connection_id":51425,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:10:02] local.INFO: Processing buffer {"connection_id":51425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:10:02] local.INFO: Packet analysis {"connection_id":51425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:10:02] local.INFO: Extracted packet for processing {"connection_id":51425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:02] 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-22 18:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18: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-22 18:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:10:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":51425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:10:02] local.INFO: GPS data processed {"connection_id":51425,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:10:02] local.INFO: Acknowledgment sent {"connection_id":51425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:10:04] local.INFO: TCP Data received {"connection_id":50739,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db531ebe8012d196480071fed48003d00701d..."} 
[2026-04-22 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db531ebe8012d196480071fed48003d00701d..."} 
[2026-04-22 18:10:04] local.INFO: Processing buffer {"connection_id":50739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db531ebe8012d196480071fed48003d00701d..."} 
[2026-04-22 18:10:04] local.INFO: Packet analysis {"connection_id":50739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db531"} 
[2026-04-22 18:10:04] local.INFO: Extracted packet for processing {"connection_id":50739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db531"} 
[2026-04-22 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":29,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876523520001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10: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-22 18:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861441000,"timestamp_ms":1776861441000,"timestamp_seconds":1776861441,"priority":1,"record_length":96,"hex_timestamp":"0000019db531ebe8"} 
[2026-04-22 18:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 18:10:04] 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-22 18:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:10:04] 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-22 18:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876523520001,"66":12504,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876523520001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:10:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876523520001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":50739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:10:04] local.INFO: GPS data processed {"connection_id":50739,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:10:04] local.INFO: Acknowledgment sent {"connection_id":50739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:10:10] local.INFO: TCP Data received {"connection_id":50476,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:10:10] local.INFO: Processing buffer {"connection_id":50476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:10:10] local.INFO: IMEI packet received {"connection_id":50476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":50476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:10:14] local.INFO: TCP Data received {"connection_id":50476,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:10:14] local.INFO: Processing buffer {"connection_id":50476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:10:14] local.INFO: IMEI packet received {"connection_id":50476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":50476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:10:15] local.INFO: TCP Data received {"connection_id":50476,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5334790012d7c754005da08b0000300a81a..."} 
[2026-04-22 18:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5334790012d7c754005da08b0000300a81a..."} 
[2026-04-22 18:10:15] local.INFO: Processing buffer {"connection_id":50476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5334790012d7c754005da08b0000300a81a..."} 
[2026-04-22 18:10:15] local.INFO: Packet analysis {"connection_id":50476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:10:15] local.INFO: Extracted packet for processing {"connection_id":50476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763131200,"raw_latitude":98175152,"longitude_deg":76.31312,"latitude_deg":9.8175152,"altitude":3,"angle":168,"satellites":26,"speed":32,"hex_longitude":"2d7c7540","hex_latitude":"05da08b0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876548608001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74859106715828224,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965540983323045888,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776861530000,"timestamp_ms":1776861530000,"timestamp_seconds":1776861530,"priority":1,"record_length":96,"hex_timestamp":"0000019db5334790"} 
[2026-04-22 18: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-22 18:10: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-22 18: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-22 18:10:15] 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-22 18: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-22 18: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-22 18:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876548608001,"66":13787,"187":206,"85":15104,"24":32,"16":74859106715828224,"45":8965540983323045888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 18:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876548608001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:10:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 18:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74859106715828224,"km_value":74859106715828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965540983323045888,"description":"Unknown IO ID 45"} 
[2026-04-22 18:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876548608001,"power":13787,"unknown_187":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8965540983323045888}} 
[2026-04-22 18:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":50476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:10:15] local.INFO: GPS data processed {"connection_id":50476,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:10:15] local.INFO: Acknowledgment sent {"connection_id":50476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:10:25] local.INFO: TCP Data received {"connection_id":51426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:10:25] local.INFO: Processing buffer {"connection_id":51426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:10:25] local.INFO: IMEI packet received {"connection_id":51426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":51426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:10:27] local.INFO: TCP Data received {"connection_id":50740,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:10:27] local.INFO: Processing buffer {"connection_id":50740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:10:27] local.INFO: IMEI packet received {"connection_id":50740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:10:31] local.INFO: TCP Data received {"connection_id":51426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:10:31] local.INFO: Processing buffer {"connection_id":51426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:10:31] local.INFO: IMEI packet received {"connection_id":51426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":51426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:10:31] local.INFO: TCP Data received {"connection_id":51426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:10:31] local.INFO: Processing buffer {"connection_id":51426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:10:31] local.INFO: Packet analysis {"connection_id":51426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:10:31] local.INFO: Extracted packet for processing {"connection_id":51426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:10:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:31] 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-22 18:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:10: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-22 18:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:10: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-22 18:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:10:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":51426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:10:31] local.INFO: GPS data processed {"connection_id":51426,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:10:31] local.INFO: Acknowledgment sent {"connection_id":51426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:10:32] local.INFO: TCP Data received {"connection_id":50740,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:10:32] local.INFO: Processing buffer {"connection_id":50740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:10:32] local.INFO: IMEI packet received {"connection_id":50740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:10:33] local.INFO: TCP Data received {"connection_id":50740,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5323df0012d196480071fed48003d00701f..."} 
[2026-04-22 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5323df0012d196480071fed48003d00701f..."} 
[2026-04-22 18:10:33] local.INFO: Processing buffer {"connection_id":50740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5323df0012d196480071fed48003d00701f..."} 
[2026-04-22 18:10:33] local.INFO: Packet analysis {"connection_id":50740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:10:33] local.INFO: Extracted packet for processing {"connection_id":50740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":31,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876528896001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10: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-22 18:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861462000,"timestamp_ms":1776861462000,"timestamp_seconds":1776861462,"priority":1,"record_length":96,"hex_timestamp":"0000019db5323df0"} 
[2026-04-22 18:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 18:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:10:33] 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-22 18:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876528896001,"66":12515,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876528896001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:10:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876528896001,"power":12515,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":50740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:10:33] local.INFO: GPS data processed {"connection_id":50740,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:10:33] local.INFO: Acknowledgment sent {"connection_id":50740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:10:46] local.INFO: TCP Data received {"connection_id":50476,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5337288012d7c7c4005d9e488000200ab1d..."} 
[2026-04-22 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5337288012d7c7c4005d9e488000200ab1d..."} 
[2026-04-22 18:10:46] local.INFO: Processing buffer {"connection_id":50476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5337288012d7c7c4005d9e488000200ab1d..."} 
[2026-04-22 18:10:46] local.INFO: Packet analysis {"connection_id":50476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:10:46] local.INFO: Extracted packet for processing {"connection_id":50476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763132992,"raw_latitude":98165896,"longitude_deg":76.3132992,"latitude_deg":9.8165896,"altitude":2,"angle":171,"satellites":29,"speed":23,"hex_longitude":"2d7c7c40","hex_latitude":"05d9e488","is_valid_coordinates":true} 
[2026-04-22 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876551680001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74859561982361600,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968144626855227392,"note":"Value kept but may cause issues"} 
[2026-04-22 18:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776861541000,"timestamp_ms":1776861541000,"timestamp_seconds":1776861541,"priority":1,"record_length":96,"hex_timestamp":"0000019db5337288"} 
[2026-04-22 18:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-22 18:10:46] 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-22 18:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876551680001,"66":13678,"187":206,"85":15104,"24":23,"16":74859561982361600,"45":8968144626855227392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 18:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876551680001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:10:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 18:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74859561982361600,"km_value":74859561982361.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968144626855227392,"description":"Unknown IO ID 45"} 
[2026-04-22 18:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876551680001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8968144626855227392}} 
[2026-04-22 18:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":50476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:10:46] local.INFO: GPS data processed {"connection_id":50476,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:10:46] local.INFO: Acknowledgment sent {"connection_id":50476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:11:02] local.INFO: TCP Data received {"connection_id":51426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:11:02] local.INFO: Processing buffer {"connection_id":51426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:11:02] local.INFO: Packet analysis {"connection_id":51426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:11:02] local.INFO: Extracted packet for processing {"connection_id":51426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:02] 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-22 18:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18: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-22 18:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:11:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":51426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:11:03] local.INFO: GPS data processed {"connection_id":51426,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:11:03] local.INFO: Acknowledgment sent {"connection_id":51426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:11:04] local.INFO: TCP Data received {"connection_id":50740,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5328ff8012d196480071fed48003d007020..."} 
[2026-04-22 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5328ff8012d196480071fed48003d007020..."} 
[2026-04-22 18:11:04] local.INFO: Processing buffer {"connection_id":50740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5328ff8012d196480071fed48003d007020..."} 
[2026-04-22 18:11:04] local.INFO: Packet analysis {"connection_id":50740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:11:04] local.INFO: Extracted packet for processing {"connection_id":50740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876534272001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11: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-22 18:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861483000,"timestamp_ms":1776861483000,"timestamp_seconds":1776861483,"priority":1,"record_length":96,"hex_timestamp":"0000019db5328ff8"} 
[2026-04-22 18:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-22 18:11:04] 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-22 18:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:11:04] 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-22 18:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876534272001,"66":12504,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876534272001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:11:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876534272001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":50740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:11:04] local.INFO: GPS data processed {"connection_id":50740,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:11:04] local.INFO: Acknowledgment sent {"connection_id":50740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:11:10] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:11:10] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:11:10] local.INFO: IMEI packet received {"connection_id":50874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":50874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:11:15] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:11:15] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:11:15] local.INFO: IMEI packet received {"connection_id":50874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":50874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:11:16] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db533b8d8012d7c824005d9c280000200a91c..."} 
[2026-04-22 18:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db533b8d8012d7c824005d9c280000200a91c..."} 
[2026-04-22 18:11:16] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db533b8d8012d7c824005d9c280000200a91c..."} 
[2026-04-22 18:11:16] local.INFO: Packet analysis {"connection_id":50874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:11:16] local.INFO: Extracted packet for processing {"connection_id":50874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:11:16] local.INFO: GPS Element Parsed {"raw_longitude":763134528,"raw_latitude":98157184,"longitude_deg":76.3134528,"latitude_deg":9.8157184,"altitude":2,"angle":169,"satellites":28,"speed":22,"hex_longitude":"2d7c8240","hex_latitude":"05d9c280","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876554496001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74859991479091200,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970114951689832448,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776861559000,"timestamp_ms":1776861559000,"timestamp_seconds":1776861559,"priority":1,"record_length":96,"hex_timestamp":"0000019db533b8d8"} 
[2026-04-22 18: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-22 18:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 18:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876554496001,"66":13319,"187":206,"85":15104,"24":22,"16":74859991479091200,"45":8970114951689832448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 18:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876554496001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:11:16] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 18:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74859991479091200,"km_value":74859991479091.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970114951689832448,"description":"Unknown IO ID 45"} 
[2026-04-22 18:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876554496001,"power":13319,"unknown_187":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8970114951689832448}} 
[2026-04-22 18:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":50874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:11:16] local.INFO: GPS data processed {"connection_id":50874,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:11:16] local.INFO: Acknowledgment sent {"connection_id":50874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:11:27] local.INFO: TCP Data received {"connection_id":51428,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:11:27] local.INFO: Processing buffer {"connection_id":51428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:11:27] local.INFO: IMEI packet received {"connection_id":51428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":51428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:11:29] local.INFO: TCP Data received {"connection_id":51428,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:11:29] local.INFO: Processing buffer {"connection_id":51428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:11:29] local.INFO: IMEI packet received {"connection_id":51428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":51428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:11:31] local.INFO: TCP Data received {"connection_id":51427,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:11:31] local.INFO: Processing buffer {"connection_id":51427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:11:31] local.INFO: IMEI packet received {"connection_id":51427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":51427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:11:32] local.INFO: TCP Data received {"connection_id":51428,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:11:32] local.INFO: Processing buffer {"connection_id":51428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:11:32] local.INFO: IMEI packet received {"connection_id":51428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":51428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:11:33] local.INFO: TCP Data received {"connection_id":51428,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db532e200012d196480071fed48003d007022..."} 
[2026-04-22 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db532e200012d196480071fed48003d007022..."} 
[2026-04-22 18:11:33] local.INFO: Processing buffer {"connection_id":51428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db532e200012d196480071fed48003d007022..."} 
[2026-04-22 18:11:33] local.INFO: Packet analysis {"connection_id":51428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:11:33] local.INFO: Extracted packet for processing {"connection_id":51428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876539648001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11: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-22 18:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861504000,"timestamp_ms":1776861504000,"timestamp_seconds":1776861504,"priority":1,"record_length":96,"hex_timestamp":"0000019db532e200"} 
[2026-04-22 18:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 18:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:11:33] 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-22 18:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876539648001,"66":12504,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876539648001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:11:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876539648001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":51428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:11:33] local.INFO: GPS data processed {"connection_id":51428,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:11:33] local.INFO: Acknowledgment sent {"connection_id":51428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:11:36] local.INFO: TCP Data received {"connection_id":51427,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:11:36] local.INFO: Processing buffer {"connection_id":51427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:11:36] local.INFO: IMEI packet received {"connection_id":51427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":51427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:11:36] local.INFO: TCP Data received {"connection_id":51427,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:11:36] local.INFO: Processing buffer {"connection_id":51427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:11:36] local.INFO: Packet analysis {"connection_id":51427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:11:36] local.INFO: Extracted packet for processing {"connection_id":51427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11: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-22 18:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:11: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-22 18:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:11: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-22 18:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":51427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:11:36] local.INFO: GPS data processed {"connection_id":51427,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:11:36] local.INFO: Acknowledgment sent {"connection_id":51427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:11:41] local.INFO: TCP Data received {"connection_id":51427,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:11:41] local.INFO: Processing buffer {"connection_id":51427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:11:41] local.INFO: Packet analysis {"connection_id":51427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:11:41] local.INFO: Extracted packet for processing {"connection_id":51427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:41] 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-22 18:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:11:41] 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-22 18:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:11:41] 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-22 18:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:11:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":51427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:11:41] local.INFO: GPS data processed {"connection_id":51427,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:11:41] local.INFO: Acknowledgment sent {"connection_id":51427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:11:48] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db535a120012d7c9e0005d87328000200b01d..."} 
[2026-04-22 18:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db535a120012d7c9e0005d87328000200b01d..."} 
[2026-04-22 18:11:48] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db535a120012d7c9e0005d87328000200b01d..."} 
[2026-04-22 18:11:48] local.INFO: Packet analysis {"connection_id":50874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:11:48] local.INFO: Extracted packet for processing {"connection_id":50874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:11:48] local.INFO: GPS Element Parsed {"raw_longitude":763141632,"raw_latitude":98071336,"longitude_deg":76.3141632,"latitude_deg":9.8071336,"altitude":2,"angle":176,"satellites":29,"speed":43,"hex_longitude":"2d7c9e00","hex_latitude":"05d87328","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876588800001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74864191957106688,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979051782178705408,"note":"Value kept but may cause issues"} 
[2026-04-22 18:11:48] 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-22 18:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776861684000,"timestamp_ms":1776861684000,"timestamp_seconds":1776861684,"priority":1,"record_length":96,"hex_timestamp":"0000019db535a120"} 
[2026-04-22 18: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-22 18:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 18:11:48] 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-22 18: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-22 18: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-22 18:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876588800001,"66":13820,"197":206,"85":15104,"24":43,"16":74864191957106688,"45":8979051782178705408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-22 18:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876588800001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:11:48] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-22 18:11:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74864191957106688,"km_value":74864191957106.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979051782178705408,"description":"Unknown IO ID 45"} 
[2026-04-22 18:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876588800001,"power":13820,"unknown_197":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8979051782178705408}} 
[2026-04-22 18:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":50874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:11:48] local.INFO: GPS data processed {"connection_id":50874,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:11:48] local.INFO: Acknowledgment sent {"connection_id":50874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:12:04] local.INFO: TCP Data received {"connection_id":51428,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5333408012d196480071fed48003d007020..."} 
[2026-04-22 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5333408012d196480071fed48003d007020..."} 
[2026-04-22 18:12:04] local.INFO: Processing buffer {"connection_id":51428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5333408012d196480071fed48003d007020..."} 
[2026-04-22 18:12:04] local.INFO: Packet analysis {"connection_id":51428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:12:04] local.INFO: Extracted packet for processing {"connection_id":51428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876545024001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12: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-22 18:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861525000,"timestamp_ms":1776861525000,"timestamp_seconds":1776861525,"priority":1,"record_length":96,"hex_timestamp":"0000019db5333408"} 
[2026-04-22 18:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 18:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:12:04] 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-22 18:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876545024001,"66":12504,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876545024001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:12:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876545024001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":51428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:12:04] local.INFO: GPS data processed {"connection_id":51428,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:12:04] local.INFO: Acknowledgment sent {"connection_id":51428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:12:10] local.INFO: TCP Data received {"connection_id":51429,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:12:10] local.INFO: Processing buffer {"connection_id":51429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:12:10] local.INFO: IMEI packet received {"connection_id":51429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":51429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:12:11] local.INFO: TCP Data received {"connection_id":51429,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:12:11] local.INFO: Processing buffer {"connection_id":51429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:12:11] local.INFO: IMEI packet received {"connection_id":51429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":51429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:12:15] local.INFO: TCP Data received {"connection_id":51429,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:12:15] local.INFO: Processing buffer {"connection_id":51429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:12:15] local.INFO: IMEI packet received {"connection_id":51429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":51429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:12:16] local.INFO: TCP Data received {"connection_id":51429,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db535c830012d7c9f8005d84d78000100b01d..."} 
[2026-04-22 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db535c830012d7c9f8005d84d78000100b01d..."} 
[2026-04-22 18:12:16] local.INFO: Processing buffer {"connection_id":51429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db535c830012d7c9f8005d84d78000100b01d..."} 
[2026-04-22 18:12:16] local.INFO: Packet analysis {"connection_id":51429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:12:16] local.INFO: Extracted packet for processing {"connection_id":51429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763142016,"raw_latitude":98061688,"longitude_deg":76.3142016,"latitude_deg":9.8061688,"altitude":1,"angle":176,"satellites":29,"speed":40,"hex_longitude":"2d7c9f80","hex_latitude":"05d84d78","is_valid_coordinates":true} 
[2026-04-22 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876591104001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74864660108541952,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979614732129609728,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:16] 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-22 18:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776861694000,"timestamp_ms":1776861694000,"timestamp_seconds":1776861694,"priority":1,"record_length":96,"hex_timestamp":"0000019db535c830"} 
[2026-04-22 18:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:12: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-22 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 18:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876591104001,"66":13678,"197":206,"85":15104,"24":40,"16":74864660108541952,"45":8979614732129609728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-22 18:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876591104001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:12:16] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-22 18:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74864660108541952,"km_value":74864660108541.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979614732129609728,"description":"Unknown IO ID 45"} 
[2026-04-22 18:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876591104001,"power":13678,"unknown_197":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8979614732129609728}} 
[2026-04-22 18:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":51429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:12:16] local.INFO: GPS data processed {"connection_id":51429,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:12:16] local.INFO: Acknowledgment sent {"connection_id":51429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:12:26] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:12:26] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:12:26] local.INFO: IMEI packet received {"connection_id":50875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":50875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:12:27] local.INFO: TCP Data received {"connection_id":51430,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:12:27] local.INFO: Processing buffer {"connection_id":51430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:12:27] local.INFO: IMEI packet received {"connection_id":51430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":51430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:12:31] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:12:31] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:12:31] local.INFO: IMEI packet received {"connection_id":50875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":50875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:12:31] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:12:31] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:12:31] local.INFO: Packet analysis {"connection_id":50875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:12:31] local.INFO: Extracted packet for processing {"connection_id":50875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:31] 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-22 18:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18: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-22 18:12: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-22 18: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:12: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-22 18: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-22 18: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-22 18:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":50875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:12:31] local.INFO: GPS data processed {"connection_id":50875,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:12:31] local.INFO: Acknowledgment sent {"connection_id":50875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:12:32] local.INFO: TCP Data received {"connection_id":51430,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:12:32] local.INFO: Processing buffer {"connection_id":51430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:12:32] local.INFO: IMEI packet received {"connection_id":51430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":51430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:12:33] local.INFO: TCP Data received {"connection_id":51430,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5338610012d196480071fed48003d007022..."} 
[2026-04-22 18:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5338610012d196480071fed48003d007022..."} 
[2026-04-22 18:12:33] local.INFO: Processing buffer {"connection_id":51430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5338610012d196480071fed48003d007022..."} 
[2026-04-22 18:12:33] local.INFO: Packet analysis {"connection_id":51430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:12:33] local.INFO: Extracted packet for processing {"connection_id":51430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876550400001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12: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-22 18:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861546000,"timestamp_ms":1776861546000,"timestamp_seconds":1776861546,"priority":1,"record_length":96,"hex_timestamp":"0000019db5338610"} 
[2026-04-22 18: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-22 18:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 18:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:12:33] 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-22 18:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876550400001,"66":12504,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876550400001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:12:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876550400001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":51430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:12:33] local.INFO: GPS data processed {"connection_id":51430,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:12:33] local.INFO: Acknowledgment sent {"connection_id":51430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:12:47] local.INFO: TCP Data received {"connection_id":51429,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db535e770012d7ca0c005d829e8000200b21d..."} 
[2026-04-22 18:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db535e770012d7ca0c005d829e8000200b21d..."} 
[2026-04-22 18:12:47] local.INFO: Processing buffer {"connection_id":51429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db535e770012d7ca0c005d829e8000200b21d..."} 
[2026-04-22 18:12:47] local.INFO: Packet analysis {"connection_id":51429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:12:47] local.INFO: Extracted packet for processing {"connection_id":51429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763142336,"raw_latitude":98052584,"longitude_deg":76.3142336,"latitude_deg":9.8052584,"altitude":2,"angle":178,"satellites":29,"speed":51,"hex_longitude":"2d7ca0c0","hex_latitude":"05d829e8","is_valid_coordinates":true} 
[2026-04-22 18:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876593664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74865102490173440,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980036944592205824,"note":"Value kept but may cause issues"} 
[2026-04-22 18:12:47] 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-22 18:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776861702000,"timestamp_ms":1776861702000,"timestamp_seconds":1776861702,"priority":1,"record_length":96,"hex_timestamp":"0000019db535e770"} 
[2026-04-22 18:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:12: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-22 18:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 18:12: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-22 18:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876593664001,"66":13624,"197":206,"85":15104,"24":51,"16":74865102490173440,"45":8980036944592205824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-22 18:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876593664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:12:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-22 18:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74865102490173440,"km_value":74865102490173.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980036944592205824,"description":"Unknown IO ID 45"} 
[2026-04-22 18:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876593664001,"power":13624,"unknown_197":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8980036944592205824}} 
[2026-04-22 18:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":51429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:12:47] local.INFO: GPS data processed {"connection_id":51429,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:12:47] local.INFO: Acknowledgment sent {"connection_id":51429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:13:03] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:13:03] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:13:03] local.INFO: Packet analysis {"connection_id":50875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:13:03] local.INFO: Extracted packet for processing {"connection_id":50875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13: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-22 18:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18: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-22 18: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-22 18:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:13: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-22 18: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-22 18: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-22 18:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":50875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:13:03] local.INFO: GPS data processed {"connection_id":50875,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:13:03] local.INFO: Acknowledgment sent {"connection_id":50875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:13:04] local.INFO: TCP Data received {"connection_id":51430,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db533d818012d196480071fed48003d007023..."} 
[2026-04-22 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db533d818012d196480071fed48003d007023..."} 
[2026-04-22 18:13:04] local.INFO: Processing buffer {"connection_id":51430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db533d818012d196480071fed48003d007023..."} 
[2026-04-22 18:13:04] local.INFO: Packet analysis {"connection_id":51430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:13:04] local.INFO: Extracted packet for processing {"connection_id":51430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 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-22 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876555776001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13: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-22 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861567000,"timestamp_ms":1776861567000,"timestamp_seconds":1776861567,"priority":1,"record_length":96,"hex_timestamp":"0000019db533d818"} 
[2026-04-22 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-22 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 18:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:13:04] 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-22 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876555776001,"66":12461,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876555776001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:13:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876555776001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":51430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:13:04] local.INFO: GPS data processed {"connection_id":51430,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:13:04] local.INFO: Acknowledgment sent {"connection_id":51430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:13:15] local.INFO: TCP Data received {"connection_id":50741,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:13:15] local.INFO: Processing buffer {"connection_id":50741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:13:15] local.INFO: IMEI packet received {"connection_id":50741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":50741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:13:20] local.INFO: TCP Data received {"connection_id":50741,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:13:20] local.INFO: Processing buffer {"connection_id":50741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:13:20] local.INFO: IMEI packet received {"connection_id":50741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":50741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:13:21] local.INFO: TCP Data received {"connection_id":50741,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53602c8012d7ca18005d806e8000300b21d..."} 
[2026-04-22 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53602c8012d7ca18005d806e8000300b21d..."} 
[2026-04-22 18:13:21] local.INFO: Processing buffer {"connection_id":50741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53602c8012d7ca18005d806e8000300b21d..."} 
[2026-04-22 18:13:21] local.INFO: Packet analysis {"connection_id":50741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:13:21] local.INFO: Extracted packet for processing {"connection_id":50741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763142528,"raw_latitude":98043624,"longitude_deg":76.3142528,"latitude_deg":9.8043624,"altitude":3,"angle":178,"satellites":29,"speed":48,"hex_longitude":"2d7ca180","hex_latitude":"05d806e8","is_valid_coordinates":true} 
[2026-04-22 18:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876595712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74865536281870336,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980388788310763520,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:21] 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-22 18:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776861709000,"timestamp_ms":1776861709000,"timestamp_seconds":1776861709,"priority":1,"record_length":96,"hex_timestamp":"0000019db53602c8"} 
[2026-04-22 18:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 18:13:21] 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-22 18:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":50741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":50741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":50741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876595712001,"66":13352,"196":206,"85":15104,"24":48,"16":74865536281870336,"45":8980388788310763520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-22 18:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876595712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:13:21] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-22 18:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74865536281870336,"km_value":74865536281870.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980388788310763520,"description":"Unknown IO ID 45"} 
[2026-04-22 18:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876595712001,"power":13352,"unknown_196":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8980388788310763520}} 
[2026-04-22 18:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":50741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:13:21] local.INFO: GPS data processed {"connection_id":50741,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:13:21] local.INFO: Acknowledgment sent {"connection_id":50741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:13:23] local.INFO: TCP Data received {"connection_id":50741,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53625f0012d7ca34005d7e0c0000300af1c..."} 
[2026-04-22 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53625f0012d7ca34005d7e0c0000300af1c..."} 
[2026-04-22 18:13:23] local.INFO: Processing buffer {"connection_id":50741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53625f0012d7ca34005d7e0c0000300af1c..."} 
[2026-04-22 18:13:23] local.INFO: Packet analysis {"connection_id":50741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:13:23] local.INFO: Extracted packet for processing {"connection_id":50741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763142976,"raw_latitude":98033856,"longitude_deg":76.3142976,"latitude_deg":9.8033856,"altitude":3,"angle":175,"satellites":28,"speed":38,"hex_longitude":"2d7ca340","hex_latitude":"05d7e0c0","is_valid_coordinates":true} 
[2026-04-22 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876597504001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74866013023240192,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980599894541002752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:23] 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-22 18:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776861718000,"timestamp_ms":1776861718000,"timestamp_seconds":1776861718,"priority":1,"record_length":96,"hex_timestamp":"0000019db53625f0"} 
[2026-04-22 18:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-22 18:13:23] 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-22 18:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":50741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":50741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":50741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876597504001,"66":13135,"196":206,"85":15104,"24":38,"16":74866013023240192,"45":8980599894541002752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-22 18:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876597504001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:13:23] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-22 18:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74866013023240192,"km_value":74866013023240.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980599894541002752,"description":"Unknown IO ID 45"} 
[2026-04-22 18:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876597504001,"power":13135,"unknown_196":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8980599894541002752}} 
[2026-04-22 18:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":50741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:13:23] local.INFO: GPS data processed {"connection_id":50741,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:13:23] local.INFO: Acknowledgment sent {"connection_id":50741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:13:25] local.INFO: TCP Data received {"connection_id":50876,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:13:25] local.INFO: Processing buffer {"connection_id":50876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:13:25] local.INFO: IMEI packet received {"connection_id":50876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":50876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:13:31] local.INFO: TCP Data received {"connection_id":50876,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:13:31] local.INFO: Processing buffer {"connection_id":50876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:13:31] local.INFO: IMEI packet received {"connection_id":50876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":50876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:13:31] local.INFO: TCP Data received {"connection_id":50876,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:13:31] local.INFO: Processing buffer {"connection_id":50876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:13:31] local.INFO: Packet analysis {"connection_id":50876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:13:31] local.INFO: Extracted packet for processing {"connection_id":50876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:31] 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-22 18:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18: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-22 18:13: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-22 18: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:13: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-22 18: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-22 18: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-22 18:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":50876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:13:31] local.INFO: GPS data processed {"connection_id":50876,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:13:31] local.INFO: Acknowledgment sent {"connection_id":50876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:13:32] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:13:32] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:13:32] local.INFO: IMEI packet received {"connection_id":50877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:13:35] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:13:35] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:13:35] local.INFO: IMEI packet received {"connection_id":50877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":50877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:13:36] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5342a20012d196480071fed48003d007022..."} 
[2026-04-22 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5342a20012d196480071fed48003d007022..."} 
[2026-04-22 18:13:36] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5342a20012d196480071fed48003d007022..."} 
[2026-04-22 18:13:36] local.INFO: Packet analysis {"connection_id":50877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db534"} 
[2026-04-22 18:13:36] local.INFO: Extracted packet for processing {"connection_id":50877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db534"} 
[2026-04-22 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876561152001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776861588000,"timestamp_ms":1776861588000,"timestamp_seconds":1776861588,"priority":1,"record_length":96,"hex_timestamp":"0000019db5342a20"} 
[2026-04-22 18: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-22 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876561152001,"66":12461,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876561152001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:13:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876561152001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":50877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:13:36] local.INFO: GPS data processed {"connection_id":50877,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:13:36] local.INFO: Acknowledgment sent {"connection_id":50877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:13:37] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5347c28012d196480071fed48003d007020..."} 
[2026-04-22 18:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5347c28012d196480071fed48003d007020..."} 
[2026-04-22 18:13:37] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5347c28012d196480071fed48003d007020..."} 
[2026-04-22 18:13:37] local.INFO: Packet analysis {"connection_id":50877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db534"} 
[2026-04-22 18:13:37] local.INFO: Extracted packet for processing {"connection_id":50877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db534"} 
[2026-04-22 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876566528001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776861609000,"timestamp_ms":1776861609000,"timestamp_seconds":1776861609,"priority":1,"record_length":96,"hex_timestamp":"0000019db5347c28"} 
[2026-04-22 18:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:13:37] 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-22 18:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876566528001,"66":12428,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876566528001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:13:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876566528001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":50877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:13:37] local.INFO: GPS data processed {"connection_id":50877,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:13:37] local.INFO: Acknowledgment sent {"connection_id":50877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:13:54] local.INFO: TCP Data received {"connection_id":50741,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53650e8012d7ca88005d7bbb0000100ae1d..."} 
[2026-04-22 18:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53650e8012d7ca88005d7bbb0000100ae1d..."} 
[2026-04-22 18:13:54] local.INFO: Processing buffer {"connection_id":50741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53650e8012d7ca88005d7bbb0000100ae1d..."} 
[2026-04-22 18:13:54] local.INFO: Packet analysis {"connection_id":50741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:13:54] local.INFO: Extracted packet for processing {"connection_id":50741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763144320,"raw_latitude":98024368,"longitude_deg":76.314432,"latitude_deg":9.8024368,"altitude":1,"angle":174,"satellites":29,"speed":30,"hex_longitude":"2d7ca880","hex_latitude":"05d7bbb0","is_valid_coordinates":true} 
[2026-04-22 18:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876599808001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74866476879708160,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981092475747745792,"note":"Value kept but may cause issues"} 
[2026-04-22 18:13:54] 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-22 18:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776861729000,"timestamp_ms":1776861729000,"timestamp_seconds":1776861729,"priority":1,"record_length":96,"hex_timestamp":"0000019db53650e8"} 
[2026-04-22 18:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:13: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-22 18:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-22 18:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":50741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":50741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":50741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876599808001,"66":13580,"195":206,"85":15104,"24":30,"16":74866476879708160,"45":8981092475747745792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-22 18:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876599808001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:13:54] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-22 18:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74866476879708160,"km_value":74866476879708.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981092475747745792,"description":"Unknown IO ID 45"} 
[2026-04-22 18:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876599808001,"power":13580,"unknown_195":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8981092475747745792}} 
[2026-04-22 18:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":50741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:13:54] local.INFO: GPS data processed {"connection_id":50741,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:13:54] local.INFO: Acknowledgment sent {"connection_id":50741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:14:02] local.INFO: TCP Data received {"connection_id":50876,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:14:02] local.INFO: Processing buffer {"connection_id":50876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:14:02] local.INFO: Packet analysis {"connection_id":50876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:14:02] local.INFO: Extracted packet for processing {"connection_id":50876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:02] 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-22 18:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18: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-22 18:14: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-22 18: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":50876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:14:02] local.INFO: GPS data processed {"connection_id":50876,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:14:02] local.INFO: Acknowledgment sent {"connection_id":50876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:14:06] local.INFO: TCP Data received {"connection_id":50480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:14:06] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:14:06] local.INFO: IMEI packet received {"connection_id":50480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":50480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:14:08] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db534ce30012d196480071fed48003d007021..."} 
[2026-04-22 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db534ce30012d196480071fed48003d007021..."} 
[2026-04-22 18:14:08] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db534ce30012d196480071fed48003d007021..."} 
[2026-04-22 18:14:08] local.INFO: Packet analysis {"connection_id":50877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db534"} 
[2026-04-22 18:14:08] local.INFO: Extracted packet for processing {"connection_id":50877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db534"} 
[2026-04-22 18:14:08] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876571904001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776861630000,"timestamp_ms":1776861630000,"timestamp_seconds":1776861630,"priority":1,"record_length":96,"hex_timestamp":"0000019db534ce30"} 
[2026-04-22 18:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:14:08] 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-22 18:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876571904001,"66":12461,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876571904001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:14:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876571904001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":50877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:14:08] local.INFO: GPS data processed {"connection_id":50877,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:14:08] local.INFO: Acknowledgment sent {"connection_id":50877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:14:10] local.INFO: TCP Data received {"connection_id":50480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:14:10] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:14:10] local.INFO: IMEI packet received {"connection_id":50480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":50480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:14:11] local.INFO: TCP Data received {"connection_id":50480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:14:11] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:14:11] local.INFO: IMEI packet received {"connection_id":50480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":50480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:14:11] local.INFO: TCP Data received {"connection_id":50480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db537eb10012d7ce50005d6cb180003007b1b..."} 
[2026-04-22 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db537eb10012d7ce50005d6cb180003007b1b..."} 
[2026-04-22 18:14:11] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db537eb10012d7ce50005d6cb180003007b1b..."} 
[2026-04-22 18:14:11] local.INFO: Packet analysis {"connection_id":50480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:14:11] local.INFO: Extracted packet for processing {"connection_id":50480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763159808,"raw_latitude":97962776,"longitude_deg":76.3159808,"latitude_deg":9.7962776,"altitude":3,"angle":123,"satellites":27,"speed":0,"hex_longitude":"2d7ce500","hex_latitude":"05d6cb18","is_valid_coordinates":true} 
[2026-04-22 18:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876628992001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74869569256161280,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999529086704103424,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:11] 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-22 18:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776861834000,"timestamp_ms":1776861834000,"timestamp_seconds":1776861834,"priority":1,"record_length":96,"hex_timestamp":"0000019db537eb10"} 
[2026-04-22 18:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 18:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876628992001,"66":13580,"30":206,"85":15104,"24":0,"16":74869569256161280,"45":8999529086704103424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876628992001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:14:11] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74869569256161280,"km_value":74869569256161.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999529086704103424,"description":"Unknown IO ID 45"} 
[2026-04-22 18:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876628992001,"power":13580,"unknown_30":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8999529086704103424}} 
[2026-04-22 18:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":50480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:14:12] local.INFO: GPS data processed {"connection_id":50480,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:14:12] local.INFO: Acknowledgment sent {"connection_id":50480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:14:25] local.INFO: TCP Data received {"connection_id":50481,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:14:25] local.INFO: Processing buffer {"connection_id":50481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:14:25] local.INFO: IMEI packet received {"connection_id":50481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":50481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:14:28] local.INFO: TCP Data received {"connection_id":51431,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:14:28] local.INFO: Processing buffer {"connection_id":51431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:14:28] local.INFO: IMEI packet received {"connection_id":51431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":51431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:14:31] local.INFO: TCP Data received {"connection_id":50481,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:14:31] local.INFO: Processing buffer {"connection_id":50481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:14:31] local.INFO: IMEI packet received {"connection_id":50481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":50481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:14:31] local.INFO: TCP Data received {"connection_id":50481,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:14:31] local.INFO: Processing buffer {"connection_id":50481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53391c8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:14:31] local.INFO: Packet analysis {"connection_id":50481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:14:31] local.INFO: Extracted packet for processing {"connection_id":50481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db533"} 
[2026-04-22 18:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876479488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:31] 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-22 18:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861549000,"timestamp_ms":1776861549000,"timestamp_seconds":1776861549,"priority":1,"record_length":96,"hex_timestamp":"0000019db53391c8"} 
[2026-04-22 18: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-22 18:14: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-22 18: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:14: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-22 18: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-22 18: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-22 18:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:14: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-22 18:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876479488001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876479488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876479488001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":50481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:14:31] local.INFO: GPS data processed {"connection_id":50481,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:14:31] local.INFO: Acknowledgment sent {"connection_id":50481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:14:32] local.INFO: TCP Data received {"connection_id":51431,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:14:32] local.INFO: Processing buffer {"connection_id":51431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:14:32] local.INFO: IMEI packet received {"connection_id":51431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":51431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:14:33] local.INFO: TCP Data received {"connection_id":51431,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5352038012d196480071fed48003d007022..."} 
[2026-04-22 18:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5352038012d196480071fed48003d007022..."} 
[2026-04-22 18:14:33] local.INFO: Processing buffer {"connection_id":51431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5352038012d196480071fed48003d007022..."} 
[2026-04-22 18:14:33] local.INFO: Packet analysis {"connection_id":51431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:14:33] local.INFO: Extracted packet for processing {"connection_id":51431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876577280001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14: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-22 18:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861651000,"timestamp_ms":1776861651000,"timestamp_seconds":1776861651,"priority":1,"record_length":96,"hex_timestamp":"0000019db5352038"} 
[2026-04-22 18: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-22 18:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:14:33] 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-22 18: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-22 18: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-22 18:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:14:33] 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-22 18:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876577280001,"66":12439,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876577280001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:14:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876577280001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":51431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:14:33] local.INFO: GPS data processed {"connection_id":51431,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:14:33] local.INFO: Acknowledgment sent {"connection_id":51431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:14:37] local.INFO: TCP Data received {"connection_id":51431,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5357240012d196480071fed48003d007021..."} 
[2026-04-22 18:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5357240012d196480071fed48003d007021..."} 
[2026-04-22 18:14:37] local.INFO: Processing buffer {"connection_id":51431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5357240012d196480071fed48003d007021..."} 
[2026-04-22 18:14:37] local.INFO: Packet analysis {"connection_id":51431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:14:37] local.INFO: Extracted packet for processing {"connection_id":51431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876582656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776861672000,"timestamp_ms":1776861672000,"timestamp_seconds":1776861672,"priority":1,"record_length":96,"hex_timestamp":"0000019db5357240"} 
[2026-04-22 18:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 18:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:14:37] 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-22 18:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876582656001,"66":12461,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876582656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:14:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876582656001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":51431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:14:37] local.INFO: GPS data processed {"connection_id":51431,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:14:37] local.INFO: Acknowledgment sent {"connection_id":51431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:14:42] local.INFO: TCP Data received {"connection_id":50480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db537eef8012d7ce50005d6caf00003008b1b..."} 
[2026-04-22 18:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db537eef8012d7ce50005d6caf00003008b1b..."} 
[2026-04-22 18:14:42] local.INFO: Processing buffer {"connection_id":50480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db537eef8012d7ce50005d6caf00003008b1b..."} 
[2026-04-22 18:14:42] local.INFO: Packet analysis {"connection_id":50480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:14:42] local.INFO: Extracted packet for processing {"connection_id":50480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763159808,"raw_latitude":97962736,"longitude_deg":76.3159808,"latitude_deg":9.7962736,"altitude":3,"angle":139,"satellites":27,"speed":0,"hex_longitude":"2d7ce500","hex_latitude":"05d6caf0","is_valid_coordinates":true} 
[2026-04-22 18:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876629504001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74869569256161280,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999599455448274944,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] 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-22 18:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776861835000,"timestamp_ms":1776861835000,"timestamp_seconds":1776861835,"priority":1,"record_length":96,"hex_timestamp":"0000019db537eef8"} 
[2026-04-22 18:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581692,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3040276752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":18432,"corrected_to":0} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":719658947681714176,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477662,"corrected_to":0} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3459252228,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634273972922143,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803826894,"corrected_to":0} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147866341,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407207,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":9,"raw_value":4247322624,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3607658496,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-4161319633990713341,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561116694564437,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-04-22 18:14:42] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,30,85,24,241,157,16,253,227,45,192,203,3,28,10,66,223,27,184,64,1,240,247,181,214,4,113,205,7,20,220,32,25,239,52,31,2,9,5,51,124,53,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":203,"original":18432,"validated":0},{"io_id":247,"original":13477662,"validated":0},{"io_id":205,"original":2803826894,"validated":0}]} 
[2026-04-22 18:14:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216308138008117248,"timestamp_seconds":216308138008117.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876629504001,"66":13526,"30":206,"85":15104,"24":0,"16":74869569256161280,"45":8999599455448274944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876629504001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:14:42] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74869569256161280,"km_value":74869569256161.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999599455448274944,"description":"Unknown IO ID 45"} 
[2026-04-22 18:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876629504001,"power":13526,"unknown_30":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8999599455448274944}} 
[2026-04-22 18:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":50480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:14:43] local.INFO: GPS data processed {"connection_id":50480,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:14:43] local.INFO: Acknowledgment sent {"connection_id":50480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:15:00] local.INFO: TCP Data received {"connection_id":51432,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:15:00] local.INFO: Processing buffer {"connection_id":51432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:15:00] local.INFO: IMEI packet received {"connection_id":51432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":51432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:15:02] local.INFO: TCP Data received {"connection_id":50481,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:15:02] local.INFO: Processing buffer {"connection_id":50481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:15:02] local.INFO: Packet analysis {"connection_id":50481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:15:02] local.INFO: Extracted packet for processing {"connection_id":50481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:02] 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-22 18:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:15: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-22 18:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:15:02] 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-22 18:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:15: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-22 18:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:15:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":50481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:15:02] local.INFO: GPS data processed {"connection_id":50481,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:15:02] local.INFO: Acknowledgment sent {"connection_id":50481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:15:08] local.INFO: TCP Data received {"connection_id":51431,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db535c448012d196480071fed48003d007020..."} 
[2026-04-22 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db535c448012d196480071fed48003d007020..."} 
[2026-04-22 18:15:08] local.INFO: Processing buffer {"connection_id":51431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db535c448012d196480071fed48003d007020..."} 
[2026-04-22 18:15:08] local.INFO: Packet analysis {"connection_id":51431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:15:08] local.INFO: Extracted packet for processing {"connection_id":51431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db535"} 
[2026-04-22 18:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876588032001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776861693000,"timestamp_ms":1776861693000,"timestamp_seconds":1776861693,"priority":1,"record_length":96,"hex_timestamp":"0000019db535c448"} 
[2026-04-22 18:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:15:08] 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-22 18:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:15:08] 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-22 18:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876588032001,"66":12461,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876588032001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:15:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876588032001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":51431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:15:09] local.INFO: GPS data processed {"connection_id":51431,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:15:09] local.INFO: Acknowledgment sent {"connection_id":51431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:15:09] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:15:09] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:15:09] local.INFO: IMEI packet received {"connection_id":50878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":50878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:15:10] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:15:10] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:15:10] local.INFO: IMEI packet received {"connection_id":50878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":50878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:15:15] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:15:15] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:15:15] local.INFO: IMEI packet received {"connection_id":50878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":50878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:15:16] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db537f2e0012d7ce54005d6ca800003009e1a..."} 
[2026-04-22 18:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db537f2e0012d7ce54005d6ca800003009e1a..."} 
[2026-04-22 18:15:16] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db537f2e0012d7ce54005d6ca800003009e1a..."} 
[2026-04-22 18:15:16] local.INFO: Packet analysis {"connection_id":50878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:15:16] local.INFO: Extracted packet for processing {"connection_id":50878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763159872,"raw_latitude":97962624,"longitude_deg":76.3159872,"latitude_deg":9.7962624,"altitude":3,"angle":158,"satellites":26,"speed":3,"hex_longitude":"2d7ce540","hex_latitude":"05d6ca80","is_valid_coordinates":true} 
[2026-04-22 18:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876629760001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74869577846095872,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999599455448264704,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:16] 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-22 18:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776861836000,"timestamp_ms":1776861836000,"timestamp_seconds":1776861836,"priority":1,"record_length":96,"hex_timestamp":"0000019db537f2e0"} 
[2026-04-22 18:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 18:15:16] 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-22 18:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876629760001,"66":13526,"30":206,"85":15104,"24":3,"16":74869577846095872,"45":8999599455448264704},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876629760001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:15:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74869577846095872,"km_value":74869577846095.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999599455448264704,"description":"Unknown IO ID 45"} 
[2026-04-22 18:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876629760001,"power":13526,"unknown_30":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8999599455448264704}} 
[2026-04-22 18:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":50878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:15:16] local.INFO: GPS data processed {"connection_id":50878,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:15:16] local.INFO: Acknowledgment sent {"connection_id":50878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:15:27] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:15:27] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:15:27] local.INFO: IMEI packet received {"connection_id":50482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:15:31] local.INFO: TCP Data received {"connection_id":50483,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:15:31] local.INFO: Processing buffer {"connection_id":50483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:15:31] local.INFO: IMEI packet received {"connection_id":50483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":50483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:15:32] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:15:32] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:15:32] local.INFO: IMEI packet received {"connection_id":50482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:15:33] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5361650012d196480071fed48003d00701f..."} 
[2026-04-22 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5361650012d196480071fed48003d00701f..."} 
[2026-04-22 18:15:33] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5361650012d196480071fed48003d00701f..."} 
[2026-04-22 18:15:33] local.INFO: Packet analysis {"connection_id":50482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:15:33] local.INFO: Extracted packet for processing {"connection_id":50482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":31,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876593408001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15: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-22 18:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861714000,"timestamp_ms":1776861714000,"timestamp_seconds":1776861714,"priority":1,"record_length":96,"hex_timestamp":"0000019db5361650"} 
[2026-04-22 18: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-22 18:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:15:33] 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-22 18: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-22 18: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-22 18:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:15:33] 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-22 18:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876593408001,"66":12439,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876593408001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:15:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876593408001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:15:33] local.INFO: GPS data processed {"connection_id":50482,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:15:33] local.INFO: Acknowledgment sent {"connection_id":50482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:15:36] local.INFO: TCP Data received {"connection_id":50483,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:15:36] local.INFO: Processing buffer {"connection_id":50483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:15:36] local.INFO: IMEI packet received {"connection_id":50483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":50483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:15:36] local.INFO: TCP Data received {"connection_id":50483,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:15:36] local.INFO: Processing buffer {"connection_id":50483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:15:36] local.INFO: Packet analysis {"connection_id":50483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:15:36] local.INFO: Extracted packet for processing {"connection_id":50483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15: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-22 18:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18: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-22 18:15: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:15:36] 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-22 18: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-22 18: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-22 18:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":50483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:15:36] local.INFO: GPS data processed {"connection_id":50483,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:15:36] local.INFO: Acknowledgment sent {"connection_id":50483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:15:41] local.INFO: TCP Data received {"connection_id":50483,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:15:41] local.INFO: Processing buffer {"connection_id":50483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:15:41] local.INFO: Packet analysis {"connection_id":50483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:15:41] local.INFO: Extracted packet for processing {"connection_id":50483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:41] 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-22 18:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 18:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:15:41] local.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-22 18:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:15:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":50483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:15:41] local.INFO: GPS data processed {"connection_id":50483,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:15:41] local.INFO: Acknowledgment sent {"connection_id":50483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:15:46] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db537fe98012d7ce5c005d6c8f00004008b1a..."} 
[2026-04-22 18:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db537fe98012d7ce5c005d6c8f00004008b1a..."} 
[2026-04-22 18:15:46] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db537fe98012d7ce5c005d6c8f00004008b1a..."} 
[2026-04-22 18:15:46] local.INFO: Packet analysis {"connection_id":50878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:15:46] local.INFO: Extracted packet for processing {"connection_id":50878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:15:46] local.INFO: GPS Element Parsed {"raw_longitude":763160000,"raw_latitude":97962224,"longitude_deg":76.316,"latitude_deg":9.7962224,"altitude":4,"angle":139,"satellites":26,"speed":4,"hex_longitude":"2d7ce5c0","hex_latitude":"05d6c8f0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876630016001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74869599320932352,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999669824192413696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:15:46] 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-22 18:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776861839000,"timestamp_ms":1776861839000,"timestamp_seconds":1776861839,"priority":1,"record_length":96,"hex_timestamp":"0000019db537fe98"} 
[2026-04-22 18: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-22 18:15: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-22 18:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 18:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876630016001,"66":13515,"30":206,"85":15104,"24":4,"16":74869599320932352,"45":8999669824192413696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876630016001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:15:46] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:15:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74869599320932352,"km_value":74869599320932.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999669824192413696,"description":"Unknown IO ID 45"} 
[2026-04-22 18:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876630016001,"power":13515,"unknown_30":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8999669824192413696}} 
[2026-04-22 18:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":50878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:15:46] local.INFO: GPS data processed {"connection_id":50878,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:15:46] local.INFO: Acknowledgment sent {"connection_id":50878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:16:04] local.INFO: TCP Data received {"connection_id":50482,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5366858012d196480071fed48003d00701f..."} 
[2026-04-22 18:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5366858012d196480071fed48003d00701f..."} 
[2026-04-22 18:16:04] local.INFO: Processing buffer {"connection_id":50482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5366858012d196480071fed48003d00701f..."} 
[2026-04-22 18:16:04] local.INFO: Packet analysis {"connection_id":50482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:16:04] local.INFO: Extracted packet for processing {"connection_id":50482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":31,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876598784001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16: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-22 18:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861735000,"timestamp_ms":1776861735000,"timestamp_seconds":1776861735,"priority":1,"record_length":96,"hex_timestamp":"0000019db5366858"} 
[2026-04-22 18:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 18:16:04] 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-22 18:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:16:04] 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-22 18:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876598784001,"66":12439,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876598784001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:16:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876598784001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":50482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:16:04] local.INFO: GPS data processed {"connection_id":50482,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:16:04] local.INFO: Acknowledgment sent {"connection_id":50482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:16:10] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:10] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:10] local.INFO: IMEI packet received {"connection_id":50880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":50880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:16:10] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:10] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:10] local.INFO: IMEI packet received {"connection_id":50880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":50880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:16:11] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:11] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:11] local.INFO: IMEI packet received {"connection_id":50880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":50880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:16:15] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:15] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:16:15] local.INFO: IMEI packet received {"connection_id":50880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":50880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:16:16] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5395e28012d7cedc005d6abb8000500a81b..."} 
[2026-04-22 18:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5395e28012d7cedc005d6abb8000500a81b..."} 
[2026-04-22 18:16:16] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5395e28012d7cedc005d6abb8000500a81b..."} 
[2026-04-22 18:16:16] local.INFO: Packet analysis {"connection_id":50880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db539"} 
[2026-04-22 18:16:16] local.INFO: Extracted packet for processing {"connection_id":50880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db539"} 
[2026-04-22 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763162048,"raw_latitude":97954744,"longitude_deg":76.3162048,"latitude_deg":9.7954744,"altitude":5,"angle":168,"satellites":27,"speed":0,"hex_longitude":"2d7cedc0","hex_latitude":"05d6abb8","is_valid_coordinates":true} 
[2026-04-22 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876652800001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74869990162956288,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002062361492482048,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:16] 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-22 18:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776861929000,"timestamp_ms":1776861929000,"timestamp_seconds":1776861929,"priority":1,"record_length":96,"hex_timestamp":"0000019db5395e28"} 
[2026-04-22 18:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-22 18:16:16] 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-22 18:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876652800001,"66":13493,"30":206,"85":15104,"24":0,"16":74869990162956288,"45":9002062361492482048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876652800001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:16:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74869990162956288,"km_value":74869990162956.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002062361492482048,"description":"Unknown IO ID 45"} 
[2026-04-22 18:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876652800001,"power":13493,"unknown_30":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9002062361492482048}} 
[2026-04-22 18:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":50880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:16:16] local.INFO: GPS data processed {"connection_id":50880,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:16:16] local.INFO: Acknowledgment sent {"connection_id":50880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:16:25] local.INFO: TCP Data received {"connection_id":50743,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:16:25] local.INFO: Processing buffer {"connection_id":50743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:16:25] local.INFO: IMEI packet received {"connection_id":50743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":50743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:16:27] local.INFO: TCP Data received {"connection_id":51433,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:16:27] local.INFO: Processing buffer {"connection_id":51433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:16:27] local.INFO: IMEI packet received {"connection_id":51433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":51433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:16:31] local.INFO: TCP Data received {"connection_id":50743,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:16:31] local.INFO: Processing buffer {"connection_id":50743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:16:31] local.INFO: IMEI packet received {"connection_id":50743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:16:32] local.INFO: TCP Data received {"connection_id":50743,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:16:32] local.INFO: Processing buffer {"connection_id":50743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:16:32] local.INFO: Packet analysis {"connection_id":50743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:16:32] local.INFO: Extracted packet for processing {"connection_id":50743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:32] 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-22 18:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18: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-22 18:16: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:16: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-22 18: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-22 18: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-22 18:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:16:32] 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-22 18:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":50743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:16:32] local.INFO: GPS data processed {"connection_id":50743,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:16:32] local.INFO: Acknowledgment sent {"connection_id":50743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:16:32] local.INFO: TCP Data received {"connection_id":51433,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:16:32] local.INFO: Processing buffer {"connection_id":51433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:16:32] local.INFO: IMEI packet received {"connection_id":51433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":51433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:16:33] local.INFO: TCP Data received {"connection_id":51433,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db536ba60012d196480071fed48003d007020..."} 
[2026-04-22 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db536ba60012d196480071fed48003d007020..."} 
[2026-04-22 18:16:33] local.INFO: Processing buffer {"connection_id":51433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db536ba60012d196480071fed48003d007020..."} 
[2026-04-22 18:16:33] local.INFO: Packet analysis {"connection_id":51433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:16:33] local.INFO: Extracted packet for processing {"connection_id":51433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db536"} 
[2026-04-22 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876604160001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16: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-22 18:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861756000,"timestamp_ms":1776861756000,"timestamp_seconds":1776861756,"priority":1,"record_length":96,"hex_timestamp":"0000019db536ba60"} 
[2026-04-22 18:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 18:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:16:33] 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-22 18:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876604160001,"66":12385,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876604160001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:16:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876604160001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":51433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:16:33] local.INFO: GPS data processed {"connection_id":51433,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:16:33] local.INFO: Acknowledgment sent {"connection_id":51433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:16:46] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db539b030012d7cedc005d6ab90000500a41c..."} 
[2026-04-22 18:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db539b030012d7cedc005d6ab90000500a41c..."} 
[2026-04-22 18:16:46] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db539b030012d7cedc005d6ab90000500a41c..."} 
[2026-04-22 18:16:46] local.INFO: Packet analysis {"connection_id":50880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db539"} 
[2026-04-22 18:16:46] local.INFO: Extracted packet for processing {"connection_id":50880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db539"} 
[2026-04-22 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":763162048,"raw_latitude":97954704,"longitude_deg":76.3162048,"latitude_deg":9.7954704,"altitude":5,"angle":164,"satellites":28,"speed":0,"hex_longitude":"2d7cedc0","hex_latitude":"05d6ab90","is_valid_coordinates":true} 
[2026-04-22 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876653824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74869994457923584,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002062361492436992,"note":"Value kept but may cause issues"} 
[2026-04-22 18:16:46] 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-22 18:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776861950000,"timestamp_ms":1776861950000,"timestamp_seconds":1776861950,"priority":1,"record_length":96,"hex_timestamp":"0000019db539b030"} 
[2026-04-22 18:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 18:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876653824001,"66":13656,"30":206,"85":15104,"24":0,"16":74869994457923584,"45":9002062361492436992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876653824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:16:46] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:16:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74869994457923584,"km_value":74869994457923.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002062361492436992,"description":"Unknown IO ID 45"} 
[2026-04-22 18:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876653824001,"power":13656,"unknown_30":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9002062361492436992}} 
[2026-04-22 18:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":50880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:16:46] local.INFO: GPS data processed {"connection_id":50880,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:16:46] local.INFO: Acknowledgment sent {"connection_id":50880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:17:03] local.INFO: TCP Data received {"connection_id":50743,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:17:03] local.INFO: Processing buffer {"connection_id":50743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:17:03] local.INFO: Packet analysis {"connection_id":50743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:17:03] local.INFO: Extracted packet for processing {"connection_id":50743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17: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-22 18:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:17: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-22 18:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:17:03] 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-22 18:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:17:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":50743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:17:03] local.INFO: GPS data processed {"connection_id":50743,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:17:03] local.INFO: Acknowledgment sent {"connection_id":50743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:17:04] local.INFO: TCP Data received {"connection_id":51433,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5370c68012d196480071fed48003d007021..."} 
[2026-04-22 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5370c68012d196480071fed48003d007021..."} 
[2026-04-22 18:17:04] local.INFO: Processing buffer {"connection_id":51433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5370c68012d196480071fed48003d007021..."} 
[2026-04-22 18:17:04] local.INFO: Packet analysis {"connection_id":51433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:17:04] local.INFO: Extracted packet for processing {"connection_id":51433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876609536001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17: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-22 18:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861777000,"timestamp_ms":1776861777000,"timestamp_seconds":1776861777,"priority":1,"record_length":96,"hex_timestamp":"0000019db5370c68"} 
[2026-04-22 18:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:17:04] 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-22 18:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:17:04] 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-22 18:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876609536001,"66":12385,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876609536001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:17:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:17:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876609536001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":51433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:17:04] local.INFO: GPS data processed {"connection_id":51433,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:17:04] local.INFO: Acknowledgment sent {"connection_id":51433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:17:10] local.INFO: TCP Data received {"connection_id":50744,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:17:10] local.INFO: Processing buffer {"connection_id":50744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:17:10] local.INFO: IMEI packet received {"connection_id":50744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":50744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:17:15] local.INFO: TCP Data received {"connection_id":50744,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:17:15] local.INFO: Processing buffer {"connection_id":50744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:17:15] local.INFO: IMEI packet received {"connection_id":50744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":50744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:17:16] local.INFO: TCP Data received {"connection_id":50744,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db539d358012d7cee4005d6aa60000500af1c..."} 
[2026-04-22 18:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db539d358012d7cee4005d6aa60000500af1c..."} 
[2026-04-22 18:17:16] local.INFO: Processing buffer {"connection_id":50744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db539d358012d7cee4005d6aa60000500af1c..."} 
[2026-04-22 18:17:16] local.INFO: Packet analysis {"connection_id":50744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db539"} 
[2026-04-22 18:17:16] local.INFO: Extracted packet for processing {"connection_id":50744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db539"} 
[2026-04-22 18:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763162176,"raw_latitude":97954400,"longitude_deg":76.3162176,"latitude_deg":9.79544,"altitude":5,"angle":175,"satellites":28,"speed":2,"hex_longitude":"2d7cee40","hex_latitude":"05d6aa60","is_valid_coordinates":true} 
[2026-04-22 18:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876659200001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74870007342825472,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002062361492426752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:16] 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-22 18:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776861959000,"timestamp_ms":1776861959000,"timestamp_seconds":1776861959,"priority":1,"record_length":96,"hex_timestamp":"0000019db539d358"} 
[2026-04-22 18:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:17: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-22 18:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:17:16] 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-22 18:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876659200001,"66":13602,"30":206,"85":15104,"24":2,"16":74870007342825472,"45":9002062361492426752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876659200001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:17:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74870007342825472,"km_value":74870007342825.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002062361492426752,"description":"Unknown IO ID 45"} 
[2026-04-22 18:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876659200001,"power":13602,"unknown_30":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9002062361492426752}} 
[2026-04-22 18:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":50744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:17:16] local.INFO: GPS data processed {"connection_id":50744,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:17:16] local.INFO: Acknowledgment sent {"connection_id":50744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:17:25] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:17:25] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:17:25] local.INFO: IMEI packet received {"connection_id":50485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":50485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:17:26] local.INFO: TCP Data received {"connection_id":50881,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:17:26] local.INFO: Processing buffer {"connection_id":50881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:17:26] local.INFO: IMEI packet received {"connection_id":50881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":50881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:17:27] local.INFO: TCP Data received {"connection_id":50881,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:17:27] local.INFO: Processing buffer {"connection_id":50881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:17:27] local.INFO: IMEI packet received {"connection_id":50881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":50881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:17:30] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:17:30] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:17:30] local.INFO: IMEI packet received {"connection_id":50485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":50485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:17:31] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:17:31] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:17:31] local.INFO: Packet analysis {"connection_id":50485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:17:31] local.INFO: Extracted packet for processing {"connection_id":50485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:31] 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-22 18:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18: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-22 18:17: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":50485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:17:31] local.INFO: GPS data processed {"connection_id":50485,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:17:31] local.INFO: Acknowledgment sent {"connection_id":50485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:17:32] local.INFO: TCP Data received {"connection_id":50881,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:17:32] local.INFO: Processing buffer {"connection_id":50881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:17:32] local.INFO: IMEI packet received {"connection_id":50881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:17:33] local.INFO: TCP Data received {"connection_id":50881,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5375e70012d196480071fed48003d007021..."} 
[2026-04-22 18:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5375e70012d196480071fed48003d007021..."} 
[2026-04-22 18:17:33] local.INFO: Processing buffer {"connection_id":50881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5375e70012d196480071fed48003d007021..."} 
[2026-04-22 18:17:33] local.INFO: Packet analysis {"connection_id":50881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:17:33] local.INFO: Extracted packet for processing {"connection_id":50881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876614912001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17: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-22 18:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861798000,"timestamp_ms":1776861798000,"timestamp_seconds":1776861798,"priority":1,"record_length":96,"hex_timestamp":"0000019db5375e70"} 
[2026-04-22 18: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-22 18:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:17:33] 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-22 18: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-22 18: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-22 18:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:17:33] 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-22 18:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876614912001,"66":12428,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876614912001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:17:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876614912001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:17:33] local.INFO: GPS data processed {"connection_id":50881,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:17:33] local.INFO: Acknowledgment sent {"connection_id":50881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:17:47] local.INFO: TCP Data received {"connection_id":50744,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53b2348012d7cf34005d68668000700a41e..."} 
[2026-04-22 18:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53b2348012d7cf34005d68668000700a41e..."} 
[2026-04-22 18:17:47] local.INFO: Processing buffer {"connection_id":50744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53b2348012d7cf34005d68668000700a41e..."} 
[2026-04-22 18:17:47] local.INFO: Packet analysis {"connection_id":50744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:17:47] local.INFO: Extracted packet for processing {"connection_id":50744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:17:47] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":97945192,"longitude_deg":76.3163456,"latitude_deg":9.7945192,"altitude":7,"angle":164,"satellites":30,"speed":4,"hex_longitude":"2d7cf340","hex_latitude":"05d68668","is_valid_coordinates":true} 
[2026-04-22 18:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876681984001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74870475494260736,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003540105117956096,"note":"Value kept but may cause issues"} 
[2026-04-22 18:17:47] 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-22 18:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776862045000,"timestamp_ms":1776862045000,"timestamp_seconds":1776862045,"priority":1,"record_length":96,"hex_timestamp":"0000019db53b2348"} 
[2026-04-22 18:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-22 18:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876681984001,"66":13472,"30":206,"85":15104,"24":4,"16":74870475494260736,"45":9003540105117956096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876681984001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:17:47] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:17:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74870475494260736,"km_value":74870475494260.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003540105117956096,"description":"Unknown IO ID 45"} 
[2026-04-22 18:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876681984001,"power":13472,"unknown_30":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9003540105117956096}} 
[2026-04-22 18:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":50744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:17:47] local.INFO: GPS data processed {"connection_id":50744,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:17:47] local.INFO: Acknowledgment sent {"connection_id":50744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:18:02] local.INFO: TCP Data received {"connection_id":50485,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:18:02] local.INFO: Processing buffer {"connection_id":50485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:18:02] local.INFO: Packet analysis {"connection_id":50485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:18:02] local.INFO: Extracted packet for processing {"connection_id":50485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:02] 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-22 18:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18: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-22 18:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:18:02] 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-22 18: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-22 18: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-22 18:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:18:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":50485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:18:02] local.INFO: GPS data processed {"connection_id":50485,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:18:02] local.INFO: Acknowledgment sent {"connection_id":50485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:18:04] local.INFO: TCP Data received {"connection_id":50881,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db537b078012d196480071fed48003d00701d..."} 
[2026-04-22 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db537b078012d196480071fed48003d00701d..."} 
[2026-04-22 18:18:04] local.INFO: Processing buffer {"connection_id":50881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db537b078012d196480071fed48003d00701d..."} 
[2026-04-22 18:18:04] local.INFO: Packet analysis {"connection_id":50881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:18:04] local.INFO: Extracted packet for processing {"connection_id":50881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db537"} 
[2026-04-22 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":29,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876620288001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18: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-22 18:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776861819000,"timestamp_ms":1776861819000,"timestamp_seconds":1776861819,"priority":1,"record_length":96,"hex_timestamp":"0000019db537b078"} 
[2026-04-22 18:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:18:04] 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-22 18:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:18:04] 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-22 18:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876620288001,"66":12385,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876620288001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:18:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876620288001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":50881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:18:04] local.INFO: GPS data processed {"connection_id":50881,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:18:04] local.INFO: Acknowledgment sent {"connection_id":50881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:18:10] local.INFO: TCP Data received {"connection_id":51434,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:18:10] local.INFO: Processing buffer {"connection_id":51434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:18:10] local.INFO: IMEI packet received {"connection_id":51434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":51434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:18:15] local.INFO: TCP Data received {"connection_id":51434,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:18:15] local.INFO: Processing buffer {"connection_id":51434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:18:15] local.INFO: IMEI packet received {"connection_id":51434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":51434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:18:16] local.INFO: TCP Data received {"connection_id":51434,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53b2b18012d7cf34005d68588000700b51e..."} 
[2026-04-22 18:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53b2b18012d7cf34005d68588000700b51e..."} 
[2026-04-22 18:18:16] local.INFO: Processing buffer {"connection_id":51434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53b2b18012d7cf34005d68588000700b51e..."} 
[2026-04-22 18:18:16] local.INFO: Packet analysis {"connection_id":51434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:18:16] local.INFO: Extracted packet for processing {"connection_id":51434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:18:16] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":97944968,"longitude_deg":76.3163456,"latitude_deg":9.7944968,"altitude":7,"angle":181,"satellites":30,"speed":3,"hex_longitude":"2d7cf340","hex_latitude":"05d68588","is_valid_coordinates":true} 
[2026-04-22 18:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876683520001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74870488379162624,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003610473861900288,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:16] 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-22 18:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776862047000,"timestamp_ms":1776862047000,"timestamp_seconds":1776862047,"priority":1,"record_length":96,"hex_timestamp":"0000019db53b2b18"} 
[2026-04-22 18:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:18: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-22 18:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 18:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876683520001,"66":13646,"30":206,"85":15104,"24":3,"16":74870488379162624,"45":9003610473861900288},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876683520001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:18:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:18:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74870488379162624,"km_value":74870488379162.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003610473861900288,"description":"Unknown IO ID 45"} 
[2026-04-22 18:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876683520001,"power":13646,"unknown_30":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9003610473861900288}} 
[2026-04-22 18:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":51434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:18:16] local.INFO: GPS data processed {"connection_id":51434,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:18:16] local.INFO: Acknowledgment sent {"connection_id":51434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:18:25] local.INFO: TCP Data received {"connection_id":51435,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:18:25] local.INFO: Processing buffer {"connection_id":51435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:18:25] local.INFO: IMEI packet received {"connection_id":51435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":51435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:18:27] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:18:27] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:18:27] local.INFO: IMEI packet received {"connection_id":50882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:18:29] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:18:29] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:18:29] local.INFO: IMEI packet received {"connection_id":50882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":50882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:18:30] local.INFO: TCP Data received {"connection_id":51435,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:18:30] local.INFO: Processing buffer {"connection_id":51435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:18:30] local.INFO: IMEI packet received {"connection_id":51435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":51435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:18:31] local.INFO: TCP Data received {"connection_id":51435,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:18:31] local.INFO: Processing buffer {"connection_id":51435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:18:31] local.INFO: Packet analysis {"connection_id":51435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:18:31] local.INFO: Extracted packet for processing {"connection_id":51435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:31] 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-22 18:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18: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-22 18: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-22 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":51435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:18:31] local.INFO: GPS data processed {"connection_id":51435,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:18:31] local.INFO: Acknowledgment sent {"connection_id":51435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:18:35] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:18:35] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:18:35] local.INFO: IMEI packet received {"connection_id":50882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":50882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:18:35] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5380280012d196480071fed48003d00701f..."} 
[2026-04-22 18:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5380280012d196480071fed48003d00701f..."} 
[2026-04-22 18:18:35] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5380280012d196480071fed48003d00701f..."} 
[2026-04-22 18:18:35] local.INFO: Packet analysis {"connection_id":50882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:18:35] local.INFO: Extracted packet for processing {"connection_id":50882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":31,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876625664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18: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-22 18:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776861840000,"timestamp_ms":1776861840000,"timestamp_seconds":1776861840,"priority":1,"record_length":96,"hex_timestamp":"0000019db5380280"} 
[2026-04-22 18:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:18:35] 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-22 18:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:18:35] 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-22 18:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876625664001,"66":12385,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876625664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:18:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876625664001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":50882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:18:35] local.INFO: GPS data processed {"connection_id":50882,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:18:35] local.INFO: Acknowledgment sent {"connection_id":50882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:18:47] local.INFO: TCP Data received {"connection_id":51434,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53b36d0012d7cf38005d683f8000800a61e..."} 
[2026-04-22 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53b36d0012d7cf38005d683f8000800a61e..."} 
[2026-04-22 18:18:47] local.INFO: Processing buffer {"connection_id":51434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53b36d0012d7cf38005d683f8000800a61e..."} 
[2026-04-22 18:18:47] local.INFO: Packet analysis {"connection_id":51434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:18:47] local.INFO: Extracted packet for processing {"connection_id":51434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763163520,"raw_latitude":97944568,"longitude_deg":76.316352,"latitude_deg":9.7944568,"altitude":8,"angle":166,"satellites":30,"speed":5,"hex_longitude":"2d7cf380","hex_latitude":"05d683f8","is_valid_coordinates":true} 
[2026-04-22 18:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876684032001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74870509853999104,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003610473861842944,"note":"Value kept but may cause issues"} 
[2026-04-22 18:18:47] 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-22 18:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776862050000,"timestamp_ms":1776862050000,"timestamp_seconds":1776862050,"priority":1,"record_length":96,"hex_timestamp":"0000019db53b36d0"} 
[2026-04-22 18:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 18:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876684032001,"66":13243,"30":206,"85":15104,"24":5,"16":74870509853999104,"45":9003610473861842944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876684032001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:18:47] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74870509853999104,"km_value":74870509853999.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003610473861842944,"description":"Unknown IO ID 45"} 
[2026-04-22 18:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876684032001,"power":13243,"unknown_30":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9003610473861842944}} 
[2026-04-22 18:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":51434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:18:47] local.INFO: GPS data processed {"connection_id":51434,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:18:47] local.INFO: Acknowledgment sent {"connection_id":51434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:19:02] local.INFO: TCP Data received {"connection_id":51435,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:19:02] local.INFO: Processing buffer {"connection_id":51435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:19:02] local.INFO: Packet analysis {"connection_id":51435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:19:02] local.INFO: Extracted packet for processing {"connection_id":51435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:02] 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-22 18:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:19: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-22 18:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:19:02] 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-22 18:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:19:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":51435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:19:02] local.INFO: GPS data processed {"connection_id":51435,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:19:02] local.INFO: Acknowledgment sent {"connection_id":51435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:19:06] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5385488012d196480071fed48003d007021..."} 
[2026-04-22 18:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5385488012d196480071fed48003d007021..."} 
[2026-04-22 18:19:06] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5385488012d196480071fed48003d007021..."} 
[2026-04-22 18:19:06] local.INFO: Packet analysis {"connection_id":50882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:19:06] local.INFO: Extracted packet for processing {"connection_id":50882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876631040001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776861861000,"timestamp_ms":1776861861000,"timestamp_seconds":1776861861,"priority":1,"record_length":96,"hex_timestamp":"0000019db5385488"} 
[2026-04-22 18: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-22 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:19:06] 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-22 18:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876631040001,"66":12406,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876631040001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:19:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876631040001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":50882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:19:06] local.INFO: GPS data processed {"connection_id":50882,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:19:06] local.INFO: Acknowledgment sent {"connection_id":50882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:19:10] local.INFO: TCP Data received {"connection_id":50486,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:19:10] local.INFO: Processing buffer {"connection_id":50486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:19:10] local.INFO: IMEI packet received {"connection_id":50486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":50486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:19:15] local.INFO: TCP Data received {"connection_id":50486,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:19:15] local.INFO: Processing buffer {"connection_id":50486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:19:15] local.INFO: IMEI packet received {"connection_id":50486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":50486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:19:16] local.INFO: TCP Data received {"connection_id":50486,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53b7550012d7cf70005d677a80008009a1b..."} 
[2026-04-22 18:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53b7550012d7cf70005d677a80008009a1b..."} 
[2026-04-22 18:19:16] local.INFO: Processing buffer {"connection_id":50486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53b7550012d7cf70005d677a80008009a1b..."} 
[2026-04-22 18:19:16] local.INFO: Packet analysis {"connection_id":50486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:19:16] local.INFO: Extracted packet for processing {"connection_id":50486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:19:16] local.INFO: GPS Element Parsed {"raw_longitude":763164416,"raw_latitude":97941416,"longitude_deg":76.3164416,"latitude_deg":9.7941416,"altitude":8,"angle":154,"satellites":27,"speed":8,"hex_longitude":"2d7cf700","hex_latitude":"05d677a8","is_valid_coordinates":true} 
[2026-04-22 18:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876684800001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74870668767789056,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003680842605918208,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:16] 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-22 18:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776862066000,"timestamp_ms":1776862066000,"timestamp_seconds":1776862066,"priority":1,"record_length":96,"hex_timestamp":"0000019db53b7550"} 
[2026-04-22 18:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:19: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-22 18:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-22 18:19: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-22 18:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876684800001,"66":13602,"30":206,"85":15104,"24":8,"16":74870668767789056,"45":9003680842605918208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876684800001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:19:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74870668767789056,"km_value":74870668767789.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003680842605918208,"description":"Unknown IO ID 45"} 
[2026-04-22 18:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876684800001,"power":13602,"unknown_30":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9003680842605918208}} 
[2026-04-22 18:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":50486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:19:16] local.INFO: GPS data processed {"connection_id":50486,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:19:16] local.INFO: Acknowledgment sent {"connection_id":50486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:19:25] local.INFO: TCP Data received {"connection_id":51436,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:19:25] local.INFO: Processing buffer {"connection_id":51436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:19:25] local.INFO: IMEI packet received {"connection_id":51436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":51436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:19:27] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:19:27] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:19:27] local.INFO: IMEI packet received {"connection_id":50487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:19:30] local.INFO: TCP Data received {"connection_id":51436,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:19:30] local.INFO: Processing buffer {"connection_id":51436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:19:30] local.INFO: IMEI packet received {"connection_id":51436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":51436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:19:31] local.INFO: TCP Data received {"connection_id":51436,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:19:31] local.INFO: Processing buffer {"connection_id":51436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5382d78012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:19:31] local.INFO: Packet analysis {"connection_id":51436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:19:31] local.INFO: Extracted packet for processing {"connection_id":51436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876556544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:31] 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-22 18:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776861851000,"timestamp_ms":1776861851000,"timestamp_seconds":1776861851,"priority":1,"record_length":96,"hex_timestamp":"0000019db5382d78"} 
[2026-04-22 18: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-22 18:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876556544001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876556544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876556544001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":51436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:19:31] local.INFO: GPS data processed {"connection_id":51436,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:19:31] local.INFO: Acknowledgment sent {"connection_id":51436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:19:32] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:19:32] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:19:32] local.INFO: IMEI packet received {"connection_id":50487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:19:33] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db538a690012d196480071fed48003d007023..."} 
[2026-04-22 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db538a690012d196480071fed48003d007023..."} 
[2026-04-22 18:19:33] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db538a690012d196480071fed48003d007023..."} 
[2026-04-22 18:19:33] local.INFO: Packet analysis {"connection_id":50487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:19:33] local.INFO: Extracted packet for processing {"connection_id":50487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db538"} 
[2026-04-22 18:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876636416001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19: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-22 18:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776861882000,"timestamp_ms":1776861882000,"timestamp_seconds":1776861882,"priority":1,"record_length":96,"hex_timestamp":"0000019db538a690"} 
[2026-04-22 18: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-22 18:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 18:19:33] 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-22 18: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-22 18: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-22 18:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:19:33] 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-22 18:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876636416001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876636416001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:19:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876636416001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:19:33] local.INFO: GPS data processed {"connection_id":50487,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:19:33] local.INFO: Acknowledgment sent {"connection_id":50487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:19:47] local.INFO: TCP Data received {"connection_id":50486,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db53b7938012d7cf7c005d677000008008f1b..."} 
[2026-04-22 18:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53b7938012d7cf7c005d677000008008f1b..."} 
[2026-04-22 18:19:47] local.INFO: Processing buffer {"connection_id":50486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53b7938012d7cf7c005d677000008008f1b..."} 
[2026-04-22 18:19:47] local.INFO: Packet analysis {"connection_id":50486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:19:47] local.INFO: Extracted packet for processing {"connection_id":50486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53b"} 
[2026-04-22 18:19:47] local.INFO: GPS Element Parsed {"raw_longitude":763164608,"raw_latitude":97941248,"longitude_deg":76.3164608,"latitude_deg":9.7941248,"altitude":8,"angle":143,"satellites":27,"speed":8,"hex_longitude":"2d7cf7c0","hex_latitude":"05d67700","is_valid_coordinates":true} 
[2026-04-22 18:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876688896001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74870681652690944,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004666005023598592,"note":"Value kept but may cause issues"} 
[2026-04-22 18:19:47] 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-22 18:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776862067000,"timestamp_ms":1776862067000,"timestamp_seconds":1776862067,"priority":1,"record_length":96,"hex_timestamp":"0000019db53b7938"} 
[2026-04-22 18:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-22 18:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876688896001,"66":13602,"30":206,"85":15104,"24":8,"16":74870681652690944,"45":9004666005023598592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 18:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876688896001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:19:47] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 18:19:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74870681652690944,"km_value":74870681652690.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004666005023598592,"description":"Unknown IO ID 45"} 
[2026-04-22 18:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876688896001,"power":13602,"unknown_30":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9004666005023598592}} 
[2026-04-22 18:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":50486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:19:47] local.INFO: GPS data processed {"connection_id":50486,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:19:47] local.INFO: Acknowledgment sent {"connection_id":50486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:20:02] local.INFO: TCP Data received {"connection_id":51436,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:20:02] local.INFO: Processing buffer {"connection_id":51436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:20:02] local.INFO: Packet analysis {"connection_id":51436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:20:02] local.INFO: Extracted packet for processing {"connection_id":51436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:02] 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-22 18:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18: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-22 18:20: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-22 18:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:20:02] 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-22 18: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-22 18: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-22 18:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:20: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-22 18:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:20:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":51436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:20:02] local.INFO: GPS data processed {"connection_id":51436,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:20:02] local.INFO: Acknowledgment sent {"connection_id":51436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:20:04] local.INFO: TCP Data received {"connection_id":50487,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53c2ce8012d196480071fed48003d007022..."} 
[2026-04-22 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53c2ce8012d196480071fed48003d007022..."} 
[2026-04-22 18:20:04] local.INFO: Processing buffer {"connection_id":50487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53c2ce8012d196480071fed48003d007022..."} 
[2026-04-22 18:20:04] local.INFO: Packet analysis {"connection_id":50487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:20:04] local.INFO: Extracted packet for processing {"connection_id":50487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876695552001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20: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-22 18:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862113000,"timestamp_ms":1776862113000,"timestamp_seconds":1776862113,"priority":1,"record_length":96,"hex_timestamp":"0000019db53c2ce8"} 
[2026-04-22 18: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-22 18:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:20:04] 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-22 18: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-22 18: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-22 18:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:20:04] 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-22 18:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876695552001,"66":12385,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876695552001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:20:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876695552001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:20:04] local.INFO: GPS data processed {"connection_id":50487,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:20:04] local.INFO: Acknowledgment sent {"connection_id":50487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:20:22] local.INFO: TCP Data received {"connection_id":50488,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:20:22] local.INFO: Processing buffer {"connection_id":50488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:20:22] local.INFO: IMEI packet received {"connection_id":50488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":50488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:20:25] local.INFO: TCP Data received {"connection_id":51437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:20:25] local.INFO: Processing buffer {"connection_id":51437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:20:25] local.INFO: IMEI packet received {"connection_id":51437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":51437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:20:27] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:20:27] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:20:27] local.INFO: IMEI packet received {"connection_id":50748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":50748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:20:30] local.INFO: TCP Data received {"connection_id":51437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:20:30] local.INFO: Processing buffer {"connection_id":51437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:20:30] local.INFO: IMEI packet received {"connection_id":51437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":51437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:20:31] local.INFO: TCP Data received {"connection_id":51437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:20:31] local.INFO: Processing buffer {"connection_id":51437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:20:31] local.INFO: Packet analysis {"connection_id":51437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:20:31] local.INFO: Extracted packet for processing {"connection_id":51437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:31] 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-22 18:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18: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-22 18: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-22 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:20:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":51437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:20:31] local.INFO: GPS data processed {"connection_id":51437,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:20:31] local.INFO: Acknowledgment sent {"connection_id":51437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:20:31] local.INFO: TCP Data received {"connection_id":50488,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:20:31] local.INFO: Processing buffer {"connection_id":50488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:20:31] local.INFO: IMEI packet received {"connection_id":50488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":50488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:20:32] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:20:32] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:20:32] local.INFO: IMEI packet received {"connection_id":50748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:20:33] local.INFO: TCP Data received {"connection_id":50488,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-22 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50488,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-22 18:20:33] local.INFO: Processing buffer {"connection_id":50488,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-22 18:20:33] local.INFO: IMEI packet received {"connection_id":50488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":50488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:20:33] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53c7ef0012d196480071fed48003d007021..."} 
[2026-04-22 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53c7ef0012d196480071fed48003d007021..."} 
[2026-04-22 18:20:33] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53c7ef0012d196480071fed48003d007021..."} 
[2026-04-22 18:20:33] local.INFO: Packet analysis {"connection_id":50748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:20:33] local.INFO: Extracted packet for processing {"connection_id":50748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876700928001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:20: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-22 18:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862134000,"timestamp_ms":1776862134000,"timestamp_seconds":1776862134,"priority":1,"record_length":96,"hex_timestamp":"0000019db53c7ef0"} 
[2026-04-22 18: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-22 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:20:33] 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-22 18: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-22 18: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-22 18:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:20:33] 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-22 18:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876700928001,"66":12385,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876700928001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:20:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876700928001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":50748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:20:33] local.INFO: GPS data processed {"connection_id":50748,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:20:33] local.INFO: Acknowledgment sent {"connection_id":50748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:20:50] local.INFO: TCP Data received {"connection_id":50749,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:20:50] local.INFO: Processing buffer {"connection_id":50749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:20:50] local.INFO: IMEI packet received {"connection_id":50749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":50749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:21:02] local.INFO: TCP Data received {"connection_id":51437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:21:02] local.INFO: Processing buffer {"connection_id":51437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:21:02] local.INFO: Packet analysis {"connection_id":51437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:21:02] local.INFO: Extracted packet for processing {"connection_id":51437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:02] 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-22 18:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18: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-22 18: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-22 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:21:02] 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-22 18: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-22 18: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-22 18:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:21: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-22 18:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:21:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":51437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:21:02] local.INFO: GPS data processed {"connection_id":51437,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:21:02] local.INFO: Acknowledgment sent {"connection_id":51437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:21:04] local.INFO: TCP Data received {"connection_id":50748,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cd0f8012d196480071fed48003d007021..."} 
[2026-04-22 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cd0f8012d196480071fed48003d007021..."} 
[2026-04-22 18:21:04] local.INFO: Processing buffer {"connection_id":50748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cd0f8012d196480071fed48003d007021..."} 
[2026-04-22 18:21:04] local.INFO: Packet analysis {"connection_id":50748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:21:04] local.INFO: Extracted packet for processing {"connection_id":50748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876706304001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21: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-22 18:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862155000,"timestamp_ms":1776862155000,"timestamp_seconds":1776862155,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cd0f8"} 
[2026-04-22 18:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:21:04] 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-22 18:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:21:04] 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-22 18:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876706304001,"66":12363,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876706304001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:21:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876706304001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":50748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:21:05] local.INFO: GPS data processed {"connection_id":50748,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:21:05] local.INFO: Acknowledgment sent {"connection_id":50748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:21:25] local.INFO: TCP Data received {"connection_id":50883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:21:25] local.INFO: Processing buffer {"connection_id":50883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:21:25] local.INFO: IMEI packet received {"connection_id":50883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":50883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:21:30] local.INFO: TCP Data received {"connection_id":50883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:21:30] local.INFO: Processing buffer {"connection_id":50883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:21:30] local.INFO: IMEI packet received {"connection_id":50883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":50883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:21:31] local.INFO: TCP Data received {"connection_id":50883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:21:31] local.INFO: Processing buffer {"connection_id":50883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:21:31] local.INFO: Packet analysis {"connection_id":50883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:21:31] local.INFO: Extracted packet for processing {"connection_id":50883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:31] 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-22 18:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18: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-22 18: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":50883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:21:31] local.INFO: GPS data processed {"connection_id":50883,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:21:31] local.INFO: Acknowledgment sent {"connection_id":50883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:21:32] local.INFO: TCP Data received {"connection_id":50489,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:21:32] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:21:32] local.INFO: IMEI packet received {"connection_id":50489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:21:37] local.INFO: TCP Data received {"connection_id":50489,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:21:37] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:21:37] local.INFO: IMEI packet received {"connection_id":50489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":50489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:21:38] local.INFO: TCP Data received {"connection_id":50489,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53d2300012d196480071fed48003d007022..."} 
[2026-04-22 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53d2300012d196480071fed48003d007022..."} 
[2026-04-22 18:21:38] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53d2300012d196480071fed48003d007022..."} 
[2026-04-22 18:21:38] local.INFO: Packet analysis {"connection_id":50489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53d"} 
[2026-04-22 18:21:38] local.INFO: Extracted packet for processing {"connection_id":50489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53d"} 
[2026-04-22 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876711680001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21: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-22 18:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776862176000,"timestamp_ms":1776862176000,"timestamp_seconds":1776862176,"priority":1,"record_length":96,"hex_timestamp":"0000019db53d2300"} 
[2026-04-22 18:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:21:38] 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-22 18:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:21:38] 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-22 18:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876711680001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876711680001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:21:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876711680001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":50489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:21:38] local.INFO: GPS data processed {"connection_id":50489,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:21:38] local.INFO: Acknowledgment sent {"connection_id":50489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:21:39] local.INFO: TCP Data received {"connection_id":50489,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53d7508012d196480071fed48003d007022..."} 
[2026-04-22 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53d7508012d196480071fed48003d007022..."} 
[2026-04-22 18:21:39] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53d7508012d196480071fed48003d007022..."} 
[2026-04-22 18:21:39] local.INFO: Packet analysis {"connection_id":50489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53d"} 
[2026-04-22 18:21:39] local.INFO: Extracted packet for processing {"connection_id":50489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53d"} 
[2026-04-22 18:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876717056001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:21: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-22 18:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776862197000,"timestamp_ms":1776862197000,"timestamp_seconds":1776862197,"priority":1,"record_length":96,"hex_timestamp":"0000019db53d7508"} 
[2026-04-22 18: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-22 18:21:39] 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-22 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:21:39] 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-22 18: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-22 18: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-22 18:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:21:39] 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-22 18:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876717056001,"66":12319,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876717056001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:21:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876717056001,"power":12319,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":50489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:21:39] local.INFO: GPS data processed {"connection_id":50489,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:21:39] local.INFO: Acknowledgment sent {"connection_id":50489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:22:02] local.INFO: TCP Data received {"connection_id":50883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:22:02] local.INFO: Processing buffer {"connection_id":50883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:22:02] local.INFO: Packet analysis {"connection_id":50883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:22:02] local.INFO: Extracted packet for processing {"connection_id":50883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:02] 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-22 18:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18: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-22 18:22: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:22:02] 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-22 18: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-22 18: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-22 18:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:22: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-22 18:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:22:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":50883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:22:02] local.INFO: GPS data processed {"connection_id":50883,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:22:02] local.INFO: Acknowledgment sent {"connection_id":50883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:22:10] local.INFO: TCP Data received {"connection_id":50489,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53dc710012d196480071fed48003d007021..."} 
[2026-04-22 18:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53dc710012d196480071fed48003d007021..."} 
[2026-04-22 18:22:10] local.INFO: Processing buffer {"connection_id":50489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53dc710012d196480071fed48003d007021..."} 
[2026-04-22 18:22:10] local.INFO: Packet analysis {"connection_id":50489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53d"} 
[2026-04-22 18:22:10] local.INFO: Extracted packet for processing {"connection_id":50489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53d"} 
[2026-04-22 18:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876722432001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22: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-22 18:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776862218000,"timestamp_ms":1776862218000,"timestamp_seconds":1776862218,"priority":1,"record_length":96,"hex_timestamp":"0000019db53dc710"} 
[2026-04-22 18:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:22:10] 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-22 18:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876722432001,"66":12363,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876722432001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:22:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876722432001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":50489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:22:10] local.INFO: GPS data processed {"connection_id":50489,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:22:10] local.INFO: Acknowledgment sent {"connection_id":50489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:22:25] local.INFO: TCP Data received {"connection_id":51438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:22:25] local.INFO: Processing buffer {"connection_id":51438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:22:25] local.INFO: IMEI packet received {"connection_id":51438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":51438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:22:27] local.INFO: TCP Data received {"connection_id":51439,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:22:27] local.INFO: Processing buffer {"connection_id":51439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:22:27] local.INFO: IMEI packet received {"connection_id":51439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":51439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:22:30] local.INFO: TCP Data received {"connection_id":51438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:22:30] local.INFO: Processing buffer {"connection_id":51438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:22:30] local.INFO: IMEI packet received {"connection_id":51438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":51438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:22:31] local.INFO: TCP Data received {"connection_id":51438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:22:31] local.INFO: Processing buffer {"connection_id":51438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:22:31] local.INFO: Packet analysis {"connection_id":51438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:22:31] local.INFO: Extracted packet for processing {"connection_id":51438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:31] 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-22 18:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18: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-22 18: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":51438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:22:31] local.INFO: GPS data processed {"connection_id":51438,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:22:31] local.INFO: Acknowledgment sent {"connection_id":51438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:22:32] local.INFO: TCP Data received {"connection_id":51439,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:22:32] local.INFO: Processing buffer {"connection_id":51439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:22:32] local.INFO: IMEI packet received {"connection_id":51439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":51439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:22:33] local.INFO: TCP Data received {"connection_id":51439,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53e1918012d196480071fed48003d007020..."} 
[2026-04-22 18:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53e1918012d196480071fed48003d007020..."} 
[2026-04-22 18:22:33] local.INFO: Processing buffer {"connection_id":51439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53e1918012d196480071fed48003d007020..."} 
[2026-04-22 18:22:33] local.INFO: Packet analysis {"connection_id":51439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53e"} 
[2026-04-22 18:22:33] local.INFO: Extracted packet for processing {"connection_id":51439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53e"} 
[2026-04-22 18:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876727808001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:22: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-22 18:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862239000,"timestamp_ms":1776862239000,"timestamp_seconds":1776862239,"priority":1,"record_length":96,"hex_timestamp":"0000019db53e1918"} 
[2026-04-22 18: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-22 18:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:22:33] 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-22 18: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-22 18: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-22 18:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:22:33] 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-22 18:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876727808001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876727808001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:22:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876727808001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":51439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:22:33] local.INFO: GPS data processed {"connection_id":51439,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:22:33] local.INFO: Acknowledgment sent {"connection_id":51439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:23:02] local.INFO: TCP Data received {"connection_id":51438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:23:02] local.INFO: Processing buffer {"connection_id":51438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:23:02] local.INFO: Packet analysis {"connection_id":51438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:23:02] local.INFO: Extracted packet for processing {"connection_id":51438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:02] 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-22 18:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18: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-22 18:23: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-22 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:23:02] 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-22 18: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-22 18: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-22 18:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:23: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-22 18:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:23:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":51438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:23:02] local.INFO: GPS data processed {"connection_id":51438,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:23:02] local.INFO: Acknowledgment sent {"connection_id":51438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:23:04] local.INFO: TCP Data received {"connection_id":51439,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53e6b20012d196480071fed48003d007024..."} 
[2026-04-22 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53e6b20012d196480071fed48003d007024..."} 
[2026-04-22 18:23:04] local.INFO: Processing buffer {"connection_id":51439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53e6b20012d196480071fed48003d007024..."} 
[2026-04-22 18:23:04] local.INFO: Packet analysis {"connection_id":51439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53e"} 
[2026-04-22 18:23:04] local.INFO: Extracted packet for processing {"connection_id":51439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53e"} 
[2026-04-22 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876733184001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23: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-22 18:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862260000,"timestamp_ms":1776862260000,"timestamp_seconds":1776862260,"priority":1,"record_length":96,"hex_timestamp":"0000019db53e6b20"} 
[2026-04-22 18:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:23:04] 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-22 18:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876733184001,"66":11547,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876733184001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:23:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876733184001,"power":11547,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":51439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:23:04] local.INFO: GPS data processed {"connection_id":51439,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:23:04] local.INFO: Acknowledgment sent {"connection_id":51439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:23:25] local.INFO: TCP Data received {"connection_id":50490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:23:25] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:23:25] local.INFO: IMEI packet received {"connection_id":50490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":50490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:23:27] local.INFO: TCP Data received {"connection_id":50753,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:23:27] local.INFO: Processing buffer {"connection_id":50753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:23:27] local.INFO: IMEI packet received {"connection_id":50753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":50753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:23:31] local.INFO: TCP Data received {"connection_id":50490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:23:31] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:23:31] local.INFO: IMEI packet received {"connection_id":50490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":50490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:23:31] local.INFO: TCP Data received {"connection_id":50490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:23:31] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:23:31] local.INFO: Packet analysis {"connection_id":50490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:23:31] local.INFO: Extracted packet for processing {"connection_id":50490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:31] 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-22 18:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18: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-22 18:23: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:23: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-22 18:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":50490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:23:31] local.INFO: GPS data processed {"connection_id":50490,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:23:31] local.INFO: Acknowledgment sent {"connection_id":50490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:23:32] local.INFO: TCP Data received {"connection_id":50753,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:23:32] local.INFO: Processing buffer {"connection_id":50753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:23:32] local.INFO: IMEI packet received {"connection_id":50753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:23:33] local.INFO: TCP Data received {"connection_id":50753,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53ebd28012d196480071fed48003d007023..."} 
[2026-04-22 18:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53ebd28012d196480071fed48003d007023..."} 
[2026-04-22 18:23:33] local.INFO: Processing buffer {"connection_id":50753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53ebd28012d196480071fed48003d007023..."} 
[2026-04-22 18:23:33] local.INFO: Packet analysis {"connection_id":50753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53e"} 
[2026-04-22 18:23:33] local.INFO: Extracted packet for processing {"connection_id":50753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53e"} 
[2026-04-22 18:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876738560001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:23: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-22 18:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862281000,"timestamp_ms":1776862281000,"timestamp_seconds":1776862281,"priority":1,"record_length":96,"hex_timestamp":"0000019db53ebd28"} 
[2026-04-22 18: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-22 18:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 18:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:23:33] 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-22 18:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876738560001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876738560001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:23:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876738560001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:23:33] local.INFO: GPS data processed {"connection_id":50753,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:23:33] local.INFO: Acknowledgment sent {"connection_id":50753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:24:02] local.INFO: TCP Data received {"connection_id":50490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:24:02] local.INFO: Processing buffer {"connection_id":50490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:24:02] local.INFO: Packet analysis {"connection_id":50490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:24:02] local.INFO: Extracted packet for processing {"connection_id":50490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:02] 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-22 18:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:24: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-22 18:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:24:02] 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-22 18:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:24: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-22 18:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:24:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":50490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:24:02] local.INFO: GPS data processed {"connection_id":50490,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:24:02] local.INFO: Acknowledgment sent {"connection_id":50490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:24:04] local.INFO: TCP Data received {"connection_id":50753,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53f0f30012d196480071fed48003d007022..."} 
[2026-04-22 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53f0f30012d196480071fed48003d007022..."} 
[2026-04-22 18:24:04] local.INFO: Processing buffer {"connection_id":50753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53f0f30012d196480071fed48003d007022..."} 
[2026-04-22 18:24:04] local.INFO: Packet analysis {"connection_id":50753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53f"} 
[2026-04-22 18:24:04] local.INFO: Extracted packet for processing {"connection_id":50753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53f"} 
[2026-04-22 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876743936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24: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-22 18:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862302000,"timestamp_ms":1776862302000,"timestamp_seconds":1776862302,"priority":1,"record_length":96,"hex_timestamp":"0000019db53f0f30"} 
[2026-04-22 18:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:24:04] 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-22 18:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876743936001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876743936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:24:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876743936001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":50753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:24:04] local.INFO: GPS data processed {"connection_id":50753,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:24:04] local.INFO: Acknowledgment sent {"connection_id":50753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:24:25] local.INFO: TCP Data received {"connection_id":50491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:24:25] local.INFO: Processing buffer {"connection_id":50491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:24:25] local.INFO: IMEI packet received {"connection_id":50491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":50491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:24:26] local.INFO: TCP Data received {"connection_id":50754,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:24:26] local.INFO: Processing buffer {"connection_id":50754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:24:26] local.INFO: IMEI packet received {"connection_id":50754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":50754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:24:27] local.INFO: TCP Data received {"connection_id":50754,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:24:27] local.INFO: Processing buffer {"connection_id":50754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:24:27] local.INFO: IMEI packet received {"connection_id":50754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":50754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:24:30] local.INFO: TCP Data received {"connection_id":50491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:24:30] local.INFO: Processing buffer {"connection_id":50491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:24:30] local.INFO: IMEI packet received {"connection_id":50491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":50491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:24:31] local.INFO: TCP Data received {"connection_id":50491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:24:31] local.INFO: Processing buffer {"connection_id":50491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53cc158012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:24:31] local.INFO: Packet analysis {"connection_id":50491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:24:31] local.INFO: Extracted packet for processing {"connection_id":50491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53c"} 
[2026-04-22 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876633856001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:31] 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-22 18:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862151000,"timestamp_ms":1776862151000,"timestamp_seconds":1776862151,"priority":1,"record_length":96,"hex_timestamp":"0000019db53cc158"} 
[2026-04-22 18: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-22 18:24: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876633856001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876633856001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876633856001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":50491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:24:31] local.INFO: GPS data processed {"connection_id":50491,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:24:31] local.INFO: Acknowledgment sent {"connection_id":50491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:24:32] local.INFO: TCP Data received {"connection_id":50754,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:24:32] local.INFO: Processing buffer {"connection_id":50754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:24:32] local.INFO: IMEI packet received {"connection_id":50754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:24:33] local.INFO: TCP Data received {"connection_id":50754,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53f6138012d196480071fed48003d007023..."} 
[2026-04-22 18:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53f6138012d196480071fed48003d007023..."} 
[2026-04-22 18:24:33] local.INFO: Processing buffer {"connection_id":50754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53f6138012d196480071fed48003d007023..."} 
[2026-04-22 18:24:33] local.INFO: Packet analysis {"connection_id":50754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53f"} 
[2026-04-22 18:24:33] local.INFO: Extracted packet for processing {"connection_id":50754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53f"} 
[2026-04-22 18:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876749312001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:24: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-22 18:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862323000,"timestamp_ms":1776862323000,"timestamp_seconds":1776862323,"priority":1,"record_length":96,"hex_timestamp":"0000019db53f6138"} 
[2026-04-22 18: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-22 18:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:24:33] 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-22 18:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876749312001,"66":12363,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876749312001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:24:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876749312001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":50754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:24:33] local.INFO: GPS data processed {"connection_id":50754,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:24:33] local.INFO: Acknowledgment sent {"connection_id":50754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:25:02] local.INFO: TCP Data received {"connection_id":50491,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:25:02] local.INFO: Processing buffer {"connection_id":50491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:25:02] local.INFO: Packet analysis {"connection_id":50491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:25:02] local.INFO: Extracted packet for processing {"connection_id":50491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:02] 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-22 18:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:25: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-22 18:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:25:02] 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-22 18:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:25: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-22 18:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:25:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":50491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:25:02] local.INFO: GPS data processed {"connection_id":50491,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:25:02] local.INFO: Acknowledgment sent {"connection_id":50491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:25:04] local.INFO: TCP Data received {"connection_id":50754,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db53fb340012d196480071fed48003d007024..."} 
[2026-04-22 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db53fb340012d196480071fed48003d007024..."} 
[2026-04-22 18:25:04] local.INFO: Processing buffer {"connection_id":50754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db53fb340012d196480071fed48003d007024..."} 
[2026-04-22 18:25:04] local.INFO: Packet analysis {"connection_id":50754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db53f"} 
[2026-04-22 18:25:04] local.INFO: Extracted packet for processing {"connection_id":50754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db53f"} 
[2026-04-22 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876754688001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25: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-22 18:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862344000,"timestamp_ms":1776862344000,"timestamp_seconds":1776862344,"priority":1,"record_length":96,"hex_timestamp":"0000019db53fb340"} 
[2026-04-22 18:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:25:04] 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-22 18:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876754688001,"66":12374,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876754688001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:25:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876754688001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":50754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:25:04] local.INFO: GPS data processed {"connection_id":50754,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:25:04] local.INFO: Acknowledgment sent {"connection_id":50754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:25:25] local.INFO: TCP Data received {"connection_id":51443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:25:25] local.INFO: Processing buffer {"connection_id":51443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:25:25] local.INFO: IMEI packet received {"connection_id":51443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":51443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:25:29] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:25:29] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:25:29] local.INFO: IMEI packet received {"connection_id":50886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":50886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:25:31] local.INFO: TCP Data received {"connection_id":51443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:25:31] local.INFO: Processing buffer {"connection_id":51443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:25:31] local.INFO: IMEI packet received {"connection_id":51443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":51443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:25:31] local.INFO: TCP Data received {"connection_id":51443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:25:31] local.INFO: Processing buffer {"connection_id":51443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:25:31] local.INFO: Packet analysis {"connection_id":51443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:25:31] local.INFO: Extracted packet for processing {"connection_id":51443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:31] 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-22 18:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18: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-22 18:25: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":51443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:25:31] local.INFO: GPS data processed {"connection_id":51443,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:25:31] local.INFO: Acknowledgment sent {"connection_id":51443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:25:32] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:25:32] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:25:32] local.INFO: IMEI packet received {"connection_id":50886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:25:35] local.INFO: TCP Data received {"connection_id":51442,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:25:35] local.INFO: Processing buffer {"connection_id":51442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:25:35] local.INFO: IMEI packet received {"connection_id":51442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":51442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:25:36] local.INFO: TCP Data received {"connection_id":51442,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db540e7d8012d7d3e0005d3cb60000800b71f..."} 
[2026-04-22 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db540e7d8012d7d3e0005d3cb60000800b71f..."} 
[2026-04-22 18:25:36] local.INFO: Processing buffer {"connection_id":51442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db540e7d8012d7d3e0005d3cb60000800b71f..."} 
[2026-04-22 18:25:36] local.INFO: Packet analysis {"connection_id":51442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:25:36] local.INFO: Extracted packet for processing {"connection_id":51442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":97766240,"longitude_deg":76.3182592,"latitude_deg":9.776624,"altitude":8,"angle":183,"satellites":31,"speed":40,"hex_longitude":"2d7d3e00","hex_latitude":"05d3cb60","is_valid_coordinates":true} 
[2026-04-22 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876777984001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74879331716825088,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565522001844224,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776862423000,"timestamp_ms":1776862423000,"timestamp_seconds":1776862423,"priority":1,"record_length":96,"hex_timestamp":"0000019db540e7d8"} 
[2026-04-22 18:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:25:36] 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-22 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 18:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876777984001,"66":13537,"81":206,"85":15104,"24":40,"16":74879331716825088,"45":9025565522001844224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-22 18:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876777984001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-22 18:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74879331716825088,"km_value":74879331716825.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565522001844224,"description":"Unknown IO ID 45"} 
[2026-04-22 18:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876777984001,"power":13537,"unknown_81":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9025565522001844224}} 
[2026-04-22 18:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":51442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:25:36] local.INFO: GPS data processed {"connection_id":51442,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:25:36] local.INFO: Acknowledgment sent {"connection_id":51442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:25:37] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:25:37] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:25:37] local.INFO: IMEI packet received {"connection_id":50886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":50886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:25:38] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5400548012d196480071fed48003d007024..."} 
[2026-04-22 18:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5400548012d196480071fed48003d007024..."} 
[2026-04-22 18:25:38] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5400548012d196480071fed48003d007024..."} 
[2026-04-22 18:25:38] local.INFO: Packet analysis {"connection_id":50886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:25:38] local.INFO: Extracted packet for processing {"connection_id":50886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876760064001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25: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-22 18:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776862365000,"timestamp_ms":1776862365000,"timestamp_seconds":1776862365,"priority":1,"record_length":96,"hex_timestamp":"0000019db5400548"} 
[2026-04-22 18:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 18:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:25:38] 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-22 18:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876760064001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876760064001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:25:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876760064001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":50886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:25:38] local.INFO: GPS data processed {"connection_id":50886,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:25:38] local.INFO: Acknowledgment sent {"connection_id":50886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:25:42] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5405750012d196480071fed48003d007024..."} 
[2026-04-22 18:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5405750012d196480071fed48003d007024..."} 
[2026-04-22 18:25:42] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5405750012d196480071fed48003d007024..."} 
[2026-04-22 18:25:42] local.INFO: Packet analysis {"connection_id":50886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:25:42] local.INFO: Extracted packet for processing {"connection_id":50886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876765440001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:25: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-22 18:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776862386000,"timestamp_ms":1776862386000,"timestamp_seconds":1776862386,"priority":1,"record_length":96,"hex_timestamp":"0000019db5405750"} 
[2026-04-22 18:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:25: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-22 18:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876765440001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876765440001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:25:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876765440001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":50886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:25:42] local.INFO: GPS data processed {"connection_id":50886,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:25:42] local.INFO: Acknowledgment sent {"connection_id":50886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:26:02] local.INFO: TCP Data received {"connection_id":51443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:26:02] local.INFO: Processing buffer {"connection_id":51443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:26:02] local.INFO: Packet analysis {"connection_id":51443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:26:02] local.INFO: Extracted packet for processing {"connection_id":51443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:02] 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-22 18:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18: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-22 18: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-22 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:26:02] 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-22 18: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-22 18: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-22 18:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:26: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-22 18:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":51443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:26:02] local.INFO: GPS data processed {"connection_id":51443,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:26:02] local.INFO: Acknowledgment sent {"connection_id":51443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:26:15] local.INFO: TCP Data received {"connection_id":50492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:26:15] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:26:15] local.INFO: IMEI packet received {"connection_id":50492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":50492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:26:17] local.INFO: TCP Data received {"connection_id":50492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:26:17] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:26:17] local.INFO: IMEI packet received {"connection_id":50492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":50492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:26:18] local.INFO: TCP Data received {"connection_id":50492,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db542b4c8012d7d424005d298480008009720..."} 
[2026-04-22 18:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db542b4c8012d7d424005d298480008009720..."} 
[2026-04-22 18:26:18] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db542b4c8012d7d424005d298480008009720..."} 
[2026-04-22 18:26:18] local.INFO: Packet analysis {"connection_id":50492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:26:18] local.INFO: Extracted packet for processing {"connection_id":50492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":97687624,"longitude_deg":76.318368,"latitude_deg":9.7687624,"altitude":8,"angle":151,"satellites":32,"speed":1,"hex_longitude":"2d7d4240","hex_latitude":"05d29848","is_valid_coordinates":true} 
[2026-04-22 18:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876806144001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74883154237718528,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025776628211941376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776862541000,"timestamp_ms":1776862541000,"timestamp_seconds":1776862541,"priority":1,"record_length":96,"hex_timestamp":"0000019db542b4c8"} 
[2026-04-22 18:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:26: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-22 18:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-22 18:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":50492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":50492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":50492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876806144001,"66":13222,"117":206,"85":15104,"24":1,"16":74883154237718528,"45":9025776628211941376},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-22 18:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876806144001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:26:18] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-22 18:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74883154237718528,"km_value":74883154237718.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025776628211941376,"description":"Unknown IO ID 45"} 
[2026-04-22 18:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876806144001,"power":13222,"unknown_117":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9025776628211941376}} 
[2026-04-22 18:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":50492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:26:18] local.INFO: GPS data processed {"connection_id":50492,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:26:18] local.INFO: Acknowledgment sent {"connection_id":50492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:26:20] local.INFO: TCP Data received {"connection_id":50492,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db542c080012d7d424005d297a0000800aa20..."} 
[2026-04-22 18:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db542c080012d7d424005d297a0000800aa20..."} 
[2026-04-22 18:26:20] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db542c080012d7d424005d297a0000800aa20..."} 
[2026-04-22 18:26:20] local.INFO: Packet analysis {"connection_id":50492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:26:20] local.INFO: Extracted packet for processing {"connection_id":50492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:26:20] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":97687456,"longitude_deg":76.318368,"latitude_deg":9.7687456,"altitude":8,"angle":170,"satellites":32,"speed":2,"hex_longitude":"2d7d4240","hex_latitude":"05d297a0","is_valid_coordinates":true} 
[2026-04-22 18:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876810496001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74883162827653120,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996956104704,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:20] 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-22 18:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776862544000,"timestamp_ms":1776862544000,"timestamp_seconds":1776862544,"priority":1,"record_length":96,"hex_timestamp":"0000019db542c080"} 
[2026-04-22 18:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:26:20] 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-22 18:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-22 18:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876810496001,"66":13515,"117":206,"85":15104,"24":2,"16":74883162827653120,"45":9025846996956104704},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-22 18:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876810496001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:26:20] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-22 18:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74883162827653120,"km_value":74883162827653.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996956104704,"description":"Unknown IO ID 45"} 
[2026-04-22 18:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876810496001,"power":13515,"unknown_117":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9025846996956104704}} 
[2026-04-22 18:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":50492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:26:20] local.INFO: GPS data processed {"connection_id":50492,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:26:20] local.INFO: Acknowledgment sent {"connection_id":50492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:26:25] local.INFO: TCP Data received {"connection_id":51444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:26:25] local.INFO: Processing buffer {"connection_id":51444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:26:25] local.INFO: IMEI packet received {"connection_id":51444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":51444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:26:27] local.INFO: TCP Data received {"connection_id":50493,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:26:27] local.INFO: Processing buffer {"connection_id":50493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:26:27] local.INFO: IMEI packet received {"connection_id":50493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:26:30] local.INFO: TCP Data received {"connection_id":51444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:26:30] local.INFO: Processing buffer {"connection_id":51444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:26:30] local.INFO: IMEI packet received {"connection_id":51444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":51444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:26:31] local.INFO: TCP Data received {"connection_id":51444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:26:31] local.INFO: Processing buffer {"connection_id":51444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:26:31] local.INFO: Packet analysis {"connection_id":51444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:26:31] local.INFO: Extracted packet for processing {"connection_id":51444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:31] 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-22 18:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18: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-22 18:26: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":51444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:26:31] local.INFO: GPS data processed {"connection_id":51444,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:26:31] local.INFO: Acknowledgment sent {"connection_id":51444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:26:32] local.INFO: TCP Data received {"connection_id":50493,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:26:32] local.INFO: Processing buffer {"connection_id":50493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:26:32] local.INFO: IMEI packet received {"connection_id":50493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:26:33] local.INFO: TCP Data received {"connection_id":50493,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db540a958012d196480071fed48003d007023..."} 
[2026-04-22 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db540a958012d196480071fed48003d007023..."} 
[2026-04-22 18:26:33] local.INFO: Processing buffer {"connection_id":50493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db540a958012d196480071fed48003d007023..."} 
[2026-04-22 18:26:33] local.INFO: Packet analysis {"connection_id":50493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:26:33] local.INFO: Extracted packet for processing {"connection_id":50493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876770816001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26: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-22 18:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862407000,"timestamp_ms":1776862407000,"timestamp_seconds":1776862407,"priority":1,"record_length":96,"hex_timestamp":"0000019db540a958"} 
[2026-04-22 18: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-22 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:26:33] 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-22 18:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876770816001,"66":12287,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876770816001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:26:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876770816001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:26:33] local.INFO: GPS data processed {"connection_id":50493,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:26:33] local.INFO: Acknowledgment sent {"connection_id":50493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:26:33] local.INFO: TCP Data received {"connection_id":50493,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db540fb60012d196480071fed48003d007024..."} 
[2026-04-22 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db540fb60012d196480071fed48003d007024..."} 
[2026-04-22 18:26:33] local.INFO: Processing buffer {"connection_id":50493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db540fb60012d196480071fed48003d007024..."} 
[2026-04-22 18:26:33] local.INFO: Packet analysis {"connection_id":50493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:26:33] local.INFO: Extracted packet for processing {"connection_id":50493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db540"} 
[2026-04-22 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876776192001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26: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-22 18:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862428000,"timestamp_ms":1776862428000,"timestamp_seconds":1776862428,"priority":1,"record_length":96,"hex_timestamp":"0000019db540fb60"} 
[2026-04-22 18: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-22 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 18:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:26:33] 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-22 18:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876776192001,"66":12319,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876776192001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:26:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876776192001,"power":12319,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":50493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:26:34] local.INFO: GPS data processed {"connection_id":50493,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:26:34] local.INFO: Acknowledgment sent {"connection_id":50493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:26:50] local.INFO: TCP Data received {"connection_id":50757,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:26:50] local.INFO: Processing buffer {"connection_id":50757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:26:50] local.INFO: IMEI packet received {"connection_id":50757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":50757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:26:53] local.INFO: TCP Data received {"connection_id":50492,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db542cc38012d7d424005d29618000800b820..."} 
[2026-04-22 18:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db542cc38012d7d424005d29618000800b820..."} 
[2026-04-22 18:26:53] local.INFO: Processing buffer {"connection_id":50492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db542cc38012d7d424005d29618000800b820..."} 
[2026-04-22 18:26:53] local.INFO: Packet analysis {"connection_id":50492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:26:53] local.INFO: Extracted packet for processing {"connection_id":50492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":97687064,"longitude_deg":76.318368,"latitude_deg":9.7687064,"altitude":8,"angle":184,"satellites":32,"speed":6,"hex_longitude":"2d7d4240","hex_latitude":"05d29618","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876811264001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74883180007522304,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996956061696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:26:53] 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-22 18:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776862547000,"timestamp_ms":1776862547000,"timestamp_seconds":1776862547,"priority":1,"record_length":96,"hex_timestamp":"0000019db542cc38"} 
[2026-04-22 18: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-22 18:26:53] 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-22 18: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-22 18:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":50492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":50492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":50492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876811264001,"66":13504,"117":206,"85":15104,"24":6,"16":74883180007522304,"45":9025846996956061696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-22 18:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876811264001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:26:53] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-22 18:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74883180007522304,"km_value":74883180007522.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996956061696,"description":"Unknown IO ID 45"} 
[2026-04-22 18:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876811264001,"power":13504,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9025846996956061696}} 
[2026-04-22 18:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":50492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:26:53] local.INFO: GPS data processed {"connection_id":50492,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:26:53] local.INFO: Acknowledgment sent {"connection_id":50492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:27:02] local.INFO: TCP Data received {"connection_id":51444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:27:02] local.INFO: Processing buffer {"connection_id":51444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:27:02] local.INFO: Packet analysis {"connection_id":51444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:02] local.INFO: Extracted packet for processing {"connection_id":51444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 18:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:02] 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-22 18:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 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-22 18:27: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:27:02] 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-22 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-22 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-22 18:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:27: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-22 18:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:27:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":51444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:27:02] local.INFO: GPS data processed {"connection_id":51444,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:27:02] local.INFO: Acknowledgment sent {"connection_id":51444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:27:04] local.INFO: TCP Data received {"connection_id":50493,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5414d68012d196480071fed48003d007021..."} 
[2026-04-22 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5414d68012d196480071fed48003d007021..."} 
[2026-04-22 18:27:04] local.INFO: Processing buffer {"connection_id":50493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5414d68012d196480071fed48003d007021..."} 
[2026-04-22 18:27:04] local.INFO: Packet analysis {"connection_id":50493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:04] local.INFO: Extracted packet for processing {"connection_id":50493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876781568001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27: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-22 18:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862449000,"timestamp_ms":1776862449000,"timestamp_seconds":1776862449,"priority":1,"record_length":96,"hex_timestamp":"0000019db5414d68"} 
[2026-04-22 18:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:27:04] 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-22 18:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:27:04] 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-22 18:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876781568001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876781568001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:27:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876781568001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:27:04] local.INFO: GPS data processed {"connection_id":50493,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:27:04] local.INFO: Acknowledgment sent {"connection_id":50493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:27:08] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:27:08] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:27:08] local.INFO: IMEI packet received {"connection_id":50887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":50887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:27:10] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:27:10] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:27:10] local.INFO: IMEI packet received {"connection_id":50887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":50887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:27:15] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:27:15] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:27:15] local.INFO: IMEI packet received {"connection_id":50887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":50887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:27:16] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5431a58012d7d3dc005d27250000b00bc20..."} 
[2026-04-22 18:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5431a58012d7d3dc005d27250000b00bc20..."} 
[2026-04-22 18:27:16] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5431a58012d7d3dc005d27250000b00bc20..."} 
[2026-04-22 18:27:16] local.INFO: Packet analysis {"connection_id":50887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:27:16] local.INFO: Extracted packet for processing {"connection_id":50887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97677904,"longitude_deg":76.3182528,"latitude_deg":9.7677904,"altitude":11,"angle":188,"satellites":32,"speed":36,"hex_longitude":"2d7d3dc0","hex_latitude":"05d27250","is_valid_coordinates":true} 
[2026-04-22 18:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876812032001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74883630979088384,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996955961344,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:16] 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-22 18:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776862567000,"timestamp_ms":1776862567000,"timestamp_seconds":1776862567,"priority":1,"record_length":96,"hex_timestamp":"0000019db5431a58"} 
[2026-04-22 18:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:27: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-22 18:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-22 18:27:16] 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-22 18:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876812032001,"66":13450,"117":206,"85":15104,"24":36,"16":74883630979088384,"45":9025846996955961344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-22 18:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876812032001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:27:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-22 18:27:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74883630979088384,"km_value":74883630979088.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996955961344,"description":"Unknown IO ID 45"} 
[2026-04-22 18:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876812032001,"power":13450,"unknown_117":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9025846996955961344}} 
[2026-04-22 18:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":50887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:27:16] local.INFO: GPS data processed {"connection_id":50887,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:27:16] local.INFO: Acknowledgment sent {"connection_id":50887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:27:17] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5433998012d7d388005d25018000b00bd20..."} 
[2026-04-22 18:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5433998012d7d388005d25018000b00bd20..."} 
[2026-04-22 18:27:17] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5433998012d7d388005d25018000b00bd20..."} 
[2026-04-22 18:27:17] local.INFO: Packet analysis {"connection_id":50887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:27:17] local.INFO: Extracted packet for processing {"connection_id":50887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:27:17] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":97669144,"longitude_deg":76.3181184,"latitude_deg":9.7669144,"altitude":11,"angle":189,"satellites":32,"speed":45,"hex_longitude":"2d7d3880","hex_latitude":"05d25018","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876817152001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74884060475817984,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359558418432,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776862575000,"timestamp_ms":1776862575000,"timestamp_seconds":1776862575,"priority":1,"record_length":96,"hex_timestamp":"0000019db5433998"} 
[2026-04-22 18: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-22 18:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-22 18:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":50887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":50887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":50887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876817152001,"66":13765,"117":206,"85":15104,"24":45,"16":74884060475817984,"45":9024580359558418432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-22 18:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876817152001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:27:17] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-22 18:27:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74884060475817984,"km_value":74884060475817.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359558418432,"description":"Unknown IO ID 45"} 
[2026-04-22 18:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876817152001,"power":13765,"unknown_117":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9024580359558418432}} 
[2026-04-22 18:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":50887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:27:17] local.INFO: GPS data processed {"connection_id":50887,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:27:17] local.INFO: Acknowledgment sent {"connection_id":50887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:27:27] local.INFO: TCP Data received {"connection_id":51445,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:27:27] local.INFO: Processing buffer {"connection_id":51445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:27:27] local.INFO: IMEI packet received {"connection_id":51445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":51445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:27:30] local.INFO: TCP Data received {"connection_id":51446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:27:30] local.INFO: Processing buffer {"connection_id":51446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:27:30] local.INFO: IMEI packet received {"connection_id":51446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":51446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:27:32] local.INFO: TCP Data received {"connection_id":51445,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:27:32] local.INFO: Processing buffer {"connection_id":51445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:27:32] local.INFO: IMEI packet received {"connection_id":51445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":51445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:27:33] local.INFO: TCP Data received {"connection_id":51445,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5419f70012d196480071fed48003d007023..."} 
[2026-04-22 18:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5419f70012d196480071fed48003d007023..."} 
[2026-04-22 18:27:33] local.INFO: Processing buffer {"connection_id":51445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5419f70012d196480071fed48003d007023..."} 
[2026-04-22 18:27:33] local.INFO: Packet analysis {"connection_id":51445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:33] local.INFO: Extracted packet for processing {"connection_id":51445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876786944001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27: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-22 18:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862470000,"timestamp_ms":1776862470000,"timestamp_seconds":1776862470,"priority":1,"record_length":96,"hex_timestamp":"0000019db5419f70"} 
[2026-04-22 18: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-22 18:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:27:33] 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-22 18:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876786944001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876786944001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:27:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876786944001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":51445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:27:33] local.INFO: GPS data processed {"connection_id":51445,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:27:33] local.INFO: Acknowledgment sent {"connection_id":51445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:27:35] local.INFO: TCP Data received {"connection_id":51446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:27:35] local.INFO: Processing buffer {"connection_id":51446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:27:35] local.INFO: IMEI packet received {"connection_id":51446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":51446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:27:36] local.INFO: TCP Data received {"connection_id":51446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:27:36] local.INFO: Processing buffer {"connection_id":51446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:27:36] local.INFO: Packet analysis {"connection_id":51446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:36] local.INFO: Extracted packet for processing {"connection_id":51446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27: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-22 18:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:27: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-22 18:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:27:36] 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-22 18:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:27: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-22 18:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":51446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:27:36] local.INFO: GPS data processed {"connection_id":51446,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:27:36] local.INFO: Acknowledgment sent {"connection_id":51446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:27:41] local.INFO: TCP Data received {"connection_id":51446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:27:41] local.INFO: Processing buffer {"connection_id":51446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:27:41] local.INFO: Packet analysis {"connection_id":51446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:41] local.INFO: Extracted packet for processing {"connection_id":51446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:41] 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-22 18:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:27:41] local.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-22 18:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:27:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":51446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:27:41] local.INFO: GPS data processed {"connection_id":51446,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:27:41] local.INFO: Acknowledgment sent {"connection_id":51446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:27:48] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5446278012d7d3c8005d0ed90000e00b023..."} 
[2026-04-22 18:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5446278012d7d3c8005d0ed90000e00b023..."} 
[2026-04-22 18:27:48] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5446278012d7d3c8005d0ed90000e00b023..."} 
[2026-04-22 18:27:48] local.INFO: Packet analysis {"connection_id":50887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:27:48] local.INFO: Extracted packet for processing {"connection_id":50887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:27:48] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97578384,"longitude_deg":76.3182208,"latitude_deg":9.7578384,"altitude":14,"angle":176,"satellites":35,"speed":68,"hex_longitude":"2d7d3c80","hex_latitude":"05d0ed90","is_valid_coordinates":true} 
[2026-04-22 18:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876837120001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74888501472002048,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665565861230592,"note":"Value kept but may cause issues"} 
[2026-04-22 18:27:48] 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-22 18:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776862651000,"timestamp_ms":1776862651000,"timestamp_seconds":1776862651,"priority":1,"record_length":96,"hex_timestamp":"0000019db5446278"} 
[2026-04-22 18:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 18:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876837120001,"66":13656,"24":68,"85":15104,"16":74888501472002048,"45":9023665565861230592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-22 18:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876837120001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:27:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74888501472002048,"km_value":74888501472002.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665565861230592,"description":"Unknown IO ID 45"} 
[2026-04-22 18:27:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454876837120001,"power":13656,"ignition":68,"unknown_85":15104,"odometer":null,"unknown_45":9023665565861230592}} 
[2026-04-22 18:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":50887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:27:48] local.INFO: GPS data processed {"connection_id":50887,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:27:48] local.INFO: Acknowledgment sent {"connection_id":50887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:28:04] local.INFO: TCP Data received {"connection_id":51445,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db541f178012d196480071fed48003d007024..."} 
[2026-04-22 18:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db541f178012d196480071fed48003d007024..."} 
[2026-04-22 18:28:04] local.INFO: Processing buffer {"connection_id":51445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db541f178012d196480071fed48003d007024..."} 
[2026-04-22 18:28:04] local.INFO: Packet analysis {"connection_id":51445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:28:04] local.INFO: Extracted packet for processing {"connection_id":51445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876792320001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28: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-22 18:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862491000,"timestamp_ms":1776862491000,"timestamp_seconds":1776862491,"priority":1,"record_length":96,"hex_timestamp":"0000019db541f178"} 
[2026-04-22 18:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:28:04] 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-22 18:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876792320001,"66":12254,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876792320001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:28:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876792320001,"power":12254,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":51445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:28:04] local.INFO: GPS data processed {"connection_id":51445,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:28:04] local.INFO: Acknowledgment sent {"connection_id":51445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:28:11] local.INFO: TCP Data received {"connection_id":50759,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:28:11] local.INFO: Processing buffer {"connection_id":50759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:28:11] local.INFO: IMEI packet received {"connection_id":50759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":50759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:28:15] local.INFO: TCP Data received {"connection_id":50759,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:28:15] local.INFO: Processing buffer {"connection_id":50759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:28:15] local.INFO: IMEI packet received {"connection_id":50759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":50759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:28:16] local.INFO: TCP Data received {"connection_id":50759,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54479e8012d7d3f4005d0c580000e00af23..."} 
[2026-04-22 18:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54479e8012d7d3f4005d0c580000e00af23..."} 
[2026-04-22 18:28:16] local.INFO: Processing buffer {"connection_id":50759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54479e8012d7d3f4005d0c580000e00af23..."} 
[2026-04-22 18:28:16] local.INFO: Packet analysis {"connection_id":50759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:28:16] local.INFO: Extracted packet for processing {"connection_id":50759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:28:16] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":97568128,"longitude_deg":76.3182912,"latitude_deg":9.7568128,"altitude":14,"angle":175,"satellites":35,"speed":65,"hex_longitude":"2d7d3f40","hex_latitude":"05d0c580","is_valid_coordinates":true} 
[2026-04-22 18:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876838656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74888999688208384,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515812052992,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:16] 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-22 18:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776862657000,"timestamp_ms":1776862657000,"timestamp_seconds":1776862657,"priority":1,"record_length":96,"hex_timestamp":"0000019db54479e8"} 
[2026-04-22 18:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:28: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-22 18:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:28:16] 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-22 18:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876838656001,"66":13613,"24":65,"85":15104,"16":74888999688208384,"45":9024228515812052992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-22 18:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876838656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:28:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74888999688208384,"km_value":74888999688208.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515812052992,"description":"Unknown IO ID 45"} 
[2026-04-22 18:28:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454876838656001,"power":13613,"ignition":65,"unknown_85":15104,"odometer":null,"unknown_45":9024228515812052992}} 
[2026-04-22 18:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":50759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:28:16] local.INFO: GPS data processed {"connection_id":50759,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:28:16] local.INFO: Acknowledgment sent {"connection_id":50759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:28:25] local.INFO: TCP Data received {"connection_id":50494,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:28:25] local.INFO: Processing buffer {"connection_id":50494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:28:25] local.INFO: IMEI packet received {"connection_id":50494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":50494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:28:27] local.INFO: TCP Data received {"connection_id":50495,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:28:27] local.INFO: Processing buffer {"connection_id":50495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:28:27] local.INFO: IMEI packet received {"connection_id":50495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":50495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:28:30] local.INFO: TCP Data received {"connection_id":50494,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:28:30] local.INFO: Processing buffer {"connection_id":50494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:28:30] local.INFO: IMEI packet received {"connection_id":50494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":50494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:28:31] local.INFO: TCP Data received {"connection_id":50494,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:28:31] local.INFO: Processing buffer {"connection_id":50494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:28:31] local.INFO: Packet analysis {"connection_id":50494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:28:31] local.INFO: Extracted packet for processing {"connection_id":50494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:31] 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-22 18:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18: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-22 18:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":50494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:28:31] local.INFO: GPS data processed {"connection_id":50494,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:28:31] local.INFO: Acknowledgment sent {"connection_id":50494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:28:32] local.INFO: TCP Data received {"connection_id":50495,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:28:32] local.INFO: Processing buffer {"connection_id":50495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:28:32] local.INFO: IMEI packet received {"connection_id":50495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:28:33] local.INFO: TCP Data received {"connection_id":50495,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5424380012d196480071fed48003d007022..."} 
[2026-04-22 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5424380012d196480071fed48003d007022..."} 
[2026-04-22 18:28:33] local.INFO: Processing buffer {"connection_id":50495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5424380012d196480071fed48003d007022..."} 
[2026-04-22 18:28:33] local.INFO: Packet analysis {"connection_id":50495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:28:33] local.INFO: Extracted packet for processing {"connection_id":50495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876797696001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28: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-22 18:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862512000,"timestamp_ms":1776862512000,"timestamp_seconds":1776862512,"priority":1,"record_length":96,"hex_timestamp":"0000019db5424380"} 
[2026-04-22 18: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-22 18:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-04-22 18:28:33] 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-22 18: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-22 18: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-22 18:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:28:33] 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-22 18:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876797696001,"66":12363,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876797696001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:28:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876797696001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:28:33] local.INFO: GPS data processed {"connection_id":50495,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:28:33] local.INFO: Acknowledgment sent {"connection_id":50495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:28:36] local.INFO: TCP Data received {"connection_id":50494,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:28:36] local.INFO: Processing buffer {"connection_id":50494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:28:36] local.INFO: Packet analysis {"connection_id":50494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:28:36] local.INFO: Extracted packet for processing {"connection_id":50494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28: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-22 18:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:28: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-22 18:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:28:36] 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-22 18:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:28: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-22 18:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":50494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:28:36] local.INFO: GPS data processed {"connection_id":50494,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:28:36] local.INFO: Acknowledgment sent {"connection_id":50494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:28:47] local.INFO: TCP Data received {"connection_id":50759,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5449158012d7d424005d0a278000e00b023..."} 
[2026-04-22 18:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5449158012d7d424005d0a278000e00b023..."} 
[2026-04-22 18:28:47] local.INFO: Processing buffer {"connection_id":50759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5449158012d7d424005d0a278000e00b023..."} 
[2026-04-22 18:28:47] local.INFO: Packet analysis {"connection_id":50759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:28:47] local.INFO: Extracted packet for processing {"connection_id":50759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":97559160,"longitude_deg":76.318368,"latitude_deg":9.755916,"altitude":14,"angle":176,"satellites":35,"speed":48,"hex_longitude":"2d7d4240","hex_latitude":"05d0a278","is_valid_coordinates":true} 
[2026-04-22 18:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876840192001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74889437774872576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002571995381760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:28:47] 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-22 18:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776862663000,"timestamp_ms":1776862663000,"timestamp_seconds":1776862663,"priority":1,"record_length":96,"hex_timestamp":"0000019db5449158"} 
[2026-04-22 18:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-04-22 18:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876840192001,"66":13580,"24":48,"85":15104,"16":74889437774872576,"45":9025002571995381760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-22 18:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876840192001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:28:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74889437774872576,"km_value":74889437774872.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002571995381760,"description":"Unknown IO ID 45"} 
[2026-04-22 18:28:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454876840192001,"power":13580,"ignition":48,"unknown_85":15104,"odometer":null,"unknown_45":9025002571995381760}} 
[2026-04-22 18:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":50759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:28:47] local.INFO: GPS data processed {"connection_id":50759,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:28:47] local.INFO: Acknowledgment sent {"connection_id":50759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:29:04] local.INFO: TCP Data received {"connection_id":50495,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5429588012d196480071fed48003d007025..."} 
[2026-04-22 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5429588012d196480071fed48003d007025..."} 
[2026-04-22 18:29:04] local.INFO: Processing buffer {"connection_id":50495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5429588012d196480071fed48003d007025..."} 
[2026-04-22 18:29:04] local.INFO: Packet analysis {"connection_id":50495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:29:04] local.INFO: Extracted packet for processing {"connection_id":50495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876803072001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29: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-22 18:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862533000,"timestamp_ms":1776862533000,"timestamp_seconds":1776862533,"priority":1,"record_length":96,"hex_timestamp":"0000019db5429588"} 
[2026-04-22 18:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:29:04] 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-22 18:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876803072001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876803072001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:29:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:29:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876803072001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":50495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:29:04] local.INFO: GPS data processed {"connection_id":50495,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:29:04] local.INFO: Acknowledgment sent {"connection_id":50495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:29:07] local.INFO: TCP Data received {"connection_id":50494,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:29:07] local.INFO: Processing buffer {"connection_id":50494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:29:07] local.INFO: Packet analysis {"connection_id":50494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:29:07] local.INFO: Extracted packet for processing {"connection_id":50494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:07] 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-22 18:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:29:07] 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-22 18:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:29: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-22 18:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":50494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:29:07] local.INFO: GPS data processed {"connection_id":50494,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:29:07] local.INFO: Acknowledgment sent {"connection_id":50494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:29:09] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:09] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:09] local.INFO: IMEI packet received {"connection_id":50760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":50760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:29:10] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:10] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:10] local.INFO: IMEI packet received {"connection_id":50760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":50760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:29:12] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:12] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:12] local.INFO: IMEI packet received {"connection_id":50760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":50760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:29:15] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:15] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:29:15] local.INFO: IMEI packet received {"connection_id":50760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":50760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:29:16] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db544df78012d7d460005d07fc8000e00ae24..."} 
[2026-04-22 18:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db544df78012d7d460005d07fc8000e00ae24..."} 
[2026-04-22 18:29:16] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db544df78012d7d460005d07fc8000e00ae24..."} 
[2026-04-22 18:29:16] local.INFO: Packet analysis {"connection_id":50760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:29:16] local.INFO: Extracted packet for processing {"connection_id":50760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:29:16] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":97550280,"longitude_deg":76.318464,"latitude_deg":9.755028,"altitude":14,"angle":174,"satellites":36,"speed":14,"hex_longitude":"2d7d4600","hex_latitude":"05d07fc8","is_valid_coordinates":true} 
[2026-04-22 18:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876841728001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74889871566569472,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996923217920,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] 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-22 18:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776862683000,"timestamp_ms":1776862683000,"timestamp_seconds":1776862683,"priority":1,"record_length":96,"hex_timestamp":"0000019db544df78"} 
[2026-04-22 18:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:29: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-22 18:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581708,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3041132752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":724232916053262336,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477912,"corrected_to":0} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807951383,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820145358,"corrected_to":0} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251171926413619627,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515105280,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3747001288022818829,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,24,85,241,157,16,15,121,45,64,197,14,35,10,66,98,128,237,75,1,240,247,227,181,209,4,113,205,61,28,55,33,239,53,2,5,13,125,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":247,"original":13477912,"validated":0},{"io_id":205,"original":2820145358,"validated":0}]} 
[2026-04-22 18:29:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008999980904480768,"timestamp_seconds":1008999980904480.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876841728001,"66":13450,"24":14,"85":15104,"16":74889871566569472,"45":9025846996923217920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-22 18:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876841728001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:29:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74889871566569472,"km_value":74889871566569.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996923217920,"description":"Unknown IO ID 45"} 
[2026-04-22 18:29:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454876841728001,"power":13450,"ignition":14,"unknown_85":15104,"odometer":null,"unknown_45":9025846996923217920}} 
[2026-04-22 18:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":50760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:29:16] local.INFO: GPS data processed {"connection_id":50760,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:29:16] local.INFO: Acknowledgment sent {"connection_id":50760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:29:25] local.INFO: TCP Data received {"connection_id":50889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:29:25] local.INFO: Processing buffer {"connection_id":50889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:29:25] local.INFO: IMEI packet received {"connection_id":50889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":50889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:29:27] local.INFO: TCP Data received {"connection_id":50890,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:29:27] local.INFO: Processing buffer {"connection_id":50890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:29:27] local.INFO: IMEI packet received {"connection_id":50890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":50890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:29:30] local.INFO: TCP Data received {"connection_id":50889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:29:30] local.INFO: Processing buffer {"connection_id":50889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:29:30] local.INFO: IMEI packet received {"connection_id":50889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":50889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:29:31] local.INFO: TCP Data received {"connection_id":50889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:29:31] local.INFO: Processing buffer {"connection_id":50889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5415920012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:29:31] local.INFO: Packet analysis {"connection_id":50889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:29:31] local.INFO: Extracted packet for processing {"connection_id":50889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db541"} 
[2026-04-22 18:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876710656001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:31] 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-22 18:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862452000,"timestamp_ms":1776862452000,"timestamp_seconds":1776862452,"priority":1,"record_length":96,"hex_timestamp":"0000019db5415920"} 
[2026-04-22 18: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-22 18: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:29: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-22 18:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876710656001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876710656001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876710656001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":50889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:29:31] local.INFO: GPS data processed {"connection_id":50889,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:29:31] local.INFO: Acknowledgment sent {"connection_id":50889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:29:32] local.INFO: TCP Data received {"connection_id":50890,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:29:32] local.INFO: Processing buffer {"connection_id":50890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:29:32] local.INFO: IMEI packet received {"connection_id":50890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":50890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:29:33] local.INFO: TCP Data received {"connection_id":50890,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db542e790012d196480071fed48003d007026..."} 
[2026-04-22 18:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db542e790012d196480071fed48003d007026..."} 
[2026-04-22 18:29:33] local.INFO: Processing buffer {"connection_id":50890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db542e790012d196480071fed48003d007026..."} 
[2026-04-22 18:29:33] local.INFO: Packet analysis {"connection_id":50890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:29:33] local.INFO: Extracted packet for processing {"connection_id":50890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db542"} 
[2026-04-22 18:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876808448001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18: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-22 18:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862554000,"timestamp_ms":1776862554000,"timestamp_seconds":1776862554,"priority":1,"record_length":96,"hex_timestamp":"0000019db542e790"} 
[2026-04-22 18: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-22 18:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:29:33] 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-22 18:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876808448001,"66":12287,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876808448001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:29:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876808448001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":50890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:29:33] local.INFO: GPS data processed {"connection_id":50890,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:29:33] local.INFO: Acknowledgment sent {"connection_id":50890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:29:47] local.INFO: TCP Data received {"connection_id":50760,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5460470012d7d530005cf4040000d00b524..."} 
[2026-04-22 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5460470012d7d530005cf4040000d00b524..."} 
[2026-04-22 18:29:47] local.INFO: Processing buffer {"connection_id":50760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5460470012d7d530005cf4040000d00b524..."} 
[2026-04-22 18:29:47] local.INFO: Packet analysis {"connection_id":50760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:29:47] local.INFO: Extracted packet for processing {"connection_id":50760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763187968,"raw_latitude":97468480,"longitude_deg":76.3187968,"latitude_deg":9.746848,"altitude":13,"angle":181,"satellites":36,"speed":14,"hex_longitude":"2d7d5300","hex_latitude":"05cf4040","is_valid_coordinates":true} 
[2026-04-22 18:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864000001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74893853001252864,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965271783424,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776862758000,"timestamp_ms":1776862758000,"timestamp_seconds":1776862758,"priority":1,"record_length":96,"hex_timestamp":"0000019db5460470"} 
[2026-04-22 18:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:29: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-22 18:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581713,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3041223752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":725551230494965760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3221606334,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":18,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2546991118,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204026904,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894135502,"corrected_to":0} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3087084925,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3488002048,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5656527523099443215,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271323145220523,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755657139224817,"note":"Value kept but may cause issues"} 
[2026-04-22 18:29:47] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,129,85,24,241,157,16,19,217,45,128,71,13,36,10,66,201,64,81,14,38,170,1,240,78,227,18,181,207,4,113,205,62,123,72,37,239,54,2,5,15,67,125,53,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2894135502,"validated":0}]} 
[2026-04-22 18:29:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936934694577438720,"timestamp_seconds":936934694577438.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864000001,"66":13765,"129":206,"85":15104,"24":14,"16":74893853001252864,"45":9030420965271783424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 18:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864000001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:29:47] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 18:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74893853001252864,"km_value":74893853001252.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965271783424,"description":"Unknown IO ID 45"} 
[2026-04-22 18:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864000001,"power":13765,"unknown_129":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9030420965271783424}} 
[2026-04-22 18:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":50760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:29:47] local.INFO: GPS data processed {"connection_id":50760,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:29:47] local.INFO: Acknowledgment sent {"connection_id":50760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:30:02] local.INFO: TCP Data received {"connection_id":50889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:30:02] local.INFO: Processing buffer {"connection_id":50889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:30:02] local.INFO: Packet analysis {"connection_id":50889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:30:02] local.INFO: Extracted packet for processing {"connection_id":50889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:02] 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-22 18:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 18: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-22 18:30: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-22 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:30: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-22 18:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":50889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:30:02] local.INFO: GPS data processed {"connection_id":50889,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:30:02] local.INFO: Acknowledgment sent {"connection_id":50889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:30:03] local.INFO: TCP Data received {"connection_id":50890,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5433998012d196480071fed48003d007021..."} 
[2026-04-22 18:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5433998012d196480071fed48003d007021..."} 
[2026-04-22 18:30:03] local.INFO: Processing buffer {"connection_id":50890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5433998012d196480071fed48003d007021..."} 
[2026-04-22 18:30:03] local.INFO: Packet analysis {"connection_id":50890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:30:03] local.INFO: Extracted packet for processing {"connection_id":50890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876813824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30: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-22 18:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776862575000,"timestamp_ms":1776862575000,"timestamp_seconds":1776862575,"priority":1,"record_length":96,"hex_timestamp":"0000019db5433998"} 
[2026-04-22 18: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-22 18:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 18:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876813824001,"66":12363,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876813824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:30:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876813824001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":50890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:30:04] local.INFO: GPS data processed {"connection_id":50890,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:30:04] local.INFO: Acknowledgment sent {"connection_id":50890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:30:10] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:30:10] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:30:10] local.INFO: IMEI packet received {"connection_id":50761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":50761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:30:10] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:30:10] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:30:10] local.INFO: IMEI packet received {"connection_id":50761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":50761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:30:15] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:30:15] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:30:15] local.INFO: IMEI packet received {"connection_id":50761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":50761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:30:15] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5463350012d7d528005cf1b98000b00b424..."} 
[2026-04-22 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5463350012d7d528005cf1b98000b00b424..."} 
[2026-04-22 18:30:15] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5463350012d7d528005cf1b98000b00b424..."} 
[2026-04-22 18:30:15] local.INFO: Packet analysis {"connection_id":50761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:30:15] local.INFO: Extracted packet for processing {"connection_id":50761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97459096,"longitude_deg":76.318784,"latitude_deg":9.7459096,"altitude":11,"angle":180,"satellites":36,"speed":40,"hex_longitude":"2d7d5280","hex_latitude":"05cf1b98","is_valid_coordinates":true} 
[2026-04-22 18:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876866048001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74894308267786240,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030561702759907328,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776862770000,"timestamp_ms":1776862770000,"timestamp_seconds":1776862770,"priority":1,"record_length":96,"hex_timestamp":"0000019db5463350"} 
[2026-04-22 18:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18: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-22 18:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 18:30:15] 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-22 18:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876866048001,"66":13852,"129":206,"85":15104,"24":40,"16":74894308267786240,"45":9030561702759907328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 18:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876866048001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:30:15] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 18:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74894308267786240,"km_value":74894308267786.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030561702759907328,"description":"Unknown IO ID 45"} 
[2026-04-22 18:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876866048001,"power":13852,"unknown_129":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9030561702759907328}} 
[2026-04-22 18:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":50761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:30:16] local.INFO: GPS data processed {"connection_id":50761,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:30:16] local.INFO: Acknowledgment sent {"connection_id":50761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:30:25] local.INFO: TCP Data received {"connection_id":50891,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:30:25] local.INFO: Processing buffer {"connection_id":50891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:30:25] local.INFO: IMEI packet received {"connection_id":50891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":50891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:30:27] local.INFO: TCP Data received {"connection_id":51448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:30:27] local.INFO: Processing buffer {"connection_id":51448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:30:27] local.INFO: IMEI packet received {"connection_id":51448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":51448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:30:31] local.INFO: TCP Data received {"connection_id":50891,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:30:31] local.INFO: Processing buffer {"connection_id":50891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:30:31] local.INFO: IMEI packet received {"connection_id":50891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":50891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:30:31] local.INFO: TCP Data received {"connection_id":50891,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:30:31] local.INFO: Processing buffer {"connection_id":50891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:30:31] local.INFO: Packet analysis {"connection_id":50891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:30:31] local.INFO: Extracted packet for processing {"connection_id":50891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 18:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:31] 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-22 18:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 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-22 18: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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:30: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-22 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-22 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-22 18:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 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-22 18:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":50891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:30:31] local.INFO: GPS data processed {"connection_id":50891,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:30:31] local.INFO: Acknowledgment sent {"connection_id":50891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:30:32] local.INFO: TCP Data received {"connection_id":51448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:30:32] local.INFO: Processing buffer {"connection_id":51448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:30:32] local.INFO: IMEI packet received {"connection_id":51448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":51448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:30:33] local.INFO: TCP Data received {"connection_id":51448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5438ba0012d196480071fed48003d007024..."} 
[2026-04-22 18:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5438ba0012d196480071fed48003d007024..."} 
[2026-04-22 18:30:33] local.INFO: Processing buffer {"connection_id":51448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5438ba0012d196480071fed48003d007024..."} 
[2026-04-22 18:30:33] local.INFO: Packet analysis {"connection_id":51448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:30:33] local.INFO: Extracted packet for processing {"connection_id":51448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876819200001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30: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-22 18:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862596000,"timestamp_ms":1776862596000,"timestamp_seconds":1776862596,"priority":1,"record_length":96,"hex_timestamp":"0000019db5438ba0"} 
[2026-04-22 18: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-22 18:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:30:33] 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-22 18: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-22 18: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-22 18:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:30:33] 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-22 18:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876819200001,"66":12319,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876819200001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:30:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876819200001,"power":12319,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":51448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:30:33] local.INFO: GPS data processed {"connection_id":51448,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:30:33] local.INFO: Acknowledgment sent {"connection_id":51448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:30:47] local.INFO: TCP Data received {"connection_id":50761,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5465290012d7d530005cef6e8000b00b322..."} 
[2026-04-22 18:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5465290012d7d530005cef6e8000b00b322..."} 
[2026-04-22 18:30:47] local.INFO: Processing buffer {"connection_id":50761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5465290012d7d530005cef6e8000b00b322..."} 
[2026-04-22 18:30:47] local.INFO: Packet analysis {"connection_id":50761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:30:47] local.INFO: Extracted packet for processing {"connection_id":50761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763187968,"raw_latitude":97449704,"longitude_deg":76.3187968,"latitude_deg":9.7449704,"altitude":11,"angle":179,"satellites":34,"speed":51,"hex_longitude":"2d7d5300","hex_latitude":"05cef6e8","is_valid_coordinates":true} 
[2026-04-22 18:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876869120001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74894763534319616,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965269149696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776862778000,"timestamp_ms":1776862778000,"timestamp_seconds":1776862778,"priority":1,"record_length":96,"hex_timestamp":"0000019db5465290"} 
[2026-04-22 18:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18: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-22 18:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 18:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876869120001,"66":13515,"129":206,"85":15104,"24":51,"16":74894763534319616,"45":9030420965269149696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 18:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876869120001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:30:47] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 18:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74894763534319616,"km_value":74894763534319.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965269149696,"description":"Unknown IO ID 45"} 
[2026-04-22 18:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876869120001,"power":13515,"unknown_129":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9030420965269149696}} 
[2026-04-22 18:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":50761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:30:47] local.INFO: GPS data processed {"connection_id":50761,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:30:47] local.INFO: Acknowledgment sent {"connection_id":50761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:31:03] local.INFO: TCP Data received {"connection_id":50891,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:31:03] local.INFO: Processing buffer {"connection_id":50891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:31:03] local.INFO: Packet analysis {"connection_id":50891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:31:03] local.INFO: Extracted packet for processing {"connection_id":50891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31: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-22 18:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 18:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:31: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-22 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:31: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-22 18:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":50891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:31:03] local.INFO: GPS data processed {"connection_id":50891,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:31:03] local.INFO: Acknowledgment sent {"connection_id":50891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:31:04] local.INFO: TCP Data received {"connection_id":51448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db543dda8012d196480071fed48003d007025..."} 
[2026-04-22 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db543dda8012d196480071fed48003d007025..."} 
[2026-04-22 18:31:04] local.INFO: Processing buffer {"connection_id":51448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db543dda8012d196480071fed48003d007025..."} 
[2026-04-22 18:31:04] local.INFO: Packet analysis {"connection_id":51448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:31:04] local.INFO: Extracted packet for processing {"connection_id":51448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db543"} 
[2026-04-22 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876824576001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31: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-22 18:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862617000,"timestamp_ms":1776862617000,"timestamp_seconds":1776862617,"priority":1,"record_length":96,"hex_timestamp":"0000019db543dda8"} 
[2026-04-22 18:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:31:04] 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-22 18:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:31:04] 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-22 18:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876824576001,"66":12363,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876824576001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876824576001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":51448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:31:04] local.INFO: GPS data processed {"connection_id":51448,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:31:04] local.INFO: Acknowledgment sent {"connection_id":51448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:31:10] local.INFO: TCP Data received {"connection_id":50496,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:31:10] local.INFO: Processing buffer {"connection_id":50496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:31:10] local.INFO: IMEI packet received {"connection_id":50496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":50496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:31:15] local.INFO: TCP Data received {"connection_id":50496,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:31:15] local.INFO: Processing buffer {"connection_id":50496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:31:15] local.INFO: IMEI packet received {"connection_id":50496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":50496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:31:16] local.INFO: TCP Data received {"connection_id":50496,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54671d0012d7d534005ced2a0000a00b323..."} 
[2026-04-22 18:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54671d0012d7d534005ced2a0000a00b323..."} 
[2026-04-22 18:31:16] local.INFO: Processing buffer {"connection_id":50496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54671d0012d7d534005ced2a0000a00b323..."} 
[2026-04-22 18:31:16] local.INFO: Packet analysis {"connection_id":50496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:31:16] local.INFO: Extracted packet for processing {"connection_id":50496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:31:16] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":97440416,"longitude_deg":76.3188032,"latitude_deg":9.7440416,"altitude":10,"angle":179,"satellites":35,"speed":40,"hex_longitude":"2d7d5340","hex_latitude":"05ced2a0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876871168001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74895214505885696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030561702755100672,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776862786000,"timestamp_ms":1776862786000,"timestamp_seconds":1776862786,"priority":1,"record_length":96,"hex_timestamp":"0000019db54671d0"} 
[2026-04-22 18: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-22 18:31: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-22 18: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-22 18:31:16] 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-22 18: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-22 18: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-22 18:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876871168001,"66":13580,"129":206,"85":15104,"24":40,"16":74895214505885696,"45":9030561702755100672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 18:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876871168001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:31:16] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 18:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74895214505885696,"km_value":74895214505885.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030561702755100672,"description":"Unknown IO ID 45"} 
[2026-04-22 18:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876871168001,"power":13580,"unknown_129":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9030561702755100672}} 
[2026-04-22 18:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":50496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:31:16] local.INFO: GPS data processed {"connection_id":50496,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:31:16] local.INFO: Acknowledgment sent {"connection_id":50496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:31:25] local.INFO: TCP Data received {"connection_id":51450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:31:25] local.INFO: Processing buffer {"connection_id":51450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:31:25] local.INFO: IMEI packet received {"connection_id":51450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":51450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:31:30] local.INFO: TCP Data received {"connection_id":51450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:31:30] local.INFO: Processing buffer {"connection_id":51450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:31:30] local.INFO: IMEI packet received {"connection_id":51450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":51450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:31:31] local.INFO: TCP Data received {"connection_id":51450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:31:31] local.INFO: Processing buffer {"connection_id":51450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:31:31] local.INFO: Packet analysis {"connection_id":51450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:31:31] local.INFO: Extracted packet for processing {"connection_id":51450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:31] 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-22 18:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 18: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-22 18: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-22 18: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:31: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-22 18: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-22 18: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-22 18:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":51450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:31:31] local.INFO: GPS data processed {"connection_id":51450,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:31:31] local.INFO: Acknowledgment sent {"connection_id":51450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:31:32] local.INFO: TCP Data received {"connection_id":50497,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:31:32] local.INFO: Processing buffer {"connection_id":50497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:31:32] local.INFO: IMEI packet received {"connection_id":50497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:31:37] local.INFO: TCP Data received {"connection_id":50497,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:31:37] local.INFO: Processing buffer {"connection_id":50497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:31:37] local.INFO: IMEI packet received {"connection_id":50497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":50497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:31:38] local.INFO: TCP Data received {"connection_id":50497,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5442fb0012d196480071fed48003d007025..."} 
[2026-04-22 18:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5442fb0012d196480071fed48003d007025..."} 
[2026-04-22 18:31:38] local.INFO: Processing buffer {"connection_id":50497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5442fb0012d196480071fed48003d007025..."} 
[2026-04-22 18:31:38] local.INFO: Packet analysis {"connection_id":50497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:31:38] local.INFO: Extracted packet for processing {"connection_id":50497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876829952001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31: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-22 18:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776862638000,"timestamp_ms":1776862638000,"timestamp_seconds":1776862638,"priority":1,"record_length":96,"hex_timestamp":"0000019db5442fb0"} 
[2026-04-22 18: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-22 18:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:31:38] 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-22 18: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-22 18: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-22 18:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:31:38] 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-22 18:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876829952001,"66":12363,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876829952001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:31:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876829952001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":50497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:31:38] local.INFO: GPS data processed {"connection_id":50497,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:31:38] local.INFO: Acknowledgment sent {"connection_id":50497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:31:42] local.INFO: TCP Data received {"connection_id":50497,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54481b8012d196480071fed48003d007023..."} 
[2026-04-22 18:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54481b8012d196480071fed48003d007023..."} 
[2026-04-22 18:31:42] local.INFO: Processing buffer {"connection_id":50497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54481b8012d196480071fed48003d007023..."} 
[2026-04-22 18:31:42] local.INFO: Packet analysis {"connection_id":50497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:31:42] local.INFO: Extracted packet for processing {"connection_id":50497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876835328001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31: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-22 18:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776862659000,"timestamp_ms":1776862659000,"timestamp_seconds":1776862659,"priority":1,"record_length":96,"hex_timestamp":"0000019db54481b8"} 
[2026-04-22 18:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:31: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-22 18:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 18:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876835328001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876835328001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:31:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876835328001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":50497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:31:42] local.INFO: GPS data processed {"connection_id":50497,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:31:42] local.INFO: Acknowledgment sent {"connection_id":50497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:31:47] local.INFO: TCP Data received {"connection_id":50496,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5469cc8012d7d53c005ceaf38000d00b722..."} 
[2026-04-22 18:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5469cc8012d7d53c005ceaf38000d00b722..."} 
[2026-04-22 18:31:47] local.INFO: Processing buffer {"connection_id":50496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5469cc8012d7d53c005ceaf38000d00b722..."} 
[2026-04-22 18:31:47] local.INFO: Packet analysis {"connection_id":50496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:31:47] local.INFO: Extracted packet for processing {"connection_id":50496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db546"} 
[2026-04-22 18:31:47] local.INFO: GPS Element Parsed {"raw_longitude":763188160,"raw_latitude":97431352,"longitude_deg":76.318816,"latitude_deg":9.7431352,"altitude":13,"angle":183,"satellites":34,"speed":30,"hex_longitude":"2d7d53c0","hex_latitude":"05ceaf38","is_valid_coordinates":true} 
[2026-04-22 18:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876873216001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74895652592549888,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030632071496900608,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776862797000,"timestamp_ms":1776862797000,"timestamp_seconds":1776862797,"priority":1,"record_length":96,"hex_timestamp":"0000019db5469cc8"} 
[2026-04-22 18:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751581714,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3041249752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":59392,"corrected_to":0} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448668289,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":726026219518164992,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894135502,"corrected_to":0} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2147864391,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376876,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3478212608,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5656527520554024974,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718475740761685,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755644254322929,"note":"Value kept but may cause issues"} 
[2026-04-22 18:31:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,129,85,24,241,157,16,20,82,45,246,11,34,10,66,51,128,27,36,19,4,1,240,197,227,181,207,113,205,7,217,81,144,239,52,2,5,14,31,125,53,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":246,"original":59392,"validated":0},{"io_id":205,"original":2894135502,"validated":0}]} 
[2026-04-22 18:31:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720772903287128064,"timestamp_seconds":720772903287128.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876873216001,"66":13493,"129":206,"85":15104,"24":30,"16":74895652592549888,"45":9030632071496900608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 18:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876873216001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:31:47] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 18:31:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74895652592549888,"km_value":74895652592549.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030632071496900608,"description":"Unknown IO ID 45"} 
[2026-04-22 18:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876873216001,"power":13493,"unknown_129":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9030632071496900608}} 
[2026-04-22 18:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":50496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:31:47] local.INFO: GPS data processed {"connection_id":50496,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:31:47] local.INFO: Acknowledgment sent {"connection_id":50496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:32:02] local.INFO: TCP Data received {"connection_id":51450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:32:02] local.INFO: Processing buffer {"connection_id":51450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:32:02] local.INFO: Packet analysis {"connection_id":51450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:32:02] local.INFO: Extracted packet for processing {"connection_id":51450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:02] 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-22 18:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 18: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-22 18:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:32:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":51450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:32:02] local.INFO: GPS data processed {"connection_id":51450,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:32:02] local.INFO: Acknowledgment sent {"connection_id":51450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:32:20] local.INFO: TCP Data received {"connection_id":50762,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:32:20] local.INFO: Processing buffer {"connection_id":50762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:32:20] local.INFO: IMEI packet received {"connection_id":50762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":50762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:32:20] local.INFO: TCP Data received {"connection_id":50498,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:32:20] local.INFO: Processing buffer {"connection_id":50498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:32:20] local.INFO: IMEI packet received {"connection_id":50498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":50498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:32:21] local.INFO: TCP Data received {"connection_id":50762,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:32:21] local.INFO: Processing buffer {"connection_id":50762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:32:21] local.INFO: IMEI packet received {"connection_id":50762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":50762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:32:25] local.INFO: TCP Data received {"connection_id":50762,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:32:25] local.INFO: Processing buffer {"connection_id":50762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:32:25] local.INFO: IMEI packet received {"connection_id":50762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":50762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:32:25] local.INFO: TCP Data received {"connection_id":50892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:32:25] local.INFO: Processing buffer {"connection_id":50892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:32:25] local.INFO: IMEI packet received {"connection_id":50892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":50892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:32:26] local.INFO: TCP Data received {"connection_id":50762,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5485248012d7d528005cd2060000e00b025..."} 
[2026-04-22 18:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5485248012d7d528005cd2060000e00b025..."} 
[2026-04-22 18:32:26] local.INFO: Processing buffer {"connection_id":50762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5485248012d7d528005cd2060000e00b025..."} 
[2026-04-22 18:32:26] local.INFO: Packet analysis {"connection_id":50762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:32:26] local.INFO: Extracted packet for processing {"connection_id":50762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97329248,"longitude_deg":76.318784,"latitude_deg":9.7329248,"altitude":14,"angle":176,"satellites":37,"speed":60,"hex_longitude":"2d7d5280","hex_latitude":"05cd2060","is_valid_coordinates":true} 
[2026-04-22 18:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876902912001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74900617574744064,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029576540308340736,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] 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-22 18:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776862909000,"timestamp_ms":1776862909000,"timestamp_seconds":1776862909,"priority":1,"record_length":96,"hex_timestamp":"0000019db5485248"} 
[2026-04-22 18:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6473933070073856,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630449629440,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-2305828712489943004,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2800419022,"corrected_to":0} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743910,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3458103296,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] local.WARNING: Large IO value detected {"io_id":17,"raw_value":-576129261140703794,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:26] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,235,85,24,241,157,16,25,27,45,192,107,13,36,10,66,252,143,12,213,1,240,88,227,181,205,4,113,32,119,72,248,239,53,2,5,23,17],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2800419022,"validated":0}]} 
[2026-04-22 18:32:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008997786176651264,"timestamp_seconds":1008997786176651.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":50762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":50762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":50762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876902912001,"66":13526,"235":206,"85":15104,"24":60,"16":74900617574744064,"45":9029576540308340736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 18:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876902912001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:32:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 18:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74900617574744064,"km_value":74900617574744.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029576540308340736,"description":"Unknown IO ID 45"} 
[2026-04-22 18:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876902912001,"power":13526,"unknown_235":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9029576540308340736}} 
[2026-04-22 18:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":50762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:32:26] local.INFO: GPS data processed {"connection_id":50762,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:32:26] local.INFO: Acknowledgment sent {"connection_id":50762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:32:27] local.INFO: TCP Data received {"connection_id":50762,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54869b8012d7d54c005ccfb60000d00af25..."} 
[2026-04-22 18:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54869b8012d7d54c005ccfb60000d00af25..."} 
[2026-04-22 18:32:27] local.INFO: Processing buffer {"connection_id":50762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54869b8012d7d54c005ccfb60000d00af25..."} 
[2026-04-22 18:32:27] local.INFO: Packet analysis {"connection_id":50762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:32:27] local.INFO: Extracted packet for processing {"connection_id":50762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763188416,"raw_latitude":97319776,"longitude_deg":76.3188416,"latitude_deg":9.7319776,"altitude":13,"angle":175,"satellites":37,"speed":64,"hex_longitude":"2d7d54c0","hex_latitude":"05ccfb60","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876904704001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74901077136244736,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965235908608,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:27] 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-22 18:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776862915000,"timestamp_ms":1776862915000,"timestamp_seconds":1776862915,"priority":1,"record_length":96,"hex_timestamp":"0000019db54869b8"} 
[2026-04-22 18: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-22 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-22 18:32:27] 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-22 18: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-22 18: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-22 18:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":50762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":50762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":50762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876904704001,"66":13798,"236":206,"85":15104,"24":64,"16":74901077136244736,"45":9030420965235908608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-22 18:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876904704001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:32:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 18:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74901077136244736,"km_value":74901077136244.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965235908608,"description":"Unknown IO ID 45"} 
[2026-04-22 18:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876904704001,"power":13798,"unknown_236":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9030420965235908608}} 
[2026-04-22 18:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":50762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:32:27] local.INFO: GPS data processed {"connection_id":50762,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:32:27] local.INFO: Acknowledgment sent {"connection_id":50762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:32:27] local.INFO: TCP Data received {"connection_id":51451,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:32:27] local.INFO: Processing buffer {"connection_id":51451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:32:27] local.INFO: IMEI packet received {"connection_id":51451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":51451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:32:29] local.INFO: TCP Data received {"connection_id":51451,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:32:29] local.INFO: Processing buffer {"connection_id":51451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:32:29] local.INFO: IMEI packet received {"connection_id":51451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":51451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:32:29] local.INFO: TCP Data received {"connection_id":51451,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db544d3c0012d196480071fed48003d007022..."} 
[2026-04-22 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db544d3c0012d196480071fed48003d007022..."} 
[2026-04-22 18:32:29] local.INFO: Processing buffer {"connection_id":51451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db544d3c0012d196480071fed48003d007022..."} 
[2026-04-22 18:32:29] local.INFO: Packet analysis {"connection_id":51451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:32:29] local.INFO: Extracted packet for processing {"connection_id":51451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db544"} 
[2026-04-22 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876840704001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32: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-22 18:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776862680000,"timestamp_ms":1776862680000,"timestamp_seconds":1776862680,"priority":1,"record_length":96,"hex_timestamp":"0000019db544d3c0"} 
[2026-04-22 18:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:32: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-22 18:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":51451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":51451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":51451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:32: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-22 18:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876840704001,"66":12341,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876840704001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:32:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876840704001,"power":12341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":51451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:32:30] local.INFO: GPS data processed {"connection_id":51451,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:32:30] local.INFO: Acknowledgment sent {"connection_id":51451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:32:31] local.INFO: TCP Data received {"connection_id":50892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:32:31] local.INFO: Processing buffer {"connection_id":50892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:32:31] local.INFO: IMEI packet received {"connection_id":50892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":50892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:32:32] local.INFO: TCP Data received {"connection_id":50892,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:32:32] local.INFO: Processing buffer {"connection_id":50892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:32:32] local.INFO: Packet analysis {"connection_id":50892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:32:32] local.INFO: Extracted packet for processing {"connection_id":50892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:32:32] 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-22 18:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 18: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-22 18:32: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-22 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:32: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-22 18: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-22 18: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-22 18:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:32: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-22 18:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:32:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":50892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:32:32] local.INFO: GPS data processed {"connection_id":50892,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:32:32] local.INFO: Acknowledgment sent {"connection_id":50892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:32:50] local.INFO: TCP Data received {"connection_id":50499,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:32:50] local.INFO: Processing buffer {"connection_id":50499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:32:50] local.INFO: IMEI packet received {"connection_id":50499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":50499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:33:04] local.INFO: TCP Data received {"connection_id":50892,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:33:04] local.INFO: Processing buffer {"connection_id":50892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:33:04] local.INFO: Packet analysis {"connection_id":50892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:33:04] local.INFO: Extracted packet for processing {"connection_id":50892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33: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-22 18:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 18:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:33: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-22 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:33: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-22 18:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:33:04] local.INFO: GPS data processed {"connection_id":50892,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:33:04] local.INFO: Acknowledgment sent {"connection_id":50892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:33:06] local.INFO: TCP Data received {"connection_id":51451,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5485a18012d196480071fed48003d007022..."} 
[2026-04-22 18:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5485a18012d196480071fed48003d007022..."} 
[2026-04-22 18:33:06] local.INFO: Processing buffer {"connection_id":51451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5485a18012d196480071fed48003d007022..."} 
[2026-04-22 18:33:06] local.INFO: Packet analysis {"connection_id":51451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:33:06] local.INFO: Extracted packet for processing {"connection_id":51451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876899840001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33: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-22 18:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776862911000,"timestamp_ms":1776862911000,"timestamp_seconds":1776862911,"priority":1,"record_length":96,"hex_timestamp":"0000019db5485a18"} 
[2026-04-22 18: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-22 18:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 18:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:33:06] 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-22 18:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876899840001,"66":13961,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876899840001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:33:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876899840001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":51451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:33:06] local.INFO: GPS data processed {"connection_id":51451,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:33:06] local.INFO: Acknowledgment sent {"connection_id":51451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:33:10] local.INFO: TCP Data received {"connection_id":50500,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:33:10] local.INFO: Processing buffer {"connection_id":50500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:33:10] local.INFO: IMEI packet received {"connection_id":50500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":50500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:33:15] local.INFO: TCP Data received {"connection_id":50500,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:33:15] local.INFO: Processing buffer {"connection_id":50500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:33:15] local.INFO: IMEI packet received {"connection_id":50500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":50500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:33:16] local.INFO: TCP Data received {"connection_id":50500,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5488128012d7d574005ccd538000d00b024..."} 
[2026-04-22 18:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5488128012d7d574005ccd538000d00b024..."} 
[2026-04-22 18:33:16] local.INFO: Processing buffer {"connection_id":50500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5488128012d7d574005ccd538000d00b024..."} 
[2026-04-22 18:33:16] local.INFO: Packet analysis {"connection_id":50500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:33:16] local.INFO: Extracted packet for processing {"connection_id":50500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763189056,"raw_latitude":97310008,"longitude_deg":76.3189056,"latitude_deg":9.7310008,"altitude":13,"angle":176,"satellites":36,"speed":65,"hex_longitude":"2d7d5740","hex_latitude":"05ccd538","is_valid_coordinates":true} 
[2026-04-22 18:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876906240001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74901553877614592,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031054283931082752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:16] 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-22 18:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776862921000,"timestamp_ms":1776862921000,"timestamp_seconds":1776862921,"priority":1,"record_length":96,"hex_timestamp":"0000019db5488128"} 
[2026-04-22 18:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:33: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-22 18:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 18:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876906240001,"66":13765,"236":206,"85":15104,"24":65,"16":74901553877614592,"45":9031054283931082752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-22 18:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876906240001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:33:16] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 18:33:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74901553877614592,"km_value":74901553877614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031054283931082752,"description":"Unknown IO ID 45"} 
[2026-04-22 18:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876906240001,"power":13765,"unknown_236":206,"unknown_85":15104,"ignition":65,"odometer":null,"unknown_45":9031054283931082752}} 
[2026-04-22 18:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":50500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:33:16] local.INFO: GPS data processed {"connection_id":50500,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:33:16] local.INFO: Acknowledgment sent {"connection_id":50500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:33:26] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:33:26] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:33:26] local.INFO: IMEI packet received {"connection_id":50763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":50763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:33:27] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:33:27] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:33:27] local.INFO: IMEI packet received {"connection_id":50763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:33:30] local.INFO: TCP Data received {"connection_id":51452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:33:30] local.INFO: Processing buffer {"connection_id":51452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:33:30] local.INFO: IMEI packet received {"connection_id":51452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":51452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:33:32] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:33:32] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:33:32] local.INFO: IMEI packet received {"connection_id":50763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:33:33] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db548ac20012d196480071fed48003d007021..."} 
[2026-04-22 18:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db548ac20012d196480071fed48003d007021..."} 
[2026-04-22 18:33:33] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db548ac20012d196480071fed48003d007021..."} 
[2026-04-22 18:33:33] local.INFO: Packet analysis {"connection_id":50763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:33:33] local.INFO: Extracted packet for processing {"connection_id":50763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532872,"longitude_deg":75.6638848,"latitude_deg":11.9532872,"altitude":61,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876905216001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114004598292742144,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708034560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33: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-22 18:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776862932000,"timestamp_ms":1776862932000,"timestamp_seconds":1776862932,"priority":1,"record_length":96,"hex_timestamp":"0000019db548ac20"} 
[2026-04-22 18: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-22 18:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-22 18:33:33] 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-22 18: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-22 18: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-22 18:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:33:33] 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-22 18:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876905216001,"66":13928,"106":206,"83":41984,"24":0,"16":114004598292742144,"45":1829728116708034560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876905216001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:33:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114004598292742144,"km_value":114004598292742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708034560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876905216001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708034560}} 
[2026-04-22 18:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":50763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:33:33] local.INFO: GPS data processed {"connection_id":50763,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:33:33] local.INFO: Acknowledgment sent {"connection_id":50763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:33:35] local.INFO: TCP Data received {"connection_id":51452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:33:35] local.INFO: Processing buffer {"connection_id":51452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:33:35] local.INFO: IMEI packet received {"connection_id":51452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":51452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:33:36] local.INFO: TCP Data received {"connection_id":51452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:33:36] local.INFO: Processing buffer {"connection_id":51452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:33:36] local.INFO: Packet analysis {"connection_id":51452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:33:36] local.INFO: Extracted packet for processing {"connection_id":51452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33: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-22 18:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 18:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:33: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-22 18:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:33: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-22 18:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":51452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:33:36] local.INFO: GPS data processed {"connection_id":51452,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:33:36] local.INFO: Acknowledgment sent {"connection_id":51452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:33:41] local.INFO: TCP Data received {"connection_id":51452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:33:41] local.INFO: Processing buffer {"connection_id":51452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:33:41] local.INFO: Packet analysis {"connection_id":51452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:33:41] local.INFO: Extracted packet for processing {"connection_id":51452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:41] 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-22 18:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 18:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:33:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":51452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:33:41] local.INFO: GPS data processed {"connection_id":51452,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:33:41] local.INFO: Acknowledgment sent {"connection_id":51452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:33:47] local.INFO: TCP Data received {"connection_id":50500,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5489898012d7d58c005ccae10000c00b224..."} 
[2026-04-22 18:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5489898012d7d58c005ccae10000c00b224..."} 
[2026-04-22 18:33:47] local.INFO: Processing buffer {"connection_id":50500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5489898012d7d58c005ccae10000c00b224..."} 
[2026-04-22 18:33:47] local.INFO: Packet analysis {"connection_id":50500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:33:47] local.INFO: Extracted packet for processing {"connection_id":50500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763189440,"raw_latitude":97299984,"longitude_deg":76.318944,"latitude_deg":9.7299984,"altitude":12,"angle":178,"satellites":36,"speed":66,"hex_longitude":"2d7d58c0","hex_latitude":"05ccae10","is_valid_coordinates":true} 
[2026-04-22 18:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876907776001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74902039208919040,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031757971370358784,"note":"Value kept but may cause issues"} 
[2026-04-22 18:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776862927000,"timestamp_ms":1776862927000,"timestamp_seconds":1776862927,"priority":1,"record_length":96,"hex_timestamp":"0000019db5489898"} 
[2026-04-22 18:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:33: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-22 18:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 18:33:47] 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-22 18:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876907776001,"66":13656,"236":206,"85":15104,"24":66,"16":74902039208919040,"45":9031757971370358784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-22 18:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876907776001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:33:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 18:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74902039208919040,"km_value":74902039208919.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031757971370358784,"description":"Unknown IO ID 45"} 
[2026-04-22 18:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876907776001,"power":13656,"unknown_236":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9031757971370358784}} 
[2026-04-22 18:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":50500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:33:47] local.INFO: GPS data processed {"connection_id":50500,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:33:47] local.INFO: Acknowledgment sent {"connection_id":50500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:34:05] local.INFO: TCP Data received {"connection_id":50763,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5499e50012d19cb00071ff3b00033001822..."} 
[2026-04-22 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5499e50012d19cb00071ff3b00033001822..."} 
[2026-04-22 18:34:05] local.INFO: Processing buffer {"connection_id":50763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5499e50012d19cb00071ff3b00033001822..."} 
[2026-04-22 18:34:05] local.INFO: Packet analysis {"connection_id":50763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db549"} 
[2026-04-22 18:34:05] local.INFO: Extracted packet for processing {"connection_id":50763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db549"} 
[2026-04-22 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119534512,"longitude_deg":75.6665088,"latitude_deg":11.9534512,"altitude":51,"angle":24,"satellites":34,"speed":14,"hex_longitude":"2d19cb00","hex_latitude":"071ff3b0","is_valid_coordinates":true} 
[2026-04-22 18:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876926208001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114005891077898240,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564332861440,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34: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-22 18:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776862994000,"timestamp_ms":1776862994000,"timestamp_seconds":1776862994,"priority":1,"record_length":96,"hex_timestamp":"0000019db5499e50"} 
[2026-04-22 18:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 18:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876926208001,"66":14135,"106":206,"83":41984,"24":14,"16":114005891077898240,"45":1858438564332861440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876926208001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:34:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114005891077898240,"km_value":114005891077898.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564332861440,"description":"Unknown IO ID 45"} 
[2026-04-22 18:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876926208001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858438564332861440}} 
[2026-04-22 18:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":50763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:34:05] local.INFO: GPS data processed {"connection_id":50763,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:34:05] local.INFO: Acknowledgment sent {"connection_id":50763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:34:10] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:34:10] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:34:10] local.INFO: IMEI packet received {"connection_id":50765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":50765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:34:15] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:34:15] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:34:15] local.INFO: IMEI packet received {"connection_id":50765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":50765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:34:15] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db548b008012d7d58c005cc8748000c00b524..."} 
[2026-04-22 18:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db548b008012d7d58c005cc8748000c00b524..."} 
[2026-04-22 18:34:15] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db548b008012d7d58c005cc8748000c00b524..."} 
[2026-04-22 18:34:15] local.INFO: Packet analysis {"connection_id":50765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:34:15] local.INFO: Extracted packet for processing {"connection_id":50765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763189440,"raw_latitude":97290056,"longitude_deg":76.318944,"latitude_deg":9.7290056,"altitude":12,"angle":181,"satellites":36,"speed":65,"hex_longitude":"2d7d58c0","hex_latitude":"05cc8748","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876909312001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74902520245256192,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032180183832858624,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:15] 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-22 18:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776862933000,"timestamp_ms":1776862933000,"timestamp_seconds":1776862933,"priority":1,"record_length":96,"hex_timestamp":"0000019db548b008"} 
[2026-04-22 18: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-22 18:34: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-22 18: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876909312001,"66":13798,"236":206,"85":15104,"24":65,"16":74902520245256192,"45":9032180183832858624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-22 18:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876909312001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:34:15] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 18:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74902520245256192,"km_value":74902520245256.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032180183832858624,"description":"Unknown IO ID 45"} 
[2026-04-22 18:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876909312001,"power":13798,"unknown_236":206,"unknown_85":15104,"ignition":65,"odometer":null,"unknown_45":9032180183832858624}} 
[2026-04-22 18:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":50765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:34:15] local.INFO: GPS data processed {"connection_id":50765,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:34:15] local.INFO: Acknowledgment sent {"connection_id":50765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:34:25] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:34:25] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:34:25] local.INFO: IMEI packet received {"connection_id":50766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":50766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:34:26] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:34:26] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:34:26] local.INFO: IMEI packet received {"connection_id":50893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":50893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:34:27] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:34:27] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:34:27] local.INFO: IMEI packet received {"connection_id":50893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:34:30] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:34:30] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:34:30] local.INFO: IMEI packet received {"connection_id":50766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":50766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:34:31] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:34:31] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:34:31] local.INFO: IMEI packet received {"connection_id":50893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":50893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:34:31] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:34:31] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db545f0e8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:34:31] local.INFO: Packet analysis {"connection_id":50766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:34:31] local.INFO: Extracted packet for processing {"connection_id":50766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db545"} 
[2026-04-22 18:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876787712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:31] 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-22 18:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862753000,"timestamp_ms":1776862753000,"timestamp_seconds":1776862753,"priority":1,"record_length":96,"hex_timestamp":"0000019db545f0e8"} 
[2026-04-22 18: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-22 18:34: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-22 18: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":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:34: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-22 18: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-22 18: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-22 18:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:34: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-22 18:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876787712001,"66":25397,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876787712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:34:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876787712001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":50766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:34:31] local.INFO: GPS data processed {"connection_id":50766,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:34:31] local.INFO: Acknowledgment sent {"connection_id":50766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:34:31] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db549aa08012d19cdc0071ff8380032003221..."} 
[2026-04-22 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db549aa08012d19cdc0071ff8380032003221..."} 
[2026-04-22 18:34:31] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db549aa08012d19cdc0071ff8380032003221..."} 
[2026-04-22 18:34:31] local.INFO: Packet analysis {"connection_id":50893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db549"} 
[2026-04-22 18:34:31] local.INFO: Extracted packet for processing {"connection_id":50893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db549"} 
[2026-04-22 18:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119535672,"longitude_deg":75.6665792,"latitude_deg":11.9535672,"altitude":50,"angle":50,"satellites":33,"speed":20,"hex_longitude":"2d19cdc0","hex_latitude":"071ff838","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876926464001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114005955502407680,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301821296640,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34: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-22 18:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776862997000,"timestamp_ms":1776862997000,"timestamp_seconds":1776862997,"priority":1,"record_length":96,"hex_timestamp":"0000019db549aa08"} 
[2026-04-22 18: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-22 18:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-22 18:34:31] 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-22 18: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-22 18: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-22 18:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:34:31] 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-22 18:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876926464001,"66":14135,"106":206,"83":41984,"24":20,"16":114005955502407680,"45":1858579301821296640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876926464001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:34:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114005955502407680,"km_value":114005955502407.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301821296640,"description":"Unknown IO ID 45"} 
[2026-04-22 18:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876926464001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1858579301821296640}} 
[2026-04-22 18:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":50893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:34:32] local.INFO: GPS data processed {"connection_id":50893,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:34:32] local.INFO: Acknowledgment sent {"connection_id":50893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:34:47] local.INFO: TCP Data received {"connection_id":50765,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db548c778012d7d550005cc61c0000c00b925..."} 
[2026-04-22 18:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db548c778012d7d550005cc61c0000c00b925..."} 
[2026-04-22 18:34:47] local.INFO: Processing buffer {"connection_id":50765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db548c778012d7d550005cc61c0000c00b925..."} 
[2026-04-22 18:34:47] local.INFO: Packet analysis {"connection_id":50765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:34:47] local.INFO: Extracted packet for processing {"connection_id":50765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db548"} 
[2026-04-22 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":763188480,"raw_latitude":97280448,"longitude_deg":76.318848,"latitude_deg":9.7280448,"altitude":12,"angle":185,"satellites":37,"speed":64,"hex_longitude":"2d7d5500","hex_latitude":"05cc61c0","is_valid_coordinates":true} 
[2026-04-22 18:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876910848001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74902988396691456,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032180183830317056,"note":"Value kept but may cause issues"} 
[2026-04-22 18:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776862939000,"timestamp_ms":1776862939000,"timestamp_seconds":1776862939,"priority":1,"record_length":96,"hex_timestamp":"0000019db548c778"} 
[2026-04-22 18:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:34: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-22 18:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 18:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876910848001,"66":13559,"129":206,"85":15104,"24":64,"16":74902988396691456,"45":9032180183830317056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 18:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876910848001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:34:47] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 18:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74902988396691456,"km_value":74902988396691.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032180183830317056,"description":"Unknown IO ID 45"} 
[2026-04-22 18:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876910848001,"power":13559,"unknown_129":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9032180183830317056}} 
[2026-04-22 18:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":50765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:34:47] local.INFO: GPS data processed {"connection_id":50765,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:34:47] local.INFO: Acknowledgment sent {"connection_id":50765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:35:02] local.INFO: TCP Data received {"connection_id":50766,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:35:02] local.INFO: Processing buffer {"connection_id":50766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:35:02] local.INFO: Packet analysis {"connection_id":50766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:02] local.INFO: Extracted packet for processing {"connection_id":50766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:02] 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-22 18:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 18: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-22 18: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:35:02] 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-22 18: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-22 18: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-22 18:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:35: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-22 18:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:35:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":50766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:35:02] local.INFO: GPS data processed {"connection_id":50766,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:35:02] local.INFO: Acknowledgment sent {"connection_id":50766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:35:03] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a9850012d19acc007208bb8002c015e26..."} 
[2026-04-22 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a9850012d19acc007208bb8002c015e26..."} 
[2026-04-22 18:35:03] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a9850012d19acc007208bb8002c015e26..."} 
[2026-04-22 18:35:03] local.INFO: Packet analysis {"connection_id":50893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:03] local.INFO: Extracted packet for processing {"connection_id":50893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119573432,"longitude_deg":75.6657344,"latitude_deg":11.9573432,"altitude":44,"angle":350,"satellites":38,"speed":26,"hex_longitude":"2d19acc0","hex_latitude":"07208bb8","is_valid_coordinates":true} 
[2026-04-22 18:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876942848001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114008055741415424,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785762816,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35: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-22 18:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776863058000,"timestamp_ms":1776863058000,"timestamp_seconds":1776863058,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a9850"} 
[2026-04-22 18:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 18:35:03] 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-22 18:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876942848001,"66":13852,"106":206,"83":41984,"24":26,"16":114008055741415424,"45":1850064683785762816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876942848001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:35:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114008055741415424,"km_value":114008055741415.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785762816,"description":"Unknown IO ID 45"} 
[2026-04-22 18:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876942848001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1850064683785762816}} 
[2026-04-22 18:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":50893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:35:03] local.INFO: GPS data processed {"connection_id":50893,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:35:03] local.INFO: Acknowledgment sent {"connection_id":50893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:35:10] local.INFO: TCP Data received {"connection_id":51453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:35:10] local.INFO: Processing buffer {"connection_id":51453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:35:10] local.INFO: IMEI packet received {"connection_id":51453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":51453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:35:13] local.INFO: TCP Data received {"connection_id":51453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:35:13] local.INFO: Processing buffer {"connection_id":51453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:35:13] local.INFO: IMEI packet received {"connection_id":51453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":51453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:35:15] local.INFO: TCP Data received {"connection_id":51453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:35:15] local.INFO: Processing buffer {"connection_id":51453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:35:15] local.INFO: IMEI packet received {"connection_id":51453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":51453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:35:16] local.INFO: TCP Data received {"connection_id":51453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54af610012d7d2cc005caec80000800b824..."} 
[2026-04-22 18:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54af610012d7d2cc005caec80000800b824..."} 
[2026-04-22 18:35:16] local.INFO: Processing buffer {"connection_id":51453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54af610012d7d2cc005caec80000800b824..."} 
[2026-04-22 18:35:16] local.INFO: Packet analysis {"connection_id":51453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:16] local.INFO: Extracted packet for processing {"connection_id":51453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":97184896,"longitude_deg":76.3178176,"latitude_deg":9.7184896,"altitude":8,"angle":184,"satellites":36,"speed":59,"hex_longitude":"2d7d2cc0","hex_latitude":"05caec80","is_valid_coordinates":true} 
[2026-04-22 18:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876947200001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74907661321109504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569341016678400,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:16] 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-22 18:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776863082000,"timestamp_ms":1776863082000,"timestamp_seconds":1776863082,"priority":1,"record_length":96,"hex_timestamp":"0000019db54af610"} 
[2026-04-22 18:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:35: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-22 18:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:35:16] 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-22 18:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876947200001,"66":13765,"131":206,"85":15104,"24":59,"16":74907661321109504,"45":9020569341016678400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 18:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876947200001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:35:16] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 18:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74907661321109504,"km_value":74907661321109.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569341016678400,"description":"Unknown IO ID 45"} 
[2026-04-22 18:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876947200001,"power":13765,"unknown_131":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9020569341016678400}} 
[2026-04-22 18:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":51453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:35:16] local.INFO: GPS data processed {"connection_id":51453,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:35:16] local.INFO: Acknowledgment sent {"connection_id":51453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:35:18] local.INFO: TCP Data received {"connection_id":51453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54b0d80012d7d298005cac750000700b925..."} 
[2026-04-22 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54b0d80012d7d298005cac750000700b925..."} 
[2026-04-22 18:35:18] local.INFO: Processing buffer {"connection_id":51453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54b0d80012d7d298005cac750000700b925..."} 
[2026-04-22 18:35:18] local.INFO: Packet analysis {"connection_id":51453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:35:18] local.INFO: Extracted packet for processing {"connection_id":51453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":97175376,"longitude_deg":76.3177344,"latitude_deg":9.7175376,"altitude":7,"angle":185,"satellites":37,"speed":67,"hex_longitude":"2d7d2980","hex_latitude":"05cac750","is_valid_coordinates":true} 
[2026-04-22 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876948992001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74908125177577472,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795284828127232,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:18] 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-22 18:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776863088000,"timestamp_ms":1776863088000,"timestamp_seconds":1776863088,"priority":1,"record_length":96,"hex_timestamp":"0000019db54b0d80"} 
[2026-04-22 18:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:35: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-22 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 18:35: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-22 18:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":51453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":51453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":51453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876948992001,"66":13602,"131":206,"85":15104,"24":67,"16":74908125177577472,"45":9019795284828127232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 18:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876948992001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:35:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 18:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74908125177577472,"km_value":74908125177577.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795284828127232,"description":"Unknown IO ID 45"} 
[2026-04-22 18:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876948992001,"power":13602,"unknown_131":206,"unknown_85":15104,"ignition":67,"odometer":null,"unknown_45":9019795284828127232}} 
[2026-04-22 18:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":51453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:35:18] local.INFO: GPS data processed {"connection_id":51453,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:35:18] local.INFO: Acknowledgment sent {"connection_id":51453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:35:25] local.INFO: TCP Data received {"connection_id":50502,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:35:25] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:35:25] local.INFO: IMEI packet received {"connection_id":50502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":50502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:35:27] local.INFO: TCP Data received {"connection_id":50894,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:35:27] local.INFO: Processing buffer {"connection_id":50894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:35:27] local.INFO: IMEI packet received {"connection_id":50894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:35:30] local.INFO: TCP Data received {"connection_id":50502,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:35:30] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:35:30] local.INFO: IMEI packet received {"connection_id":50502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":50502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:35:31] local.INFO: TCP Data received {"connection_id":50502,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:35:31] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:35:31] local.INFO: Packet analysis {"connection_id":50502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:31] local.INFO: Extracted packet for processing {"connection_id":50502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:31] 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-22 18:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 18:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:35: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-22 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:35: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-22 18:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":50502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:35:31] local.INFO: GPS data processed {"connection_id":50502,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:35:31] local.INFO: Acknowledgment sent {"connection_id":50502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:35:32] local.INFO: TCP Data received {"connection_id":50894,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:35:32] local.INFO: Processing buffer {"connection_id":50894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:35:32] local.INFO: IMEI packet received {"connection_id":50894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:35:33] local.INFO: TCP Data received {"connection_id":50894,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54aa020012d19ad00072090a0002c001026..."} 
[2026-04-22 18:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54aa020012d19ad00072090a0002c001026..."} 
[2026-04-22 18:35:33] local.INFO: Processing buffer {"connection_id":50894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54aa020012d19ad00072090a0002c001026..."} 
[2026-04-22 18:35:33] local.INFO: Packet analysis {"connection_id":50894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:33] local.INFO: Extracted packet for processing {"connection_id":50894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119574688,"longitude_deg":75.6657408,"latitude_deg":11.9574688,"altitude":44,"angle":16,"satellites":38,"speed":24,"hex_longitude":"2d19ad00","hex_latitude":"072090a0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876942848001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114008120165924864,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785762816,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35: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-22 18:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863060000,"timestamp_ms":1776863060000,"timestamp_seconds":1776863060,"priority":1,"record_length":96,"hex_timestamp":"0000019db54aa020"} 
[2026-04-22 18: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-22 18:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-22 18:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:35:33] 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-22 18:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876942848001,"66":13917,"106":206,"83":41984,"24":24,"16":114008120165924864,"45":1850064683785762816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876942848001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:35:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114008120165924864,"km_value":114008120165924.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785762816,"description":"Unknown IO ID 45"} 
[2026-04-22 18:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876942848001,"power":13917,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1850064683785762816}} 
[2026-04-22 18:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:35:33] local.INFO: GPS data processed {"connection_id":50894,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:35:33] local.INFO: Acknowledgment sent {"connection_id":50894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:35:50] local.INFO: TCP Data received {"connection_id":51453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54b24f0012d7d254005ca9e10000700ba25..."} 
[2026-04-22 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54b24f0012d7d254005ca9e10000700ba25..."} 
[2026-04-22 18:35:50] local.INFO: Processing buffer {"connection_id":51453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54b24f0012d7d254005ca9e10000700ba25..."} 
[2026-04-22 18:35:50] local.INFO: Packet analysis {"connection_id":51453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:35:50] local.INFO: Extracted packet for processing {"connection_id":51453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:35:50] local.INFO: GPS Element Parsed {"raw_longitude":763176256,"raw_latitude":97164816,"longitude_deg":76.3176256,"latitude_deg":9.7164816,"altitude":7,"angle":186,"satellites":37,"speed":72,"hex_longitude":"2d7d2540","hex_latitude":"05ca9e10","is_valid_coordinates":true} 
[2026-04-22 18:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74908640573652992,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491151380480,"note":"Value kept but may cause issues"} 
[2026-04-22 18:35:50] 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-22 18:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776863094000,"timestamp_ms":1776863094000,"timestamp_seconds":1776863094,"priority":1,"record_length":96,"hex_timestamp":"0000019db54b24f0"} 
[2026-04-22 18:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:35: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-22 18:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-22 18:35: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-22 18:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":51453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":51453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":51453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876950528001,"66":13656,"131":206,"85":15104,"24":72,"16":74908640573652992,"45":9018880491151380480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 18:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:35:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 18:35:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74908640573652992,"km_value":74908640573652.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491151380480,"description":"Unknown IO ID 45"} 
[2026-04-22 18:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876950528001,"power":13656,"unknown_131":206,"unknown_85":15104,"ignition":72,"odometer":null,"unknown_45":9018880491151380480}} 
[2026-04-22 18:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":51453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:35:51] local.INFO: GPS data processed {"connection_id":51453,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:35:51] local.INFO: Acknowledgment sent {"connection_id":51453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:36:02] local.INFO: TCP Data received {"connection_id":50502,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:36:02] local.INFO: Processing buffer {"connection_id":50502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:36:02] local.INFO: Packet analysis {"connection_id":50502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:36:02] local.INFO: Extracted packet for processing {"connection_id":50502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:02] 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-22 18:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 18:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:36:02] 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-22 18:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":50502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:36:02] local.INFO: GPS data processed {"connection_id":50502,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:36:02] local.INFO: Acknowledgment sent {"connection_id":50502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:36:04] local.INFO: TCP Data received {"connection_id":50894,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54b5ba0012d1997800720b1200035010f25..."} 
[2026-04-22 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54b5ba0012d1997800720b1200035010f25..."} 
[2026-04-22 18:36:04] local.INFO: Processing buffer {"connection_id":50894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54b5ba0012d1997800720b1200035010f25..."} 
[2026-04-22 18:36:04] local.INFO: Packet analysis {"connection_id":50894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:36:04] local.INFO: Extracted packet for processing {"connection_id":50894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119583008,"longitude_deg":75.6651904,"latitude_deg":11.9583008,"altitude":53,"angle":271,"satellites":37,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b120","is_valid_coordinates":true} 
[2026-04-22 18:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876950272001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114008901849972736,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609184100352,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36: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-22 18:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776863108000,"timestamp_ms":1776863108000,"timestamp_seconds":1776863108,"priority":1,"record_length":96,"hex_timestamp":"0000019db54b5ba0"} 
[2026-04-22 18:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 18:36:04] 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-22 18: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-22 18:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:36:04] 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-22 18:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876950272001,"66":14374,"106":206,"83":41984,"24":0,"16":114008901849972736,"45":1845279609184100352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876950272001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:36:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114008901849972736,"km_value":114008901849972.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609184100352,"description":"Unknown IO ID 45"} 
[2026-04-22 18:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876950272001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845279609184100352}} 
[2026-04-22 18:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":50894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:36:04] local.INFO: GPS data processed {"connection_id":50894,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:36:04] local.INFO: Acknowledgment sent {"connection_id":50894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:36:10] local.INFO: TCP Data received {"connection_id":51454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:36:10] local.INFO: Processing buffer {"connection_id":51454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:36:10] local.INFO: IMEI packet received {"connection_id":51454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":51454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:36:15] local.INFO: TCP Data received {"connection_id":51454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:36:15] local.INFO: Processing buffer {"connection_id":51454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:36:15] local.INFO: IMEI packet received {"connection_id":51454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":51454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:36:16] local.INFO: TCP Data received {"connection_id":51454,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54b3878012d7d21c005ca7a20000700b923..."} 
[2026-04-22 18:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54b3878012d7d21c005ca7a20000700b923..."} 
[2026-04-22 18:36:16] local.INFO: Processing buffer {"connection_id":51454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54b3878012d7d21c005ca7a20000700b923..."} 
[2026-04-22 18:36:16] local.INFO: Packet analysis {"connection_id":51454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:36:16] local.INFO: Extracted packet for processing {"connection_id":51454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":97155616,"longitude_deg":76.317536,"latitude_deg":9.7155616,"altitude":7,"angle":185,"satellites":35,"speed":73,"hex_longitude":"2d7d21c0","hex_latitude":"05ca7a20","is_valid_coordinates":true} 
[2026-04-22 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876952064001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74909087250251776,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222497656832,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:16] 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-22 18:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776863099000,"timestamp_ms":1776863099000,"timestamp_seconds":1776863099,"priority":1,"record_length":96,"hex_timestamp":"0000019db54b3878"} 
[2026-04-22 18:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:36: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-22 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:36:16] 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-22 18:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876952064001,"66":13602,"131":206,"85":15104,"24":73,"16":74909087250251776,"45":9017684222497656832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 18:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876952064001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:36:16] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 18:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74909087250251776,"km_value":74909087250251.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222497656832,"description":"Unknown IO ID 45"} 
[2026-04-22 18:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876952064001,"power":13602,"unknown_131":206,"unknown_85":15104,"ignition":73,"odometer":null,"unknown_45":9017684222497656832}} 
[2026-04-22 18:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":51454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:36:16] local.INFO: GPS data processed {"connection_id":51454,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:36:16] local.INFO: Acknowledgment sent {"connection_id":51454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:36:25] local.INFO: TCP Data received {"connection_id":50503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:36:25] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:36:25] local.INFO: IMEI packet received {"connection_id":50503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":50503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:36:27] local.INFO: TCP Data received {"connection_id":51455,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:36:27] local.INFO: Processing buffer {"connection_id":51455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:36:27] local.INFO: IMEI packet received {"connection_id":51455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":51455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:36:30] local.INFO: TCP Data received {"connection_id":50503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:36:30] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:36:30] local.INFO: IMEI packet received {"connection_id":50503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":50503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:36:31] local.INFO: TCP Data received {"connection_id":50503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:36:31] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:36:31] local.INFO: Packet analysis {"connection_id":50503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:36:31] local.INFO: Extracted packet for processing {"connection_id":50503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 18:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:31] 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-22 18:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 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-22 18:36: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 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-22 18:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18: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-22 18:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":50503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:36:31] local.INFO: GPS data processed {"connection_id":50503,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:36:31] local.INFO: Acknowledgment sent {"connection_id":50503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:36:32] local.INFO: TCP Data received {"connection_id":51455,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:36:32] local.INFO: Processing buffer {"connection_id":51455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:36:32] local.INFO: IMEI packet received {"connection_id":51455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":51455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:36:33] local.INFO: TCP Data received {"connection_id":51455,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54b76f8012d1996400720b1800035011b26..."} 
[2026-04-22 18:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54b76f8012d1996400720b1800035011b26..."} 
[2026-04-22 18:36:33] local.INFO: Processing buffer {"connection_id":51455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54b76f8012d1996400720b1800035011b26..."} 
[2026-04-22 18:36:33] local.INFO: Packet analysis {"connection_id":51455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:36:33] local.INFO: Extracted packet for processing {"connection_id":51455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756651584,"raw_latitude":119583104,"longitude_deg":75.6651584,"latitude_deg":11.9583104,"altitude":53,"angle":283,"satellites":38,"speed":11,"hex_longitude":"2d199640","hex_latitude":"0720b180","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876955648001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114008914734874624,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533112832,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36: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-22 18:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863115000,"timestamp_ms":1776863115000,"timestamp_seconds":1776863115,"priority":1,"record_length":96,"hex_timestamp":"0000019db54b76f8"} 
[2026-04-22 18: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-22 18:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-22 18:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:36:33] 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-22 18:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876955648001,"66":14330,"106":206,"83":41984,"24":11,"16":114008914734874624,"45":1844083340533112832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876955648001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:36:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114008914734874624,"km_value":114008914734874.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533112832,"description":"Unknown IO ID 45"} 
[2026-04-22 18:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876955648001,"power":14330,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1844083340533112832}} 
[2026-04-22 18:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":51455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:36:33] local.INFO: GPS data processed {"connection_id":51455,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:36:33] local.INFO: Acknowledgment sent {"connection_id":51455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:36:47] local.INFO: TCP Data received {"connection_id":51454,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54b4c00012d7d1dc005ca5628000700b925..."} 
[2026-04-22 18:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54b4c00012d7d1dc005ca5628000700b925..."} 
[2026-04-22 18:36:47] local.INFO: Processing buffer {"connection_id":51454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54b4c00012d7d1dc005ca5628000700b925..."} 
[2026-04-22 18:36:47] local.INFO: Packet analysis {"connection_id":51454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:36:47] local.INFO: Extracted packet for processing {"connection_id":51454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54b"} 
[2026-04-22 18:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":97146408,"longitude_deg":76.3174336,"latitude_deg":9.7146408,"altitude":7,"angle":185,"satellites":37,"speed":73,"hex_longitude":"2d7d1dc0","hex_latitude":"05ca5628","is_valid_coordinates":true} 
[2026-04-22 18:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876953344001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74909538221817856,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060076814336,"note":"Value kept but may cause issues"} 
[2026-04-22 18:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776863104000,"timestamp_ms":1776863104000,"timestamp_seconds":1776863104,"priority":1,"record_length":96,"hex_timestamp":"0000019db54b4c00"} 
[2026-04-22 18:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-22 18:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876953344001,"66":13613,"131":206,"85":15104,"24":73,"16":74909538221817856,"45":9016699060076814336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 18:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876953344001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:36:47] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 18:36:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 18:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74909538221817856,"km_value":74909538221817.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060076814336,"description":"Unknown IO ID 45"} 
[2026-04-22 18:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876953344001,"power":13613,"unknown_131":206,"unknown_85":15104,"ignition":73,"odometer":null,"unknown_45":9016699060076814336}} 
[2026-04-22 18:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":51454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:36:47] local.INFO: GPS data processed {"connection_id":51454,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:36:47] local.INFO: Acknowledgment sent {"connection_id":51454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:37:02] local.INFO: TCP Data received {"connection_id":50503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:37:02] local.INFO: Processing buffer {"connection_id":50503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:37:02] local.INFO: Packet analysis {"connection_id":50503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:37:02] local.INFO: Extracted packet for processing {"connection_id":50503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 18:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:02] 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-22 18:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 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-22 18:37: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:37:02] 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-22 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-22 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-22 18:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:37: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-22 18:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:37:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":50503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:37:02] local.INFO: GPS data processed {"connection_id":50503,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:37:02] local.INFO: Acknowledgment sent {"connection_id":50503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:37:04] local.INFO: TCP Data received {"connection_id":51455,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54c6928012d18d6c007210080003a014e24..."} 
[2026-04-22 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54c6928012d18d6c007210080003a014e24..."} 
[2026-04-22 18:37:04] local.INFO: Processing buffer {"connection_id":51455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54c6928012d18d6c007210080003a014e24..."} 
[2026-04-22 18:37:04] local.INFO: Packet analysis {"connection_id":51455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:37:04] local.INFO: Extracted packet for processing {"connection_id":51455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603328,"longitude_deg":75.660256,"latitude_deg":11.9603328,"altitude":58,"angle":334,"satellites":36,"speed":36,"hex_longitude":"2d18d6c0","hex_latitude":"07210080","is_valid_coordinates":true} 
[2026-04-22 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876972288001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114011663513944064,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792432682311168000,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37: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-22 18:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776863177000,"timestamp_ms":1776863177000,"timestamp_seconds":1776863177,"priority":1,"record_length":96,"hex_timestamp":"0000019db54c6928"} 
[2026-04-22 18:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 18:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:37:04] 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-22 18:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876972288001,"66":14396,"106":206,"83":41984,"24":36,"16":114011663513944064,"45":1792432682311168000},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876972288001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:37:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114011663513944064,"km_value":114011663513944.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792432682311168000,"description":"Unknown IO ID 45"} 
[2026-04-22 18:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876972288001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1792432682311168000}} 
[2026-04-22 18:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":51455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:37:04] local.INFO: GPS data processed {"connection_id":51455,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:37:04] local.INFO: Acknowledgment sent {"connection_id":51455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:37:15] local.INFO: TCP Data received {"connection_id":51457,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:37:15] local.INFO: Processing buffer {"connection_id":51457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:37:15] local.INFO: IMEI packet received {"connection_id":51457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":51457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:37:17] local.INFO: TCP Data received {"connection_id":51457,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:37:17] local.INFO: Processing buffer {"connection_id":51457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:37:17] local.INFO: IMEI packet received {"connection_id":51457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":51457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:37:19] local.INFO: TCP Data received {"connection_id":51457,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54ce628012d7d184005c8b5d0000b00b025..."} 
[2026-04-22 18:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54ce628012d7d184005c8b5d0000b00b025..."} 
[2026-04-22 18:37:19] local.INFO: Processing buffer {"connection_id":51457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54ce628012d7d184005c8b5d0000b00b025..."} 
[2026-04-22 18:37:19] local.INFO: Packet analysis {"connection_id":51457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:37:19] local.INFO: Extracted packet for processing {"connection_id":51457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:37:19] local.INFO: GPS Element Parsed {"raw_longitude":763172928,"raw_latitude":97039824,"longitude_deg":76.3172928,"latitude_deg":9.7039824,"altitude":11,"angle":176,"satellites":37,"speed":24,"hex_longitude":"2d7d1840","hex_latitude":"05c8b5d0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876977920001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74914722247344128,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835305703424,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:19] 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-22 18:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776863209000,"timestamp_ms":1776863209000,"timestamp_seconds":1776863209,"priority":1,"record_length":96,"hex_timestamp":"0000019db54ce628"} 
[2026-04-22 18: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-22 18:37: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-22 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 18:37: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-22 18: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-22 18: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-22 18:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":51457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":51457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":51457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876977920001,"66":13472,"205":206,"85":12288,"24":24,"16":74914722247344128,"45":9013602835305703424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-22 18:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876977920001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:37:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74914722247344128,"km_value":74914722247344.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835305703424,"description":"Unknown IO ID 45"} 
[2026-04-22 18:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876977920001,"power":13472,"cell_id":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9013602835305703424}} 
[2026-04-22 18:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":51457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:37:19] local.INFO: GPS data processed {"connection_id":51457,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:37:19] local.INFO: Acknowledgment sent {"connection_id":51457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:37:21] local.INFO: TCP Data received {"connection_id":51457,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54d1cd8012d7d1c0005c89190000c00ab25..."} 
[2026-04-22 18:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54d1cd8012d7d1c0005c89190000c00ab25..."} 
[2026-04-22 18:37:21] local.INFO: Processing buffer {"connection_id":51457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54d1cd8012d7d1c0005c89190000c00ab25..."} 
[2026-04-22 18:37:21] local.INFO: Packet analysis {"connection_id":51457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:37:21] local.INFO: Extracted packet for processing {"connection_id":51457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":97030544,"longitude_deg":76.3173888,"latitude_deg":9.7030544,"altitude":12,"angle":171,"satellites":37,"speed":30,"hex_longitude":"2d7d1c00","hex_latitude":"05c89190","is_valid_coordinates":true} 
[2026-04-22 18:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876981504001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74915177513877504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014025047768420352,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:21] 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-22 18:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776863223000,"timestamp_ms":1776863223000,"timestamp_seconds":1776863223,"priority":1,"record_length":96,"hex_timestamp":"0000019db54d1cd8"} 
[2026-04-22 18:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:37: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-22 18:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 18:37:21] 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-22 18:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":51457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":51457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":51457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876981504001,"66":13646,"205":206,"85":12288,"24":30,"16":74915177513877504,"45":9014025047768420352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-22 18:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876981504001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74915177513877504,"km_value":74915177513877.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014025047768420352,"description":"Unknown IO ID 45"} 
[2026-04-22 18:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876981504001,"power":13646,"cell_id":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9014025047768420352}} 
[2026-04-22 18:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":51457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:37:21] local.INFO: GPS data processed {"connection_id":51457,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:37:21] local.INFO: Acknowledgment sent {"connection_id":51457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:37:27] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:37:27] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:37:27] local.INFO: IMEI packet received {"connection_id":50504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":50504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:37:30] local.INFO: TCP Data received {"connection_id":50768,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:37:30] local.INFO: Processing buffer {"connection_id":50768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:37:30] local.INFO: IMEI packet received {"connection_id":50768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":50768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:37:31] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:37:31] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:37:31] local.INFO: IMEI packet received {"connection_id":50504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":50504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:37:32] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:37:32] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:37:32] local.INFO: IMEI packet received {"connection_id":50504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:37:32] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54c78c8012d18d24007210de8003b015a24..."} 
[2026-04-22 18:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54c78c8012d18d24007210de8003b015a24..."} 
[2026-04-22 18:37:32] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54c78c8012d18d24007210de8003b015a24..."} 
[2026-04-22 18:37:32] local.INFO: Packet analysis {"connection_id":50504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:37:32] local.INFO: Extracted packet for processing {"connection_id":50504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119606760,"longitude_deg":75.6601408,"latitude_deg":11.960676,"altitude":59,"angle":346,"satellites":36,"speed":36,"hex_longitude":"2d18d240","hex_latitude":"07210de8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876973312001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114011839607603200,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777335808,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37: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-22 18:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776863181000,"timestamp_ms":1776863181000,"timestamp_seconds":1776863181,"priority":1,"record_length":96,"hex_timestamp":"0000019db54c78c8"} 
[2026-04-22 18: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-22 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 18:37:32] 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-22 18: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-22 18: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-22 18:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:37:32] 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-22 18:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876973312001,"66":14265,"106":206,"83":41984,"24":36,"16":114011839607603200,"45":1789829038777335808},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876973312001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:37:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114011839607603200,"km_value":114011839607603.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777335808,"description":"Unknown IO ID 45"} 
[2026-04-22 18:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876973312001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1789829038777335808}} 
[2026-04-22 18:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":50504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:37:32] local.INFO: GPS data processed {"connection_id":50504,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:37:32] local.INFO: Acknowledgment sent {"connection_id":50504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:37:35] local.INFO: TCP Data received {"connection_id":50768,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:37:35] local.INFO: Processing buffer {"connection_id":50768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:37:35] local.INFO: IMEI packet received {"connection_id":50768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":50768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:37:36] local.INFO: TCP Data received {"connection_id":50768,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:37:36] local.INFO: Processing buffer {"connection_id":50768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:37:36] local.INFO: Packet analysis {"connection_id":50768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:37:36] local.INFO: Extracted packet for processing {"connection_id":50768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37: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-22 18:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 18: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-22 18:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:37:36] 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-22 18: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-22 18: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-22 18:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:37: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-22 18:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":50768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:37:36] local.INFO: GPS data processed {"connection_id":50768,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:37:36] local.INFO: Acknowledgment sent {"connection_id":50768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:37:37] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54c8098012d18d14007211540003b016624..."} 
[2026-04-22 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54c8098012d18d14007211540003b016624..."} 
[2026-04-22 18:37:37] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54c8098012d18d14007211540003b016624..."} 
[2026-04-22 18:37:37] local.INFO: Packet analysis {"connection_id":50504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:37:37] local.INFO: Extracted packet for processing {"connection_id":50504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119608640,"longitude_deg":75.6601152,"latitude_deg":11.960864,"altitude":59,"angle":358,"satellites":36,"speed":37,"hex_longitude":"2d18d140","hex_latitude":"07211540","is_valid_coordinates":true} 
[2026-04-22 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876974336001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114011929801916416,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401383016448,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776863183000,"timestamp_ms":1776863183000,"timestamp_seconds":1776863183,"priority":1,"record_length":96,"hex_timestamp":"0000019db54c8098"} 
[2026-04-22 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 18:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:37:37] 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-22 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876974336001,"66":14243,"106":206,"83":41984,"24":37,"16":114011929801916416,"45":1788562401383016448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876974336001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:37:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114011929801916416,"km_value":114011929801916.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401383016448,"description":"Unknown IO ID 45"} 
[2026-04-22 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876974336001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788562401383016448}} 
[2026-04-22 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":50504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:37:37] local.INFO: GPS data processed {"connection_id":50504,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:37:37] local.INFO: Acknowledgment sent {"connection_id":50504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:37:41] local.INFO: TCP Data received {"connection_id":50768,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:37:41] local.INFO: Processing buffer {"connection_id":50768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:37:41] local.INFO: Packet analysis {"connection_id":50768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:37:41] local.INFO: Extracted packet for processing {"connection_id":50768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:41] 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-22 18:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 18:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"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-22 18:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:37:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":50768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:37:41] local.INFO: GPS data processed {"connection_id":50768,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:37:41] local.INFO: Acknowledgment sent {"connection_id":50768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:37:53] local.INFO: TCP Data received {"connection_id":51457,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54d4bb8012d7d214005c86d08000b00ac26..."} 
[2026-04-22 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54d4bb8012d7d214005c86d08000b00ac26..."} 
[2026-04-22 18:37:53] local.INFO: Processing buffer {"connection_id":51457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54d4bb8012d7d214005c86d08000b00ac26..."} 
[2026-04-22 18:37:53] local.INFO: Packet analysis {"connection_id":51457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:37:53] local.INFO: Extracted packet for processing {"connection_id":51457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:37:53] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":97021192,"longitude_deg":76.3175232,"latitude_deg":9.7021192,"altitude":11,"angle":172,"satellites":38,"speed":30,"hex_longitude":"2d7d2140","hex_latitude":"05c86d08","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876985088001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74915632780410880,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080578928709632,"note":"Value kept but may cause issues"} 
[2026-04-22 18:37:53] 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-22 18:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776863235000,"timestamp_ms":1776863235000,"timestamp_seconds":1776863235,"priority":1,"record_length":96,"hex_timestamp":"0000019db54d4bb8"} 
[2026-04-22 18: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-22 18:37: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-22 18: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-22 18: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-22 18: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-22 18: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-22 18:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":51457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":51457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":51457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876985088001,"66":13656,"205":206,"85":12288,"24":30,"16":74915632780410880,"45":9015080578928709632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-22 18:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876985088001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:37:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74915632780410880,"km_value":74915632780410.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080578928709632,"description":"Unknown IO ID 45"} 
[2026-04-22 18:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876985088001,"power":13656,"cell_id":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9015080578928709632}} 
[2026-04-22 18:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":51457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:37:53] local.INFO: GPS data processed {"connection_id":51457,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:37:53] local.INFO: Acknowledgment sent {"connection_id":51457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:38:08] local.INFO: TCP Data received {"connection_id":50504,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54c9420012d18d10007212818003f015a24..."} 
[2026-04-22 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54c9420012d18d10007212818003f015a24..."} 
[2026-04-22 18:38:08] local.INFO: Processing buffer {"connection_id":50504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54c9420012d18d10007212818003f015a24..."} 
[2026-04-22 18:38:08] local.INFO: Packet analysis {"connection_id":50504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:38:08] local.INFO: Extracted packet for processing {"connection_id":50504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54c"} 
[2026-04-22 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119613464,"longitude_deg":75.6601088,"latitude_deg":11.9613464,"altitude":63,"angle":346,"satellites":36,"speed":37,"hex_longitude":"2d18d100","hex_latitude":"07212818","is_valid_coordinates":true} 
[2026-04-22 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-22 18:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876974848001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114012166025117696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406787072,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776863188000,"timestamp_ms":1776863188000,"timestamp_seconds":1776863188,"priority":1,"record_length":96,"hex_timestamp":"0000019db54c9420"} 
[2026-04-22 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-22 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-22 18:38:08] 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-22 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-22 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-22 18:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:38:08] 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-22 18:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876974848001,"66":14374,"106":206,"83":41984,"24":37,"16":114012166025117696,"45":1788280926406787072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 18:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876974848001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:38:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 18:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114012166025117696,"km_value":114012166025117.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406787072,"description":"Unknown IO ID 45"} 
[2026-04-22 18:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876974848001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788280926406787072}} 
[2026-04-22 18:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":50504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:38:08] local.INFO: GPS data processed {"connection_id":50504,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:38:08] local.INFO: Acknowledgment sent {"connection_id":50504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:38:10] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:38:10] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:38:10] local.INFO: IMEI packet received {"connection_id":50769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":50769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:38:12] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:38:12] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:38:12] local.INFO: IMEI packet received {"connection_id":50769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":50769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:38:13] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54d72c8012d7d258005c84850000b00ad24..."} 
[2026-04-22 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54d72c8012d7d258005c84850000b00ad24..."} 
[2026-04-22 18:38:13] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54d72c8012d7d258005c84850000b00ad24..."} 
[2026-04-22 18:38:13] local.INFO: Packet analysis {"connection_id":50769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:13] local.INFO: Extracted packet for processing {"connection_id":50769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763176320,"raw_latitude":97011792,"longitude_deg":76.317632,"latitude_deg":9.7011792,"altitude":11,"angle":173,"satellites":36,"speed":42,"hex_longitude":"2d7d2580","hex_latitude":"05c84850","is_valid_coordinates":true} 
[2026-04-22 18:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876988160001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74916092341911552,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558322554046464,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:13] 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-22 18:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776863245000,"timestamp_ms":1776863245000,"timestamp_seconds":1776863245,"priority":1,"record_length":96,"hex_timestamp":"0000019db54d72c8"} 
[2026-04-22 18:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":50769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":50769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":50769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876988160001,"66":13830,"199":206,"85":12288,"24":42,"16":74916092341911552,"45":9016558322554046464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-22 18:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876988160001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:38:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-22 18:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74916092341911552,"km_value":74916092341911.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558322554046464,"description":"Unknown IO ID 45"} 
[2026-04-22 18:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876988160001,"power":13830,"trip_odometer":0.206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9016558322554046464}} 
[2026-04-22 18:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":50769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:38:13] local.INFO: GPS data processed {"connection_id":50769,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:38:13] local.INFO: Acknowledgment sent {"connection_id":50769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:38:15] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54d95f0012d7d2b0005c822d0000a00ab26..."} 
[2026-04-22 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54d95f0012d7d2b0005c822d0000a00ab26..."} 
[2026-04-22 18:38:15] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54d95f0012d7d2b0005c822d0000a00ab26..."} 
[2026-04-22 18:38:15] local.INFO: Packet analysis {"connection_id":50769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:15] local.INFO: Extracted packet for processing {"connection_id":50769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763177728,"raw_latitude":97002192,"longitude_deg":76.3177728,"latitude_deg":9.7002192,"altitude":10,"angle":171,"satellites":38,"speed":38,"hex_longitude":"2d7d2b00","hex_latitude":"05c822d0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876990720001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74916564788314112,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017754591202660352,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:15] 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-22 18:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776863254000,"timestamp_ms":1776863254000,"timestamp_seconds":1776863254,"priority":1,"record_length":96,"hex_timestamp":"0000019db54d95f0"} 
[2026-04-22 18: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-22 18:38: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-22 18:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 18:38:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6192458093363200,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630448679936,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3651665930,"corrected_to":0} 
[2026-04-22 18:38:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926248,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3374399488,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:15] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-2305511519082773047,"corrected_to":0} 
[2026-04-22 18:38:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":6917540025611976742,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:15] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,199,85,24,241,157,16,39,75,45,64,109,11,38,10,66,205,28,145,12,37,230,1,240,160,227,181,200,4,113,25,101,21,88,239,52,2,5,22,247,69],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":200,"original":3651665930,"validated":0},{"io_id":247,"original":-2305511519082773047,"validated":0}]} 
[2026-04-22 18:38:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792823904550387712,"timestamp_seconds":792823904550387.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18: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-22 18:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876990720001,"66":13830,"199":206,"85":12288,"24":38,"16":74916564788314112,"45":9017754591202660352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-22 18:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876990720001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:38:15] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-22 18:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74916564788314112,"km_value":74916564788314.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017754591202660352,"description":"Unknown IO ID 45"} 
[2026-04-22 18:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876990720001,"power":13830,"trip_odometer":0.206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9017754591202660352}} 
[2026-04-22 18:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":50769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:38:15] local.INFO: GPS data processed {"connection_id":50769,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:38:15] local.INFO: Acknowledgment sent {"connection_id":50769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:38:25] local.INFO: TCP Data received {"connection_id":51459,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:38:25] local.INFO: Processing buffer {"connection_id":51459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:38:25] local.INFO: IMEI packet received {"connection_id":51459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":51459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:38:25] local.INFO: TCP Data received {"connection_id":51458,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:38:25] local.INFO: Processing buffer {"connection_id":51458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:38:25] local.INFO: IMEI packet received {"connection_id":51458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":51458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:38:30] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:30] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:30] local.INFO: IMEI packet received {"connection_id":50770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":50770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:38:30] local.INFO: TCP Data received {"connection_id":51459,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:38:30] local.INFO: Processing buffer {"connection_id":51459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:38:30] local.INFO: IMEI packet received {"connection_id":51459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":51459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:38:30] local.INFO: TCP Data received {"connection_id":51458,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:38:30] local.INFO: Processing buffer {"connection_id":51458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:38:30] local.INFO: IMEI packet received {"connection_id":51458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":51458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:38:31] local.INFO: TCP Data received {"connection_id":51458,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:38:31] local.INFO: Processing buffer {"connection_id":51458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:38:31] local.INFO: Packet analysis {"connection_id":51458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:38:31] local.INFO: Extracted packet for processing {"connection_id":51458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:31] 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-22 18:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 18: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-22 18:38: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-22 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:38: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-22 18:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":51458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:38:31] local.INFO: GPS data processed {"connection_id":51458,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:38:31] local.INFO: Acknowledgment sent {"connection_id":51458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:38:32] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:32] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:32] local.INFO: IMEI packet received {"connection_id":50770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:38:32] local.INFO: TCP Data received {"connection_id":51459,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db5326cd0012cb29a4007822ea80045009c29..."} 
[2026-04-22 18:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5326cd0012cb29a4007822ea80045009c29..."} 
[2026-04-22 18:38:32] local.INFO: Processing buffer {"connection_id":51459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5326cd0012cb29a4007822ea80045009c29..."} 
[2026-04-22 18:38:32] local.INFO: Packet analysis {"connection_id":51459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:38:32] local.INFO: Extracted packet for processing {"connection_id":51459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db532"} 
[2026-04-22 18:38:32] local.INFO: GPS Element Parsed {"raw_longitude":749902400,"raw_latitude":125972136,"longitude_deg":74.99024,"latitude_deg":12.5972136,"altitude":69,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2cb29a40","hex_latitude":"07822ea8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876460288001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577074787551893504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:32] local.INFO: IO Element Parsed {"io_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-22 18:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776861474000,"timestamp_ms":1776861474000,"timestamp_seconds":1776861474,"priority":1,"record_length":96,"hex_timestamp":"0000019db5326cd0"} 
[2026-04-22 18: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-22 18:38:32] 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-22 18: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-22 18:38:32] 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-22 18: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-22 18: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-22 18:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 18:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 18:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-22 18:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-22 18:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876460288001,"66":25223,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5577074787551893504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-22 18:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-22 18:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-22 18:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876460288001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:38:32] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-22 18:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-22 18:38:32] 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-22 18:38:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577074787551893504,"description":"Unknown IO ID 44"} 
[2026-04-22 18:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876460288001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577074787551893504}} 
[2026-04-22 18:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":51459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45405,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:38:32] local.INFO: GPS data processed {"connection_id":51459,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:38:32] local.INFO: Acknowledgment sent {"connection_id":51459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:38:32] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:32] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:32] local.INFO: IMEI packet received {"connection_id":50770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":50770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:38:37] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:37] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:38:37] local.INFO: IMEI packet received {"connection_id":50770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":50770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:38:38] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54d9208012d186180072181200048011b21..."} 
[2026-04-22 18:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54d9208012d186180072181200048011b21..."} 
[2026-04-22 18:38:38] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54d9208012d186180072181200048011b21..."} 
[2026-04-22 18:38:38] local.INFO: Packet analysis {"connection_id":50770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:38] local.INFO: Extracted packet for processing {"connection_id":50770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756572544,"raw_latitude":119636256,"longitude_deg":75.6572544,"latitude_deg":11.9636256,"altitude":72,"angle":283,"satellites":33,"speed":36,"hex_longitude":"2d186180","hex_latitude":"07218120","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876990976001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114014146005041152,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763581497207488512,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776863253000,"timestamp_ms":1776863253000,"timestamp_seconds":1776863253,"priority":1,"record_length":96,"hex_timestamp":"0000019db54d9208"} 
[2026-04-22 18: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-22 18:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 18: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 18:38:38] 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-22 18: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-22 18: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-22 18:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:38:38] 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-22 18:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876990976001,"66":13787,"105":206,"83":41984,"24":36,"16":114014146005041152,"45":1763581497207488512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 18:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876990976001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:38:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 18:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114014146005041152,"km_value":114014146005041.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763581497207488512,"description":"Unknown IO ID 45"} 
[2026-04-22 18:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876990976001,"power":13787,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1763581497207488512}} 
[2026-04-22 18:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":50770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:38:38] local.INFO: GPS data processed {"connection_id":50770,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:38:38] local.INFO: Acknowledgment sent {"connection_id":50770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:38:41] local.INFO: TCP Data received {"connection_id":50770,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54d99d8012d185ac0072183d80048012721..."} 
[2026-04-22 18:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54d99d8012d185ac0072183d80048012721..."} 
[2026-04-22 18:38:41] local.INFO: Processing buffer {"connection_id":50770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54d99d8012d185ac0072183d80048012721..."} 
[2026-04-22 18:38:41] local.INFO: Packet analysis {"connection_id":50770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:41] local.INFO: Extracted packet for processing {"connection_id":50770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119636952,"longitude_deg":75.6570816,"latitude_deg":11.9636952,"altitude":72,"angle":295,"satellites":33,"speed":38,"hex_longitude":"2d185ac0","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-04-22 18:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876992768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114014236199354368,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756826097766440960,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776863255000,"timestamp_ms":1776863255000,"timestamp_seconds":1776863255,"priority":1,"record_length":96,"hex_timestamp":"0000019db54d99d8"} 
[2026-04-22 18:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-22 18:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876992768001,"66":13722,"105":206,"83":41984,"24":38,"16":114014236199354368,"45":1756826097766440960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 18:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876992768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:38:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 18:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114014236199354368,"km_value":114014236199354.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756826097766440960,"description":"Unknown IO ID 45"} 
[2026-04-22 18:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876992768001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1756826097766440960}} 
[2026-04-22 18:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":50770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:38:41] local.INFO: GPS data processed {"connection_id":50770,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:38:41] local.INFO: Acknowledgment sent {"connection_id":50770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:38:47] local.INFO: TCP Data received {"connection_id":50769,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54dbd00012d7d318005c80028000900a625..."} 
[2026-04-22 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54dbd00012d7d318005c80028000900a625..."} 
[2026-04-22 18:38:47] local.INFO: Processing buffer {"connection_id":50769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54dbd00012d7d318005c80028000900a625..."} 
[2026-04-22 18:38:47] local.INFO: Packet analysis {"connection_id":50769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:47] local.INFO: Extracted packet for processing {"connection_id":50769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:38:47] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":96993320,"longitude_deg":76.3179392,"latitude_deg":9.699332,"altitude":9,"angle":166,"satellites":37,"speed":36,"hex_longitude":"2d7d3180","hex_latitude":"05c80028","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876993024001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74917002874978304,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019302703572111360,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] 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-22 18:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776863264000,"timestamp_ms":1776863264000,"timestamp_seconds":1776863264,"priority":1,"record_length":96,"hex_timestamp":"0000019db54dbd00"} 
[2026-04-22 18: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-22 18:38: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-22 18: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 18:38:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755408046784512,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630448654080,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3050307595,"corrected_to":0} 
[2026-04-22 18:38:47] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3221604569,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3372111872,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-2881972271331670583,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4611699215505358870,"note":"Value kept but may cause issues"} 
[2026-04-22 18:38:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,199,85,24,241,157,16,40,114,45,128,72,11,36,10,66,39,75,64,109,38,205,28,1,240,78,227,181,200,4,113,175,22,168,239,53,2,5,12,34,33],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":200,"original":3050307595,"validated":0}]} 
[2026-04-22 18:38:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720764120078876672,"timestamp_seconds":720764120078876.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18: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-22 18:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876993024001,"66":13678,"199":206,"85":12288,"24":36,"16":74917002874978304,"45":9019302703572111360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-22 18:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876993024001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:38:47] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-22 18:38:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74917002874978304,"km_value":74917002874978.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019302703572111360,"description":"Unknown IO ID 45"} 
[2026-04-22 18:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876993024001,"power":13678,"trip_odometer":0.206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9019302703572111360}} 
[2026-04-22 18:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":50769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:38:47] local.INFO: GPS data processed {"connection_id":50769,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:38:47] local.INFO: Acknowledgment sent {"connection_id":50769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:39:01] local.INFO: TCP Data received {"connection_id":51460,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:39:01] local.INFO: Processing buffer {"connection_id":51460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:39:01] local.INFO: IMEI packet received {"connection_id":51460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":51460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:39:03] local.INFO: TCP Data received {"connection_id":51458,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:39:03] local.INFO: Processing buffer {"connection_id":51458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:39:03] local.INFO: Packet analysis {"connection_id":51458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:39:03] local.INFO: Extracted packet for processing {"connection_id":51458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39: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-22 18:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 18: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-22 18: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-22 18: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":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:39: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-22 18:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":51458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:39:03] local.INFO: GPS data processed {"connection_id":51458,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:39:03] local.INFO: Acknowledgment sent {"connection_id":51458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:39:09] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:39:09] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:39:09] local.INFO: IMEI packet received {"connection_id":50895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":50895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:39:10] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:39:10] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:39:10] local.INFO: IMEI packet received {"connection_id":50895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":50895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:39:15] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:39:15] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:39:15] local.INFO: IMEI packet received {"connection_id":50895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":50895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:39:16] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54de410012d7d3c4005c7de08000a009e24..."} 
[2026-04-22 18:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54de410012d7d3c4005c7de08000a009e24..."} 
[2026-04-22 18:39:16] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54de410012d7d3c4005c7de08000a009e24..."} 
[2026-04-22 18:39:16] local.INFO: Packet analysis {"connection_id":50895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:39:16] local.INFO: Extracted packet for processing {"connection_id":50895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:39:16] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":96984584,"longitude_deg":76.3182144,"latitude_deg":9.6984584,"altitude":10,"angle":158,"satellites":36,"speed":30,"hex_longitude":"2d7d3c40","hex_latitude":"05c7de08","is_valid_coordinates":true} 
[2026-04-22 18:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876995584001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 18:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74917445256609792,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132290918459392,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:16] 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-22 18:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776863274000,"timestamp_ms":1776863274000,"timestamp_seconds":1776863274,"priority":1,"record_length":96,"hex_timestamp":"0000019db54de410"} 
[2026-04-22 18:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:39: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-22 18:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 18:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876995584001,"66":12743,"200":0,"85":12288,"24":30,"16":74917445256609792,"45":9021132290918459392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 18:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876995584001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74917445256609792,"km_value":74917445256609.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132290918459392,"description":"Unknown IO ID 45"} 
[2026-04-22 18:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876995584001,"power":12743,"gsm_signal":0,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9021132290918459392}} 
[2026-04-22 18:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":50895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:39:16] local.INFO: GPS data processed {"connection_id":50895,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:39:16] local.INFO: Acknowledgment sent {"connection_id":50895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:39:25] local.INFO: TCP Data received {"connection_id":51461,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:39:25] local.INFO: Processing buffer {"connection_id":51461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:39:25] local.INFO: IMEI packet received {"connection_id":51461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":51461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:39:27] local.INFO: TCP Data received {"connection_id":50896,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:39:27] local.INFO: Processing buffer {"connection_id":50896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:39:27] local.INFO: IMEI packet received {"connection_id":50896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:39:30] local.INFO: TCP Data received {"connection_id":51461,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:39:30] local.INFO: Processing buffer {"connection_id":51461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:39:30] local.INFO: IMEI packet received {"connection_id":51461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":51461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:39:31] local.INFO: TCP Data received {"connection_id":51461,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:39:31] local.INFO: Processing buffer {"connection_id":51461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54a88b0012d7fa74005afda30000d013a2c..."} 
[2026-04-22 18:39:31] local.INFO: Packet analysis {"connection_id":51461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:39:31] local.INFO: Extracted packet for processing {"connection_id":51461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54a"} 
[2026-04-22 18:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 18:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876864768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:31] 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-22 18:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863054000,"timestamp_ms":1776863054000,"timestamp_seconds":1776863054,"priority":1,"record_length":96,"hex_timestamp":"0000019db54a88b0"} 
[2026-04-22 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-22 18:39: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-22 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 18:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 18:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:39: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-22 18:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876864768001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876864768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:39:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876864768001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":51461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:39:31] local.INFO: GPS data processed {"connection_id":51461,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:39:31] local.INFO: Acknowledgment sent {"connection_id":51461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:39:32] local.INFO: TCP Data received {"connection_id":50896,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:39:32] local.INFO: Processing buffer {"connection_id":50896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:39:32] local.INFO: IMEI packet received {"connection_id":50896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":50896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:39:33] local.INFO: TCP Data received {"connection_id":50896,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54dc0e8012d183a40072192f00049012324..."} 
[2026-04-22 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54dc0e8012d183a40072192f00049012324..."} 
[2026-04-22 18:39:33] local.INFO: Processing buffer {"connection_id":50896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54dc0e8012d183a40072192f00049012324..."} 
[2026-04-22 18:39:33] local.INFO: Packet analysis {"connection_id":50896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:39:33] local.INFO: Extracted packet for processing {"connection_id":50896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54d"} 
[2026-04-22 18:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756562496,"raw_latitude":119640816,"longitude_deg":75.6562496,"latitude_deg":11.9640816,"altitude":73,"angle":291,"satellites":36,"speed":29,"hex_longitude":"2d183a40","hex_latitude":"072192f0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876993280001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114014674286018560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141673822208,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863265000,"timestamp_ms":1776863265000,"timestamp_seconds":1776863265,"priority":1,"record_length":96,"hex_timestamp":"0000019db54dc0e8"} 
[2026-04-22 18: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-22 18:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 18:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:39:33] 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-22 18:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876993280001,"66":13961,"105":206,"83":41984,"24":29,"16":114014674286018560,"45":1754926141673822208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 18:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876993280001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:39:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 18:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114014674286018560,"km_value":114014674286018.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141673822208,"description":"Unknown IO ID 45"} 
[2026-04-22 18:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876993280001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1754926141673822208}} 
[2026-04-22 18:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":50896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:39:33] local.INFO: GPS data processed {"connection_id":50896,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:39:33] local.INFO: Acknowledgment sent {"connection_id":50896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:39:47] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54e2290012d7d4bc005c7bea00008009625..."} 
[2026-04-22 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54e2290012d7d4bc005c7bea00008009625..."} 
[2026-04-22 18:39:47] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54e2290012d7d4bc005c7bea00008009625..."} 
[2026-04-22 18:39:47] local.INFO: Packet analysis {"connection_id":50895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54e"} 
[2026-04-22 18:39:47] local.INFO: Extracted packet for processing {"connection_id":50895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54e"} 
[2026-04-22 18:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":96976544,"longitude_deg":76.3186112,"latitude_deg":9.6976544,"altitude":8,"angle":150,"satellites":37,"speed":19,"hex_longitude":"2d7d4bc0","hex_latitude":"05c7bea0","is_valid_coordinates":true} 
[2026-04-22 18:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876998144001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 18:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74917879048306688,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158146915862528,"note":"Value kept but may cause issues"} 
[2026-04-22 18:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 18:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776863290000,"timestamp_ms":1776863290000,"timestamp_seconds":1776863290,"priority":1,"record_length":96,"hex_timestamp":"0000019db54e2290"} 
[2026-04-22 18:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-22 18:39: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-22 18:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876998144001,"66":13526,"200":0,"85":12288,"24":19,"16":74917879048306688,"45":9024158146915862528},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 18:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876998144001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74917879048306688,"km_value":74917879048306.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158146915862528,"description":"Unknown IO ID 45"} 
[2026-04-22 18:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876998144001,"power":13526,"gsm_signal":0,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9024158146915862528}} 
[2026-04-22 18:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":50895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:39:47] local.INFO: GPS data processed {"connection_id":50895,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:39:47] local.INFO: Acknowledgment sent {"connection_id":50895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:40:03] local.INFO: TCP Data received {"connection_id":51461,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:40:03] local.INFO: Processing buffer {"connection_id":51461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:40:03] local.INFO: Packet analysis {"connection_id":51461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:03] local.INFO: Extracted packet for processing {"connection_id":51461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40: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-22 18:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18: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-22 18:40: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-22 18:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:40:03] 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-22 18:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":51461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:40:03] local.INFO: GPS data processed {"connection_id":51461,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:40:03] local.INFO: Acknowledgment sent {"connection_id":51461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:40:04] local.INFO: TCP Data received {"connection_id":50896,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54ece70012d1830800721c9580049002023..."} 
[2026-04-22 18:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54ece70012d1830800721c9580049002023..."} 
[2026-04-22 18:40:04] local.INFO: Processing buffer {"connection_id":50896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54ece70012d1830800721c9580049002023..."} 
[2026-04-22 18:40:04] local.INFO: Packet analysis {"connection_id":50896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54e"} 
[2026-04-22 18:40:04] local.INFO: Extracted packet for processing {"connection_id":50896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54e"} 
[2026-04-22 18:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119654744,"longitude_deg":75.656,"latitude_deg":11.9654744,"altitude":73,"angle":32,"satellites":35,"speed":32,"hex_longitude":"2d183080","hex_latitude":"0721c958","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877010176001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114015614883856384,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097069056,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776863334000,"timestamp_ms":1776863334000,"timestamp_seconds":1776863334,"priority":1,"record_length":96,"hex_timestamp":"0000019db54ece70"} 
[2026-04-22 18: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-22 18:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 18:40:04] 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-22 18: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-22 18: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-22 18:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:40:04] 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-22 18:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877010176001,"66":14396,"105":206,"83":41984,"24":32,"16":114015614883856384,"45":1737756168097069056},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 18:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877010176001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:40:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 18:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114015614883856384,"km_value":114015614883856.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097069056,"description":"Unknown IO ID 45"} 
[2026-04-22 18:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877010176001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1737756168097069056}} 
[2026-04-22 18:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":50896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:40:04] local.INFO: GPS data processed {"connection_id":50896,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:40:04] local.INFO: Acknowledgment sent {"connection_id":50896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:40:10] local.INFO: TCP Data received {"connection_id":51462,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:40:10] local.INFO: Processing buffer {"connection_id":51462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:40:10] local.INFO: IMEI packet received {"connection_id":51462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":51462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:40:12] local.INFO: TCP Data received {"connection_id":51462,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:40:12] local.INFO: Processing buffer {"connection_id":51462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:40:12] local.INFO: IMEI packet received {"connection_id":51462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":51462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:40:13] local.INFO: TCP Data received {"connection_id":51462,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54fb4e8012d7e548005c6e028000b007d26..."} 
[2026-04-22 18:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54fb4e8012d7e548005c6e028000b007d26..."} 
[2026-04-22 18:40:13] local.INFO: Processing buffer {"connection_id":51462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54fb4e8012d7e548005c6e028000b007d26..."} 
[2026-04-22 18:40:13] local.INFO: Packet analysis {"connection_id":51462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:13] local.INFO: Extracted packet for processing {"connection_id":51462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763253888,"raw_latitude":96919592,"longitude_deg":76.3253888,"latitude_deg":9.6919592,"altitude":11,"angle":125,"satellites":38,"speed":42,"hex_longitude":"2d7e5480","hex_latitude":"05c6e028","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877026560001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 18:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74922169720635392,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153589929984,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 18:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776863393000,"timestamp_ms":1776863393000,"timestamp_seconds":1776863393,"priority":1,"record_length":96,"hex_timestamp":"0000019db54fb4e8"} 
[2026-04-22 18: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-22 18:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-22 18:40: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-22 18: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-22 18: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-22 18:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":51462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":51462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":51462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877026560001,"66":13559,"200":0,"85":12288,"24":42,"16":74922169720635392,"45":9094386153589929984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 18:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877026560001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74922169720635392,"km_value":74922169720635.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153589929984,"description":"Unknown IO ID 45"} 
[2026-04-22 18:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877026560001,"power":13559,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9094386153589929984}} 
[2026-04-22 18:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":51462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:40:13] local.INFO: GPS data processed {"connection_id":51462,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:40:13] local.INFO: Acknowledgment sent {"connection_id":51462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:40:15] local.INFO: TCP Data received {"connection_id":51462,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54fd810012d7e73c005c6ca20000b007c25..."} 
[2026-04-22 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54fd810012d7e73c005c6ca20000b007c25..."} 
[2026-04-22 18:40:15] local.INFO: Processing buffer {"connection_id":51462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54fd810012d7e73c005c6ca20000b007c25..."} 
[2026-04-22 18:40:15] local.INFO: Packet analysis {"connection_id":51462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:15] local.INFO: Extracted packet for processing {"connection_id":51462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763261888,"raw_latitude":96913952,"longitude_deg":76.3261888,"latitude_deg":9.6913952,"altitude":11,"angle":124,"satellites":37,"speed":43,"hex_longitude":"2d7e73c0","hex_latitude":"05c6ca20","is_valid_coordinates":true} 
[2026-04-22 18:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877028608001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 18:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74922637872070656,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103041509122385920,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 18:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776863402000,"timestamp_ms":1776863402000,"timestamp_seconds":1776863402,"priority":1,"record_length":96,"hex_timestamp":"0000019db54fd810"} 
[2026-04-22 18:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:40: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-22 18:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 18:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":51462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":51462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":51462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877028608001,"66":13906,"200":0,"85":12288,"24":43,"16":74922637872070656,"45":9103041509122385920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 18:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877028608001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74922637872070656,"km_value":74922637872070.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103041509122385920,"description":"Unknown IO ID 45"} 
[2026-04-22 18:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877028608001,"power":13906,"gsm_signal":0,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9103041509122385920}} 
[2026-04-22 18:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":51462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:40:15] local.INFO: GPS data processed {"connection_id":51462,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:40:15] local.INFO: Acknowledgment sent {"connection_id":51462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:40:25] local.INFO: TCP Data received {"connection_id":50897,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:40:25] local.INFO: Processing buffer {"connection_id":50897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:40:25] local.INFO: IMEI packet received {"connection_id":50897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":50897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:40:30] local.INFO: TCP Data received {"connection_id":50897,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:40:30] local.INFO: Processing buffer {"connection_id":50897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:40:30] local.INFO: IMEI packet received {"connection_id":50897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":50897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:40:31] local.INFO: TCP Data received {"connection_id":50897,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:40:31] local.INFO: Processing buffer {"connection_id":50897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:40:31] local.INFO: Packet analysis {"connection_id":50897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:31] local.INFO: Extracted packet for processing {"connection_id":50897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:31] 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-22 18:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18: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-22 18:40: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-22 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:40: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-22 18: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-22 18: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-22 18:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:40: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-22 18:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":50897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:40:31] local.INFO: GPS data processed {"connection_id":50897,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:40:31] local.INFO: Acknowledgment sent {"connection_id":50897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:40:37] local.INFO: TCP Data received {"connection_id":50772,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:40:37] local.INFO: Processing buffer {"connection_id":50772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:40:37] local.INFO: IMEI packet received {"connection_id":50772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":50772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:40:42] local.INFO: TCP Data received {"connection_id":50772,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:40:42] local.INFO: Processing buffer {"connection_id":50772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:40:42] local.INFO: IMEI packet received {"connection_id":50772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":50772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:40:44] local.INFO: TCP Data received {"connection_id":50772,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db54ef968012d1844000721e640004f002224..."} 
[2026-04-22 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54ef968012d1844000721e640004f002224..."} 
[2026-04-22 18:40:44] local.INFO: Processing buffer {"connection_id":50772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54ef968012d1844000721e640004f002224..."} 
[2026-04-22 18:40:44] local.INFO: Packet analysis {"connection_id":50772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54e"} 
[2026-04-22 18:40:44] local.INFO: Extracted packet for processing {"connection_id":50772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54e"} 
[2026-04-22 18:40:44] local.INFO: GPS Element Parsed {"raw_longitude":756564992,"raw_latitude":119662144,"longitude_deg":75.6564992,"latitude_deg":11.9662144,"altitude":79,"angle":34,"satellites":36,"speed":32,"hex_longitude":"2d184400","hex_latitude":"0721e640","is_valid_coordinates":true} 
[2026-04-22 18:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877013504001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114016048675553280,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743033823912351744,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40: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-22 18:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776863345000,"timestamp_ms":1776863345000,"timestamp_seconds":1776863345,"priority":1,"record_length":96,"hex_timestamp":"0000019db54ef968"} 
[2026-04-22 18:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-22 18:40:44] 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-22 18:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:40:44] 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-22 18:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877013504001,"66":14070,"105":206,"83":41984,"24":32,"16":114016048675553280,"45":1743033823912351744},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 18:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877013504001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:40:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 18:40:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 18:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114016048675553280,"km_value":114016048675553.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743033823912351744,"description":"Unknown IO ID 45"} 
[2026-04-22 18:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877013504001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1743033823912351744}} 
[2026-04-22 18:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":50772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:40:44] local.INFO: GPS data processed {"connection_id":50772,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:40:44] local.INFO: Acknowledgment sent {"connection_id":50772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:40:46] local.INFO: TCP Data received {"connection_id":51462,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db54ff750012d7e918005c6b4d8000b007e25..."} 
[2026-04-22 18:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54ff750012d7e918005c6b4d8000b007e25..."} 
[2026-04-22 18:40:46] local.INFO: Processing buffer {"connection_id":51462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54ff750012d7e918005c6b4d8000b007e25..."} 
[2026-04-22 18:40:46] local.INFO: Packet analysis {"connection_id":51462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:46] local.INFO: Extracted packet for processing {"connection_id":51462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:40:46] local.INFO: GPS Element Parsed {"raw_longitude":763269504,"raw_latitude":96908504,"longitude_deg":76.3269504,"latitude_deg":9.6908504,"altitude":11,"angle":126,"satellites":37,"speed":50,"hex_longitude":"2d7e9180","hex_latitude":"05c6b4d8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877030912001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 18:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74923088843636736,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111837602143150080,"note":"Value kept but may cause issues"} 
[2026-04-22 18:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 18:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776863410000,"timestamp_ms":1776863410000,"timestamp_seconds":1776863410,"priority":1,"record_length":96,"hex_timestamp":"0000019db54ff750"} 
[2026-04-22 18: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-22 18:40: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-22 18:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-22 18:40: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-22 18: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-22 18: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-22 18:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":51462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":51462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":51462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877030912001,"66":13656,"200":0,"85":12288,"24":50,"16":74923088843636736,"45":9111837602143150080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 18:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877030912001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:40:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74923088843636736,"km_value":74923088843636.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111837602143150080,"description":"Unknown IO ID 45"} 
[2026-04-22 18:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877030912001,"power":13656,"gsm_signal":0,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9111837602143150080}} 
[2026-04-22 18:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":51462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:40:47] local.INFO: GPS data processed {"connection_id":51462,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:40:47] local.INFO: Acknowledgment sent {"connection_id":51462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:41:02] local.INFO: TCP Data received {"connection_id":50897,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:41:02] local.INFO: Processing buffer {"connection_id":50897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:41:02] local.INFO: Packet analysis {"connection_id":50897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:41:02] local.INFO: Extracted packet for processing {"connection_id":50897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:02] 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-22 18:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:41: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-22 18:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":50897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:41:02] local.INFO: GPS data processed {"connection_id":50897,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:41:02] local.INFO: Acknowledgment sent {"connection_id":50897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:41:10] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:41:10] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:41:10] local.INFO: IMEI packet received {"connection_id":50773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":50773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:41:15] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:41:15] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:41:15] local.INFO: IMEI packet received {"connection_id":50773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":50773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:41:17] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55012a8012d7eb04005c6a050000c007926..."} 
[2026-04-22 18:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55012a8012d7eb04005c6a050000c007926..."} 
[2026-04-22 18:41:17] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55012a8012d7eb04005c6a050000c007926..."} 
[2026-04-22 18:41:17] local.INFO: Packet analysis {"connection_id":50773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:41:17] local.INFO: Extracted packet for processing {"connection_id":50773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:41:17] local.INFO: GPS Element Parsed {"raw_longitude":763277376,"raw_latitude":96903248,"longitude_deg":76.3277376,"latitude_deg":9.6903248,"altitude":12,"angle":121,"satellites":38,"speed":55,"hex_longitude":"2d7eb040","hex_latitude":"05c6a050","is_valid_coordinates":true} 
[2026-04-22 18:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877032960001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 18:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74923544110170112,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120211482698897408,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 18:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776863417000,"timestamp_ms":1776863417000,"timestamp_seconds":1776863417,"priority":1,"record_length":96,"hex_timestamp":"0000019db55012a8"} 
[2026-04-22 18:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:41: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-22 18:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":50773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":50773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":50773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877032960001,"66":13830,"200":0,"85":12288,"24":55,"16":74923544110170112,"45":9120211482698897408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 18:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877032960001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:41:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74923544110170112,"km_value":74923544110170.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120211482698897408,"description":"Unknown IO ID 45"} 
[2026-04-22 18:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877032960001,"power":13830,"gsm_signal":0,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9120211482698897408}} 
[2026-04-22 18:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":50773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:41:17] local.INFO: GPS data processed {"connection_id":50773,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:41:17] local.INFO: Acknowledgment sent {"connection_id":50773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:41:25] local.INFO: TCP Data received {"connection_id":51463,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:41:25] local.INFO: Processing buffer {"connection_id":51463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:41:25] local.INFO: IMEI packet received {"connection_id":51463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":51463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:41:27] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:27] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:27] local.INFO: IMEI packet received {"connection_id":50898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":50898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:41:29] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:29] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:29] local.INFO: IMEI packet received {"connection_id":50898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":50898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:41:30] local.INFO: TCP Data received {"connection_id":51463,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:41:30] local.INFO: Processing buffer {"connection_id":51463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:41:30] local.INFO: IMEI packet received {"connection_id":51463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":51463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:41:31] local.INFO: TCP Data received {"connection_id":51463,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:41:31] local.INFO: Processing buffer {"connection_id":51463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:41:31] local.INFO: Packet analysis {"connection_id":51463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:41:31] local.INFO: Extracted packet for processing {"connection_id":51463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:31] 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-22 18:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18: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-22 18:41: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-22 18:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:41: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-22 18: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-22 18: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-22 18:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:41: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-22 18:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":51463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:41:31] local.INFO: GPS data processed {"connection_id":51463,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:41:31] local.INFO: Acknowledgment sent {"connection_id":51463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:41:31] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:31] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:31] local.INFO: IMEI packet received {"connection_id":50898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":50898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:41:32] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:32] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:41:32] local.INFO: IMEI packet received {"connection_id":50898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:41:33] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db55031e8012d18a5c00722d0e8006a001f25..."} 
[2026-04-22 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55031e8012d18a5c00722d0e8006a001f25..."} 
[2026-04-22 18:41:33] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55031e8012d18a5c00722d0e8006a001f25..."} 
[2026-04-22 18:41:33] local.INFO: Packet analysis {"connection_id":50898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:41:33] local.INFO: Extracted packet for processing {"connection_id":50898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756590016,"raw_latitude":119722216,"longitude_deg":75.6590016,"latitude_deg":11.9722216,"altitude":106,"angle":31,"satellites":37,"speed":38,"hex_longitude":"2d18a5c0","hex_latitude":"0722d0e8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877036288001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114019321440632832,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192340018374656,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863425000,"timestamp_ms":1776863425000,"timestamp_seconds":1776863425,"priority":1,"record_length":96,"hex_timestamp":"0000019db55031e8"} 
[2026-04-22 18: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-22 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-22 18:41:33] 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-22 18: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-22 18: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-22 18:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:41:33] 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-22 18:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877036288001,"66":12558,"137":206,"83":42752,"24":38,"16":114019321440632832,"45":1775192340018374656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 18:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877036288001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:41:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 18:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114019321440632832,"km_value":114019321440632.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192340018374656,"description":"Unknown IO ID 45"} 
[2026-04-22 18:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877036288001,"power":12558,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1775192340018374656}} 
[2026-04-22 18:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":50898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:41:34] local.INFO: GPS data processed {"connection_id":50898,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:41:34] local.INFO: Acknowledgment sent {"connection_id":50898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:41:34] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5504958012d18b1800722e5300068001425..."} 
[2026-04-22 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5504958012d18b1800722e5300068001425..."} 
[2026-04-22 18:41:34] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5504958012d18b1800722e5300068001425..."} 
[2026-04-22 18:41:34] local.INFO: Packet analysis {"connection_id":50898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:41:34] local.INFO: Extracted packet for processing {"connection_id":50898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119727408,"longitude_deg":75.6593024,"latitude_deg":11.9727408,"altitude":104,"angle":20,"satellites":37,"speed":40,"hex_longitude":"2d18b180","hex_latitude":"0722e530","is_valid_coordinates":true} 
[2026-04-22 18:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877036800001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114019613498408960,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764948948992,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] 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-22 18:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776863431000,"timestamp_ms":1776863431000,"timestamp_seconds":1776863431,"priority":1,"record_length":96,"hex_timestamp":"0000019db5504958"} 
[2026-04-22 18:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3041902752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":10240,"corrected_to":0} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2580545646,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249511508255858152,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":27,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409878530,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,137,83,24,241,157,16,19,42,45,192,202,107,36,10,66,34,128,194,108,26,1,240,101,227,181,4,113,205,35,223,167,239,50,2,149,7,27,106,88,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":202,"original":10240,"validated":0},{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-04-22 18:41:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7638139211797102592,"timestamp_seconds":7638139211797103.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877036800001,"66":12341,"177":206,"83":42752,"24":40,"16":114019613498408960,"45":1776036764948948992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 18:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877036800001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:41:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 18:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114019613498408960,"km_value":114019613498408.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764948948992,"description":"Unknown IO ID 45"} 
[2026-04-22 18:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877036800001,"power":12341,"unknown_177":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1776036764948948992}} 
[2026-04-22 18:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":50898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:41:34] local.INFO: GPS data processed {"connection_id":50898,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:41:34] local.INFO: Acknowledgment sent {"connection_id":50898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:41:48] local.INFO: TCP Data received {"connection_id":50773,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5502e00012d7ed1c005c68ab8000b007d25..."} 
[2026-04-22 18:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5502e00012d7ed1c005c68ab8000b007d25..."} 
[2026-04-22 18:41:48] local.INFO: Processing buffer {"connection_id":50773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5502e00012d7ed1c005c68ab8000b007d25..."} 
[2026-04-22 18:41:48] local.INFO: Packet analysis {"connection_id":50773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:41:48] local.INFO: Extracted packet for processing {"connection_id":50773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:41:48] local.INFO: GPS Element Parsed {"raw_longitude":763285952,"raw_latitude":96897720,"longitude_deg":76.3285952,"latitude_deg":9.689772,"altitude":11,"angle":125,"satellites":37,"speed":60,"hex_longitude":"2d7ed1c0","hex_latitude":"05c68ab8","is_valid_coordinates":true} 
[2026-04-22 18:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877034752001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74924033736441856,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128866838231404544,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776863424000,"timestamp_ms":1776863424000,"timestamp_seconds":1776863424,"priority":1,"record_length":96,"hex_timestamp":"0000019db5502e00"} 
[2026-04-22 18:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:41: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-22 18:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 18:41:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":14918182371393536,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630448241664,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477832,"corrected_to":0} 
[2026-04-22 18:41:48] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8192,"corrected_to":0} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":198,"raw_value":4118282251,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2147862283,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3340965888,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":-5187815277257030201,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-6917518030391672787,"note":"Value kept but may cause issues"} 
[2026-04-22 18:41:48] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,200,85,24,241,157,16,46,247,45,128,180,11,37,10,66,216,192,202,1,240,227,181,198,4,113,205,48,122,22,88,34,239,53,2,5,63,58],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":200,"original":13522224,"validated":0},{"io_id":247,"original":13477832,"validated":0},{"io_id":202,"original":8192,"validated":0},{"io_id":205,"original":2814902478,"validated":0}]} 
[2026-04-22 18:41:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864824332574457856,"timestamp_seconds":864824332574457.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877034752001,"66":13678,"89":206,"85":12288,"24":60,"16":74924033736441856,"45":9128866838231404544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-04-22 18:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877034752001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:41:48] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-22 18:41:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74924033736441856,"km_value":74924033736441.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128866838231404544,"description":"Unknown IO ID 45"} 
[2026-04-22 18:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877034752001,"power":13678,"unknown_89":206,"unknown_85":12288,"ignition":60,"odometer":null,"unknown_45":9128866838231404544}} 
[2026-04-22 18:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":50773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:41:48] local.INFO: GPS data processed {"connection_id":50773,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:41:48] local.INFO: Acknowledgment sent {"connection_id":50773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:42:02] local.INFO: TCP Data received {"connection_id":51463,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:42:02] local.INFO: Processing buffer {"connection_id":51463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:42:02] local.INFO: Packet analysis {"connection_id":51463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:42:02] local.INFO: Extracted packet for processing {"connection_id":51463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:02] 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-22 18:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18: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-22 18:42: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-22 18:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:42: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-22 18: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-22 18: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-22 18:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:42:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":51463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:42:02] local.INFO: GPS data processed {"connection_id":51463,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:42:02] local.INFO: Acknowledgment sent {"connection_id":51463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:42:06] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db550d5f8012d191cc0072322600055002e1f..."} 
[2026-04-22 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db550d5f8012d191cc0072322600055002e1f..."} 
[2026-04-22 18:42:06] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db550d5f8012d191cc0072322600055002e1f..."} 
[2026-04-22 18:42:06] local.INFO: Packet analysis {"connection_id":50898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:42:06] local.INFO: Extracted packet for processing {"connection_id":50898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756620480,"raw_latitude":119743072,"longitude_deg":75.662048,"latitude_deg":11.9743072,"altitude":85,"angle":46,"satellites":31,"speed":46,"hex_longitude":"2d191cc0","hex_latitude":"07232260","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877045504001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114021434564542464,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802987993972543488,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:06] 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-22 18:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776863467000,"timestamp_ms":1776863467000,"timestamp_seconds":1776863467,"priority":1,"record_length":96,"hex_timestamp":"0000019db550d5f8"} 
[2026-04-22 18: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-22 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-04-22 18:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:42:06] 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-22 18:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877045504001,"66":12254,"186":206,"83":42752,"24":46,"16":114021434564542464,"45":1802987993972543488},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-04-22 18:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877045504001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:42:06] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-22 18:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114021434564542464,"km_value":114021434564542.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802987993972543488,"description":"Unknown IO ID 45"} 
[2026-04-22 18:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877045504001,"power":12254,"unknown_186":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1802987993972543488}} 
[2026-04-22 18:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":50898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:42:06] local.INFO: GPS data processed {"connection_id":50898,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:42:06] local.INFO: Acknowledgment sent {"connection_id":50898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:42:10] local.INFO: TCP Data received {"connection_id":51465,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:42:10] local.INFO: Processing buffer {"connection_id":51465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:42:10] local.INFO: IMEI packet received {"connection_id":51465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":51465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:42:14] local.INFO: TCP Data received {"connection_id":51465,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:42:14] local.INFO: Processing buffer {"connection_id":51465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:42:14] local.INFO: IMEI packet received {"connection_id":51465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":51465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:42:14] local.INFO: TCP Data received {"connection_id":51465,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5504958012d7eed8005c674480009008226..."} 
[2026-04-22 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5504958012d7eed8005c674480009008226..."} 
[2026-04-22 18:42:14] local.INFO: Processing buffer {"connection_id":51465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5504958012d7eed8005c674480009008226..."} 
[2026-04-22 18:42:14] local.INFO: Packet analysis {"connection_id":51465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:42:14] local.INFO: Extracted packet for processing {"connection_id":51465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763293056,"raw_latitude":96891976,"longitude_deg":76.3293056,"latitude_deg":9.6891976,"altitude":9,"angle":130,"satellites":38,"speed":40,"hex_longitude":"2d7eed80","hex_latitude":"05c67448","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877036544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74924471823106048,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138296249949796352,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776863431000,"timestamp_ms":1776863431000,"timestamp_seconds":1776863431,"priority":1,"record_length":96,"hex_timestamp":"0000019db5504958"} 
[2026-04-22 18: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-22 18:42: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-22 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 18:42:14] 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-22 18: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-22 18: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-22 18:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":51465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":51465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":51465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877036544001,"66":13646,"89":206,"85":12288,"24":40,"16":74924471823106048,"45":9138296249949796352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-04-22 18:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877036544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:42:14] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-22 18:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74924471823106048,"km_value":74924471823106.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138296249949796352,"description":"Unknown IO ID 45"} 
[2026-04-22 18:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877036544001,"power":13646,"unknown_89":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9138296249949796352}} 
[2026-04-22 18:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":51465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:42:15] local.INFO: GPS data processed {"connection_id":51465,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:42:15] local.INFO: Acknowledgment sent {"connection_id":51465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:42:27] local.INFO: TCP Data received {"connection_id":51466,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:42:27] local.INFO: Processing buffer {"connection_id":51466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:42:27] local.INFO: IMEI packet received {"connection_id":51466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":51466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:42:30] local.INFO: TCP Data received {"connection_id":50774,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:42:30] local.INFO: Processing buffer {"connection_id":50774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:42:30] local.INFO: IMEI packet received {"connection_id":50774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":50774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:42:31] local.INFO: TCP Data received {"connection_id":51466,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:42:31] local.INFO: Processing buffer {"connection_id":51466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:42:31] local.INFO: IMEI packet received {"connection_id":51466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":51466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:42:32] local.INFO: TCP Data received {"connection_id":51466,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:42:32] local.INFO: Processing buffer {"connection_id":51466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:42:32] local.INFO: IMEI packet received {"connection_id":51466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":51466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:42:32] local.INFO: TCP Data received {"connection_id":51466,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db550f538012d19374007233d30005000291f..."} 
[2026-04-22 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db550f538012d19374007233d30005000291f..."} 
[2026-04-22 18:42:32] local.INFO: Processing buffer {"connection_id":51466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db550f538012d19374007233d30005000291f..."} 
[2026-04-22 18:42:32] local.INFO: Packet analysis {"connection_id":51466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:42:32] local.INFO: Extracted packet for processing {"connection_id":51466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756627264,"raw_latitude":119749936,"longitude_deg":75.6627264,"latitude_deg":11.9749936,"altitude":80,"angle":41,"satellites":31,"speed":49,"hex_longitude":"2d193740","hex_latitude":"07233d30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877047552001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114021898421010432,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809532287182856192,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776863475000,"timestamp_ms":1776863475000,"timestamp_seconds":1776863475,"priority":1,"record_length":96,"hex_timestamp":"0000019db550f538"} 
[2026-04-22 18: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-22 18:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-04-22 18:42:32] 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-22 18: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-22 18: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-22 18:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:42:32] 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-22 18:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877047552001,"66":11993,"43":206,"83":42752,"24":49,"16":114021898421010432,"45":1809532287182856192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-22 18:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877047552001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:42:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-22 18:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114021898421010432,"km_value":114021898421010.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809532287182856192,"description":"Unknown IO ID 45"} 
[2026-04-22 18:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877047552001,"power":11993,"unknown_43":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1809532287182856192}} 
[2026-04-22 18:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":51466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:42:32] local.INFO: GPS data processed {"connection_id":51466,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:42:32] local.INFO: Acknowledgment sent {"connection_id":51466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:42:35] local.INFO: TCP Data received {"connection_id":50774,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:42:35] local.INFO: Processing buffer {"connection_id":50774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:42:35] local.INFO: IMEI packet received {"connection_id":50774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":50774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:42:36] local.INFO: TCP Data received {"connection_id":50774,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:42:36] local.INFO: Processing buffer {"connection_id":50774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:42:36] local.INFO: Packet analysis {"connection_id":50774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:42:36] local.INFO: Extracted packet for processing {"connection_id":50774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42: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-22 18:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18: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-22 18:42: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-22 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:42:36] 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-22 18: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-22 18: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-22 18:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:42:36] 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-22 18:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":50774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:42:36] local.INFO: GPS data processed {"connection_id":50774,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:42:36] local.INFO: Acknowledgment sent {"connection_id":50774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:42:37] local.INFO: TCP Data received {"connection_id":51466,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5511090012d194d4007235918004c002120..."} 
[2026-04-22 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5511090012d194d4007235918004c002120..."} 
[2026-04-22 18:42:37] local.INFO: Processing buffer {"connection_id":51466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5511090012d194d4007235918004c002120..."} 
[2026-04-22 18:42:37] local.INFO: Packet analysis {"connection_id":51466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db551"} 
[2026-04-22 18:42:37] local.INFO: Extracted packet for processing {"connection_id":51466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db551"} 
[2026-04-22 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756632896,"raw_latitude":119757080,"longitude_deg":75.6632896,"latitude_deg":11.975708,"altitude":76,"angle":33,"satellites":32,"speed":52,"hex_longitude":"2d194d40","hex_latitude":"07235918","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877049600001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114022336507674624,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816991374067445760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776863482000,"timestamp_ms":1776863482000,"timestamp_seconds":1776863482,"priority":1,"record_length":96,"hex_timestamp":"0000019db5511090"} 
[2026-04-22 18: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-22 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-22 18:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:42:37] 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-22 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877049600001,"66":11961,"43":206,"83":42752,"24":52,"16":114022336507674624,"45":1816991374067445760},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-22 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877049600001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:42:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-22 18:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114022336507674624,"km_value":114022336507674.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816991374067445760,"description":"Unknown IO ID 45"} 
[2026-04-22 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877049600001,"power":11961,"unknown_43":206,"unknown_83":42752,"ignition":52,"odometer":null,"unknown_45":1816991374067445760}} 
[2026-04-22 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":51466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:42:37] local.INFO: GPS data processed {"connection_id":51466,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:42:37] local.INFO: Acknowledgment sent {"connection_id":51466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:42:41] local.INFO: TCP Data received {"connection_id":50774,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:42:41] local.INFO: Processing buffer {"connection_id":50774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:42:41] local.INFO: Packet analysis {"connection_id":50774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:42:41] local.INFO: Extracted packet for processing {"connection_id":50774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:41] 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-22 18:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:42:41] 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-22 18:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:42:41] 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-22 18:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:42:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":50774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:42:41] local.INFO: GPS data processed {"connection_id":50774,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:42:41] local.INFO: Acknowledgment sent {"connection_id":50774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:42:46] local.INFO: TCP Data received {"connection_id":51465,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5506898012d7efcc005c665300008009025..."} 
[2026-04-22 18:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5506898012d7efcc005c665300008009025..."} 
[2026-04-22 18:42:46] local.INFO: Processing buffer {"connection_id":51465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5506898012d7efcc005c665300008009025..."} 
[2026-04-22 18:42:46] local.INFO: Packet analysis {"connection_id":51465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:42:46] local.INFO: Extracted packet for processing {"connection_id":51465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:42:46] local.INFO: GPS Element Parsed {"raw_longitude":763296960,"raw_latitude":96888112,"longitude_deg":76.329696,"latitude_deg":9.6888112,"altitude":8,"angle":144,"satellites":37,"speed":20,"hex_longitude":"2d7efcc0","hex_latitude":"05c66530","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877038336001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74924738111078400,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146107180552046592,"note":"Value kept but may cause issues"} 
[2026-04-22 18:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776863439000,"timestamp_ms":1776863439000,"timestamp_seconds":1776863439,"priority":1,"record_length":96,"hex_timestamp":"0000019db5506898"} 
[2026-04-22 18: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-22 18:42: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-22 18: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 18:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":51465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":51465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":51465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877038336001,"66":13656,"89":206,"85":12288,"24":20,"16":74924738111078400,"45":9146107180552046592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-04-22 18:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877038336001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:42:46] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-22 18:42:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74924738111078400,"km_value":74924738111078.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146107180552046592,"description":"Unknown IO ID 45"} 
[2026-04-22 18:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877038336001,"power":13656,"unknown_89":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9146107180552046592}} 
[2026-04-22 18:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":51465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:42:46] local.INFO: GPS data processed {"connection_id":51465,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:42:46] local.INFO: Acknowledgment sent {"connection_id":51465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:43:08] local.INFO: TCP Data received {"connection_id":51466,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5512be8012d195f80072379800047001c1f..."} 
[2026-04-22 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5512be8012d195f80072379800047001c1f..."} 
[2026-04-22 18:43:08] local.INFO: Processing buffer {"connection_id":51466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5512be8012d195f80072379800047001c1f..."} 
[2026-04-22 18:43:08] local.INFO: Packet analysis {"connection_id":51466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db551"} 
[2026-04-22 18:43:08] local.INFO: Extracted packet for processing {"connection_id":51466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db551"} 
[2026-04-22 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756637568,"raw_latitude":119765376,"longitude_deg":75.6637568,"latitude_deg":11.9765376,"altitude":71,"angle":28,"satellites":31,"speed":54,"hex_longitude":"2d195f80","hex_latitude":"07237980","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877051392001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114022796069175296,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823183823556909056,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:08] 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-22 18:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776863489000,"timestamp_ms":1776863489000,"timestamp_seconds":1776863489,"priority":1,"record_length":96,"hex_timestamp":"0000019db5512be8"} 
[2026-04-22 18: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-22 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 18:43:08] 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-22 18: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-22 18: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-22 18:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:43:08] 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-22 18:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877051392001,"66":12048,"42":206,"83":42752,"24":54,"16":114022796069175296,"45":1823183823556909056},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-22 18:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877051392001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:43:08] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-22 18:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114022796069175296,"km_value":114022796069175.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823183823556909056,"description":"Unknown IO ID 45"} 
[2026-04-22 18:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877051392001,"power":12048,"unknown_42":206,"unknown_83":42752,"ignition":54,"odometer":null,"unknown_45":1823183823556909056}} 
[2026-04-22 18:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":51466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:43:08] local.INFO: GPS data processed {"connection_id":51466,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:43:08] local.INFO: Acknowledgment sent {"connection_id":51466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:43:10] local.INFO: TCP Data received {"connection_id":50507,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:43:10] local.INFO: Processing buffer {"connection_id":50507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:43:10] local.INFO: IMEI packet received {"connection_id":50507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":50507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:43:12] local.INFO: TCP Data received {"connection_id":50507,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:43:12] local.INFO: Processing buffer {"connection_id":50507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:43:12] local.INFO: IMEI packet received {"connection_id":50507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":50507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:43:17] local.INFO: TCP Data received {"connection_id":50507,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:43:17] local.INFO: Processing buffer {"connection_id":50507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:43:17] local.INFO: IMEI packet received {"connection_id":50507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":50507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:43:18] local.INFO: TCP Data received {"connection_id":50507,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db550a718012d7f120005c646980009008f25..."} 
[2026-04-22 18:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db550a718012d7f120005c646980009008f25..."} 
[2026-04-22 18:43:18] local.INFO: Processing buffer {"connection_id":50507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db550a718012d7f120005c646980009008f25..."} 
[2026-04-22 18:43:18] local.INFO: Packet analysis {"connection_id":50507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:43:18] local.INFO: Extracted packet for processing {"connection_id":50507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763302400,"raw_latitude":96880280,"longitude_deg":76.33024,"latitude_deg":9.688028,"altitude":9,"angle":143,"satellites":37,"speed":28,"hex_longitude":"2d7f1200","hex_latitude":"05c64698","is_valid_coordinates":true} 
[2026-04-22 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877040384001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74925197672579072,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150399673945894912,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776863455000,"timestamp_ms":1776863455000,"timestamp_seconds":1776863455,"priority":1,"record_length":96,"hex_timestamp":"0000019db550a718"} 
[2026-04-22 18:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 18:43: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-22 18:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":50507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":50507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":50507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877040384001,"66":13472,"95":206,"85":12288,"24":28,"16":74925197672579072,"45":9150399673945894912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-22 18:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877040384001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:43:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-22 18:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74925197672579072,"km_value":74925197672579.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150399673945894912,"description":"Unknown IO ID 45"} 
[2026-04-22 18:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877040384001,"power":13472,"unknown_95":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9150399673945894912}} 
[2026-04-22 18:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":50507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:43:18] local.INFO: GPS data processed {"connection_id":50507,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:43:18] local.INFO: Acknowledgment sent {"connection_id":50507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:43:25] local.INFO: TCP Data received {"connection_id":50508,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:43:25] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:43:25] local.INFO: IMEI packet received {"connection_id":50508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":50508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:43:30] local.INFO: TCP Data received {"connection_id":50508,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:43:30] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:43:30] local.INFO: IMEI packet received {"connection_id":50508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":50508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:43:32] local.INFO: TCP Data received {"connection_id":50508,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:43:32] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:43:32] local.INFO: Packet analysis {"connection_id":50508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:43:32] local.INFO: Extracted packet for processing {"connection_id":50508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:32] 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-22 18:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18: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-22 18:43: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-22 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:43: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-22 18: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-22 18: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-22 18:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:43:32] 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-22 18:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:43:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":50508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:43:32] local.INFO: GPS data processed {"connection_id":50508,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:43:32] local.INFO: Acknowledgment sent {"connection_id":50508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:43:32] local.INFO: TCP Data received {"connection_id":51468,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:43:32] local.INFO: Processing buffer {"connection_id":51468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:43:32] local.INFO: IMEI packet received {"connection_id":51468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":51468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:43:36] local.INFO: TCP Data received {"connection_id":51468,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:43:36] local.INFO: Processing buffer {"connection_id":51468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:43:36] local.INFO: IMEI packet received {"connection_id":51468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":51468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:43:37] local.INFO: TCP Data received {"connection_id":51468,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5521648012d1a4dc00723e438002e001e23..."} 
[2026-04-22 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5521648012d1a4dc00723e438002e001e23..."} 
[2026-04-22 18:43:37] local.INFO: Processing buffer {"connection_id":51468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5521648012d1a4dc00723e438002e001e23..."} 
[2026-04-22 18:43:37] local.INFO: Packet analysis {"connection_id":51468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:43:37] local.INFO: Extracted packet for processing {"connection_id":51468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756698560,"raw_latitude":119792696,"longitude_deg":75.669856,"latitude_deg":11.9792696,"altitude":46,"angle":30,"satellites":35,"speed":24,"hex_longitude":"2d1a4dc0","hex_latitude":"0723e438","is_valid_coordinates":true} 
[2026-04-22 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877065216001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114026180503404544,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890245236765376512,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776863549000,"timestamp_ms":1776863549000,"timestamp_seconds":1776863549,"priority":1,"record_length":96,"hex_timestamp":"0000019db5521648"} 
[2026-04-22 18:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-22 18:43:37] 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-22 18:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:43:37] 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-22 18:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877065216001,"66":14048,"43":206,"83":42752,"24":24,"16":114026180503404544,"45":1890245236765376512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-22 18:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877065216001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:43:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-22 18:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114026180503404544,"km_value":114026180503404.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890245236765376512,"description":"Unknown IO ID 45"} 
[2026-04-22 18:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877065216001,"power":14048,"unknown_43":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1890245236765376512}} 
[2026-04-22 18:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":51468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:43:37] local.INFO: GPS data processed {"connection_id":51468,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:43:37] local.INFO: Acknowledgment sent {"connection_id":51468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:43:38] local.INFO: TCP Data received {"connection_id":51468,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5524528012d1a60c00723fdc0002c002a24..."} 
[2026-04-22 18:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5524528012d1a60c00723fdc0002c002a24..."} 
[2026-04-22 18:43:38] local.INFO: Processing buffer {"connection_id":51468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5524528012d1a60c00723fdc0002c002a24..."} 
[2026-04-22 18:43:38] local.INFO: Packet analysis {"connection_id":51468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:43:38] local.INFO: Extracted packet for processing {"connection_id":51468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756703424,"raw_latitude":119799232,"longitude_deg":75.6703424,"latitude_deg":11.9799232,"altitude":44,"angle":42,"satellites":36,"speed":28,"hex_longitude":"2d1a60c0","hex_latitude":"0723fdc0","is_valid_coordinates":true} 
[2026-04-22 18:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877068544001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114026575640395776,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895382155092310016,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776863561000,"timestamp_ms":1776863561000,"timestamp_seconds":1776863561,"priority":1,"record_length":96,"hex_timestamp":"0000019db5524528"} 
[2026-04-22 18:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 18:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:43:38] 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-22 18:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877068544001,"66":14102,"43":206,"83":42752,"24":28,"16":114026575640395776,"45":1895382155092310016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-22 18:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877068544001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:43:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-22 18:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114026575640395776,"km_value":114026575640395.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895382155092310016,"description":"Unknown IO ID 45"} 
[2026-04-22 18:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877068544001,"power":14102,"unknown_43":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1895382155092310016}} 
[2026-04-22 18:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":51468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:43:38] local.INFO: GPS data processed {"connection_id":51468,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:43:38] local.INFO: Acknowledgment sent {"connection_id":51468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:43:49] local.INFO: TCP Data received {"connection_id":50507,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db550ca40012d7f230005c633000007007f26..."} 
[2026-04-22 18:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db550ca40012d7f230005c633000007007f26..."} 
[2026-04-22 18:43:49] local.INFO: Processing buffer {"connection_id":50507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db550ca40012d7f230005c633000007007f26..."} 
[2026-04-22 18:43:49] local.INFO: Packet analysis {"connection_id":50507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:43:49] local.INFO: Extracted packet for processing {"connection_id":50507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db550"} 
[2026-04-22 18:43:49] local.INFO: GPS Element Parsed {"raw_longitude":763306752,"raw_latitude":96875264,"longitude_deg":76.3306752,"latitude_deg":9.6875264,"altitude":7,"angle":127,"satellites":38,"speed":26,"hex_longitude":"2d7f2300","hex_latitude":"05c63300","is_valid_coordinates":true} 
[2026-04-22 18:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877044480001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74925519795126272,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156381017198991360,"note":"Value kept but may cause issues"} 
[2026-04-22 18:43:49] 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-22 18:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776863464000,"timestamp_ms":1776863464000,"timestamp_seconds":1776863464,"priority":1,"record_length":96,"hex_timestamp":"0000019db550ca40"} 
[2026-04-22 18:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 18:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":50507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":50507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":50507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877044480001,"66":13341,"95":206,"85":12288,"24":26,"16":74925519795126272,"45":9156381017198991360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-22 18:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877044480001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:43:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-22 18:43:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74925519795126272,"km_value":74925519795126.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156381017198991360,"description":"Unknown IO ID 45"} 
[2026-04-22 18:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877044480001,"power":13341,"unknown_95":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9156381017198991360}} 
[2026-04-22 18:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":50507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:43:49] local.INFO: GPS data processed {"connection_id":50507,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:43:49] local.INFO: Acknowledgment sent {"connection_id":50507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:44:03] local.INFO: TCP Data received {"connection_id":50508,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:44:03] local.INFO: Processing buffer {"connection_id":50508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:44:03] local.INFO: Packet analysis {"connection_id":50508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:44:03] local.INFO: Extracted packet for processing {"connection_id":50508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44: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-22 18:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18: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-22 18:44: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-22 18:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:44:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":50508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:44:03] local.INFO: GPS data processed {"connection_id":50508,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:44:03] local.INFO: Acknowledgment sent {"connection_id":50508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:44:08] local.INFO: TCP Data received {"connection_id":51468,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db55258b0012d1a6bc007240790002c003524..."} 
[2026-04-22 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55258b0012d1a6bc007240790002c003524..."} 
[2026-04-22 18:44:08] local.INFO: Processing buffer {"connection_id":51468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55258b0012d1a6bc007240790002c003524..."} 
[2026-04-22 18:44:08] local.INFO: Packet analysis {"connection_id":51468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:44:08] local.INFO: Extracted packet for processing {"connection_id":51468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756706240,"raw_latitude":119801744,"longitude_deg":75.670624,"latitude_deg":11.9801744,"altitude":44,"angle":53,"satellites":36,"speed":26,"hex_longitude":"2d1a6bc0","hex_latitude":"07240790","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877071616001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114026756029022208,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900730179651485696,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776863566000,"timestamp_ms":1776863566000,"timestamp_seconds":1776863566,"priority":1,"record_length":96,"hex_timestamp":"0000019db55258b0"} 
[2026-04-22 18: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-22 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 18:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:44:08] 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-22 18:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877071616001,"66":13820,"137":206,"83":42752,"24":26,"16":114026756029022208,"45":1900730179651485696},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 18:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877071616001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:44:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 18:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114026756029022208,"km_value":114026756029022.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900730179651485696,"description":"Unknown IO ID 45"} 
[2026-04-22 18:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877071616001,"power":13820,"unknown_137":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1900730179651485696}} 
[2026-04-22 18:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":51468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:44:09] local.INFO: GPS data processed {"connection_id":51468,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:44:09] local.INFO: Acknowledgment sent {"connection_id":51468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:44:10] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:44:10] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:44:10] local.INFO: IMEI packet received {"connection_id":50775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":50775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:44:14] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:44:14] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:44:14] local.INFO: IMEI packet received {"connection_id":50775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":50775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:44:15] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:44:15] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:44:15] local.INFO: IMEI packet received {"connection_id":50775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":50775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:44:15] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5532f88012d80010005c51198000b008e25..."} 
[2026-04-22 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5532f88012d80010005c51198000b008e25..."} 
[2026-04-22 18:44:15] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5532f88012d80010005c51198000b008e25..."} 
[2026-04-22 18:44:15] local.INFO: Packet analysis {"connection_id":50775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:44:15] local.INFO: Extracted packet for processing {"connection_id":50775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:44:15] local.INFO: GPS Element Parsed {"raw_longitude":763363584,"raw_latitude":96801176,"longitude_deg":76.3363584,"latitude_deg":9.6801176,"altitude":11,"angle":142,"satellites":37,"speed":50,"hex_longitude":"2d800100","hex_latitude":"05c51198","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877084928001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74930042395688960,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216898137173600256,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776863621000,"timestamp_ms":1776863621000,"timestamp_seconds":1776863621,"priority":1,"record_length":96,"hex_timestamp":"0000019db5532f88"} 
[2026-04-22 18: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-22 18:44: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-22 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-22 18:44: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-22 18: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-22 18: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-22 18:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877084928001,"66":13352,"93":206,"85":12288,"24":50,"16":74930042395688960,"45":9216898137173600256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 18:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877084928001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:44:15] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 18:44:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74930042395688960,"km_value":74930042395688.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216898137173600256,"description":"Unknown IO ID 45"} 
[2026-04-22 18:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877084928001,"power":13352,"unknown_93":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9216898137173600256}} 
[2026-04-22 18:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":50775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:44:15] local.INFO: GPS data processed {"connection_id":50775,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:44:15] local.INFO: Acknowledgment sent {"connection_id":50775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:44:20] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5535e68012d80180005c4f4f0000b008e26..."} 
[2026-04-22 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5535e68012d80180005c4f4f0000b008e26..."} 
[2026-04-22 18:44:20] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5535e68012d80180005c4f4f0000b008e26..."} 
[2026-04-22 18:44:20] local.INFO: Packet analysis {"connection_id":50775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:44:20] local.INFO: Extracted packet for processing {"connection_id":50775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:44:20] local.INFO: GPS Element Parsed {"raw_longitude":763369472,"raw_latitude":96793840,"longitude_deg":76.3369472,"latitude_deg":9.679384,"altitude":11,"angle":142,"satellites":38,"speed":26,"hex_longitude":"2d801800","hex_latitude":"05c4f4f0","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877086976001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74930497662222336,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9223090537096964096,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776863633000,"timestamp_ms":1776863633000,"timestamp_seconds":1776863633,"priority":1,"record_length":96,"hex_timestamp":"0000019db5535e68"} 
[2026-04-22 18: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-22 18:44: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-22 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-22 18:44:20] 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-22 18: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-22 18: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-22 18:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877086976001,"66":13602,"93":206,"85":12288,"24":26,"16":74930497662222336,"45":-9223090537096964096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 18:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877086976001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:44:20] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 18:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74930497662222336,"km_value":74930497662222.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9223090537096964096,"description":"Unknown IO ID 45"} 
[2026-04-22 18:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877086976001,"power":13602,"unknown_93":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9223090537096964096}} 
[2026-04-22 18:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":50775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:44:20] local.INFO: GPS data processed {"connection_id":50775,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:44:20] local.INFO: Acknowledgment sent {"connection_id":50775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:44:25] local.INFO: TCP Data received {"connection_id":51469,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:44:25] local.INFO: Processing buffer {"connection_id":51469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:44:25] local.INFO: IMEI packet received {"connection_id":51469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":51469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:44:27] local.INFO: TCP Data received {"connection_id":50899,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:44:27] local.INFO: Processing buffer {"connection_id":50899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:44:27] local.INFO: IMEI packet received {"connection_id":50899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":50899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:44:30] local.INFO: TCP Data received {"connection_id":51469,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:44:30] local.INFO: Processing buffer {"connection_id":51469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:44:30] local.INFO: IMEI packet received {"connection_id":51469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":51469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:44:31] local.INFO: TCP Data received {"connection_id":51469,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:44:31] local.INFO: Processing buffer {"connection_id":51469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db54f2078012d7fa74005afda30000d013a2e..."} 
[2026-04-22 18:44:31] local.INFO: Packet analysis {"connection_id":51469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:44:31] local.INFO: Extracted packet for processing {"connection_id":51469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db54f"} 
[2026-04-22 18:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":46,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454876941824001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:31] 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-22 18:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863355000,"timestamp_ms":1776863355000,"timestamp_seconds":1776863355,"priority":1,"record_length":96,"hex_timestamp":"0000019db54f2078"} 
[2026-04-22 18: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-22 18:44: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-22 18: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:44: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-22 18: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-22 18: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-22 18:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:44:31] 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-22 18:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454876941824001,"66":25375,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454876941824001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454876941824001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":51469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:44:31] local.INFO: GPS data processed {"connection_id":51469,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:44:31] local.INFO: Acknowledgment sent {"connection_id":51469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:44:32] local.INFO: TCP Data received {"connection_id":50899,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:44:32] local.INFO: Processing buffer {"connection_id":50899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:44:32] local.INFO: IMEI packet received {"connection_id":50899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:44:33] local.INFO: TCP Data received {"connection_id":50899,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5528790012d1a810007241358002e004223..."} 
[2026-04-22 18:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5528790012d1a810007241358002e004223..."} 
[2026-04-22 18:44:33] local.INFO: Processing buffer {"connection_id":50899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5528790012d1a810007241358002e004223..."} 
[2026-04-22 18:44:33] local.INFO: Packet analysis {"connection_id":50899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:44:33] local.INFO: Extracted packet for processing {"connection_id":50899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756711680,"raw_latitude":119804760,"longitude_deg":75.671168,"latitude_deg":11.980476,"altitude":46,"angle":66,"satellites":35,"speed":28,"hex_longitude":"2d1a8100","hex_latitude":"07241358","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877072896001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114027052381765632,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903826404395945984,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863578000,"timestamp_ms":1776863578000,"timestamp_seconds":1776863578,"priority":1,"record_length":96,"hex_timestamp":"0000019db5528790"} 
[2026-04-22 18: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-22 18:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-22 18:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:44:33] 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-22 18:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877072896001,"66":13863,"137":206,"83":42752,"24":28,"16":114027052381765632,"45":1903826404395945984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 18:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877072896001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:44:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 18:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114027052381765632,"km_value":114027052381765.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903826404395945984,"description":"Unknown IO ID 45"} 
[2026-04-22 18:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877072896001,"power":13863,"unknown_137":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1903826404395945984}} 
[2026-04-22 18:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":50899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:44:33] local.INFO: GPS data processed {"connection_id":50899,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:44:33] local.INFO: Acknowledgment sent {"connection_id":50899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:44:50] local.INFO: TCP Data received {"connection_id":50900,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:44:50] local.INFO: Processing buffer {"connection_id":50900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:44:50] local.INFO: IMEI packet received {"connection_id":50900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":50900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:44:53] local.INFO: TCP Data received {"connection_id":50775,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5536e08012d801d8005c4ec00000a00a324..."} 
[2026-04-22 18:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5536e08012d801d8005c4ec00000a00a324..."} 
[2026-04-22 18:44:53] local.INFO: Processing buffer {"connection_id":50775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5536e08012d801d8005c4ec00000a00a324..."} 
[2026-04-22 18:44:53] local.INFO: Packet analysis {"connection_id":50775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:44:53] local.INFO: Extracted packet for processing {"connection_id":50775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763370880,"raw_latitude":96791552,"longitude_deg":76.337088,"latitude_deg":9.6791552,"altitude":10,"angle":163,"satellites":36,"speed":28,"hex_longitude":"2d801d80","hex_latitude":"05c4ec00","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877090048001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74930626511241216,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216616612634497024,"note":"Value kept but may cause issues"} 
[2026-04-22 18:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776863637000,"timestamp_ms":1776863637000,"timestamp_seconds":1776863637,"priority":1,"record_length":96,"hex_timestamp":"0000019db5536e08"} 
[2026-04-22 18: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-22 18:44: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-22 18: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-22 18:44: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-22 18: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-22 18: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-22 18:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":50775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":50775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":50775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877090048001,"66":13472,"93":206,"85":12288,"24":28,"16":74930626511241216,"45":-9216616612634497024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 18:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877090048001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:44:53] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 18:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74930626511241216,"km_value":74930626511241.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216616612634497024,"description":"Unknown IO ID 45"} 
[2026-04-22 18:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877090048001,"power":13472,"unknown_93":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":-9216616612634497024}} 
[2026-04-22 18:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":50775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:44:53] local.INFO: GPS data processed {"connection_id":50775,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:44:53] local.INFO: Acknowledgment sent {"connection_id":50775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:45:03] local.INFO: TCP Data received {"connection_id":51469,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:45:03] local.INFO: Processing buffer {"connection_id":51469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:45:03] local.INFO: Packet analysis {"connection_id":51469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:45:03] local.INFO: Extracted packet for processing {"connection_id":51469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45: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-22 18:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18: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-22 18: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-22 18:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:45:03] 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-22 18:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":51469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:45:03] local.INFO: GPS data processed {"connection_id":51469,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:45:03] local.INFO: Acknowledgment sent {"connection_id":51469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:45:05] local.INFO: TCP Data received {"connection_id":50899,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db552b288012d1aa1c007242220002e003f25..."} 
[2026-04-22 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db552b288012d1aa1c007242220002e003f25..."} 
[2026-04-22 18:45:05] local.INFO: Processing buffer {"connection_id":50899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db552b288012d1aa1c007242220002e003f25..."} 
[2026-04-22 18:45:05] local.INFO: Packet analysis {"connection_id":50899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:45:05] local.INFO: Extracted packet for processing {"connection_id":50899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756720064,"raw_latitude":119808544,"longitude_deg":75.6720064,"latitude_deg":11.9808544,"altitude":46,"angle":63,"satellites":37,"speed":34,"hex_longitude":"2d1aa1c0","hex_latitude":"07242220","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877075968001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114027490468429824,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909807747651819520,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776863589000,"timestamp_ms":1776863589000,"timestamp_seconds":1776863589,"priority":1,"record_length":96,"hex_timestamp":"0000019db552b288"} 
[2026-04-22 18: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-22 18:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-22 18:45:05] 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-22 18: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-22 18: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-22 18:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877075968001,"66":13830,"137":206,"83":42752,"24":34,"16":114027490468429824,"45":1909807747651819520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 18:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877075968001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:45:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 18:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114027490468429824,"km_value":114027490468429.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909807747651819520,"description":"Unknown IO ID 45"} 
[2026-04-22 18:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877075968001,"power":13830,"unknown_137":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1909807747651819520}} 
[2026-04-22 18:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":50899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:45:05] local.INFO: GPS data processed {"connection_id":50899,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:45:05] local.INFO: Acknowledgment sent {"connection_id":50899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:45:25] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:45:25] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:45:25] local.INFO: IMEI packet received {"connection_id":50901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":50901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:45:27] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:45:27] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:45:27] local.INFO: IMEI packet received {"connection_id":50901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:45:27] local.INFO: TCP Data received {"connection_id":50902,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:45:27] local.INFO: Processing buffer {"connection_id":50902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:45:27] local.INFO: IMEI packet received {"connection_id":50902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:45:30] local.INFO: TCP Data received {"connection_id":50776,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:45:30] local.INFO: Processing buffer {"connection_id":50776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:45:30] local.INFO: IMEI packet received {"connection_id":50776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":50776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:45:31] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:45:31] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:45:31] local.INFO: IMEI packet received {"connection_id":50901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":50901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:45:32] local.INFO: TCP Data received {"connection_id":50902,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:45:32] local.INFO: Processing buffer {"connection_id":50902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:45:32] local.INFO: IMEI packet received {"connection_id":50902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":50902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:45:33] local.INFO: TCP Data received {"connection_id":50902,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db552dd80012d1ac400072431c0002d004023..."} 
[2026-04-22 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db552dd80012d1ac400072431c0002d004023..."} 
[2026-04-22 18:45:33] local.INFO: Processing buffer {"connection_id":50902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db552dd80012d1ac400072431c0002d004023..."} 
[2026-04-22 18:45:33] local.INFO: Packet analysis {"connection_id":50902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:45:33] local.INFO: Extracted packet for processing {"connection_id":50902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756728832,"raw_latitude":119812544,"longitude_deg":75.6728832,"latitude_deg":11.9812544,"altitude":45,"angle":64,"satellites":35,"speed":34,"hex_longitude":"2d1ac400","hex_latitude":"072431c0","is_valid_coordinates":true} 
[2026-04-22 18:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877078784001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114027950029930496,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919026053140062208,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863600000,"timestamp_ms":1776863600000,"timestamp_seconds":1776863600,"priority":1,"record_length":96,"hex_timestamp":"0000019db552dd80"} 
[2026-04-22 18:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10133107767312384,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628117415424,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3828875310,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2147560730,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147951558,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":188,"raw_value":8070781597449717539,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":177,"raw_value":5188196249863520298,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,137,83,24,241,157,16,27,135,45,19,46,35,10,66,88,192,7,44,36,26,69,1,240,22,227,181,4,113,205,59,64,239,54,43,2,149,188,177],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-04-22 18:45:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314718753893253120,"timestamp_seconds":3314718753893253.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:45:33] 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-22 18:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877078784001,"66":14298,"176":206,"83":42752,"24":34,"16":114027950029930496,"45":1919026053140062208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877078784001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:45:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114027950029930496,"km_value":114027950029930.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919026053140062208,"description":"Unknown IO ID 45"} 
[2026-04-22 18:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877078784001,"power":14298,"unknown_176":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1919026053140062208}} 
[2026-04-22 18:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":50902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:45:33] local.INFO: GPS data processed {"connection_id":50902,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:45:33] local.INFO: Acknowledgment sent {"connection_id":50902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:45:33] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5545c50012d80968005c41aa8000700b825..."} 
[2026-04-22 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5545c50012d80968005c41aa8000700b825..."} 
[2026-04-22 18:45:33] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5545c50012d80968005c41aa8000700b825..."} 
[2026-04-22 18:45:33] local.INFO: Packet analysis {"connection_id":50901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db554"} 
[2026-04-22 18:45:33] local.INFO: Extracted packet for processing {"connection_id":50901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db554"} 
[2026-04-22 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763401856,"raw_latitude":96737960,"longitude_deg":76.3401856,"latitude_deg":9.673796,"altitude":7,"angle":184,"satellites":37,"speed":32,"hex_longitude":"2d809680","hex_latitude":"05c41aa8","is_valid_coordinates":true} 
[2026-04-22 18:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877105920001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74933654463184896,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181080396838510592,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863698000,"timestamp_ms":1776863698000,"timestamp_seconds":1776863698,"priority":1,"record_length":96,"hex_timestamp":"0000019db5545c50"} 
[2026-04-22 18:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-04-22 18:45:33] 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-22 18:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877105920001,"66":13428,"93":206,"85":12288,"24":32,"16":74933654463184896,"45":-9181080396838510592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 18:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877105920001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:45:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 18:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74933654463184896,"km_value":74933654463184.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181080396838510592,"description":"Unknown IO ID 45"} 
[2026-04-22 18:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877105920001,"power":13428,"unknown_93":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":-9181080396838510592}} 
[2026-04-22 18:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":50901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:45:33] local.INFO: GPS data processed {"connection_id":50901,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:45:33] local.INFO: Acknowledgment sent {"connection_id":50901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:45:34] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5547f78012d80934005c3f708000500bc25..."} 
[2026-04-22 18:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5547f78012d80934005c3f708000500bc25..."} 
[2026-04-22 18:45:34] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5547f78012d80934005c3f708000500bc25..."} 
[2026-04-22 18:45:34] local.INFO: Packet analysis {"connection_id":50901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db554"} 
[2026-04-22 18:45:34] local.INFO: Extracted packet for processing {"connection_id":50901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db554"} 
[2026-04-22 18:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763401024,"raw_latitude":96728840,"longitude_deg":76.3401024,"latitude_deg":9.672884,"altitude":5,"angle":188,"satellites":37,"speed":48,"hex_longitude":"2d809340","hex_latitude":"05c3f708","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877106688001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74934096844816384,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181010028094904320,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776863707000,"timestamp_ms":1776863707000,"timestamp_seconds":1776863707,"priority":1,"record_length":96,"hex_timestamp":"0000019db5547f78"} 
[2026-04-22 18: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-22 18:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-22 18:45:34] 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-22 18: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-22 18: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-22 18:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877106688001,"66":13406,"93":206,"85":12288,"24":48,"16":74934096844816384,"45":-9181010028094904320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 18:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877106688001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:45:34] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 18:45:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74934096844816384,"km_value":74934096844816.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181010028094904320,"description":"Unknown IO ID 45"} 
[2026-04-22 18:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877106688001,"power":13406,"unknown_93":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":-9181010028094904320}} 
[2026-04-22 18:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":50901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:45:34] local.INFO: GPS data processed {"connection_id":50901,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:45:34] local.INFO: Acknowledgment sent {"connection_id":50901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:45:35] local.INFO: TCP Data received {"connection_id":50776,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:45:35] local.INFO: Processing buffer {"connection_id":50776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:45:35] local.INFO: IMEI packet received {"connection_id":50776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":50776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:45:36] local.INFO: TCP Data received {"connection_id":50776,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:45:36] local.INFO: Processing buffer {"connection_id":50776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:45:36] local.INFO: Packet analysis {"connection_id":50776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:45:36] local.INFO: Extracted packet for processing {"connection_id":50776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45: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-22 18:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18: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-22 18:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:45:36] 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-22 18: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-22 18: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-22 18:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:45:36] 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-22 18:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":50776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:45:36] local.INFO: GPS data processed {"connection_id":50776,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:45:36] local.INFO: Acknowledgment sent {"connection_id":50776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:45:41] local.INFO: TCP Data received {"connection_id":50776,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:45:41] local.INFO: Processing buffer {"connection_id":50776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:45:41] local.INFO: Packet analysis {"connection_id":50776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:45:41] local.INFO: Extracted packet for processing {"connection_id":50776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:45:41] 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-22 18:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:45:41] 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-22 18:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:45:41] 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-22 18:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:45:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":50776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:45:41] local.INFO: GPS data processed {"connection_id":50776,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:45:41] local.INFO: Acknowledgment sent {"connection_id":50776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:46:06] local.INFO: TCP Data received {"connection_id":50902,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db552f4f0012d1ad58007243c08002f003321..."} 
[2026-04-22 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db552f4f0012d1ad58007243c08002f003321..."} 
[2026-04-22 18:46:06] local.INFO: Processing buffer {"connection_id":50902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db552f4f0012d1ad58007243c08002f003321..."} 
[2026-04-22 18:46:06] local.INFO: Packet analysis {"connection_id":50902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:46:06] local.INFO: Extracted packet for processing {"connection_id":50902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db552"} 
[2026-04-22 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756733312,"raw_latitude":119815176,"longitude_deg":75.6733312,"latitude_deg":11.9815176,"altitude":47,"angle":51,"satellites":33,"speed":31,"hex_longitude":"2d1ad580","hex_latitude":"07243c08","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877081600001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114028199138033664,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928666571093426176,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776863606000,"timestamp_ms":1776863606000,"timestamp_seconds":1776863606,"priority":1,"record_length":96,"hex_timestamp":"0000019db552f4f0"} 
[2026-04-22 18: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-22 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-22 18:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:46:06] 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-22 18:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877081600001,"66":13863,"176":206,"83":42752,"24":31,"16":114028199138033664,"45":1928666571093426176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877081600001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:46:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114028199138033664,"km_value":114028199138033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928666571093426176,"description":"Unknown IO ID 45"} 
[2026-04-22 18:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877081600001,"power":13863,"unknown_176":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1928666571093426176}} 
[2026-04-22 18:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":50902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:46:06] local.INFO: GPS data processed {"connection_id":50902,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:46:06] local.INFO: Acknowledgment sent {"connection_id":50902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:46:15] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:46:15] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:46:15] local.INFO: IMEI packet received {"connection_id":50904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":50904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:46:15] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:46:15] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:46:15] local.INFO: IMEI packet received {"connection_id":50904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":50904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:46:20] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:46:20] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:46:20] local.INFO: IMEI packet received {"connection_id":50904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":50904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:46:21] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5549ad0012d808c8005c3d510000600bc25..."} 
[2026-04-22 18:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5549ad0012d808c8005c3d510000600bc25..."} 
[2026-04-22 18:46:21] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5549ad0012d808c8005c3d510000600bc25..."} 
[2026-04-22 18:46:21] local.INFO: Packet analysis {"connection_id":50904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db554"} 
[2026-04-22 18:46:21] local.INFO: Extracted packet for processing {"connection_id":50904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db554"} 
[2026-04-22 18:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763399296,"raw_latitude":96720144,"longitude_deg":76.3399296,"latitude_deg":9.6720144,"altitude":6,"angle":188,"satellites":37,"speed":47,"hex_longitude":"2d808c80","hex_latitude":"05c3d510","is_valid_coordinates":true} 
[2026-04-22 18:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877108992001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74934530636513280,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181924821771548672,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776863714000,"timestamp_ms":1776863714000,"timestamp_seconds":1776863714,"priority":1,"record_length":96,"hex_timestamp":"0000019db5549ad0"} 
[2026-04-22 18:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:46: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-22 18:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-22 18:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":50904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":50904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":50904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877108992001,"66":13450,"93":206,"85":12288,"24":47,"16":74934530636513280,"45":-9181924821771548672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 18:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877108992001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:46:21] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 18:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74934530636513280,"km_value":74934530636513.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181924821771548672,"description":"Unknown IO ID 45"} 
[2026-04-22 18:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877108992001,"power":13450,"unknown_93":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":-9181924821771548672}} 
[2026-04-22 18:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":50904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:46:21] local.INFO: GPS data processed {"connection_id":50904,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:46:21] local.INFO: Acknowledgment sent {"connection_id":50904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:46:25] local.INFO: TCP Data received {"connection_id":50905,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:46:25] local.INFO: Processing buffer {"connection_id":50905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:46:25] local.INFO: IMEI packet received {"connection_id":50905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":50905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:46:28] local.INFO: TCP Data received {"connection_id":51470,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:46:28] local.INFO: Processing buffer {"connection_id":51470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:46:28] local.INFO: IMEI packet received {"connection_id":51470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":51470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:46:30] local.INFO: TCP Data received {"connection_id":50905,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:46:30] local.INFO: Processing buffer {"connection_id":50905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:46:30] local.INFO: IMEI packet received {"connection_id":50905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":50905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:46:31] local.INFO: TCP Data received {"connection_id":50905,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:46:31] local.INFO: Processing buffer {"connection_id":50905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:46:31] local.INFO: Packet analysis {"connection_id":50905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:46:31] local.INFO: Extracted packet for processing {"connection_id":50905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:31] 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-22 18:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18: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-22 18:46: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-22 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:46: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-22 18: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-22 18: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-22 18:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:46: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-22 18:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:46:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":50905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:46:31] local.INFO: GPS data processed {"connection_id":50905,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:46:31] local.INFO: Acknowledgment sent {"connection_id":50905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:46:32] local.INFO: TCP Data received {"connection_id":51470,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:46:32] local.INFO: Processing buffer {"connection_id":51470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:46:32] local.INFO: IMEI packet received {"connection_id":51470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":51470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:46:38] local.INFO: TCP Data received {"connection_id":51470,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:46:38] local.INFO: Processing buffer {"connection_id":51470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:46:38] local.INFO: IMEI packet received {"connection_id":51470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":51470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:46:39] local.INFO: TCP Data received {"connection_id":51470,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db55300a8012d1adc8007244328002f002723..."} 
[2026-04-22 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55300a8012d1adc8007244328002f002723..."} 
[2026-04-22 18:46:39] local.INFO: Processing buffer {"connection_id":51470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55300a8012d1adc8007244328002f002723..."} 
[2026-04-22 18:46:39] local.INFO: Packet analysis {"connection_id":51470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:46:39] local.INFO: Extracted packet for processing {"connection_id":51470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756735104,"raw_latitude":119817000,"longitude_deg":75.6735104,"latitude_deg":11.9817,"altitude":47,"angle":39,"satellites":35,"speed":33,"hex_longitude":"2d1adc80","hex_latitude":"07244328","is_valid_coordinates":true} 
[2026-04-22 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877083136001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114028319397117952,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933592383186536448,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776863609000,"timestamp_ms":1776863609000,"timestamp_seconds":1776863609,"priority":1,"record_length":96,"hex_timestamp":"0000019db55300a8"} 
[2026-04-22 18:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-22 18:46:39] 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-22 18:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:46:39] 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-22 18:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877083136001,"66":14363,"176":206,"83":42752,"24":33,"16":114028319397117952,"45":1933592383186536448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877083136001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:46:39] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114028319397117952,"km_value":114028319397117.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933592383186536448,"description":"Unknown IO ID 45"} 
[2026-04-22 18:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877083136001,"power":14363,"unknown_176":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1933592383186536448}} 
[2026-04-22 18:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":51470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:46:39] local.INFO: GPS data processed {"connection_id":51470,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:46:39] local.INFO: Acknowledgment sent {"connection_id":51470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:46:42] local.INFO: TCP Data received {"connection_id":51470,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5531430012d1ae5c007245118002e001a25..."} 
[2026-04-22 18:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5531430012d1ae5c007245118002e001a25..."} 
[2026-04-22 18:46:42] local.INFO: Processing buffer {"connection_id":51470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5531430012d1ae5c007245118002e001a25..."} 
[2026-04-22 18:46:42] local.INFO: Packet analysis {"connection_id":51470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:46:42] local.INFO: Extracted packet for processing {"connection_id":51470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756737472,"raw_latitude":119820568,"longitude_deg":75.6737472,"latitude_deg":11.9820568,"altitude":46,"angle":26,"satellites":37,"speed":35,"hex_longitude":"2d1ae5c0","hex_latitude":"07245118","is_valid_coordinates":true} 
[2026-04-22 18:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877083904001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114028525555548160,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935562708023977984,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776863614000,"timestamp_ms":1776863614000,"timestamp_seconds":1776863614,"priority":1,"record_length":96,"hex_timestamp":"0000019db5531430"} 
[2026-04-22 18:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:46: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-22 18:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-22 18:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877083904001,"66":14494,"176":206,"83":42752,"24":35,"16":114028525555548160,"45":1935562708023977984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877083904001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:46:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114028525555548160,"km_value":114028525555548.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935562708023977984,"description":"Unknown IO ID 45"} 
[2026-04-22 18:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877083904001,"power":14494,"unknown_176":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1935562708023977984}} 
[2026-04-22 18:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":51470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:46:42] local.INFO: GPS data processed {"connection_id":51470,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:46:42] local.INFO: Acknowledgment sent {"connection_id":51470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:46:52] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db554c5c8012d8087c005c3b290000600b426..."} 
[2026-04-22 18:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db554c5c8012d8087c005c3b290000600b426..."} 
[2026-04-22 18:46:52] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db554c5c8012d8087c005c3b290000600b426..."} 
[2026-04-22 18:46:52] local.INFO: Packet analysis {"connection_id":50904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db554"} 
[2026-04-22 18:46:52] local.INFO: Extracted packet for processing {"connection_id":50904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db554"} 
[2026-04-22 18:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763398080,"raw_latitude":96711312,"longitude_deg":76.339808,"latitude_deg":9.6711312,"altitude":6,"angle":180,"satellites":38,"speed":22,"hex_longitude":"2d8087c0","hex_latitude":"05c3b290","is_valid_coordinates":true} 
[2026-04-22 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-22 18:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877110784001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74934960133242880,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183824777866571776,"note":"Value kept but may cause issues"} 
[2026-04-22 18:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776863725000,"timestamp_ms":1776863725000,"timestamp_seconds":1776863725,"priority":1,"record_length":96,"hex_timestamp":"0000019db554c5c8"} 
[2026-04-22 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-22 18: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-22 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-22 18:46: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-22 18: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-22 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-22 18:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":50904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":50904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":50904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877110784001,"66":13450,"93":206,"85":12288,"24":22,"16":74934960133242880,"45":-9183824777866571776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 18:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877110784001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:46:52] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 18:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74934960133242880,"km_value":74934960133242.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183824777866571776,"description":"Unknown IO ID 45"} 
[2026-04-22 18:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877110784001,"power":13450,"unknown_93":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9183824777866571776}} 
[2026-04-22 18:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":50904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:46:52] local.INFO: GPS data processed {"connection_id":50904,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:46:52] local.INFO: Acknowledgment sent {"connection_id":50904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:47:03] local.INFO: TCP Data received {"connection_id":50905,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:47:03] local.INFO: Processing buffer {"connection_id":50905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:47:03] local.INFO: Packet analysis {"connection_id":50905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:47:03] local.INFO: Extracted packet for processing {"connection_id":50905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47: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-22 18:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18: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-22 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:47: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-22 18:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:47:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":50905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:47:03] local.INFO: GPS data processed {"connection_id":50905,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:47:03] local.INFO: Acknowledgment sent {"connection_id":50905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:47:08] local.INFO: TCP Data received {"connection_id":50510,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:47:08] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:47:08] local.INFO: IMEI packet received {"connection_id":50510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":50510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:47:10] local.INFO: TCP Data received {"connection_id":50510,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:47:10] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:47:10] local.INFO: IMEI packet received {"connection_id":50510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":50510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:47:14] local.INFO: TCP Data received {"connection_id":50510,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:47:14] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:47:14] local.INFO: IMEI packet received {"connection_id":50510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":50510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:47:15] local.INFO: TCP Data received {"connection_id":50510,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55638e0012d80594005c27108000900bb27..."} 
[2026-04-22 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55638e0012d80594005c27108000900bb27..."} 
[2026-04-22 18:47:15] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55638e0012d80594005c27108000900bb27..."} 
[2026-04-22 18:47:15] local.INFO: Packet analysis {"connection_id":50510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:47:15] local.INFO: Extracted packet for processing {"connection_id":50510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763386176,"raw_latitude":96629000,"longitude_deg":76.3386176,"latitude_deg":9.6629,"altitude":9,"angle":187,"satellites":39,"speed":65,"hex_longitude":"2d805940","hex_latitude":"05c27108","is_valid_coordinates":true} 
[2026-04-22 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877136384001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74939010287403008,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196842995560271872,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:15] 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-22 18:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776863820000,"timestamp_ms":1776863820000,"timestamp_seconds":1776863820,"priority":1,"record_length":96,"hex_timestamp":"0000019db55638e0"} 
[2026-04-22 18:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18: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-22 18:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 18:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877136384001,"66":13439,"179":206,"85":12288,"24":65,"16":74939010287403008,"45":-9196842995560271872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 18:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877136384001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:47:15] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 18:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74939010287403008,"km_value":74939010287403.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196842995560271872,"description":"Unknown IO ID 45"} 
[2026-04-22 18:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877136384001,"power":13439,"unknown_179":206,"unknown_85":12288,"ignition":65,"odometer":null,"unknown_45":-9196842995560271872}} 
[2026-04-22 18:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":50510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:47:15] local.INFO: GPS data processed {"connection_id":50510,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:47:15] local.INFO: Acknowledgment sent {"connection_id":50510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:47:26] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:47:26] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:47:26] local.INFO: IMEI packet received {"connection_id":50778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":50778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:47:27] local.INFO: TCP Data received {"connection_id":51471,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:47:27] local.INFO: Processing buffer {"connection_id":51471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:47:27] local.INFO: IMEI packet received {"connection_id":51471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":51471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:47:28] local.INFO: TCP Data received {"connection_id":51471,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:47:28] local.INFO: Processing buffer {"connection_id":51471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:47:28] local.INFO: IMEI packet received {"connection_id":51471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":51471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:47:29] local.INFO: TCP Data received {"connection_id":51471,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5556dc0012d1aff40072474000027013621..."} 
[2026-04-22 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5556dc0012d1aff40072474000027013621..."} 
[2026-04-22 18:47:29] local.INFO: Processing buffer {"connection_id":51471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5556dc0012d1aff40072474000027013621..."} 
[2026-04-22 18:47:29] local.INFO: Packet analysis {"connection_id":51471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db555"} 
[2026-04-22 18:47:29] local.INFO: Extracted packet for processing {"connection_id":51471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db555"} 
[2026-04-22 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756744000,"raw_latitude":119829504,"longitude_deg":75.6744,"latitude_deg":11.9829504,"altitude":39,"angle":310,"satellites":33,"speed":5,"hex_longitude":"2d1aff40","hex_latitude":"07247400","is_valid_coordinates":true} 
[2026-04-22 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877124352001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029590707437568,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945484700956211200,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776863768000,"timestamp_ms":1776863768000,"timestamp_seconds":1776863768,"priority":1,"record_length":96,"hex_timestamp":"0000019db5556dc0"} 
[2026-04-22 18:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-22 18:47:29] 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-22 18:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":51471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":51471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":51471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:47: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-22 18:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877124352001,"66":14113,"176":206,"83":42752,"24":5,"16":114029590707437568,"45":1945484700956211200},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877124352001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:47:29] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029590707437568,"km_value":114029590707437.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945484700956211200,"description":"Unknown IO ID 45"} 
[2026-04-22 18:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877124352001,"power":14113,"unknown_176":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1945484700956211200}} 
[2026-04-22 18:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":51471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:47:29] local.INFO: GPS data processed {"connection_id":51471,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:47:29] local.INFO: Acknowledgment sent {"connection_id":51471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:47:30] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:47:30] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:47:30] local.INFO: IMEI packet received {"connection_id":50778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":50778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:47:31] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:47:31] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:47:32] local.INFO: Packet analysis {"connection_id":50778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:47:32] local.INFO: Extracted packet for processing {"connection_id":50778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:32] 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-22 18:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18: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-22 18: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-22 18: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":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:47: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-22 18: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-22 18: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-22 18:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:47:32] 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-22 18:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":50778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:47:32] local.INFO: GPS data processed {"connection_id":50778,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:47:32] local.INFO: Acknowledgment sent {"connection_id":50778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:47:47] local.INFO: TCP Data received {"connection_id":50510,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5565050012d80538005c24b18000900bd26..."} 
[2026-04-22 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5565050012d80538005c24b18000900bd26..."} 
[2026-04-22 18:47:47] local.INFO: Processing buffer {"connection_id":50510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5565050012d80538005c24b18000900bd26..."} 
[2026-04-22 18:47:47] local.INFO: Packet analysis {"connection_id":50510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:47:47] local.INFO: Extracted packet for processing {"connection_id":50510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763384704,"raw_latitude":96619288,"longitude_deg":76.3384704,"latitude_deg":9.6619288,"altitude":9,"angle":189,"satellites":38,"speed":64,"hex_longitude":"2d805380","hex_latitude":"05c24b18","is_valid_coordinates":true} 
[2026-04-22 18:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877137920001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74939487028772864,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198250370446325760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776863826000,"timestamp_ms":1776863826000,"timestamp_seconds":1776863826,"priority":1,"record_length":96,"hex_timestamp":"0000019db5565050"} 
[2026-04-22 18:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-22 18:47:47] 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-22 18:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877137920001,"66":13319,"179":206,"85":12288,"24":64,"16":74939487028772864,"45":-9198250370446325760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 18:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877137920001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:47:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 18:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74939487028772864,"km_value":74939487028772.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198250370446325760,"description":"Unknown IO ID 45"} 
[2026-04-22 18:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877137920001,"power":13319,"unknown_179":206,"unknown_85":12288,"ignition":64,"odometer":null,"unknown_45":-9198250370446325760}} 
[2026-04-22 18:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":50510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:47:47] local.INFO: GPS data processed {"connection_id":50510,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:47:47] local.INFO: Acknowledgment sent {"connection_id":50510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:48:00] local.INFO: TCP Data received {"connection_id":51471,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db555bfc8012d1b0040072477380028013621..."} 
[2026-04-22 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db555bfc8012d1b0040072477380028013621..."} 
[2026-04-22 18:48:00] local.INFO: Processing buffer {"connection_id":51471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db555bfc8012d1b0040072477380028013621..."} 
[2026-04-22 18:48:00] local.INFO: Packet analysis {"connection_id":51471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db555"} 
[2026-04-22 18:48:00] local.INFO: Extracted packet for processing {"connection_id":51471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db555"} 
[2026-04-22 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756744256,"raw_latitude":119830328,"longitude_deg":75.6744256,"latitude_deg":11.9830328,"altitude":40,"angle":310,"satellites":33,"speed":0,"hex_longitude":"2d1b0040","hex_latitude":"07247738","is_valid_coordinates":true} 
[2026-04-22 18:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877124608001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029642247045120,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945343963467874304,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776863789000,"timestamp_ms":1776863789000,"timestamp_seconds":1776863789,"priority":1,"record_length":96,"hex_timestamp":"0000019db555bfc8"} 
[2026-04-22 18:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-22 18:48:00] 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-22 18:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":51471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":51471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":51471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:48:00] 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-22 18:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877124608001,"66":13830,"176":206,"83":42752,"24":0,"16":114029642247045120,"45":1945343963467874304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877124608001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:48:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029642247045120,"km_value":114029642247045.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945343963467874304,"description":"Unknown IO ID 45"} 
[2026-04-22 18:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877124608001,"power":13830,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1945343963467874304}} 
[2026-04-22 18:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":51471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:48:00] local.INFO: GPS data processed {"connection_id":51471,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:48:00] local.INFO: Acknowledgment sent {"connection_id":51471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:48:09] local.INFO: TCP Data received {"connection_id":50778,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:48:09] local.INFO: Processing buffer {"connection_id":50778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:48:09] local.INFO: Packet analysis {"connection_id":50778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:48:09] local.INFO: Extracted packet for processing {"connection_id":50778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:09] 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-22 18:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:48: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-22 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:48:09] 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-22 18: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-22 18:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:48:09] 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-22 18:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":50778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:48:09] local.INFO: GPS data processed {"connection_id":50778,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:48:09] local.INFO: Acknowledgment sent {"connection_id":50778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:48:10] local.INFO: TCP Data received {"connection_id":50779,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:48:10] local.INFO: Processing buffer {"connection_id":50779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:48:10] local.INFO: IMEI packet received {"connection_id":50779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":50779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:48:15] local.INFO: TCP Data received {"connection_id":50779,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:48:15] local.INFO: Processing buffer {"connection_id":50779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:48:15] local.INFO: IMEI packet received {"connection_id":50779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":50779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:48:16] local.INFO: TCP Data received {"connection_id":50779,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55667c0012d804dc005c226c8000900bc28..."} 
[2026-04-22 18:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55667c0012d804dc005c226c8000900bc28..."} 
[2026-04-22 18:48:16] local.INFO: Processing buffer {"connection_id":50779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55667c0012d804dc005c226c8000900bc28..."} 
[2026-04-22 18:48:16] local.INFO: Packet analysis {"connection_id":50779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:48:16] local.INFO: Extracted packet for processing {"connection_id":50779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763383232,"raw_latitude":96609992,"longitude_deg":76.3383232,"latitude_deg":9.6609992,"altitude":9,"angle":188,"satellites":40,"speed":59,"hex_longitude":"2d804dc0","hex_latitude":"05c226c8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877139456001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74939942295306240,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199868851564898304,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] 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-22 18:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776863832000,"timestamp_ms":1776863832000,"timestamp_seconds":1776863832,"priority":1,"record_length":96,"hex_timestamp":"0000019db55667c0"} 
[2026-04-22 18: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-22 18:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-7442197089288912891,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3042294752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154364933,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13477811,"corrected_to":0} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3815243784,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1268580558,"corrected_to":0} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3274643456,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57785507921155376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.WARNING: Large IO value detected {"io_id":195,"raw_value":6064096936922195456,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,179,85,24,241,157,16,61,56,45,64,113,9,39,10,66,60,33,151,128,1,240,203,227,59,181,194,4,205,215,111,239,52,2,5,50,12,195],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":203,"original":13477811,"validated":0},{"io_id":205,"original":1268580558,"validated":0}]} 
[2026-04-22 18:48:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648726317251952640,"timestamp_seconds":648726317251952.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18: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-22 18:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877139456001,"66":13319,"179":206,"85":12288,"24":59,"16":74939942295306240,"45":-9199868851564898304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 18:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877139456001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:48:16] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 18:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74939942295306240,"km_value":74939942295306.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199868851564898304,"description":"Unknown IO ID 45"} 
[2026-04-22 18:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877139456001,"power":13319,"unknown_179":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9199868851564898304}} 
[2026-04-22 18:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":50779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:48:16] local.INFO: GPS data processed {"connection_id":50779,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:48:16] local.INFO: Acknowledgment sent {"connection_id":50779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:48:25] local.INFO: TCP Data received {"connection_id":50780,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:48:25] local.INFO: Processing buffer {"connection_id":50780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:48:25] local.INFO: IMEI packet received {"connection_id":50780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":50780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:48:27] local.INFO: TCP Data received {"connection_id":50511,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:48:27] local.INFO: Processing buffer {"connection_id":50511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:48:27] local.INFO: IMEI packet received {"connection_id":50511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":50511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:48:30] local.INFO: TCP Data received {"connection_id":50780,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:48:30] local.INFO: Processing buffer {"connection_id":50780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:48:30] local.INFO: IMEI packet received {"connection_id":50780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":50780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:48:31] local.INFO: TCP Data received {"connection_id":50511,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:48:31] local.INFO: Processing buffer {"connection_id":50511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:48:31] local.INFO: IMEI packet received {"connection_id":50511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":50511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:48:31] local.INFO: TCP Data received {"connection_id":50511,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db55611d0012d1b0040072477380028013622..."} 
[2026-04-22 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55611d0012d1b0040072477380028013622..."} 
[2026-04-22 18:48:31] local.INFO: Processing buffer {"connection_id":50511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55611d0012d1b0040072477380028013622..."} 
[2026-04-22 18:48:31] local.INFO: Packet analysis {"connection_id":50511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:48:31] local.INFO: Extracted packet for processing {"connection_id":50511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756744256,"raw_latitude":119830328,"longitude_deg":75.6744256,"latitude_deg":11.9830328,"altitude":40,"angle":310,"satellites":34,"speed":0,"hex_longitude":"2d1b0040","hex_latitude":"07247738","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877129984001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029642247045120,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945625438444795904,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863810000,"timestamp_ms":1776863810000,"timestamp_seconds":1776863810,"priority":1,"record_length":96,"hex_timestamp":"0000019db55611d0"} 
[2026-04-22 18: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-22 18:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1688858465992704,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628117188608,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2147951740,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":8647242353716758308,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-1729339375417556992,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,176,83,24,241,157,16,29,109,45,64,116,39,33,10,66,105,192,115,1,240,84,227,181,36,4,113,205,131,8,88,34,239,55,2,149,7,43,6,130],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 18:48:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882644751855648768,"timestamp_seconds":2882644751855649.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18: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-22 18:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:48:31] 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-22 18:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877129984001,"66":12776,"176":206,"83":42752,"24":0,"16":114029642247045120,"45":1945625438444795904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877129984001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:48:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029642247045120,"km_value":114029642247045.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945625438444795904,"description":"Unknown IO ID 45"} 
[2026-04-22 18:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877129984001,"power":12776,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1945625438444795904}} 
[2026-04-22 18:48:31] local.INFO: TCP Data received {"connection_id":50780,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:48:31] local.INFO: Processing buffer {"connection_id":50780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:48:31] local.INFO: Packet analysis {"connection_id":50780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:48:31] local.INFO: Extracted packet for processing {"connection_id":50780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:48:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:31] 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-22 18:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18: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-22 18: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-22 18:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:48: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-22 18: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-22 18: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-22 18:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:48:31] 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-22 18:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":50780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:48:32] local.INFO: GPS data processed {"connection_id":50780,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:48:32] local.INFO: Acknowledgment sent {"connection_id":50780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":50511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:48:32] local.INFO: GPS data processed {"connection_id":50511,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:48:32] local.INFO: Acknowledgment sent {"connection_id":50511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:48:47] local.INFO: TCP Data received {"connection_id":50779,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5568318012d80484005c1ff30000800ba28..."} 
[2026-04-22 18:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5568318012d80484005c1ff30000800ba28..."} 
[2026-04-22 18:48:47] local.INFO: Processing buffer {"connection_id":50779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5568318012d80484005c1ff30000800ba28..."} 
[2026-04-22 18:48:47] local.INFO: Packet analysis {"connection_id":50779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:48:47] local.INFO: Extracted packet for processing {"connection_id":50779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763381824,"raw_latitude":96599856,"longitude_deg":76.3381824,"latitude_deg":9.6599856,"altitude":8,"angle":186,"satellites":40,"speed":57,"hex_longitude":"2d804840","hex_latitude":"05c1ff30","is_valid_coordinates":true} 
[2026-04-22 18:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877140992001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74940440511512576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201487332683364352,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776863839000,"timestamp_ms":1776863839000,"timestamp_seconds":1776863839,"priority":1,"record_length":96,"hex_timestamp":"0000019db5568318"} 
[2026-04-22 18:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4908922298893598715,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3042301752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154004485,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3190816777,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2813526222,"corrected_to":0} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2415996288,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407115,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3272226816,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57785507921155376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3393462357890770176,"note":"Value kept but may cause issues"} 
[2026-04-22 18:48:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,179,85,24,241,157,16,61,80,45,128,75,9,38,10,66,56,64,113,39,60,33,1,240,160,227,181,194,4,205,65,242,105,104,40,239,52,2,5,62,195],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2813526222,"validated":0}]} 
[2026-04-22 18:48:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648725226329931776,"timestamp_seconds":648725226329931.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877140992001,"66":12461,"179":206,"85":12288,"24":57,"16":74940440511512576,"45":-9201487332683364352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 18:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877140992001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:48:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 18:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74940440511512576,"km_value":74940440511512.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201487332683364352,"description":"Unknown IO ID 45"} 
[2026-04-22 18:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877140992001,"power":12461,"unknown_179":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":-9201487332683364352}} 
[2026-04-22 18:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":50779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:48:47] local.INFO: GPS data processed {"connection_id":50779,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:48:47] local.INFO: Acknowledgment sent {"connection_id":50779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:49:03] local.INFO: TCP Data received {"connection_id":50511,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db55663d8012d1b02c0072479d80026013622..."} 
[2026-04-22 18:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55663d8012d1b02c0072479d80026013622..."} 
[2026-04-22 18:49:03] local.INFO: Processing buffer {"connection_id":50511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55663d8012d1b02c0072479d80026013622..."} 
[2026-04-22 18:49:03] local.INFO: Packet analysis {"connection_id":50511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:49:03] local.INFO: Extracted packet for processing {"connection_id":50511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":34,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877135360001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945625438444795904,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776863831000,"timestamp_ms":1776863831000,"timestamp_seconds":1776863831,"priority":1,"record_length":96,"hex_timestamp":"0000019db55663d8"} 
[2026-04-22 18:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-22 18:49:03] 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-22 18:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877135360001,"66":12798,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1945625438444795904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877135360001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:49:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945625438444795904,"description":"Unknown IO ID 45"} 
[2026-04-22 18:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877135360001,"power":12798,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1945625438444795904}} 
[2026-04-22 18:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":50511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:49:03] local.INFO: GPS data processed {"connection_id":50511,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:49:03] local.INFO: Acknowledgment sent {"connection_id":50511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:49:03] local.INFO: TCP Data received {"connection_id":50780,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:49:03] local.INFO: Processing buffer {"connection_id":50780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:49:03] local.INFO: Packet analysis {"connection_id":50780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:49:03] local.INFO: Extracted packet for processing {"connection_id":50780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49: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-22 18:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:49: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-22 18:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:49:03] 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-22 18:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:49:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":50780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:49:03] local.INFO: GPS data processed {"connection_id":50780,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:49:03] local.INFO: Acknowledgment sent {"connection_id":50780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:49:10] local.INFO: TCP Data received {"connection_id":51472,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:49:10] local.INFO: Processing buffer {"connection_id":51472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:49:10] local.INFO: IMEI packet received {"connection_id":51472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":51472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:49:11] local.INFO: TCP Data received {"connection_id":51472,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:49:11] local.INFO: Processing buffer {"connection_id":51472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:49:11] local.INFO: IMEI packet received {"connection_id":51472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":51472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:49:15] local.INFO: TCP Data received {"connection_id":51472,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:49:15] local.INFO: Processing buffer {"connection_id":51472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:49:15] local.INFO: IMEI packet received {"connection_id":51472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":51472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:49:16] local.INFO: TCP Data received {"connection_id":51472,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5569e70012d80450005c1dca0000800b428..."} 
[2026-04-22 18:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5569e70012d80450005c1dca0000800b428..."} 
[2026-04-22 18:49:16] local.INFO: Processing buffer {"connection_id":51472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5569e70012d80450005c1dca0000800b428..."} 
[2026-04-22 18:49:16] local.INFO: Packet analysis {"connection_id":51472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:49:16] local.INFO: Extracted packet for processing {"connection_id":51472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":763380992,"raw_latitude":96591008,"longitude_deg":76.3380992,"latitude_deg":9.6591008,"altitude":8,"angle":180,"satellites":40,"speed":40,"hex_longitude":"2d804500","hex_latitude":"05c1dca0","is_valid_coordinates":true} 
[2026-04-22 18:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877142784001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74940870008242176,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203035445057867776,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:16] 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-22 18:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776863846000,"timestamp_ms":1776863846000,"timestamp_seconds":1776863846,"priority":1,"record_length":96,"hex_timestamp":"0000019db5569e70"} 
[2026-04-22 18:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:49: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-22 18:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877142784001,"66":12472,"179":206,"85":12288,"24":40,"16":74940870008242176,"45":-9203035445057867776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 18:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877142784001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:49:16] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 18:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74940870008242176,"km_value":74940870008242.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203035445057867776,"description":"Unknown IO ID 45"} 
[2026-04-22 18:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877142784001,"power":12472,"unknown_179":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-9203035445057867776}} 
[2026-04-22 18:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":51472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:49:16] local.INFO: GPS data processed {"connection_id":51472,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:49:16] local.INFO: Acknowledgment sent {"connection_id":51472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:49:27] local.INFO: TCP Data received {"connection_id":50908,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:49:27] local.INFO: Processing buffer {"connection_id":50908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:49:27] local.INFO: IMEI packet received {"connection_id":50908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":50908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:49:30] local.INFO: TCP Data received {"connection_id":50512,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:49:30] local.INFO: Processing buffer {"connection_id":50512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:49:30] local.INFO: IMEI packet received {"connection_id":50512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":50512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:49:32] local.INFO: TCP Data received {"connection_id":50908,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:49:32] local.INFO: Processing buffer {"connection_id":50908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:49:32] local.INFO: IMEI packet received {"connection_id":50908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:49:33] local.INFO: TCP Data received {"connection_id":50908,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db556b5e0012d1b02c0072479d80026013623..."} 
[2026-04-22 18:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db556b5e0012d1b02c0072479d80026013623..."} 
[2026-04-22 18:49:33] local.INFO: Processing buffer {"connection_id":50908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db556b5e0012d1b02c0072479d80026013623..."} 
[2026-04-22 18:49:33] local.INFO: Packet analysis {"connection_id":50908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:49:33] local.INFO: Extracted packet for processing {"connection_id":50908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db556"} 
[2026-04-22 18:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":35,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877140736001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863852000,"timestamp_ms":1776863852000,"timestamp_seconds":1776863852,"priority":1,"record_length":96,"hex_timestamp":"0000019db556b5e0"} 
[2026-04-22 18: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-22 18:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-22 18:49: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-22 18: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-22 18: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-22 18:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:49:33] 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-22 18:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877140736001,"66":12711,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877140736001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:49:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877140736001,"power":12711,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":50908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:49:33] local.INFO: GPS data processed {"connection_id":50908,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:49:33] local.INFO: Acknowledgment sent {"connection_id":50908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:49:35] local.INFO: TCP Data received {"connection_id":50512,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:49:35] local.INFO: Processing buffer {"connection_id":50512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:49:35] local.INFO: IMEI packet received {"connection_id":50512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":50512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:49:36] local.INFO: TCP Data received {"connection_id":50512,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:49:36] local.INFO: Processing buffer {"connection_id":50512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:49:36] local.INFO: Packet analysis {"connection_id":50512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:49:36] local.INFO: Extracted packet for processing {"connection_id":50512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49: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-22 18:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18: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-22 18:49: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-22 18:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:49:36] 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-22 18: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-22 18: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-22 18:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:49:36] 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-22 18:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:49:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":50512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:49:36] local.INFO: GPS data processed {"connection_id":50512,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:49:36] local.INFO: Acknowledgment sent {"connection_id":50512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:49:41] local.INFO: TCP Data received {"connection_id":50512,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:49:41] local.INFO: Processing buffer {"connection_id":50512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db553b840012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:49:41] local.INFO: Packet analysis {"connection_id":50512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:49:41] local.INFO: Extracted packet for processing {"connection_id":50512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db553"} 
[2026-04-22 18:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877018880001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:41] 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-22 18:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776863656000,"timestamp_ms":1776863656000,"timestamp_seconds":1776863656,"priority":1,"record_length":96,"hex_timestamp":"0000019db553b840"} 
[2026-04-22 18:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 18:49:41] 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-22 18:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:49:41] 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-22 18:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877018880001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877018880001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877018880001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":50512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:49:41] local.INFO: GPS data processed {"connection_id":50512,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:49:41] local.INFO: Acknowledgment sent {"connection_id":50512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:49:47] local.INFO: TCP Data received {"connection_id":51472,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5588aa0012d80098005c05510000700bd27..."} 
[2026-04-22 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5588aa0012d80098005c05510000700bd27..."} 
[2026-04-22 18:49:47] local.INFO: Processing buffer {"connection_id":51472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5588aa0012d80098005c05510000700bd27..."} 
[2026-04-22 18:49:47] local.INFO: Packet analysis {"connection_id":51472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:49:47] local.INFO: Extracted packet for processing {"connection_id":51472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763365760,"raw_latitude":96490768,"longitude_deg":76.336576,"latitude_deg":9.6490768,"altitude":7,"angle":189,"satellites":39,"speed":60,"hex_longitude":"2d800980","hex_latitude":"05c05510","is_valid_coordinates":true} 
[2026-04-22 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877175040001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74945796335730688,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218727675034896384,"note":"Value kept but may cause issues"} 
[2026-04-22 18:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776863972000,"timestamp_ms":1776863972000,"timestamp_seconds":1776863972,"priority":1,"record_length":96,"hex_timestamp":"0000019db5588aa0"} 
[2026-04-22 18:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 18:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877175040001,"66":12461,"225":206,"85":12288,"24":60,"16":74945796335730688,"45":-9218727675034896384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-22 18:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877175040001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:49:47] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-22 18:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74945796335730688,"km_value":74945796335730.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218727675034896384,"description":"Unknown IO ID 45"} 
[2026-04-22 18:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877175040001,"power":12461,"unknown_225":206,"unknown_85":12288,"ignition":60,"odometer":null,"unknown_45":-9218727675034896384}} 
[2026-04-22 18:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":51472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:49:47] local.INFO: GPS data processed {"connection_id":51472,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:49:47] local.INFO: Acknowledgment sent {"connection_id":51472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:50:04] local.INFO: TCP Data received {"connection_id":50908,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db55707e8012d1b02c0072479d80026013624..."} 
[2026-04-22 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55707e8012d1b02c0072479d80026013624..."} 
[2026-04-22 18:50:04] local.INFO: Processing buffer {"connection_id":50908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55707e8012d1b02c0072479d80026013624..."} 
[2026-04-22 18:50:04] local.INFO: Packet analysis {"connection_id":50908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db557"} 
[2026-04-22 18:50:04] local.INFO: Extracted packet for processing {"connection_id":50908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db557"} 
[2026-04-22 18:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877146112001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776863873000,"timestamp_ms":1776863873000,"timestamp_seconds":1776863873,"priority":1,"record_length":96,"hex_timestamp":"0000019db55707e8"} 
[2026-04-22 18:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-22 18:50:04] 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-22 18:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:50:04] 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-22 18:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877146112001,"66":12558,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877146112001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:50:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:50:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877146112001,"power":12558,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":50908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:50:04] local.INFO: GPS data processed {"connection_id":50908,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:50:04] local.INFO: Acknowledgment sent {"connection_id":50908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:50:10] local.INFO: TCP Data received {"connection_id":51473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:50:10] local.INFO: Processing buffer {"connection_id":51473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:50:10] local.INFO: IMEI packet received {"connection_id":51473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":51473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:50:10] local.INFO: TCP Data received {"connection_id":51473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:50:10] local.INFO: Processing buffer {"connection_id":51473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:50:10] local.INFO: IMEI packet received {"connection_id":51473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":51473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:50:15] local.INFO: TCP Data received {"connection_id":51473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:50:15] local.INFO: Processing buffer {"connection_id":51473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:50:15] local.INFO: IMEI packet received {"connection_id":51473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":51473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:50:15] local.INFO: TCP Data received {"connection_id":51473,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db558a210012d80030005c03048000700bd29..."} 
[2026-04-22 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db558a210012d80030005c03048000700bd29..."} 
[2026-04-22 18:50:15] local.INFO: Processing buffer {"connection_id":51473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db558a210012d80030005c03048000700bd29..."} 
[2026-04-22 18:50:15] local.INFO: Packet analysis {"connection_id":51473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:50:15] local.INFO: Extracted packet for processing {"connection_id":51473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:50:15] local.INFO: GPS Element Parsed {"raw_longitude":763364096,"raw_latitude":96481352,"longitude_deg":76.3364096,"latitude_deg":9.6481352,"altitude":7,"angle":189,"satellites":41,"speed":66,"hex_longitude":"2d800300","hex_latitude":"05c03048","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877176832001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74946260192198656,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220697999874387968,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:15] 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-22 18:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776863978000,"timestamp_ms":1776863978000,"timestamp_seconds":1776863978,"priority":1,"record_length":96,"hex_timestamp":"0000019db558a210"} 
[2026-04-22 18: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-22 18:50: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-22 18: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":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:50: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-22 18: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-22 18: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-22 18:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":51473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":51473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":51473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877176832001,"66":12504,"225":206,"85":12288,"24":66,"16":74946260192198656,"45":-9220697999874387968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-22 18:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877176832001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:50:15] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-22 18:50:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74946260192198656,"km_value":74946260192198.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220697999874387968,"description":"Unknown IO ID 45"} 
[2026-04-22 18:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877176832001,"power":12504,"unknown_225":206,"unknown_85":12288,"ignition":66,"odometer":null,"unknown_45":-9220697999874387968}} 
[2026-04-22 18:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":51473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:50:15] local.INFO: GPS data processed {"connection_id":51473,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:50:15] local.INFO: Acknowledgment sent {"connection_id":51473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:50:15] local.INFO: TCP Data received {"connection_id":50909,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:50:15] local.INFO: Processing buffer {"connection_id":50909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:50:15] local.INFO: IMEI packet received {"connection_id":50909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":50909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:50:25] local.INFO: TCP Data received {"connection_id":50513,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:50:25] local.INFO: Processing buffer {"connection_id":50513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:50:25] local.INFO: IMEI packet received {"connection_id":50513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":50513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:50:27] local.INFO: TCP Data received {"connection_id":50514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:50:27] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:50:27] local.INFO: IMEI packet received {"connection_id":50514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":50514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:50:30] local.INFO: TCP Data received {"connection_id":50513,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:50:30] local.INFO: Processing buffer {"connection_id":50513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:50:30] local.INFO: IMEI packet received {"connection_id":50513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":50513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:50:31] local.INFO: TCP Data received {"connection_id":50513,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:50:31] local.INFO: Processing buffer {"connection_id":50513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:50:31] local.INFO: Packet analysis {"connection_id":50513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:50:31] local.INFO: Extracted packet for processing {"connection_id":50513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:31] 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-22 18:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18: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-22 18:50: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-22 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:50: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-22 18: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-22 18: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-22 18:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:50:31] 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-22 18:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:50:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":50513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:50:31] local.INFO: GPS data processed {"connection_id":50513,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:50:31] local.INFO: Acknowledgment sent {"connection_id":50513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:50:32] local.INFO: TCP Data received {"connection_id":50514,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:50:32] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:50:32] local.INFO: IMEI packet received {"connection_id":50514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":50514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:50:33] local.INFO: TCP Data received {"connection_id":50514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55759f0012d1b02c0072479d80026013623..."} 
[2026-04-22 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55759f0012d1b02c0072479d80026013623..."} 
[2026-04-22 18:50:33] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55759f0012d1b02c0072479d80026013623..."} 
[2026-04-22 18:50:33] local.INFO: Packet analysis {"connection_id":50514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db557"} 
[2026-04-22 18:50:33] local.INFO: Extracted packet for processing {"connection_id":50514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db557"} 
[2026-04-22 18:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":35,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877151488001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863894000,"timestamp_ms":1776863894000,"timestamp_seconds":1776863894,"priority":1,"record_length":96,"hex_timestamp":"0000019db55759f0"} 
[2026-04-22 18: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-22 18:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3042273752,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250192655709401976,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,176,83,24,241,157,16,29,181,45,192,121,38,35,10,66,99,34,17,64,1,240,232,227,36,4,113,205,109,255,33,239,55,2,149,7,39,6,106,87,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 18:50:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738529576664694784,"timestamp_seconds":2738529576664695.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 18: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-22 18:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:50:33] 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-22 18:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877151488001,"66":12504,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877151488001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:50:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877151488001,"power":12504,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":50514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:50:33] local.INFO: GPS data processed {"connection_id":50514,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:50:33] local.INFO: Acknowledgment sent {"connection_id":50514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:50:46] local.INFO: TCP Data received {"connection_id":51473,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db558b980012d7ffc4005c009d0000700bd29..."} 
[2026-04-22 18:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db558b980012d7ffc4005c009d0000700bd29..."} 
[2026-04-22 18:50:46] local.INFO: Processing buffer {"connection_id":51473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db558b980012d7ffc4005c009d0000700bd29..."} 
[2026-04-22 18:50:46] local.INFO: Packet analysis {"connection_id":51473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:50:46] local.INFO: Extracted packet for processing {"connection_id":51473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:50:46] local.INFO: GPS Element Parsed {"raw_longitude":763362368,"raw_latitude":96471504,"longitude_deg":76.3362368,"latitude_deg":9.6471504,"altitude":7,"angle":189,"satellites":41,"speed":65,"hex_longitude":"2d7ffc40","hex_latitude":"05c009d0","is_valid_coordinates":true} 
[2026-04-22 18:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877178368001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74946745523503104,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222527587225417728,"note":"Value kept but may cause issues"} 
[2026-04-22 18:50:46] 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-22 18:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776863984000,"timestamp_ms":1776863984000,"timestamp_seconds":1776863984,"priority":1,"record_length":96,"hex_timestamp":"0000019db558b980"} 
[2026-04-22 18:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:50: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-22 18:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 18:50: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-22 18:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":51473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":51473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":51473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877178368001,"66":12602,"225":206,"85":12288,"24":65,"16":74946745523503104,"45":-9222527587225417728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-22 18:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877178368001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:50:46] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-22 18:50:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74946745523503104,"km_value":74946745523503.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222527587225417728,"description":"Unknown IO ID 45"} 
[2026-04-22 18:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877178368001,"power":12602,"unknown_225":206,"unknown_85":12288,"ignition":65,"odometer":null,"unknown_45":-9222527587225417728}} 
[2026-04-22 18:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":51473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:50:46] local.INFO: GPS data processed {"connection_id":51473,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:50:46] local.INFO: Acknowledgment sent {"connection_id":51473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:50:50] local.INFO: TCP Data received {"connection_id":50910,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:50:50] local.INFO: Processing buffer {"connection_id":50910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:50:50] local.INFO: IMEI packet received {"connection_id":50910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":50910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:51:02] local.INFO: TCP Data received {"connection_id":50513,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:51:02] local.INFO: Processing buffer {"connection_id":50513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:51:02] local.INFO: Packet analysis {"connection_id":50513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:51:02] local.INFO: Extracted packet for processing {"connection_id":50513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 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-22 18:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:02] 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-22 18:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 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-22 18:51: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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 18:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:51:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":50513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:51:02] local.INFO: GPS data processed {"connection_id":50513,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:51:02] local.INFO: Acknowledgment sent {"connection_id":50513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:51:04] local.INFO: TCP Data received {"connection_id":50514,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db557abf8012d1b02c0072479d80026013622..."} 
[2026-04-22 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db557abf8012d1b02c0072479d80026013622..."} 
[2026-04-22 18:51:04] local.INFO: Processing buffer {"connection_id":50514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db557abf8012d1b02c0072479d80026013622..."} 
[2026-04-22 18:51:04] local.INFO: Packet analysis {"connection_id":50514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db557"} 
[2026-04-22 18:51:04] local.INFO: Extracted packet for processing {"connection_id":50514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db557"} 
[2026-04-22 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":34,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877156864001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776863915000,"timestamp_ms":1776863915000,"timestamp_seconds":1776863915,"priority":1,"record_length":96,"hex_timestamp":"0000019db557abf8"} 
[2026-04-22 18:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 18:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:51:04] 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-22 18:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877156864001,"66":12406,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877156864001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:51:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877156864001,"power":12406,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":50514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:51:04] local.INFO: GPS data processed {"connection_id":50514,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:51:04] local.INFO: Acknowledgment sent {"connection_id":50514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:51:10] local.INFO: TCP Data received {"connection_id":50911,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:51:10] local.INFO: Processing buffer {"connection_id":50911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:51:10] local.INFO: IMEI packet received {"connection_id":50911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":50911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:51:15] local.INFO: TCP Data received {"connection_id":50911,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:51:15] local.INFO: Processing buffer {"connection_id":50911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:51:15] local.INFO: IMEI packet received {"connection_id":50911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":50911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:51:16] local.INFO: TCP Data received {"connection_id":50911,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db558d0f0012d7ff64005bfe380000700bc29..."} 
[2026-04-22 18:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db558d0f0012d7ff64005bfe380000700bc29..."} 
[2026-04-22 18:51:16] local.INFO: Processing buffer {"connection_id":50911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db558d0f0012d7ff64005bfe380000700bc29..."} 
[2026-04-22 18:51:16] local.INFO: Packet analysis {"connection_id":50911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:51:16] local.INFO: Extracted packet for processing {"connection_id":50911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763360832,"raw_latitude":96461696,"longitude_deg":76.3360832,"latitude_deg":9.6461696,"altitude":7,"angle":188,"satellites":41,"speed":65,"hex_longitude":"2d7ff640","hex_latitude":"05bfe380","is_valid_coordinates":true} 
[2026-04-22 18:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877179904001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74947226559840256,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9222316530388815872,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:16] 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-22 18:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776863990000,"timestamp_ms":1776863990000,"timestamp_seconds":1776863990,"priority":1,"record_length":96,"hex_timestamp":"0000019db558d0f0"} 
[2026-04-22 18:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 18:51:16] 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-22 18:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877179904001,"66":11461,"225":206,"85":12288,"24":65,"16":74947226559840256,"45":9222316530388815872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-22 18:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877179904001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:51:16] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-22 18:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74947226559840256,"km_value":74947226559840.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9222316530388815872,"description":"Unknown IO ID 45"} 
[2026-04-22 18:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877179904001,"power":11461,"unknown_225":206,"unknown_85":12288,"ignition":65,"odometer":null,"unknown_45":9222316530388815872}} 
[2026-04-22 18:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":50911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:51:16] local.INFO: GPS data processed {"connection_id":50911,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:51:16] local.INFO: Acknowledgment sent {"connection_id":50911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:51:25] local.INFO: TCP Data received {"connection_id":50781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:51:25] local.INFO: Processing buffer {"connection_id":50781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:51:25] local.INFO: IMEI packet received {"connection_id":50781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":50781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:51:27] local.INFO: TCP Data received {"connection_id":51474,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:51:27] local.INFO: Processing buffer {"connection_id":51474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:51:27] local.INFO: IMEI packet received {"connection_id":51474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":51474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:51:30] local.INFO: TCP Data received {"connection_id":50781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:51:30] local.INFO: Processing buffer {"connection_id":50781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:51:30] local.INFO: IMEI packet received {"connection_id":50781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":50781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:51:31] local.INFO: TCP Data received {"connection_id":50781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:51:31] local.INFO: Processing buffer {"connection_id":50781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:51:31] local.INFO: Packet analysis {"connection_id":50781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:51:31] local.INFO: Extracted packet for processing {"connection_id":50781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:31] 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-22 18:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18: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-22 18:51: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-22 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:51: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-22 18: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-22 18: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-22 18:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":50781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:51:31] local.INFO: GPS data processed {"connection_id":50781,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:51:31] local.INFO: Acknowledgment sent {"connection_id":50781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:51:32] local.INFO: TCP Data received {"connection_id":51474,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:51:32] local.INFO: Processing buffer {"connection_id":51474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:51:32] local.INFO: IMEI packet received {"connection_id":51474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":51474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:51:33] local.INFO: TCP Data received {"connection_id":51474,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db557fe00012d1b02c0072479d80026013621..."} 
[2026-04-22 18:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db557fe00012d1b02c0072479d80026013621..."} 
[2026-04-22 18:51:33] local.INFO: Processing buffer {"connection_id":51474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db557fe00012d1b02c0072479d80026013621..."} 
[2026-04-22 18:51:33] local.INFO: Packet analysis {"connection_id":51474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db557"} 
[2026-04-22 18:51:33] local.INFO: Extracted packet for processing {"connection_id":51474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db557"} 
[2026-04-22 18:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":33,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877162240001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863936000,"timestamp_ms":1776863936000,"timestamp_seconds":1776863936,"priority":1,"record_length":96,"hex_timestamp":"0000019db557fe00"} 
[2026-04-22 18: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-22 18:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 18:51:33] 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-22 18: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-22 18: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-22 18:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877162240001,"66":12461,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877162240001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:51:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877162240001,"power":12461,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":51474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:51:33] local.INFO: GPS data processed {"connection_id":51474,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:51:33] local.INFO: Acknowledgment sent {"connection_id":51474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:51:47] local.INFO: TCP Data received {"connection_id":50911,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db558e860012d7ff00005bfbdd0000800bd29..."} 
[2026-04-22 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db558e860012d7ff00005bfbdd0000800bd29..."} 
[2026-04-22 18:51:47] local.INFO: Processing buffer {"connection_id":50911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db558e860012d7ff00005bfbdd0000800bd29..."} 
[2026-04-22 18:51:47] local.INFO: Packet analysis {"connection_id":50911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:51:47] local.INFO: Extracted packet for processing {"connection_id":50911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763359232,"raw_latitude":96452048,"longitude_deg":76.3359232,"latitude_deg":9.6452048,"altitude":8,"angle":189,"satellites":41,"speed":64,"hex_longitude":"2d7ff000","hex_latitude":"05bfbdd0","is_valid_coordinates":true} 
[2026-04-22 18:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877181440001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74947699006242816,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220627680526041088,"note":"Value kept but may cause issues"} 
[2026-04-22 18:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776863996000,"timestamp_ms":1776863996000,"timestamp_seconds":1776863996,"priority":1,"record_length":96,"hex_timestamp":"0000019db558e860"} 
[2026-04-22 18:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-22 18:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877181440001,"66":12461,"225":206,"85":12288,"24":64,"16":74947699006242816,"45":9220627680526041088},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-22 18:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877181440001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:51:47] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-22 18:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74947699006242816,"km_value":74947699006242.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220627680526041088,"description":"Unknown IO ID 45"} 
[2026-04-22 18:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877181440001,"power":12461,"unknown_225":206,"unknown_85":12288,"ignition":64,"odometer":null,"unknown_45":9220627680526041088}} 
[2026-04-22 18:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":50911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:51:47] local.INFO: GPS data processed {"connection_id":50911,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:51:47] local.INFO: Acknowledgment sent {"connection_id":50911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:52:02] local.INFO: TCP Data received {"connection_id":50781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:52:02] local.INFO: Processing buffer {"connection_id":50781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:52:02] local.INFO: Packet analysis {"connection_id":50781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:02] local.INFO: Extracted packet for processing {"connection_id":50781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:02] 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-22 18:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:52: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-22 18:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:52:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":50781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:52:02] local.INFO: GPS data processed {"connection_id":50781,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:52:02] local.INFO: Acknowledgment sent {"connection_id":50781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:52:04] local.INFO: TCP Data received {"connection_id":51474,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:52:04] local.INFO: Processing buffer {"connection_id":51474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:52:04] local.INFO: Packet analysis {"connection_id":51474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:04] local.INFO: Extracted packet for processing {"connection_id":51474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":34,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18:52: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-22 18:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877167616001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776863944000,"timestamp_ms":1776863944000,"timestamp_seconds":1776863944,"priority":1,"record_length":96,"hex_timestamp":"0000019db5581d40"} 
[2026-04-22 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-22 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:52:04] 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-22 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-22 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-22 18:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:52:04] 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-22 18:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877167616001,"66":12428,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877167616001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:52:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877167616001,"power":12428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":51474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:52:04] local.INFO: GPS data processed {"connection_id":51474,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:52:04] local.INFO: Acknowledgment sent {"connection_id":51474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:52:14] local.INFO: TCP Data received {"connection_id":50783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:52:14] local.INFO: Processing buffer {"connection_id":50783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:52:14] local.INFO: IMEI packet received {"connection_id":50783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":50783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:52:15] local.INFO: TCP Data received {"connection_id":50783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:52:15] local.INFO: Processing buffer {"connection_id":50783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:52:15] local.INFO: IMEI packet received {"connection_id":50783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":50783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:52:20] local.INFO: TCP Data received {"connection_id":50783,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:52:20] local.INFO: Processing buffer {"connection_id":50783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:52:20] local.INFO: IMEI packet received {"connection_id":50783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":50783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:52:21] local.INFO: TCP Data received {"connection_id":50783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55a76d0012d7fc44005be87d8000600be26..."} 
[2026-04-22 18:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55a76d0012d7fc44005be87d8000600be26..."} 
[2026-04-22 18:52:21] local.INFO: Processing buffer {"connection_id":50783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55a76d0012d7fc44005be87d8000600be26..."} 
[2026-04-22 18:52:21] local.INFO: Packet analysis {"connection_id":50783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55a"} 
[2026-04-22 18:52:21] local.INFO: Extracted packet for processing {"connection_id":50783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55a"} 
[2026-04-22 18:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763348032,"raw_latitude":96372696,"longitude_deg":76.3348032,"latitude_deg":9.6372696,"altitude":6,"angle":190,"satellites":38,"speed":23,"hex_longitude":"2d7fc440","hex_latitude":"05be87d8","is_valid_coordinates":true} 
[2026-04-22 18:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877203712001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74951594541580288,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207609462831421440,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:21] 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-22 18:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776864098000,"timestamp_ms":1776864098000,"timestamp_seconds":1776864098,"priority":1,"record_length":96,"hex_timestamp":"0000019db55a76d0"} 
[2026-04-22 18:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 18:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":50783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":50783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":50783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877203712001,"66":12472,"52":206,"85":12288,"24":23,"16":74951594541580288,"45":9207609462831421440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-22 18:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877203712001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:52:21] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-22 18:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74951594541580288,"km_value":74951594541580.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207609462831421440,"description":"Unknown IO ID 45"} 
[2026-04-22 18:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877203712001,"power":12472,"unknown_52":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9207609462831421440}} 
[2026-04-22 18:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":50783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:52:21] local.INFO: GPS data processed {"connection_id":50783,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:52:21] local.INFO: Acknowledgment sent {"connection_id":50783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:52:27] local.INFO: TCP Data received {"connection_id":50912,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:52:27] local.INFO: Processing buffer {"connection_id":50912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:52:27] local.INFO: IMEI packet received {"connection_id":50912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":50912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:52:30] local.INFO: TCP Data received {"connection_id":51475,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:52:30] local.INFO: Processing buffer {"connection_id":51475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:52:30] local.INFO: IMEI packet received {"connection_id":51475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":51475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:52:30] local.INFO: TCP Data received {"connection_id":51475,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:52:30] local.INFO: Processing buffer {"connection_id":51475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:52:30] local.INFO: IMEI packet received {"connection_id":51475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":51475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:52:31] local.INFO: TCP Data received {"connection_id":51475,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:52:31] local.INFO: Processing buffer {"connection_id":51475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:52:31] local.INFO: Packet analysis {"connection_id":51475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:31] local.INFO: Extracted packet for processing {"connection_id":51475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:31] 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-22 18:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18: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-22 18:52: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-22 18:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:52: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-22 18: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-22 18: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-22 18:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":51475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:52:31] local.INFO: GPS data processed {"connection_id":51475,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:52:31] local.INFO: Acknowledgment sent {"connection_id":51475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:52:32] local.INFO: TCP Data received {"connection_id":50912,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:52:32] local.INFO: Processing buffer {"connection_id":50912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:52:32] local.INFO: IMEI packet received {"connection_id":50912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":50912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:52:33] local.INFO: TCP Data received {"connection_id":50912,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:52:33] local.INFO: Processing buffer {"connection_id":50912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:52:33] local.INFO: Packet analysis {"connection_id":50912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:33] local.INFO: Extracted packet for processing {"connection_id":50912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":34,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863944000,"timestamp_ms":1776863944000,"timestamp_seconds":1776863944,"priority":1,"record_length":96,"hex_timestamp":"0000019db5581d40"} 
[2026-04-22 18: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-22 18:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:52: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-22 18: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-22 18: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-22 18:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:52:33] 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-22 18:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":12428,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:52:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":12428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":50912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:52:33] local.INFO: GPS data processed {"connection_id":50912,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:52:33] local.INFO: Acknowledgment sent {"connection_id":50912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:52:36] local.INFO: TCP Data received {"connection_id":51475,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:52:36] local.INFO: Processing buffer {"connection_id":51475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:52:36] local.INFO: Packet analysis {"connection_id":51475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:36] local.INFO: Extracted packet for processing {"connection_id":51475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52: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-22 18:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18: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-22 18:52: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-22 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:52: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-22 18: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-22 18: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-22 18:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:52:36] local.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-22 18:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:52:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":51475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:52:36] local.INFO: GPS data processed {"connection_id":51475,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:52:36] local.INFO: Acknowledgment sent {"connection_id":51475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:52:53] local.INFO: TCP Data received {"connection_id":50783,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55aa998012d7fbd0005be63b8000600bf26..."} 
[2026-04-22 18:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55aa998012d7fbd0005be63b8000600bf26..."} 
[2026-04-22 18:52:53] local.INFO: Processing buffer {"connection_id":50783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55aa998012d7fbd0005be63b8000600bf26..."} 
[2026-04-22 18:52:53] local.INFO: Packet analysis {"connection_id":50783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55a"} 
[2026-04-22 18:52:53] local.INFO: Extracted packet for processing {"connection_id":50783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55a"} 
[2026-04-22 18:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763346176,"raw_latitude":96363448,"longitude_deg":76.3346176,"latitude_deg":9.6363448,"altitude":6,"angle":191,"satellites":38,"speed":23,"hex_longitude":"2d7fbd00","hex_latitude":"05be63b8","is_valid_coordinates":true} 
[2026-04-22 18:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877209088001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74952054103080960,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206553931667724288,"note":"Value kept but may cause issues"} 
[2026-04-22 18:52:53] 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-22 18:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776864111000,"timestamp_ms":1776864111000,"timestamp_seconds":1776864111,"priority":1,"record_length":96,"hex_timestamp":"0000019db55aa998"} 
[2026-04-22 18:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 18:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-22 18:52:53] 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-22 18:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":50783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":50783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":50783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877209088001,"66":12178,"52":206,"85":12288,"24":23,"16":74952054103080960,"45":9206553931667724288},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-22 18:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877209088001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:52:53] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-22 18:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74952054103080960,"km_value":74952054103080.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206553931667724288,"description":"Unknown IO ID 45"} 
[2026-04-22 18:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877209088001,"power":12178,"unknown_52":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9206553931667724288}} 
[2026-04-22 18:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":50783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:52:53] local.INFO: GPS data processed {"connection_id":50783,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:52:53] local.INFO: Acknowledgment sent {"connection_id":50783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:53:04] local.INFO: TCP Data received {"connection_id":50912,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:53:04] local.INFO: Processing buffer {"connection_id":50912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:53:04] local.INFO: Packet analysis {"connection_id":50912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:04] local.INFO: Extracted packet for processing {"connection_id":50912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":34,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776863944000,"timestamp_ms":1776863944000,"timestamp_seconds":1776863944,"priority":1,"record_length":96,"hex_timestamp":"0000019db5581d40"} 
[2026-04-22 18:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:53:04] 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-22 18:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:53:04] 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-22 18:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":12428,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:53:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":12428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":50912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:53:04] local.INFO: GPS data processed {"connection_id":50912,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:53:04] local.INFO: Acknowledgment sent {"connection_id":50912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:53:07] local.INFO: TCP Data received {"connection_id":51475,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:53:07] local.INFO: Processing buffer {"connection_id":51475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:53:07] local.INFO: Packet analysis {"connection_id":51475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:07] local.INFO: Extracted packet for processing {"connection_id":51475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:07] 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-22 18:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18: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-22 18:53: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-22 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:53:07] 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-22 18: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-22 18: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-22 18:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:53:07] local.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-22 18:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":51475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:53:07] local.INFO: GPS data processed {"connection_id":51475,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:53:07] local.INFO: Acknowledgment sent {"connection_id":51475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:53:10] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:53:10] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:53:10] local.INFO: IMEI packet received {"connection_id":50515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":50515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:53:14] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:53:14] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:53:14] local.INFO: IMEI packet received {"connection_id":50515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":50515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:53:15] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:53:15] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:53:15] local.INFO: IMEI packet received {"connection_id":50515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":50515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:53:16] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55ad490012d7fb68005be4168000700bf26..."} 
[2026-04-22 18:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55ad490012d7fb68005be4168000700bf26..."} 
[2026-04-22 18:53:16] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55ad490012d7fb68005be4168000700bf26..."} 
[2026-04-22 18:53:16] local.INFO: Packet analysis {"connection_id":50515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55a"} 
[2026-04-22 18:53:16] local.INFO: Extracted packet for processing {"connection_id":50515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55a"} 
[2026-04-22 18:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763344512,"raw_latitude":96354664,"longitude_deg":76.3344512,"latitude_deg":9.6354664,"altitude":7,"angle":191,"satellites":38,"speed":40,"hex_longitude":"2d7fb680","hex_latitude":"05be4168","is_valid_coordinates":true} 
[2026-04-22 18:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877212416001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74952487894777856,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204513238084204544,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:16] 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-22 18:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864122000,"timestamp_ms":1776864122000,"timestamp_seconds":1776864122,"priority":1,"record_length":96,"hex_timestamp":"0000019db55ad490"} 
[2026-04-22 18:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:53: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-22 18:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-22 18:53:16] 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-22 18:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877212416001,"66":12515,"52":206,"85":12288,"24":40,"16":74952487894777856,"45":9204513238084204544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-22 18:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877212416001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:53:16] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-22 18:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74952487894777856,"km_value":74952487894777.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204513238084204544,"description":"Unknown IO ID 45"} 
[2026-04-22 18:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877212416001,"power":12515,"unknown_52":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9204513238084204544}} 
[2026-04-22 18:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":50515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:53:16] local.INFO: GPS data processed {"connection_id":50515,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:53:16] local.INFO: Acknowledgment sent {"connection_id":50515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:53:20] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55afba0012d7faf8005be1e00000600be26..."} 
[2026-04-22 18:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55afba0012d7faf8005be1e00000600be26..."} 
[2026-04-22 18:53:20] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55afba0012d7faf8005be1e00000600be26..."} 
[2026-04-22 18:53:20] local.INFO: Packet analysis {"connection_id":50515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55a"} 
[2026-04-22 18:53:20] local.INFO: Extracted packet for processing {"connection_id":50515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55a"} 
[2026-04-22 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":96345600,"longitude_deg":76.334272,"latitude_deg":9.63456,"altitude":6,"angle":190,"satellites":38,"speed":34,"hex_longitude":"2d7faf80","hex_latitude":"05be1e00","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877215232001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74952934571376640,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9202683650733336576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:20] 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-22 18:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776864132000,"timestamp_ms":1776864132000,"timestamp_seconds":1776864132,"priority":1,"record_length":96,"hex_timestamp":"0000019db55afba0"} 
[2026-04-22 18: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-22 18:53: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-22 18:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-22 18:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877215232001,"66":12232,"52":206,"85":12288,"24":34,"16":74952934571376640,"45":9202683650733336576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-22 18:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877215232001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:53:20] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-22 18:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 18:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74952934571376640,"km_value":74952934571376.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9202683650733336576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877215232001,"power":12232,"unknown_52":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9202683650733336576}} 
[2026-04-22 18:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":50515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:53:21] local.INFO: GPS data processed {"connection_id":50515,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:53:21] local.INFO: Acknowledgment sent {"connection_id":50515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:53:25] local.INFO: TCP Data received {"connection_id":51476,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:53:25] local.INFO: Processing buffer {"connection_id":51476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:53:25] local.INFO: IMEI packet received {"connection_id":51476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":51476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:53:30] local.INFO: TCP Data received {"connection_id":51476,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:53:30] local.INFO: Processing buffer {"connection_id":51476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:53:30] local.INFO: IMEI packet received {"connection_id":51476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":51476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:53:31] local.INFO: TCP Data received {"connection_id":51476,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:53:31] local.INFO: Processing buffer {"connection_id":51476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:53:31] local.INFO: Packet analysis {"connection_id":51476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:31] local.INFO: Extracted packet for processing {"connection_id":51476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:31] 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-22 18:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18: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-22 18:53: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-22 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:53: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-22 18: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-22 18: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-22 18:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":51476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:53:31] local.INFO: GPS data processed {"connection_id":51476,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:53:31] local.INFO: Acknowledgment sent {"connection_id":51476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:53:32] local.INFO: TCP Data received {"connection_id":50913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:53:32] local.INFO: Processing buffer {"connection_id":50913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:53:32] local.INFO: IMEI packet received {"connection_id":50913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:53:37] local.INFO: TCP Data received {"connection_id":50913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:53:37] local.INFO: Processing buffer {"connection_id":50913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:53:37] local.INFO: IMEI packet received {"connection_id":50913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":50913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:53:38] local.INFO: TCP Data received {"connection_id":50913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:53:38] local.INFO: Processing buffer {"connection_id":50913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:53:38] local.INFO: Packet analysis {"connection_id":50913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:38] local.INFO: Extracted packet for processing {"connection_id":50913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":34,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776863944000,"timestamp_ms":1776863944000,"timestamp_seconds":1776863944,"priority":1,"record_length":96,"hex_timestamp":"0000019db5581d40"} 
[2026-04-22 18:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:53:38] 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-22 18:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":12428,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:53:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":12428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":50913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:53:38] local.INFO: GPS data processed {"connection_id":50913,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:53:38] local.INFO: Acknowledgment sent {"connection_id":50913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:53:42] local.INFO: TCP Data received {"connection_id":50913,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:53:42] local.INFO: Processing buffer {"connection_id":50913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:53:42] local.INFO: Packet analysis {"connection_id":50913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:42] local.INFO: Extracted packet for processing {"connection_id":50913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":34,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776863944000,"timestamp_ms":1776863944000,"timestamp_seconds":1776863944,"priority":1,"record_length":96,"hex_timestamp":"0000019db5581d40"} 
[2026-04-22 18:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":12428,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:53:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":12428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":50913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:53:42] local.INFO: GPS data processed {"connection_id":50913,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:53:42] local.INFO: Acknowledgment sent {"connection_id":50913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:53:52] local.INFO: TCP Data received {"connection_id":50515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55b1ec8012d7fa9c005bdf9a0000500bc26..."} 
[2026-04-22 18:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55b1ec8012d7fa9c005bdf9a0000500bc26..."} 
[2026-04-22 18:53:52] local.INFO: Processing buffer {"connection_id":50515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55b1ec8012d7fa9c005bdf9a0000500bc26..."} 
[2026-04-22 18:53:52] local.INFO: Packet analysis {"connection_id":50515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55b"} 
[2026-04-22 18:53:52] local.INFO: Extracted packet for processing {"connection_id":50515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55b"} 
[2026-04-22 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":96336288,"longitude_deg":76.3341248,"latitude_deg":9.6336288,"altitude":5,"angle":188,"satellites":38,"speed":48,"hex_longitude":"2d7fa9c0","hex_latitude":"05bdf9a0","is_valid_coordinates":true} 
[2026-04-22 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-22 18:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877217792001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74953389837910016,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325894041600,"note":"Value kept but may cause issues"} 
[2026-04-22 18:53:52] 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-22 18:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776864141000,"timestamp_ms":1776864141000,"timestamp_seconds":1776864141,"priority":1,"record_length":96,"hex_timestamp":"0000019db55b1ec8"} 
[2026-04-22 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-22 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-22 18:53: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-22 18: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-22 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-22 18:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":50515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":50515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":50515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877217792001,"66":12287,"119":206,"85":12544,"24":48,"16":74953389837910016,"45":9200713325894041600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 18:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877217792001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:53:52] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 18:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74953389837910016,"km_value":74953389837910.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325894041600,"description":"Unknown IO ID 45"} 
[2026-04-22 18:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877217792001,"power":12287,"unknown_119":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9200713325894041600}} 
[2026-04-22 18:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":50515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:53:52] local.INFO: GPS data processed {"connection_id":50515,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:53:52] local.INFO: Acknowledgment sent {"connection_id":50515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:54:02] local.INFO: TCP Data received {"connection_id":51476,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:54:02] local.INFO: Processing buffer {"connection_id":51476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:54:02] local.INFO: Packet analysis {"connection_id":51476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:54:02] local.INFO: Extracted packet for processing {"connection_id":51476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:02] 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-22 18:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:54: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-22 18:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:54:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":51476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:54:02] local.INFO: GPS data processed {"connection_id":51476,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:54:02] local.INFO: Acknowledgment sent {"connection_id":51476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:54:10] local.INFO: TCP Data received {"connection_id":51477,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:54:10] local.INFO: Processing buffer {"connection_id":51477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:54:10] local.INFO: IMEI packet received {"connection_id":51477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":51477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:54:15] local.INFO: TCP Data received {"connection_id":51477,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:54:15] local.INFO: Processing buffer {"connection_id":51477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:54:15] local.INFO: IMEI packet received {"connection_id":51477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":51477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:54:16] local.INFO: TCP Data received {"connection_id":51477,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55b3e08012d7fa40005bdd500000700bd27..."} 
[2026-04-22 18:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55b3e08012d7fa40005bdd500000700bd27..."} 
[2026-04-22 18:54:16] local.INFO: Processing buffer {"connection_id":51477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55b3e08012d7fa40005bdd500000700bd27..."} 
[2026-04-22 18:54:16] local.INFO: Packet analysis {"connection_id":51477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55b"} 
[2026-04-22 18:54:16] local.INFO: Extracted packet for processing {"connection_id":51477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55b"} 
[2026-04-22 18:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763339776,"raw_latitude":96326912,"longitude_deg":76.3339776,"latitude_deg":9.6326912,"altitude":7,"angle":189,"satellites":39,"speed":41,"hex_longitude":"2d7fa400","hex_latitude":"05bdd500","is_valid_coordinates":true} 
[2026-04-22 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877220096001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74953849399410688,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844775571456,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:16] 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-22 18:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864149000,"timestamp_ms":1776864149000,"timestamp_seconds":1776864149,"priority":1,"record_length":96,"hex_timestamp":"0000019db55b3e08"} 
[2026-04-22 18:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:54: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-22 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 18:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877220096001,"66":12189,"119":206,"85":12544,"24":41,"16":74953849399410688,"45":9199094844775571456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 18:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877220096001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:54:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 18:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74953849399410688,"km_value":74953849399410.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844775571456,"description":"Unknown IO ID 45"} 
[2026-04-22 18:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877220096001,"power":12189,"unknown_119":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9199094844775571456}} 
[2026-04-22 18:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":51477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:54:16] local.INFO: GPS data processed {"connection_id":51477,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:54:16] local.INFO: Acknowledgment sent {"connection_id":51477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:54:27] local.INFO: TCP Data received {"connection_id":50785,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:54:27] local.INFO: Processing buffer {"connection_id":50785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:54:27] local.INFO: IMEI packet received {"connection_id":50785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":50785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:54:30] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:54:30] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:54:30] local.INFO: IMEI packet received {"connection_id":50786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":50786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:54:32] local.INFO: TCP Data received {"connection_id":50785,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:54:32] local.INFO: Processing buffer {"connection_id":50785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:54:32] local.INFO: IMEI packet received {"connection_id":50785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:54:33] local.INFO: TCP Data received {"connection_id":50785,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:54:33] local.INFO: Processing buffer {"connection_id":50785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5581d40012d1b02c0072479d80026013622..."} 
[2026-04-22 18:54:33] local.INFO: Packet analysis {"connection_id":50785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:54:33] local.INFO: Extracted packet for processing {"connection_id":50785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831000,"longitude_deg":75.6744896,"latitude_deg":11.9831,"altitude":38,"angle":310,"satellites":34,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"072479d8","is_valid_coordinates":true} 
[2026-04-22 18:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776863944000,"timestamp_ms":1776863944000,"timestamp_seconds":1776863944,"priority":1,"record_length":96,"hex_timestamp":"0000019db5581d40"} 
[2026-04-22 18:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:54: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-22 18:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:54: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-22 18:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":12428,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:54:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":12428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":50785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:54:33] local.INFO: GPS data processed {"connection_id":50785,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:54:33] local.INFO: Acknowledgment sent {"connection_id":50785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:54:35] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:54:35] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:54:35] local.INFO: IMEI packet received {"connection_id":50786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":50786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:54:36] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:54:36] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:54:36] local.INFO: Packet analysis {"connection_id":50786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:54:36] local.INFO: Extracted packet for processing {"connection_id":50786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54: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-22 18:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:54: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-22 18:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:54: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-22 18:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:54:36] 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-22 18:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":50786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:54:36] local.INFO: GPS data processed {"connection_id":50786,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:54:36] local.INFO: Acknowledgment sent {"connection_id":50786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:54:41] local.INFO: TCP Data received {"connection_id":50786,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:54:41] local.INFO: Processing buffer {"connection_id":50786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5585008012d7fa74005afda30000d013a2b..."} 
[2026-04-22 18:54:41] local.INFO: Packet analysis {"connection_id":50786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:54:41] local.INFO: Extracted packet for processing {"connection_id":50786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db558"} 
[2026-04-22 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877095936001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:41] 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-22 18:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776863957000,"timestamp_ms":1776863957000,"timestamp_seconds":1776863957,"priority":1,"record_length":96,"hex_timestamp":"0000019db5585008"} 
[2026-04-22 18:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:54:41] 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-22 18:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877095936001,"66":25321,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877095936001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:54:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877095936001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":50786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:54:41] local.INFO: GPS data processed {"connection_id":50786,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:54:41] local.INFO: Acknowledgment sent {"connection_id":50786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:54:47] local.INFO: TCP Data received {"connection_id":51477,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55b6518012d7f9d8005bdb040000800be27..."} 
[2026-04-22 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55b6518012d7f9d8005bdb040000800be27..."} 
[2026-04-22 18:54:47] local.INFO: Processing buffer {"connection_id":51477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55b6518012d7f9d8005bdb040000800be27..."} 
[2026-04-22 18:54:47] local.INFO: Packet analysis {"connection_id":51477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55b"} 
[2026-04-22 18:54:47] local.INFO: Extracted packet for processing {"connection_id":51477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55b"} 
[2026-04-22 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":96317504,"longitude_deg":76.3338112,"latitude_deg":9.6317504,"altitude":8,"angle":190,"satellites":39,"speed":42,"hex_longitude":"2d7f9d80","hex_latitude":"05bdb040","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877222144001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74954313255878656,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197476363657084928,"note":"Value kept but may cause issues"} 
[2026-04-22 18:54:47] 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-22 18:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776864159000,"timestamp_ms":1776864159000,"timestamp_seconds":1776864159,"priority":1,"record_length":96,"hex_timestamp":"0000019db55b6518"} 
[2026-04-22 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-22 18:54: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-22 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-04-22 18:54:47] 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-22 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-22 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-22 18:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877222144001,"66":12624,"119":206,"85":12544,"24":42,"16":74954313255878656,"45":9197476363657084928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-22 18:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877222144001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:54:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-22 18:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74954313255878656,"km_value":74954313255878.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197476363657084928,"description":"Unknown IO ID 45"} 
[2026-04-22 18:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877222144001,"power":12624,"unknown_119":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9197476363657084928}} 
[2026-04-22 18:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":51477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:54:47] local.INFO: GPS data processed {"connection_id":51477,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:54:47] local.INFO: Acknowledgment sent {"connection_id":51477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:55:04] local.INFO: TCP Data received {"connection_id":50785,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:55:04] local.INFO: Processing buffer {"connection_id":50785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:55:04] local.INFO: Packet analysis {"connection_id":50785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:55:04] local.INFO: Extracted packet for processing {"connection_id":50785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:55:04] 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-22 18:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:55:04] 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-22 18:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:55:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":50785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:55:04] local.INFO: GPS data processed {"connection_id":50785,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:55:04] local.INFO: Acknowledgment sent {"connection_id":50785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:55:11] local.INFO: TCP Data received {"connection_id":50517,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:55:11] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:55:11] local.INFO: IMEI packet received {"connection_id":50517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":50517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:55:15] local.INFO: TCP Data received {"connection_id":50517,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:55:15] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:55:15] local.INFO: IMEI packet received {"connection_id":50517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":50517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:55:20] local.INFO: TCP Data received {"connection_id":50517,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:55:20] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:55:20] local.INFO: IMEI packet received {"connection_id":50517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":50517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:55:21] local.INFO: TCP Data received {"connection_id":50517,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d3dc0012d7f508005bc2d18000b00bd27..."} 
[2026-04-22 18:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d3dc0012d7f508005bc2d18000b00bd27..."} 
[2026-04-22 18:55:21] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d3dc0012d7f508005bc2d18000b00bd27..."} 
[2026-04-22 18:55:21] local.INFO: Packet analysis {"connection_id":50517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:55:21] local.INFO: Extracted packet for processing {"connection_id":50517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763318400,"raw_latitude":96218392,"longitude_deg":76.33184,"latitude_deg":9.6218392,"altitude":11,"angle":189,"satellites":39,"speed":50,"hex_longitude":"2d7f5080","hex_latitude":"05bc2d18","is_valid_coordinates":true} 
[2026-04-22 18:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877253632001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74959218108530688,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175802790425022464,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776864280000,"timestamp_ms":1776864280000,"timestamp_seconds":1776864280,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d3dc0"} 
[2026-04-22 18:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 18:55:21] 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-22 18:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":50517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":50517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":50517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877253632001,"66":12613,"121":206,"85":12544,"24":50,"16":74959218108530688,"45":9175802790425022464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877253632001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:55:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74959218108530688,"km_value":74959218108530.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175802790425022464,"description":"Unknown IO ID 45"} 
[2026-04-22 18:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877253632001,"power":12613,"unknown_121":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9175802790425022464}} 
[2026-04-22 18:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":50517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:55:21] local.INFO: GPS data processed {"connection_id":50517,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:55:21] local.INFO: Acknowledgment sent {"connection_id":50517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:55:22] local.INFO: TCP Data received {"connection_id":50517,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d5918012d7f4a4005bc0ac0000a00bf26..."} 
[2026-04-22 18:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d5918012d7f4a4005bc0ac0000a00bf26..."} 
[2026-04-22 18:55:22] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d5918012d7f4a4005bc0ac0000a00bf26..."} 
[2026-04-22 18:55:22] local.INFO: Packet analysis {"connection_id":50517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:55:22] local.INFO: Extracted packet for processing {"connection_id":50517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763316800,"raw_latitude":96209600,"longitude_deg":76.33168,"latitude_deg":9.62096,"altitude":10,"angle":191,"satellites":38,"speed":51,"hex_longitude":"2d7f4a40","hex_latitude":"05bc0ac0","is_valid_coordinates":true} 
[2026-04-22 18:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877255680001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74959647605260288,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173973203073964032,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:22] 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-22 18:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776864287000,"timestamp_ms":1776864287000,"timestamp_seconds":1776864287,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d5918"} 
[2026-04-22 18:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:55: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-22 18:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-22 18:55:22] 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-22 18:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":50517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":50517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":50517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877255680001,"66":12461,"121":206,"85":12544,"24":51,"16":74959647605260288,"45":9173973203073964032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877255680001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:55:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74959647605260288,"km_value":74959647605260.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173973203073964032,"description":"Unknown IO ID 45"} 
[2026-04-22 18:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877255680001,"power":12461,"unknown_121":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9173973203073964032}} 
[2026-04-22 18:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":50517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:55:22] local.INFO: GPS data processed {"connection_id":50517,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:55:22] local.INFO: Acknowledgment sent {"connection_id":50517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:55:25] local.INFO: TCP Data received {"connection_id":50914,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:55:25] local.INFO: Processing buffer {"connection_id":50914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:55:25] local.INFO: IMEI packet received {"connection_id":50914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":50914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:55:27] local.INFO: TCP Data received {"connection_id":50915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:55:27] local.INFO: Processing buffer {"connection_id":50915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:55:27] local.INFO: IMEI packet received {"connection_id":50915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":50915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:55:30] local.INFO: TCP Data received {"connection_id":50914,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:55:30] local.INFO: Processing buffer {"connection_id":50914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:55:30] local.INFO: IMEI packet received {"connection_id":50914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":50914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:55:31] local.INFO: TCP Data received {"connection_id":50914,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc4a8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc4a8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:55:31] local.INFO: Processing buffer {"connection_id":50914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc4a8012d7fa74005afda30000d013a2d..."} 
[2026-04-22 18:55:31] local.INFO: Packet analysis {"connection_id":50914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:55:31] local.INFO: Extracted packet for processing {"connection_id":50914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763340608,"raw_latitude":95410736,"longitude_deg":76.3340608,"latitude_deg":9.5410736,"altitude":13,"angle":314,"satellites":45,"speed":0,"hex_longitude":"2d7fa740","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-22 18:55: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-22 18:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877172992001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:31] 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-22 18:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864249000,"timestamp_ms":1776864249000,"timestamp_seconds":1776864249,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc4a8"} 
[2026-04-22 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-22 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-22 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-22 18: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-22 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-22 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-22 18:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877172992001,"66":25299,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877172992001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877172992001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":50914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:55:31] local.INFO: GPS data processed {"connection_id":50914,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:55:31] local.INFO: Acknowledgment sent {"connection_id":50914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:55:32] local.INFO: TCP Data received {"connection_id":50915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:55:32] local.INFO: Processing buffer {"connection_id":50915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:55:32] local.INFO: IMEI packet received {"connection_id":50915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:55:33] local.INFO: TCP Data received {"connection_id":50915,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:55:33] local.INFO: Processing buffer {"connection_id":50915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:55:33] local.INFO: Packet analysis {"connection_id":50915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:55:33] local.INFO: Extracted packet for processing {"connection_id":50915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:55: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-22 18:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:55: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-22 18:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:55:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":50915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:55:33] local.INFO: GPS data processed {"connection_id":50915,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:55:33] local.INFO: Acknowledgment sent {"connection_id":50915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:55:53] local.INFO: TCP Data received {"connection_id":50517,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d7858012d7f42c005bbe4f0000b00bf27..."} 
[2026-04-22 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d7858012d7f42c005bbe4f0000b00bf27..."} 
[2026-04-22 18:55:53] local.INFO: Processing buffer {"connection_id":50517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d7858012d7f42c005bbe4f0000b00bf27..."} 
[2026-04-22 18:55:53] local.INFO: Packet analysis {"connection_id":50517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:55:53] local.INFO: Extracted packet for processing {"connection_id":50517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:55:53] local.INFO: GPS Element Parsed {"raw_longitude":763314880,"raw_latitude":96199920,"longitude_deg":76.331488,"latitude_deg":9.619992,"altitude":11,"angle":191,"satellites":39,"speed":50,"hex_longitude":"2d7f42c0","hex_latitude":"05bbe4f0","is_valid_coordinates":true} 
[2026-04-22 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-22 18:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877257472001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74960128641597440,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172213984467271680,"note":"Value kept but may cause issues"} 
[2026-04-22 18:55:53] 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-22 18:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776864295000,"timestamp_ms":1776864295000,"timestamp_seconds":1776864295,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d7858"} 
[2026-04-22 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-22 18:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:55: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-22 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-22 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-22 18:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":50517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":50517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":50517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877257472001,"66":12461,"121":206,"85":12544,"24":50,"16":74960128641597440,"45":9172213984467271680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877257472001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:55:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:55:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74960128641597440,"km_value":74960128641597.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172213984467271680,"description":"Unknown IO ID 45"} 
[2026-04-22 18:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877257472001,"power":12461,"unknown_121":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9172213984467271680}} 
[2026-04-22 18:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":50517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:55:53] local.INFO: GPS data processed {"connection_id":50517,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:55:53] local.INFO: Acknowledgment sent {"connection_id":50517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:56:02] local.INFO: TCP Data received {"connection_id":50914,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cd448012d7fa5c005afd990000d01112d..."} 
[2026-04-22 18:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cd448012d7fa5c005afd990000d01112d..."} 
[2026-04-22 18:56:02] local.INFO: Processing buffer {"connection_id":50914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cd448012d7fa5c005afd990000d01112d..."} 
[2026-04-22 18:56:02] local.INFO: Packet analysis {"connection_id":50914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:56:02] local.INFO: Extracted packet for processing {"connection_id":50914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877247744001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198391157096853504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:02] 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-22 18:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776864253000,"timestamp_ms":1776864253000,"timestamp_seconds":1776864253,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cd448"} 
[2026-04-22 18: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-22 18:56: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-22 18: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-22 18:56:02] 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-22 18: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-22 18: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-22 18:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:56:02] 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-22 18:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877247744001,"66":22255,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9198391157096853504},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 18:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877247744001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:56:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198391157096853504,"description":"Unknown IO ID 45"} 
[2026-04-22 18:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877247744001,"power":22255,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198391157096853504}} 
[2026-04-22 18:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":50914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:56:02] local.INFO: GPS data processed {"connection_id":50914,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:56:02] local.INFO: Acknowledgment sent {"connection_id":50914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:56:04] local.INFO: TCP Data received {"connection_id":50915,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:56:04] local.INFO: Processing buffer {"connection_id":50915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:56:04] local.INFO: Packet analysis {"connection_id":50915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:56:04] local.INFO: Extracted packet for processing {"connection_id":50915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:56:04] 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-22 18:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:56:04] 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-22 18:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:56:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":50915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:56:04] local.INFO: GPS data processed {"connection_id":50915,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:56:04] local.INFO: Acknowledgment sent {"connection_id":50915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:56:10] local.INFO: TCP Data received {"connection_id":51478,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:56:10] local.INFO: Processing buffer {"connection_id":51478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:56:10] local.INFO: IMEI packet received {"connection_id":51478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":51478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:56:15] local.INFO: TCP Data received {"connection_id":51478,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:56:15] local.INFO: Processing buffer {"connection_id":51478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:56:15] local.INFO: IMEI packet received {"connection_id":51478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":51478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:56:16] local.INFO: TCP Data received {"connection_id":51478,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d93b0012d7f3c4005bbc178000a00bd26..."} 
[2026-04-22 18:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d93b0012d7f3c4005bbc178000a00bd26..."} 
[2026-04-22 18:56:16] local.INFO: Processing buffer {"connection_id":51478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d93b0012d7f3c4005bbc178000a00bd26..."} 
[2026-04-22 18:56:16] local.INFO: Packet analysis {"connection_id":51478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:56:16] local.INFO: Extracted packet for processing {"connection_id":51478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:56:16] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":96190840,"longitude_deg":76.3313216,"latitude_deg":9.619084,"altitude":10,"angle":189,"satellites":38,"speed":53,"hex_longitude":"2d7f3c40","hex_latitude":"05bbc178","is_valid_coordinates":true} 
[2026-04-22 18:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259520001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74960575318196224,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170102922139463680,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:16] 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-22 18:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864302000,"timestamp_ms":1776864302000,"timestamp_seconds":1776864302,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d93b0"} 
[2026-04-22 18:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:56: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-22 18:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:56: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-22 18:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259520001,"66":12602,"121":206,"85":12544,"24":53,"16":74960575318196224,"45":9170102922139463680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259520001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:56:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74960575318196224,"km_value":74960575318196.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170102922139463680,"description":"Unknown IO ID 45"} 
[2026-04-22 18:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259520001,"power":12602,"unknown_121":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9170102922139463680}} 
[2026-04-22 18:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":51478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:56:16] local.INFO: GPS data processed {"connection_id":51478,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:56:16] local.INFO: Acknowledgment sent {"connection_id":51478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:56:25] local.INFO: TCP Data received {"connection_id":50518,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:56:25] local.INFO: Processing buffer {"connection_id":50518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:56:25] local.INFO: IMEI packet received {"connection_id":50518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":50518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:56:27] local.INFO: TCP Data received {"connection_id":50916,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:56:27] local.INFO: Processing buffer {"connection_id":50916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:56:27] local.INFO: IMEI packet received {"connection_id":50916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":50916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:56:30] local.INFO: TCP Data received {"connection_id":50518,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:56:30] local.INFO: Processing buffer {"connection_id":50518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:56:30] local.INFO: IMEI packet received {"connection_id":50518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":50518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:56:31] local.INFO: TCP Data received {"connection_id":50518,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d2650012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d2650012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:56:31] local.INFO: Processing buffer {"connection_id":50518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d2650012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:56:31] local.INFO: Packet analysis {"connection_id":50518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:56:31] local.INFO: Extracted packet for processing {"connection_id":50518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877248768001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:31] 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-22 18:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864274000,"timestamp_ms":1776864274000,"timestamp_seconds":1776864274,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d2650"} 
[2026-04-22 18:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":86,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-22 18:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:56: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-22 18:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877248768001,"66":27767,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 18:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877248768001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:56:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877248768001,"power":27767,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 18:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":50518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:56:31] local.INFO: GPS data processed {"connection_id":50518,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:56:31] local.INFO: Acknowledgment sent {"connection_id":50518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:56:32] local.INFO: TCP Data received {"connection_id":50916,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:56:32] local.INFO: Processing buffer {"connection_id":50916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:56:32] local.INFO: IMEI packet received {"connection_id":50916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:56:33] local.INFO: TCP Data received {"connection_id":50916,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:56:33] local.INFO: Processing buffer {"connection_id":50916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:56:33] local.INFO: Packet analysis {"connection_id":50916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:56:33] local.INFO: Extracted packet for processing {"connection_id":50916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:56: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-22 18:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:56:33] 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-22 18:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:56:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":50916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:56:33] local.INFO: GPS data processed {"connection_id":50916,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:56:33] local.INFO: Acknowledgment sent {"connection_id":50916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:56:48] local.INFO: TCP Data received {"connection_id":51478,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55daf08012d7f358005bb9ee8000900be26..."} 
[2026-04-22 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55daf08012d7f358005bb9ee8000900be26..."} 
[2026-04-22 18:56:48] local.INFO: Processing buffer {"connection_id":51478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55daf08012d7f358005bb9ee8000900be26..."} 
[2026-04-22 18:56:48] local.INFO: Packet analysis {"connection_id":51478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:56:48] local.INFO: Extracted packet for processing {"connection_id":51478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:56:48] local.INFO: GPS Element Parsed {"raw_longitude":763311488,"raw_latitude":96181992,"longitude_deg":76.3311488,"latitude_deg":9.6181992,"altitude":9,"angle":190,"satellites":38,"speed":46,"hex_longitude":"2d7f3580","hex_latitude":"05bb9ee8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877261312001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74961013404860416,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273334788519936,"note":"Value kept but may cause issues"} 
[2026-04-22 18:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776864309000,"timestamp_ms":1776864309000,"timestamp_seconds":1776864309,"priority":1,"record_length":96,"hex_timestamp":"0000019db55daf08"} 
[2026-04-22 18: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-22 18:56: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-22 18: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-22 18:56:48] 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-22 18: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-22 18: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-22 18:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":51478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":51478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":51478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877261312001,"66":12439,"121":206,"85":12544,"24":46,"16":74961013404860416,"45":9168273334788519936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877261312001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:56:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:56:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74961013404860416,"km_value":74961013404860.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273334788519936,"description":"Unknown IO ID 45"} 
[2026-04-22 18:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877261312001,"power":12439,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9168273334788519936}} 
[2026-04-22 18:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":51478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:56:48] local.INFO: GPS data processed {"connection_id":51478,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:56:48] local.INFO: Acknowledgment sent {"connection_id":51478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:56:50] local.INFO: TCP Data received {"connection_id":50519,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:56:50] local.INFO: Processing buffer {"connection_id":50519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 18:56:50] local.INFO: IMEI packet received {"connection_id":50519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 18:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":50519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:57:03] local.INFO: TCP Data received {"connection_id":50518,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d7858012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d7858012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:57:03] local.INFO: Processing buffer {"connection_id":50518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d7858012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:57:03] local.INFO: Packet analysis {"connection_id":50518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:57:03] local.INFO: Extracted packet for processing {"connection_id":50518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 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-22 18:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877254144001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57: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-22 18:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776864295000,"timestamp_ms":1776864295000,"timestamp_seconds":1776864295,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d7858"} 
[2026-04-22 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-22 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-22 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-22 18:57: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-22 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-22 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-22 18:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:57: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-22 18:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877254144001,"66":27930,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 18:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877254144001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877254144001,"power":27930,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 18:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":50518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:57:03] local.INFO: GPS data processed {"connection_id":50518,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:57:03] local.INFO: Acknowledgment sent {"connection_id":50518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:57:04] local.INFO: TCP Data received {"connection_id":50916,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:57:04] local.INFO: Processing buffer {"connection_id":50916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:57:04] local.INFO: Packet analysis {"connection_id":50916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:57:04] local.INFO: Extracted packet for processing {"connection_id":50916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:57:04] 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-22 18:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:57:04] 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-22 18:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:57:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":50916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:57:04] local.INFO: GPS data processed {"connection_id":50916,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:57:04] local.INFO: Acknowledgment sent {"connection_id":50916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:57:10] local.INFO: TCP Data received {"connection_id":51479,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:57:10] local.INFO: Processing buffer {"connection_id":51479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:57:10] local.INFO: IMEI packet received {"connection_id":51479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":51479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:57:10] local.INFO: TCP Data received {"connection_id":51479,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:57:10] local.INFO: Processing buffer {"connection_id":51479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:57:10] local.INFO: IMEI packet received {"connection_id":51479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":51479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:57:15] local.INFO: TCP Data received {"connection_id":51479,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:57:15] local.INFO: Processing buffer {"connection_id":51479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:57:15] local.INFO: IMEI packet received {"connection_id":51479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":51479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:57:16] local.INFO: TCP Data received {"connection_id":51479,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55dd230012d7f31c005bb8400000800b226..."} 
[2026-04-22 18:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55dd230012d7f31c005bb8400000800b226..."} 
[2026-04-22 18:57:16] local.INFO: Processing buffer {"connection_id":51479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55dd230012d7f31c005bb8400000800b226..."} 
[2026-04-22 18:57:16] local.INFO: Packet analysis {"connection_id":51479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:57:16] local.INFO: Extracted packet for processing {"connection_id":51479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:57:16] local.INFO: GPS Element Parsed {"raw_longitude":763310528,"raw_latitude":96175104,"longitude_deg":76.3310528,"latitude_deg":9.6175104,"altitude":8,"angle":178,"satellites":38,"speed":23,"hex_longitude":"2d7f31c0","hex_latitude":"05bb8400","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877263104001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74961348412309504,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166373378693457920,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:16] 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-22 18:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864318000,"timestamp_ms":1776864318000,"timestamp_seconds":1776864318,"priority":1,"record_length":96,"hex_timestamp":"0000019db55dd230"} 
[2026-04-22 18: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-22 18:57: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-22 18: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 18:57: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-22 18: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-22 18: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-22 18:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877263104001,"66":12635,"120":206,"85":12544,"24":23,"16":74961348412309504,"45":9166373378693457920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-22 18:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877263104001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:57:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 18:57:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74961348412309504,"km_value":74961348412309.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166373378693457920,"description":"Unknown IO ID 45"} 
[2026-04-22 18:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877263104001,"power":12635,"unknown_120":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9166373378693457920}} 
[2026-04-22 18:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":51479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:57:16] local.INFO: GPS data processed {"connection_id":51479,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:57:16] local.INFO: Acknowledgment sent {"connection_id":51479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:57:25] local.INFO: TCP Data received {"connection_id":50520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:57:25] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:57:25] local.INFO: IMEI packet received {"connection_id":50520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":50520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:57:30] local.INFO: TCP Data received {"connection_id":50520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:57:30] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:57:30] local.INFO: IMEI packet received {"connection_id":50520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":50520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:57:31] local.INFO: TCP Data received {"connection_id":50520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:57:31] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:57:31] local.INFO: Packet analysis {"connection_id":50520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:57:31] local.INFO: Extracted packet for processing {"connection_id":50520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 18:57: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-22 18:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259520001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:31] 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-22 18:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864296000,"timestamp_ms":1776864296000,"timestamp_seconds":1776864296,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d7c40"} 
[2026-04-22 18: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-22 18:57: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-22 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 18:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:57: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-22 18:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259520001,"66":27843,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 18:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259520001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259520001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 18:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":50520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:57:31] local.INFO: GPS data processed {"connection_id":50520,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:57:31] local.INFO: Acknowledgment sent {"connection_id":50520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:57:32] local.INFO: TCP Data received {"connection_id":50789,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:57:32] local.INFO: Processing buffer {"connection_id":50789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:57:32] local.INFO: IMEI packet received {"connection_id":50789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:57:37] local.INFO: TCP Data received {"connection_id":50789,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:57:37] local.INFO: Processing buffer {"connection_id":50789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:57:37] local.INFO: IMEI packet received {"connection_id":50789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":50789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:57:38] local.INFO: TCP Data received {"connection_id":50789,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:57:38] local.INFO: Processing buffer {"connection_id":50789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:57:38] local.INFO: Packet analysis {"connection_id":50789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:57:38] local.INFO: Extracted packet for processing {"connection_id":50789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18: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-22 18:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:57:38] 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-22 18:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:57:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":50789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:57:38] local.INFO: GPS data processed {"connection_id":50789,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:57:38] local.INFO: Acknowledgment sent {"connection_id":50789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:57:42] local.INFO: TCP Data received {"connection_id":50789,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:57:42] local.INFO: Processing buffer {"connection_id":50789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:57:42] local.INFO: Packet analysis {"connection_id":50789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:57:42] local.INFO: Extracted packet for processing {"connection_id":50789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:57:42] 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-22 18:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:57:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":50789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:57:42] local.INFO: GPS data processed {"connection_id":50789,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:57:42] local.INFO: Acknowledgment sent {"connection_id":50789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:57:47] local.INFO: TCP Data received {"connection_id":51479,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55f7fe0012d7f0d4005ba80d8000900bb25..."} 
[2026-04-22 18:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55f7fe0012d7f0d4005ba80d8000900bb25..."} 
[2026-04-22 18:57:47] local.INFO: Processing buffer {"connection_id":51479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55f7fe0012d7f0d4005ba80d8000900bb25..."} 
[2026-04-22 18:57:47] local.INFO: Packet analysis {"connection_id":51479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55f"} 
[2026-04-22 18:57:47] local.INFO: Extracted packet for processing {"connection_id":51479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55f"} 
[2026-04-22 18:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763301184,"raw_latitude":96108760,"longitude_deg":76.3301184,"latitude_deg":9.610876,"altitude":9,"angle":187,"satellites":37,"speed":52,"hex_longitude":"2d7f0d40","hex_latitude":"05ba80d8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877291776001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74964616882421760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156521754492127232,"note":"Value kept but may cause issues"} 
[2026-04-22 18:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776864428000,"timestamp_ms":1776864428000,"timestamp_seconds":1776864428,"priority":1,"record_length":96,"hex_timestamp":"0000019db55f7fe0"} 
[2026-04-22 18:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:57: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-22 18:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-22 18:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877291776001,"66":12461,"121":206,"85":12544,"24":52,"16":74964616882421760,"45":9156521754492127232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877291776001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:57:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74964616882421760,"km_value":74964616882421.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156521754492127232,"description":"Unknown IO ID 45"} 
[2026-04-22 18:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877291776001,"power":12461,"unknown_121":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9156521754492127232}} 
[2026-04-22 18:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":51479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:57:47] local.INFO: GPS data processed {"connection_id":51479,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:57:47] local.INFO: Acknowledgment sent {"connection_id":51479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:58:02] local.INFO: TCP Data received {"connection_id":50520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:58:02] local.INFO: Processing buffer {"connection_id":50520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:58:02] local.INFO: Packet analysis {"connection_id":50520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:58:02] local.INFO: Extracted packet for processing {"connection_id":50520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 18:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259520001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:02] 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-22 18:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776864296000,"timestamp_ms":1776864296000,"timestamp_seconds":1776864296,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d7c40"} 
[2026-04-22 18: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-22 18: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-22 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 18:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:58: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-22 18:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259520001,"66":27843,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 18:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259520001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:58:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259520001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 18:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":50520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:58:02] local.INFO: GPS data processed {"connection_id":50520,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:58:02] local.INFO: Acknowledgment sent {"connection_id":50520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:58:10] local.INFO: TCP Data received {"connection_id":50917,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:58:10] local.INFO: Processing buffer {"connection_id":50917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:58:10] local.INFO: IMEI packet received {"connection_id":50917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":50917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:58:15] local.INFO: TCP Data received {"connection_id":50917,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:58:15] local.INFO: Processing buffer {"connection_id":50917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:58:15] local.INFO: IMEI packet received {"connection_id":50917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":50917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:58:16] local.INFO: TCP Data received {"connection_id":50917,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55f9f20012d7f08c005ba5d00000b00bc25..."} 
[2026-04-22 18:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55f9f20012d7f08c005ba5d00000b00bc25..."} 
[2026-04-22 18:58:16] local.INFO: Processing buffer {"connection_id":50917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55f9f20012d7f08c005ba5d00000b00bc25..."} 
[2026-04-22 18:58:16] local.INFO: Packet analysis {"connection_id":50917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55f"} 
[2026-04-22 18:58:16] local.INFO: Extracted packet for processing {"connection_id":50917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55f"} 
[2026-04-22 18:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763300032,"raw_latitude":96099584,"longitude_deg":76.3300032,"latitude_deg":9.6099584,"altitude":11,"angle":188,"satellites":37,"speed":43,"hex_longitude":"2d7f08c0","hex_latitude":"05ba5d00","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877293568001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74965063559020544,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155044010862106624,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:16] 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-22 18:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864436000,"timestamp_ms":1776864436000,"timestamp_seconds":1776864436,"priority":1,"record_length":96,"hex_timestamp":"0000019db55f9f20"} 
[2026-04-22 18: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-22 18:58: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-22 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:58: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-22 18: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-22 18: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-22 18:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877293568001,"66":12461,"121":206,"85":12544,"24":43,"16":74965063559020544,"45":9155044010862106624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877293568001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:58:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74965063559020544,"km_value":74965063559020.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155044010862106624,"description":"Unknown IO ID 45"} 
[2026-04-22 18:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877293568001,"power":12461,"unknown_121":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9155044010862106624}} 
[2026-04-22 18:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":50917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:58:16] local.INFO: GPS data processed {"connection_id":50917,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:58:16] local.INFO: Acknowledgment sent {"connection_id":50917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:58:25] local.INFO: TCP Data received {"connection_id":51481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:58:25] local.INFO: Processing buffer {"connection_id":51481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:58:25] local.INFO: IMEI packet received {"connection_id":51481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":51481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:58:27] local.INFO: TCP Data received {"connection_id":51480,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:58:27] local.INFO: Processing buffer {"connection_id":51480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:58:27] local.INFO: IMEI packet received {"connection_id":51480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":51480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:58:30] local.INFO: TCP Data received {"connection_id":51481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:58:30] local.INFO: Processing buffer {"connection_id":51481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:58:30] local.INFO: IMEI packet received {"connection_id":51481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":51481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:58:31] local.INFO: TCP Data received {"connection_id":51481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:58:31] local.INFO: Processing buffer {"connection_id":51481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:58:31] local.INFO: Packet analysis {"connection_id":51481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:58:31] local.INFO: Extracted packet for processing {"connection_id":51481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 18:58: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-22 18:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259520001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:31] 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-22 18:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864296000,"timestamp_ms":1776864296000,"timestamp_seconds":1776864296,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d7c40"} 
[2026-04-22 18:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 18:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:58: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-22 18:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259520001,"66":27843,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 18:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259520001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259520001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 18:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":51481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:58:31] local.INFO: GPS data processed {"connection_id":51481,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:58:31] local.INFO: Acknowledgment sent {"connection_id":51481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:58:32] local.INFO: TCP Data received {"connection_id":51480,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:58:32] local.INFO: Processing buffer {"connection_id":51480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:58:32] local.INFO: IMEI packet received {"connection_id":51480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":51480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:58:35] local.INFO: TCP Data received {"connection_id":51480,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:58:35] local.INFO: Processing buffer {"connection_id":51480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:58:35] local.INFO: Packet analysis {"connection_id":51480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:58:35] local.INFO: Extracted packet for processing {"connection_id":51480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:58:35] 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-22 18:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:58:35] 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-22 18:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:58:35] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":51480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:58:35] local.INFO: GPS data processed {"connection_id":51480,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:58:35] local.INFO: Acknowledgment sent {"connection_id":51480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:58:47] local.INFO: TCP Data received {"connection_id":50917,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db55fd5d0012d7f03c005ba3a18000900bb24..."} 
[2026-04-22 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55fd5d0012d7f03c005ba3a18000900bb24..."} 
[2026-04-22 18:58:47] local.INFO: Processing buffer {"connection_id":50917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55fd5d0012d7f03c005ba3a18000900bb24..."} 
[2026-04-22 18:58:47] local.INFO: Packet analysis {"connection_id":50917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55f"} 
[2026-04-22 18:58:47] local.INFO: Extracted packet for processing {"connection_id":50917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55f"} 
[2026-04-22 18:58:47] local.INFO: GPS Element Parsed {"raw_longitude":763298752,"raw_latitude":96090648,"longitude_deg":76.3298752,"latitude_deg":9.6090648,"altitude":9,"angle":187,"satellites":36,"speed":15,"hex_longitude":"2d7f03c0","hex_latitude":"05ba3a18","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877295616001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74965505940652032,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153777373464559616,"note":"Value kept but may cause issues"} 
[2026-04-22 18:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776864450000,"timestamp_ms":1776864450000,"timestamp_seconds":1776864450,"priority":1,"record_length":96,"hex_timestamp":"0000019db55fd5d0"} 
[2026-04-22 18: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-22 18:58: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-22 18: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":173,"data_length":795,"current_offset":136} 
[2026-04-22 18:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877295616001,"66":12385,"121":206,"85":12544,"24":15,"16":74965505940652032,"45":9153777373464559616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877295616001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:58:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74965505940652032,"km_value":74965505940652.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153777373464559616,"description":"Unknown IO ID 45"} 
[2026-04-22 18:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877295616001,"power":12385,"unknown_121":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9153777373464559616}} 
[2026-04-22 18:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":50917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:58:47] local.INFO: GPS data processed {"connection_id":50917,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:58:47] local.INFO: Acknowledgment sent {"connection_id":50917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:59:01] local.INFO: TCP Data received {"connection_id":51481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:59:01] local.INFO: Processing buffer {"connection_id":51481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:59:01] local.INFO: Packet analysis {"connection_id":51481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:59:01] local.INFO: Extracted packet for processing {"connection_id":51481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 18:59: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-22 18:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259520001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:01] 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-22 18:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776864296000,"timestamp_ms":1776864296000,"timestamp_seconds":1776864296,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d7c40"} 
[2026-04-22 18: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-22 18: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-22 18:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 18:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18: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-22 18: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-22 18:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":51481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":51481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":51481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:59: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-22 18:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259520001,"66":27843,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 18:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259520001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:59:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259520001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 18:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":51481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:59:01] local.INFO: GPS data processed {"connection_id":51481,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:59:01] local.INFO: Acknowledgment sent {"connection_id":51481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:59:09] local.INFO: TCP Data received {"connection_id":51480,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:59:09] local.INFO: Processing buffer {"connection_id":51480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:59:09] local.INFO: Packet analysis {"connection_id":51480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:59:09] local.INFO: Extracted packet for processing {"connection_id":51480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 18:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:59:09] 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-22 18:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:59:09] 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-22 18:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:59:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:59:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":51480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:59:10] local.INFO: GPS data processed {"connection_id":51480,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:59:10] local.INFO: Acknowledgment sent {"connection_id":51480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:59:10] local.INFO: TCP Data received {"connection_id":50790,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:59:10] local.INFO: Processing buffer {"connection_id":50790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:59:10] local.INFO: IMEI packet received {"connection_id":50790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 18:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":50790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:59:15] local.INFO: TCP Data received {"connection_id":50790,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:59:15] local.INFO: Processing buffer {"connection_id":50790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 18:59:15] local.INFO: IMEI packet received {"connection_id":50790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 18:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":50790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:59:16] local.INFO: TCP Data received {"connection_id":50790,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5601068012d7efdc005ba17d8000a00bc25..."} 
[2026-04-22 18:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5601068012d7efdc005ba17d8000a00bc25..."} 
[2026-04-22 18:59:16] local.INFO: Processing buffer {"connection_id":50790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5601068012d7efdc005ba17d8000a00bc25..."} 
[2026-04-22 18:59:16] local.INFO: Packet analysis {"connection_id":50790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db560"} 
[2026-04-22 18:59:16] local.INFO: Extracted packet for processing {"connection_id":50790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db560"} 
[2026-04-22 18:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763297216,"raw_latitude":96081880,"longitude_deg":76.3297216,"latitude_deg":9.608188,"altitude":10,"angle":188,"satellites":37,"speed":32,"hex_longitude":"2d7efdc0","hex_latitude":"05ba17d8","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877299200001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74965935437381632,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152369998578718720,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:16] 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-22 18:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864465000,"timestamp_ms":1776864465000,"timestamp_seconds":1776864465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5601068"} 
[2026-04-22 18: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-22 18:59: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-22 18: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 18:59: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-22 18: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-22 18: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-22 18:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877299200001,"66":12645,"121":206,"85":12544,"24":32,"16":74965935437381632,"45":9152369998578718720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877299200001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:59:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74965935437381632,"km_value":74965935437381.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152369998578718720,"description":"Unknown IO ID 45"} 
[2026-04-22 18:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877299200001,"power":12645,"unknown_121":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9152369998578718720}} 
[2026-04-22 18:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":50790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:59:16] local.INFO: GPS data processed {"connection_id":50790,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:59:16] local.INFO: Acknowledgment sent {"connection_id":50790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:59:27] local.INFO: TCP Data received {"connection_id":51482,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:59:27] local.INFO: Processing buffer {"connection_id":51482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:59:27] local.INFO: IMEI packet received {"connection_id":51482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 18:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":51482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:59:32] local.INFO: TCP Data received {"connection_id":51482,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:59:32] local.INFO: Processing buffer {"connection_id":51482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 18:59:32] local.INFO: IMEI packet received {"connection_id":51482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 18:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":51482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:59:33] local.INFO: TCP Data received {"connection_id":51482,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:59:33] local.INFO: Processing buffer {"connection_id":51482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55cc890012d1b02c007247af8001f013624..."} 
[2026-04-22 18:59:33] local.INFO: Packet analysis {"connection_id":51482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:59:33] local.INFO: Extracted packet for processing {"connection_id":51482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55c"} 
[2026-04-22 18:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 18:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877169664001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886744576,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776864250000,"timestamp_ms":1776864250000,"timestamp_seconds":1776864250,"priority":1,"record_length":96,"hex_timestamp":"0000019db55cc890"} 
[2026-04-22 18:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 18:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 18:59: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-22 18:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 18:59:33] 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-22 18:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 18:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 18:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877169664001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886744576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 18:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 18:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 18:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877169664001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:59:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 18:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 18:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886744576,"description":"Unknown IO ID 45"} 
[2026-04-22 18:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877169664001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886744576}} 
[2026-04-22 18:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":51482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:59:33] local.INFO: GPS data processed {"connection_id":51482,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:59:33] local.INFO: Acknowledgment sent {"connection_id":51482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:59:33] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:59:33] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:59:33] local.INFO: IMEI packet received {"connection_id":50791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 18:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":50791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 18:59:35] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:59:35] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 18:59:35] local.INFO: IMEI packet received {"connection_id":50791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 18:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":50791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 18:59:36] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:59:36] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:59:36] local.INFO: Packet analysis {"connection_id":50791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:59:36] local.INFO: Extracted packet for processing {"connection_id":50791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 18:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259520001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59: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-22 18:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776864296000,"timestamp_ms":1776864296000,"timestamp_seconds":1776864296,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d7c40"} 
[2026-04-22 18:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 18:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 18:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 18:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:59: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-22 18:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259520001,"66":27843,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 18:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259520001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259520001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 18:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":50791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:59:36] local.INFO: GPS data processed {"connection_id":50791,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:59:36] local.INFO: Acknowledgment sent {"connection_id":50791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:59:41] local.INFO: TCP Data received {"connection_id":50791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:59:41] local.INFO: Processing buffer {"connection_id":50791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 18:59:41] local.INFO: Packet analysis {"connection_id":50791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:59:41] local.INFO: Extracted packet for processing {"connection_id":50791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 18:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 18:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 18:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259520001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:41] 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-22 18:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776864296000,"timestamp_ms":1776864296000,"timestamp_seconds":1776864296,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d7c40"} 
[2026-04-22 18:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 18:59: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-22 18:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 18:59:41] 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-22 18:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 18:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 18:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 18:59:41] local.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-22 18:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 18:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 18:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259520001,"66":27843,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 18:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 18:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 18:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259520001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:59:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 18:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 18:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259520001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 18:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":50791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:59:41] local.INFO: GPS data processed {"connection_id":50791,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:59:41] local.INFO: Acknowledgment sent {"connection_id":50791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 18:59:48] local.INFO: TCP Data received {"connection_id":50790,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5603b60012d7ef78005b9f498000a00bb25..."} 
[2026-04-22 18:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5603b60012d7ef78005b9f498000a00bb25..."} 
[2026-04-22 18:59:48] local.INFO: Processing buffer {"connection_id":50790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5603b60012d7ef78005b9f498000a00bb25..."} 
[2026-04-22 18:59:48] local.INFO: Packet analysis {"connection_id":50790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db560"} 
[2026-04-22 18:59:48] local.INFO: Extracted packet for processing {"connection_id":50790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db560"} 
[2026-04-22 18:59:48] local.INFO: GPS Element Parsed {"raw_longitude":763295616,"raw_latitude":96072856,"longitude_deg":76.3295616,"latitude_deg":9.6072856,"altitude":10,"angle":187,"satellites":37,"speed":29,"hex_longitude":"2d7ef780","hex_latitude":"05b9f498","is_valid_coordinates":true} 
[2026-04-22 18: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-22 18:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877303040001,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74966382113980416,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150681148716210176,"note":"Value kept but may cause issues"} 
[2026-04-22 18:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 18:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776864476000,"timestamp_ms":1776864476000,"timestamp_seconds":1776864476,"priority":1,"record_length":96,"hex_timestamp":"0000019db5603b60"} 
[2026-04-22 18: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-22 18:59: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-22 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-22 18:59:48] 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-22 18: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-22 18: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-22 18:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 18:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 18:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 18:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 18:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 18:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 18:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877303040001,"66":11906,"121":206,"85":12544,"24":29,"16":74966382113980416,"45":9150681148716210176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 18:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 18:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 18:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877303040001,"description":"Unknown IO ID 0"} 
[2026-04-22 18:59:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 18:59:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 18:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74966382113980416,"km_value":74966382113980.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 18:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150681148716210176,"description":"Unknown IO ID 45"} 
[2026-04-22 18:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877303040001,"power":11906,"unknown_121":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9150681148716210176}} 
[2026-04-22 18:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":50790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 18:59:48] local.INFO: GPS data processed {"connection_id":50790,"processed":1,"errors":0,"total":1} 
[2026-04-22 18:59:48] local.INFO: Acknowledgment sent {"connection_id":50790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:00:04] local.INFO: TCP Data received {"connection_id":51482,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:00:04] local.INFO: Processing buffer {"connection_id":51482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:00:04] local.INFO: Packet analysis {"connection_id":51482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:00:04] local.INFO: Extracted packet for processing {"connection_id":51482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 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-22 19:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877248000001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776864551000,"timestamp_ms":1776864551000,"timestamp_seconds":1776864551,"priority":1,"record_length":96,"hex_timestamp":"0000019db5616058"} 
[2026-04-22 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-22 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 19:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 19:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:00:04] 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-22 19:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877248000001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877248000001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:00:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877248000001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":51482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:00:04] local.INFO: GPS data processed {"connection_id":51482,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:00:04] local.INFO: Acknowledgment sent {"connection_id":51482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:00:10] local.INFO: TCP Data received {"connection_id":50792,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:00:10] local.INFO: Processing buffer {"connection_id":50792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:00:10] local.INFO: IMEI packet received {"connection_id":50792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":50792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:00:16] local.INFO: TCP Data received {"connection_id":50792,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:00:16] local.INFO: Processing buffer {"connection_id":50792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:00:16] local.INFO: IMEI packet received {"connection_id":50792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":50792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:00:18] local.INFO: TCP Data received {"connection_id":50792,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5608d68012d7ef50005b9e2d0000b00c126..."} 
[2026-04-22 19:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5608d68012d7ef50005b9e2d0000b00c126..."} 
[2026-04-22 19:00:18] local.INFO: Processing buffer {"connection_id":50792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5608d68012d7ef50005b9e2d0000b00c126..."} 
[2026-04-22 19:00:18] local.INFO: Packet analysis {"connection_id":50792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db560"} 
[2026-04-22 19:00:18] local.INFO: Extracted packet for processing {"connection_id":50792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db560"} 
[2026-04-22 19:00:18] local.INFO: GPS Element Parsed {"raw_longitude":763294976,"raw_latitude":96068304,"longitude_deg":76.3294976,"latitude_deg":9.6068304,"altitude":11,"angle":193,"satellites":38,"speed":21,"hex_longitude":"2d7ef500","hex_latitude":"05b9e2d0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877305856001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74966609747247104,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148921930109458432,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776864497000,"timestamp_ms":1776864497000,"timestamp_seconds":1776864497,"priority":1,"record_length":96,"hex_timestamp":"0000019db5608d68"} 
[2026-04-22 19: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-22 19:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-22 19:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":50792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":50792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":50792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877305856001,"66":12504,"121":206,"85":12544,"24":21,"16":74966609747247104,"45":9148921930109458432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877305856001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:00:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74966609747247104,"km_value":74966609747247.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148921930109458432,"description":"Unknown IO ID 45"} 
[2026-04-22 19:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877305856001,"power":12504,"unknown_121":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9148921930109458432}} 
[2026-04-22 19:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":50792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:00:18] local.INFO: GPS data processed {"connection_id":50792,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:00:18] local.INFO: Acknowledgment sent {"connection_id":50792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:00:25] local.INFO: TCP Data received {"connection_id":51483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:00:25] local.INFO: Processing buffer {"connection_id":51483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:00:25] local.INFO: IMEI packet received {"connection_id":51483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":51483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:00:27] local.INFO: TCP Data received {"connection_id":50523,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:00:27] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:00:27] local.INFO: IMEI packet received {"connection_id":50523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:00:30] local.INFO: TCP Data received {"connection_id":51483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:00:30] local.INFO: Processing buffer {"connection_id":51483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:00:30] local.INFO: IMEI packet received {"connection_id":51483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":51483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:00:31] local.INFO: TCP Data received {"connection_id":51483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 19:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 19:00:31] local.INFO: Processing buffer {"connection_id":51483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db55d7c40012d7fa5c005afd990000d01112c..."} 
[2026-04-22 19:00:31] local.INFO: Packet analysis {"connection_id":51483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 19:00:31] local.INFO: Extracted packet for processing {"connection_id":51483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db55d"} 
[2026-04-22 19:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 19:00: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-22 19:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259520001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:31] 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-22 19:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864296000,"timestamp_ms":1776864296000,"timestamp_seconds":1776864296,"priority":1,"record_length":96,"hex_timestamp":"0000019db55d7c40"} 
[2026-04-22 19: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-22 19:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 19:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:00: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-22 19:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259520001,"66":27843,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 19:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259520001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 19:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259520001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 19:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":51483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:00:31] local.INFO: GPS data processed {"connection_id":51483,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:00:31] local.INFO: Acknowledgment sent {"connection_id":51483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:00:32] local.INFO: TCP Data received {"connection_id":50523,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:00:32] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:00:32] local.INFO: IMEI packet received {"connection_id":50523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:00:33] local.INFO: TCP Data received {"connection_id":50523,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:00:33] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:00:33] local.INFO: Packet analysis {"connection_id":50523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:00:33] local.INFO: Extracted packet for processing {"connection_id":50523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877248000001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776864551000,"timestamp_ms":1776864551000,"timestamp_seconds":1776864551,"priority":1,"record_length":96,"hex_timestamp":"0000019db5616058"} 
[2026-04-22 19:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:00: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-22 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 19:00:33] 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-22 19:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:00:33] 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-22 19:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877248000001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877248000001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:00:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877248000001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":50523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:00:33] local.INFO: GPS data processed {"connection_id":50523,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:00:33] local.INFO: Acknowledgment sent {"connection_id":50523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:00:50] local.INFO: TCP Data received {"connection_id":50792,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5626de0012d7ebb8005b887e0000a00a826..."} 
[2026-04-22 19:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5626de0012d7ebb8005b887e0000a00a826..."} 
[2026-04-22 19:00:50] local.INFO: Processing buffer {"connection_id":50792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5626de0012d7ebb8005b887e0000a00a826..."} 
[2026-04-22 19:00:50] local.INFO: Packet analysis {"connection_id":50792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:00:50] local.INFO: Extracted packet for processing {"connection_id":50792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:00:50] local.INFO: GPS Element Parsed {"raw_longitude":763280256,"raw_latitude":95979488,"longitude_deg":76.3280256,"latitude_deg":9.5979488,"altitude":10,"angle":168,"satellites":38,"speed":23,"hex_longitude":"2d7ebb80","hex_latitude":"05b887e0","is_valid_coordinates":true} 
[2026-04-22 19:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877341696001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74970990613889024,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131892693995206656,"note":"Value kept but may cause issues"} 
[2026-04-22 19:00:50] 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-22 19:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776864620000,"timestamp_ms":1776864620000,"timestamp_seconds":1776864620,"priority":1,"record_length":96,"hex_timestamp":"0000019db5626de0"} 
[2026-04-22 19:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-22 19:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-22 19:00:50] 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-22 19:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":50792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":50792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":50792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877341696001,"66":12461,"121":206,"85":12544,"24":23,"16":74970990613889024,"45":9131892693995206656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877341696001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:00:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:00:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74970990613889024,"km_value":74970990613889.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131892693995206656,"description":"Unknown IO ID 45"} 
[2026-04-22 19:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877341696001,"power":12461,"unknown_121":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9131892693995206656}} 
[2026-04-22 19:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":50792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:00:50] local.INFO: GPS data processed {"connection_id":50792,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:00:50] local.INFO: Acknowledgment sent {"connection_id":50792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:01:02] local.INFO: TCP Data received {"connection_id":51483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:01:02] local.INFO: Processing buffer {"connection_id":51483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:01:02] local.INFO: Packet analysis {"connection_id":51483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:01:02] local.INFO: Extracted packet for processing {"connection_id":51483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410560,"longitude_deg":76.3339968,"latitude_deg":9.541056,"altitude":13,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd980","is_valid_coordinates":true} 
[2026-04-22 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-22 19:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259776001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:02] 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-22 19:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776864598000,"timestamp_ms":1776864598000,"timestamp_seconds":1776864598,"priority":1,"record_length":96,"hex_timestamp":"0000019db56217f0"} 
[2026-04-22 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-22 19:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-22 19:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 19:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:01: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-22 19:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259776001,"66":25702,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"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-22 19:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259776001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:01:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 19:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259776001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 19:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":51483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:01:02] local.INFO: GPS data processed {"connection_id":51483,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:01:02] local.INFO: Acknowledgment sent {"connection_id":51483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:01:04] local.INFO: TCP Data received {"connection_id":50523,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:01:04] local.INFO: Processing buffer {"connection_id":50523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:01:04] local.INFO: Packet analysis {"connection_id":50523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:01:04] local.INFO: Extracted packet for processing {"connection_id":50523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877248000001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776864551000,"timestamp_ms":1776864551000,"timestamp_seconds":1776864551,"priority":1,"record_length":96,"hex_timestamp":"0000019db5616058"} 
[2026-04-22 19:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 19:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:01:04] 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-22 19:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877248000001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877248000001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:01:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877248000001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":50523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:01:04] local.INFO: GPS data processed {"connection_id":50523,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:01:04] local.INFO: Acknowledgment sent {"connection_id":50523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:01:14] local.INFO: TCP Data received {"connection_id":50794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:01:14] local.INFO: Processing buffer {"connection_id":50794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:01:14] local.INFO: IMEI packet received {"connection_id":50794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":50794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:01:15] local.INFO: TCP Data received {"connection_id":50794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:01:15] local.INFO: Processing buffer {"connection_id":50794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:01:15] local.INFO: IMEI packet received {"connection_id":50794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":50794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:01:20] local.INFO: TCP Data received {"connection_id":50794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:01:20] local.INFO: Processing buffer {"connection_id":50794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:01:20] local.INFO: IMEI packet received {"connection_id":50794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":50794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:01:21] local.INFO: TCP Data received {"connection_id":50794,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5628550012d7ebd4005b877b8000a00b426..."} 
[2026-04-22 19:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5628550012d7ebd4005b877b8000a00b426..."} 
[2026-04-22 19:01:21] local.INFO: Processing buffer {"connection_id":50794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5628550012d7ebd4005b877b8000a00b426..."} 
[2026-04-22 19:01:21] local.INFO: Packet analysis {"connection_id":50794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:01:21] local.INFO: Extracted packet for processing {"connection_id":50794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763280704,"raw_latitude":95975352,"longitude_deg":76.3280704,"latitude_deg":9.5975352,"altitude":10,"angle":180,"satellites":38,"speed":29,"hex_longitude":"2d7ebd40","hex_latitude":"05b877b8","is_valid_coordinates":true} 
[2026-04-22 19:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877342720001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74971192477351936,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132033431482916864,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776864626000,"timestamp_ms":1776864626000,"timestamp_seconds":1776864626,"priority":1,"record_length":96,"hex_timestamp":"0000019db5628550"} 
[2026-04-22 19:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 19:01: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-22 19:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":50794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":50794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":50794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877342720001,"66":12461,"121":206,"85":12544,"24":29,"16":74971192477351936,"45":9132033431482916864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877342720001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:01:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74971192477351936,"km_value":74971192477351.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132033431482916864,"description":"Unknown IO ID 45"} 
[2026-04-22 19:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877342720001,"power":12461,"unknown_121":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9132033431482916864}} 
[2026-04-22 19:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":50794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:01:21] local.INFO: GPS data processed {"connection_id":50794,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:01:21] local.INFO: Acknowledgment sent {"connection_id":50794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:01:24] local.INFO: TCP Data received {"connection_id":50794,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db562d758012d7ebd4005b85fd8000800b225..."} 
[2026-04-22 19:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db562d758012d7ebd4005b85fd8000800b225..."} 
[2026-04-22 19:01:24] local.INFO: Processing buffer {"connection_id":50794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db562d758012d7ebd4005b85fd8000800b225..."} 
[2026-04-22 19:01:24] local.INFO: Packet analysis {"connection_id":50794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:01:24] local.INFO: Extracted packet for processing {"connection_id":50794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763280704,"raw_latitude":95969240,"longitude_deg":76.3280704,"latitude_deg":9.596924,"altitude":8,"angle":178,"satellites":37,"speed":0,"hex_longitude":"2d7ebd40","hex_latitude":"05b85fd8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877344256001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74971488830095360,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132526012691101696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776864647000,"timestamp_ms":1776864647000,"timestamp_seconds":1776864647,"priority":1,"record_length":96,"hex_timestamp":"0000019db562d758"} 
[2026-04-22 19: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-22 19:01: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-22 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 19:01: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-22 19: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-22 19: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-22 19:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":50794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":50794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":50794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877344256001,"66":12330,"121":206,"85":12544,"24":0,"16":74971488830095360,"45":9132526012691101696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877344256001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:01:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:01:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74971488830095360,"km_value":74971488830095.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132526012691101696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877344256001,"power":12330,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9132526012691101696}} 
[2026-04-22 19:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":50794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:01:24] local.INFO: GPS data processed {"connection_id":50794,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:01:24] local.INFO: Acknowledgment sent {"connection_id":50794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:01:25] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:01:25] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:01:25] local.INFO: IMEI packet received {"connection_id":50919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":50919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:01:27] local.INFO: TCP Data received {"connection_id":51484,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:01:27] local.INFO: Processing buffer {"connection_id":51484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:01:27] local.INFO: IMEI packet received {"connection_id":51484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":51484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:01:30] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:01:30] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:01:30] local.INFO: IMEI packet received {"connection_id":50919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":50919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:01:31] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:01:31] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:01:31] local.INFO: Packet analysis {"connection_id":50919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:01:31] local.INFO: Extracted packet for processing {"connection_id":50919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410560,"longitude_deg":76.3339968,"latitude_deg":9.541056,"altitude":13,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd980","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259776001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:31] 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-22 19:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864598000,"timestamp_ms":1776864598000,"timestamp_seconds":1776864598,"priority":1,"record_length":96,"hex_timestamp":"0000019db56217f0"} 
[2026-04-22 19: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-22 19:01: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-22 19: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":195,"data_length":795,"current_offset":136} 
[2026-04-22 19:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:01:31] 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-22 19:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259776001,"66":25702,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259776001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 19:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259776001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 19:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":50919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:01:31] local.INFO: GPS data processed {"connection_id":50919,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:01:31] local.INFO: Acknowledgment sent {"connection_id":50919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:01:32] local.INFO: TCP Data received {"connection_id":51484,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:01:32] local.INFO: Processing buffer {"connection_id":51484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:01:32] local.INFO: IMEI packet received {"connection_id":51484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":51484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:01:33] local.INFO: TCP Data received {"connection_id":51484,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:01:33] local.INFO: Processing buffer {"connection_id":51484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:01:33] local.INFO: Packet analysis {"connection_id":51484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:01:33] local.INFO: Extracted packet for processing {"connection_id":51484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 19:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877248000001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776864551000,"timestamp_ms":1776864551000,"timestamp_seconds":1776864551,"priority":1,"record_length":96,"hex_timestamp":"0000019db5616058"} 
[2026-04-22 19:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:01: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-22 19:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 19:01:33] 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-22 19:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:01:33] 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-22 19:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877248000001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877248000001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:01:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877248000001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":51484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:01:33] local.INFO: GPS data processed {"connection_id":51484,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:01:33] local.INFO: Acknowledgment sent {"connection_id":51484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:02:02] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:02:02] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:02:02] local.INFO: Packet analysis {"connection_id":50919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:02:02] local.INFO: Extracted packet for processing {"connection_id":50919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410560,"longitude_deg":76.3339968,"latitude_deg":9.541056,"altitude":13,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd980","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259776001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:02] 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-22 19:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776864598000,"timestamp_ms":1776864598000,"timestamp_seconds":1776864598,"priority":1,"record_length":96,"hex_timestamp":"0000019db56217f0"} 
[2026-04-22 19: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-22 19:02: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-22 19: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-22 19:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259776001,"66":25702,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259776001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:02:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 19:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259776001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 19:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":50919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:02:02] local.INFO: GPS data processed {"connection_id":50919,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:02:02] local.INFO: Acknowledgment sent {"connection_id":50919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:02:04] local.INFO: TCP Data received {"connection_id":51484,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:02:04] local.INFO: Processing buffer {"connection_id":51484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:02:04] local.INFO: Packet analysis {"connection_id":51484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:02:04] local.INFO: Extracted packet for processing {"connection_id":51484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 19:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877248000001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776864551000,"timestamp_ms":1776864551000,"timestamp_seconds":1776864551,"priority":1,"record_length":96,"hex_timestamp":"0000019db5616058"} 
[2026-04-22 19:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 19:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 19:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:02:04] 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-22 19:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877248000001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877248000001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:02:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877248000001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":51484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:02:04] local.INFO: GPS data processed {"connection_id":51484,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:02:04] local.INFO: Acknowledgment sent {"connection_id":51484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:02:10] local.INFO: TCP Data received {"connection_id":50524,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:02:10] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:02:10] local.INFO: IMEI packet received {"connection_id":50524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":50524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:02:14] local.INFO: TCP Data received {"connection_id":50524,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:02:14] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:02:14] local.INFO: IMEI packet received {"connection_id":50524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":50524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:02:15] local.INFO: TCP Data received {"connection_id":50524,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56311f0012d7ebbc005b83d08000800b825..."} 
[2026-04-22 19:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56311f0012d7ebbc005b83d08000800b825..."} 
[2026-04-22 19:02:15] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56311f0012d7ebbc005b83d08000800b825..."} 
[2026-04-22 19:02:15] local.INFO: Packet analysis {"connection_id":50524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db563"} 
[2026-04-22 19:02:15] local.INFO: Extracted packet for processing {"connection_id":50524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db563"} 
[2026-04-22 19:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763280320,"raw_latitude":95960328,"longitude_deg":76.328032,"latitude_deg":9.5960328,"altitude":8,"angle":184,"satellites":37,"speed":33,"hex_longitude":"2d7ebbc0","hex_latitude":"05b83d08","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877349632001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74971922621792256,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132526012689537024,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:15] 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-22 19:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776864662000,"timestamp_ms":1776864662000,"timestamp_seconds":1776864662,"priority":1,"record_length":96,"hex_timestamp":"0000019db56311f0"} 
[2026-04-22 19: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-22 19:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-22 19:02:15] 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-22 19: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-22 19: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-22 19:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877349632001,"66":12330,"121":206,"85":12544,"24":33,"16":74971922621792256,"45":9132526012689537024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877349632001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:02:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74971922621792256,"km_value":74971922621792.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132526012689537024,"description":"Unknown IO ID 45"} 
[2026-04-22 19:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877349632001,"power":12330,"unknown_121":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9132526012689537024}} 
[2026-04-22 19:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":50524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:02:15] local.INFO: GPS data processed {"connection_id":50524,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:02:15] local.INFO: Acknowledgment sent {"connection_id":50524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:02:16] local.INFO: TCP Data received {"connection_id":50524,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5633900012d7ebbc005b817a8000800b126..."} 
[2026-04-22 19:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5633900012d7ebbc005b817a8000800b126..."} 
[2026-04-22 19:02:16] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5633900012d7ebbc005b817a8000800b126..."} 
[2026-04-22 19:02:16] local.INFO: Packet analysis {"connection_id":50524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db563"} 
[2026-04-22 19:02:16] local.INFO: Extracted packet for processing {"connection_id":50524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db563"} 
[2026-04-22 19:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763280320,"raw_latitude":95950760,"longitude_deg":76.328032,"latitude_deg":9.595076,"altitude":8,"angle":177,"satellites":38,"speed":34,"hex_longitude":"2d7ebbc0","hex_latitude":"05b817a8","is_valid_coordinates":true} 
[2026-04-22 19:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877353472001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74972386478260224,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132103800222189568,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:16] 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-22 19:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864672000,"timestamp_ms":1776864672000,"timestamp_seconds":1776864672,"priority":1,"record_length":96,"hex_timestamp":"0000019db5633900"} 
[2026-04-22 19:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:02: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-22 19:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-22 19:02:16] 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-22 19:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877353472001,"66":12069,"121":206,"85":12544,"24":34,"16":74972386478260224,"45":9132103800222189568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877353472001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:02:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74972386478260224,"km_value":74972386478260.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132103800222189568,"description":"Unknown IO ID 45"} 
[2026-04-22 19:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877353472001,"power":12069,"unknown_121":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9132103800222189568}} 
[2026-04-22 19:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":50524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:02:16] local.INFO: GPS data processed {"connection_id":50524,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:02:16] local.INFO: Acknowledgment sent {"connection_id":50524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:02:20] local.INFO: TCP Data received {"connection_id":50795,"ip":"42.106.6.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:02:20] local.INFO: Processing buffer {"connection_id":50795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:02:20] local.INFO: IMEI packet received {"connection_id":50795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":50795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:02:25] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:02:25] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:02:25] local.INFO: IMEI packet received {"connection_id":50796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":50796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:02:30] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:02:30] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:02:30] local.INFO: IMEI packet received {"connection_id":50796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":50796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:02:31] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:02:31] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56217f0012d7fa4c005afd980000d01112b..."} 
[2026-04-22 19:02:31] local.INFO: Packet analysis {"connection_id":50796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:02:31] local.INFO: Extracted packet for processing {"connection_id":50796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db562"} 
[2026-04-22 19:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410560,"longitude_deg":76.3339968,"latitude_deg":9.541056,"altitude":13,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd980","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877259776001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:31] 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-22 19:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864598000,"timestamp_ms":1776864598000,"timestamp_seconds":1776864598,"priority":1,"record_length":96,"hex_timestamp":"0000019db56217f0"} 
[2026-04-22 19: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-22 19:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-22 19:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:02: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-22 19:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877259776001,"66":25702,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877259776001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 19:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877259776001,"power":25702,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 19:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":50796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:02:31] local.INFO: GPS data processed {"connection_id":50796,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:02:31] local.INFO: Acknowledgment sent {"connection_id":50796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:02:32] local.INFO: TCP Data received {"connection_id":50920,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:02:32] local.INFO: Processing buffer {"connection_id":50920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:02:32] local.INFO: IMEI packet received {"connection_id":50920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:02:37] local.INFO: TCP Data received {"connection_id":50920,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:02:37] local.INFO: Processing buffer {"connection_id":50920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:02:37] local.INFO: IMEI packet received {"connection_id":50920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":50920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:02:38] local.INFO: TCP Data received {"connection_id":50920,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:02:38] local.INFO: Processing buffer {"connection_id":50920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:02:38] local.INFO: Packet analysis {"connection_id":50920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:02:38] local.INFO: Extracted packet for processing {"connection_id":50920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 19:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877248000001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776864551000,"timestamp_ms":1776864551000,"timestamp_seconds":1776864551,"priority":1,"record_length":96,"hex_timestamp":"0000019db5616058"} 
[2026-04-22 19:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:02: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-22 19:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 19:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877248000001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877248000001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:02:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877248000001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":50920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:02:38] local.INFO: GPS data processed {"connection_id":50920,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:02:38] local.INFO: Acknowledgment sent {"connection_id":50920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:02:42] local.INFO: TCP Data received {"connection_id":50920,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:02:42] local.INFO: Processing buffer {"connection_id":50920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:02:42] local.INFO: Packet analysis {"connection_id":50920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:02:42] local.INFO: Extracted packet for processing {"connection_id":50920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 19:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877248000001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776864551000,"timestamp_ms":1776864551000,"timestamp_seconds":1776864551,"priority":1,"record_length":96,"hex_timestamp":"0000019db5616058"} 
[2026-04-22 19:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 19:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877248000001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877248000001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:02:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877248000001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":50920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:02:42] local.INFO: GPS data processed {"connection_id":50920,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:02:42] local.INFO: Acknowledgment sent {"connection_id":50920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:02:47] local.INFO: TCP Data received {"connection_id":50524,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5636010012d7ebbc005b7f1a8000600b725..."} 
[2026-04-22 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5636010012d7ebbc005b7f1a8000600b725..."} 
[2026-04-22 19:02:47] local.INFO: Processing buffer {"connection_id":50524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5636010012d7ebbc005b7f1a8000600b725..."} 
[2026-04-22 19:02:47] local.INFO: Packet analysis {"connection_id":50524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db563"} 
[2026-04-22 19:02:47] local.INFO: Extracted packet for processing {"connection_id":50524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db563"} 
[2026-04-22 19:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763280320,"raw_latitude":95941032,"longitude_deg":76.328032,"latitude_deg":9.5941032,"altitude":6,"angle":183,"satellites":37,"speed":46,"hex_longitude":"2d7ebbc0","hex_latitude":"05b7f1a8","is_valid_coordinates":true} 
[2026-04-22 19:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877356032001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74972858924662784,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132103800219740160,"note":"Value kept but may cause issues"} 
[2026-04-22 19:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776864682000,"timestamp_ms":1776864682000,"timestamp_seconds":1776864682,"priority":1,"record_length":96,"hex_timestamp":"0000019db5636010"} 
[2026-04-22 19:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:02: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-22 19:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-22 19:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877356032001,"66":12298,"121":206,"85":12544,"24":46,"16":74972858924662784,"45":9132103800219740160},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877356032001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:02:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74972858924662784,"km_value":74972858924662.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132103800219740160,"description":"Unknown IO ID 45"} 
[2026-04-22 19:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877356032001,"power":12298,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9132103800219740160}} 
[2026-04-22 19:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":50524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:02:47] local.INFO: GPS data processed {"connection_id":50524,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:02:47] local.INFO: Acknowledgment sent {"connection_id":50524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:02:50] local.INFO: TCP Data received {"connection_id":51485,"ip":"42.106.6.150","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:02:50] local.INFO: Processing buffer {"connection_id":51485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:02:50] local.INFO: IMEI packet received {"connection_id":51485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":51485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:03:03] local.INFO: TCP Data received {"connection_id":50796,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db5644e58012d7fa4c005afd980000d01112c..."} 
[2026-04-22 19:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5644e58012d7fa4c005afd980000d01112c..."} 
[2026-04-22 19:03:03] local.INFO: Processing buffer {"connection_id":50796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5644e58012d7fa4c005afd980000d01112c..."} 
[2026-04-22 19:03:03] local.INFO: Packet analysis {"connection_id":50796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db564"} 
[2026-04-22 19:03:03] local.INFO: Extracted packet for processing {"connection_id":50796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db564"} 
[2026-04-22 19:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410560,"longitude_deg":76.3339968,"latitude_deg":9.541056,"altitude":13,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd980","is_valid_coordinates":true} 
[2026-04-22 19:03: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-22 19:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877337088001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655031808,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03: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-22 19:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776864743000,"timestamp_ms":1776864743000,"timestamp_seconds":1776864743,"priority":1,"record_length":96,"hex_timestamp":"0000019db5644e58"} 
[2026-04-22 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-22 19:03: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-22 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-22 19:03: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-22 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-22 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-22 19:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:03: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-22 19:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877337088001,"66":25625,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197687469655031808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877337088001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655031808,"description":"Unknown IO ID 45"} 
[2026-04-22 19:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877337088001,"power":25625,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655031808}} 
[2026-04-22 19:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":50796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:03:03] local.INFO: GPS data processed {"connection_id":50796,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:03:03] local.INFO: Acknowledgment sent {"connection_id":50796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:03:10] local.INFO: TCP Data received {"connection_id":50921,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:03:10] local.INFO: Processing buffer {"connection_id":50921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:03:10] local.INFO: IMEI packet received {"connection_id":50921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":50921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:03:10] local.INFO: TCP Data received {"connection_id":50921,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:03:10] local.INFO: Processing buffer {"connection_id":50921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:03:10] local.INFO: IMEI packet received {"connection_id":50921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":50921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:03:15] local.INFO: TCP Data received {"connection_id":50921,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:03:15] local.INFO: Processing buffer {"connection_id":50921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:03:15] local.INFO: IMEI packet received {"connection_id":50921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":50921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:03:16] local.INFO: TCP Data received {"connection_id":50921,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5638338012d7eba0005b7cb60000700b625..."} 
[2026-04-22 19:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5638338012d7eba0005b7cb60000700b625..."} 
[2026-04-22 19:03:16] local.INFO: Processing buffer {"connection_id":50921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5638338012d7eba0005b7cb60000700b625..."} 
[2026-04-22 19:03:16] local.INFO: Packet analysis {"connection_id":50921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db563"} 
[2026-04-22 19:03:16] local.INFO: Extracted packet for processing {"connection_id":50921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db563"} 
[2026-04-22 19:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763279872,"raw_latitude":95931232,"longitude_deg":76.3279872,"latitude_deg":9.5931232,"altitude":7,"angle":182,"satellites":37,"speed":40,"hex_longitude":"2d7eba00","hex_latitude":"05b7cb60","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877358592001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74973335666032640,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132103800217249792,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] 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-22 19:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864691000,"timestamp_ms":1776864691000,"timestamp_seconds":1776864691,"priority":1,"record_length":96,"hex_timestamp":"0000019db5638338"} 
[2026-04-22 19: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-22 19:03: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-22 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496590520832,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185866,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5376691505678418245,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":192,"raw_value":412278824186151094,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":8,"raw_value":50707277702758400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3510556792863654094,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":37,"raw_value":6473924465000452,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2860056782,"corrected_to":0} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147858567,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511018,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3096557568,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.WARNING: Large IO value detected {"io_id":89,"raw_value":-7277816997830721535,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,85,24,241,157,16,91,57,45,192,23,8,38,10,66,90,17,61,37,215,64,1,240,42,227,181,184,4,113,205,29,109,187,224,239,48,2,5,89],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2860056782,"validated":0}]} 
[2026-04-22 19:03:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432546933772255232,"timestamp_seconds":432546933772255.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19: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-22 19:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877358592001,"66":12211,"121":206,"85":12544,"24":40,"16":74973335666032640,"45":9132103800217249792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877358592001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:03:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74973335666032640,"km_value":74973335666032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132103800217249792,"description":"Unknown IO ID 45"} 
[2026-04-22 19:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877358592001,"power":12211,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9132103800217249792}} 
[2026-04-22 19:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":50921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:03:16] local.INFO: GPS data processed {"connection_id":50921,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:03:16] local.INFO: Acknowledgment sent {"connection_id":50921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:03:26] local.INFO: TCP Data received {"connection_id":51486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:03:26] local.INFO: Processing buffer {"connection_id":51486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:03:26] local.INFO: IMEI packet received {"connection_id":51486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":51486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:03:27] local.INFO: TCP Data received {"connection_id":50922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:03:27] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:03:27] local.INFO: IMEI packet received {"connection_id":50922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:03:32] local.INFO: TCP Data received {"connection_id":50922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:03:32] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:03:32] local.INFO: IMEI packet received {"connection_id":50922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:03:33] local.INFO: TCP Data received {"connection_id":50922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:03:33] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5616058012d1b02c007247af8001f013628..."} 
[2026-04-22 19:03:33] local.INFO: Packet analysis {"connection_id":50922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:03:33] local.INFO: Extracted packet for processing {"connection_id":50922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db561"} 
[2026-04-22 19:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877248000001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776864551000,"timestamp_ms":1776864551000,"timestamp_seconds":1776864551,"priority":1,"record_length":96,"hex_timestamp":"0000019db5616058"} 
[2026-04-22 19: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-22 19:03: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-22 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 19:03:33] 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-22 19: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-22 19: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-22 19:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:03:33] 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-22 19:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877248000001,"66":2144,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877248000001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:03:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877248000001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:03:33] local.INFO: GPS data processed {"connection_id":50922,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:03:33] local.INFO: Acknowledgment sent {"connection_id":50922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:03:37] local.INFO: TCP Data received {"connection_id":51486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:03:37] local.INFO: Processing buffer {"connection_id":51486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:03:37] local.INFO: IMEI packet received {"connection_id":51486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":51486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:03:38] local.INFO: TCP Data received {"connection_id":51486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:03:38] local.INFO: Processing buffer {"connection_id":51486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:03:38] local.INFO: IMEI packet received {"connection_id":51486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":51486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:03:47] local.INFO: TCP Data received {"connection_id":50921,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56530e8012d7eabc005b64fd0000800b526..."} 
[2026-04-22 19:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56530e8012d7eabc005b64fd0000800b526..."} 
[2026-04-22 19:03:47] local.INFO: Processing buffer {"connection_id":50921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56530e8012d7eabc005b64fd0000800b526..."} 
[2026-04-22 19:03:47] local.INFO: Packet analysis {"connection_id":50921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:03:47] local.INFO: Extracted packet for processing {"connection_id":50921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763276224,"raw_latitude":95834064,"longitude_deg":76.3276224,"latitude_deg":9.5834064,"altitude":8,"angle":181,"satellites":38,"speed":36,"hex_longitude":"2d7eabc0","hex_latitude":"05b64fd0","is_valid_coordinates":true} 
[2026-04-22 19:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877389056001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74978060130058240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127600200562495488,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:47] 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-22 19:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776864801000,"timestamp_ms":1776864801000,"timestamp_seconds":1776864801,"priority":1,"record_length":96,"hex_timestamp":"0000019db56530e8"} 
[2026-04-22 19:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:03: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-22 19:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 19:03: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-22 19:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877389056001,"66":12341,"59":206,"85":12544,"24":36,"16":74978060130058240,"45":9127600200562495488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877389056001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:03:47] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74978060130058240,"km_value":74978060130058.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127600200562495488,"description":"Unknown IO ID 45"} 
[2026-04-22 19:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877389056001,"power":12341,"unknown_59":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9127600200562495488}} 
[2026-04-22 19:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":50921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:03:47] local.INFO: GPS data processed {"connection_id":50921,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:03:47] local.INFO: Acknowledgment sent {"connection_id":50921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:03:55] local.INFO: TCP Data received {"connection_id":51486,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db564b000012d7fa5c005afd990000d01112a..."} 
[2026-04-22 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db564b000012d7fa5c005afd990000d01112a..."} 
[2026-04-22 19:03:55] local.INFO: Processing buffer {"connection_id":51486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db564b000012d7fa5c005afd990000d01112a..."} 
[2026-04-22 19:03:55] local.INFO: Packet analysis {"connection_id":51486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db564"} 
[2026-04-22 19:03:55] local.INFO: Extracted packet for processing {"connection_id":51486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db564"} 
[2026-04-22 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 19:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877374208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655031808,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:55] 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-22 19:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776864768000,"timestamp_ms":1776864768000,"timestamp_seconds":1776864768,"priority":1,"record_length":96,"hex_timestamp":"0000019db564b000"} 
[2026-04-22 19:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 19:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":51486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":51486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":51486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:03: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-22 19:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877374208001,"66":27376,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197687469655031808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877374208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655031808,"description":"Unknown IO ID 45"} 
[2026-04-22 19:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877374208001,"power":27376,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655031808}} 
[2026-04-22 19:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":51486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:03:55] local.INFO: GPS data processed {"connection_id":51486,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:03:55] local.INFO: Acknowledgment sent {"connection_id":51486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:03:56] local.INFO: TCP Data received {"connection_id":51486,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db564b000012d7fa5c005afd990000d01112a..."} 
[2026-04-22 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db564b000012d7fa5c005afd990000d01112a..."} 
[2026-04-22 19:03:56] local.INFO: Processing buffer {"connection_id":51486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db564b000012d7fa5c005afd990000d01112a..."} 
[2026-04-22 19:03:56] local.INFO: Packet analysis {"connection_id":51486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db564"} 
[2026-04-22 19:03:56] local.INFO: Extracted packet for processing {"connection_id":51486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db564"} 
[2026-04-22 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877374208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469655031808,"note":"Value kept but may cause issues"} 
[2026-04-22 19:03:56] 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-22 19:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776864768000,"timestamp_ms":1776864768000,"timestamp_seconds":1776864768,"priority":1,"record_length":96,"hex_timestamp":"0000019db564b000"} 
[2026-04-22 19:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-22 19:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":51486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":51486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":51486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877374208001,"66":27376,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197687469655031808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877374208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:03:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469655031808,"description":"Unknown IO ID 45"} 
[2026-04-22 19:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877374208001,"power":27376,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469655031808}} 
[2026-04-22 19:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":51486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:03:56] local.INFO: GPS data processed {"connection_id":51486,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:03:56] local.INFO: Acknowledgment sent {"connection_id":51486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:04:10] local.INFO: TCP Data received {"connection_id":50923,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:04:10] local.INFO: Processing buffer {"connection_id":50923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:04:10] local.INFO: IMEI packet received {"connection_id":50923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":50923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:04:15] local.INFO: TCP Data received {"connection_id":50923,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:04:15] local.INFO: Processing buffer {"connection_id":50923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:04:15] local.INFO: IMEI packet received {"connection_id":50923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":50923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:04:16] local.INFO: TCP Data received {"connection_id":50923,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56557f8012d7eab0005b62b48000800b526..."} 
[2026-04-22 19:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56557f8012d7eab0005b62b48000800b526..."} 
[2026-04-22 19:04:16] local.INFO: Processing buffer {"connection_id":50923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56557f8012d7eab0005b62b48000800b526..."} 
[2026-04-22 19:04:16] local.INFO: Packet analysis {"connection_id":50923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:04:16] local.INFO: Extracted packet for processing {"connection_id":50923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:04:16] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95824712,"longitude_deg":76.3276032,"latitude_deg":9.5824712,"altitude":8,"angle":181,"satellites":38,"speed":32,"hex_longitude":"2d7eab00","hex_latitude":"05b62b48","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877389056001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74978511101624320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127600200562495488,"note":"Value kept but may cause issues"} 
[2026-04-22 19:04:16] 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-22 19:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864811000,"timestamp_ms":1776864811000,"timestamp_seconds":1776864811,"priority":1,"record_length":96,"hex_timestamp":"0000019db56557f8"} 
[2026-04-22 19: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-22 19:04: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-22 19:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-22 19:04: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-22 19: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-22 19: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-22 19:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877389056001,"66":12461,"59":206,"85":12544,"24":32,"16":74978511101624320,"45":9127600200562495488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877389056001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:04:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74978511101624320,"km_value":74978511101624.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127600200562495488,"description":"Unknown IO ID 45"} 
[2026-04-22 19:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877389056001,"power":12461,"unknown_59":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9127600200562495488}} 
[2026-04-22 19:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":50923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:04:16] local.INFO: GPS data processed {"connection_id":50923,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:04:16] local.INFO: Acknowledgment sent {"connection_id":50923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:04:25] local.INFO: TCP Data received {"connection_id":51488,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:04:25] local.INFO: Processing buffer {"connection_id":51488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:04:25] local.INFO: IMEI packet received {"connection_id":51488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":51488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:04:30] local.INFO: TCP Data received {"connection_id":51488,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:04:30] local.INFO: Processing buffer {"connection_id":51488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:04:30] local.INFO: IMEI packet received {"connection_id":51488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":51488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:04:31] local.INFO: TCP Data received {"connection_id":51488,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5650208012d7fa5c005afd990000d011128..."} 
[2026-04-22 19:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5650208012d7fa5c005afd990000d011128..."} 
[2026-04-22 19:04:31] local.INFO: Processing buffer {"connection_id":51488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5650208012d7fa5c005afd990000d011128..."} 
[2026-04-22 19:04:31] local.INFO: Packet analysis {"connection_id":51488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:04:31] local.INFO: Extracted packet for processing {"connection_id":51488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":95410576,"longitude_deg":76.3340224,"latitude_deg":9.5410576,"altitude":13,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d7fa5c0","hex_latitude":"05afd990","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877380608001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480031590645760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:04:31] 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-22 19:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864789000,"timestamp_ms":1776864789000,"timestamp_seconds":1776864789,"priority":1,"record_length":96,"hex_timestamp":"0000019db5650208"} 
[2026-04-22 19: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-22 19:04: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-22 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 19:04: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-22 19: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-22 19: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-22 19:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:04:31] 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-22 19:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877380608001,"66":27517,"28":206,"85":12544,"24":0,"16":278480031590645760,"45":9197968944631746560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877380608001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480031590645760,"km_value":278480031590645.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 19:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877380608001,"power":27517,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 19:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":51488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:04:31] local.INFO: GPS data processed {"connection_id":51488,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:04:31] local.INFO: Acknowledgment sent {"connection_id":51488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:04:46] local.INFO: TCP Data received {"connection_id":50923,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56582f0012d7eaac005b606d0000800b526..."} 
[2026-04-22 19:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56582f0012d7eaac005b606d0000800b526..."} 
[2026-04-22 19:04:46] local.INFO: Processing buffer {"connection_id":50923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56582f0012d7eaac005b606d0000800b526..."} 
[2026-04-22 19:04:46] local.INFO: Packet analysis {"connection_id":50923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:04:46] local.INFO: Extracted packet for processing {"connection_id":50923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95815376,"longitude_deg":76.3275968,"latitude_deg":9.5815376,"altitude":8,"angle":181,"satellites":38,"speed":35,"hex_longitude":"2d7eaac0","hex_latitude":"05b606d0","is_valid_coordinates":true} 
[2026-04-22 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-22 19:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877391616001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74978966368157696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094327568384,"note":"Value kept but may cause issues"} 
[2026-04-22 19:04:46] 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-22 19:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776864822000,"timestamp_ms":1776864822000,"timestamp_seconds":1776864822,"priority":1,"record_length":96,"hex_timestamp":"0000019db56582f0"} 
[2026-04-22 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-22 19:04: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-22 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-22 19: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-22 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-22 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-22 19:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877391616001,"66":12341,"59":206,"85":12544,"24":35,"16":74978966368157696,"45":9127389094327568384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877391616001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:04:46] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74978966368157696,"km_value":74978966368157.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094327568384,"description":"Unknown IO ID 45"} 
[2026-04-22 19:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877391616001,"power":12341,"unknown_59":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9127389094327568384}} 
[2026-04-22 19:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":50923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:04:46] local.INFO: GPS data processed {"connection_id":50923,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:04:46] local.INFO: Acknowledgment sent {"connection_id":50923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:05:02] local.INFO: TCP Data received {"connection_id":51488,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5651d60012d7fa4c005afd8a0000e00752b..."} 
[2026-04-22 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5651d60012d7fa4c005afd8a0000e00752b..."} 
[2026-04-22 19:05:02] local.INFO: Processing buffer {"connection_id":51488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5651d60012d7fa4c005afd8a0000e00752b..."} 
[2026-04-22 19:05:02] local.INFO: Packet analysis {"connection_id":51488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:05:02] local.INFO: Extracted packet for processing {"connection_id":51488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410336,"longitude_deg":76.3339968,"latitude_deg":9.5410336,"altitude":14,"angle":117,"satellites":43,"speed":3,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd8a0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877385984001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480048770514944,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944631746560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:02] 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-22 19:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776864796000,"timestamp_ms":1776864796000,"timestamp_seconds":1776864796,"priority":1,"record_length":96,"hex_timestamp":"0000019db5651d60"} 
[2026-04-22 19: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-22 19:05: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-22 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 19:05: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-22 19: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-22 19: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-22 19:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877385984001,"66":27484,"28":206,"85":12544,"24":3,"16":278480048770514944,"45":9197968944631746560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877385984001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:05:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480048770514944,"km_value":278480048770514.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944631746560,"description":"Unknown IO ID 45"} 
[2026-04-22 19:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877385984001,"power":27484,"unknown_28":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9197968944631746560}} 
[2026-04-22 19:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":51488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:05:02] local.INFO: GPS data processed {"connection_id":51488,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:05:02] local.INFO: Acknowledgment sent {"connection_id":51488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:05:10] local.INFO: TCP Data received {"connection_id":50525,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:05:10] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:05:10] local.INFO: IMEI packet received {"connection_id":50525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":50525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:05:13] local.INFO: TCP Data received {"connection_id":50525,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:05:13] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:05:13] local.INFO: IMEI packet received {"connection_id":50525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":50525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:05:14] local.INFO: TCP Data received {"connection_id":50525,"ip":"42.106.6.41","data_length":93,"data_hex":"00000000000000518e010000019db565d4f8012d7eab8005b5f6a8000700b126..."} 
[2026-04-22 19:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":93,"packet_hex":"00000000000000518e010000019db565d4f8012d7eab8005b5f6a8000700b126..."} 
[2026-04-22 19:05:14] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":93,"buffer_hex":"00000000000000518e010000019db565d4f8012d7eab8005b5f6a8000700b126..."} 
[2026-04-22 19:05:14] local.INFO: Packet analysis {"connection_id":50525,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019db565"} 
[2026-04-22 19:05:14] local.INFO: Extracted packet for processing {"connection_id":50525,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019db565"} 
[2026-04-22 19:05:14] local.INFO: GPS Element Parsed {"raw_longitude":763276160,"raw_latitude":95811240,"longitude_deg":76.327616,"latitude_deg":9.581124,"altitude":7,"angle":177,"satellites":38,"speed":0,"hex_longitude":"2d7eab80","hex_latitude":"05b5f6a8","is_valid_coordinates":true} 
[2026-04-22 19: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":93,"current_offset":40} 
[2026-04-22 19:05:14] 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-22 19:05:14] 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-22 19:05:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:05:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 19:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":50525,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-22 19:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":50525,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 19:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":50525,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-22 19:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 19:05:14] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 19:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":50525,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 19:05:14] local.ERROR: GPS data processing failed {"connection_id":50525,"error":"No valid data to process"} 
[2026-04-22 19:05:14] local.INFO: Acknowledgment sent {"connection_id":50525,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 19:05:26] local.INFO: TCP Data received {"connection_id":51489,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:05:26] local.INFO: Processing buffer {"connection_id":51489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:05:26] local.INFO: IMEI packet received {"connection_id":51489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":51489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:05:30] local.INFO: TCP Data received {"connection_id":51489,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:05:30] local.INFO: Processing buffer {"connection_id":51489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:05:30] local.INFO: IMEI packet received {"connection_id":51489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":51489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:05:31] local.INFO: TCP Data received {"connection_id":51489,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5652530012d7fa58005afd868000e00652b..."} 
[2026-04-22 19:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5652530012d7fa58005afd868000e00652b..."} 
[2026-04-22 19:05:31] local.INFO: Processing buffer {"connection_id":51489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5652530012d7fa58005afd868000e00652b..."} 
[2026-04-22 19:05:31] local.INFO: Packet analysis {"connection_id":51489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:05:31] local.INFO: Extracted packet for processing {"connection_id":51489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763340160,"raw_latitude":95410280,"longitude_deg":76.334016,"latitude_deg":9.541028,"altitude":14,"angle":101,"satellites":43,"speed":3,"hex_longitude":"2d7fa580","hex_latitude":"05afd868","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877387776001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480057360449536,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654974464,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:31] 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-22 19:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864798000,"timestamp_ms":1776864798000,"timestamp_seconds":1776864798,"priority":1,"record_length":96,"hex_timestamp":"0000019db5652530"} 
[2026-04-22 19: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-22 19:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:05: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-22 19: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-22 19: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-22 19:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:05:31] 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-22 19:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877387776001,"66":26789,"28":206,"85":12544,"24":3,"16":278480057360449536,"45":9197687469654974464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877387776001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480057360449536,"km_value":278480057360449.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654974464,"description":"Unknown IO ID 45"} 
[2026-04-22 19:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877387776001,"power":26789,"unknown_28":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9197687469654974464}} 
[2026-04-22 19:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":51489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:05:31] local.INFO: GPS data processed {"connection_id":51489,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:05:31] local.INFO: Acknowledgment sent {"connection_id":51489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:05:44] local.INFO: TCP Data received {"connection_id":50525,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5662700012d7eaa0005b5d698000700b525..."} 
[2026-04-22 19:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5662700012d7eaa0005b5d698000700b525..."} 
[2026-04-22 19:05:44] local.INFO: Processing buffer {"connection_id":50525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5662700012d7eaa0005b5d698000700b525..."} 
[2026-04-22 19:05:44] local.INFO: Packet analysis {"connection_id":50525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db566"} 
[2026-04-22 19:05:44] local.INFO: Extracted packet for processing {"connection_id":50525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db566"} 
[2026-04-22 19:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95803032,"longitude_deg":76.3275776,"latitude_deg":9.5803032,"altitude":7,"angle":181,"satellites":37,"speed":32,"hex_longitude":"2d7eaa00","hex_latitude":"05b5d698","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877399808001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74979571958546432,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127529831812474880,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:44] 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-22 19:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776864864000,"timestamp_ms":1776864864000,"timestamp_seconds":1776864864,"priority":1,"record_length":96,"hex_timestamp":"0000019db5662700"} 
[2026-04-22 19: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-22 19:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-22 19:05:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043287752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2839216334,"corrected_to":0} 
[2026-04-22 19:05:44] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3221599857,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:44] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495849,"note":"Value kept but may cause issues"} 
[2026-04-22 19:05:44] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,59,85,24,241,157,16,97,130,45,192,6,8,38,10,66,96,87,43,48,1,240,53,227,181,182,4,113,205,36,254,176,232,37,239,47,2],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2839216334,"validated":0}]} 
[2026-04-22 19:05:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504597935032369152,"timestamp_seconds":504597935032369.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19: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-22 19:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877399808001,"66":12374,"59":206,"85":12544,"24":32,"16":74979571958546432,"45":9127529831812474880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877399808001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:05:44] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74979571958546432,"km_value":74979571958546.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127529831812474880,"description":"Unknown IO ID 45"} 
[2026-04-22 19:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877399808001,"power":12374,"unknown_59":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9127529831812474880}} 
[2026-04-22 19:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":50525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:05:44] local.INFO: GPS data processed {"connection_id":50525,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:05:44] local.INFO: Acknowledgment sent {"connection_id":50525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:06:02] local.INFO: TCP Data received {"connection_id":51489,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db566f608012d7f9d0005afb780000b01012d..."} 
[2026-04-22 19:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db566f608012d7f9d0005afb780000b01012d..."} 
[2026-04-22 19:06:02] local.INFO: Processing buffer {"connection_id":51489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db566f608012d7f9d0005afb780000b01012d..."} 
[2026-04-22 19:06:02] local.INFO: Packet analysis {"connection_id":51489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db566"} 
[2026-04-22 19:06:02] local.INFO: Extracted packet for processing {"connection_id":51489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db566"} 
[2026-04-22 19:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":95401856,"longitude_deg":76.3337984,"latitude_deg":9.5401856,"altitude":11,"angle":257,"satellites":45,"speed":12,"hex_longitude":"2d7f9d00","hex_latitude":"05afb780","is_valid_coordinates":true} 
[2026-04-22 19:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877418496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480521216917504,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857882304206848,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:02] 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-22 19:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776864917000,"timestamp_ms":1776864917000,"timestamp_seconds":1776864917,"priority":1,"record_length":96,"hex_timestamp":"0000019db566f608"} 
[2026-04-22 19:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:06: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-22 19:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 19:06: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-22 19:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877418496001,"66":27234,"250":206,"85":12544,"24":12,"16":278480521216917504,"45":9195857882304206848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 19:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877418496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 19:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480521216917504,"km_value":278480521216917.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857882304206848,"description":"Unknown IO ID 45"} 
[2026-04-22 19:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877418496001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9195857882304206848}} 
[2026-04-22 19:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":51489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:06:02] local.INFO: GPS data processed {"connection_id":51489,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:06:02] local.INFO: Acknowledgment sent {"connection_id":51489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:06:09] local.INFO: TCP Data received {"connection_id":51490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:06:09] local.INFO: Processing buffer {"connection_id":51490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:06:09] local.INFO: IMEI packet received {"connection_id":51490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":51490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:06:10] local.INFO: TCP Data received {"connection_id":51490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:06:10] local.INFO: Processing buffer {"connection_id":51490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:06:10] local.INFO: IMEI packet received {"connection_id":51490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":51490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:06:15] local.INFO: TCP Data received {"connection_id":51490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:06:15] local.INFO: Processing buffer {"connection_id":51490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:06:15] local.INFO: IMEI packet received {"connection_id":51490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":51490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:06:16] local.INFO: TCP Data received {"connection_id":51490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5664e10012d7ea94005b5b310000700b625..."} 
[2026-04-22 19:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5664e10012d7ea94005b5b310000700b625..."} 
[2026-04-22 19:06:16] local.INFO: Processing buffer {"connection_id":51490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5664e10012d7ea94005b5b310000700b625..."} 
[2026-04-22 19:06:16] local.INFO: Packet analysis {"connection_id":51490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db566"} 
[2026-04-22 19:06:16] local.INFO: Extracted packet for processing {"connection_id":51490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db566"} 
[2026-04-22 19:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763275584,"raw_latitude":95793936,"longitude_deg":76.3275584,"latitude_deg":9.5793936,"altitude":7,"angle":182,"satellites":37,"speed":33,"hex_longitude":"2d7ea940","hex_latitude":"05b5b310","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877405184001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74980014340177920,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619345307648,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:16] 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-22 19:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864874000,"timestamp_ms":1776864874000,"timestamp_seconds":1776864874,"priority":1,"record_length":96,"hex_timestamp":"0000019db5664e10"} 
[2026-04-22 19: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-22 19:06: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-22 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 19:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877405184001,"66":12026,"59":206,"85":12544,"24":33,"16":74980014340177920,"45":9127107619345307648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877405184001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:06:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74980014340177920,"km_value":74980014340177.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619345307648,"description":"Unknown IO ID 45"} 
[2026-04-22 19:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877405184001,"power":12026,"unknown_59":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9127107619345307648}} 
[2026-04-22 19:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":51490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:06:16] local.INFO: GPS data processed {"connection_id":51490,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:06:16] local.INFO: Acknowledgment sent {"connection_id":51490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:06:25] local.INFO: TCP Data received {"connection_id":50526,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:06:25] local.INFO: Processing buffer {"connection_id":50526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:06:25] local.INFO: IMEI packet received {"connection_id":50526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":50526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:06:30] local.INFO: TCP Data received {"connection_id":50526,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:06:30] local.INFO: Processing buffer {"connection_id":50526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:06:30] local.INFO: IMEI packet received {"connection_id":50526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":50526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:06:31] local.INFO: TCP Data received {"connection_id":50526,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db566f9f0012d7f9c0005afb778000b01112d..."} 
[2026-04-22 19:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db566f9f0012d7f9c0005afb778000b01112d..."} 
[2026-04-22 19:06:31] local.INFO: Processing buffer {"connection_id":50526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db566f9f0012d7f9c0005afb778000b01112d..."} 
[2026-04-22 19:06:31] local.INFO: Packet analysis {"connection_id":50526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db566"} 
[2026-04-22 19:06:31] local.INFO: Extracted packet for processing {"connection_id":50526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db566"} 
[2026-04-22 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763337728,"raw_latitude":95401848,"longitude_deg":76.3337728,"latitude_deg":9.5401848,"altitude":11,"angle":273,"satellites":45,"speed":13,"hex_longitude":"2d7f9c00","hex_latitude":"05afb778","is_valid_coordinates":true} 
[2026-04-22 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-22 19:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877418752001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480534101819392,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506038583296000,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06: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-22 19:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864918000,"timestamp_ms":1776864918000,"timestamp_seconds":1776864918,"priority":1,"record_length":96,"hex_timestamp":"0000019db566f9f0"} 
[2026-04-22 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-22 19:06: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-22 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":98,"data_length":795,"current_offset":136} 
[2026-04-22 19:06: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-22 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-22 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-22 19:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:06:31] 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-22 19:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877418752001,"66":27267,"250":206,"85":12544,"24":13,"16":278480534101819392,"45":9195506038583296000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 19:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877418752001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:06:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 19:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480534101819392,"km_value":278480534101819.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506038583296000,"description":"Unknown IO ID 45"} 
[2026-04-22 19:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877418752001,"power":27267,"unknown_250":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9195506038583296000}} 
[2026-04-22 19:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":50526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:06:31] local.INFO: GPS data processed {"connection_id":50526,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:06:31] local.INFO: Acknowledgment sent {"connection_id":50526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:06:47] local.INFO: TCP Data received {"connection_id":51490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db567b958012d7eb44005b47b10000500b024..."} 
[2026-04-22 19:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db567b958012d7eb44005b47b10000500b024..."} 
[2026-04-22 19:06:47] local.INFO: Processing buffer {"connection_id":51490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db567b958012d7eb44005b47b10000500b024..."} 
[2026-04-22 19:06:47] local.INFO: Packet analysis {"connection_id":51490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db567"} 
[2026-04-22 19:06:47] local.INFO: Extracted packet for processing {"connection_id":51490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db567"} 
[2026-04-22 19:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763278400,"raw_latitude":95714064,"longitude_deg":76.32784,"latitude_deg":9.5714064,"altitude":5,"angle":176,"satellites":36,"speed":25,"hex_longitude":"2d7eb440","hex_latitude":"05b47b10","is_valid_coordinates":true} 
[2026-04-22 19:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877428736001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74983896990613504,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129429787882735616,"note":"Value kept but may cause issues"} 
[2026-04-22 19:06:47] 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-22 19:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776864967000,"timestamp_ms":1776864967000,"timestamp_seconds":1776864967,"priority":1,"record_length":96,"hex_timestamp":"0000019db567b958"} 
[2026-04-22 19:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:06: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-22 19:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-22 19:06: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-22 19:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877428736001,"66":12232,"59":206,"85":12544,"24":25,"16":74983896990613504,"45":9129429787882735616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877428736001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:06:47] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74983896990613504,"km_value":74983896990613.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129429787882735616,"description":"Unknown IO ID 45"} 
[2026-04-22 19:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877428736001,"power":12232,"unknown_59":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9129429787882735616}} 
[2026-04-22 19:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":51490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:06:47] local.INFO: GPS data processed {"connection_id":51490,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:06:47] local.INFO: Acknowledgment sent {"connection_id":51490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:07:03] local.INFO: TCP Data received {"connection_id":50526,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5670990012d7f960005afb7c0000a01052d..."} 
[2026-04-22 19:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5670990012d7f960005afb7c0000a01052d..."} 
[2026-04-22 19:07:03] local.INFO: Processing buffer {"connection_id":50526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5670990012d7f960005afb7c0000a01052d..."} 
[2026-04-22 19:07:03] local.INFO: Packet analysis {"connection_id":50526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db567"} 
[2026-04-22 19:07:03] local.INFO: Extracted packet for processing {"connection_id":50526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db567"} 
[2026-04-22 19:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763336192,"raw_latitude":95401920,"longitude_deg":76.3336192,"latitude_deg":9.540192,"altitude":10,"angle":261,"satellites":45,"speed":16,"hex_longitude":"2d7f9600","hex_latitude":"05afb7c0","is_valid_coordinates":true} 
[2026-04-22 19:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877419008001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480607116263424,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195224563606583296,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07: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-22 19:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776864922000,"timestamp_ms":1776864922000,"timestamp_seconds":1776864922,"priority":1,"record_length":96,"hex_timestamp":"0000019db5670990"} 
[2026-04-22 19:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:07: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-22 19:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 19:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877419008001,"66":27343,"250":206,"85":12544,"24":16,"16":278480607116263424,"45":9195224563606583296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 19:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877419008001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:07:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 19:07:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480607116263424,"km_value":278480607116263.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195224563606583296,"description":"Unknown IO ID 45"} 
[2026-04-22 19:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877419008001,"power":27343,"unknown_250":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":9195224563606583296}} 
[2026-04-22 19:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":50526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:07:03] local.INFO: GPS data processed {"connection_id":50526,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:07:03] local.INFO: Acknowledgment sent {"connection_id":50526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:07:09] local.INFO: TCP Data received {"connection_id":50925,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:07:09] local.INFO: Processing buffer {"connection_id":50925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:07:09] local.INFO: IMEI packet received {"connection_id":50925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":50925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:07:15] local.INFO: TCP Data received {"connection_id":50925,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:07:15] local.INFO: Processing buffer {"connection_id":50925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:07:15] local.INFO: IMEI packet received {"connection_id":50925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":50925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:07:16] local.INFO: TCP Data received {"connection_id":50925,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5680778012d7eb74005b45780000500b025..."} 
[2026-04-22 19:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5680778012d7eb74005b45780000500b025..."} 
[2026-04-22 19:07:16] local.INFO: Processing buffer {"connection_id":50925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5680778012d7eb74005b45780000500b025..."} 
[2026-04-22 19:07:16] local.INFO: Packet analysis {"connection_id":50925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:07:16] local.INFO: Extracted packet for processing {"connection_id":50925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:07:16] local.INFO: GPS Element Parsed {"raw_longitude":763279168,"raw_latitude":95704960,"longitude_deg":76.3279168,"latitude_deg":9.570496,"altitude":5,"angle":176,"satellites":37,"speed":16,"hex_longitude":"2d7eb740","hex_latitude":"05b45780","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877431552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74984343667212288,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129992737833816064,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776864987000,"timestamp_ms":1776864987000,"timestamp_seconds":1776864987,"priority":1,"record_length":96,"hex_timestamp":"0000019db5680778"} 
[2026-04-22 19: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-22 19:07: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-22 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-22 19:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877431552001,"66":12037,"11":206,"85":12544,"24":16,"16":74984343667212288,"45":9129992737833816064},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877431552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:07:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74984343667212288,"km_value":74984343667212.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129992737833816064,"description":"Unknown IO ID 45"} 
[2026-04-22 19:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877431552001,"power":12037,"unknown_11":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":9129992737833816064}} 
[2026-04-22 19:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":50925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:07:16] local.INFO: GPS data processed {"connection_id":50925,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:07:16] local.INFO: Acknowledgment sent {"connection_id":50925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:07:25] local.INFO: TCP Data received {"connection_id":50799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:25] local.INFO: Processing buffer {"connection_id":50799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:25] local.INFO: IMEI packet received {"connection_id":50799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":50799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:07:27] local.INFO: TCP Data received {"connection_id":50799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:28] local.INFO: Processing buffer {"connection_id":50799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:28] local.INFO: IMEI packet received {"connection_id":50799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":50799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:07:29] local.INFO: TCP Data received {"connection_id":50799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:29] local.INFO: Processing buffer {"connection_id":50799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:29] local.INFO: IMEI packet received {"connection_id":50799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":50799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:07:30] local.INFO: TCP Data received {"connection_id":50799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:30] local.INFO: Processing buffer {"connection_id":50799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:07:30] local.INFO: IMEI packet received {"connection_id":50799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":50799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:07:31] local.INFO: TCP Data received {"connection_id":50799,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5673c58012d7f7a8005afb738000801122c..."} 
[2026-04-22 19:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5673c58012d7f7a8005afb738000801122c..."} 
[2026-04-22 19:07:31] local.INFO: Processing buffer {"connection_id":50799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5673c58012d7f7a8005afb738000801122c..."} 
[2026-04-22 19:07:31] local.INFO: Packet analysis {"connection_id":50799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db567"} 
[2026-04-22 19:07:31] local.INFO: Extracted packet for processing {"connection_id":50799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db567"} 
[2026-04-22 19:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763329152,"raw_latitude":95401784,"longitude_deg":76.3329152,"latitude_deg":9.5401784,"altitude":8,"angle":274,"satellites":44,"speed":23,"hex_longitude":"2d7f7a80","hex_latitude":"05afb738","is_valid_coordinates":true} 
[2026-04-22 19:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877420032001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278480946418679808,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193535713746337792,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07: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-22 19:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864935000,"timestamp_ms":1776864935000,"timestamp_seconds":1776864935,"priority":1,"record_length":96,"hex_timestamp":"0000019db5673c58"} 
[2026-04-22 19:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:07: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-22 19:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:07: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-22 19:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:07:31] 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-22 19:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877420032001,"66":27397,"250":206,"85":12544,"24":23,"16":278480946418679808,"45":9193535713746337792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 19:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877420032001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:07:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 19:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278480946418679808,"km_value":278480946418679.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193535713746337792,"description":"Unknown IO ID 45"} 
[2026-04-22 19:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877420032001,"power":27397,"unknown_250":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9193535713746337792}} 
[2026-04-22 19:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":50799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:07:31] local.INFO: GPS data processed {"connection_id":50799,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:07:31] local.INFO: Acknowledgment sent {"connection_id":50799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:07:31] local.INFO: TCP Data received {"connection_id":50799,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5676368012d7f5fc005afb940000801062b..."} 
[2026-04-22 19:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5676368012d7f5fc005afb940000801062b..."} 
[2026-04-22 19:07:31] local.INFO: Processing buffer {"connection_id":50799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5676368012d7f5fc005afb940000801062b..."} 
[2026-04-22 19:07:31] local.INFO: Packet analysis {"connection_id":50799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db567"} 
[2026-04-22 19:07:31] local.INFO: Extracted packet for processing {"connection_id":50799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db567"} 
[2026-04-22 19:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763322304,"raw_latitude":95402304,"longitude_deg":76.3322304,"latitude_deg":9.5402304,"altitude":8,"angle":262,"satellites":43,"speed":28,"hex_longitude":"2d7f5fc0","hex_latitude":"05afb940","is_valid_coordinates":true} 
[2026-04-22 19:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877423360001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278481277131161600,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185795151886759936,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07: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-22 19:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776864945000,"timestamp_ms":1776864945000,"timestamp_seconds":1776864945,"priority":1,"record_length":96,"hex_timestamp":"0000019db5676368"} 
[2026-04-22 19:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:07: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-22 19:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:07: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-22 19:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:07:31] 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-22 19:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877423360001,"66":27484,"250":206,"85":12544,"24":28,"16":278481277131161600,"45":9185795151886759936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-22 19:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877423360001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:07:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-22 19:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278481277131161600,"km_value":278481277131161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185795151886759936,"description":"Unknown IO ID 45"} 
[2026-04-22 19:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877423360001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9185795151886759936}} 
[2026-04-22 19:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":50799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:07:31] local.INFO: GPS data processed {"connection_id":50799,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:07:31] local.INFO: Acknowledgment sent {"connection_id":50799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:07:47] local.INFO: TCP Data received {"connection_id":50925,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5684210012d7eb9c005b43328000700b223..."} 
[2026-04-22 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5684210012d7eb9c005b43328000700b223..."} 
[2026-04-22 19:07:47] local.INFO: Processing buffer {"connection_id":50925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5684210012d7eb9c005b43328000700b223..."} 
[2026-04-22 19:07:47] local.INFO: Packet analysis {"connection_id":50925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:07:47] local.INFO: Extracted packet for processing {"connection_id":50925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:07:47] local.INFO: GPS Element Parsed {"raw_longitude":763279808,"raw_latitude":95695656,"longitude_deg":76.3279808,"latitude_deg":9.5695656,"altitude":7,"angle":178,"satellites":35,"speed":31,"hex_longitude":"2d7eb9c0","hex_latitude":"05b43328","is_valid_coordinates":true} 
[2026-04-22 19:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877436672001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74984794638778368,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130837162761617408,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776865002000,"timestamp_ms":1776865002000,"timestamp_seconds":1776865002,"priority":1,"record_length":96,"hex_timestamp":"0000019db5684210"} 
[2026-04-22 19:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:07: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-22 19:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2522015791495250944,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043426752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-5400853892059581661,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13478203,"corrected_to":0} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3889168392,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6252402771481264104,"corrected_to":0} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147857654,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511017,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194894592,"note":"Value kept but may cause issues"} 
[2026-04-22 19:07:47] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,11,85,24,241,157,16,101,185,45,64,123,5,36,10,66,59,142,158,6,38,99,1,240,200,227,100,181,180,4,113,205,27,29,172,96,239,48,2,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":200,"original":13478203,"validated":0},{"io_id":205,"original":-6252402771481264104,"validated":0}]} 
[2026-04-22 19:07:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360481643150966784,"timestamp_seconds":360481643150966.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877436672001,"66":12374,"11":206,"85":12544,"24":31,"16":74984794638778368,"45":9130837162761617408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877436672001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:07:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74984794638778368,"km_value":74984794638778.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130837162761617408,"description":"Unknown IO ID 45"} 
[2026-04-22 19:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877436672001,"power":12374,"unknown_11":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9130837162761617408}} 
[2026-04-22 19:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":50925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:07:47] local.INFO: GPS data processed {"connection_id":50925,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:07:47] local.INFO: Acknowledgment sent {"connection_id":50925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:08:02] local.INFO: TCP Data received {"connection_id":50799,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db568bb28012d7f1a8005af7490000401242b..."} 
[2026-04-22 19:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db568bb28012d7f1a8005af7490000401242b..."} 
[2026-04-22 19:08:02] local.INFO: Processing buffer {"connection_id":50799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db568bb28012d7f1a8005af7490000401242b..."} 
[2026-04-22 19:08:02] local.INFO: Packet analysis {"connection_id":50799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:02] local.INFO: Extracted packet for processing {"connection_id":50799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763304576,"raw_latitude":95384720,"longitude_deg":76.3304576,"latitude_deg":9.538472,"altitude":4,"angle":292,"satellites":43,"speed":29,"hex_longitude":"2d7f1a80","hex_latitude":"05af7490","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877447680001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278483446089646080,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160884616443183104,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:02] 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-22 19:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776865033000,"timestamp_ms":1776865033000,"timestamp_seconds":1776865033,"priority":1,"record_length":96,"hex_timestamp":"0000019db568bb28"} 
[2026-04-22 19: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-22 19:08: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-22 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 19:08: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-22 19: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-22 19: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-22 19:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877447680001,"66":27071,"28":206,"85":12544,"24":29,"16":278483446089646080,"45":9160884616443183104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877447680001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:08:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278483446089646080,"km_value":278483446089646.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160884616443183104,"description":"Unknown IO ID 45"} 
[2026-04-22 19:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877447680001,"power":27071,"unknown_28":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9160884616443183104}} 
[2026-04-22 19:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":50799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:08:02] local.INFO: GPS data processed {"connection_id":50799,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:08:02] local.INFO: Acknowledgment sent {"connection_id":50799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:08:09] local.INFO: TCP Data received {"connection_id":51492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:08:09] local.INFO: Processing buffer {"connection_id":51492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:08:09] local.INFO: IMEI packet received {"connection_id":51492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":51492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:08:15] local.INFO: TCP Data received {"connection_id":51492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:08:15] local.INFO: Processing buffer {"connection_id":51492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:08:15] local.INFO: IMEI packet received {"connection_id":51492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":51492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:08:16] local.INFO: TCP Data received {"connection_id":51492,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5686d08012d7eba4005b40f40000700b225..."} 
[2026-04-22 19:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5686d08012d7eba4005b40f40000700b225..."} 
[2026-04-22 19:08:16] local.INFO: Processing buffer {"connection_id":51492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5686d08012d7eba4005b40f40000700b225..."} 
[2026-04-22 19:08:16] local.INFO: Packet analysis {"connection_id":51492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:16] local.INFO: Extracted packet for processing {"connection_id":51492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:16] local.INFO: GPS Element Parsed {"raw_longitude":763279936,"raw_latitude":95686464,"longitude_deg":76.3279936,"latitude_deg":9.5686464,"altitude":7,"angle":178,"satellites":37,"speed":33,"hex_longitude":"2d7eba40","hex_latitude":"05b40f40","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877440512001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74985241315377152,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131540850201012224,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776865013000,"timestamp_ms":1776865013000,"timestamp_seconds":1776865013,"priority":1,"record_length":96,"hex_timestamp":"0000019db5686d08"} 
[2026-04-22 19: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-22 19:08: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-22 19: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":86,"data_length":795,"current_offset":136} 
[2026-04-22 19:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877440512001,"66":12298,"11":206,"85":12544,"24":33,"16":74985241315377152,"45":9131540850201012224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877440512001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:08:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74985241315377152,"km_value":74985241315377.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131540850201012224,"description":"Unknown IO ID 45"} 
[2026-04-22 19:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877440512001,"power":12298,"unknown_11":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9131540850201012224}} 
[2026-04-22 19:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":51492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:08:16] local.INFO: GPS data processed {"connection_id":51492,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:08:16] local.INFO: Acknowledgment sent {"connection_id":51492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:08:30] local.INFO: TCP Data received {"connection_id":51491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:08:30] local.INFO: Processing buffer {"connection_id":51491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:08:30] local.INFO: IMEI packet received {"connection_id":51491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":51491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:08:32] local.INFO: TCP Data received {"connection_id":50926,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:08:32] local.INFO: Processing buffer {"connection_id":50926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:08:32] local.INFO: IMEI packet received {"connection_id":50926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:08:33] local.INFO: TCP Data received {"connection_id":50926,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:08:33] local.INFO: Processing buffer {"connection_id":50926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:08:33] local.INFO: IMEI packet received {"connection_id":50926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":50926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:08:34] local.INFO: TCP Data received {"connection_id":50926,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db568ceb0012d7f0d4005af7890000501142c..."} 
[2026-04-22 19:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db568ceb0012d7f0d4005af7890000501142c..."} 
[2026-04-22 19:08:34] local.INFO: Processing buffer {"connection_id":50926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db568ceb0012d7f0d4005af7890000501142c..."} 
[2026-04-22 19:08:34] local.INFO: Packet analysis {"connection_id":50926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:34] local.INFO: Extracted packet for processing {"connection_id":50926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763301184,"raw_latitude":95385744,"longitude_deg":76.3301184,"latitude_deg":9.5385744,"altitude":5,"angle":276,"satellites":44,"speed":25,"hex_longitude":"2d7f0d40","hex_latitude":"05af7890","is_valid_coordinates":true} 
[2026-04-22 19:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877448448001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278483617888337920,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158773554118168576,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:34] 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-22 19:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776865038000,"timestamp_ms":1776865038000,"timestamp_seconds":1776865038,"priority":1,"record_length":96,"hex_timestamp":"0000019db568ceb0"} 
[2026-04-22 19:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:08: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-22 19:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-04-22 19:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877448448001,"66":27332,"28":206,"85":12544,"24":25,"16":278483617888337920,"45":9158773554118168576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877448448001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:08:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278483617888337920,"km_value":278483617888337.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158773554118168576,"description":"Unknown IO ID 45"} 
[2026-04-22 19:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877448448001,"power":27332,"unknown_28":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9158773554118168576}} 
[2026-04-22 19:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":50926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:08:34] local.INFO: GPS data processed {"connection_id":50926,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:08:34] local.INFO: Acknowledgment sent {"connection_id":50926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:08:35] local.INFO: TCP Data received {"connection_id":50926,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db568e238012d7f00c005af7910000501092c..."} 
[2026-04-22 19:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db568e238012d7f00c005af7910000501092c..."} 
[2026-04-22 19:08:35] local.INFO: Processing buffer {"connection_id":50926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db568e238012d7f00c005af7910000501092c..."} 
[2026-04-22 19:08:35] local.INFO: Packet analysis {"connection_id":50926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:35] local.INFO: Extracted packet for processing {"connection_id":50926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":763297984,"raw_latitude":95385872,"longitude_deg":76.3297984,"latitude_deg":9.5385872,"altitude":5,"angle":265,"satellites":44,"speed":26,"hex_longitude":"2d7f00c0","hex_latitude":"05af7910","is_valid_coordinates":true} 
[2026-04-22 19:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877449728001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278483772507160576,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155044010677014528,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:35] 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-22 19:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776865043000,"timestamp_ms":1776865043000,"timestamp_seconds":1776865043,"priority":1,"record_length":96,"hex_timestamp":"0000019db568e238"} 
[2026-04-22 19:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 19:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:08:35] 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-22 19:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877449728001,"66":27593,"28":206,"85":12544,"24":26,"16":278483772507160576,"45":9155044010677014528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877449728001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:08:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278483772507160576,"km_value":278483772507160.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155044010677014528,"description":"Unknown IO ID 45"} 
[2026-04-22 19:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877449728001,"power":27593,"unknown_28":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9155044010677014528}} 
[2026-04-22 19:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":50926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:08:35] local.INFO: GPS data processed {"connection_id":50926,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:08:35] local.INFO: Acknowledgment sent {"connection_id":50926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:08:47] local.INFO: TCP Data received {"connection_id":51492,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5689418012d7eba4005b3ebf0000700b426..."} 
[2026-04-22 19:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5689418012d7eba4005b3ebf0000700b426..."} 
[2026-04-22 19:08:47] local.INFO: Processing buffer {"connection_id":51492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5689418012d7eba4005b3ebf0000700b426..."} 
[2026-04-22 19:08:47] local.INFO: Packet analysis {"connection_id":51492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:47] local.INFO: Extracted packet for processing {"connection_id":51492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db568"} 
[2026-04-22 19:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763279936,"raw_latitude":95677424,"longitude_deg":76.3279936,"latitude_deg":9.5677424,"altitude":7,"angle":180,"satellites":38,"speed":37,"hex_longitude":"2d7eba40","hex_latitude":"05b3ebf0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877443328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74985679402041344,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131681587687014400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776865023000,"timestamp_ms":1776865023000,"timestamp_seconds":1776865023,"priority":1,"record_length":96,"hex_timestamp":"0000019db5689418"} 
[2026-04-22 19: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-22 19:08: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-22 19: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":10,"data_length":795,"current_offset":136} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496590520832,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185866,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5375295641307218260,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972245125169358,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832602,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3035090944,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13478203,"corrected_to":0} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2663907334,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2839216334,"corrected_to":0} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495849,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":8,"raw_value":50143228237709312,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4179340454199820289,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":128,"raw_value":411224358175375527,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.WARNING: Large IO value detected {"io_id":36,"raw_value":6755399441711108,"note":"Value kept but may cause issues"} 
[2026-04-22 19:08:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,11,85,24,241,157,16,102,66,45,192,51,7,35,10,64,87,5,37,101,185,1,240,200,227,181,180,4,113,205,99,176,184,239,47,59,2,8,100,128,36],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":200,"original":13478203,"validated":0},{"io_id":205,"original":2839216334,"validated":0}]} 
[2026-04-22 19:08:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504599030251192320,"timestamp_seconds":504599030251192.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19: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-22 19:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877443328001,"66":12189,"11":206,"85":12544,"24":37,"16":74985679402041344,"45":9131681587687014400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877443328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:08:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74985679402041344,"km_value":74985679402041.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131681587687014400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877443328001,"power":12189,"unknown_11":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9131681587687014400}} 
[2026-04-22 19:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":51492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:08:47] local.INFO: GPS data processed {"connection_id":51492,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:08:47] local.INFO: Acknowledgment sent {"connection_id":51492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:08:50] local.INFO: TCP Data received {"connection_id":50927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:08:50] local.INFO: Processing buffer {"connection_id":50927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:08:50] local.INFO: IMEI packet received {"connection_id":50927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":50927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:09:07] local.INFO: TCP Data received {"connection_id":50926,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5690d30012d7ee04005af7ae0000701152b..."} 
[2026-04-22 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5690d30012d7ee04005af7ae0000701152b..."} 
[2026-04-22 19:09:07] local.INFO: Processing buffer {"connection_id":50926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5690d30012d7ee04005af7ae0000701152b..."} 
[2026-04-22 19:09:07] local.INFO: Packet analysis {"connection_id":50926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db569"} 
[2026-04-22 19:09:07] local.INFO: Extracted packet for processing {"connection_id":50926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db569"} 
[2026-04-22 19:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763289664,"raw_latitude":95386336,"longitude_deg":76.3289664,"latitude_deg":9.5386336,"altitude":7,"angle":277,"satellites":43,"speed":30,"hex_longitude":"2d7ee040","hex_latitude":"05af7ae0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877451008001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278484171939119104,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151525573468164096,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:07] 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-22 19:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776865054000,"timestamp_ms":1776865054000,"timestamp_seconds":1776865054,"priority":1,"record_length":96,"hex_timestamp":"0000019db5690d30"} 
[2026-04-22 19: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-22 19:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":201,"data_length":795,"current_offset":136} 
[2026-04-22 19:09:07] 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-22 19: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-22 19: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-22 19:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:09: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-22 19:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877451008001,"66":27539,"28":206,"85":12544,"24":30,"16":278484171939119104,"45":9151525573468164096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877451008001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278484171939119104,"km_value":278484171939119.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151525573468164096,"description":"Unknown IO ID 45"} 
[2026-04-22 19:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877451008001,"power":27539,"unknown_28":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9151525573468164096}} 
[2026-04-22 19:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":50926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:09:07] local.INFO: GPS data processed {"connection_id":50926,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:09:07] local.INFO: Acknowledgment sent {"connection_id":50926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:09:10] local.INFO: TCP Data received {"connection_id":50527,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:09:10] local.INFO: Processing buffer {"connection_id":50527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:09:10] local.INFO: IMEI packet received {"connection_id":50527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":50527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:09:11] local.INFO: TCP Data received {"connection_id":50527,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:09:11] local.INFO: Processing buffer {"connection_id":50527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:09:11] local.INFO: IMEI packet received {"connection_id":50527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":50527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:09:15] local.INFO: TCP Data received {"connection_id":50527,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:09:15] local.INFO: Processing buffer {"connection_id":50527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:09:15] local.INFO: IMEI packet received {"connection_id":50527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":50527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:09:16] local.INFO: TCP Data received {"connection_id":50527,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56a12e8012d7ec20005b25360000400b925..."} 
[2026-04-22 19:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56a12e8012d7ec20005b25360000400b925..."} 
[2026-04-22 19:09:16] local.INFO: Processing buffer {"connection_id":50527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56a12e8012d7ec20005b25360000400b925..."} 
[2026-04-22 19:09:16] local.INFO: Packet analysis {"connection_id":50527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56a"} 
[2026-04-22 19:09:16] local.INFO: Extracted packet for processing {"connection_id":50527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56a"} 
[2026-04-22 19:09:16] local.INFO: GPS Element Parsed {"raw_longitude":763281920,"raw_latitude":95572832,"longitude_deg":76.328192,"latitude_deg":9.5572832,"altitude":4,"angle":185,"satellites":37,"speed":35,"hex_longitude":"2d7ec200","hex_latitude":"05b25360","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877468416001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74990751758417920,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134214862450741248,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776865121000,"timestamp_ms":1776865121000,"timestamp_seconds":1776865121,"priority":1,"record_length":96,"hex_timestamp":"0000019db56a12e8"} 
[2026-04-22 19: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-22 19:09: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-22 19: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-22 19: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-22 19: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-22 19: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-22 19:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877468416001,"66":12287,"93":206,"85":12544,"24":35,"16":74990751758417920,"45":9134214862450741248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877468416001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:09:16] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:09:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74990751758417920,"km_value":74990751758417.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134214862450741248,"description":"Unknown IO ID 45"} 
[2026-04-22 19:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877468416001,"power":12287,"unknown_93":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9134214862450741248}} 
[2026-04-22 19:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":50527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:09:16] local.INFO: GPS data processed {"connection_id":50527,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:09:16] local.INFO: Acknowledgment sent {"connection_id":50527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:09:25] local.INFO: TCP Data received {"connection_id":51493,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:09:25] local.INFO: Processing buffer {"connection_id":51493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:09:25] local.INFO: IMEI packet received {"connection_id":51493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":51493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:09:28] local.INFO: TCP Data received {"connection_id":51493,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:09:28] local.INFO: Processing buffer {"connection_id":51493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:09:28] local.INFO: IMEI packet received {"connection_id":51493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":51493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:09:30] local.INFO: TCP Data received {"connection_id":51493,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56924a0012d7ecf0005af7bd80007010a2b..."} 
[2026-04-22 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56924a0012d7ecf0005af7bd80007010a2b..."} 
[2026-04-22 19:09:30] local.INFO: Processing buffer {"connection_id":51493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56924a0012d7ecf0005af7bd80007010a2b..."} 
[2026-04-22 19:09:30] local.INFO: Packet analysis {"connection_id":51493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db569"} 
[2026-04-22 19:09:30] local.INFO: Extracted packet for processing {"connection_id":51493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db569"} 
[2026-04-22 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763285248,"raw_latitude":95386584,"longitude_deg":76.3285248,"latitude_deg":9.5386584,"altitude":7,"angle":266,"satellites":43,"speed":26,"hex_longitude":"2d7ecf00","hex_latitude":"05af7bd8","is_valid_coordinates":true} 
[2026-04-22 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-22 19:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877453824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278484382392516608,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142377636725186560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09: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-22 19:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776865060000,"timestamp_ms":1776865060000,"timestamp_seconds":1776865060,"priority":1,"record_length":96,"hex_timestamp":"0000019db56924a0"} 
[2026-04-22 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-22 19:09: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-22 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":147,"data_length":795,"current_offset":136} 
[2026-04-22 19:09: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-22 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-22 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-22 19:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":51493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":51493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":51493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:09: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-22 19:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877453824001,"66":27484,"28":206,"85":12544,"24":26,"16":278484382392516608,"45":9142377636725186560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877453824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:09:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278484382392516608,"km_value":278484382392516.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142377636725186560,"description":"Unknown IO ID 45"} 
[2026-04-22 19:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877453824001,"power":27484,"unknown_28":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9142377636725186560}} 
[2026-04-22 19:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":51493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:09:30] local.INFO: GPS data processed {"connection_id":51493,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:09:30] local.INFO: Acknowledgment sent {"connection_id":51493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:09:32] local.INFO: TCP Data received {"connection_id":50928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:09:32] local.INFO: Processing buffer {"connection_id":50928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:09:32] local.INFO: IMEI packet received {"connection_id":50928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:09:37] local.INFO: TCP Data received {"connection_id":50928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:09:37] local.INFO: Processing buffer {"connection_id":50928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:09:37] local.INFO: IMEI packet received {"connection_id":50928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":50928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:09:38] local.INFO: TCP Data received {"connection_id":50928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5650dc0012d1b02c007247af8001f013629..."} 
[2026-04-22 19:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5650dc0012d1b02c007247af8001f013629..."} 
[2026-04-22 19:09:38] local.INFO: Processing buffer {"connection_id":50928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5650dc0012d1b02c007247af8001f013629..."} 
[2026-04-22 19:09:38] local.INFO: Packet analysis {"connection_id":50928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:09:38] local.INFO: Extracted packet for processing {"connection_id":50928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 19:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877386752001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776864792000,"timestamp_ms":1776864792000,"timestamp_seconds":1776864792,"priority":1,"record_length":96,"hex_timestamp":"0000019db5650dc0"} 
[2026-04-22 19:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877386752001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877386752001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:09:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877386752001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":50928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:09:38] local.INFO: GPS data processed {"connection_id":50928,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:09:38] local.INFO: Acknowledgment sent {"connection_id":50928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:09:42] local.INFO: TCP Data received {"connection_id":50928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5650dc0012d1b02c007247af8001f013629..."} 
[2026-04-22 19:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5650dc0012d1b02c007247af8001f013629..."} 
[2026-04-22 19:09:42] local.INFO: Processing buffer {"connection_id":50928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5650dc0012d1b02c007247af8001f013629..."} 
[2026-04-22 19:09:42] local.INFO: Packet analysis {"connection_id":50928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:09:42] local.INFO: Extracted packet for processing {"connection_id":50928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756744896,"raw_latitude":119831288,"longitude_deg":75.6744896,"latitude_deg":11.9831288,"altitude":31,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2d1b02c0","hex_latitude":"07247af8","is_valid_coordinates":true} 
[2026-04-22 19:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-22 19:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877386752001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776864792000,"timestamp_ms":1776864792000,"timestamp_seconds":1776864792,"priority":1,"record_length":96,"hex_timestamp":"0000019db5650dc0"} 
[2026-04-22 19:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:09:42] local.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-22 19:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877386752001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877386752001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:09:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877386752001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":50928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:09:42] local.INFO: GPS data processed {"connection_id":50928,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:09:42] local.INFO: Acknowledgment sent {"connection_id":50928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:09:46] local.INFO: TCP Data received {"connection_id":50527,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56a3610012d7ebfc005b23098000500b925..."} 
[2026-04-22 19:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56a3610012d7ebfc005b23098000500b925..."} 
[2026-04-22 19:09:46] local.INFO: Processing buffer {"connection_id":50527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56a3610012d7ebfc005b23098000500b925..."} 
[2026-04-22 19:09:46] local.INFO: Packet analysis {"connection_id":50527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56a"} 
[2026-04-22 19:09:46] local.INFO: Extracted packet for processing {"connection_id":50527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56a"} 
[2026-04-22 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":763281344,"raw_latitude":95563928,"longitude_deg":76.3281344,"latitude_deg":9.5563928,"altitude":5,"angle":185,"satellites":37,"speed":41,"hex_longitude":"2d7ebfc0","hex_latitude":"05b23098","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877470976001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74991185550114816,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133863018727432192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776865130000,"timestamp_ms":1776865130000,"timestamp_seconds":1776865130,"priority":1,"record_length":96,"hex_timestamp":"0000019db56a3610"} 
[2026-04-22 19: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-22 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-22 19:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877470976001,"66":12189,"93":206,"85":12544,"24":41,"16":74991185550114816,"45":9133863018727432192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877470976001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:09:46] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74991185550114816,"km_value":74991185550114.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133863018727432192,"description":"Unknown IO ID 45"} 
[2026-04-22 19:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877470976001,"power":12189,"unknown_93":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9133863018727432192}} 
[2026-04-22 19:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":50527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:09:47] local.INFO: GPS data processed {"connection_id":50527,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:09:47] local.INFO: Acknowledgment sent {"connection_id":50527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:09:47] local.INFO: TCP Data received {"connection_id":50928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5651978012d1b034007247b78001f003629..."} 
[2026-04-22 19:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5651978012d1b034007247b78001f003629..."} 
[2026-04-22 19:09:47] local.INFO: Processing buffer {"connection_id":50928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5651978012d1b034007247b78001f003629..."} 
[2026-04-22 19:09:47] local.INFO: Packet analysis {"connection_id":50928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:09:47] local.INFO: Extracted packet for processing {"connection_id":50928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756745024,"raw_latitude":119831416,"longitude_deg":75.6745024,"latitude_deg":11.9831416,"altitude":31,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0340","hex_latitude":"07247b78","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877386752001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946329125886818304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776864795000,"timestamp_ms":1776864795000,"timestamp_seconds":1776864795,"priority":1,"record_length":96,"hex_timestamp":"0000019db5651978"} 
[2026-04-22 19: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-22 19:09: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-22 19: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-22 19: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-22 19: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-22 19: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-22 19:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:09: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-22 19:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877386752001,"66":12428,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946329125886818304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877386752001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:09:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946329125886818304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877386752001,"power":12428,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946329125886818304}} 
[2026-04-22 19:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":50928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:09:47] local.INFO: GPS data processed {"connection_id":50928,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:09:47] local.INFO: Acknowledgment sent {"connection_id":50928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:10:01] local.INFO: TCP Data received {"connection_id":51493,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5695b50012d7eb58005af79d0000800fe2b..."} 
[2026-04-22 19:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5695b50012d7eb58005af79d0000800fe2b..."} 
[2026-04-22 19:10:01] local.INFO: Processing buffer {"connection_id":51493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5695b50012d7eb58005af79d0000800fe2b..."} 
[2026-04-22 19:10:01] local.INFO: Packet analysis {"connection_id":51493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db569"} 
[2026-04-22 19:10:01] local.INFO: Extracted packet for processing {"connection_id":51493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db569"} 
[2026-04-22 19:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763278720,"raw_latitude":95386064,"longitude_deg":76.327872,"latitude_deg":9.5386064,"altitude":8,"angle":254,"satellites":43,"speed":9,"hex_longitude":"2d7eb580","hex_latitude":"05af79d0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877455360001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278484695925129216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137522193376991232,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:01] 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-22 19:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776865074000,"timestamp_ms":1776865074000,"timestamp_seconds":1776865074,"priority":1,"record_length":96,"hex_timestamp":"0000019db5695b50"} 
[2026-04-22 19: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-22 19: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-22 19: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-22 19: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-22 19: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-22 19: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-22 19:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":51493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":51493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":51493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:10:01] 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-22 19:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877455360001,"66":27397,"27":206,"85":12544,"24":9,"16":278484695925129216,"45":9137522193376991232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 19:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877455360001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:10:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 19:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278484695925129216,"km_value":278484695925129.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137522193376991232,"description":"Unknown IO ID 45"} 
[2026-04-22 19:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877455360001,"power":27397,"unknown_27":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9137522193376991232}} 
[2026-04-22 19:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":51493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:10:01] local.INFO: GPS data processed {"connection_id":51493,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:10:01] local.INFO: Acknowledgment sent {"connection_id":51493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:10:17] local.INFO: TCP Data received {"connection_id":51494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:10:17] local.INFO: Processing buffer {"connection_id":51494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:10:17] local.INFO: IMEI packet received {"connection_id":51494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":51494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:10:18] local.INFO: TCP Data received {"connection_id":51494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:10:18] local.INFO: Processing buffer {"connection_id":51494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:10:18] local.INFO: IMEI packet received {"connection_id":51494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":51494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:10:20] local.INFO: TCP Data received {"connection_id":51494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:10:20] local.INFO: Processing buffer {"connection_id":51494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:10:20] local.INFO: IMEI packet received {"connection_id":51494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":51494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:10:21] local.INFO: TCP Data received {"connection_id":51494,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56a5d20012d7ebc0005b20c38000500b925..."} 
[2026-04-22 19:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56a5d20012d7ebc0005b20c38000500b925..."} 
[2026-04-22 19:10:21] local.INFO: Processing buffer {"connection_id":51494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56a5d20012d7ebc0005b20c38000500b925..."} 
[2026-04-22 19:10:21] local.INFO: Packet analysis {"connection_id":51494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56a"} 
[2026-04-22 19:10:21] local.INFO: Extracted packet for processing {"connection_id":51494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56a"} 
[2026-04-22 19:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763280384,"raw_latitude":95554616,"longitude_deg":76.3280384,"latitude_deg":9.5554616,"altitude":5,"angle":185,"satellites":37,"speed":41,"hex_longitude":"2d7ebc00","hex_latitude":"05b20c38","is_valid_coordinates":true} 
[2026-04-22 19:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877473280001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74991640816648192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133229700027553792,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776865140000,"timestamp_ms":1776865140000,"timestamp_seconds":1776865140,"priority":1,"record_length":96,"hex_timestamp":"0000019db56a5d20"} 
[2026-04-22 19:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-04-22 19:10:21] 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-22 19:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":51494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":51494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":51494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877473280001,"66":12319,"93":206,"85":12544,"24":41,"16":74991640816648192,"45":9133229700027553792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877473280001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:10:21] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74991640816648192,"km_value":74991640816648.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133229700027553792,"description":"Unknown IO ID 45"} 
[2026-04-22 19:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877473280001,"power":12319,"unknown_93":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9133229700027553792}} 
[2026-04-22 19:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":51494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:10:21] local.INFO: GPS data processed {"connection_id":51494,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:10:21] local.INFO: Acknowledgment sent {"connection_id":51494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:10:25] local.INFO: TCP Data received {"connection_id":50529,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:10:25] local.INFO: Processing buffer {"connection_id":50529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:10:25] local.INFO: IMEI packet received {"connection_id":50529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":50529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:10:25] local.INFO: TCP Data received {"connection_id":51494,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56a8048012d7eb80005b1e698000500ba25..."} 
[2026-04-22 19:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56a8048012d7eb80005b1e698000500ba25..."} 
[2026-04-22 19:10:25] local.INFO: Processing buffer {"connection_id":51494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56a8048012d7eb80005b1e698000500ba25..."} 
[2026-04-22 19:10:25] local.INFO: Packet analysis {"connection_id":51494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56a"} 
[2026-04-22 19:10:25] local.INFO: Extracted packet for processing {"connection_id":51494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56a"} 
[2026-04-22 19:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763279360,"raw_latitude":95544984,"longitude_deg":76.327936,"latitude_deg":9.5544984,"altitude":5,"angle":186,"satellites":37,"speed":33,"hex_longitude":"2d7eb800","hex_latitude":"05b1e698","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877475840001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74992108968083456,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132174168862504960,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776865149000,"timestamp_ms":1776865149000,"timestamp_seconds":1776865149,"priority":1,"record_length":96,"hex_timestamp":"0000019db56a8048"} 
[2026-04-22 19: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-22 19:10: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-22 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 19:10:25] 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-22 19: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-22 19: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-22 19:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":51494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":51494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":51494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877475840001,"66":12178,"93":206,"85":12544,"24":33,"16":74992108968083456,"45":9132174168862504960},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877475840001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:10:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74992108968083456,"km_value":74992108968083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132174168862504960,"description":"Unknown IO ID 45"} 
[2026-04-22 19:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877475840001,"power":12178,"unknown_93":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9132174168862504960}} 
[2026-04-22 19:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":51494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:10:25] local.INFO: GPS data processed {"connection_id":51494,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:10:25] local.INFO: Acknowledgment sent {"connection_id":51494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:10:38] local.INFO: TCP Data received {"connection_id":50529,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:10:38] local.INFO: Processing buffer {"connection_id":50529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:10:38] local.INFO: IMEI packet received {"connection_id":50529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":50529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:10:42] local.INFO: TCP Data received {"connection_id":50529,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db569ad58012d7ea48005af7578000701022a..."} 
[2026-04-22 19:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db569ad58012d7ea48005af7578000701022a..."} 
[2026-04-22 19:10:42] local.INFO: Processing buffer {"connection_id":50529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db569ad58012d7ea48005af7578000701022a..."} 
[2026-04-22 19:10:42] local.INFO: Packet analysis {"connection_id":50529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db569"} 
[2026-04-22 19:10:42] local.INFO: Extracted packet for processing {"connection_id":50529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db569"} 
[2026-04-22 19:10:42] local.INFO: GPS Element Parsed {"raw_longitude":763274368,"raw_latitude":95384952,"longitude_deg":76.3274368,"latitude_deg":9.5384952,"altitude":7,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d7ea480","hex_latitude":"05af7578","is_valid_coordinates":true} 
[2026-04-22 19:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877458944001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278484910673494016,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130344581470736384,"note":"Value kept but may cause issues"} 
[2026-04-22 19:10:42] 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-22 19:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776865095000,"timestamp_ms":1776865095000,"timestamp_seconds":1776865095,"priority":1,"record_length":96,"hex_timestamp":"0000019db569ad58"} 
[2026-04-22 19:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:10:42] 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-22 19:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:10:42] 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-22 19:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877458944001,"66":27484,"27":206,"85":12544,"24":0,"16":278484910673494016,"45":9130344581470736384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-22 19:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877458944001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:10:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-22 19:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278484910673494016,"km_value":278484910673494.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130344581470736384,"description":"Unknown IO ID 45"} 
[2026-04-22 19:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877458944001,"power":27484,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9130344581470736384}} 
[2026-04-22 19:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":50529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:10:42] local.INFO: GPS data processed {"connection_id":50529,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:10:42] local.INFO: Acknowledgment sent {"connection_id":50529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:11:10] local.INFO: TCP Data received {"connection_id":50530,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:11:10] local.INFO: Processing buffer {"connection_id":50530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:11:10] local.INFO: IMEI packet received {"connection_id":50530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":50530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:11:11] local.INFO: TCP Data received {"connection_id":50530,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:11:11] local.INFO: Processing buffer {"connection_id":50530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:11:11] local.INFO: IMEI packet received {"connection_id":50530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":50530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:11:11] local.INFO: TCP Data received {"connection_id":50530,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56bcc50012d7eff4005b189800008006625..."} 
[2026-04-22 19:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56bcc50012d7eff4005b189800008006625..."} 
[2026-04-22 19:11:11] local.INFO: Processing buffer {"connection_id":50530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56bcc50012d7eff4005b189800008006625..."} 
[2026-04-22 19:11:11] local.INFO: Packet analysis {"connection_id":50530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:11:11] local.INFO: Extracted packet for processing {"connection_id":50530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763297600,"raw_latitude":95521152,"longitude_deg":76.32976,"latitude_deg":9.5521152,"altitude":8,"angle":102,"satellites":37,"speed":5,"hex_longitude":"2d7eff40","hex_latitude":"05b18980","is_valid_coordinates":true} 
[2026-04-22 19:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877494528001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74994140487614464,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144699805317779456,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:11] 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-22 19:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776865234000,"timestamp_ms":1776865234000,"timestamp_seconds":1776865234,"priority":1,"record_length":96,"hex_timestamp":"0000019db56bcc50"} 
[2026-04-22 19:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-22 19:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877494528001,"66":12156,"92":206,"85":12544,"24":5,"16":74994140487614464,"45":9144699805317779456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-22 19:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877494528001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:11:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-22 19:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74994140487614464,"km_value":74994140487614.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144699805317779456,"description":"Unknown IO ID 45"} 
[2026-04-22 19:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877494528001,"power":12156,"unknown_92":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9144699805317779456}} 
[2026-04-22 19:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":50530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:11:11] local.INFO: GPS data processed {"connection_id":50530,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:11:11] local.INFO: Acknowledgment sent {"connection_id":50530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:11:25] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:11:25] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:11:25] local.INFO: IMEI packet received {"connection_id":50801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":50801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:11:28] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:11:28] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:11:28] local.INFO: IMEI packet received {"connection_id":50801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":50801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:11:30] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:11:30] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:11:30] local.INFO: IMEI packet received {"connection_id":50801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":50801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:11:31] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56bbcb0012d7e9a4005aebe28000a014e2c..."} 
[2026-04-22 19:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56bbcb0012d7e9a4005aebe28000a014e2c..."} 
[2026-04-22 19:11:31] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56bbcb0012d7e9a4005aebe28000a014e2c..."} 
[2026-04-22 19:11:31] local.INFO: Packet analysis {"connection_id":50801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:11:31] local.INFO: Extracted packet for processing {"connection_id":50801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763271744,"raw_latitude":95338024,"longitude_deg":76.3271744,"latitude_deg":9.5338024,"altitude":10,"angle":334,"satellites":44,"speed":11,"hex_longitude":"2d7e9a40","hex_latitude":"05aebe28","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877498624001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278487470474002432,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122815125831372800,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:31] 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-22 19:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865230000,"timestamp_ms":1776865230000,"timestamp_seconds":1776865230,"priority":1,"record_length":96,"hex_timestamp":"0000019db56bbcb0"} 
[2026-04-22 19: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-22 19:11: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-22 19: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":240,"data_length":795,"current_offset":136} 
[2026-04-22 19:11: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-22 19: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-22 19: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-22 19:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:11:31] 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-22 19:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877498624001,"66":27343,"29":206,"85":12544,"24":11,"16":278487470474002432,"45":9122815125831372800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-22 19:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877498624001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:11:31] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-22 19:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278487470474002432,"km_value":278487470474002.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122815125831372800,"description":"Unknown IO ID 45"} 
[2026-04-22 19:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877498624001,"power":27343,"unknown_29":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9122815125831372800}} 
[2026-04-22 19:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":50801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:11:31] local.INFO: GPS data processed {"connection_id":50801,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:11:31] local.INFO: Acknowledgment sent {"connection_id":50801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:11:36] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56bc098012d7e9a4005aebf58000a01652c..."} 
[2026-04-22 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56bc098012d7e9a4005aebf58000a01652c..."} 
[2026-04-22 19:11:36] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56bc098012d7e9a4005aebf58000a01652c..."} 
[2026-04-22 19:11:36] local.INFO: Packet analysis {"connection_id":50801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:11:36] local.INFO: Extracted packet for processing {"connection_id":50801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763271744,"raw_latitude":95338328,"longitude_deg":76.3271744,"latitude_deg":9.5338328,"altitude":10,"angle":357,"satellites":44,"speed":13,"hex_longitude":"2d7e9a40","hex_latitude":"05aebf58","is_valid_coordinates":true} 
[2026-04-22 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877498880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278487487653871616,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122674388343072768,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:36] 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-22 19:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776865231000,"timestamp_ms":1776865231000,"timestamp_seconds":1776865231,"priority":1,"record_length":96,"hex_timestamp":"0000019db56bc098"} 
[2026-04-22 19:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:11: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-22 19:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:11:36] 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-22 19:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877498880001,"66":27343,"29":206,"85":12544,"24":13,"16":278487487653871616,"45":9122674388343072768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-22 19:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877498880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:11:36] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-22 19:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278487487653871616,"km_value":278487487653871.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122674388343072768,"description":"Unknown IO ID 45"} 
[2026-04-22 19:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877498880001,"power":27343,"unknown_29":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9122674388343072768}} 
[2026-04-22 19:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":50801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:11:36] local.INFO: GPS data processed {"connection_id":50801,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:11:36] local.INFO: Acknowledgment sent {"connection_id":50801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:11:42] local.INFO: TCP Data received {"connection_id":50530,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56bfb30012d7f140005b185c8000a005925..."} 
[2026-04-22 19:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56bfb30012d7f140005b185c8000a005925..."} 
[2026-04-22 19:11:42] local.INFO: Processing buffer {"connection_id":50530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56bfb30012d7f140005b185c8000a005925..."} 
[2026-04-22 19:11:42] local.INFO: Packet analysis {"connection_id":50530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:11:42] local.INFO: Extracted packet for processing {"connection_id":50530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:11:42] local.INFO: GPS Element Parsed {"raw_longitude":763302912,"raw_latitude":95520200,"longitude_deg":76.3302912,"latitude_deg":9.55202,"altitude":10,"angle":89,"satellites":37,"speed":24,"hex_longitude":"2d7f1400","hex_latitude":"05b185c8","is_valid_coordinates":true} 
[2026-04-22 19:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877499904001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74994398185652224,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151103361037729792,"note":"Value kept but may cause issues"} 
[2026-04-22 19:11:42] 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-22 19:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776865246000,"timestamp_ms":1776865246000,"timestamp_seconds":1776865246,"priority":1,"record_length":96,"hex_timestamp":"0000019db56bfb30"} 
[2026-04-22 19:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 19:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877499904001,"66":11308,"92":206,"85":12544,"24":24,"16":74994398185652224,"45":9151103361037729792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-22 19:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877499904001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:11:42] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-22 19:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74994398185652224,"km_value":74994398185652.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151103361037729792,"description":"Unknown IO ID 45"} 
[2026-04-22 19:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877499904001,"power":11308,"unknown_92":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9151103361037729792}} 
[2026-04-22 19:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":50530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:11:42] local.INFO: GPS data processed {"connection_id":50530,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:11:42] local.INFO: Acknowledgment sent {"connection_id":50530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:12:08] local.INFO: TCP Data received {"connection_id":50801,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56bc480012d7e9a4005aec098000a00082d..."} 
[2026-04-22 19:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56bc480012d7e9a4005aec098000a00082d..."} 
[2026-04-22 19:12:08] local.INFO: Processing buffer {"connection_id":50801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56bc480012d7e9a4005aec098000a00082d..."} 
[2026-04-22 19:12:08] local.INFO: Packet analysis {"connection_id":50801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:12:08] local.INFO: Extracted packet for processing {"connection_id":50801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763271744,"raw_latitude":95338648,"longitude_deg":76.3271744,"latitude_deg":9.5338648,"altitude":10,"angle":8,"satellites":45,"speed":13,"hex_longitude":"2d7e9a40","hex_latitude":"05aec098","is_valid_coordinates":true} 
[2026-04-22 19:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877499136001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278487500538773504,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122674388343150592,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776865232000,"timestamp_ms":1776865232000,"timestamp_seconds":1776865232,"priority":1,"record_length":96,"hex_timestamp":"0000019db56bc480"} 
[2026-04-22 19:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:12: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-22 19:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:12: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-22 19:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877499136001,"66":27245,"29":206,"85":12544,"24":13,"16":278487500538773504,"45":9122674388343150592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-22 19:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877499136001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:12:08] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-22 19:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278487500538773504,"km_value":278487500538773.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122674388343150592,"description":"Unknown IO ID 45"} 
[2026-04-22 19:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877499136001,"power":27245,"unknown_29":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9122674388343150592}} 
[2026-04-22 19:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":50801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:12:08] local.INFO: GPS data processed {"connection_id":50801,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:12:08] local.INFO: Acknowledgment sent {"connection_id":50801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:12:10] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:12:10] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:12:10] local.INFO: IMEI packet received {"connection_id":50929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":50929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:12:15] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:12:15] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:12:15] local.INFO: IMEI packet received {"connection_id":50929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":50929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:12:16] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56c12a0012d7f218005b18550000a006624..."} 
[2026-04-22 19:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56c12a0012d7f218005b18550000a006624..."} 
[2026-04-22 19:12:16] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56c12a0012d7f218005b18550000a006624..."} 
[2026-04-22 19:12:16] local.INFO: Packet analysis {"connection_id":50929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:12:16] local.INFO: Extracted packet for processing {"connection_id":50929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763306368,"raw_latitude":95520080,"longitude_deg":76.3306368,"latitude_deg":9.552008,"altitude":10,"angle":102,"satellites":36,"speed":22,"hex_longitude":"2d7f2180","hex_latitude":"05b18550","is_valid_coordinates":true} 
[2026-04-22 19:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877502976001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74994565689376768,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156943966804232192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:16] 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-22 19:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776865252000,"timestamp_ms":1776865252000,"timestamp_seconds":1776865252,"priority":1,"record_length":96,"hex_timestamp":"0000019db56c12a0"} 
[2026-04-22 19:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:12: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-22 19:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-22 19:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877502976001,"66":12232,"92":206,"85":12544,"24":22,"16":74994565689376768,"45":9156943966804232192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-22 19:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877502976001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:12:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-22 19:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74994565689376768,"km_value":74994565689376.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156943966804232192,"description":"Unknown IO ID 45"} 
[2026-04-22 19:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877502976001,"power":12232,"unknown_92":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9156943966804232192}} 
[2026-04-22 19:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":50929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:12:16] local.INFO: GPS data processed {"connection_id":50929,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:12:16] local.INFO: Acknowledgment sent {"connection_id":50929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:12:25] local.INFO: TCP Data received {"connection_id":51496,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:12:25] local.INFO: Processing buffer {"connection_id":51496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:12:25] local.INFO: IMEI packet received {"connection_id":51496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":51496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:12:30] local.INFO: TCP Data received {"connection_id":51496,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:12:30] local.INFO: Processing buffer {"connection_id":51496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:12:30] local.INFO: IMEI packet received {"connection_id":51496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":51496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:12:31] local.INFO: TCP Data received {"connection_id":51496,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56bd038012d7e9a8005aec578000b01662d..."} 
[2026-04-22 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56bd038012d7e9a8005aec578000b01662d..."} 
[2026-04-22 19:12:31] local.INFO: Processing buffer {"connection_id":51496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56bd038012d7e9a8005aec578000b01662d..."} 
[2026-04-22 19:12:31] local.INFO: Packet analysis {"connection_id":51496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:12:31] local.INFO: Extracted packet for processing {"connection_id":51496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763271808,"raw_latitude":95339896,"longitude_deg":76.3271808,"latitude_deg":9.5339896,"altitude":11,"angle":358,"satellites":45,"speed":20,"hex_longitude":"2d7e9a80","hex_latitude":"05aec578","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877499392001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278487560668315648,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122674388343232512,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:31] 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-22 19:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865235000,"timestamp_ms":1776865235000,"timestamp_seconds":1776865235,"priority":1,"record_length":96,"hex_timestamp":"0000019db56bd038"} 
[2026-04-22 19: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-22 19:12: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-22 19: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":109,"data_length":795,"current_offset":136} 
[2026-04-22 19:12: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-22 19: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-22 19: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-22 19:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:12:31] 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-22 19:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877499392001,"66":27213,"28":206,"85":12544,"24":20,"16":278487560668315648,"45":9122674388343232512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877499392001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278487560668315648,"km_value":278487560668315.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122674388343232512,"description":"Unknown IO ID 45"} 
[2026-04-22 19:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877499392001,"power":27213,"unknown_28":206,"unknown_85":12544,"ignition":20,"odometer":null,"unknown_45":9122674388343232512}} 
[2026-04-22 19:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":51496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:12:31] local.INFO: GPS data processed {"connection_id":51496,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:12:31] local.INFO: Acknowledgment sent {"connection_id":51496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:12:47] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56c2240012d7f2a0005b183e0000b005723..."} 
[2026-04-22 19:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56c2240012d7f2a0005b183e0000b005723..."} 
[2026-04-22 19:12:47] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56c2240012d7f2a0005b183e0000b005723..."} 
[2026-04-22 19:12:47] local.INFO: Packet analysis {"connection_id":50929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:12:47] local.INFO: Extracted packet for processing {"connection_id":50929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763308544,"raw_latitude":95519712,"longitude_deg":76.3308544,"latitude_deg":9.5519712,"altitude":11,"angle":87,"satellites":35,"speed":24,"hex_longitude":"2d7f2a00","hex_latitude":"05b183e0","is_valid_coordinates":true} 
[2026-04-22 19:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877504512001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74994673063559168,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160743878989795328,"note":"Value kept but may cause issues"} 
[2026-04-22 19:12:47] 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-22 19:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776865256000,"timestamp_ms":1776865256000,"timestamp_seconds":1776865256,"priority":1,"record_length":96,"hex_timestamp":"0000019db56c2240"} 
[2026-04-22 19:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:12: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-22 19:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-22 19:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877504512001,"66":12298,"92":206,"85":12544,"24":24,"16":74994673063559168,"45":9160743878989795328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-22 19:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877504512001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:12:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-22 19:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74994673063559168,"km_value":74994673063559.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160743878989795328,"description":"Unknown IO ID 45"} 
[2026-04-22 19:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877504512001,"power":12298,"unknown_92":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9160743878989795328}} 
[2026-04-22 19:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":50929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:12:47] local.INFO: GPS data processed {"connection_id":50929,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:12:47] local.INFO: Acknowledgment sent {"connection_id":50929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:13:02] local.INFO: TCP Data received {"connection_id":51496,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56bff18012d7e998005aee978000901662c..."} 
[2026-04-22 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56bff18012d7e998005aee978000901662c..."} 
[2026-04-22 19:13:02] local.INFO: Processing buffer {"connection_id":51496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56bff18012d7e998005aee978000901662c..."} 
[2026-04-22 19:13:02] local.INFO: Packet analysis {"connection_id":51496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:13:02] local.INFO: Extracted packet for processing {"connection_id":51496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56b"} 
[2026-04-22 19:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763271552,"raw_latitude":95349112,"longitude_deg":76.3271552,"latitude_deg":9.5349112,"altitude":9,"angle":358,"satellites":44,"speed":37,"hex_longitude":"2d7e9980","hex_latitude":"05aee978","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877500160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278488011639881728,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122744757087729664,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:02] 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-22 19:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776865247000,"timestamp_ms":1776865247000,"timestamp_seconds":1776865247,"priority":1,"record_length":96,"hex_timestamp":"0000019db56bff18"} 
[2026-04-22 19: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-22 19:13: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-22 19: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":77,"data_length":795,"current_offset":136} 
[2026-04-22 19:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877500160001,"66":27365,"28":206,"85":12544,"24":37,"16":278488011639881728,"45":9122744757087729664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877500160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:13:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278488011639881728,"km_value":278488011639881.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122744757087729664,"description":"Unknown IO ID 45"} 
[2026-04-22 19:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877500160001,"power":27365,"unknown_28":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9122744757087729664}} 
[2026-04-22 19:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":51496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:13:02] local.INFO: GPS data processed {"connection_id":51496,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:13:02] local.INFO: Acknowledgment sent {"connection_id":51496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:13:15] local.INFO: TCP Data received {"connection_id":50531,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:13:15] local.INFO: Processing buffer {"connection_id":50531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:13:15] local.INFO: IMEI packet received {"connection_id":50531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":50531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:13:20] local.INFO: TCP Data received {"connection_id":50531,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:13:20] local.INFO: Processing buffer {"connection_id":50531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:13:20] local.INFO: IMEI packet received {"connection_id":50531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":50531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:13:21] local.INFO: TCP Data received {"connection_id":50531,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56c5508012d7f4d4005b183d00009005b22..."} 
[2026-04-22 19:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56c5508012d7f4d4005b183d00009005b22..."} 
[2026-04-22 19:13:21] local.INFO: Processing buffer {"connection_id":50531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56c5508012d7f4d4005b183d00009005b22..."} 
[2026-04-22 19:13:21] local.INFO: Packet analysis {"connection_id":50531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:13:21] local.INFO: Extracted packet for processing {"connection_id":50531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763317568,"raw_latitude":95519696,"longitude_deg":76.3317568,"latitude_deg":9.5519696,"altitude":9,"angle":91,"satellites":34,"speed":30,"hex_longitude":"2d7f4d40","hex_latitude":"05b183d0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877505536001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74995102560288768,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163136416291741696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776865269000,"timestamp_ms":1776865269000,"timestamp_seconds":1776865269,"priority":1,"record_length":96,"hex_timestamp":"0000019db56c5508"} 
[2026-04-22 19: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-22 19:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":410268710772342880,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496338862592,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185866,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5374166064908370249,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3659174697893892,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972245144174798,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":110,"raw_value":1513209474796486657,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2362441738,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2858156238,"corrected_to":0} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2147856783,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2979006464,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.WARNING: Large IO value detected {"io_id":12,"raw_value":30720355081388032,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:21] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,92,85,24,241,157,16,111,18,45,128,133,10,36,66,251,37,204,64,1,240,124,227,110,181,177,4,113,205,23,67,196,120,35,239,47,93,2,5,12],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2858156238,"validated":0}]} 
[2026-04-22 19:13:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792729342254252032,"timestamp_seconds":792729342254252.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19: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-22 19:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":50531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":50531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":50531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877505536001,"66":11134,"91":206,"85":12544,"24":30,"16":74995102560288768,"45":9163136416291741696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-04-22 19:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877505536001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:13:21] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-04-22 19:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74995102560288768,"km_value":74995102560288.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163136416291741696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877505536001,"power":11134,"unknown_91":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9163136416291741696}} 
[2026-04-22 19:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":50531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:13:21] local.INFO: GPS data processed {"connection_id":50531,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:13:21] local.INFO: Acknowledgment sent {"connection_id":50531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:13:25] local.INFO: TCP Data received {"connection_id":50532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:13:25] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:13:25] local.INFO: IMEI packet received {"connection_id":50532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":50532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:13:27] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:13:27] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:13:27] local.INFO: IMEI packet received {"connection_id":50802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":50802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:13:29] local.INFO: TCP Data received {"connection_id":50532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:13:29] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:13:29] local.INFO: IMEI packet received {"connection_id":50532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":50532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:13:30] local.INFO: TCP Data received {"connection_id":50532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:13:30] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:13:30] local.INFO: IMEI packet received {"connection_id":50532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":50532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:13:31] local.INFO: TCP Data received {"connection_id":50532,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56c2a10012d7e98c005af0c68000901662c..."} 
[2026-04-22 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56c2a10012d7e98c005af0c68000901662c..."} 
[2026-04-22 19:13:31] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56c2a10012d7e98c005af0c68000901662c..."} 
[2026-04-22 19:13:31] local.INFO: Packet analysis {"connection_id":50532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:13:31] local.INFO: Extracted packet for processing {"connection_id":50532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763271360,"raw_latitude":95358056,"longitude_deg":76.327136,"latitude_deg":9.5358056,"altitude":9,"angle":358,"satellites":44,"speed":28,"hex_longitude":"2d7e98c0","hex_latitude":"05af0c68","is_valid_coordinates":true} 
[2026-04-22 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-22 19:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877503232001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278488445431578624,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122463282113378304,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:31] 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-22 19:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865258000,"timestamp_ms":1776865258000,"timestamp_seconds":1776865258,"priority":1,"record_length":96,"hex_timestamp":"0000019db56c2a10"} 
[2026-04-22 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-22 19:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 19:13: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-22 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-22 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-22 19:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:13:31] 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-22 19:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877503232001,"66":27321,"28":206,"85":12544,"24":28,"16":278488445431578624,"45":9122463282113378304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-22 19:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877503232001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-22 19:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278488445431578624,"km_value":278488445431578.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122463282113378304,"description":"Unknown IO ID 45"} 
[2026-04-22 19:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877503232001,"power":27321,"unknown_28":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9122463282113378304}} 
[2026-04-22 19:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":50532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:13:31] local.INFO: GPS data processed {"connection_id":50532,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:13:31] local.INFO: Acknowledgment sent {"connection_id":50532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:13:32] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:13:32] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:13:32] local.INFO: IMEI packet received {"connection_id":50802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":50802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:13:33] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5653ca0012d1b034007247b78001f003629..."} 
[2026-04-22 19:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5653ca0012d1b034007247b78001f003629..."} 
[2026-04-22 19:13:33] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5653ca0012d1b034007247b78001f003629..."} 
[2026-04-22 19:13:33] local.INFO: Packet analysis {"connection_id":50802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:13:33] local.INFO: Extracted packet for processing {"connection_id":50802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756745024,"raw_latitude":119831416,"longitude_deg":75.6745024,"latitude_deg":11.9831416,"altitude":31,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0340","hex_latitude":"07247b78","is_valid_coordinates":true} 
[2026-04-22 19:13: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-22 19:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877387520001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776864804000,"timestamp_ms":1776864804000,"timestamp_seconds":1776864804,"priority":1,"record_length":96,"hex_timestamp":"0000019db5653ca0"} 
[2026-04-22 19:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:13:33] 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-22 19:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-22 19:13: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-22 19:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:13:33] 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-22 19:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877387520001,"66":12548,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877387520001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:13:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877387520001,"power":12548,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":50802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:13:33] local.INFO: GPS data processed {"connection_id":50802,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:13:33] local.INFO: Acknowledgment sent {"connection_id":50802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:13:52] local.INFO: TCP Data received {"connection_id":50531,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56c9770012d7f724005b182380007005f24..."} 
[2026-04-22 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56c9770012d7f724005b182380007005f24..."} 
[2026-04-22 19:13:52] local.INFO: Processing buffer {"connection_id":50531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56c9770012d7f724005b182380007005f24..."} 
[2026-04-22 19:13:52] local.INFO: Packet analysis {"connection_id":50531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:13:52] local.INFO: Extracted packet for processing {"connection_id":50531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56c"} 
[2026-04-22 19:13:52] local.INFO: GPS Element Parsed {"raw_longitude":763327040,"raw_latitude":95519288,"longitude_deg":76.332704,"latitude_deg":9.5519288,"altitude":7,"angle":95,"satellites":36,"speed":19,"hex_longitude":"2d7f7240","hex_latitude":"05b18238","is_valid_coordinates":true} 
[2026-04-22 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-22 19:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877508864001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74995557826822144,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173058409220788224,"note":"Value kept but may cause issues"} 
[2026-04-22 19:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776865286000,"timestamp_ms":1776865286000,"timestamp_seconds":1776865286,"priority":1,"record_length":96,"hex_timestamp":"0000019db56c9770"} 
[2026-04-22 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-22 19:13: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-22 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":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-04-22 19:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 19:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":50531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":50531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":50531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877508864001,"66":12004,"91":206,"85":12544,"24":19,"16":74995557826822144,"45":9173058409220788224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-04-22 19:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877508864001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:13:52] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-04-22 19:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74995557826822144,"km_value":74995557826822.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173058409220788224,"description":"Unknown IO ID 45"} 
[2026-04-22 19:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877508864001,"power":12004,"unknown_91":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":9173058409220788224}} 
[2026-04-22 19:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":50531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:13:52] local.INFO: GPS data processed {"connection_id":50531,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:13:52] local.INFO: Acknowledgment sent {"connection_id":50531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:14:02] local.INFO: TCP Data received {"connection_id":50532,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56e1e10012d7e9b8005b06b00000900002d..."} 
[2026-04-22 19:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56e1e10012d7e9b8005b06b00000900002d..."} 
[2026-04-22 19:14:02] local.INFO: Processing buffer {"connection_id":50532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56e1e10012d7e9b8005b06b00000900002d..."} 
[2026-04-22 19:14:02] local.INFO: Packet analysis {"connection_id":50532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:02] local.INFO: Extracted packet for processing {"connection_id":50532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763272064,"raw_latitude":95447808,"longitude_deg":76.3272064,"latitude_deg":9.5447808,"altitude":9,"angle":0,"satellites":45,"speed":44,"hex_longitude":"2d7e9b80","hex_latitude":"05b06b00","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877536768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278492804823384064,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122885494601424896,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:02] 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-22 19:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776865386000,"timestamp_ms":1776865386000,"timestamp_seconds":1776865386,"priority":1,"record_length":96,"hex_timestamp":"0000019db56e1e10"} 
[2026-04-22 19: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-22 19:14: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-22 19: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-22 19:14:02] 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-22 19: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-22 19: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-22 19:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877536768001,"66":27484,"251":206,"85":12544,"24":44,"16":278492804823384064,"45":9122885494601424896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-04-22 19:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877536768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:14:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 19:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278492804823384064,"km_value":278492804823384.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122885494601424896,"description":"Unknown IO ID 45"} 
[2026-04-22 19:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877536768001,"power":27484,"unknown_251":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9122885494601424896}} 
[2026-04-22 19:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":50532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:14:02] local.INFO: GPS data processed {"connection_id":50532,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:14:02] local.INFO: Acknowledgment sent {"connection_id":50532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:14:04] local.INFO: TCP Data received {"connection_id":50802,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5654088012d1b034007247b78001f003629..."} 
[2026-04-22 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5654088012d1b034007247b78001f003629..."} 
[2026-04-22 19:14:04] local.INFO: Processing buffer {"connection_id":50802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5654088012d1b034007247b78001f003629..."} 
[2026-04-22 19:14:04] local.INFO: Packet analysis {"connection_id":50802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:14:04] local.INFO: Extracted packet for processing {"connection_id":50802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756745024,"raw_latitude":119831416,"longitude_deg":75.6745024,"latitude_deg":11.9831416,"altitude":31,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0340","hex_latitude":"07247b78","is_valid_coordinates":true} 
[2026-04-22 19:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877389824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776864805000,"timestamp_ms":1776864805000,"timestamp_seconds":1776864805,"priority":1,"record_length":96,"hex_timestamp":"0000019db5654088"} 
[2026-04-22 19:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 19:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31897935859941445,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3042756752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126183515193549,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 19:14:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,176,83,24,241,157,16,29,25,45,64,123,31,41,10,66,13,192,122,1,240,107,227,181,36,4,113,205,96,2,248,40,239,8,149,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 19:14:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233844964897325295,"timestamp_seconds":2233844964897325.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877389824001,"66":12548,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877389824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:14:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877389824001,"power":12548,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":50802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:14:04] local.INFO: GPS data processed {"connection_id":50802,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:14:04] local.INFO: Acknowledgment sent {"connection_id":50802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:14:08] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:14:08] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:14:08] local.INFO: IMEI packet received {"connection_id":50931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":50931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:14:09] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:14:09] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:14:09] local.INFO: IMEI packet received {"connection_id":50931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":50931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:14:15] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:14:15] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:14:15] local.INFO: IMEI packet received {"connection_id":50931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":50931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:14:16] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56ee548012d7f738005b0d9f00009016124..."} 
[2026-04-22 19:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56ee548012d7f738005b0d9f00009016124..."} 
[2026-04-22 19:14:16] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56ee548012d7f738005b0d9f00009016124..."} 
[2026-04-22 19:14:16] local.INFO: Packet analysis {"connection_id":50931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:16] local.INFO: Extracted packet for processing {"connection_id":50931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763327360,"raw_latitude":95476208,"longitude_deg":76.332736,"latitude_deg":9.5476208,"altitude":9,"angle":353,"satellites":36,"speed":6,"hex_longitude":"2d7f7380","hex_latitude":"05b0d9f0","is_valid_coordinates":true} 
[2026-04-22 19:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877548288001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74998018843082752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184247039533828096,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776865437000,"timestamp_ms":1776865437000,"timestamp_seconds":1776865437,"priority":1,"record_length":96,"hex_timestamp":"0000019db56ee548"} 
[2026-04-22 19:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-22 19:14: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-22 19:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877548288001,"66":12178,"249":206,"85":12544,"24":6,"16":74998018843082752,"45":9184247039533828096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 19:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877548288001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:14:16] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 19:14:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74998018843082752,"km_value":74998018843082.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184247039533828096,"description":"Unknown IO ID 45"} 
[2026-04-22 19:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877548288001,"power":12178,"unknown_249":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9184247039533828096}} 
[2026-04-22 19:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":50931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:14:16] local.INFO: GPS data processed {"connection_id":50931,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:14:16] local.INFO: Acknowledgment sent {"connection_id":50931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:14:18] local.INFO: TCP Data received {"connection_id":50803,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:14:18] local.INFO: Processing buffer {"connection_id":50803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:14:18] local.INFO: IMEI packet received {"connection_id":50803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":50803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:14:27] local.INFO: TCP Data received {"connection_id":51497,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:14:27] local.INFO: Processing buffer {"connection_id":51497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:14:27] local.INFO: IMEI packet received {"connection_id":51497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":51497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:14:29] local.INFO: TCP Data received {"connection_id":51498,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:14:29] local.INFO: Processing buffer {"connection_id":51498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:14:29] local.INFO: IMEI packet received {"connection_id":51498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":51498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:14:30] local.INFO: TCP Data received {"connection_id":51498,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:14:30] local.INFO: Processing buffer {"connection_id":51498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:14:30] local.INFO: IMEI packet received {"connection_id":51498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":51498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:14:35] local.INFO: TCP Data received {"connection_id":51497,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:14:35] local.INFO: Processing buffer {"connection_id":51497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:14:35] local.INFO: IMEI packet received {"connection_id":51497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":51497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:14:35] local.INFO: TCP Data received {"connection_id":51498,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:14:35] local.INFO: Processing buffer {"connection_id":51498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:14:35] local.INFO: IMEI packet received {"connection_id":51498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":51498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:14:36] local.INFO: TCP Data received {"connection_id":51497,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5654088012d1b034007247b78001f003629..."} 
[2026-04-22 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5654088012d1b034007247b78001f003629..."} 
[2026-04-22 19:14:36] local.INFO: Processing buffer {"connection_id":51497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5654088012d1b034007247b78001f003629..."} 
[2026-04-22 19:14:36] local.INFO: Packet analysis {"connection_id":51497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:14:36] local.INFO: Extracted packet for processing {"connection_id":51497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db565"} 
[2026-04-22 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756745024,"raw_latitude":119831416,"longitude_deg":75.6745024,"latitude_deg":11.9831416,"altitude":31,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0340","hex_latitude":"07247b78","is_valid_coordinates":true} 
[2026-04-22 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877390080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776864805000,"timestamp_ms":1776864805000,"timestamp_seconds":1776864805,"priority":1,"record_length":96,"hex_timestamp":"0000019db5654088"} 
[2026-04-22 19:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31895736836685893,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043057752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126183515193549,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,176,83,24,241,157,16,29,60,45,64,123,31,41,10,66,25,13,192,1,240,107,227,181,36,4,113,205,2,248,239,8,149,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 19:14:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233844964897325087,"timestamp_seconds":2233844964897325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877390080001,"66":12548,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877390080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877390080001,"power":12548,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":51497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:14:36] local.INFO: GPS data processed {"connection_id":51497,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:14:36] local.INFO: Acknowledgment sent {"connection_id":51497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:14:36] local.INFO: TCP Data received {"connection_id":51498,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56e3d50012d7e9c4005b08f68000a00012c..."} 
[2026-04-22 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56e3d50012d7e9c4005b08f68000a00012c..."} 
[2026-04-22 19:14:36] local.INFO: Processing buffer {"connection_id":51498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56e3d50012d7e9c4005b08f68000a00012c..."} 
[2026-04-22 19:14:36] local.INFO: Packet analysis {"connection_id":51498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:36] local.INFO: Extracted packet for processing {"connection_id":51498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763272256,"raw_latitude":95457128,"longitude_deg":76.3272256,"latitude_deg":9.5457128,"altitude":10,"angle":1,"satellites":44,"speed":48,"hex_longitude":"2d7e9c40","hex_latitude":"05b08f68","is_valid_coordinates":true} 
[2026-04-22 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877538816001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278493255794950144,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123026232092065792,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:36] 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-22 19:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776865394000,"timestamp_ms":1776865394000,"timestamp_seconds":1776865394,"priority":1,"record_length":96,"hex_timestamp":"0000019db56e3d50"} 
[2026-04-22 19:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:14: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-22 19:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:14:36] 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-22 19:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877538816001,"66":27376,"251":206,"85":12544,"24":48,"16":278493255794950144,"45":9123026232092065792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-04-22 19:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877538816001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278493255794950144,"km_value":278493255794950.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123026232092065792,"description":"Unknown IO ID 45"} 
[2026-04-22 19:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877538816001,"power":27376,"unknown_251":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9123026232092065792}} 
[2026-04-22 19:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":51498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:14:36] local.INFO: GPS data processed {"connection_id":51498,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:14:36] local.INFO: Acknowledgment sent {"connection_id":51498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:14:39] local.INFO: TCP Data received {"connection_id":51498,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56e5c90012d7e9c8005b0b480000900002c..."} 
[2026-04-22 19:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56e5c90012d7e9c8005b0b480000900002c..."} 
[2026-04-22 19:14:39] local.INFO: Processing buffer {"connection_id":51498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56e5c90012d7e9c8005b0b480000900002c..."} 
[2026-04-22 19:14:39] local.INFO: Packet analysis {"connection_id":51498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:39] local.INFO: Extracted packet for processing {"connection_id":51498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763272320,"raw_latitude":95466624,"longitude_deg":76.327232,"latitude_deg":9.5466624,"altitude":9,"angle":0,"satellites":44,"speed":44,"hex_longitude":"2d7e9c80","hex_latitude":"05b0b480","is_valid_coordinates":true} 
[2026-04-22 19:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877540864001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278493715356450816,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123237338326984704,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:39] 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-22 19:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776865402000,"timestamp_ms":1776865402000,"timestamp_seconds":1776865402,"priority":1,"record_length":96,"hex_timestamp":"0000019db56e5c90"} 
[2026-04-22 19:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:14: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-22 19:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 19:14: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-22 19:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877540864001,"66":27365,"251":206,"85":12544,"24":44,"16":278493715356450816,"45":9123237338326984704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-04-22 19:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877540864001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:14:39] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-22 19:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278493715356450816,"km_value":278493715356450.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123237338326984704,"description":"Unknown IO ID 45"} 
[2026-04-22 19:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877540864001,"power":27365,"unknown_251":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9123237338326984704}} 
[2026-04-22 19:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":51498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:14:39] local.INFO: GPS data processed {"connection_id":51498,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:14:39] local.INFO: Acknowledgment sent {"connection_id":51498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:14:47] local.INFO: TCP Data received {"connection_id":50931,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56ef4e8012d7f738005b0db900009000423..."} 
[2026-04-22 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56ef4e8012d7f738005b0db900009000423..."} 
[2026-04-22 19:14:47] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56ef4e8012d7f738005b0db900009000423..."} 
[2026-04-22 19:14:47] local.INFO: Packet analysis {"connection_id":50931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:47] local.INFO: Extracted packet for processing {"connection_id":50931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763327360,"raw_latitude":95476624,"longitude_deg":76.332736,"latitude_deg":9.5476624,"altitude":9,"angle":4,"satellites":35,"speed":6,"hex_longitude":"2d7f7380","hex_latitude":"05b0db90","is_valid_coordinates":true} 
[2026-04-22 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877551872001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74998036022951936,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183824827068837888,"note":"Value kept but may cause issues"} 
[2026-04-22 19:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776865441000,"timestamp_ms":1776865441000,"timestamp_seconds":1776865441,"priority":1,"record_length":96,"hex_timestamp":"0000019db56ef4e8"} 
[2026-04-22 19:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:14: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-22 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-22 19:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877551872001,"66":12232,"249":206,"85":12544,"24":6,"16":74998036022951936,"45":9183824827068837888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 19:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877551872001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:14:47] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 19:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74998036022951936,"km_value":74998036022951.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183824827068837888,"description":"Unknown IO ID 45"} 
[2026-04-22 19:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877551872001,"power":12232,"unknown_249":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9183824827068837888}} 
[2026-04-22 19:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":50931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:14:47] local.INFO: GPS data processed {"connection_id":50931,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:14:47] local.INFO: Acknowledgment sent {"connection_id":50931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:14:50] local.INFO: TCP Data received {"connection_id":50533,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:14:50] local.INFO: Processing buffer {"connection_id":50533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:14:50] local.INFO: IMEI packet received {"connection_id":50533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":50533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:15:10] local.INFO: TCP Data received {"connection_id":51498,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56e7fb8012d7e9d0005b0d7a8000a00022d..."} 
[2026-04-22 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56e7fb8012d7e9d0005b0d7a8000a00022d..."} 
[2026-04-22 19:15:10] local.INFO: Processing buffer {"connection_id":51498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56e7fb8012d7e9d0005b0d7a8000a00022d..."} 
[2026-04-22 19:15:10] local.INFO: Packet analysis {"connection_id":51498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:15:10] local.INFO: Extracted packet for processing {"connection_id":51498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763272448,"raw_latitude":95475624,"longitude_deg":76.3272448,"latitude_deg":9.5475624,"altitude":10,"angle":2,"satellites":45,"speed":36,"hex_longitude":"2d7e9d00","hex_latitude":"05b0d7a8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877542912001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278494153443115008,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123307707073593344,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:10] 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-22 19:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776865411000,"timestamp_ms":1776865411000,"timestamp_seconds":1776865411,"priority":1,"record_length":96,"hex_timestamp":"0000019db56e7fb8"} 
[2026-04-22 19: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-22 19:15: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-22 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 19:15: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-22 19: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-22 19: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-22 19:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":51498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":51498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":51498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:15:10] 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-22 19:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877542912001,"66":27517,"92":206,"85":12544,"24":36,"16":278494153443115008,"45":9123307707073593344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-22 19:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877542912001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:15:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-22 19:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278494153443115008,"km_value":278494153443115.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123307707073593344,"description":"Unknown IO ID 45"} 
[2026-04-22 19:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877542912001,"power":27517,"unknown_92":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9123307707073593344}} 
[2026-04-22 19:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":51498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:15:10] local.INFO: GPS data processed {"connection_id":51498,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:15:10] local.INFO: Acknowledgment sent {"connection_id":51498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:15:10] local.INFO: TCP Data received {"connection_id":50534,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:15:10] local.INFO: Processing buffer {"connection_id":50534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:15:10] local.INFO: IMEI packet received {"connection_id":50534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":50534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:15:11] local.INFO: TCP Data received {"connection_id":50534,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:15:11] local.INFO: Processing buffer {"connection_id":50534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:15:11] local.INFO: IMEI packet received {"connection_id":50534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":50534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:15:15] local.INFO: TCP Data received {"connection_id":50534,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:15:15] local.INFO: Processing buffer {"connection_id":50534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:15:15] local.INFO: IMEI packet received {"connection_id":50534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":50534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:15:16] local.INFO: TCP Data received {"connection_id":50534,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56efcb8012d7f738005b0dd380009015c25..."} 
[2026-04-22 19:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56efcb8012d7f738005b0dd380009015c25..."} 
[2026-04-22 19:15:16] local.INFO: Processing buffer {"connection_id":50534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56efcb8012d7f738005b0dd380009015c25..."} 
[2026-04-22 19:15:16] local.INFO: Packet analysis {"connection_id":50534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:15:16] local.INFO: Extracted packet for processing {"connection_id":50534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763327360,"raw_latitude":95477048,"longitude_deg":76.332736,"latitude_deg":9.5477048,"altitude":9,"angle":348,"satellites":37,"speed":11,"hex_longitude":"2d7f7380","hex_latitude":"05b0dd38","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877552896001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74998057497788416,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183824827068944384,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776865443000,"timestamp_ms":1776865443000,"timestamp_seconds":1776865443,"priority":1,"record_length":96,"hex_timestamp":"0000019db56efcb8"} 
[2026-04-22 19: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-22 19:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-22 19:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877552896001,"66":12232,"249":206,"85":12544,"24":11,"16":74998057497788416,"45":9183824827068944384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 19:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877552896001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:15:16] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 19:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74998057497788416,"km_value":74998057497788.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183824827068944384,"description":"Unknown IO ID 45"} 
[2026-04-22 19:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877552896001,"power":12232,"unknown_249":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9183824827068944384}} 
[2026-04-22 19:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":50534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:15:16] local.INFO: GPS data processed {"connection_id":50534,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:15:16] local.INFO: Acknowledgment sent {"connection_id":50534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:15:21] local.INFO: TCP Data received {"connection_id":51497,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:15:21] local.INFO: Processing buffer {"connection_id":51497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:15:21] local.INFO: Packet analysis {"connection_id":51497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:15:21] local.INFO: Extracted packet for processing {"connection_id":51497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877390080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776865360000,"timestamp_ms":1776865360000,"timestamp_seconds":1776865360,"priority":1,"record_length":96,"hex_timestamp":"0000019db56db880"} 
[2026-04-22 19:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 19:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":8725767227965679,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043298752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126183515914445,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 19:15:21] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:21] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:21] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,176,83,24,241,157,16,29,64,45,123,31,41,10,66,60,25,1,240,140,227,181,36,4,113,205,13,2,248,239,8,149,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 19:15:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233844964897325122,"timestamp_seconds":2233844964897325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":51497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":51497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":51497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:15:21] 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-22 19:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877390080001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877390080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:15:21] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877390080001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":51497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:15:21] local.INFO: GPS data processed {"connection_id":51497,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:15:21] local.INFO: Acknowledgment sent {"connection_id":51497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:15:25] local.INFO: TCP Data received {"connection_id":51499,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:15:25] local.INFO: Processing buffer {"connection_id":51499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:15:25] local.INFO: IMEI packet received {"connection_id":51499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":51499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:15:27] local.INFO: TCP Data received {"connection_id":50804,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:15:27] local.INFO: Processing buffer {"connection_id":50804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:15:27] local.INFO: IMEI packet received {"connection_id":50804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:15:31] local.INFO: TCP Data received {"connection_id":51499,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:15:31] local.INFO: Processing buffer {"connection_id":51499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:15:31] local.INFO: IMEI packet received {"connection_id":51499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":51499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:15:32] local.INFO: TCP Data received {"connection_id":51499,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56ea6c8012d7e9e0005b0fa50000901672c..."} 
[2026-04-22 19:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56ea6c8012d7e9e0005b0fa50000901672c..."} 
[2026-04-22 19:15:32] local.INFO: Processing buffer {"connection_id":51499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56ea6c8012d7e9e0005b0fa50000901672c..."} 
[2026-04-22 19:15:32] local.INFO: Packet analysis {"connection_id":51499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:15:32] local.INFO: Extracted packet for processing {"connection_id":51499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":95484496,"longitude_deg":76.3272704,"latitude_deg":9.5484496,"altitude":9,"angle":359,"satellites":44,"speed":37,"hex_longitude":"2d7e9e00","hex_latitude":"05b0fa50","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877545216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278494582939844608,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123448444564252672,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:32] 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-22 19:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776865421000,"timestamp_ms":1776865421000,"timestamp_seconds":1776865421,"priority":1,"record_length":96,"hex_timestamp":"0000019db56ea6c8"} 
[2026-04-22 19: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-22 19:15: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-22 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 19:15:32] 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-22 19: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-22 19: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-22 19:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877545216001,"66":27463,"92":206,"85":12544,"24":37,"16":278494582939844608,"45":9123448444564252672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-22 19:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877545216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:15:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-22 19:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278494582939844608,"km_value":278494582939844.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123448444564252672,"description":"Unknown IO ID 45"} 
[2026-04-22 19:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877545216001,"power":27463,"unknown_92":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9123448444564252672}} 
[2026-04-22 19:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":51499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:15:32] local.INFO: GPS data processed {"connection_id":51499,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:15:32] local.INFO: Acknowledgment sent {"connection_id":51499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:15:32] local.INFO: TCP Data received {"connection_id":50804,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:15:32] local.INFO: Processing buffer {"connection_id":50804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:15:32] local.INFO: IMEI packet received {"connection_id":50804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":50804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:15:33] local.INFO: TCP Data received {"connection_id":51499,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56ecdd8012d7e9f0005b12060000900012d..."} 
[2026-04-22 19:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56ecdd8012d7e9f0005b12060000900012d..."} 
[2026-04-22 19:15:33] local.INFO: Processing buffer {"connection_id":51499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56ecdd8012d7e9f0005b12060000900012d..."} 
[2026-04-22 19:15:33] local.INFO: Packet analysis {"connection_id":51499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:15:33] local.INFO: Extracted packet for processing {"connection_id":51499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763272960,"raw_latitude":95494240,"longitude_deg":76.327296,"latitude_deg":9.549424,"altitude":9,"angle":1,"satellites":45,"speed":38,"hex_longitude":"2d7e9f00","hex_latitude":"05b12060","is_valid_coordinates":true} 
[2026-04-22 19:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877547776001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278495055386247168,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729919543234560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] 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-22 19:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776865431000,"timestamp_ms":1776865431000,"timestamp_seconds":1776865431,"priority":1,"record_length":96,"hex_timestamp":"0000019db56ecdd8"} 
[2026-04-22 19:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:15: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-22 19:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19: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-22 19:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877547776001,"66":27365,"92":206,"85":12544,"24":38,"16":278495055386247168,"45":9123729919543234560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-22 19:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877547776001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:15:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-22 19:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278495055386247168,"km_value":278495055386247.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729919543234560,"description":"Unknown IO ID 45"} 
[2026-04-22 19:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877547776001,"power":27365,"unknown_92":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9123729919543234560}} 
[2026-04-22 19:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":51499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:15:33] local.INFO: GPS data processed {"connection_id":51499,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:15:33] local.INFO: Acknowledgment sent {"connection_id":51499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:15:33] local.INFO: TCP Data received {"connection_id":50804,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:15:33] local.INFO: Processing buffer {"connection_id":50804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:15:33] local.INFO: Packet analysis {"connection_id":50804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:15:33] local.INFO: Extracted packet for processing {"connection_id":50804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877390080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776865360000,"timestamp_ms":1776865360000,"timestamp_seconds":1776865360,"priority":1,"record_length":96,"hex_timestamp":"0000019db56db880"} 
[2026-04-22 19:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":8725767227965679,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043298752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126183515914445,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:33] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,176,83,24,241,157,16,29,64,45,123,31,41,10,66,60,25,1,240,140,227,181,36,4,113,205,13,2,248,239,8,149,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 19:15:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233844964897325122,"timestamp_seconds":2233844964897325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:15:33] 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-22 19:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877390080001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877390080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:15:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877390080001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":50804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:15:33] local.INFO: GPS data processed {"connection_id":50804,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:15:33] local.INFO: Acknowledgment sent {"connection_id":50804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:15:46] local.INFO: TCP Data received {"connection_id":50534,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db56f0870012d7f730005b0e048000a000224..."} 
[2026-04-22 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56f0870012d7f730005b0e048000a000224..."} 
[2026-04-22 19:15:46] local.INFO: Processing buffer {"connection_id":50534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56f0870012d7f730005b0e048000a000224..."} 
[2026-04-22 19:15:46] local.INFO: Packet analysis {"connection_id":50534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56f"} 
[2026-04-22 19:15:46] local.INFO: Extracted packet for processing {"connection_id":50534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56f"} 
[2026-04-22 19:15:46] local.INFO: GPS Element Parsed {"raw_longitude":763327232,"raw_latitude":95477832,"longitude_deg":76.3327232,"latitude_deg":9.5477832,"altitude":10,"angle":2,"satellites":36,"speed":9,"hex_longitude":"2d7f7300","hex_latitude":"05b0e048","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877553408001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":74998096152494080,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183824827069052928,"note":"Value kept but may cause issues"} 
[2026-04-22 19:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776865446000,"timestamp_ms":1776865446000,"timestamp_seconds":1776865446,"priority":1,"record_length":96,"hex_timestamp":"0000019db56f0870"} 
[2026-04-22 19: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-22 19:15: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-22 19:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-22 19:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877553408001,"66":12156,"249":206,"85":12544,"24":9,"16":74998096152494080,"45":9183824827069052928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,85,24,16,45]} 
[2026-04-22 19:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877553408001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:15:46] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-22 19:15:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":74998096152494080,"km_value":74998096152494.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183824827069052928,"description":"Unknown IO ID 45"} 
[2026-04-22 19:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877553408001,"power":12156,"unknown_249":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9183824827069052928}} 
[2026-04-22 19:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":50534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:15:46] local.INFO: GPS data processed {"connection_id":50534,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:15:46] local.INFO: Acknowledgment sent {"connection_id":50534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:16:04] local.INFO: TCP Data received {"connection_id":51499,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db56ef100012d7e9fc005b14430000900012d..."} 
[2026-04-22 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56ef100012d7e9fc005b14430000900012d..."} 
[2026-04-22 19:16:04] local.INFO: Processing buffer {"connection_id":51499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56ef100012d7e9fc005b14430000900012d..."} 
[2026-04-22 19:16:04] local.INFO: Packet analysis {"connection_id":51499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:16:04] local.INFO: Extracted packet for processing {"connection_id":51499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56e"} 
[2026-04-22 19:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763273152,"raw_latitude":95503408,"longitude_deg":76.3273152,"latitude_deg":9.5503408,"altitude":9,"angle":1,"satellites":45,"speed":41,"hex_longitude":"2d7e9fc0","hex_latitude":"05b14430","is_valid_coordinates":true} 
[2026-04-22 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-22 19:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877550336001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278495502062845952,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124011394522439680,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] 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-22 19:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776865440000,"timestamp_ms":1776865440000,"timestamp_seconds":1776865440,"priority":1,"record_length":96,"hex_timestamp":"0000019db56ef100"} 
[2026-04-22 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-22 19:16: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-22 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 19:16: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-22 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-22 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-22 19:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877550336001,"66":27484,"92":206,"85":12544,"24":41,"16":278495502062845952,"45":9124011394522439680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-22 19:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877550336001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:16:04] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-22 19:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278495502062845952,"km_value":278495502062845.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124011394522439680,"description":"Unknown IO ID 45"} 
[2026-04-22 19:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877550336001,"power":27484,"unknown_92":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9124011394522439680}} 
[2026-04-22 19:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":51499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:16:04] local.INFO: GPS data processed {"connection_id":51499,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:16:04] local.INFO: Acknowledgment sent {"connection_id":51499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:16:04] local.INFO: TCP Data received {"connection_id":50804,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:16:04] local.INFO: Processing buffer {"connection_id":50804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:16:04] local.INFO: Packet analysis {"connection_id":50804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:16:04] local.INFO: Extracted packet for processing {"connection_id":50804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 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-22 19:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877390080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776865360000,"timestamp_ms":1776865360000,"timestamp_seconds":1776865360,"priority":1,"record_length":96,"hex_timestamp":"0000019db56db880"} 
[2026-04-22 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-22 19:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":8725767227965679,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043298752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126183515914445,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:04] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,176,83,24,241,157,16,29,64,45,123,31,41,10,66,60,25,1,240,140,227,181,36,4,113,205,13,2,248,239,8,149,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 19:16:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233844964897325122,"timestamp_seconds":2233844964897325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 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-22 19:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877390080001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877390080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:16:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877390080001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":50804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:16:04] local.INFO: GPS data processed {"connection_id":50804,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:16:04] local.INFO: Acknowledgment sent {"connection_id":50804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:16:14] local.INFO: TCP Data received {"connection_id":51500,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:16:14] local.INFO: Processing buffer {"connection_id":51500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:16:14] local.INFO: IMEI packet received {"connection_id":51500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":51500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:16:25] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:16:25] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:16:25] local.INFO: IMEI packet received {"connection_id":50805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":50805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:16:26] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:16:26] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:16:26] local.INFO: IMEI packet received {"connection_id":50805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:16:27] local.INFO: TCP Data received {"connection_id":50933,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:16:27] local.INFO: Processing buffer {"connection_id":50933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:16:27] local.INFO: IMEI packet received {"connection_id":50933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:16:30] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:16:30] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:16:30] local.INFO: IMEI packet received {"connection_id":50805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":50805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:16:32] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5706030012d7eba4005b2a950000a01672d..."} 
[2026-04-22 19:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5706030012d7eba4005b2a950000a01672d..."} 
[2026-04-22 19:16:32] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5706030012d7eba4005b2a950000a01672d..."} 
[2026-04-22 19:16:32] local.INFO: Packet analysis {"connection_id":50805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:16:32] local.INFO: Extracted packet for processing {"connection_id":50805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763279936,"raw_latitude":95594832,"longitude_deg":76.3279936,"latitude_deg":9.5594832,"altitude":10,"angle":359,"satellites":45,"speed":50,"hex_longitude":"2d7eba40","hex_latitude":"05b2a950","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877574656001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278499955943931904,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131751956405170176,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:32] 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-22 19:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776865534000,"timestamp_ms":1776865534000,"timestamp_seconds":1776865534,"priority":1,"record_length":96,"hex_timestamp":"0000019db5706030"} 
[2026-04-22 19: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-22 19:16: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-22 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 19:16: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-22 19: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-22 19: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-22 19:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877574656001,"66":27310,"58":206,"85":12544,"24":50,"16":278499955943931904,"45":9131751956405170176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 19:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877574656001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:16:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 19:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278499955943931904,"km_value":278499955943931.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131751956405170176,"description":"Unknown IO ID 45"} 
[2026-04-22 19:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877574656001,"power":27310,"unknown_58":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9131751956405170176}} 
[2026-04-22 19:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":50805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:16:32] local.INFO: GPS data processed {"connection_id":50805,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:16:32] local.INFO: Acknowledgment sent {"connection_id":50805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:16:35] local.INFO: TCP Data received {"connection_id":50933,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:16:35] local.INFO: Processing buffer {"connection_id":50933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:16:35] local.INFO: IMEI packet received {"connection_id":50933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":50933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:16:35] local.INFO: TCP Data received {"connection_id":51500,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:16:35] local.INFO: Processing buffer {"connection_id":51500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:16:35] local.INFO: IMEI packet received {"connection_id":51500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":51500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:16:35] local.INFO: TCP Data received {"connection_id":51500,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-22 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51500,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-22 19:16:35] local.INFO: Processing buffer {"connection_id":51500,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-22 19:16:35] local.INFO: IMEI packet received {"connection_id":51500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":51500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:16:36] local.INFO: TCP Data received {"connection_id":50933,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:16:36] local.INFO: Processing buffer {"connection_id":50933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:16:36] local.INFO: Packet analysis {"connection_id":50933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:16:36] local.INFO: Extracted packet for processing {"connection_id":50933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877390080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776865360000,"timestamp_ms":1776865360000,"timestamp_seconds":1776865360,"priority":1,"record_length":96,"hex_timestamp":"0000019db56db880"} 
[2026-04-22 19: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-22 19:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":8725767227965679,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043298752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126183515914445,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,176,83,24,241,157,16,29,64,45,123,31,41,10,66,60,25,1,240,140,227,181,36,4,113,205,13,2,248,239,8,149,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 19:16:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233844964897325122,"timestamp_seconds":2233844964897325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19: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-22 19:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877390080001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877390080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:16:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877390080001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":50933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:16:36] local.INFO: GPS data processed {"connection_id":50933,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:16:36] local.INFO: Acknowledgment sent {"connection_id":50933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:16:36] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5707b88012d7eb98005b2cdc0000a01662d..."} 
[2026-04-22 19:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5707b88012d7eb98005b2cdc0000a01662d..."} 
[2026-04-22 19:16:36] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5707b88012d7eb98005b2cdc0000a01662d..."} 
[2026-04-22 19:16:36] local.INFO: Packet analysis {"connection_id":50805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:16:36] local.INFO: Extracted packet for processing {"connection_id":50805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763279744,"raw_latitude":95604160,"longitude_deg":76.3279744,"latitude_deg":9.560416,"altitude":10,"angle":358,"satellites":45,"speed":54,"hex_longitude":"2d7eb980","hex_latitude":"05b2cdc0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877576704001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278500406915497984,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131681587663556608,"note":"Value kept but may cause issues"} 
[2026-04-22 19:16:36] 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-22 19:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776865541000,"timestamp_ms":1776865541000,"timestamp_seconds":1776865541,"priority":1,"record_length":96,"hex_timestamp":"0000019db5707b88"} 
[2026-04-22 19: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-22 19:16: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-22 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-22 19:16: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-22 19: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-22 19: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-22 19:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:16:36] 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-22 19:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877576704001,"66":27343,"58":206,"85":12544,"24":54,"16":278500406915497984,"45":9131681587663556608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 19:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877576704001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:16:36] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 19:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278500406915497984,"km_value":278500406915497.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131681587663556608,"description":"Unknown IO ID 45"} 
[2026-04-22 19:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877576704001,"power":27343,"unknown_58":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9131681587663556608}} 
[2026-04-22 19:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":50805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:16:36] local.INFO: GPS data processed {"connection_id":50805,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:16:36] local.INFO: Acknowledgment sent {"connection_id":50805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:17:07] local.INFO: TCP Data received {"connection_id":50805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57096e0012d7eb84005b2f450000a01662d..."} 
[2026-04-22 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57096e0012d7eb84005b2f450000a01662d..."} 
[2026-04-22 19:17:07] local.INFO: Processing buffer {"connection_id":50805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57096e0012d7eb84005b2f450000a01662d..."} 
[2026-04-22 19:17:07] local.INFO: Packet analysis {"connection_id":50805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:17:07] local.INFO: Extracted packet for processing {"connection_id":50805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763279424,"raw_latitude":95614032,"longitude_deg":76.3279424,"latitude_deg":9.5614032,"altitude":10,"angle":358,"satellites":45,"speed":56,"hex_longitude":"2d7eb840","hex_latitude":"05b2f450","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877578496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278500887951835136,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131470481433411584,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] 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-22 19:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776865548000,"timestamp_ms":1776865548000,"timestamp_seconds":1776865548,"priority":1,"record_length":96,"hex_timestamp":"0000019db57096e0"} 
[2026-04-22 19: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-22 19:17: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-22 19: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":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:17: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-22 19: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-22 19: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-22 19:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:17: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-22 19:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877578496001,"66":27332,"58":206,"85":12544,"24":56,"16":278500887951835136,"45":9131470481433411584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 19:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877578496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:17:07] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 19:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278500887951835136,"km_value":278500887951835.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131470481433411584,"description":"Unknown IO ID 45"} 
[2026-04-22 19:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877578496001,"power":27332,"unknown_58":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9131470481433411584}} 
[2026-04-22 19:17:07] local.INFO: TCP Data received {"connection_id":50933,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:17:07] local.INFO: Processing buffer {"connection_id":50933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:17:07] local.INFO: Packet analysis {"connection_id":50933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:17:07] local.INFO: Extracted packet for processing {"connection_id":50933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877390080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776865360000,"timestamp_ms":1776865360000,"timestamp_seconds":1776865360,"priority":1,"record_length":96,"hex_timestamp":"0000019db56db880"} 
[2026-04-22 19: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-22 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":8725767227965679,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043298752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126183515914445,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:07] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,176,83,24,241,157,16,29,64,45,123,31,41,10,66,60,25,1,240,140,227,181,36,4,113,205,13,2,248,239,8,149,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 19:17:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233844964897325122,"timestamp_seconds":2233844964897325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19: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-22 19:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877390080001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":50805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:17:07] local.INFO: GPS data processed {"connection_id":50805,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:17:07] local.INFO: Acknowledgment sent {"connection_id":50805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877390080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:17:07] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877390080001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":50933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:17:07] local.INFO: GPS data processed {"connection_id":50933,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:17:07] local.INFO: Acknowledgment sent {"connection_id":50933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:17:25] local.INFO: TCP Data received {"connection_id":50536,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:17:25] local.INFO: Processing buffer {"connection_id":50536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:17:25] local.INFO: IMEI packet received {"connection_id":50536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":50536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:17:25] local.INFO: TCP Data received {"connection_id":50536,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:17:25] local.INFO: Processing buffer {"connection_id":50536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:17:25] local.INFO: IMEI packet received {"connection_id":50536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":50536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:17:27] local.INFO: TCP Data received {"connection_id":51501,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:17:27] local.INFO: Processing buffer {"connection_id":51501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:17:27] local.INFO: IMEI packet received {"connection_id":51501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":51501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:17:30] local.INFO: TCP Data received {"connection_id":50536,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:17:30] local.INFO: Processing buffer {"connection_id":50536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:17:30] local.INFO: IMEI packet received {"connection_id":50536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":50536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:17:31] local.INFO: TCP Data received {"connection_id":50536,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db570b238012d7eb74005b31b80000a01662d..."} 
[2026-04-22 19:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db570b238012d7eb74005b31b80000a01662d..."} 
[2026-04-22 19:17:31] local.INFO: Processing buffer {"connection_id":50536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db570b238012d7eb74005b31b80000a01662d..."} 
[2026-04-22 19:17:31] local.INFO: Packet analysis {"connection_id":50536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:17:31] local.INFO: Extracted packet for processing {"connection_id":50536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763279168,"raw_latitude":95624064,"longitude_deg":76.3279168,"latitude_deg":9.5624064,"altitude":10,"angle":358,"satellites":45,"speed":57,"hex_longitude":"2d7eb740","hex_latitude":"05b31b80","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877580288001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278501373283139584,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131118637715050496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:31] 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-22 19:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865555000,"timestamp_ms":1776865555000,"timestamp_seconds":1776865555,"priority":1,"record_length":96,"hex_timestamp":"0000019db570b238"} 
[2026-04-22 19: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-22 19:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 19:17: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-22 19: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-22 19: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-22 19:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:17:31] 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-22 19:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877580288001,"66":27343,"58":206,"85":12544,"24":57,"16":278501373283139584,"45":9131118637715050496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 19:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877580288001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:17:31] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 19:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278501373283139584,"km_value":278501373283139.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131118637715050496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877580288001,"power":27343,"unknown_58":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":9131118637715050496}} 
[2026-04-22 19:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":50536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:17:31] local.INFO: GPS data processed {"connection_id":50536,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:17:31] local.INFO: Acknowledgment sent {"connection_id":50536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:17:32] local.INFO: TCP Data received {"connection_id":51501,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:17:32] local.INFO: Processing buffer {"connection_id":51501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:17:32] local.INFO: IMEI packet received {"connection_id":51501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":51501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:17:33] local.INFO: TCP Data received {"connection_id":51501,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:17:33] local.INFO: Processing buffer {"connection_id":51501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:17:33] local.INFO: Packet analysis {"connection_id":51501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:17:33] local.INFO: Extracted packet for processing {"connection_id":51501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877390080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776865360000,"timestamp_ms":1776865360000,"timestamp_seconds":1776865360,"priority":1,"record_length":96,"hex_timestamp":"0000019db56db880"} 
[2026-04-22 19:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 19:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":8725767227965679,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043298752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126183515914445,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 19:17:33] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:17:33] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,176,83,24,241,157,16,29,64,45,123,31,41,10,66,60,25,1,240,140,227,181,36,4,113,205,13,2,248,239,8,149,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 19:17:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233844964897325122,"timestamp_seconds":2233844964897325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:17:33] 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-22 19:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877390080001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877390080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:17:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877390080001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":51501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:17:33] local.INFO: GPS data processed {"connection_id":51501,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:17:33] local.INFO: Acknowledgment sent {"connection_id":51501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:18:02] local.INFO: TCP Data received {"connection_id":50536,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db570cd90012d7eb6c005b342e8000a01672d..."} 
[2026-04-22 19:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db570cd90012d7eb6c005b342e8000a01672d..."} 
[2026-04-22 19:18:02] local.INFO: Processing buffer {"connection_id":50536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db570cd90012d7eb6c005b342e8000a01672d..."} 
[2026-04-22 19:18:02] local.INFO: Packet analysis {"connection_id":50536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:18:02] local.INFO: Extracted packet for processing {"connection_id":50536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95634152,"longitude_deg":76.327904,"latitude_deg":9.5634152,"altitude":10,"angle":359,"satellites":45,"speed":57,"hex_longitude":"2d7eb6c0","hex_latitude":"05b342e8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877582080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278501862909411328,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130837162740908032,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:02] 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-22 19:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776865562000,"timestamp_ms":1776865562000,"timestamp_seconds":1776865562,"priority":1,"record_length":96,"hex_timestamp":"0000019db570cd90"} 
[2026-04-22 19: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-22 19:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:18: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-22 19: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-22 19: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-22 19:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877582080001,"66":27484,"58":206,"85":12544,"24":57,"16":278501862909411328,"45":9130837162740908032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 19:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877582080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:18:02] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 19:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278501862909411328,"km_value":278501862909411.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130837162740908032,"description":"Unknown IO ID 45"} 
[2026-04-22 19:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877582080001,"power":27484,"unknown_58":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":9130837162740908032}} 
[2026-04-22 19:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":50536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:18:02] local.INFO: GPS data processed {"connection_id":50536,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:18:02] local.INFO: Acknowledgment sent {"connection_id":50536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:18:04] local.INFO: TCP Data received {"connection_id":51501,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:18:04] local.INFO: Processing buffer {"connection_id":51501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db56db880012d1b040007247bc8002d003628..."} 
[2026-04-22 19:18:04] local.INFO: Packet analysis {"connection_id":51501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:18:04] local.INFO: Extracted packet for processing {"connection_id":51501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db56d"} 
[2026-04-22 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877390080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946469863375206400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776865360000,"timestamp_ms":1776865360000,"timestamp_seconds":1776865360,"priority":1,"record_length":96,"hex_timestamp":"0000019db56db880"} 
[2026-04-22 19:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 19:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":8725767227965679,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3043298752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126183515914445,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-04-22 19:18:04] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:04] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:04] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,176,83,24,241,157,16,29,64,45,123,31,41,10,66,60,25,1,240,140,227,181,36,4,113,205,13,2,248,239,8,149,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-04-22 19:18:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233844964897325122,"timestamp_seconds":2233844964897325.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877390080001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946469863375206400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877390080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:18:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946469863375206400,"description":"Unknown IO ID 45"} 
[2026-04-22 19:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877390080001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946469863375206400}} 
[2026-04-22 19:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":51501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:18:04] local.INFO: GPS data processed {"connection_id":51501,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:18:04] local.INFO: Acknowledgment sent {"connection_id":51501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:18:25] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:18:25] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:18:25] local.INFO: IMEI packet received {"connection_id":50934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":50934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:18:27] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:18:27] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:18:27] local.INFO: IMEI packet received {"connection_id":50807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:18:27] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:18:27] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:18:27] local.INFO: IMEI packet received {"connection_id":50934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":50934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:18:30] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:18:30] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:18:30] local.INFO: IMEI packet received {"connection_id":50934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":50934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:18:31] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db570e8e8012d7eb5c005b369a0000901662c..."} 
[2026-04-22 19:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db570e8e8012d7eb5c005b369a0000901662c..."} 
[2026-04-22 19:18:31] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db570e8e8012d7eb5c005b369a0000901662c..."} 
[2026-04-22 19:18:31] local.INFO: Packet analysis {"connection_id":50934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:18:31] local.INFO: Extracted packet for processing {"connection_id":50934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db570"} 
[2026-04-22 19:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763278784,"raw_latitude":95644064,"longitude_deg":76.3278784,"latitude_deg":9.5644064,"altitude":9,"angle":358,"satellites":44,"speed":54,"hex_longitude":"2d7eb5c0","hex_latitude":"05b369a0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877583872001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278502343945748480,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425255135232,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:31] 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-22 19:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865569000,"timestamp_ms":1776865569000,"timestamp_seconds":1776865569,"priority":1,"record_length":96,"hex_timestamp":"0000019db570e8e8"} 
[2026-04-22 19: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-22 19:18: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-22 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:18: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-22 19: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-22 19: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-22 19:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:18:31] 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-22 19:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877583872001,"66":27463,"58":206,"85":12544,"24":54,"16":278502343945748480,"45":9130696425255135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 19:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877583872001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:18:31] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 19:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278502343945748480,"km_value":278502343945748.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425255135232,"description":"Unknown IO ID 45"} 
[2026-04-22 19:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877583872001,"power":27463,"unknown_58":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9130696425255135232}} 
[2026-04-22 19:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":50934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:18:31] local.INFO: GPS data processed {"connection_id":50934,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:18:31] local.INFO: Acknowledgment sent {"connection_id":50934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:18:32] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:18:32] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:18:32] local.INFO: IMEI packet received {"connection_id":50807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:18:33] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:18:33] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:18:33] local.INFO: Packet analysis {"connection_id":50807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:18:33] local.INFO: Extracted packet for processing {"connection_id":50807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19: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-22 19:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:18:33] 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-22 19:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:18:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":50807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:18:33] local.INFO: GPS data processed {"connection_id":50807,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:18:33] local.INFO: Acknowledgment sent {"connection_id":50807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:18:36] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5710440012d7eb3c005b38dd0000901642c..."} 
[2026-04-22 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5710440012d7eb3c005b38dd0000901642c..."} 
[2026-04-22 19:18:36] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5710440012d7eb3c005b38dd0000901642c..."} 
[2026-04-22 19:18:36] local.INFO: Packet analysis {"connection_id":50934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db571"} 
[2026-04-22 19:18:36] local.INFO: Extracted packet for processing {"connection_id":50934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db571"} 
[2026-04-22 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763278272,"raw_latitude":95653328,"longitude_deg":76.3278272,"latitude_deg":9.5653328,"altitude":9,"angle":356,"satellites":44,"speed":51,"hex_longitude":"2d7eb3c0","hex_latitude":"05b38dd0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877585664001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278502794917314560,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950280962048,"note":"Value kept but may cause issues"} 
[2026-04-22 19:18:36] 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-22 19:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776865576000,"timestamp_ms":1776865576000,"timestamp_seconds":1776865576,"priority":1,"record_length":96,"hex_timestamp":"0000019db5710440"} 
[2026-04-22 19: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-22 19:18: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-22 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:18: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-22 19: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-22 19: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-22 19:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:18:36] 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-22 19:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877585664001,"66":27376,"58":206,"85":12544,"24":51,"16":278502794917314560,"45":9130414950280962048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 19:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877585664001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:18:36] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 19:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278502794917314560,"km_value":278502794917314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950280962048,"description":"Unknown IO ID 45"} 
[2026-04-22 19:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877585664001,"power":27376,"unknown_58":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9130414950280962048}} 
[2026-04-22 19:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":50934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:18:36] local.INFO: GPS data processed {"connection_id":50934,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:18:36] local.INFO: Acknowledgment sent {"connection_id":50934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:19:04] local.INFO: TCP Data received {"connection_id":50807,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:19:04] local.INFO: Processing buffer {"connection_id":50807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:19:04] local.INFO: Packet analysis {"connection_id":50807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:19:04] local.INFO: Extracted packet for processing {"connection_id":50807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19: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-22 19:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:19:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":50807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:19:04] local.INFO: GPS data processed {"connection_id":50807,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:19:04] local.INFO: Acknowledgment sent {"connection_id":50807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:19:07] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5712380012d7eb1c005b3b380000a01612d..."} 
[2026-04-22 19:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5712380012d7eb1c005b3b380000a01612d..."} 
[2026-04-22 19:19:07] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5712380012d7eb1c005b3b380000a01612d..."} 
[2026-04-22 19:19:07] local.INFO: Packet analysis {"connection_id":50934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db571"} 
[2026-04-22 19:19:07] local.INFO: Extracted packet for processing {"connection_id":50934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db571"} 
[2026-04-22 19:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763277760,"raw_latitude":95662976,"longitude_deg":76.327776,"latitude_deg":9.5662976,"altitude":10,"angle":353,"satellites":45,"speed":41,"hex_longitude":"2d7eb1c0","hex_latitude":"05b3b380","is_valid_coordinates":true} 
[2026-04-22 19:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877587456001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278503263068749824,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129852000329912320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:07] 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-22 19:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776865584000,"timestamp_ms":1776865584000,"timestamp_seconds":1776865584,"priority":1,"record_length":96,"hex_timestamp":"0000019db5712380"} 
[2026-04-22 19:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:19: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-22 19:19: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-22 19:19: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-22 19:19: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-22 19:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:19: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-22 19:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877587456001,"66":27463,"58":206,"85":12544,"24":41,"16":278503263068749824,"45":9129852000329912320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 19:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877587456001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:19:07] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 19:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278503263068749824,"km_value":278503263068749.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129852000329912320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877587456001,"power":27463,"unknown_58":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9129852000329912320}} 
[2026-04-22 19:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":50934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:19:07] local.INFO: GPS data processed {"connection_id":50934,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:19:07] local.INFO: Acknowledgment sent {"connection_id":50934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:19:25] local.INFO: TCP Data received {"connection_id":51504,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:19:25] local.INFO: Processing buffer {"connection_id":51504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:19:25] local.INFO: IMEI packet received {"connection_id":51504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":51504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:19:26] local.INFO: TCP Data received {"connection_id":51504,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:19:26] local.INFO: Processing buffer {"connection_id":51504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:19:26] local.INFO: IMEI packet received {"connection_id":51504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":51504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:19:27] local.INFO: TCP Data received {"connection_id":50808,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:19:27] local.INFO: Processing buffer {"connection_id":50808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:19:27] local.INFO: IMEI packet received {"connection_id":50808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:19:30] local.INFO: TCP Data received {"connection_id":51504,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:19:30] local.INFO: Processing buffer {"connection_id":51504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:19:30] local.INFO: IMEI packet received {"connection_id":51504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":51504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:19:31] local.INFO: TCP Data received {"connection_id":51504,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5715260012d7eaec005b3d700000a01672d..."} 
[2026-04-22 19:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5715260012d7eaec005b3d700000a01672d..."} 
[2026-04-22 19:19:31] local.INFO: Processing buffer {"connection_id":51504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5715260012d7eaec005b3d700000a01672d..."} 
[2026-04-22 19:19:31] local.INFO: Packet analysis {"connection_id":51504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db571"} 
[2026-04-22 19:19:31] local.INFO: Extracted packet for processing {"connection_id":51504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db571"} 
[2026-04-22 19:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763276992,"raw_latitude":95672064,"longitude_deg":76.3276992,"latitude_deg":9.5672064,"altitude":10,"angle":359,"satellites":45,"speed":33,"hex_longitude":"2d7eaec0","hex_latitude":"05b3d700","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877589504001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278503705450381312,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129289050378960896,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:31] 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-22 19:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865596000,"timestamp_ms":1776865596000,"timestamp_seconds":1776865596,"priority":1,"record_length":96,"hex_timestamp":"0000019db5715260"} 
[2026-04-22 19: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-22 19:19: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-22 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:19: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-22 19: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-22 19: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-22 19:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:19:31] 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-22 19:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877589504001,"66":27343,"58":206,"85":12544,"24":33,"16":278503705450381312,"45":9129289050378960896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-22 19:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877589504001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:19:31] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-22 19:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278503705450381312,"km_value":278503705450381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129289050378960896,"description":"Unknown IO ID 45"} 
[2026-04-22 19:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877589504001,"power":27343,"unknown_58":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9129289050378960896}} 
[2026-04-22 19:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":51504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:19:31] local.INFO: GPS data processed {"connection_id":51504,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:19:31] local.INFO: Acknowledgment sent {"connection_id":51504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:19:32] local.INFO: TCP Data received {"connection_id":50808,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:19:32] local.INFO: Processing buffer {"connection_id":50808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:19:32] local.INFO: IMEI packet received {"connection_id":50808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:19:33] local.INFO: TCP Data received {"connection_id":50808,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:19:33] local.INFO: Processing buffer {"connection_id":50808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:19:33] local.INFO: Packet analysis {"connection_id":50808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:19:33] local.INFO: Extracted packet for processing {"connection_id":50808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19: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-22 19:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:19:33] 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-22 19:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:19:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:19:33] local.INFO: GPS data processed {"connection_id":50808,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:19:33] local.INFO: Acknowledgment sent {"connection_id":50808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:20:02] local.INFO: TCP Data received {"connection_id":51504,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5739c50012d7ea4c005b53c80000901672d..."} 
[2026-04-22 19:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5739c50012d7ea4c005b53c80000901672d..."} 
[2026-04-22 19:20:02] local.INFO: Processing buffer {"connection_id":51504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5739c50012d7ea4c005b53c80000901672d..."} 
[2026-04-22 19:20:02] local.INFO: Packet analysis {"connection_id":51504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db573"} 
[2026-04-22 19:20:02] local.INFO: Extracted packet for processing {"connection_id":51504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db573"} 
[2026-04-22 19:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":95763584,"longitude_deg":76.3274432,"latitude_deg":9.5763584,"altitude":9,"angle":359,"satellites":45,"speed":47,"hex_longitude":"2d7ea4c0","hex_latitude":"05b53c80","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877628672001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278508155036499968,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981937473536,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20: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-22 19:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776865746000,"timestamp_ms":1776865746000,"timestamp_seconds":1776865746,"priority":1,"record_length":96,"hex_timestamp":"0000019db5739c50"} 
[2026-04-22 19: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-22 19: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-22 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 19:20: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-22 19: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-22 19: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-22 19:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877628672001,"66":27397,"59":206,"85":12544,"24":47,"16":278508155036499968,"45":9125840981937473536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877628672001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:20:02] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278508155036499968,"km_value":278508155036499.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981937473536,"description":"Unknown IO ID 45"} 
[2026-04-22 19:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877628672001,"power":27397,"unknown_59":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9125840981937473536}} 
[2026-04-22 19:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":51504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:20:02] local.INFO: GPS data processed {"connection_id":51504,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:20:02] local.INFO: Acknowledgment sent {"connection_id":51504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:20:04] local.INFO: TCP Data received {"connection_id":50808,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:20:04] local.INFO: Processing buffer {"connection_id":50808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:20:04] local.INFO: Packet analysis {"connection_id":50808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:20:04] local.INFO: Extracted packet for processing {"connection_id":50808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19: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-22 19:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:20:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:20:04] local.INFO: GPS data processed {"connection_id":50808,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:20:04] local.INFO: Acknowledgment sent {"connection_id":50808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:20:10] local.INFO: TCP Data received {"connection_id":50539,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:20:10] local.INFO: Processing buffer {"connection_id":50539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:20:10] local.INFO: IMEI packet received {"connection_id":50539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":50539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:20:25] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:20:25] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:20:25] local.INFO: IMEI packet received {"connection_id":50809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":50809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:20:27] local.INFO: TCP Data received {"connection_id":51506,"ip":"42.106.6.81","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:20:27] local.INFO: Processing buffer {"connection_id":51506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:20:27] local.INFO: IMEI packet received {"connection_id":51506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":51506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:20:30] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:20:30] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:20:30] local.INFO: IMEI packet received {"connection_id":50809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":50809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:20:31] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db573bf78012d7ea54005b56250000900002d..."} 
[2026-04-22 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db573bf78012d7ea54005b56250000900002d..."} 
[2026-04-22 19:20:31] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db573bf78012d7ea54005b56250000900002d..."} 
[2026-04-22 19:20:31] local.INFO: Packet analysis {"connection_id":50809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db573"} 
[2026-04-22 19:20:31] local.INFO: Extracted packet for processing {"connection_id":50809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db573"} 
[2026-04-22 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95773264,"longitude_deg":76.327456,"latitude_deg":9.5773264,"altitude":9,"angle":0,"satellites":45,"speed":33,"hex_longitude":"2d7ea540","hex_latitude":"05b56250","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877630976001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278508623187935232,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125629875707478016,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:31] 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-22 19:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865755000,"timestamp_ms":1776865755000,"timestamp_seconds":1776865755,"priority":1,"record_length":96,"hex_timestamp":"0000019db573bf78"} 
[2026-04-22 19: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-22 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:20: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-22 19: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-22 19: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-22 19:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:20:31] 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-22 19:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877630976001,"66":27376,"122":206,"85":12544,"24":33,"16":278508623187935232,"45":9125629875707478016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-22 19:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877630976001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:20:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 19:20:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278508623187935232,"km_value":278508623187935.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125629875707478016,"description":"Unknown IO ID 45"} 
[2026-04-22 19:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877630976001,"power":27376,"unknown_122":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9125629875707478016}} 
[2026-04-22 19:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":50809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:20:31] local.INFO: GPS data processed {"connection_id":50809,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:20:31] local.INFO: Acknowledgment sent {"connection_id":50809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:20:32] local.INFO: TCP Data received {"connection_id":51506,"ip":"42.106.6.81","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:20:32] local.INFO: Processing buffer {"connection_id":51506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:20:32] local.INFO: IMEI packet received {"connection_id":51506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":51506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:20:33] local.INFO: TCP Data received {"connection_id":51506,"ip":"42.106.6.81","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:20:33] local.INFO: Processing buffer {"connection_id":51506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:20:33] local.INFO: Packet analysis {"connection_id":51506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:20:33] local.INFO: Extracted packet for processing {"connection_id":51506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19: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-22 19:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.81","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:20:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":51506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:20:33] local.INFO: GPS data processed {"connection_id":51506,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:20:33] local.INFO: Acknowledgment sent {"connection_id":51506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:20:50] local.INFO: TCP Data received {"connection_id":50810,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:20:50] local.INFO: Processing buffer {"connection_id":50810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:20:50] local.INFO: IMEI packet received {"connection_id":50810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":50810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:21:02] local.INFO: TCP Data received {"connection_id":50809,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db573cb30012d7ea5c005b56af00009000b2c..."} 
[2026-04-22 19:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db573cb30012d7ea5c005b56af00009000b2c..."} 
[2026-04-22 19:21:02] local.INFO: Processing buffer {"connection_id":50809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db573cb30012d7ea5c005b56af00009000b2c..."} 
[2026-04-22 19:21:02] local.INFO: Packet analysis {"connection_id":50809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db573"} 
[2026-04-22 19:21:02] local.INFO: Extracted packet for processing {"connection_id":50809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db573"} 
[2026-04-22 19:21:02] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":95775472,"longitude_deg":76.3274688,"latitude_deg":9.5775472,"altitude":9,"angle":11,"satellites":44,"speed":28,"hex_longitude":"2d7ea5c0","hex_latitude":"05b56af0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877633280001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278508730562117632,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613198311424,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:02] 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-22 19:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776865758000,"timestamp_ms":1776865758000,"timestamp_seconds":1776865758,"priority":1,"record_length":96,"hex_timestamp":"0000019db573cb30"} 
[2026-04-22 19: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-22 19:21: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-22 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 19:21: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-22 19: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-22 19: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-22 19:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877633280001,"66":27300,"122":206,"85":12544,"24":28,"16":278508730562117632,"45":9125770613198311424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-22 19:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877633280001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:21:02] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 19:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278508730562117632,"km_value":278508730562117.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613198311424,"description":"Unknown IO ID 45"} 
[2026-04-22 19:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877633280001,"power":27300,"unknown_122":206,"unknown_85":12544,"ignition":28,"odometer":null,"unknown_45":9125770613198311424}} 
[2026-04-22 19:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":50809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:21:02] local.INFO: GPS data processed {"connection_id":50809,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:21:02] local.INFO: Acknowledgment sent {"connection_id":50809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:21:04] local.INFO: TCP Data received {"connection_id":51506,"ip":"42.106.6.81","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:21:04] local.INFO: Processing buffer {"connection_id":51506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:21:04] local.INFO: Packet analysis {"connection_id":51506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:21:04] local.INFO: Extracted packet for processing {"connection_id":51506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19: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-22 19:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.81","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:21:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":51506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:21:05] local.INFO: GPS data processed {"connection_id":51506,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:21:05] local.INFO: Acknowledgment sent {"connection_id":51506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:21:25] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:21:25] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:21:25] local.INFO: IMEI packet received {"connection_id":50935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":50935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:21:31] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:21:31] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:21:31] local.INFO: IMEI packet received {"connection_id":50935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":50935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:21:32] local.INFO: TCP Data received {"connection_id":50540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:21:32] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:21:32] local.INFO: IMEI packet received {"connection_id":50540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":50540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:21:32] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57401e0012d7eaac005b58eb8000900042b..."} 
[2026-04-22 19:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57401e0012d7eaac005b58eb8000900042b..."} 
[2026-04-22 19:21:32] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57401e0012d7eaac005b58eb8000900042b..."} 
[2026-04-22 19:21:32] local.INFO: Packet analysis {"connection_id":50935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db574"} 
[2026-04-22 19:21:32] local.INFO: Extracted packet for processing {"connection_id":50935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db574"} 
[2026-04-22 19:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95784632,"longitude_deg":76.3275968,"latitude_deg":9.5784632,"altitude":9,"angle":4,"satellites":43,"speed":23,"hex_longitude":"2d7eaac0","hex_latitude":"05b58eb8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877634048001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278509181533683712,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350687232000,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:32] 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-22 19:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776865772000,"timestamp_ms":1776865772000,"timestamp_seconds":1776865772,"priority":1,"record_length":96,"hex_timestamp":"0000019db57401e0"} 
[2026-04-22 19: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-22 19:21: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-22 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 19:21: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-22 19: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-22 19: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-22 19:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877634048001,"66":27463,"122":206,"85":12544,"24":23,"16":278509181533683712,"45":9125911350687232000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-22 19:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877634048001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:21:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 19:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278509181533683712,"km_value":278509181533683.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350687232000,"description":"Unknown IO ID 45"} 
[2026-04-22 19:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877634048001,"power":27463,"unknown_122":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9125911350687232000}} 
[2026-04-22 19:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":50935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:21:32] local.INFO: GPS data processed {"connection_id":50935,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:21:32] local.INFO: Acknowledgment sent {"connection_id":50935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:21:37] local.INFO: TCP Data received {"connection_id":50540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:21:37] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:21:37] local.INFO: IMEI packet received {"connection_id":50540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":50540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:21:39] local.INFO: TCP Data received {"connection_id":51507,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:21:39] local.INFO: Processing buffer {"connection_id":51507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:21:39] local.INFO: IMEI packet received {"connection_id":51507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":51507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:21:39] local.INFO: TCP Data received {"connection_id":50540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:21:39] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:21:39] local.INFO: Packet analysis {"connection_id":50540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:21:39] local.INFO: Extracted packet for processing {"connection_id":50540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19: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-22 19:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:21: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-22 19: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-22 19: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-22 19:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:21:39] local.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-22 19:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:21:39] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":50540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:21:39] local.INFO: GPS data processed {"connection_id":50540,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:21:39] local.INFO: Acknowledgment sent {"connection_id":50540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:21:42] local.INFO: TCP Data received {"connection_id":50540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:21:42] local.INFO: Processing buffer {"connection_id":50540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:21:42] local.INFO: Packet analysis {"connection_id":50540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:21:42] local.INFO: Extracted packet for processing {"connection_id":50540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:21:42] local.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-22 19:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:21:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":50540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:21:42] local.INFO: GPS data processed {"connection_id":50540,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:21:42] local.INFO: Acknowledgment sent {"connection_id":50540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:21:45] local.INFO: TCP Data received {"connection_id":51507,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5750b80012d7eb90005b2ad58000b016525..."} 
[2026-04-22 19:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5750b80012d7eb90005b2ad58000b016525..."} 
[2026-04-22 19:21:45] local.INFO: Processing buffer {"connection_id":51507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5750b80012d7eb90005b2ad58000b016525..."} 
[2026-04-22 19:21:45] local.INFO: Packet analysis {"connection_id":51507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db575"} 
[2026-04-22 19:21:45] local.INFO: Extracted packet for processing {"connection_id":51507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db575"} 
[2026-04-22 19:21:45] local.INFO: GPS Element Parsed {"raw_longitude":763279616,"raw_latitude":95595864,"longitude_deg":76.3279616,"latitude_deg":9.5595864,"altitude":11,"angle":357,"satellites":37,"speed":69,"hex_longitude":"2d7eb900","hex_latitude":"05b2ad58","is_valid_coordinates":true} 
[2026-04-22 19:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877653504001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75006424094081024,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131611218917079040,"note":"Value kept but may cause issues"} 
[2026-04-22 19:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776865840000,"timestamp_ms":1776865840000,"timestamp_seconds":1776865840,"priority":1,"record_length":96,"hex_timestamp":"0000019db5750b80"} 
[2026-04-22 19:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:21: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-22 19:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-22 19:21:45] 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-22 19:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":51507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":51507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":51507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877653504001,"66":12298,"93":206,"85":12544,"24":69,"16":75006424094081024,"45":9131611218917079040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877653504001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:21:45] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75006424094081024,"km_value":75006424094081.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131611218917079040,"description":"Unknown IO ID 45"} 
[2026-04-22 19:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877653504001,"power":12298,"unknown_93":206,"unknown_85":12544,"ignition":69,"odometer":null,"unknown_45":9131611218917079040}} 
[2026-04-22 19:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":51507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:21:45] local.INFO: GPS data processed {"connection_id":51507,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:21:45] local.INFO: Acknowledgment sent {"connection_id":51507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:22:10] local.INFO: TCP Data received {"connection_id":50541,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:22:10] local.INFO: Processing buffer {"connection_id":50541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:22:10] local.INFO: IMEI packet received {"connection_id":50541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":50541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:22:10] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5741568012d7eaac005b598a8000a01612e..."} 
[2026-04-22 19:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5741568012d7eaac005b598a8000a01612e..."} 
[2026-04-22 19:22:10] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5741568012d7eaac005b598a8000a01612e..."} 
[2026-04-22 19:22:10] local.INFO: Packet analysis {"connection_id":50935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db574"} 
[2026-04-22 19:22:10] local.INFO: Extracted packet for processing {"connection_id":50935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db574"} 
[2026-04-22 19:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95787176,"longitude_deg":76.3275968,"latitude_deg":9.5787176,"altitude":10,"angle":353,"satellites":46,"speed":17,"hex_longitude":"2d7eaac0","hex_latitude":"05b598a8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877637632001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278509306087735296,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725573130240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:10] 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-22 19:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776865777000,"timestamp_ms":1776865777000,"timestamp_seconds":1776865777,"priority":1,"record_length":96,"hex_timestamp":"0000019db5741568"} 
[2026-04-22 19: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-22 19:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:22: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-22 19: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-22 19: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-22 19:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:22:10] 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-22 19:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877637632001,"66":27397,"122":206,"85":12544,"24":17,"16":278509306087735296,"45":9127318725573130240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-22 19:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877637632001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:22:10] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 19:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278509306087735296,"km_value":278509306087735.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725573130240,"description":"Unknown IO ID 45"} 
[2026-04-22 19:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877637632001,"power":27397,"unknown_122":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9127318725573130240}} 
[2026-04-22 19:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":50935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:22:10] local.INFO: GPS data processed {"connection_id":50935,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:22:10] local.INFO: Acknowledgment sent {"connection_id":50935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:22:15] local.INFO: TCP Data received {"connection_id":50541,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:22:15] local.INFO: Processing buffer {"connection_id":50541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:22:15] local.INFO: IMEI packet received {"connection_id":50541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":50541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:22:16] local.INFO: TCP Data received {"connection_id":50541,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5751f08012d7eb88005b2d128000b016726..."} 
[2026-04-22 19:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5751f08012d7eb88005b2d128000b016726..."} 
[2026-04-22 19:22:16] local.INFO: Processing buffer {"connection_id":50541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5751f08012d7eb88005b2d128000b016726..."} 
[2026-04-22 19:22:16] local.INFO: Packet analysis {"connection_id":50541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db575"} 
[2026-04-22 19:22:16] local.INFO: Extracted packet for processing {"connection_id":50541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db575"} 
[2026-04-22 19:22:16] local.INFO: GPS Element Parsed {"raw_longitude":763279488,"raw_latitude":95605032,"longitude_deg":76.3279488,"latitude_deg":9.5605032,"altitude":11,"angle":359,"satellites":38,"speed":75,"hex_longitude":"2d7eb880","hex_latitude":"05b2d128","is_valid_coordinates":true} 
[2026-04-22 19:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877655040001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75006870770679808,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131329743942932480,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776865845000,"timestamp_ms":1776865845000,"timestamp_seconds":1776865845,"priority":1,"record_length":96,"hex_timestamp":"0000019db5751f08"} 
[2026-04-22 19:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:22: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-22 19:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496842179072,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185866,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5371567609694290262,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3501268118630367438,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2858221774,"corrected_to":0} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":165,"raw_value":4026609022,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2818624938,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2986377216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":119,"raw_value":-288230376151711743,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":410351930058735621,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.WARNING: Large IO value detected {"io_id":37,"raw_value":8444249301975044,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,93,85,24,241,157,16,121,244,45,134,11,38,10,66,220,98,189,64,1,240,184,227,120,181,178,4,113,205,39,165,208,239,47,2,5,119,128,37],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2858221774,"validated":0}]} 
[2026-04-22 19:22:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793026218986635264,"timestamp_seconds":793026218986635.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877655040001,"66":12211,"93":206,"85":12544,"24":75,"16":75006870770679808,"45":9131329743942932480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877655040001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:22:16] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:22:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75006870770679808,"km_value":75006870770679.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131329743942932480,"description":"Unknown IO ID 45"} 
[2026-04-22 19:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877655040001,"power":12211,"unknown_93":206,"unknown_85":12544,"ignition":75,"odometer":null,"unknown_45":9131329743942932480}} 
[2026-04-22 19:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":50541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:22:16] local.INFO: GPS data processed {"connection_id":50541,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:22:16] local.INFO: Acknowledgment sent {"connection_id":50541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:22:27] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:22:27] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:22:27] local.INFO: IMEI packet received {"connection_id":50812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:22:30] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:22:30] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:22:30] local.INFO: IMEI packet received {"connection_id":50936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":50936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:22:31] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:22:31] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:22:31] local.INFO: IMEI packet received {"connection_id":50936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":50936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:22:32] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5745000012d7ea84005b5bb18000b00012e..."} 
[2026-04-22 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5745000012d7ea84005b5bb18000b00012e..."} 
[2026-04-22 19:22:32] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5745000012d7ea84005b5bb18000b00012e..."} 
[2026-04-22 19:22:32] local.INFO: Packet analysis {"connection_id":50936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db574"} 
[2026-04-22 19:22:32] local.INFO: Extracted packet for processing {"connection_id":50936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db574"} 
[2026-04-22 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763275328,"raw_latitude":95795992,"longitude_deg":76.3275328,"latitude_deg":9.5795992,"altitude":11,"angle":1,"satellites":46,"speed":26,"hex_longitude":"2d7ea840","hex_latitude":"05b5bb18","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877638912001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278509735584464896,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725573781504,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:32] 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-22 19:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776865792000,"timestamp_ms":1776865792000,"timestamp_seconds":1776865792,"priority":1,"record_length":96,"hex_timestamp":"0000019db5745000"} 
[2026-04-22 19: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-22 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:22: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-22 19: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-22 19: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-22 19:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877638912001,"66":27343,"122":206,"85":12544,"24":26,"16":278509735584464896,"45":9127318725573781504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-22 19:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877638912001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:22:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-22 19:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278509735584464896,"km_value":278509735584464.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725573781504,"description":"Unknown IO ID 45"} 
[2026-04-22 19:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877638912001,"power":27343,"unknown_122":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9127318725573781504}} 
[2026-04-22 19:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":50936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:22:32] local.INFO: GPS data processed {"connection_id":50936,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:22:32] local.INFO: Acknowledgment sent {"connection_id":50936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:22:32] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:22:32] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:22:32] local.INFO: IMEI packet received {"connection_id":50812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:22:34] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:22:34] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:22:34] local.INFO: Packet analysis {"connection_id":50812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:22:34] local.INFO: Extracted packet for processing {"connection_id":50812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:22:34] local.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-22 19:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:22:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":50812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:22:34] local.INFO: GPS data processed {"connection_id":50812,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:22:34] local.INFO: Acknowledgment sent {"connection_id":50812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:22:47] local.INFO: TCP Data received {"connection_id":50541,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db576ad78012d7ea5c005b48cd80009016422..."} 
[2026-04-22 19:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576ad78012d7ea5c005b48cd80009016422..."} 
[2026-04-22 19:22:47] local.INFO: Processing buffer {"connection_id":50541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576ad78012d7ea5c005b48cd80009016422..."} 
[2026-04-22 19:22:47] local.INFO: Packet analysis {"connection_id":50541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:22:47] local.INFO: Extracted packet for processing {"connection_id":50541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:22:47] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":95718616,"longitude_deg":76.3274688,"latitude_deg":9.5718616,"altitude":9,"angle":356,"satellites":34,"speed":43,"hex_longitude":"2d7ea5c0","hex_latitude":"05b48cd8","is_valid_coordinates":true} 
[2026-04-22 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-22 19:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877680128001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75012389803655168,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126474300623734784,"note":"Value kept but may cause issues"} 
[2026-04-22 19:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776865947000,"timestamp_ms":1776865947000,"timestamp_seconds":1776865947,"priority":1,"record_length":96,"hex_timestamp":"0000019db576ad78"} 
[2026-04-22 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-22 19:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-22 19:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 19:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877680128001,"66":12298,"57":206,"85":12544,"24":43,"16":75012389803655168,"45":9126474300623734784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-04-22 19:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877680128001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:22:47] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-22 19:22:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75012389803655168,"km_value":75012389803655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126474300623734784,"description":"Unknown IO ID 45"} 
[2026-04-22 19:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877680128001,"power":12298,"unknown_57":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9126474300623734784}} 
[2026-04-22 19:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":50541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:22:47] local.INFO: GPS data processed {"connection_id":50541,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:22:47] local.INFO: Acknowledgment sent {"connection_id":50541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:23:03] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57628a8012d7eaa0005b71000000a01672c..."} 
[2026-04-22 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57628a8012d7eaa0005b71000000a01672c..."} 
[2026-04-22 19:23:03] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57628a8012d7eaa0005b71000000a01672c..."} 
[2026-04-22 19:23:03] local.INFO: Packet analysis {"connection_id":50936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:03] local.INFO: Extracted packet for processing {"connection_id":50936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95883264,"longitude_deg":76.3275776,"latitude_deg":9.5883264,"altitude":10,"angle":359,"satellites":44,"speed":27,"hex_longitude":"2d7eaa00","hex_latitude":"05b71000","is_valid_coordinates":true} 
[2026-04-22 19:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877670912001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278513979012153344,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755775642566656,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23: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-22 19:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776865913000,"timestamp_ms":1776865913000,"timestamp_seconds":1776865913,"priority":1,"record_length":96,"hex_timestamp":"0000019db57628a8"} 
[2026-04-22 19:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:23: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-22 19:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:23: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-22 19:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877670912001,"66":27376,"121":206,"85":12544,"24":27,"16":278513979012153344,"45":9126755775642566656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877670912001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:23:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:23:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278513979012153344,"km_value":278513979012153.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755775642566656,"description":"Unknown IO ID 45"} 
[2026-04-22 19:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877670912001,"power":27376,"unknown_121":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9126755775642566656}} 
[2026-04-22 19:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":50936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:23:03] local.INFO: GPS data processed {"connection_id":50936,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:23:03] local.INFO: Acknowledgment sent {"connection_id":50936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:23:05] local.INFO: TCP Data received {"connection_id":50812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:23:05] local.INFO: Processing buffer {"connection_id":50812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5725048012d1b040007247bc8002d003628..."} 
[2026-04-22 19:23:05] local.INFO: Packet analysis {"connection_id":50812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:23:05] local.INFO: Extracted packet for processing {"connection_id":50812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db572"} 
[2026-04-22 19:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":45,"angle":54,"satellites":40,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877532160001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776865661000,"timestamp_ms":1776865661000,"timestamp_seconds":1776865661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5725048"} 
[2026-04-22 19: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-22 19:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877532160001,"66":2155,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877532160001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:23:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877532160001,"power":2155,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":50812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:23:05] local.INFO: GPS data processed {"connection_id":50812,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:23:05] local.INFO: Acknowledgment sent {"connection_id":50812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:23:09] local.INFO: TCP Data received {"connection_id":51508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:23:09] local.INFO: Processing buffer {"connection_id":51508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:23:09] local.INFO: IMEI packet received {"connection_id":51508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":51508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:23:15] local.INFO: TCP Data received {"connection_id":51508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:23:15] local.INFO: Processing buffer {"connection_id":51508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:23:15] local.INFO: IMEI packet received {"connection_id":51508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":51508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:23:16] local.INFO: TCP Data received {"connection_id":51508,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db576d0a0012d7ea3c005b4b2600008016327..."} 
[2026-04-22 19:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576d0a0012d7ea3c005b4b2600008016327..."} 
[2026-04-22 19:23:16] local.INFO: Processing buffer {"connection_id":51508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576d0a0012d7ea3c005b4b2600008016327..."} 
[2026-04-22 19:23:16] local.INFO: Packet analysis {"connection_id":51508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:16] local.INFO: Extracted packet for processing {"connection_id":51508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:16] local.INFO: GPS Element Parsed {"raw_longitude":763274176,"raw_latitude":95728224,"longitude_deg":76.3274176,"latitude_deg":9.5728224,"altitude":8,"angle":355,"satellites":39,"speed":41,"hex_longitude":"2d7ea3c0","hex_latitude":"05b4b260","is_valid_coordinates":true} 
[2026-04-22 19:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877682432001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75012857955090432,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350672676864,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] 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-22 19:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776865956000,"timestamp_ms":1776865956000,"timestamp_seconds":1776865956,"priority":1,"record_length":96,"hex_timestamp":"0000019db576d0a0"} 
[2026-04-22 19:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:23: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-22 19:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496926065152,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185866,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5371232602245202254,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":8,"raw_value":98277648614031360,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3550244764578021582,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":39,"raw_value":17451448556716036,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2858221774,"corrected_to":0} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3221599196,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3015206912,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-648518346341351423,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":410834753102020966,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,57,85,24,241,157,16,127,138,45,192,104,8,38,10,66,126,56,64,72,9,39,17,1,240,227,181,180,4,113,205,199,173,239,49,93,2,5,124,128],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2858221774,"validated":0}]} 
[2026-04-22 19:23:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648909918512545792,"timestamp_seconds":648909918512545.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877682432001,"66":12156,"59":206,"85":12544,"24":41,"16":75012857955090432,"45":9125911350672676864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877682432001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:23:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:23:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75012857955090432,"km_value":75012857955090.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350672676864,"description":"Unknown IO ID 45"} 
[2026-04-22 19:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877682432001,"power":12156,"unknown_59":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9125911350672676864}} 
[2026-04-22 19:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":51508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:23:16] local.INFO: GPS data processed {"connection_id":51508,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:23:16] local.INFO: Acknowledgment sent {"connection_id":51508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:23:24] local.INFO: TCP Data received {"connection_id":50937,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:23:24] local.INFO: Processing buffer {"connection_id":50937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:23:24] local.INFO: IMEI packet received {"connection_id":50937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":50937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:23:25] local.INFO: TCP Data received {"connection_id":50937,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:23:25] local.INFO: Processing buffer {"connection_id":50937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:23:25] local.INFO: IMEI packet received {"connection_id":50937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":50937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:23:27] local.INFO: TCP Data received {"connection_id":50813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:23:27] local.INFO: Processing buffer {"connection_id":50813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:23:27] local.INFO: IMEI packet received {"connection_id":50813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":50813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:23:30] local.INFO: TCP Data received {"connection_id":50937,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:23:30] local.INFO: Processing buffer {"connection_id":50937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:23:30] local.INFO: IMEI packet received {"connection_id":50937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":50937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:23:31] local.INFO: TCP Data received {"connection_id":50937,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57653a0012d7eab0005b73568000800022c..."} 
[2026-04-22 19:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57653a0012d7eab0005b73568000800022c..."} 
[2026-04-22 19:23:31] local.INFO: Processing buffer {"connection_id":50937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57653a0012d7eab0005b73568000800022c..."} 
[2026-04-22 19:23:31] local.INFO: Packet analysis {"connection_id":50937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:31] local.INFO: Extracted packet for processing {"connection_id":50937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95892840,"longitude_deg":76.3276032,"latitude_deg":9.589284,"altitude":8,"angle":2,"satellites":44,"speed":38,"hex_longitude":"2d7eab00","hex_latitude":"05b73568","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877673728001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278514442868621312,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619365847040,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23: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-22 19:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865924000,"timestamp_ms":1776865924000,"timestamp_seconds":1776865924,"priority":1,"record_length":96,"hex_timestamp":"0000019db57653a0"} 
[2026-04-22 19: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-22 19:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 19:23: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-22 19: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-22 19: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-22 19:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:23:31] 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-22 19:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877673728001,"66":27397,"121":206,"85":12544,"24":38,"16":278514442868621312,"45":9127107619365847040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877673728001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:23:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278514442868621312,"km_value":278514442868621.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619365847040,"description":"Unknown IO ID 45"} 
[2026-04-22 19:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877673728001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9127107619365847040}} 
[2026-04-22 19:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":50937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:23:31] local.INFO: GPS data processed {"connection_id":50937,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:23:31] local.INFO: Acknowledgment sent {"connection_id":50937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:23:32] local.INFO: TCP Data received {"connection_id":50813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:23:32] local.INFO: Processing buffer {"connection_id":50813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:23:32] local.INFO: IMEI packet received {"connection_id":50813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:23:32] local.INFO: TCP Data received {"connection_id":50813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:23:32] local.INFO: Processing buffer {"connection_id":50813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:23:32] local.INFO: Packet analysis {"connection_id":50813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:32] local.INFO: Extracted packet for processing {"connection_id":50813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877609216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776865962000,"timestamp_ms":1776865962000,"timestamp_seconds":1776865962,"priority":1,"record_length":96,"hex_timestamp":"0000019db576e810"} 
[2026-04-22 19: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-22 19:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19: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-22 19: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-22 19:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877609216001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877609216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:23:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877609216001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:23:33] local.INFO: GPS data processed {"connection_id":50813,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:23:33] local.INFO: Acknowledgment sent {"connection_id":50813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:23:47] local.INFO: TCP Data received {"connection_id":51508,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db576f3c8012d7ea24005b4d7d80007016527..."} 
[2026-04-22 19:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576f3c8012d7ea24005b4d7d80007016527..."} 
[2026-04-22 19:23:47] local.INFO: Processing buffer {"connection_id":51508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576f3c8012d7ea24005b4d7d80007016527..."} 
[2026-04-22 19:23:47] local.INFO: Packet analysis {"connection_id":51508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:47] local.INFO: Extracted packet for processing {"connection_id":51508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763273792,"raw_latitude":95737816,"longitude_deg":76.3273792,"latitude_deg":9.5737816,"altitude":7,"angle":357,"satellites":39,"speed":32,"hex_longitude":"2d7ea240","hex_latitude":"05b4d7d8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877684736001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75013321811558400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400721715200,"note":"Value kept but may cause issues"} 
[2026-04-22 19:23:47] 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-22 19:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776865965000,"timestamp_ms":1776865965000,"timestamp_seconds":1776865965,"priority":1,"record_length":96,"hex_timestamp":"0000019db576f3c8"} 
[2026-04-22 19: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-22 19:23: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-22 19:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-22 19:23:47] 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-22 19: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-22 19: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-22 19:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877684736001,"66":12298,"59":206,"85":12544,"24":32,"16":75013321811558400,"45":9125348400721715200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877684736001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:23:47] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:23:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75013321811558400,"km_value":75013321811558.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400721715200,"description":"Unknown IO ID 45"} 
[2026-04-22 19:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877684736001,"power":12298,"unknown_59":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9125348400721715200}} 
[2026-04-22 19:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":51508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:23:47] local.INFO: GPS data processed {"connection_id":51508,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:23:47] local.INFO: Acknowledgment sent {"connection_id":51508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:24:02] local.INFO: TCP Data received {"connection_id":50937,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5767ab0012d7eabc005b75860000901672b..."} 
[2026-04-22 19:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5767ab0012d7eabc005b75860000901672b..."} 
[2026-04-22 19:24:02] local.INFO: Processing buffer {"connection_id":50937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5767ab0012d7eabc005b75860000901672b..."} 
[2026-04-22 19:24:02] local.INFO: Packet analysis {"connection_id":50937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:24:02] local.INFO: Extracted packet for processing {"connection_id":50937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763276224,"raw_latitude":95901792,"longitude_deg":76.3276224,"latitude_deg":9.5901792,"altitude":9,"angle":359,"satellites":43,"speed":25,"hex_longitude":"2d7eabc0","hex_latitude":"05b75860","is_valid_coordinates":true} 
[2026-04-22 19:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877676544001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278514876660318208,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094345009152,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776865934000,"timestamp_ms":1776865934000,"timestamp_seconds":1776865934,"priority":1,"record_length":96,"hex_timestamp":"0000019db5767ab0"} 
[2026-04-22 19:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:24: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-22 19:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877676544001,"66":27550,"121":206,"85":12544,"24":25,"16":278514876660318208,"45":9127389094345009152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877676544001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:24:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278514876660318208,"km_value":278514876660318.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094345009152,"description":"Unknown IO ID 45"} 
[2026-04-22 19:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877676544001,"power":27550,"unknown_121":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9127389094345009152}} 
[2026-04-22 19:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":50937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:24:02] local.INFO: GPS data processed {"connection_id":50937,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:24:02] local.INFO: Acknowledgment sent {"connection_id":50937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:24:03] local.INFO: TCP Data received {"connection_id":50813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:24:03] local.INFO: Processing buffer {"connection_id":50813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:24:03] local.INFO: Packet analysis {"connection_id":50813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:24:03] local.INFO: Extracted packet for processing {"connection_id":50813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877609216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776865962000,"timestamp_ms":1776865962000,"timestamp_seconds":1776865962,"priority":1,"record_length":96,"hex_timestamp":"0000019db576e810"} 
[2026-04-22 19:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:24:03] local.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-22 19:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877609216001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877609216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:24:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877609216001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":50813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:24:04] local.INFO: GPS data processed {"connection_id":50813,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:24:04] local.INFO: Acknowledgment sent {"connection_id":50813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:24:10] local.INFO: TCP Data received {"connection_id":50543,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:24:10] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:24:10] local.INFO: IMEI packet received {"connection_id":50543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":50543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:24:15] local.INFO: TCP Data received {"connection_id":50543,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:24:15] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:24:15] local.INFO: IMEI packet received {"connection_id":50543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":50543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:24:16] local.INFO: TCP Data received {"connection_id":50543,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5780d08012d7ea5c005b59658000a013b27..."} 
[2026-04-22 19:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5780d08012d7ea5c005b59658000a013b27..."} 
[2026-04-22 19:24:16] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5780d08012d7ea5c005b59658000a013b27..."} 
[2026-04-22 19:24:16] local.INFO: Packet analysis {"connection_id":50543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:24:16] local.INFO: Extracted packet for processing {"connection_id":50543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:24:16] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":95786584,"longitude_deg":76.3274688,"latitude_deg":9.5786584,"altitude":10,"angle":315,"satellites":39,"speed":9,"hex_longitude":"2d7ea5c0","hex_latitude":"05b59658","is_valid_coordinates":true} 
[2026-04-22 19:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877705216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75015739878146048,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126052088178397184,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:16] 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-22 19:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866037000,"timestamp_ms":1776866037000,"timestamp_seconds":1776866037,"priority":1,"record_length":96,"hex_timestamp":"0000019db5780d08"} 
[2026-04-22 19:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:24: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-22 19:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-22 19:24:16] 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-22 19:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877705216001,"66":12102,"59":206,"85":12544,"24":9,"16":75015739878146048,"45":9126052088178397184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877705216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:24:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75015739878146048,"km_value":75015739878146.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126052088178397184,"description":"Unknown IO ID 45"} 
[2026-04-22 19:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877705216001,"power":12102,"unknown_59":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9126052088178397184}} 
[2026-04-22 19:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":50543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:24:16] local.INFO: GPS data processed {"connection_id":50543,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:24:16] local.INFO: Acknowledgment sent {"connection_id":50543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:24:25] local.INFO: TCP Data received {"connection_id":50544,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:24:25] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:24:25] local.INFO: IMEI packet received {"connection_id":50544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":50544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:24:27] local.INFO: TCP Data received {"connection_id":50545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:24:27] local.INFO: Processing buffer {"connection_id":50545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:24:27] local.INFO: IMEI packet received {"connection_id":50545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":50545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:24:30] local.INFO: TCP Data received {"connection_id":50544,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:24:30] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:24:30] local.INFO: IMEI packet received {"connection_id":50544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":50544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:24:31] local.INFO: TCP Data received {"connection_id":50544,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db576b160012d7eac4005b77bc8000b000028..."} 
[2026-04-22 19:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576b160012d7eac4005b77bc8000b000028..."} 
[2026-04-22 19:24:31] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576b160012d7eac4005b77bc8000b000028..."} 
[2026-04-22 19:24:31] local.INFO: Packet analysis {"connection_id":50544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:24:31] local.INFO: Extracted packet for processing {"connection_id":50544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763276352,"raw_latitude":95910856,"longitude_deg":76.3276352,"latitude_deg":9.5910856,"altitude":11,"angle":0,"satellites":40,"speed":36,"hex_longitude":"2d7eac40","hex_latitude":"05b77bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877679104001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278515314746982400,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127600200579833856,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24: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-22 19:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865948000,"timestamp_ms":1776865948000,"timestamp_seconds":1776865948,"priority":1,"record_length":96,"hex_timestamp":"0000019db576b160"} 
[2026-04-22 19: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-22 19:24: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-22 19: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":158,"data_length":795,"current_offset":136} 
[2026-04-22 19:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:24:31] 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-22 19:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877679104001,"66":27397,"121":206,"85":12544,"24":36,"16":278515314746982400,"45":9127600200579833856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877679104001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:24:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278515314746982400,"km_value":278515314746982.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127600200579833856,"description":"Unknown IO ID 45"} 
[2026-04-22 19:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877679104001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9127600200579833856}} 
[2026-04-22 19:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":50544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:24:31] local.INFO: GPS data processed {"connection_id":50544,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:24:31] local.INFO: Acknowledgment sent {"connection_id":50544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:24:32] local.INFO: TCP Data received {"connection_id":50545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:24:32] local.INFO: Processing buffer {"connection_id":50545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:24:32] local.INFO: IMEI packet received {"connection_id":50545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":50545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:24:33] local.INFO: TCP Data received {"connection_id":50545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:24:33] local.INFO: Processing buffer {"connection_id":50545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:24:33] local.INFO: Packet analysis {"connection_id":50545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:24:33] local.INFO: Extracted packet for processing {"connection_id":50545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877609216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776865962000,"timestamp_ms":1776865962000,"timestamp_seconds":1776865962,"priority":1,"record_length":96,"hex_timestamp":"0000019db576e810"} 
[2026-04-22 19: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-22 19:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:24:33] local.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-22 19:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877609216001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877609216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:24:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877609216001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":50545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:24:33] local.INFO: GPS data processed {"connection_id":50545,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:24:33] local.INFO: Acknowledgment sent {"connection_id":50545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:24:46] local.INFO: TCP Data received {"connection_id":50543,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57810f0012d7ea54005b59710000a014c26..."} 
[2026-04-22 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57810f0012d7ea54005b59710000a014c26..."} 
[2026-04-22 19:24:46] local.INFO: Processing buffer {"connection_id":50543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57810f0012d7ea54005b59710000a014c26..."} 
[2026-04-22 19:24:46] local.INFO: Packet analysis {"connection_id":50543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:24:46] local.INFO: Extracted packet for processing {"connection_id":50543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95786768,"longitude_deg":76.327456,"latitude_deg":9.5786768,"altitude":10,"angle":332,"satellites":38,"speed":10,"hex_longitude":"2d7ea540","hex_latitude":"05b59710","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877705472001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75015752763047936,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350690076672,"note":"Value kept but may cause issues"} 
[2026-04-22 19:24:46] 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-22 19:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776866038000,"timestamp_ms":1776866038000,"timestamp_seconds":1776866038,"priority":1,"record_length":96,"hex_timestamp":"0000019db57810f0"} 
[2026-04-22 19: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-22 19:24: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-22 19:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-22 19:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877705472001,"66":12102,"59":206,"85":12544,"24":10,"16":75015752763047936,"45":9125911350690076672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877705472001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:24:46] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:24:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75015752763047936,"km_value":75015752763047.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350690076672,"description":"Unknown IO ID 45"} 
[2026-04-22 19:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877705472001,"power":12102,"unknown_59":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9125911350690076672}} 
[2026-04-22 19:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":50543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:24:46] local.INFO: GPS data processed {"connection_id":50543,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:24:46] local.INFO: Acknowledgment sent {"connection_id":50543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:25:02] local.INFO: TCP Data received {"connection_id":50544,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db576d488012d7ead4005b79e88000b00002a..."} 
[2026-04-22 19:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576d488012d7ead4005b79e88000b00002a..."} 
[2026-04-22 19:25:02] local.INFO: Processing buffer {"connection_id":50544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576d488012d7ead4005b79e88000b00002a..."} 
[2026-04-22 19:25:02] local.INFO: Packet analysis {"connection_id":50544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:25:02] local.INFO: Extracted packet for processing {"connection_id":50544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763276608,"raw_latitude":95919752,"longitude_deg":76.3276608,"latitude_deg":9.5919752,"altitude":11,"angle":0,"satellites":42,"speed":40,"hex_longitude":"2d7ead40","hex_latitude":"05b79e88","is_valid_coordinates":true} 
[2026-04-22 19:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877682688001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278515748538679296,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127740938070509568,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776865957000,"timestamp_ms":1776865957000,"timestamp_seconds":1776865957,"priority":1,"record_length":96,"hex_timestamp":"0000019db576d488"} 
[2026-04-22 19:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:25: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-22 19:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:25: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-22 19:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877682688001,"66":27397,"121":206,"85":12544,"24":40,"16":278515748538679296,"45":9127740938070509568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877682688001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:25:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278515748538679296,"km_value":278515748538679.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127740938070509568,"description":"Unknown IO ID 45"} 
[2026-04-22 19:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877682688001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9127740938070509568}} 
[2026-04-22 19:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":50544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:25:02] local.INFO: GPS data processed {"connection_id":50544,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:25:02] local.INFO: Acknowledgment sent {"connection_id":50544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:25:03] local.INFO: TCP Data received {"connection_id":50545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:25:03] local.INFO: Processing buffer {"connection_id":50545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:25:03] local.INFO: Packet analysis {"connection_id":50545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:25:03] local.INFO: Extracted packet for processing {"connection_id":50545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877609216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776865962000,"timestamp_ms":1776865962000,"timestamp_seconds":1776865962,"priority":1,"record_length":96,"hex_timestamp":"0000019db576e810"} 
[2026-04-22 19: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-22 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:25:03] local.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-22 19:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877609216001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877609216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:25:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877609216001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":50545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:25:03] local.INFO: GPS data processed {"connection_id":50545,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:25:03] local.INFO: Acknowledgment sent {"connection_id":50545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:25:10] local.INFO: TCP Data received {"connection_id":50815,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:25:10] local.INFO: Processing buffer {"connection_id":50815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:25:10] local.INFO: IMEI packet received {"connection_id":50815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":50815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:25:15] local.INFO: TCP Data received {"connection_id":50815,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:25:15] local.INFO: Processing buffer {"connection_id":50815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:25:15] local.INFO: IMEI packet received {"connection_id":50815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":50815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:25:16] local.INFO: TCP Data received {"connection_id":50815,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57818c0012d7ea44005b59948000a015b27..."} 
[2026-04-22 19:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57818c0012d7ea44005b59948000a015b27..."} 
[2026-04-22 19:25:16] local.INFO: Processing buffer {"connection_id":50815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57818c0012d7ea44005b59948000a015b27..."} 
[2026-04-22 19:25:16] local.INFO: Packet analysis {"connection_id":50815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:25:16] local.INFO: Extracted packet for processing {"connection_id":50815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95787336,"longitude_deg":76.3274304,"latitude_deg":9.5787336,"altitude":10,"angle":347,"satellites":39,"speed":14,"hex_longitude":"2d7ea440","hex_latitude":"05b59948","is_valid_coordinates":true} 
[2026-04-22 19:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877705728001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75015778532851712,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613201768448,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:16] 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-22 19:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866040000,"timestamp_ms":1776866040000,"timestamp_seconds":1776866040,"priority":1,"record_length":96,"hex_timestamp":"0000019db57818c0"} 
[2026-04-22 19:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:25: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-22 19:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-22 19:25:16] 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-22 19:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877705728001,"66":12439,"59":206,"85":12544,"24":14,"16":75015778532851712,"45":9125770613201768448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877705728001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:25:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75015778532851712,"km_value":75015778532851.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613201768448,"description":"Unknown IO ID 45"} 
[2026-04-22 19:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877705728001,"power":12439,"unknown_59":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9125770613201768448}} 
[2026-04-22 19:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":50815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:25:16] local.INFO: GPS data processed {"connection_id":50815,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:25:16] local.INFO: Acknowledgment sent {"connection_id":50815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:25:26] local.INFO: TCP Data received {"connection_id":51509,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:25:26] local.INFO: Processing buffer {"connection_id":51509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:25:26] local.INFO: IMEI packet received {"connection_id":51509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":51509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:25:27] local.INFO: TCP Data received {"connection_id":50816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:25:27] local.INFO: Processing buffer {"connection_id":50816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:25:27] local.INFO: IMEI packet received {"connection_id":50816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":50816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:25:27] local.INFO: TCP Data received {"connection_id":51509,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:25:27] local.INFO: Processing buffer {"connection_id":51509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:25:27] local.INFO: IMEI packet received {"connection_id":51509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":51509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:25:30] local.INFO: TCP Data received {"connection_id":51509,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:25:30] local.INFO: Processing buffer {"connection_id":51509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:25:30] local.INFO: IMEI packet received {"connection_id":51509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":51509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:25:31] local.INFO: TCP Data received {"connection_id":51509,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db576f7b0012d7eadc005b7c360000900032a..."} 
[2026-04-22 19:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576f7b0012d7eadc005b7c360000900032a..."} 
[2026-04-22 19:25:31] local.INFO: Processing buffer {"connection_id":51509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576f7b0012d7eadc005b7c360000900032a..."} 
[2026-04-22 19:25:31] local.INFO: Packet analysis {"connection_id":51509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:25:31] local.INFO: Extracted packet for processing {"connection_id":51509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763276736,"raw_latitude":95929184,"longitude_deg":76.3276736,"latitude_deg":9.5929184,"altitude":9,"angle":3,"satellites":42,"speed":43,"hex_longitude":"2d7eadc0","hex_latitude":"05b7c360","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877684992001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278516203805212672,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022413049497600,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25: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-22 19:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776865966000,"timestamp_ms":1776865966000,"timestamp_seconds":1776865966,"priority":1,"record_length":96,"hex_timestamp":"0000019db576f7b0"} 
[2026-04-22 19: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-22 19:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:25: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-22 19: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-22 19: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-22 19:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:25:31] 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-22 19:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877684992001,"66":27484,"121":206,"85":12544,"24":43,"16":278516203805212672,"45":9128022413049497600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877684992001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:25:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278516203805212672,"km_value":278516203805212.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022413049497600,"description":"Unknown IO ID 45"} 
[2026-04-22 19:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877684992001,"power":27484,"unknown_121":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9128022413049497600}} 
[2026-04-22 19:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":51509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:25:31] local.INFO: GPS data processed {"connection_id":51509,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:25:31] local.INFO: Acknowledgment sent {"connection_id":51509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:25:32] local.INFO: TCP Data received {"connection_id":50816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:25:32] local.INFO: Processing buffer {"connection_id":50816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:25:32] local.INFO: IMEI packet received {"connection_id":50816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:25:40] local.INFO: TCP Data received {"connection_id":50816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:25:40] local.INFO: Processing buffer {"connection_id":50816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:25:40] local.INFO: Packet analysis {"connection_id":50816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:25:40] local.INFO: Extracted packet for processing {"connection_id":50816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877609216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776865962000,"timestamp_ms":1776865962000,"timestamp_seconds":1776865962,"priority":1,"record_length":96,"hex_timestamp":"0000019db576e810"} 
[2026-04-22 19: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-22 19:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877609216001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877609216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:25:40] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:25:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877609216001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":50816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:25:40] local.INFO: GPS data processed {"connection_id":50816,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:25:40] local.INFO: Acknowledgment sent {"connection_id":50816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:25:47] local.INFO: TCP Data received {"connection_id":50815,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5782090012d7ea40005b59ca0000a000127..."} 
[2026-04-22 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5782090012d7ea40005b59ca0000a000127..."} 
[2026-04-22 19:25:47] local.INFO: Processing buffer {"connection_id":50815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5782090012d7ea40005b59ca0000a000127..."} 
[2026-04-22 19:25:47] local.INFO: Packet analysis {"connection_id":50815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:25:47] local.INFO: Extracted packet for processing {"connection_id":50815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763274240,"raw_latitude":95788192,"longitude_deg":76.327424,"latitude_deg":9.5788192,"altitude":10,"angle":1,"satellites":39,"speed":18,"hex_longitude":"2d7ea400","hex_latitude":"05b59ca0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877706240001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75015821482524672,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138225203200,"note":"Value kept but may cause issues"} 
[2026-04-22 19:25:47] 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-22 19:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776866042000,"timestamp_ms":1776866042000,"timestamp_seconds":1776866042,"priority":1,"record_length":96,"hex_timestamp":"0000019db5782090"} 
[2026-04-22 19: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-22 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 19:25: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-22 19: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-22 19: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-22 19:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877706240001,"66":12200,"59":206,"85":12544,"24":18,"16":75015821482524672,"45":9125489138225203200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877706240001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:25:47] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75015821482524672,"km_value":75015821482524.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138225203200,"description":"Unknown IO ID 45"} 
[2026-04-22 19:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877706240001,"power":12200,"unknown_59":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9125489138225203200}} 
[2026-04-22 19:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":50815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:25:47] local.INFO: GPS data processed {"connection_id":50815,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:25:47] local.INFO: Acknowledgment sent {"connection_id":50815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:26:02] local.INFO: TCP Data received {"connection_id":51509,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5790708012d7ecd8005b944e8000a00072c..."} 
[2026-04-22 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5790708012d7ecd8005b944e8000a00072c..."} 
[2026-04-22 19:26:02] local.INFO: Processing buffer {"connection_id":51509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5790708012d7ecd8005b944e8000a00072c..."} 
[2026-04-22 19:26:02] local.INFO: Packet analysis {"connection_id":51509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:26:02] local.INFO: Extracted packet for processing {"connection_id":51509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763284864,"raw_latitude":96027880,"longitude_deg":76.3284864,"latitude_deg":9.602788,"altitude":10,"angle":7,"satellites":44,"speed":33,"hex_longitude":"2d7ecd80","hex_latitude":"05b944e8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877718784001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278521018463551488,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135692606190290944,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:02] 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-22 19:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776866101000,"timestamp_ms":1776866101000,"timestamp_seconds":1776866101,"priority":1,"record_length":96,"hex_timestamp":"0000019db5790708"} 
[2026-04-22 19: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-22 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:26: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-22 19: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-22 19: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-22 19:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877718784001,"66":27593,"127":206,"85":12544,"24":33,"16":278521018463551488,"45":9135692606190290944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-22 19:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877718784001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:26:02] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-22 19:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278521018463551488,"km_value":278521018463551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135692606190290944,"description":"Unknown IO ID 45"} 
[2026-04-22 19:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877718784001,"power":27593,"unknown_127":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9135692606190290944}} 
[2026-04-22 19:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":51509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:26:02] local.INFO: GPS data processed {"connection_id":51509,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:26:02] local.INFO: Acknowledgment sent {"connection_id":51509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:26:09] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:26:09] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:26:09] local.INFO: IMEI packet received {"connection_id":50939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":50939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:26:09] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:26:09] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:26:09] local.INFO: IMEI packet received {"connection_id":50939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":50939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:26:15] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:26:15] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:26:15] local.INFO: IMEI packet received {"connection_id":50939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":50939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:26:15] local.INFO: TCP Data received {"connection_id":50546,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:26:15] local.INFO: Processing buffer {"connection_id":50546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:26:15] local.INFO: IMEI packet received {"connection_id":50546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":50546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:26:16] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db5786eb0012d7ea54005b5c008000c000027..."} 
[2026-04-22 19:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5786eb0012d7ea54005b5c008000c000027..."} 
[2026-04-22 19:26:16] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5786eb0012d7ea54005b5c008000c000027..."} 
[2026-04-22 19:26:16] local.INFO: Packet analysis {"connection_id":50939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:26:16] local.INFO: Extracted packet for processing {"connection_id":50939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:26:16] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95797256,"longitude_deg":76.327456,"latitude_deg":9.5797256,"altitude":12,"angle":0,"satellites":39,"speed":10,"hex_longitude":"2d7ea540","hex_latitude":"05b5c008","is_valid_coordinates":true} 
[2026-04-22 19:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877706752001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016263864156160,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125418769481244672,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:16] 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-22 19:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866062000,"timestamp_ms":1776866062000,"timestamp_seconds":1776866062,"priority":1,"record_length":96,"hex_timestamp":"0000019db5786eb0"} 
[2026-04-22 19:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:26: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-22 19:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-22 19:26:16] 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-22 19:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877706752001,"66":12298,"59":206,"85":12544,"24":10,"16":75016263864156160,"45":9125418769481244672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877706752001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:26:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:26:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016263864156160,"km_value":75016263864156.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125418769481244672,"description":"Unknown IO ID 45"} 
[2026-04-22 19:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877706752001,"power":12298,"unknown_59":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9125418769481244672}} 
[2026-04-22 19:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":50939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:26:16] local.INFO: GPS data processed {"connection_id":50939,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:26:16] local.INFO: Acknowledgment sent {"connection_id":50939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:26:25] local.INFO: TCP Data received {"connection_id":50547,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:26:25] local.INFO: Processing buffer {"connection_id":50547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:26:25] local.INFO: IMEI packet received {"connection_id":50547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":50547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:26:25] local.INFO: TCP Data received {"connection_id":50547,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:26:25] local.INFO: Processing buffer {"connection_id":50547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:26:25] local.INFO: IMEI packet received {"connection_id":50547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":50547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:26:27] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:26:27] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:26:27] local.INFO: IMEI packet received {"connection_id":50940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:26:30] local.INFO: TCP Data received {"connection_id":50547,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:26:30] local.INFO: Processing buffer {"connection_id":50547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:26:30] local.INFO: IMEI packet received {"connection_id":50547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":50547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:26:31] local.INFO: TCP Data received {"connection_id":50547,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5792e18012d7ed30005b968b8000b00092c..."} 
[2026-04-22 19:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5792e18012d7ed30005b968b8000b00092c..."} 
[2026-04-22 19:26:31] local.INFO: Processing buffer {"connection_id":50547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5792e18012d7ed30005b968b8000b00092c..."} 
[2026-04-22 19:26:31] local.INFO: Packet analysis {"connection_id":50547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:26:31] local.INFO: Extracted packet for processing {"connection_id":50547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763286272,"raw_latitude":96037048,"longitude_deg":76.3286272,"latitude_deg":9.6037048,"altitude":11,"angle":9,"satellites":44,"speed":38,"hex_longitude":"2d7ed300","hex_latitude":"05b968b8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877721856001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278521465140150272,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137099981076097024,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:31] 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-22 19:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776866111000,"timestamp_ms":1776866111000,"timestamp_seconds":1776866111,"priority":1,"record_length":96,"hex_timestamp":"0000019db5792e18"} 
[2026-04-22 19: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-22 19: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-22 19: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-22 19:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:26:31] 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-22 19:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877721856001,"66":27484,"127":206,"85":12544,"24":38,"16":278521465140150272,"45":9137099981076097024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-22 19:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877721856001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:26:31] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-22 19:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278521465140150272,"km_value":278521465140150.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137099981076097024,"description":"Unknown IO ID 45"} 
[2026-04-22 19:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877721856001,"power":27484,"unknown_127":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9137099981076097024}} 
[2026-04-22 19:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":50547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:26:31] local.INFO: GPS data processed {"connection_id":50547,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:26:31] local.INFO: Acknowledgment sent {"connection_id":50547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:26:32] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:26:32] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:26:32] local.INFO: IMEI packet received {"connection_id":50940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:26:33] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:26:33] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:26:33] local.INFO: Packet analysis {"connection_id":50940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:26:33] local.INFO: Extracted packet for processing {"connection_id":50940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877609216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776865962000,"timestamp_ms":1776865962000,"timestamp_seconds":1776865962,"priority":1,"record_length":96,"hex_timestamp":"0000019db576e810"} 
[2026-04-22 19:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:26:33] 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-22 19:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877609216001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877609216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:26:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877609216001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":50940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:26:33] local.INFO: GPS data processed {"connection_id":50940,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:26:33] local.INFO: Acknowledgment sent {"connection_id":50940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:26:47] local.INFO: TCP Data received {"connection_id":50939,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db578c0b8012d7ea54005b5c5f8000b000327..."} 
[2026-04-22 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db578c0b8012d7ea54005b5c5f8000b000327..."} 
[2026-04-22 19:26:47] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db578c0b8012d7ea54005b5c5f8000b000327..."} 
[2026-04-22 19:26:47] local.INFO: Packet analysis {"connection_id":50939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:26:47] local.INFO: Extracted packet for processing {"connection_id":50939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db578"} 
[2026-04-22 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":39,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877711872001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204453376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] 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-22 19:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776866083000,"timestamp_ms":1776866083000,"timestamp_seconds":1776866083,"priority":1,"record_length":96,"hex_timestamp":"0000019db578c0b8"} 
[2026-04-22 19:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:26: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-22 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":411398115372368218,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496221422080,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185866,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5370596947085394262,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":130,"raw_value":6701356245527298049,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1970324837629956,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570893717710,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2522349578,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2839216334,"corrected_to":0} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":9,"raw_value":93492573305307136,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3046438912,"note":"Value kept but may cause issues"} 
[2026-04-22 19:26:47] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,59,85,24,241,157,16,130,32,45,156,10,39,66,64,153,1,240,70,227,181,4,113,205,9,166,208,37,239,48,2,5],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[{"io_id":205,"original":2839216334,"validated":0}]} 
[2026-04-22 19:26:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864691295959515136,"timestamp_seconds":864691295959515.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877711872001,"66":11798,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204453376},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877711872001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:26:47] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:26:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204453376,"description":"Unknown IO ID 45"} 
[2026-04-22 19:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877711872001,"power":11798,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204453376}} 
[2026-04-22 19:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":50939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:26:47] local.INFO: GPS data processed {"connection_id":50939,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:26:47] local.INFO: Acknowledgment sent {"connection_id":50939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:26:50] local.INFO: TCP Data received {"connection_id":51510,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:26:50] local.INFO: Processing buffer {"connection_id":51510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:26:50] local.INFO: IMEI packet received {"connection_id":51510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":51510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:27:02] local.INFO: TCP Data received {"connection_id":50547,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5795140012d7ed90005b98c70000b00092c..."} 
[2026-04-22 19:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5795140012d7ed90005b98c70000b00092c..."} 
[2026-04-22 19:27:02] local.INFO: Processing buffer {"connection_id":50547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5795140012d7ed90005b98c70000b00092c..."} 
[2026-04-22 19:27:02] local.INFO: Packet analysis {"connection_id":50547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:02] local.INFO: Extracted packet for processing {"connection_id":50547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":96046192,"longitude_deg":76.3287808,"latitude_deg":9.6046192,"altitude":11,"angle":9,"satellites":44,"speed":41,"hex_longitude":"2d7ed900","hex_latitude":"05b98c70","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877724416001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278521916111716352,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138648093450352640,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:02] 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-22 19:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776866120000,"timestamp_ms":1776866120000,"timestamp_seconds":1776866120,"priority":1,"record_length":96,"hex_timestamp":"0000019db5795140"} 
[2026-04-22 19: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-22 19: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-22 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:27:02] 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-22 19: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-22 19: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-22 19:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877724416001,"66":27343,"127":206,"85":12544,"24":41,"16":278521916111716352,"45":9138648093450352640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-22 19:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877724416001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:27:02] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-22 19:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278521916111716352,"km_value":278521916111716.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138648093450352640,"description":"Unknown IO ID 45"} 
[2026-04-22 19:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877724416001,"power":27343,"unknown_127":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9138648093450352640}} 
[2026-04-22 19:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":50547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:27:02] local.INFO: GPS data processed {"connection_id":50547,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:27:02] local.INFO: Acknowledgment sent {"connection_id":50547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:27:04] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:27:04] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:27:04] local.INFO: Packet analysis {"connection_id":50940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:27:04] local.INFO: Extracted packet for processing {"connection_id":50940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877609216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776865962000,"timestamp_ms":1776865962000,"timestamp_seconds":1776865962,"priority":1,"record_length":96,"hex_timestamp":"0000019db576e810"} 
[2026-04-22 19:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:27:04] 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-22 19:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877609216001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877609216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:27:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877609216001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:27:04] local.INFO: GPS data processed {"connection_id":50940,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:27:04] local.INFO: Acknowledgment sent {"connection_id":50940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:27:09] local.INFO: TCP Data received {"connection_id":51511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:27:09] local.INFO: Processing buffer {"connection_id":51511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:27:09] local.INFO: IMEI packet received {"connection_id":51511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":51511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:27:12] local.INFO: TCP Data received {"connection_id":51511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:27:12] local.INFO: Processing buffer {"connection_id":51511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:27:12] local.INFO: IMEI packet received {"connection_id":51511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":51511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:27:15] local.INFO: TCP Data received {"connection_id":51511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:27:15] local.INFO: Processing buffer {"connection_id":51511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:27:15] local.INFO: IMEI packet received {"connection_id":51511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":51511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:27:16] local.INFO: TCP Data received {"connection_id":51511,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57912c0012d7ea54005b5c5f8000b000327..."} 
[2026-04-22 19:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57912c0012d7ea54005b5c5f8000b000327..."} 
[2026-04-22 19:27:16] local.INFO: Processing buffer {"connection_id":51511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57912c0012d7ea54005b5c5f8000b000327..."} 
[2026-04-22 19:27:16] local.INFO: Packet analysis {"connection_id":51511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:16] local.INFO: Extracted packet for processing {"connection_id":51511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":39,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877717248001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] 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-22 19:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866104000,"timestamp_ms":1776866104000,"timestamp_seconds":1776866104,"priority":1,"record_length":96,"hex_timestamp":"0000019db57912c0"} 
[2026-04-22 19:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:27: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-22 19:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3044542752,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-9049983451201011712,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184183464141,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":181,"raw_value":-7752946719840917760,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847329520,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2839216334,"corrected_to":0} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":165,"raw_value":3221599638,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6138687870162436098,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":170,"raw_value":1607026304092417,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2810251665037330944,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":53,"raw_value":57888441107371313,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":119,"raw_value":-3564597810153521147,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.WARNING: Large IO value detected {"io_id":7,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,59,85,24,241,157,16,130,110,45,64,192,12,39,10,66,32,156,1,240,151,227,181,4,113,205,13,165,88,239,47,2,93,206,170,76,53,119,7],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2839216334,"validated":0}]} 
[2026-04-22 19:27:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792637000455815168,"timestamp_seconds":792637000455815.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877717248001,"66":12298,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877717248001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:27:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:27:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877717248001,"power":12298,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":51511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:27:16] local.INFO: GPS data processed {"connection_id":51511,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:27:16] local.INFO: Acknowledgment sent {"connection_id":51511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:27:28] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:27:28] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:27:28] local.INFO: IMEI packet received {"connection_id":50817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":50817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:27:30] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:27:30] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:27:30] local.INFO: IMEI packet received {"connection_id":50817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":50817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:27:32] local.INFO: TCP Data received {"connection_id":50818,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:27:32] local.INFO: Processing buffer {"connection_id":50818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:27:32] local.INFO: IMEI packet received {"connection_id":50818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:27:35] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:27:35] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:27:35] local.INFO: IMEI packet received {"connection_id":50817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":50817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:27:36] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5797080012d7edf4005b9ae90000a00092c..."} 
[2026-04-22 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5797080012d7edf4005b9ae90000a00092c..."} 
[2026-04-22 19:27:36] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5797080012d7edf4005b9ae90000a00092c..."} 
[2026-04-22 19:27:36] local.INFO: Packet analysis {"connection_id":50817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:36] local.INFO: Extracted packet for processing {"connection_id":50817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763289408,"raw_latitude":96054928,"longitude_deg":76.3289408,"latitude_deg":9.6054928,"altitude":10,"angle":9,"satellites":44,"speed":43,"hex_longitude":"2d7edf40","hex_latitude":"05b9ae90","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877726720001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278522345608445952,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140336943312957440,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:36] 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-22 19:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776866128000,"timestamp_ms":1776866128000,"timestamp_seconds":1776866128,"priority":1,"record_length":96,"hex_timestamp":"0000019db5797080"} 
[2026-04-22 19: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-22 19:27: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-22 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:27: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-22 19: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-22 19: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-22 19:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:27:36] 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-22 19:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877726720001,"66":27365,"127":206,"85":12544,"24":43,"16":278522345608445952,"45":9140336943312957440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-22 19:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877726720001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:27:36] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-22 19:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278522345608445952,"km_value":278522345608445.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140336943312957440,"description":"Unknown IO ID 45"} 
[2026-04-22 19:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877726720001,"power":27365,"unknown_127":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9140336943312957440}} 
[2026-04-22 19:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":50817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:27:36] local.INFO: GPS data processed {"connection_id":50817,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:27:36] local.INFO: Acknowledgment sent {"connection_id":50817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:27:37] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57993a8012d7ee54005b9d1c8000a000a2c..."} 
[2026-04-22 19:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57993a8012d7ee54005b9d1c8000a000a2c..."} 
[2026-04-22 19:27:37] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57993a8012d7ee54005b9d1c8000a000a2c..."} 
[2026-04-22 19:27:37] local.INFO: Packet analysis {"connection_id":50817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:37] local.INFO: Extracted packet for processing {"connection_id":50817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763290944,"raw_latitude":96063944,"longitude_deg":76.3290944,"latitude_deg":9.6063944,"altitude":10,"angle":10,"satellites":44,"speed":38,"hex_longitude":"2d7ee540","hex_latitude":"05b9d1c8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877728768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278522792285044736,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142096161919635456,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:37] 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-22 19:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776866137000,"timestamp_ms":1776866137000,"timestamp_seconds":1776866137,"priority":1,"record_length":96,"hex_timestamp":"0000019db57993a8"} 
[2026-04-22 19: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-22 19:27: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-22 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 19:27: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-22 19: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-22 19: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-22 19:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:27:37] 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-22 19:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877728768001,"66":27332,"127":206,"85":12544,"24":38,"16":278522792285044736,"45":9142096161919635456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-22 19:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877728768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:27:37] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-22 19:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278522792285044736,"km_value":278522792285044.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142096161919635456,"description":"Unknown IO ID 45"} 
[2026-04-22 19:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877728768001,"power":27332,"unknown_127":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9142096161919635456}} 
[2026-04-22 19:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":50817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:27:37] local.INFO: GPS data processed {"connection_id":50817,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:27:37] local.INFO: Acknowledgment sent {"connection_id":50817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:27:37] local.INFO: TCP Data received {"connection_id":50818,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:27:37] local.INFO: Processing buffer {"connection_id":50818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:27:37] local.INFO: IMEI packet received {"connection_id":50818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":50818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:27:38] local.INFO: TCP Data received {"connection_id":50818,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:27:38] local.INFO: Processing buffer {"connection_id":50818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:27:38] local.INFO: Packet analysis {"connection_id":50818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:27:38] local.INFO: Extracted packet for processing {"connection_id":50818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877609216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776865962000,"timestamp_ms":1776865962000,"timestamp_seconds":1776865962,"priority":1,"record_length":96,"hex_timestamp":"0000019db576e810"} 
[2026-04-22 19:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:27:38] 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-22 19:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877609216001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877609216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:27:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877609216001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":50818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:27:38] local.INFO: GPS data processed {"connection_id":50818,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:27:38] local.INFO: Acknowledgment sent {"connection_id":50818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:27:42] local.INFO: TCP Data received {"connection_id":50818,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:27:42] local.INFO: Processing buffer {"connection_id":50818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db576e810012d1b040007247bc80036003629..."} 
[2026-04-22 19:27:42] local.INFO: Packet analysis {"connection_id":50818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:27:42] local.INFO: Extracted packet for processing {"connection_id":50818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db576"} 
[2026-04-22 19:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":41,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877609216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776865962000,"timestamp_ms":1776865962000,"timestamp_seconds":1776865962,"priority":1,"record_length":96,"hex_timestamp":"0000019db576e810"} 
[2026-04-22 19:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877609216001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877609216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:27:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877609216001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":50818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:27:42] local.INFO: GPS data processed {"connection_id":50818,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:27:42] local.INFO: Acknowledgment sent {"connection_id":50818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:27:47] local.INFO: TCP Data received {"connection_id":51511,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57964c8012d7ea54005b5c5f8000b000326..."} 
[2026-04-22 19:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57964c8012d7ea54005b5c5f8000b000326..."} 
[2026-04-22 19:27:47] local.INFO: Processing buffer {"connection_id":51511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57964c8012d7ea54005b5c5f8000b000326..."} 
[2026-04-22 19:27:47] local.INFO: Packet analysis {"connection_id":51511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:47] local.INFO: Extracted packet for processing {"connection_id":51511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":38,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877722624001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] 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-22 19:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776866125000,"timestamp_ms":1776866125000,"timestamp_seconds":1776866125,"priority":1,"record_length":96,"hex_timestamp":"0000019db57964c8"} 
[2026-04-22 19:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:27: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-22 19:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496288530944,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185866,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-5370532522575954266,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":130,"raw_value":7710162562058289153,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":411399661560660271,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3406411051459870926,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2571632650,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2839216334,"corrected_to":0} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3046529024,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2251799814340612,"note":"Value kept but may cause issues"} 
[2026-04-22 19:27:47] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,59,85,24,241,157,16,130,192,45,64,197,11,39,10,66,110,12,32,1,240,168,227,181,4,113,205,14,165,38,239,47,2,5,37],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2839216334,"validated":0}]} 
[2026-04-22 19:27:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792637000455815168,"timestamp_seconds":792637000455815.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 19:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877722624001,"66":12439,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877722624001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:27:47] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877722624001,"power":12439,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":51511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:27:47] local.INFO: GPS data processed {"connection_id":51511,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:27:47] local.INFO: Acknowledgment sent {"connection_id":51511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:28:08] local.INFO: TCP Data received {"connection_id":50817,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b1e30012d7f228005bb1a28000b00232d..."} 
[2026-04-22 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b1e30012d7f228005bb1a28000b00232d..."} 
[2026-04-22 19:28:08] local.INFO: Processing buffer {"connection_id":50817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b1e30012d7f228005bb1a28000b00232d..."} 
[2026-04-22 19:28:08] local.INFO: Packet analysis {"connection_id":50817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:28:08] local.INFO: Extracted packet for processing {"connection_id":50817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763306624,"raw_latitude":96148008,"longitude_deg":76.3306624,"latitude_deg":9.6148008,"altitude":11,"angle":35,"satellites":45,"speed":18,"hex_longitude":"2d7f2280","hex_latitude":"05bb1a28","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877754368001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278526949813387264,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159055029288978432,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:08] 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-22 19:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776866238000,"timestamp_ms":1776866238000,"timestamp_seconds":1776866238,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b1e30"} 
[2026-04-22 19: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-22 19:28: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-22 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:28: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-22 19: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-22 19: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-22 19:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877754368001,"66":27365,"120":206,"85":12544,"24":18,"16":278526949813387264,"45":9159055029288978432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-22 19:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877754368001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:28:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 19:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278526949813387264,"km_value":278526949813387.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159055029288978432,"description":"Unknown IO ID 45"} 
[2026-04-22 19:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877754368001,"power":27365,"unknown_120":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9159055029288978432}} 
[2026-04-22 19:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":50817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:28:08] local.INFO: GPS data processed {"connection_id":50817,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:28:08] local.INFO: Acknowledgment sent {"connection_id":50817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:28:15] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:28:15] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:28:15] local.INFO: IMEI packet received {"connection_id":50942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":50942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:28:15] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:28:15] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:28:15] local.INFO: IMEI packet received {"connection_id":50942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":50942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:28:20] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:28:20] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:28:20] local.INFO: IMEI packet received {"connection_id":50942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":50942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:28:21] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db579b6d0012d7ea54005b5c5f8000b000326..."} 
[2026-04-22 19:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db579b6d0012d7ea54005b5c5f8000b000326..."} 
[2026-04-22 19:28:21] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db579b6d0012d7ea54005b5c5f8000b000326..."} 
[2026-04-22 19:28:21] local.INFO: Packet analysis {"connection_id":50942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:28:21] local.INFO: Extracted packet for processing {"connection_id":50942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db579"} 
[2026-04-22 19:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":38,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877728000001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:21] 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-22 19:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776866146000,"timestamp_ms":1776866146000,"timestamp_seconds":1776866146,"priority":1,"record_length":96,"hex_timestamp":"0000019db579b6d0"} 
[2026-04-22 19:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 19:28: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-22 19:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":50942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877728000001,"66":13689,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877728000001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:28:21] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877728000001,"power":13689,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":50942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:28:21] local.INFO: GPS data processed {"connection_id":50942,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:28:21] local.INFO: Acknowledgment sent {"connection_id":50942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:28:25] local.INFO: TCP Data received {"connection_id":50942,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57a08d8012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57a08d8012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:28:25] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57a08d8012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:28:25] local.INFO: Packet analysis {"connection_id":50942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57a"} 
[2026-04-22 19:28:25] local.INFO: Extracted packet for processing {"connection_id":50942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57a"} 
[2026-04-22 19:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877733376001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:25] 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-22 19:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776866167000,"timestamp_ms":1776866167000,"timestamp_seconds":1776866167,"priority":1,"record_length":96,"hex_timestamp":"0000019db57a08d8"} 
[2026-04-22 19:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:28: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-22 19:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-22 19:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":50942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":50942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877733376001,"66":13678,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877733376001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:28:25] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877733376001,"power":13678,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":50942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:28:25] local.INFO: GPS data processed {"connection_id":50942,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:28:25] local.INFO: Acknowledgment sent {"connection_id":50942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:28:25] local.INFO: TCP Data received {"connection_id":50548,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:28:25] local.INFO: Processing buffer {"connection_id":50548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:28:25] local.INFO: IMEI packet received {"connection_id":50548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":50548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:28:26] local.INFO: TCP Data received {"connection_id":50548,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:28:26] local.INFO: Processing buffer {"connection_id":50548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:28:26] local.INFO: IMEI packet received {"connection_id":50548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":50548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:28:27] local.INFO: TCP Data received {"connection_id":50548,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b31b8012d7f278005bb2040000b00132e..."} 
[2026-04-22 19:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b31b8012d7f278005bb2040000b00132e..."} 
[2026-04-22 19:28:27] local.INFO: Processing buffer {"connection_id":50548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b31b8012d7f278005bb2040000b00132e..."} 
[2026-04-22 19:28:27] local.INFO: Packet analysis {"connection_id":50548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:28:27] local.INFO: Extracted packet for processing {"connection_id":50548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763307904,"raw_latitude":96149568,"longitude_deg":76.3307904,"latitude_deg":9.6149568,"altitude":11,"angle":19,"satellites":46,"speed":17,"hex_longitude":"2d7f2780","hex_latitude":"05bb2040","is_valid_coordinates":true} 
[2026-04-22 19:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877756928001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278527044302667776,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161025354127255552,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:27] 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-22 19:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776866243000,"timestamp_ms":1776866243000,"timestamp_seconds":1776866243,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b31b8"} 
[2026-04-22 19:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 19:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":50548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":50548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":50548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:28:27] 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-22 19:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877756928001,"66":27365,"120":206,"85":12544,"24":17,"16":278527044302667776,"45":9161025354127255552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-22 19:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877756928001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:28:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 19:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278527044302667776,"km_value":278527044302667.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161025354127255552,"description":"Unknown IO ID 45"} 
[2026-04-22 19:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877756928001,"power":27365,"unknown_120":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9161025354127255552}} 
[2026-04-22 19:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":50548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:28:27] local.INFO: GPS data processed {"connection_id":50548,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:28:27] local.INFO: Acknowledgment sent {"connection_id":50548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:28:27] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:28:27] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:28:27] local.INFO: IMEI packet received {"connection_id":50819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":50819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:28:32] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:28:32] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:28:32] local.INFO: IMEI packet received {"connection_id":50819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:28:33] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:28:33] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:28:33] local.INFO: Packet analysis {"connection_id":50819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:28:33] local.INFO: Extracted packet for processing {"connection_id":50819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19: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-22 19:28:33] 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-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:28:33] 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-22 19:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:28:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":50819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:28:33] local.INFO: GPS data processed {"connection_id":50819,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:28:33] local.INFO: Acknowledgment sent {"connection_id":50819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:28:58] local.INFO: TCP Data received {"connection_id":50548,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b4928012d7f298005bb2bd0000b00082d..."} 
[2026-04-22 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b4928012d7f298005bb2bd0000b00082d..."} 
[2026-04-22 19:28:58] local.INFO: Processing buffer {"connection_id":50548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b4928012d7f298005bb2bd0000b00082d..."} 
[2026-04-22 19:28:58] local.INFO: Packet analysis {"connection_id":50548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:28:58] local.INFO: Extracted packet for processing {"connection_id":50548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763308416,"raw_latitude":96152528,"longitude_deg":76.3308416,"latitude_deg":9.6152528,"altitude":11,"angle":8,"satellites":45,"speed":17,"hex_longitude":"2d7f2980","hex_latitude":"05bb2bd0","is_valid_coordinates":true} 
[2026-04-22 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-22 19:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877758208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278527190331555840,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162432729011208192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:28: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-22 19:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776866249000,"timestamp_ms":1776866249000,"timestamp_seconds":1776866249,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b4928"} 
[2026-04-22 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-22 19:28: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-22 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":229,"data_length":795,"current_offset":136} 
[2026-04-22 19:28: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-22 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-22 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-22 19:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":50548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":50548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":50548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:28: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-22 19:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877758208001,"66":27463,"120":206,"85":12544,"24":17,"16":278527190331555840,"45":9162432729011208192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-22 19:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877758208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:28:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 19:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278527190331555840,"km_value":278527190331555.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162432729011208192,"description":"Unknown IO ID 45"} 
[2026-04-22 19:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877758208001,"power":27463,"unknown_120":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9162432729011208192}} 
[2026-04-22 19:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":50548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:28:58] local.INFO: GPS data processed {"connection_id":50548,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:28:58] local.INFO: Acknowledgment sent {"connection_id":50548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:29:04] local.INFO: TCP Data received {"connection_id":50819,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:29:04] local.INFO: Processing buffer {"connection_id":50819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:29:04] local.INFO: Packet analysis {"connection_id":50819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:29:04] local.INFO: Extracted packet for processing {"connection_id":50819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:29:04] 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-22 19:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:29:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:29:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":50819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:29:04] local.INFO: GPS data processed {"connection_id":50819,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:29:04] local.INFO: Acknowledgment sent {"connection_id":50819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:29:10] local.INFO: TCP Data received {"connection_id":50820,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:29:10] local.INFO: Processing buffer {"connection_id":50820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:29:10] local.INFO: IMEI packet received {"connection_id":50820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":50820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:29:15] local.INFO: TCP Data received {"connection_id":50820,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:29:15] local.INFO: Processing buffer {"connection_id":50820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:29:15] local.INFO: IMEI packet received {"connection_id":50820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":50820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:29:16] local.INFO: TCP Data received {"connection_id":50820,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57a5ae0012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57a5ae0012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:29:16] local.INFO: Processing buffer {"connection_id":50820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57a5ae0012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:29:16] local.INFO: Packet analysis {"connection_id":50820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57a"} 
[2026-04-22 19:29:16] local.INFO: Extracted packet for processing {"connection_id":50820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57a"} 
[2026-04-22 19:29:16] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877738752001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:16] 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-22 19:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866188000,"timestamp_ms":1776866188000,"timestamp_seconds":1776866188,"priority":1,"record_length":96,"hex_timestamp":"0000019db57a5ae0"} 
[2026-04-22 19:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:29: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-22 19:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 19:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877738752001,"66":13678,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877738752001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:29:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:29:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877738752001,"power":13678,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":50820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:29:16] local.INFO: GPS data processed {"connection_id":50820,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:29:16] local.INFO: Acknowledgment sent {"connection_id":50820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:29:25] local.INFO: TCP Data received {"connection_id":51513,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:29:25] local.INFO: Processing buffer {"connection_id":51513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:29:25] local.INFO: IMEI packet received {"connection_id":51513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":51513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:29:25] local.INFO: TCP Data received {"connection_id":51513,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:29:25] local.INFO: Processing buffer {"connection_id":51513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:29:25] local.INFO: IMEI packet received {"connection_id":51513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":51513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:29:27] local.INFO: TCP Data received {"connection_id":51514,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:29:27] local.INFO: Processing buffer {"connection_id":51514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:29:27] local.INFO: IMEI packet received {"connection_id":51514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":51514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:29:30] local.INFO: TCP Data received {"connection_id":51513,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:29:30] local.INFO: Processing buffer {"connection_id":51513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:29:30] local.INFO: IMEI packet received {"connection_id":51513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":51513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:29:31] local.INFO: TCP Data received {"connection_id":51513,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b54e0012d7f298005bb3178000b015c2d..."} 
[2026-04-22 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b54e0012d7f298005bb3178000b015c2d..."} 
[2026-04-22 19:29:31] local.INFO: Processing buffer {"connection_id":51513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b54e0012d7f298005bb3178000b015c2d..."} 
[2026-04-22 19:29:31] local.INFO: Packet analysis {"connection_id":51513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:29:31] local.INFO: Extracted packet for processing {"connection_id":51513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763308416,"raw_latitude":96153976,"longitude_deg":76.3308416,"latitude_deg":9.6153976,"altitude":11,"angle":348,"satellites":45,"speed":20,"hex_longitude":"2d7f2980","hex_latitude":"05bb3178","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877759744001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278527263345999872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162995678965387264,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:31] 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-22 19:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776866252000,"timestamp_ms":1776866252000,"timestamp_seconds":1776866252,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b54e0"} 
[2026-04-22 19: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-22 19:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:29: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-22 19: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-22 19: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-22 19:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:29:31] 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-22 19:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877759744001,"66":27463,"120":206,"85":12544,"24":20,"16":278527263345999872,"45":9162995678965387264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-22 19:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877759744001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:29:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-22 19:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278527263345999872,"km_value":278527263345999.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162995678965387264,"description":"Unknown IO ID 45"} 
[2026-04-22 19:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877759744001,"power":27463,"unknown_120":206,"unknown_85":12544,"ignition":20,"odometer":null,"unknown_45":9162995678965387264}} 
[2026-04-22 19:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":51513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:29:31] local.INFO: GPS data processed {"connection_id":51513,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:29:31] local.INFO: Acknowledgment sent {"connection_id":51513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:29:32] local.INFO: TCP Data received {"connection_id":51514,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:29:32] local.INFO: Processing buffer {"connection_id":51514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:29:32] local.INFO: IMEI packet received {"connection_id":51514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":51514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:29:33] local.INFO: TCP Data received {"connection_id":51514,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:29:33] local.INFO: Processing buffer {"connection_id":51514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:29:33] local.INFO: Packet analysis {"connection_id":51514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:29:33] local.INFO: Extracted packet for processing {"connection_id":51514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19: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-22 19:29:33] 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-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:29:33] 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-22 19:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:29:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":51514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:29:33] local.INFO: GPS data processed {"connection_id":51514,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:29:33] local.INFO: Acknowledgment sent {"connection_id":51514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:29:47] local.INFO: TCP Data received {"connection_id":50820,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57aace8012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57aace8012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:29:47] local.INFO: Processing buffer {"connection_id":50820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57aace8012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:29:47] local.INFO: Packet analysis {"connection_id":50820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57a"} 
[2026-04-22 19:29:47] local.INFO: Extracted packet for processing {"connection_id":50820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57a"} 
[2026-04-22 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877744128001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:29:47] 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-22 19:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776866209000,"timestamp_ms":1776866209000,"timestamp_seconds":1776866209,"priority":1,"record_length":96,"hex_timestamp":"0000019db57aace8"} 
[2026-04-22 19:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:29: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-22 19:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 19:29: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-22 19:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877744128001,"66":13722,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877744128001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:29:47] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877744128001,"power":13722,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":50820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:29:47] local.INFO: GPS data processed {"connection_id":50820,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:29:47] local.INFO: Acknowledgment sent {"connection_id":50820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:30:02] local.INFO: TCP Data received {"connection_id":51513,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57ccbe0012d7f5ac005bc75f8000c00092a..."} 
[2026-04-22 19:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57ccbe0012d7f5ac005bc75f8000c00092a..."} 
[2026-04-22 19:30:02] local.INFO: Processing buffer {"connection_id":51513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57ccbe0012d7f5ac005bc75f8000c00092a..."} 
[2026-04-22 19:30:02] local.INFO: Packet analysis {"connection_id":51513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:30:02] local.INFO: Extracted packet for processing {"connection_id":51513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763321024,"raw_latitude":96237048,"longitude_deg":76.3321024,"latitude_deg":9.6237048,"altitude":12,"angle":9,"satellites":42,"speed":56,"hex_longitude":"2d7f5ac0","hex_latitude":"05bc75f8","is_valid_coordinates":true} 
[2026-04-22 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-22 19:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877783296001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278531373629702144,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174887996750518272,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776866348000,"timestamp_ms":1776866348000,"timestamp_seconds":1776866348,"priority":1,"record_length":96,"hex_timestamp":"0000019db57ccbe0"} 
[2026-04-22 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-22 19:30: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-22 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 19:30: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-22 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-22 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-22 19:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877783296001,"66":27365,"121":206,"85":12544,"24":56,"16":278531373629702144,"45":9174887996750518272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877783296001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:30:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278531373629702144,"km_value":278531373629702.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174887996750518272,"description":"Unknown IO ID 45"} 
[2026-04-22 19:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877783296001,"power":27365,"unknown_121":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9174887996750518272}} 
[2026-04-22 19:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":51513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:30:02] local.INFO: GPS data processed {"connection_id":51513,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:30:02] local.INFO: Acknowledgment sent {"connection_id":51513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:30:04] local.INFO: TCP Data received {"connection_id":51514,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:30:04] local.INFO: Processing buffer {"connection_id":51514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:30:04] local.INFO: Packet analysis {"connection_id":51514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:30:04] local.INFO: Extracted packet for processing {"connection_id":51514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19: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-22 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:30:04] 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-22 19:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:30:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":51514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:30:04] local.INFO: GPS data processed {"connection_id":51514,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:30:04] local.INFO: Acknowledgment sent {"connection_id":51514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:30:09] local.INFO: TCP Data received {"connection_id":50549,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:30:09] local.INFO: Processing buffer {"connection_id":50549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:30:09] local.INFO: IMEI packet received {"connection_id":50549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":50549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:30:15] local.INFO: TCP Data received {"connection_id":50549,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:30:15] local.INFO: Processing buffer {"connection_id":50549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:30:15] local.INFO: IMEI packet received {"connection_id":50549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":50549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:30:16] local.INFO: TCP Data received {"connection_id":50549,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57afef0012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57afef0012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:30:16] local.INFO: Processing buffer {"connection_id":50549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57afef0012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:30:16] local.INFO: Packet analysis {"connection_id":50549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57a"} 
[2026-04-22 19:30:16] local.INFO: Extracted packet for processing {"connection_id":50549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57a"} 
[2026-04-22 19:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877749504001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:16] 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-22 19:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866230000,"timestamp_ms":1776866230000,"timestamp_seconds":1776866230,"priority":1,"record_length":96,"hex_timestamp":"0000019db57afef0"} 
[2026-04-22 19:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:30: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-22 19:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 19:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877749504001,"66":13602,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877749504001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:30:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877749504001,"power":13602,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":50549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:30:16] local.INFO: GPS data processed {"connection_id":50549,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:30:16] local.INFO: Acknowledgment sent {"connection_id":50549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:30:25] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:30:25] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:30:25] local.INFO: IMEI packet received {"connection_id":50821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":50821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:30:27] local.INFO: TCP Data received {"connection_id":50550,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:30:27] local.INFO: Processing buffer {"connection_id":50550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:30:27] local.INFO: IMEI packet received {"connection_id":50550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":50550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:30:31] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:30:31] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:30:31] local.INFO: IMEI packet received {"connection_id":50821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":50821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:30:32] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57cdb80012d7f5c4005bc8860000c01642b..."} 
[2026-04-22 19:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57cdb80012d7f5c4005bc8860000c01642b..."} 
[2026-04-22 19:30:32] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57cdb80012d7f5c4005bc8860000c01642b..."} 
[2026-04-22 19:30:32] local.INFO: Packet analysis {"connection_id":50821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:30:32] local.INFO: Extracted packet for processing {"connection_id":50821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763321408,"raw_latitude":96241760,"longitude_deg":76.3321408,"latitude_deg":9.624176,"altitude":12,"angle":356,"satellites":43,"speed":38,"hex_longitude":"2d7f5c40","hex_latitude":"05bc8860","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877785088001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278531601262968832,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176858321590024192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:32] 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-22 19:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776866352000,"timestamp_ms":1776866352000,"timestamp_seconds":1776866352,"priority":1,"record_length":96,"hex_timestamp":"0000019db57cdb80"} 
[2026-04-22 19: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-22 19:30: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-22 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 19:30: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-22 19: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-22 19: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-22 19:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877785088001,"66":27234,"121":206,"85":12544,"24":38,"16":278531601262968832,"45":9176858321590024192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877785088001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:30:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278531601262968832,"km_value":278531601262968.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176858321590024192,"description":"Unknown IO ID 45"} 
[2026-04-22 19:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877785088001,"power":27234,"unknown_121":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9176858321590024192}} 
[2026-04-22 19:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":50821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:30:32] local.INFO: GPS data processed {"connection_id":50821,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:30:32] local.INFO: Acknowledgment sent {"connection_id":50821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:30:32] local.INFO: TCP Data received {"connection_id":50550,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:30:32] local.INFO: Processing buffer {"connection_id":50550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:30:32] local.INFO: IMEI packet received {"connection_id":50550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":50550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:30:33] local.INFO: TCP Data received {"connection_id":50550,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:30:33] local.INFO: Processing buffer {"connection_id":50550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:30:33] local.INFO: Packet analysis {"connection_id":50550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:30:33] local.INFO: Extracted packet for processing {"connection_id":50550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:30:33] 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-22 19:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:30:33] 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-22 19:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:30:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":50550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:30:33] local.INFO: GPS data processed {"connection_id":50550,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:30:33] local.INFO: Acknowledgment sent {"connection_id":50550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:30:47] local.INFO: TCP Data received {"connection_id":50549,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b50f8012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b50f8012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:30:47] local.INFO: Processing buffer {"connection_id":50549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b50f8012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:30:47] local.INFO: Packet analysis {"connection_id":50549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:30:47] local.INFO: Extracted packet for processing {"connection_id":50549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877754880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:30:47] 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-22 19:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776866251000,"timestamp_ms":1776866251000,"timestamp_seconds":1776866251,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b50f8"} 
[2026-04-22 19: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-22 19:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-22 19:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877754880001,"66":13678,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877754880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:30:47] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877754880001,"power":13678,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":50549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:30:47] local.INFO: GPS data processed {"connection_id":50549,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:30:47] local.INFO: Acknowledgment sent {"connection_id":50549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:31:03] local.INFO: TCP Data received {"connection_id":50821,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57ce738012d7f5c4005bc9200000b00062d..."} 
[2026-04-22 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57ce738012d7f5c4005bc9200000b00062d..."} 
[2026-04-22 19:31:03] local.INFO: Processing buffer {"connection_id":50821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57ce738012d7f5c4005bc9200000b00062d..."} 
[2026-04-22 19:31:03] local.INFO: Packet analysis {"connection_id":50821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:31:03] local.INFO: Extracted packet for processing {"connection_id":50821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763321408,"raw_latitude":96244224,"longitude_deg":76.3321408,"latitude_deg":9.6244224,"altitude":11,"angle":6,"satellites":45,"speed":30,"hex_longitude":"2d7f5c40","hex_latitude":"05bc9200","is_valid_coordinates":true} 
[2026-04-22 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877786112001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278531721522053120,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177280534056296448,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31: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-22 19:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776866355000,"timestamp_ms":1776866355000,"timestamp_seconds":1776866355,"priority":1,"record_length":96,"hex_timestamp":"0000019db57ce738"} 
[2026-04-22 19:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:31: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-22 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 19:31: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-22 19:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877786112001,"66":27300,"121":206,"85":12544,"24":30,"16":278531721522053120,"45":9177280534056296448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877786112001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:31:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278531721522053120,"km_value":278531721522053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177280534056296448,"description":"Unknown IO ID 45"} 
[2026-04-22 19:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877786112001,"power":27300,"unknown_121":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9177280534056296448}} 
[2026-04-22 19:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":50821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:31:03] local.INFO: GPS data processed {"connection_id":50821,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:31:03] local.INFO: Acknowledgment sent {"connection_id":50821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:31:04] local.INFO: TCP Data received {"connection_id":50550,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:31:04] local.INFO: Processing buffer {"connection_id":50550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:31:04] local.INFO: Packet analysis {"connection_id":50550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:31:04] local.INFO: Extracted packet for processing {"connection_id":50550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:31:04] 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-22 19:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:31:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":50550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:31:04] local.INFO: GPS data processed {"connection_id":50550,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:31:04] local.INFO: Acknowledgment sent {"connection_id":50550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:31:15] local.INFO: TCP Data received {"connection_id":50823,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:31:15] local.INFO: Processing buffer {"connection_id":50823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:31:15] local.INFO: IMEI packet received {"connection_id":50823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":50823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:31:20] local.INFO: TCP Data received {"connection_id":50823,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:31:20] local.INFO: Processing buffer {"connection_id":50823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:31:20] local.INFO: IMEI packet received {"connection_id":50823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":50823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:31:25] local.INFO: TCP Data received {"connection_id":50944,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:31:25] local.INFO: Processing buffer {"connection_id":50944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:31:25] local.INFO: IMEI packet received {"connection_id":50944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":50944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:31:27] local.INFO: TCP Data received {"connection_id":50824,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:31:27] local.INFO: Processing buffer {"connection_id":50824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:31:27] local.INFO: IMEI packet received {"connection_id":50824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":50824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:31:29] local.INFO: TCP Data received {"connection_id":50944,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:31:29] local.INFO: Processing buffer {"connection_id":50944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:31:29] local.INFO: IMEI packet received {"connection_id":50944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":50944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:31:30] local.INFO: TCP Data received {"connection_id":50944,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57d0e48012d7f628005bcb5a0000b000a2d..."} 
[2026-04-22 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57d0e48012d7f628005bcb5a0000b000a2d..."} 
[2026-04-22 19:31:30] local.INFO: Processing buffer {"connection_id":50944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57d0e48012d7f628005bcb5a0000b000a2d..."} 
[2026-04-22 19:31:30] local.INFO: Packet analysis {"connection_id":50944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:31:30] local.INFO: Extracted packet for processing {"connection_id":50944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763323008,"raw_latitude":96253344,"longitude_deg":76.3323008,"latitude_deg":9.6253344,"altitude":11,"angle":10,"satellites":45,"speed":43,"hex_longitude":"2d7f6280","hex_latitude":"05bcb5a0","is_valid_coordinates":true} 
[2026-04-22 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-22 19:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877786880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278532172493619200,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177280534056927232,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31: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-22 19:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776866365000,"timestamp_ms":1776866365000,"timestamp_seconds":1776866365,"priority":1,"record_length":96,"hex_timestamp":"0000019db57d0e48"} 
[2026-04-22 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-22 19:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 19:31: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-22 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-22 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-22 19:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":50944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":50944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":50944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:31: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-22 19:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877786880001,"66":27463,"121":206,"85":12544,"24":43,"16":278532172493619200,"45":9177280534056927232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877786880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:31:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278532172493619200,"km_value":278532172493619.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177280534056927232,"description":"Unknown IO ID 45"} 
[2026-04-22 19:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877786880001,"power":27463,"unknown_121":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9177280534056927232}} 
[2026-04-22 19:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":50944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:31:30] local.INFO: GPS data processed {"connection_id":50944,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:31:30] local.INFO: Acknowledgment sent {"connection_id":50944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:31:32] local.INFO: TCP Data received {"connection_id":50824,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:31:32] local.INFO: Processing buffer {"connection_id":50824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:31:32] local.INFO: IMEI packet received {"connection_id":50824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:31:33] local.INFO: TCP Data received {"connection_id":50824,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:31:33] local.INFO: Processing buffer {"connection_id":50824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:31:33] local.INFO: Packet analysis {"connection_id":50824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:31:33] local.INFO: Extracted packet for processing {"connection_id":50824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:31:33] 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-22 19:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:31:33] 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-22 19:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:31:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":50824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:31:33] local.INFO: GPS data processed {"connection_id":50824,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:31:33] local.INFO: Acknowledgment sent {"connection_id":50824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:31:35] local.INFO: TCP Data received {"connection_id":50823,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57ba300012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57ba300012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:31:35] local.INFO: Processing buffer {"connection_id":50823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57ba300012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:31:35] local.INFO: Packet analysis {"connection_id":50823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:31:35] local.INFO: Extracted packet for processing {"connection_id":50823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877760256001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:31:35] 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-22 19:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776866272000,"timestamp_ms":1776866272000,"timestamp_seconds":1776866272,"priority":1,"record_length":96,"hex_timestamp":"0000019db57ba300"} 
[2026-04-22 19:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:31: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-22 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 19:31:35] 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-22 19:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877760256001,"66":13602,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877760256001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:31:35] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877760256001,"power":13602,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":50823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:31:35] local.INFO: GPS data processed {"connection_id":50823,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:31:35] local.INFO: Acknowledgment sent {"connection_id":50823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:32:01] local.INFO: TCP Data received {"connection_id":50944,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57d2d88012d7f69c005bcda40000a000d2e..."} 
[2026-04-22 19:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57d2d88012d7f69c005bcda40000a000d2e..."} 
[2026-04-22 19:32:01] local.INFO: Processing buffer {"connection_id":50944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57d2d88012d7f69c005bcda40000a000d2e..."} 
[2026-04-22 19:32:01] local.INFO: Packet analysis {"connection_id":50944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:32:01] local.INFO: Extracted packet for processing {"connection_id":50944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763324864,"raw_latitude":96262720,"longitude_deg":76.3324864,"latitude_deg":9.626272,"altitude":10,"angle":13,"satellites":46,"speed":43,"hex_longitude":"2d7f69c0","hex_latitude":"05bcda40","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877789440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278532636350087168,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179039752663703552,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:01] 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-22 19:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776866373000,"timestamp_ms":1776866373000,"timestamp_seconds":1776866373,"priority":1,"record_length":96,"hex_timestamp":"0000019db57d2d88"} 
[2026-04-22 19: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-22 19:32: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-22 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:32: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-22 19: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-22 19: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-22 19:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":50944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":50944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":50944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:32:01] 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-22 19:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877789440001,"66":27343,"121":206,"85":12544,"24":43,"16":278532636350087168,"45":9179039752663703552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877789440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:32:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278532636350087168,"km_value":278532636350087.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179039752663703552,"description":"Unknown IO ID 45"} 
[2026-04-22 19:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877789440001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9179039752663703552}} 
[2026-04-22 19:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":50944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:32:01] local.INFO: GPS data processed {"connection_id":50944,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:32:01] local.INFO: Acknowledgment sent {"connection_id":50944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:32:04] local.INFO: TCP Data received {"connection_id":50824,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:32:04] local.INFO: Processing buffer {"connection_id":50824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:32:04] local.INFO: Packet analysis {"connection_id":50824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:32:04] local.INFO: Extracted packet for processing {"connection_id":50824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:32:04] 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-22 19:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:32:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":50824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:32:04] local.INFO: GPS data processed {"connection_id":50824,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:32:04] local.INFO: Acknowledgment sent {"connection_id":50824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:32:15] local.INFO: TCP Data received {"connection_id":50825,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:32:15] local.INFO: Processing buffer {"connection_id":50825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:32:15] local.INFO: IMEI packet received {"connection_id":50825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":50825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:32:15] local.INFO: TCP Data received {"connection_id":51515,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:32:15] local.INFO: Processing buffer {"connection_id":51515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:32:15] local.INFO: IMEI packet received {"connection_id":51515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":51515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:32:23] local.INFO: TCP Data received {"connection_id":50825,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:32:23] local.INFO: Processing buffer {"connection_id":50825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:32:23] local.INFO: IMEI packet received {"connection_id":50825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":50825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:32:23] local.INFO: TCP Data received {"connection_id":50825,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57bf508012d7ea54005b5c5f8000b000327..."} 
[2026-04-22 19:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57bf508012d7ea54005b5c5f8000b000327..."} 
[2026-04-22 19:32:23] local.INFO: Processing buffer {"connection_id":50825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57bf508012d7ea54005b5c5f8000b000327..."} 
[2026-04-22 19:32:23] local.INFO: Packet analysis {"connection_id":50825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:32:23] local.INFO: Extracted packet for processing {"connection_id":50825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":39,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877765632001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776866293000,"timestamp_ms":1776866293000,"timestamp_seconds":1776866293,"priority":1,"record_length":96,"hex_timestamp":"0000019db57bf508"} 
[2026-04-22 19:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-22 19:32:23] 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-22 19:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":50825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":50825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":50825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877765632001,"66":13678,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877765632001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:32:23] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877765632001,"power":13678,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":50825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:32:23] local.INFO: GPS data processed {"connection_id":50825,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:32:23] local.INFO: Acknowledgment sent {"connection_id":50825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:32:24] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:32:24] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:32:24] local.INFO: IMEI packet received {"connection_id":50945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":50945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:32:25] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:32:25] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:32:25] local.INFO: IMEI packet received {"connection_id":50945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":50945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:32:32] local.INFO: TCP Data received {"connection_id":50551,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:32:32] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:32:32] local.INFO: IMEI packet received {"connection_id":50551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:32:32] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:32:32] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:32:32] local.INFO: IMEI packet received {"connection_id":50945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:32:33] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57d50b0012d7f710005bcfed00009000a2b..."} 
[2026-04-22 19:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57d50b0012d7f710005bcfed00009000a2b..."} 
[2026-04-22 19:32:33] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57d50b0012d7f710005bcfed00009000a2b..."} 
[2026-04-22 19:32:33] local.INFO: Packet analysis {"connection_id":50945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:32:33] local.INFO: Extracted packet for processing {"connection_id":50945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763326720,"raw_latitude":96272080,"longitude_deg":76.332672,"latitude_deg":9.627208,"altitude":9,"angle":10,"satellites":43,"speed":33,"hex_longitude":"2d7f7100","hex_latitude":"05bcfed0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877791488001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278533095911587840,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181080446247256064,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:33] 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-22 19:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866382000,"timestamp_ms":1776866382000,"timestamp_seconds":1776866382,"priority":1,"record_length":96,"hex_timestamp":"0000019db57d50b0"} 
[2026-04-22 19: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-22 19:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:32:33] 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-22 19: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-22 19: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-22 19:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877791488001,"66":27517,"121":206,"85":12544,"24":33,"16":278533095911587840,"45":9181080446247256064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-22 19:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877791488001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:32:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-22 19:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278533095911587840,"km_value":278533095911587.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181080446247256064,"description":"Unknown IO ID 45"} 
[2026-04-22 19:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877791488001,"power":27517,"unknown_121":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9181080446247256064}} 
[2026-04-22 19:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:32:33] local.INFO: GPS data processed {"connection_id":50945,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:32:33] local.INFO: Acknowledgment sent {"connection_id":50945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:32:37] local.INFO: TCP Data received {"connection_id":50551,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:32:37] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:32:37] local.INFO: IMEI packet received {"connection_id":50551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":50551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:32:38] local.INFO: TCP Data received {"connection_id":50551,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:32:38] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:32:38] local.INFO: Packet analysis {"connection_id":50551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:32:38] local.INFO: Extracted packet for processing {"connection_id":50551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:32:38] 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-22 19:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:32: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-22 19:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:32:38] 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-22 19:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:32:38] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":50551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:32:38] local.INFO: GPS data processed {"connection_id":50551,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:32:38] local.INFO: Acknowledgment sent {"connection_id":50551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:32:42] local.INFO: TCP Data received {"connection_id":50551,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:32:42] local.INFO: Processing buffer {"connection_id":50551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57b7fd8012d1b040007247bc80036003627..."} 
[2026-04-22 19:32:42] local.INFO: Packet analysis {"connection_id":50551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:32:42] local.INFO: Extracted packet for processing {"connection_id":50551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57b"} 
[2026-04-22 19:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":54,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877686272001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776866263000,"timestamp_ms":1776866263000,"timestamp_seconds":1776866263,"priority":1,"record_length":96,"hex_timestamp":"0000019db57b7fd8"} 
[2026-04-22 19:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877686272001,"66":2166,"137":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-22 19:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877686272001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:32:42] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-22 19:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877686272001,"power":2166,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":50551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:32:42] local.INFO: GPS data processed {"connection_id":50551,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:32:42] local.INFO: Acknowledgment sent {"connection_id":50551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:32:50] local.INFO: TCP Data received {"connection_id":50826,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:32:50] local.INFO: Processing buffer {"connection_id":50826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:32:50] local.INFO: IMEI packet received {"connection_id":50826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":50826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:32:54] local.INFO: TCP Data received {"connection_id":50825,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57c4710012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57c4710012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:32:54] local.INFO: Processing buffer {"connection_id":50825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57c4710012d7ea54005b5c5f8000b000328..."} 
[2026-04-22 19:32:54] local.INFO: Packet analysis {"connection_id":50825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:32:54] local.INFO: Extracted packet for processing {"connection_id":50825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877771008001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776866314000,"timestamp_ms":1776866314000,"timestamp_seconds":1776866314,"priority":1,"record_length":96,"hex_timestamp":"0000019db57c4710"} 
[2026-04-22 19: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-22 19:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 19:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":50825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":50825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":50825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877771008001,"66":13624,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877771008001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:32:54] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:32:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877771008001,"power":13624,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":50825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:32:54] local.INFO: GPS data processed {"connection_id":50825,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:32:54] local.INFO: Acknowledgment sent {"connection_id":50825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:33:04] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57f3510012d7fb04005be5f40000a000a2b..."} 
[2026-04-22 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57f3510012d7fb04005be5f40000a000a2b..."} 
[2026-04-22 19:33:04] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57f3510012d7fb04005be5f40000a000a2b..."} 
[2026-04-22 19:33:04] local.INFO: Packet analysis {"connection_id":50945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57f"} 
[2026-04-22 19:33:04] local.INFO: Extracted packet for processing {"connection_id":50945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57f"} 
[2026-04-22 19:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763342912,"raw_latitude":96362304,"longitude_deg":76.3342912,"latitude_deg":9.6362304,"altitude":10,"angle":10,"satellites":43,"speed":32,"hex_longitude":"2d7fb040","hex_latitude":"05be5f40","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877823232001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278537545497706496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844779952128,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:04] 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-22 19:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866506000,"timestamp_ms":1776866506000,"timestamp_seconds":1776866506,"priority":1,"record_length":96,"hex_timestamp":"0000019db57f3510"} 
[2026-04-22 19: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-22 19:33: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-22 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:33: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-22 19: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-22 19: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-22 19:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877823232001,"66":27397,"52":206,"85":12288,"24":32,"16":278537545497706496,"45":9199094844779952128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-22 19:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877823232001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:33:04] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-22 19:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278537545497706496,"km_value":278537545497706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844779952128,"description":"Unknown IO ID 45"} 
[2026-04-22 19:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877823232001,"power":27397,"unknown_52":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9199094844779952128}} 
[2026-04-22 19:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:33:04] local.INFO: GPS data processed {"connection_id":50945,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:33:04] local.INFO: Acknowledgment sent {"connection_id":50945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:33:11] local.INFO: TCP Data received {"connection_id":50827,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:33:11] local.INFO: Processing buffer {"connection_id":50827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:33:11] local.INFO: IMEI packet received {"connection_id":50827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":50827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:33:15] local.INFO: TCP Data received {"connection_id":50827,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:33:15] local.INFO: Processing buffer {"connection_id":50827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:33:15] local.INFO: IMEI packet received {"connection_id":50827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":50827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:33:16] local.INFO: TCP Data received {"connection_id":50827,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57c6e20012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57c6e20012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:33:16] local.INFO: Processing buffer {"connection_id":50827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57c6e20012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:33:16] local.INFO: Packet analysis {"connection_id":50827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:33:16] local.INFO: Extracted packet for processing {"connection_id":50827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-22 19:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877776384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:16] 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-22 19:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866324000,"timestamp_ms":1776866324000,"timestamp_seconds":1776866324,"priority":1,"record_length":96,"hex_timestamp":"0000019db57c6e20"} 
[2026-04-22 19:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:33: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-22 19:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877776384001,"66":13678,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877776384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:33:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:33:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877776384001,"power":13678,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":50827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:33:16] local.INFO: GPS data processed {"connection_id":50827,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:33:16] local.INFO: Acknowledgment sent {"connection_id":50827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:33:25] local.INFO: TCP Data received {"connection_id":51516,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:33:25] local.INFO: Processing buffer {"connection_id":51516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:33:25] local.INFO: IMEI packet received {"connection_id":51516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":51516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:33:27] local.INFO: TCP Data received {"connection_id":50552,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:33:27] local.INFO: Processing buffer {"connection_id":50552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:33:27] local.INFO: IMEI packet received {"connection_id":50552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":50552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:33:27] local.INFO: TCP Data received {"connection_id":51516,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:33:27] local.INFO: Processing buffer {"connection_id":51516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:33:27] local.INFO: IMEI packet received {"connection_id":51516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":51516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:33:31] local.INFO: TCP Data received {"connection_id":51516,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:33:31] local.INFO: Processing buffer {"connection_id":51516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:33:31] local.INFO: IMEI packet received {"connection_id":51516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":51516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:33:32] local.INFO: TCP Data received {"connection_id":51516,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57f7778012d7fb74005be83e0000a00092a..."} 
[2026-04-22 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57f7778012d7fb74005be83e0000a00092a..."} 
[2026-04-22 19:33:32] local.INFO: Processing buffer {"connection_id":51516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57f7778012d7fb74005be83e0000a00092a..."} 
[2026-04-22 19:33:32] local.INFO: Packet analysis {"connection_id":51516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57f"} 
[2026-04-22 19:33:32] local.INFO: Extracted packet for processing {"connection_id":51516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57f"} 
[2026-04-22 19:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763344704,"raw_latitude":96371680,"longitude_deg":76.3344704,"latitude_deg":9.637168,"altitude":10,"angle":9,"satellites":42,"speed":29,"hex_longitude":"2d7fb740","hex_latitude":"05be83e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877825536001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278538009354174464,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924432130850816,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:32] 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-22 19:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776866523000,"timestamp_ms":1776866523000,"timestamp_seconds":1776866523,"priority":1,"record_length":96,"hex_timestamp":"0000019db57f7778"} 
[2026-04-22 19: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-22 19:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:33: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-22 19: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-22 19: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-22 19:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877825536001,"66":27463,"52":206,"85":12288,"24":29,"16":278538009354174464,"45":9200924432130850816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-22 19:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877825536001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:33:32] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-22 19:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278538009354174464,"km_value":278538009354174.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924432130850816,"description":"Unknown IO ID 45"} 
[2026-04-22 19:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877825536001,"power":27463,"unknown_52":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9200924432130850816}} 
[2026-04-22 19:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":51516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:33:32] local.INFO: GPS data processed {"connection_id":51516,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:33:32] local.INFO: Acknowledgment sent {"connection_id":51516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:33:32] local.INFO: TCP Data received {"connection_id":50552,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:33:32] local.INFO: Processing buffer {"connection_id":50552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:33:32] local.INFO: IMEI packet received {"connection_id":50552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":50552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:33:33] local.INFO: TCP Data received {"connection_id":50552,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:33:33] local.INFO: Processing buffer {"connection_id":50552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:33:33] local.INFO: Packet analysis {"connection_id":50552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:33:33] local.INFO: Extracted packet for processing {"connection_id":50552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:33:33] 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-22 19:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:33:33] 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-22 19:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:33:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":50552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:33:33] local.INFO: GPS data processed {"connection_id":50552,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:33:33] local.INFO: Acknowledgment sent {"connection_id":50552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:33:49] local.INFO: TCP Data received {"connection_id":50827,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57c6e20012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57c6e20012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:33:49] local.INFO: Processing buffer {"connection_id":50827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57c6e20012d7ea54005b5c5f8000b000329..."} 
[2026-04-22 19:33:49] local.INFO: Packet analysis {"connection_id":50827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:33:49] local.INFO: Extracted packet for processing {"connection_id":50827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57c"} 
[2026-04-22 19:33:49] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95798776,"longitude_deg":76.327456,"latitude_deg":9.5798776,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea540","hex_latitude":"05b5c5f8","is_valid_coordinates":true} 
[2026-04-22 19:33:49] 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-22 19:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877778944001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:33:49] 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-22 19:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776866324000,"timestamp_ms":1776866324000,"timestamp_seconds":1776866324,"priority":1,"record_length":96,"hex_timestamp":"0000019db57c6e20"} 
[2026-04-22 19: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-22 19:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":110,"data_length":795,"current_offset":136} 
[2026-04-22 19:33: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-22 19: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-22 19: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-22 19:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":50827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":50827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":50827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877778944001,"66":13678,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877778944001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:33:49] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:33:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877778944001,"power":13678,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":50827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:33:49] local.INFO: GPS data processed {"connection_id":50827,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:33:49] local.INFO: Acknowledgment sent {"connection_id":50827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:34:03] local.INFO: TCP Data received {"connection_id":51516,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57fb210012d7fbd8005bea7c8000b00092b..."} 
[2026-04-22 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57fb210012d7fbd8005bea7c8000b00092b..."} 
[2026-04-22 19:34:03] local.INFO: Processing buffer {"connection_id":51516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57fb210012d7fbd8005bea7c8000b00092b..."} 
[2026-04-22 19:34:03] local.INFO: Packet analysis {"connection_id":51516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57f"} 
[2026-04-22 19:34:03] local.INFO: Extracted packet for processing {"connection_id":51516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57f"} 
[2026-04-22 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763346304,"raw_latitude":96380872,"longitude_deg":76.3346304,"latitude_deg":9.6380872,"altitude":11,"angle":9,"satellites":43,"speed":33,"hex_longitude":"2d7fbd80","hex_latitude":"05bea7c8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877829888001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278538460325740544,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9202894756970225664,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:03] 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-22 19:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776866538000,"timestamp_ms":1776866538000,"timestamp_seconds":1776866538,"priority":1,"record_length":96,"hex_timestamp":"0000019db57fb210"} 
[2026-04-22 19: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-22 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:34: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-22 19: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-22 19: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-22 19:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877829888001,"66":27484,"52":206,"85":12288,"24":33,"16":278538460325740544,"45":9202894756970225664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-22 19:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877829888001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:34:03] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-22 19:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278538460325740544,"km_value":278538460325740.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9202894756970225664,"description":"Unknown IO ID 45"} 
[2026-04-22 19:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877829888001,"power":27484,"unknown_52":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9202894756970225664}} 
[2026-04-22 19:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":51516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:34:03] local.INFO: GPS data processed {"connection_id":51516,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:34:03] local.INFO: Acknowledgment sent {"connection_id":51516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:34:04] local.INFO: TCP Data received {"connection_id":50552,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:34:04] local.INFO: Processing buffer {"connection_id":50552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:34:04] local.INFO: Packet analysis {"connection_id":50552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:34:04] local.INFO: Extracted packet for processing {"connection_id":50552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:34:04] 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-22 19:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:34:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":50552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:34:04] local.INFO: GPS data processed {"connection_id":50552,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:34:04] local.INFO: Acknowledgment sent {"connection_id":50552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:34:10] local.INFO: TCP Data received {"connection_id":50946,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:34:10] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:34:10] local.INFO: IMEI packet received {"connection_id":50946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":50946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:34:15] local.INFO: TCP Data received {"connection_id":50946,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:34:15] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:34:15] local.INFO: IMEI packet received {"connection_id":50946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":50946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:34:16] local.INFO: TCP Data received {"connection_id":50946,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57d1a00012d7ea3c005b5c5d8000b000329..."} 
[2026-04-22 19:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57d1a00012d7ea3c005b5c5d8000b000329..."} 
[2026-04-22 19:34:16] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57d1a00012d7ea3c005b5c5d8000b000329..."} 
[2026-04-22 19:34:16] local.INFO: Packet analysis {"connection_id":50946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:34:16] local.INFO: Extracted packet for processing {"connection_id":50946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:34:16] local.INFO: GPS Element Parsed {"raw_longitude":763274176,"raw_latitude":95798744,"longitude_deg":76.3274176,"latitude_deg":9.5798744,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea3c0","hex_latitude":"05b5c5d8","is_valid_coordinates":true} 
[2026-04-22 19:34:16] 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-22 19:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877778944001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613204842496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:16] 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-22 19:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866368000,"timestamp_ms":1776866368000,"timestamp_seconds":1776866368,"priority":1,"record_length":96,"hex_timestamp":"0000019db57d1a00"} 
[2026-04-22 19:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 19:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877778944001,"66":13624,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125770613204842496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877778944001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:34:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613204842496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877778944001,"power":13624,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125770613204842496}} 
[2026-04-22 19:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":50946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:34:16] local.INFO: GPS data processed {"connection_id":50946,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:34:16] local.INFO: Acknowledgment sent {"connection_id":50946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:34:25] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:34:25] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:34:25] local.INFO: IMEI packet received {"connection_id":50828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":50828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:34:27] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:34:27] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:34:27] local.INFO: IMEI packet received {"connection_id":50947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:34:31] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:34:31] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:34:31] local.INFO: IMEI packet received {"connection_id":50828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":50828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:34:31] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db57fe0f0012d7fc38005becb98000b00092b..."} 
[2026-04-22 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57fe0f0012d7fc38005becb98000b00092b..."} 
[2026-04-22 19:34:31] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57fe0f0012d7fc38005becb98000b00092b..."} 
[2026-04-22 19:34:31] local.INFO: Packet analysis {"connection_id":50828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57f"} 
[2026-04-22 19:34:31] local.INFO: Extracted packet for processing {"connection_id":50828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57f"} 
[2026-04-22 19:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763347840,"raw_latitude":96390040,"longitude_deg":76.334784,"latitude_deg":9.639004,"altitude":11,"angle":9,"satellites":43,"speed":31,"hex_longitude":"2d7fc380","hex_latitude":"05becb98","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877833728001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278538911297306624,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9204653975577020416,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:31] 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-22 19:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776866550000,"timestamp_ms":1776866550000,"timestamp_seconds":1776866550,"priority":1,"record_length":96,"hex_timestamp":"0000019db57fe0f0"} 
[2026-04-22 19: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-22 19:34: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-22 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:34: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-22 19: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-22 19: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-22 19:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:34:31] 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-22 19:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877833728001,"66":27365,"52":206,"85":12288,"24":31,"16":278538911297306624,"45":9204653975577020416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-22 19:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877833728001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:34:31] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-22 19:34:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278538911297306624,"km_value":278538911297306.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9204653975577020416,"description":"Unknown IO ID 45"} 
[2026-04-22 19:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877833728001,"power":27365,"unknown_52":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9204653975577020416}} 
[2026-04-22 19:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":50828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:34:31] local.INFO: GPS data processed {"connection_id":50828,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:34:31] local.INFO: Acknowledgment sent {"connection_id":50828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:34:32] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:34:32] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:34:32] local.INFO: IMEI packet received {"connection_id":50947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:34:33] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:34:33] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:34:33] local.INFO: Packet analysis {"connection_id":50947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:34:33] local.INFO: Extracted packet for processing {"connection_id":50947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:34:33] 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-22 19:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:34:33] 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-22 19:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:34:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:34:33] local.INFO: GPS data processed {"connection_id":50947,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:34:33] local.INFO: Acknowledgment sent {"connection_id":50947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:34:47] local.INFO: TCP Data received {"connection_id":50946,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db57d1a00012d7ea3c005b5c5d8000b000329..."} 
[2026-04-22 19:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db57d1a00012d7ea3c005b5c5d8000b000329..."} 
[2026-04-22 19:34:47] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db57d1a00012d7ea3c005b5c5d8000b000329..."} 
[2026-04-22 19:34:47] local.INFO: Packet analysis {"connection_id":50946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:34:47] local.INFO: Extracted packet for processing {"connection_id":50946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db57d"} 
[2026-04-22 19:34:47] local.INFO: GPS Element Parsed {"raw_longitude":763274176,"raw_latitude":95798744,"longitude_deg":76.3274176,"latitude_deg":9.5798744,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea3c0","hex_latitude":"05b5c5d8","is_valid_coordinates":true} 
[2026-04-22 19:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877790208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400739768320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:34:47] 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-22 19:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776866368000,"timestamp_ms":1776866368000,"timestamp_seconds":1776866368,"priority":1,"record_length":96,"hex_timestamp":"0000019db57d1a00"} 
[2026-04-22 19:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877790208001,"66":13624,"59":206,"85":12544,"24":0,"16":75016336878600192,"45":9125348400739768320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-22 19:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877790208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:34:47] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 19:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400739768320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877790208001,"power":13624,"unknown_59":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125348400739768320}} 
[2026-04-22 19:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":50946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:34:47] local.INFO: GPS data processed {"connection_id":50946,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:34:47] local.INFO: Acknowledgment sent {"connection_id":50946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:35:02] local.INFO: TCP Data received {"connection_id":50828,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5814080012d80034005c05d38000a000a2c..."} 
[2026-04-22 19:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5814080012d80034005c05d38000a000a2c..."} 
[2026-04-22 19:35:02] local.INFO: Processing buffer {"connection_id":50828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5814080012d80034005c05d38000a000a2c..."} 
[2026-04-22 19:35:02] local.INFO: Packet analysis {"connection_id":50828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:35:02] local.INFO: Extracted packet for processing {"connection_id":50828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763364160,"raw_latitude":96492856,"longitude_deg":76.336416,"latitude_deg":9.6492856,"altitude":10,"angle":10,"satellites":44,"speed":46,"hex_longitude":"2d800340","hex_latitude":"05c05d38","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877857792001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278543957883879424,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9222386899135961088,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776866640000,"timestamp_ms":1776866640000,"timestamp_seconds":1776866640,"priority":1,"record_length":96,"hex_timestamp":"0000019db5814080"} 
[2026-04-22 19: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-22 19:35: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-22 19:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 19:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877857792001,"66":27376,"235":206,"85":12288,"24":46,"16":278543957883879424,"45":9222386899135961088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 19:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877857792001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:35:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 19:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278543957883879424,"km_value":278543957883879.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9222386899135961088,"description":"Unknown IO ID 45"} 
[2026-04-22 19:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877857792001,"power":27376,"unknown_235":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9222386899135961088}} 
[2026-04-22 19:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":50828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:35:02] local.INFO: GPS data processed {"connection_id":50828,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:35:02] local.INFO: Acknowledgment sent {"connection_id":50828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:35:04] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:35:04] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:35:04] local.INFO: Packet analysis {"connection_id":50947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:35:04] local.INFO: Extracted packet for processing {"connection_id":50947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:35:04] 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-22 19:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:35:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:35:04] local.INFO: GPS data processed {"connection_id":50947,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:35:04] local.INFO: Acknowledgment sent {"connection_id":50947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:35:09] local.INFO: TCP Data received {"connection_id":50554,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:35:09] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:35:09] local.INFO: IMEI packet received {"connection_id":50554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":50554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:35:15] local.INFO: TCP Data received {"connection_id":50554,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:35:15] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:35:15] local.INFO: IMEI packet received {"connection_id":50554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":50554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:35:16] local.INFO: TCP Data received {"connection_id":50554,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:35:16] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:35:16] local.INFO: Packet analysis {"connection_id":50554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:35:16] local.INFO: Extracted packet for processing {"connection_id":50554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877790208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400739768320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866628000,"timestamp_ms":1776866628000,"timestamp_seconds":1776866628,"priority":1,"record_length":96,"hex_timestamp":"0000019db58111a0"} 
[2026-04-22 19:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877790208001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125348400739768320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877790208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:35:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400739768320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877790208001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125348400739768320}} 
[2026-04-22 19:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":50554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:35:16] local.INFO: GPS data processed {"connection_id":50554,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:35:16] local.INFO: Acknowledgment sent {"connection_id":50554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:35:25] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:35:25] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:35:25] local.INFO: IMEI packet received {"connection_id":50829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":50829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:35:27] local.INFO: TCP Data received {"connection_id":50555,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:35:27] local.INFO: Processing buffer {"connection_id":50555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:35:27] local.INFO: IMEI packet received {"connection_id":50555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":50555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:35:31] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:35:31] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:35:31] local.INFO: IMEI packet received {"connection_id":50829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":50829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:35:32] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db58163a8012d800a0005c08270000b00092b..."} 
[2026-04-22 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58163a8012d800a0005c08270000b00092b..."} 
[2026-04-22 19:35:32] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58163a8012d800a0005c08270000b00092b..."} 
[2026-04-22 19:35:32] local.INFO: Packet analysis {"connection_id":50829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:35:32] local.INFO: Extracted packet for processing {"connection_id":50829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763365888,"raw_latitude":96502384,"longitude_deg":76.3365888,"latitude_deg":9.6502384,"altitude":11,"angle":9,"satellites":43,"speed":37,"hex_longitude":"2d800a00","hex_latitude":"05c08270","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877859840001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278544426035314688,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222457218478295040,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:32] 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-22 19:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776866649000,"timestamp_ms":1776866649000,"timestamp_seconds":1776866649,"priority":1,"record_length":96,"hex_timestamp":"0000019db58163a8"} 
[2026-04-22 19: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-22 19:35: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-22 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 19:35: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-22 19: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-22 19: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-22 19:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877859840001,"66":27376,"235":206,"85":12288,"24":37,"16":278544426035314688,"45":-9222457218478295040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 19:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877859840001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:35:32] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 19:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278544426035314688,"km_value":278544426035314.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222457218478295040,"description":"Unknown IO ID 45"} 
[2026-04-22 19:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877859840001,"power":27376,"unknown_235":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":-9222457218478295040}} 
[2026-04-22 19:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":50829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:35:32] local.INFO: GPS data processed {"connection_id":50829,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:35:32] local.INFO: Acknowledgment sent {"connection_id":50829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:35:32] local.INFO: TCP Data received {"connection_id":50555,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:35:32] local.INFO: Processing buffer {"connection_id":50555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:35:32] local.INFO: IMEI packet received {"connection_id":50555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:35:33] local.INFO: TCP Data received {"connection_id":50555,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:35:33] local.INFO: Processing buffer {"connection_id":50555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:35:33] local.INFO: Packet analysis {"connection_id":50555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:35:33] local.INFO: Extracted packet for processing {"connection_id":50555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:35:33] 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-22 19:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:35:33] 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-22 19:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:35:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":50555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:35:33] local.INFO: GPS data processed {"connection_id":50555,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:35:33] local.INFO: Acknowledgment sent {"connection_id":50555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:35:47] local.INFO: TCP Data received {"connection_id":50554,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:35:47] local.INFO: Processing buffer {"connection_id":50554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:35:47] local.INFO: Packet analysis {"connection_id":50554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:35:47] local.INFO: Extracted packet for processing {"connection_id":50554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:35:47] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877790208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400739768320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776866628000,"timestamp_ms":1776866628000,"timestamp_seconds":1776866628,"priority":1,"record_length":96,"hex_timestamp":"0000019db58111a0"} 
[2026-04-22 19: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-22 19:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877790208001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125348400739768320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877790208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:35:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:35:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400739768320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877790208001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125348400739768320}} 
[2026-04-22 19:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":50554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:35:47] local.INFO: GPS data processed {"connection_id":50554,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:35:47] local.INFO: Acknowledgment sent {"connection_id":50554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:36:03] local.INFO: TCP Data received {"connection_id":50829,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5819288012d800f4005c0a660000a00062c..."} 
[2026-04-22 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5819288012d800f4005c0a660000a00062c..."} 
[2026-04-22 19:36:03] local.INFO: Processing buffer {"connection_id":50829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5819288012d800f4005c0a660000a00062c..."} 
[2026-04-22 19:36:03] local.INFO: Packet analysis {"connection_id":50829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:03] local.INFO: Extracted packet for processing {"connection_id":50829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763367232,"raw_latitude":96511584,"longitude_deg":76.3367232,"latitude_deg":9.6511584,"altitude":10,"angle":6,"satellites":44,"speed":26,"hex_longitude":"2d800f40","hex_latitude":"05c0a660","is_valid_coordinates":true} 
[2026-04-22 19:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877862144001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278544877006880768,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220557262383058944,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776866661000,"timestamp_ms":1776866661000,"timestamp_seconds":1776866661,"priority":1,"record_length":96,"hex_timestamp":"0000019db5819288"} 
[2026-04-22 19:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:36: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-22 19:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 19:36: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-22 19:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877862144001,"66":27332,"235":206,"85":12288,"24":26,"16":278544877006880768,"45":-9220557262383058944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 19:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877862144001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:36:03] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 19:36:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278544877006880768,"km_value":278544877006880.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220557262383058944,"description":"Unknown IO ID 45"} 
[2026-04-22 19:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877862144001,"power":27332,"unknown_235":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9220557262383058944}} 
[2026-04-22 19:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":50829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:36:03] local.INFO: GPS data processed {"connection_id":50829,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:36:03] local.INFO: Acknowledgment sent {"connection_id":50829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:36:04] local.INFO: TCP Data received {"connection_id":50555,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:36:04] local.INFO: Processing buffer {"connection_id":50555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:36:04] local.INFO: Packet analysis {"connection_id":50555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:36:04] local.INFO: Extracted packet for processing {"connection_id":50555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:36:04] 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-22 19:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:36:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":50555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:36:05] local.INFO: GPS data processed {"connection_id":50555,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:36:05] local.INFO: Acknowledgment sent {"connection_id":50555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:36:15] local.INFO: TCP Data received {"connection_id":51519,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:36:15] local.INFO: Processing buffer {"connection_id":51519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:36:15] local.INFO: IMEI packet received {"connection_id":51519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":51519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:36:20] local.INFO: TCP Data received {"connection_id":51519,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:36:20] local.INFO: Processing buffer {"connection_id":51519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:36:20] local.INFO: IMEI packet received {"connection_id":51519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":51519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:36:21] local.INFO: TCP Data received {"connection_id":51519,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:36:21] local.INFO: Processing buffer {"connection_id":51519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:36:21] local.INFO: Packet analysis {"connection_id":51519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:21] local.INFO: Extracted packet for processing {"connection_id":51519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877790208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400739768320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776866628000,"timestamp_ms":1776866628000,"timestamp_seconds":1776866628,"priority":1,"record_length":96,"hex_timestamp":"0000019db58111a0"} 
[2026-04-22 19:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:36:21] 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-22 19:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":51519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":51519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":51519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877790208001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125348400739768320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877790208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:36:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400739768320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877790208001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125348400739768320}} 
[2026-04-22 19:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":51519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:36:21] local.INFO: GPS data processed {"connection_id":51519,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:36:21] local.INFO: Acknowledgment sent {"connection_id":51519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:36:28] local.INFO: TCP Data received {"connection_id":51519,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:36:28] local.INFO: Processing buffer {"connection_id":51519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:36:28] local.INFO: Packet analysis {"connection_id":51519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:28] local.INFO: Extracted packet for processing {"connection_id":51519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877790208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400739768320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776866628000,"timestamp_ms":1776866628000,"timestamp_seconds":1776866628,"priority":1,"record_length":96,"hex_timestamp":"0000019db58111a0"} 
[2026-04-22 19:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:36:28] 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-22 19:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":51519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":51519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":51519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877790208001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125348400739768320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877790208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:36:28] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400739768320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877790208001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125348400739768320}} 
[2026-04-22 19:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":51519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:36:28] local.INFO: GPS data processed {"connection_id":51519,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:36:28] local.INFO: Acknowledgment sent {"connection_id":51519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:36:30] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:36:30] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:36:30] local.INFO: IMEI packet received {"connection_id":50830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":50830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:36:32] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:36:32] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:36:32] local.INFO: IMEI packet received {"connection_id":50831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:36:40] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:36:40] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:36:40] local.INFO: IMEI packet received {"connection_id":50831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":50831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:36:41] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:36:41] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:36:41] local.INFO: Packet analysis {"connection_id":50831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:36:41] local.INFO: Extracted packet for processing {"connection_id":50831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:36:41] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":50831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:36:41] local.INFO: GPS data processed {"connection_id":50831,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:36:41] local.INFO: Acknowledgment sent {"connection_id":50831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:36:42] local.INFO: TCP Data received {"connection_id":50831,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:36:42] local.INFO: Processing buffer {"connection_id":50831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:36:42] local.INFO: Packet analysis {"connection_id":50831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:36:42] local.INFO: Extracted packet for processing {"connection_id":50831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:36:42] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":50831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:36:42] local.INFO: GPS data processed {"connection_id":50831,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:36:42] local.INFO: Acknowledgment sent {"connection_id":50831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:36:46] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:36:46] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:36:46] local.INFO: IMEI packet received {"connection_id":50830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":50830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:36:47] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db581c550012d80150005c0c880000b00082b..."} 
[2026-04-22 19:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db581c550012d80150005c0c880000b00082b..."} 
[2026-04-22 19:36:47] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db581c550012d80150005c0c880000b00082b..."} 
[2026-04-22 19:36:47] local.INFO: Packet analysis {"connection_id":50830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:47] local.INFO: Extracted packet for processing {"connection_id":50830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763368704,"raw_latitude":96520320,"longitude_deg":76.3368704,"latitude_deg":9.652032,"altitude":11,"angle":8,"satellites":43,"speed":18,"hex_longitude":"2d801500","hex_latitude":"05c0c880","is_valid_coordinates":true} 
[2026-04-22 19:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877865216001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278545310798577664,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219079518752972800,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776866674000,"timestamp_ms":1776866674000,"timestamp_seconds":1776866674,"priority":1,"record_length":96,"hex_timestamp":"0000019db581c550"} 
[2026-04-22 19:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 19:36:47] 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-22 19:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877865216001,"66":27321,"235":206,"85":12288,"24":18,"16":278545310798577664,"45":-9219079518752972800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 19:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877865216001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:36:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 19:36:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278545310798577664,"km_value":278545310798577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219079518752972800,"description":"Unknown IO ID 45"} 
[2026-04-22 19:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877865216001,"power":27321,"unknown_235":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-9219079518752972800}} 
[2026-04-22 19:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":50830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:36:47] local.INFO: GPS data processed {"connection_id":50830,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:36:47] local.INFO: Acknowledgment sent {"connection_id":50830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:36:48] local.INFO: TCP Data received {"connection_id":50830,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db581f430012d801a4005c0ebb0000b00082d..."} 
[2026-04-22 19:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db581f430012d801a4005c0ebb0000b00082d..."} 
[2026-04-22 19:36:48] local.INFO: Processing buffer {"connection_id":50830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db581f430012d801a4005c0ebb0000b00082d..."} 
[2026-04-22 19:36:48] local.INFO: Packet analysis {"connection_id":50830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:48] local.INFO: Extracted packet for processing {"connection_id":50830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:36:48] local.INFO: GPS Element Parsed {"raw_longitude":763370048,"raw_latitude":96529328,"longitude_deg":76.3370048,"latitude_deg":9.6529328,"altitude":11,"angle":8,"satellites":45,"speed":40,"hex_longitude":"2d801a40","hex_latitude":"05c0ebb0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877868544001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278545748885241856,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217461037634650112,"note":"Value kept but may cause issues"} 
[2026-04-22 19:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776866686000,"timestamp_ms":1776866686000,"timestamp_seconds":1776866686,"priority":1,"record_length":96,"hex_timestamp":"0000019db581f430"} 
[2026-04-22 19: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-22 19:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 19:36:48] 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-22 19:36: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-22 19: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-22 19:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:36:48] 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-22 19:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877868544001,"66":27376,"235":206,"85":12288,"24":40,"16":278545748885241856,"45":-9217461037634650112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 19:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877868544001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:36:48] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 19:36:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278545748885241856,"km_value":278545748885241.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217461037634650112,"description":"Unknown IO ID 45"} 
[2026-04-22 19:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877868544001,"power":27376,"unknown_235":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-9217461037634650112}} 
[2026-04-22 19:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":50830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:36:48] local.INFO: GPS data processed {"connection_id":50830,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:36:48] local.INFO: Acknowledgment sent {"connection_id":50830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:37:09] local.INFO: TCP Data received {"connection_id":51521,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:37:09] local.INFO: Processing buffer {"connection_id":51521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:37:09] local.INFO: IMEI packet received {"connection_id":51521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":51521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:37:15] local.INFO: TCP Data received {"connection_id":51521,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:37:15] local.INFO: Processing buffer {"connection_id":51521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:37:15] local.INFO: IMEI packet received {"connection_id":51521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":51521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:37:16] local.INFO: TCP Data received {"connection_id":51521,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:37:16] local.INFO: Processing buffer {"connection_id":51521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:37:16] local.INFO: Packet analysis {"connection_id":51521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:37:16] local.INFO: Extracted packet for processing {"connection_id":51521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877790208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400739768320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866628000,"timestamp_ms":1776866628000,"timestamp_seconds":1776866628,"priority":1,"record_length":96,"hex_timestamp":"0000019db58111a0"} 
[2026-04-22 19:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877790208001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125348400739768320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877790208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:37:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400739768320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877790208001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125348400739768320}} 
[2026-04-22 19:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":51521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:37:16] local.INFO: GPS data processed {"connection_id":51521,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:37:16] local.INFO: Acknowledgment sent {"connection_id":51521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:37:23] local.INFO: TCP Data received {"connection_id":50948,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:37:23] local.INFO: Processing buffer {"connection_id":50948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:37:23] local.INFO: IMEI packet received {"connection_id":50948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":50948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:37:25] local.INFO: TCP Data received {"connection_id":50948,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:37:25] local.INFO: Processing buffer {"connection_id":50948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:37:25] local.INFO: IMEI packet received {"connection_id":50948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":50948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:37:27] local.INFO: TCP Data received {"connection_id":50949,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:37:27] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:37:27] local.INFO: IMEI packet received {"connection_id":50949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":50949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:37:30] local.INFO: TCP Data received {"connection_id":50948,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:37:30] local.INFO: Processing buffer {"connection_id":50948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:37:30] local.INFO: IMEI packet received {"connection_id":50948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":50948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:37:30] local.INFO: TCP Data received {"connection_id":50948,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5839240012d804a0005c22ab0000c00082c..."} 
[2026-04-22 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5839240012d804a0005c22ab0000c00082c..."} 
[2026-04-22 19:37:30] local.INFO: Processing buffer {"connection_id":50948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5839240012d804a0005c22ab0000c00082c..."} 
[2026-04-22 19:37:30] local.INFO: Packet analysis {"connection_id":50948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:37:30] local.INFO: Extracted packet for processing {"connection_id":50948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763382272,"raw_latitude":96610992,"longitude_deg":76.3382272,"latitude_deg":9.6610992,"altitude":12,"angle":8,"satellites":44,"speed":55,"hex_longitude":"2d804a00","hex_latitude":"05c22ab0","is_valid_coordinates":true} 
[2026-04-22 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-22 19:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877896960001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278549764679663616,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203879869987469312,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:30] 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-22 19:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776866792000,"timestamp_ms":1776866792000,"timestamp_seconds":1776866792,"priority":1,"record_length":96,"hex_timestamp":"0000019db5839240"} 
[2026-04-22 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-22 19: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-22 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:37: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-22 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-22 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-22 19:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":50948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":50948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":50948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:37: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-22 19:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877896960001,"66":27484,"179":206,"85":12288,"24":55,"16":278549764679663616,"45":-9203879869987469312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 19:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877896960001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:37:30] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 19:37:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278549764679663616,"km_value":278549764679663.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203879869987469312,"description":"Unknown IO ID 45"} 
[2026-04-22 19:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877896960001,"power":27484,"unknown_179":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":-9203879869987469312}} 
[2026-04-22 19:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":50948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:37:30] local.INFO: GPS data processed {"connection_id":50948,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:37:30] local.INFO: Acknowledgment sent {"connection_id":50948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:37:32] local.INFO: TCP Data received {"connection_id":50949,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:37:32] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:37:32] local.INFO: IMEI packet received {"connection_id":50949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:37:33] local.INFO: TCP Data received {"connection_id":50949,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:37:33] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:37:33] local.INFO: Packet analysis {"connection_id":50949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:37:33] local.INFO: Extracted packet for processing {"connection_id":50949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:37:33] 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-22 19:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:37:33] 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-22 19:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:37:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":50949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:37:33] local.INFO: GPS data processed {"connection_id":50949,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:37:33] local.INFO: Acknowledgment sent {"connection_id":50949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:37:47] local.INFO: TCP Data received {"connection_id":51521,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:37:47] local.INFO: Processing buffer {"connection_id":51521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:37:47] local.INFO: Packet analysis {"connection_id":51521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:37:47] local.INFO: Extracted packet for processing {"connection_id":51521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877790208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400739768320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776866628000,"timestamp_ms":1776866628000,"timestamp_seconds":1776866628,"priority":1,"record_length":96,"hex_timestamp":"0000019db58111a0"} 
[2026-04-22 19:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877790208001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125348400739768320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877790208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:37:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400739768320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877790208001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125348400739768320}} 
[2026-04-22 19:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":51521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:37:47] local.INFO: GPS data processed {"connection_id":51521,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:37:47] local.INFO: Acknowledgment sent {"connection_id":51521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:38:04] local.INFO: TCP Data received {"connection_id":50949,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:38:04] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58017a0012d1b040007247bc80027003627..."} 
[2026-04-22 19:38:04] local.INFO: Packet analysis {"connection_id":50949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:38:04] local.INFO: Extracted packet for processing {"connection_id":50949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db580"} 
[2026-04-22 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":39,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877763328001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866564000,"timestamp_ms":1776866564000,"timestamp_seconds":1776866564,"priority":1,"record_length":96,"hex_timestamp":"0000019db58017a0"} 
[2026-04-22 19: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-22 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:38:04] 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-22 19:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877763328001,"66":2155,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877763328001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877763328001,"power":2155,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:38:04] local.INFO: GPS data processed {"connection_id":50949,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:38:04] local.INFO: Acknowledgment sent {"connection_id":50949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:38:04] local.INFO: TCP Data received {"connection_id":50948,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db583ad98012d804fc005c25290000c00082c..."} 
[2026-04-22 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db583ad98012d804fc005c25290000c00082c..."} 
[2026-04-22 19:38:04] local.INFO: Processing buffer {"connection_id":50948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db583ad98012d804fc005c25290000c00082c..."} 
[2026-04-22 19:38:04] local.INFO: Packet analysis {"connection_id":50948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:38:04] local.INFO: Extracted packet for processing {"connection_id":50948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763383744,"raw_latitude":96621200,"longitude_deg":76.3383744,"latitude_deg":9.66212,"altitude":12,"angle":8,"satellites":44,"speed":61,"hex_longitude":"2d804fc0","hex_latitude":"05c25290","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877898752001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278550262895869952,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202542863845773312,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:04] 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-22 19:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866799000,"timestamp_ms":1776866799000,"timestamp_seconds":1776866799,"priority":1,"record_length":96,"hex_timestamp":"0000019db583ad98"} 
[2026-04-22 19: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-22 19:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:38: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-22 19: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-22 19: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-22 19:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877898752001,"66":27376,"179":206,"85":12288,"24":61,"16":278550262895869952,"45":-9202542863845773312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 19:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877898752001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278550262895869952,"km_value":278550262895869.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202542863845773312,"description":"Unknown IO ID 45"} 
[2026-04-22 19:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877898752001,"power":27376,"unknown_179":206,"unknown_85":12288,"ignition":61,"odometer":null,"unknown_45":-9202542863845773312}} 
[2026-04-22 19:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:38:04] local.INFO: GPS data processed {"connection_id":50948,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:38:04] local.INFO: Acknowledgment sent {"connection_id":50948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:38:15] local.INFO: TCP Data received {"connection_id":50556,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:38:15] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:38:15] local.INFO: IMEI packet received {"connection_id":50556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":50556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:38:20] local.INFO: TCP Data received {"connection_id":50556,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:38:20] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:38:20] local.INFO: IMEI packet received {"connection_id":50556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":50556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:38:20] local.INFO: TCP Data received {"connection_id":50556,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:38:20] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:38:20] local.INFO: Packet analysis {"connection_id":50556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:38:20] local.INFO: Extracted packet for processing {"connection_id":50556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:38:20] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877790208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400739768320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776866628000,"timestamp_ms":1776866628000,"timestamp_seconds":1776866628,"priority":1,"record_length":96,"hex_timestamp":"0000019db58111a0"} 
[2026-04-22 19: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-22 19:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:38:20] 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-22 19: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-22 19: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-22 19:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877790208001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125348400739768320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877790208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:38:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400739768320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877790208001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125348400739768320}} 
[2026-04-22 19:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":50556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:38:20] local.INFO: GPS data processed {"connection_id":50556,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:38:20] local.INFO: Acknowledgment sent {"connection_id":50556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:38:25] local.INFO: TCP Data received {"connection_id":50556,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:38:25] local.INFO: Processing buffer {"connection_id":50556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58111a0012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:38:25] local.INFO: Packet analysis {"connection_id":50556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:38:25] local.INFO: Extracted packet for processing {"connection_id":50556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db581"} 
[2026-04-22 19:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877790208001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400739768320,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776866628000,"timestamp_ms":1776866628000,"timestamp_seconds":1776866628,"priority":1,"record_length":96,"hex_timestamp":"0000019db58111a0"} 
[2026-04-22 19:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 19:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":50556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":50556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":50556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877790208001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125348400739768320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877790208001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:38:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400739768320,"description":"Unknown IO ID 45"} 
[2026-04-22 19:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877790208001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125348400739768320}} 
[2026-04-22 19:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":50556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:38:25] local.INFO: GPS data processed {"connection_id":50556,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:38:25] local.INFO: Acknowledgment sent {"connection_id":50556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:38:28] local.INFO: TCP Data received {"connection_id":50950,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:38:28] local.INFO: Processing buffer {"connection_id":50950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:38:28] local.INFO: IMEI packet received {"connection_id":50950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":50950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:38:30] local.INFO: TCP Data received {"connection_id":51523,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:38:30] local.INFO: Processing buffer {"connection_id":51523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:38:30] local.INFO: IMEI packet received {"connection_id":51523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":51523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:38:32] local.INFO: TCP Data received {"connection_id":51523,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:38:32] local.INFO: Processing buffer {"connection_id":51523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:38:32] local.INFO: IMEI packet received {"connection_id":51523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":51523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:38:33] local.INFO: TCP Data received {"connection_id":50950,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:38:33] local.INFO: Processing buffer {"connection_id":50950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:38:33] local.INFO: IMEI packet received {"connection_id":50950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":50950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:38:33] local.INFO: TCP Data received {"connection_id":51523,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:38:33] local.INFO: Processing buffer {"connection_id":51523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:38:33] local.INFO: Packet analysis {"connection_id":51523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:38:33] local.INFO: Extracted packet for processing {"connection_id":51523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19: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-22 19:38:33] 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-22 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19: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-22 19:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:38:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":51523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:38:33] local.INFO: GPS data processed {"connection_id":51523,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:38:33] local.INFO: Acknowledgment sent {"connection_id":51523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:38:34] local.INFO: TCP Data received {"connection_id":50950,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db583c508012d80550005c275d0000c00062b..."} 
[2026-04-22 19:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db583c508012d80550005c275d0000c00062b..."} 
[2026-04-22 19:38:34] local.INFO: Processing buffer {"connection_id":50950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db583c508012d80550005c275d0000c00062b..."} 
[2026-04-22 19:38:34] local.INFO: Packet analysis {"connection_id":50950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:38:34] local.INFO: Extracted packet for processing {"connection_id":50950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763385088,"raw_latitude":96630224,"longitude_deg":76.3385088,"latitude_deg":9.6630224,"altitude":12,"angle":6,"satellites":43,"speed":59,"hex_longitude":"2d805500","hex_latitude":"05c275d0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877900544001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278550705277501440,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9200924382727073792,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:34] 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-22 19:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776866805000,"timestamp_ms":1776866805000,"timestamp_seconds":1776866805,"priority":1,"record_length":96,"hex_timestamp":"0000019db583c508"} 
[2026-04-22 19: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-22 19:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 19:38: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-22 19: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-22 19: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-22 19:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877900544001,"66":27463,"179":206,"85":12288,"24":59,"16":278550705277501440,"45":-9200924382727073792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-22 19:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877900544001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:38:34] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-22 19:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278550705277501440,"km_value":278550705277501.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9200924382727073792,"description":"Unknown IO ID 45"} 
[2026-04-22 19:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877900544001,"power":27463,"unknown_179":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9200924382727073792}} 
[2026-04-22 19:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":50950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:38:34] local.INFO: GPS data processed {"connection_id":50950,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:38:34] local.INFO: Acknowledgment sent {"connection_id":50950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:38:35] local.INFO: TCP Data received {"connection_id":50950,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db583dc78012d80598005c298c0000c00082c..."} 
[2026-04-22 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db583dc78012d80598005c298c0000c00082c..."} 
[2026-04-22 19:38:35] local.INFO: Processing buffer {"connection_id":50950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db583dc78012d80598005c298c0000c00082c..."} 
[2026-04-22 19:38:35] local.INFO: Packet analysis {"connection_id":50950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:38:35] local.INFO: Extracted packet for processing {"connection_id":50950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763386240,"raw_latitude":96639168,"longitude_deg":76.338624,"latitude_deg":9.6639168,"altitude":12,"angle":8,"satellites":44,"speed":60,"hex_longitude":"2d805980","hex_latitude":"05c298c0","is_valid_coordinates":true} 
[2026-04-22 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877902080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278551143364165632,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199446639097032704,"note":"Value kept but may cause issues"} 
[2026-04-22 19:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776866811000,"timestamp_ms":1776866811000,"timestamp_seconds":1776866811,"priority":1,"record_length":96,"hex_timestamp":"0000019db583dc78"} 
[2026-04-22 19:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:38: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-22 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:38:35] 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-22 19:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:38:35] 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-22 19:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877902080001,"66":27463,"234":206,"85":12288,"24":60,"16":278551143364165632,"45":-9199446639097032704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-04-22 19:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877902080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:38:35] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-22 19:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278551143364165632,"km_value":278551143364165.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199446639097032704,"description":"Unknown IO ID 45"} 
[2026-04-22 19:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877902080001,"power":27463,"unknown_234":206,"unknown_85":12288,"ignition":60,"odometer":null,"unknown_45":-9199446639097032704}} 
[2026-04-22 19:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":50950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:38:35] local.INFO: GPS data processed {"connection_id":50950,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:38:35] local.INFO: Acknowledgment sent {"connection_id":50950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:38:50] local.INFO: TCP Data received {"connection_id":50832,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:38:50] local.INFO: Processing buffer {"connection_id":50832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:38:50] local.INFO: IMEI packet received {"connection_id":50832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":50832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:38:53] local.INFO: TCP Data received {"connection_id":50832,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:38:53] local.INFO: Processing buffer {"connection_id":50832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:38:53] local.INFO: IMEI packet received {"connection_id":50832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 19:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":50832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:38:55] local.INFO: TCP Data received {"connection_id":50832,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:38:55] local.INFO: Processing buffer {"connection_id":50832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:38:55] local.INFO: IMEI packet received {"connection_id":50832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 19:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":50832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:39:04] local.INFO: TCP Data received {"connection_id":51523,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:39:04] local.INFO: Processing buffer {"connection_id":51523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:39:04] local.INFO: Packet analysis {"connection_id":51523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:39:04] local.INFO: Extracted packet for processing {"connection_id":51523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19: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-22 19:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:39:04] 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-22 19:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:39:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":51523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:39:04] local.INFO: GPS data processed {"connection_id":51523,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:39:04] local.INFO: Acknowledgment sent {"connection_id":51523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:39:09] local.INFO: TCP Data received {"connection_id":50950,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db583f3e8012d805e8005c2bb78000d00082c..."} 
[2026-04-22 19:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db583f3e8012d805e8005c2bb78000d00082c..."} 
[2026-04-22 19:39:09] local.INFO: Processing buffer {"connection_id":50950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db583f3e8012d805e8005c2bb78000d00082c..."} 
[2026-04-22 19:39:09] local.INFO: Packet analysis {"connection_id":50950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:39:09] local.INFO: Extracted packet for processing {"connection_id":50950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db583"} 
[2026-04-22 19:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763387520,"raw_latitude":96648056,"longitude_deg":76.338752,"latitude_deg":9.6648056,"altitude":13,"angle":8,"satellites":44,"speed":59,"hex_longitude":"2d805e80","hex_latitude":"05c2bb78","is_valid_coordinates":true} 
[2026-04-22 19:39: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-22 19:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877903616001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278551577155862528,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198180001699545088,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776866817000,"timestamp_ms":1776866817000,"timestamp_seconds":1776866817,"priority":1,"record_length":96,"hex_timestamp":"0000019db583f3e8"} 
[2026-04-22 19:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:39: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-22 19:39: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-22 19:39: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-22 19:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:39: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-22 19:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877903616001,"66":27484,"234":206,"85":12288,"24":59,"16":278551577155862528,"45":-9198180001699545088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-04-22 19:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877903616001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:39:09] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-22 19:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278551577155862528,"km_value":278551577155862.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198180001699545088,"description":"Unknown IO ID 45"} 
[2026-04-22 19:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877903616001,"power":27484,"unknown_234":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9198180001699545088}} 
[2026-04-22 19:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":50950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:39:09] local.INFO: GPS data processed {"connection_id":50950,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:39:09] local.INFO: Acknowledgment sent {"connection_id":50950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:39:21] local.INFO: TCP Data received {"connection_id":51524,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:39:21] local.INFO: Processing buffer {"connection_id":51524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:39:21] local.INFO: IMEI packet received {"connection_id":51524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":51524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:39:25] local.INFO: TCP Data received {"connection_id":51524,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:39:25] local.INFO: Processing buffer {"connection_id":51524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:39:25] local.INFO: IMEI packet received {"connection_id":51524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":51524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:39:25] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:39:25] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:39:25] local.INFO: IMEI packet received {"connection_id":50833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":50833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:39:26] local.INFO: TCP Data received {"connection_id":51524,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:39:26] local.INFO: Processing buffer {"connection_id":51524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:39:26] local.INFO: Packet analysis {"connection_id":51524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:39:26] local.INFO: Extracted packet for processing {"connection_id":51524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776866929000,"timestamp_ms":1776866929000,"timestamp_seconds":1776866929,"priority":1,"record_length":96,"hex_timestamp":"0000019db585a968"} 
[2026-04-22 19:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:39: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-22 19:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":51524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":51524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":51524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877856768001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:39:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877856768001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":51524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:39:26] local.INFO: GPS data processed {"connection_id":51524,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:39:26] local.INFO: Acknowledgment sent {"connection_id":51524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:39:27] local.INFO: TCP Data received {"connection_id":51525,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:39:27] local.INFO: Processing buffer {"connection_id":51525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:39:27] local.INFO: IMEI packet received {"connection_id":51525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":51525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:39:29] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:39:29] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:39:29] local.INFO: IMEI packet received {"connection_id":50833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":50833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:39:30] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:39:30] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:39:30] local.INFO: IMEI packet received {"connection_id":50833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":50833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:39:31] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5858258012d80868005c431a80009015628..."} 
[2026-04-22 19:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5858258012d80868005c431a80009015628..."} 
[2026-04-22 19:39:31] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5858258012d80868005c431a80009015628..."} 
[2026-04-22 19:39:31] local.INFO: Packet analysis {"connection_id":50833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:39:31] local.INFO: Extracted packet for processing {"connection_id":50833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763397760,"raw_latitude":96743848,"longitude_deg":76.339776,"latitude_deg":9.6743848,"altitude":9,"angle":342,"satellites":40,"speed":21,"hex_longitude":"2d808680","hex_latitude":"05c431a8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877926144001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278556275850084352,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183754409118586880,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776866919000,"timestamp_ms":1776866919000,"timestamp_seconds":1776866919,"priority":1,"record_length":96,"hex_timestamp":"0000019db5858258"} 
[2026-04-22 19: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-22 19:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:39: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-22 19: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-22 19: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-22 19:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:39:31] 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-22 19:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877926144001,"66":27571,"234":206,"85":12288,"24":21,"16":278556275850084352,"45":-9183754409118586880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-04-22 19:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877926144001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:39:31] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-22 19:39:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278556275850084352,"km_value":278556275850084.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183754409118586880,"description":"Unknown IO ID 45"} 
[2026-04-22 19:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877926144001,"power":27571,"unknown_234":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":-9183754409118586880}} 
[2026-04-22 19:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":50833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:39:31] local.INFO: GPS data processed {"connection_id":50833,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:39:31] local.INFO: Acknowledgment sent {"connection_id":50833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:39:32] local.INFO: TCP Data received {"connection_id":51525,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:39:32] local.INFO: Processing buffer {"connection_id":51525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:39:32] local.INFO: IMEI packet received {"connection_id":51525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":51525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:39:33] local.INFO: TCP Data received {"connection_id":51525,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:39:33] local.INFO: Processing buffer {"connection_id":51525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:39:33] local.INFO: Packet analysis {"connection_id":51525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:39:33] local.INFO: Extracted packet for processing {"connection_id":51525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19: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-22 19:39:33] 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-22 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:39: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-22 19:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:39:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":51525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:39:33] local.INFO: GPS data processed {"connection_id":51525,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:39:33] local.INFO: Acknowledgment sent {"connection_id":51525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:40:02] local.INFO: TCP Data received {"connection_id":50833,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5858258012d80868005c431a80009015628..."} 
[2026-04-22 19:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5858258012d80868005c431a80009015628..."} 
[2026-04-22 19:40:02] local.INFO: Processing buffer {"connection_id":50833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5858258012d80868005c431a80009015628..."} 
[2026-04-22 19:40:02] local.INFO: Packet analysis {"connection_id":50833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:40:02] local.INFO: Extracted packet for processing {"connection_id":50833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763397760,"raw_latitude":96743848,"longitude_deg":76.339776,"latitude_deg":9.6743848,"altitude":9,"angle":342,"satellites":40,"speed":21,"hex_longitude":"2d808680","hex_latitude":"05c431a8","is_valid_coordinates":true} 
[2026-04-22 19:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877931264001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278556275850084352,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185513627720767488,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776866919000,"timestamp_ms":1776866919000,"timestamp_seconds":1776866919,"priority":1,"record_length":96,"hex_timestamp":"0000019db5858258"} 
[2026-04-22 19:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-22 19:40:02] 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-22 19:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877931264001,"66":27571,"234":206,"85":12288,"24":21,"16":278556275850084352,"45":-9185513627720767488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-04-22 19:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877931264001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:40:02] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-22 19:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278556275850084352,"km_value":278556275850084.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185513627720767488,"description":"Unknown IO ID 45"} 
[2026-04-22 19:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877931264001,"power":27571,"unknown_234":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":-9185513627720767488}} 
[2026-04-22 19:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":50833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:40:02] local.INFO: GPS data processed {"connection_id":50833,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:40:02] local.INFO: Acknowledgment sent {"connection_id":50833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:40:04] local.INFO: TCP Data received {"connection_id":51525,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:40:04] local.INFO: Processing buffer {"connection_id":51525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:40:04] local.INFO: Packet analysis {"connection_id":51525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:40:04] local.INFO: Extracted packet for processing {"connection_id":51525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19: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-22 19:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:40:04] 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-22 19:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:40:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":51525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:40:04] local.INFO: GPS data processed {"connection_id":51525,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:40:04] local.INFO: Acknowledgment sent {"connection_id":51525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:40:20] local.INFO: TCP Data received {"connection_id":50835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:40:20] local.INFO: Processing buffer {"connection_id":50835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:40:20] local.INFO: IMEI packet received {"connection_id":50835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":50835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:40:25] local.INFO: TCP Data received {"connection_id":50835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:40:25] local.INFO: Processing buffer {"connection_id":50835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:40:25] local.INFO: IMEI packet received {"connection_id":50835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":50835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:40:26] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:26] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:26] local.INFO: IMEI packet received {"connection_id":50951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":50951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:40:27] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:40:27] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:40:27] local.INFO: IMEI packet received {"connection_id":50836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":50836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:40:28] local.INFO: TCP Data received {"connection_id":50835,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:40:28] local.INFO: Processing buffer {"connection_id":50835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:40:28] local.INFO: Packet analysis {"connection_id":50835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:40:28] local.INFO: Extracted packet for processing {"connection_id":50835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776866929000,"timestamp_ms":1776866929000,"timestamp_seconds":1776866929,"priority":1,"record_length":96,"hex_timestamp":"0000019db585a968"} 
[2026-04-22 19:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:40:28] 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-22 19:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:40:28] 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-22 19:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":50835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":50835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":50835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877856768001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:40:28] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877856768001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":50835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:40:28] local.INFO: GPS data processed {"connection_id":50835,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:40:28] local.INFO: Acknowledgment sent {"connection_id":50835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:40:29] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:29] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:29] local.INFO: IMEI packet received {"connection_id":50951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":50951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:40:30] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:30] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:30] local.INFO: IMEI packet received {"connection_id":50951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":50951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:40:34] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:40:34] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:40:34] local.INFO: IMEI packet received {"connection_id":50836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":50836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:40:34] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:40:34] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:40:34] local.INFO: Packet analysis {"connection_id":50836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:40:34] local.INFO: Extracted packet for processing {"connection_id":50836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:40:34] 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-22 19:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:40:34] 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-22 19:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:40:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":50836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:40:35] local.INFO: GPS data processed {"connection_id":50836,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:40:35] local.INFO: Acknowledgment sent {"connection_id":50836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:40:35] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:35] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:40:35] local.INFO: IMEI packet received {"connection_id":50951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":50951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:40:36] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db585ad50012d807ac005c44b78000a014a2c..."} 
[2026-04-22 19:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585ad50012d807ac005c44b78000a014a2c..."} 
[2026-04-22 19:40:36] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585ad50012d807ac005c44b78000a014a2c..."} 
[2026-04-22 19:40:36] local.INFO: Packet analysis {"connection_id":50951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:40:36] local.INFO: Extracted packet for processing {"connection_id":50951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763394752,"raw_latitude":96750456,"longitude_deg":76.3394752,"latitude_deg":9.6750456,"altitude":10,"angle":330,"satellites":44,"speed":28,"hex_longitude":"2d807ac0","hex_latitude":"05c44b78","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877931264001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278556628037402624,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185513627720767488,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:36] 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-22 19:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776866930000,"timestamp_ms":1776866930000,"timestamp_seconds":1776866930,"priority":1,"record_length":96,"hex_timestamp":"0000019db585ad50"} 
[2026-04-22 19: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-22 19: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-22 19: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-22 19:40:36] 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-22 19: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-22 19: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-22 19:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:40:36] 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-22 19:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877931264001,"66":27463,"235":206,"85":12288,"24":28,"16":278556628037402624,"45":-9185513627720767488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 19:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877931264001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:40:36] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 19:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278556628037402624,"km_value":278556628037402.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185513627720767488,"description":"Unknown IO ID 45"} 
[2026-04-22 19:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877931264001,"power":27463,"unknown_235":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":-9185513627720767488}} 
[2026-04-22 19:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":50951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:40:36] local.INFO: GPS data processed {"connection_id":50951,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:40:36] local.INFO: Acknowledgment sent {"connection_id":50951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:40:37] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:40:37] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:40:37] local.INFO: Packet analysis {"connection_id":50836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:40:37] local.INFO: Extracted packet for processing {"connection_id":50836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:40:37] 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-22 19:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:40:37] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":50836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:40:37] local.INFO: GPS data processed {"connection_id":50836,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:40:37] local.INFO: Acknowledgment sent {"connection_id":50836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:41:07] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db585d460012d8067c005c46950000901472a..."} 
[2026-04-22 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585d460012d8067c005c46950000901472a..."} 
[2026-04-22 19:41:07] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585d460012d8067c005c46950000901472a..."} 
[2026-04-22 19:41:07] local.INFO: Packet analysis {"connection_id":50951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:41:07] local.INFO: Extracted packet for processing {"connection_id":50951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763389888,"raw_latitude":96758096,"longitude_deg":76.3389888,"latitude_deg":9.6758096,"altitude":9,"angle":327,"satellites":42,"speed":39,"hex_longitude":"2d8067c0","hex_latitude":"05c46950","is_valid_coordinates":true} 
[2026-04-22 19:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877934080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278557066124066816,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188820958695426048,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:07] 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-22 19:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776866940000,"timestamp_ms":1776866940000,"timestamp_seconds":1776866940,"priority":1,"record_length":96,"hex_timestamp":"0000019db585d460"} 
[2026-04-22 19:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:41: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-22 19:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:41: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-22 19:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877934080001,"66":27463,"235":206,"85":12288,"24":39,"16":278557066124066816,"45":-9188820958695426048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-22 19:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877934080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:41:07] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-22 19:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278557066124066816,"km_value":278557066124066.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188820958695426048,"description":"Unknown IO ID 45"} 
[2026-04-22 19:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877934080001,"power":27463,"unknown_235":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-9188820958695426048}} 
[2026-04-22 19:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":50951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:41:07] local.INFO: GPS data processed {"connection_id":50951,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:41:07] local.INFO: Acknowledgment sent {"connection_id":50951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:41:09] local.INFO: TCP Data received {"connection_id":50836,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:41:09] local.INFO: Processing buffer {"connection_id":50836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:41:09] local.INFO: Packet analysis {"connection_id":50836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:41:09] local.INFO: Extracted packet for processing {"connection_id":50836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:41:09] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:41:09] 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-22 19:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:41:09] 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-22 19:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:41:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":50836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:41:09] local.INFO: GPS data processed {"connection_id":50836,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:41:09] local.INFO: Acknowledgment sent {"connection_id":50836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:41:09] local.INFO: TCP Data received {"connection_id":50557,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:41:09] local.INFO: Processing buffer {"connection_id":50557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:41:09] local.INFO: IMEI packet received {"connection_id":50557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":50557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:41:14] local.INFO: TCP Data received {"connection_id":50557,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:41:14] local.INFO: Processing buffer {"connection_id":50557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:41:14] local.INFO: IMEI packet received {"connection_id":50557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":50557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:41:22] local.INFO: TCP Data received {"connection_id":50557,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:41:22] local.INFO: Processing buffer {"connection_id":50557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:41:22] local.INFO: Packet analysis {"connection_id":50557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:41:22] local.INFO: Extracted packet for processing {"connection_id":50557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776866929000,"timestamp_ms":1776866929000,"timestamp_seconds":1776866929,"priority":1,"record_length":96,"hex_timestamp":"0000019db585a968"} 
[2026-04-22 19:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:41:22] 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-22 19:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:41:22] 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-22 19:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":50557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":50557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":50557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877856768001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:41:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877856768001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":50557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:41:22] local.INFO: GPS data processed {"connection_id":50557,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:41:22] local.INFO: Acknowledgment sent {"connection_id":50557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:41:23] local.INFO: TCP Data received {"connection_id":50557,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:41:23] local.INFO: Processing buffer {"connection_id":50557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:41:23] local.INFO: Packet analysis {"connection_id":50557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:41:23] local.INFO: Extracted packet for processing {"connection_id":50557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776866929000,"timestamp_ms":1776866929000,"timestamp_seconds":1776866929,"priority":1,"record_length":96,"hex_timestamp":"0000019db585a968"} 
[2026-04-22 19: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-22 19:41: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-22 19:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:41: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-22 19: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-22 19: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-22 19:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":50557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":50557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":50557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877856768001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:41:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877856768001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":50557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:41:23] local.INFO: GPS data processed {"connection_id":50557,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:41:23] local.INFO: Acknowledgment sent {"connection_id":50557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:41:27] local.INFO: TCP Data received {"connection_id":50952,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:41:27] local.INFO: Processing buffer {"connection_id":50952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:41:27] local.INFO: IMEI packet received {"connection_id":50952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":50952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:41:29] local.INFO: TCP Data received {"connection_id":51526,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:41:29] local.INFO: Processing buffer {"connection_id":51526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:41:29] local.INFO: IMEI packet received {"connection_id":51526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":51526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:41:30] local.INFO: TCP Data received {"connection_id":51526,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:41:30] local.INFO: Processing buffer {"connection_id":51526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:41:30] local.INFO: IMEI packet received {"connection_id":51526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":51526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:41:32] local.INFO: TCP Data received {"connection_id":50952,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:41:32] local.INFO: Processing buffer {"connection_id":50952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:41:32] local.INFO: IMEI packet received {"connection_id":50952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:41:33] local.INFO: TCP Data received {"connection_id":50952,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:41:33] local.INFO: Processing buffer {"connection_id":50952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:41:33] local.INFO: Packet analysis {"connection_id":50952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:41:33] local.INFO: Extracted packet for processing {"connection_id":50952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19: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-22 19:41:33] 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-22 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:41: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-22 19:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:41:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":50952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:41:33] local.INFO: GPS data processed {"connection_id":50952,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:41:33] local.INFO: Acknowledgment sent {"connection_id":50952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:41:56] local.INFO: TCP Data received {"connection_id":50557,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:41:56] local.INFO: Processing buffer {"connection_id":50557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:41:56] local.INFO: Packet analysis {"connection_id":50557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:41:56] local.INFO: Extracted packet for processing {"connection_id":50557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776866929000,"timestamp_ms":1776866929000,"timestamp_seconds":1776866929,"priority":1,"record_length":96,"hex_timestamp":"0000019db585a968"} 
[2026-04-22 19:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:41: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-22 19:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:41:56] 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-22 19:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":50557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":50557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":50557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877856768001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:41:56] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877856768001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":50557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:41:56] local.INFO: GPS data processed {"connection_id":50557,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:41:56] local.INFO: Acknowledgment sent {"connection_id":50557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:41:56] local.INFO: TCP Data received {"connection_id":51526,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:41:56] local.INFO: Processing buffer {"connection_id":51526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:41:56] local.INFO: IMEI packet received {"connection_id":51526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":51526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:41:57] local.INFO: TCP Data received {"connection_id":51526,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5873fa8012d7fdf4005c52c80000a015829..."} 
[2026-04-22 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5873fa8012d7fdf4005c52c80000a015829..."} 
[2026-04-22 19:41:57] local.INFO: Processing buffer {"connection_id":51526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5873fa8012d7fdf4005c52c80000a015829..."} 
[2026-04-22 19:41:57] local.INFO: Packet analysis {"connection_id":51526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db587"} 
[2026-04-22 19:41:57] local.INFO: Extracted packet for processing {"connection_id":51526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db587"} 
[2026-04-22 19:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763354944,"raw_latitude":96808064,"longitude_deg":76.3354944,"latitude_deg":9.6808064,"altitude":10,"angle":344,"satellites":41,"speed":26,"hex_longitude":"2d7fdf40","hex_latitude":"05c52c80","is_valid_coordinates":true} 
[2026-04-22 19:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877959680001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278560029651501056,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215350024800915456,"note":"Value kept but may cause issues"} 
[2026-04-22 19:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776867033000,"timestamp_ms":1776867033000,"timestamp_seconds":1776867033,"priority":1,"record_length":96,"hex_timestamp":"0000019db5873fa8"} 
[2026-04-22 19:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 19:41: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-22 19:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":51526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":51526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":51526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:41:57] 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-22 19:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877959680001,"66":27397,"93":206,"85":12288,"24":26,"16":278560029651501056,"45":9215350024800915456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877959680001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:41:57] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278560029651501056,"km_value":278560029651501.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215350024800915456,"description":"Unknown IO ID 45"} 
[2026-04-22 19:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877959680001,"power":27397,"unknown_93":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9215350024800915456}} 
[2026-04-22 19:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":51526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:41:57] local.INFO: GPS data processed {"connection_id":51526,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:41:57] local.INFO: Acknowledgment sent {"connection_id":51526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:42:04] local.INFO: TCP Data received {"connection_id":50952,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:42:04] local.INFO: Processing buffer {"connection_id":50952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:42:04] local.INFO: Packet analysis {"connection_id":50952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:42:04] local.INFO: Extracted packet for processing {"connection_id":50952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 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-22 19:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 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-22 19:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 19:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:42:04] 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-22 19:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:42:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":50952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:42:04] local.INFO: GPS data processed {"connection_id":50952,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:42:04] local.INFO: Acknowledgment sent {"connection_id":50952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:42:09] local.INFO: TCP Data received {"connection_id":51527,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:42:09] local.INFO: Processing buffer {"connection_id":51527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:42:09] local.INFO: IMEI packet received {"connection_id":51527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":51527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:42:15] local.INFO: TCP Data received {"connection_id":51527,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:42:15] local.INFO: Processing buffer {"connection_id":51527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:42:15] local.INFO: IMEI packet received {"connection_id":51527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":51527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:42:16] local.INFO: TCP Data received {"connection_id":51527,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:42:16] local.INFO: Processing buffer {"connection_id":51527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:42:16] local.INFO: Packet analysis {"connection_id":51527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:42:16] local.INFO: Extracted packet for processing {"connection_id":51527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:42:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776866929000,"timestamp_ms":1776866929000,"timestamp_seconds":1776866929,"priority":1,"record_length":96,"hex_timestamp":"0000019db585a968"} 
[2026-04-22 19:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:42:16] 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-22 19:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:42:16] 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-22 19: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-22 19:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877856768001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:42:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:42:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877856768001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":51527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:42:16] local.INFO: GPS data processed {"connection_id":51527,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:42:16] local.INFO: Acknowledgment sent {"connection_id":51527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:42:22] local.INFO: TCP Data received {"connection_id":50839,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:42:22] local.INFO: Processing buffer {"connection_id":50839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:42:22] local.INFO: IMEI packet received {"connection_id":50839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":50839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:42:26] local.INFO: TCP Data received {"connection_id":50839,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:42:26] local.INFO: Processing buffer {"connection_id":50839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:42:26] local.INFO: IMEI packet received {"connection_id":50839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":50839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:42:30] local.INFO: TCP Data received {"connection_id":50839,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:42:30] local.INFO: Processing buffer {"connection_id":50839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:42:30] local.INFO: IMEI packet received {"connection_id":50839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":50839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:42:31] local.INFO: TCP Data received {"connection_id":50839,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5874390012d7fdf0005c52ee8000b016428..."} 
[2026-04-22 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5874390012d7fdf0005c52ee8000b016428..."} 
[2026-04-22 19:42:31] local.INFO: Processing buffer {"connection_id":50839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5874390012d7fdf0005c52ee8000b016428..."} 
[2026-04-22 19:42:31] local.INFO: Packet analysis {"connection_id":50839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db587"} 
[2026-04-22 19:42:31] local.INFO: Extracted packet for processing {"connection_id":50839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db587"} 
[2026-04-22 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763354880,"raw_latitude":96808680,"longitude_deg":76.335488,"latitude_deg":9.680868,"altitude":11,"angle":356,"satellites":40,"speed":25,"hex_longitude":"2d7fdf00","hex_latitude":"05c52ee8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877960448001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278560059716272128,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214153756150366208,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776867034000,"timestamp_ms":1776867034000,"timestamp_seconds":1776867034,"priority":1,"record_length":96,"hex_timestamp":"0000019db5874390"} 
[2026-04-22 19: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-22 19:42: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-22 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:42: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-22 19: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-22 19: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-22 19:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:42:31] 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-22 19:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877960448001,"66":27517,"93":206,"85":12288,"24":25,"16":278560059716272128,"45":9214153756150366208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877960448001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:42:31] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278560059716272128,"km_value":278560059716272.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214153756150366208,"description":"Unknown IO ID 45"} 
[2026-04-22 19:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877960448001,"power":27517,"unknown_93":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9214153756150366208}} 
[2026-04-22 19:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":50839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:42:31] local.INFO: GPS data processed {"connection_id":50839,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:42:31] local.INFO: Acknowledgment sent {"connection_id":50839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:42:32] local.INFO: TCP Data received {"connection_id":51528,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:42:32] local.INFO: Processing buffer {"connection_id":51528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:42:32] local.INFO: IMEI packet received {"connection_id":51528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":51528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:42:33] local.INFO: TCP Data received {"connection_id":50839,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5874f48012d7fddc005c535b0000b015129..."} 
[2026-04-22 19:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5874f48012d7fddc005c535b0000b015129..."} 
[2026-04-22 19:42:33] local.INFO: Processing buffer {"connection_id":50839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5874f48012d7fddc005c535b0000b015129..."} 
[2026-04-22 19:42:33] local.INFO: Packet analysis {"connection_id":50839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db587"} 
[2026-04-22 19:42:33] local.INFO: Extracted packet for processing {"connection_id":50839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db587"} 
[2026-04-22 19:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763354560,"raw_latitude":96810416,"longitude_deg":76.335456,"latitude_deg":9.6810416,"altitude":11,"angle":337,"satellites":41,"speed":24,"hex_longitude":"2d7fddc0","hex_latitude":"05c535b0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877960704001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278560149910585344,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214083387406346240,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776867037000,"timestamp_ms":1776867037000,"timestamp_seconds":1776867037,"priority":1,"record_length":96,"hex_timestamp":"0000019db5874f48"} 
[2026-04-22 19: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-22 19: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-22 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 19:42: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-22 19: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-22 19: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-22 19:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877960704001,"66":27463,"93":206,"85":12288,"24":24,"16":278560149910585344,"45":9214083387406346240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877960704001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:42:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278560149910585344,"km_value":278560149910585.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214083387406346240,"description":"Unknown IO ID 45"} 
[2026-04-22 19:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877960704001,"power":27463,"unknown_93":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9214083387406346240}} 
[2026-04-22 19:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:42:33] local.INFO: GPS data processed {"connection_id":50839,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:42:33] local.INFO: Acknowledgment sent {"connection_id":50839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:42:37] local.INFO: TCP Data received {"connection_id":51528,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:42:37] local.INFO: Processing buffer {"connection_id":51528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:42:37] local.INFO: IMEI packet received {"connection_id":51528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":51528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:42:38] local.INFO: TCP Data received {"connection_id":51528,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:42:38] local.INFO: Processing buffer {"connection_id":51528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:42:38] local.INFO: Packet analysis {"connection_id":51528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:42:38] local.INFO: Extracted packet for processing {"connection_id":51528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:42:38] 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-22 19:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 19:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:42:38] 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-22 19:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:42:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":51528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:42:38] local.INFO: GPS data processed {"connection_id":51528,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:42:38] local.INFO: Acknowledgment sent {"connection_id":51528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:42:42] local.INFO: TCP Data received {"connection_id":51528,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:42:42] local.INFO: Processing buffer {"connection_id":51528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db584af68012d1b040007247bc8002700362b..."} 
[2026-04-22 19:42:42] local.INFO: Packet analysis {"connection_id":51528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:42:42] local.INFO: Extracted packet for processing {"connection_id":51528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db584"} 
[2026-04-22 19:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877840384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776866865000,"timestamp_ms":1776866865000,"timestamp_seconds":1776866865,"priority":1,"record_length":96,"hex_timestamp":"0000019db584af68"} 
[2026-04-22 19:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 19:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877840384001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877840384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:42:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877840384001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":51528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:42:42] local.INFO: GPS data processed {"connection_id":51528,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:42:42] local.INFO: Acknowledgment sent {"connection_id":51528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:42:49] local.INFO: TCP Data received {"connection_id":51527,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:42:49] local.INFO: Processing buffer {"connection_id":51527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:42:49] local.INFO: Packet analysis {"connection_id":51527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:42:49] local.INFO: Extracted packet for processing {"connection_id":51527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:42:49] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776866929000,"timestamp_ms":1776866929000,"timestamp_seconds":1776866929,"priority":1,"record_length":96,"hex_timestamp":"0000019db585a968"} 
[2026-04-22 19:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:42:49] 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-22 19:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":51527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":51527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":51527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877856768001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:42:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:42:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877856768001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":51527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:42:49] local.INFO: GPS data processed {"connection_id":51527,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:42:49] local.INFO: Acknowledgment sent {"connection_id":51527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:43:06] local.INFO: TCP Data received {"connection_id":50839,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db58762d0012d7fd6c005c54240000b01462a..."} 
[2026-04-22 19:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58762d0012d7fd6c005c54240000b01462a..."} 
[2026-04-22 19:43:06] local.INFO: Processing buffer {"connection_id":50839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58762d0012d7fd6c005c54240000b01462a..."} 
[2026-04-22 19:43:06] local.INFO: Packet analysis {"connection_id":50839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db587"} 
[2026-04-22 19:43:06] local.INFO: Extracted packet for processing {"connection_id":50839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db587"} 
[2026-04-22 19:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763352768,"raw_latitude":96813632,"longitude_deg":76.3352768,"latitude_deg":9.6813632,"altitude":11,"angle":326,"satellites":42,"speed":34,"hex_longitude":"2d7fd6c0","hex_latitude":"05c54240","is_valid_coordinates":true} 
[2026-04-22 19:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877961472001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278560326004244480,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9213731543685902336,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776867042000,"timestamp_ms":1776867042000,"timestamp_seconds":1776867042,"priority":1,"record_length":96,"hex_timestamp":"0000019db58762d0"} 
[2026-04-22 19:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:43: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-22 19:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:43: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-22 19:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:43:06] 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-22 19:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877961472001,"66":27310,"93":206,"85":12288,"24":34,"16":278560326004244480,"45":9213731543685902336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-22 19:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877961472001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:43:06] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-22 19:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278560326004244480,"km_value":278560326004244.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9213731543685902336,"description":"Unknown IO ID 45"} 
[2026-04-22 19:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877961472001,"power":27310,"unknown_93":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9213731543685902336}} 
[2026-04-22 19:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":50839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:43:06] local.INFO: GPS data processed {"connection_id":50839,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:43:06] local.INFO: Acknowledgment sent {"connection_id":50839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:43:16] local.INFO: TCP Data received {"connection_id":50953,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:43:16] local.INFO: Processing buffer {"connection_id":50953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:43:16] local.INFO: IMEI packet received {"connection_id":50953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":50953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:43:21] local.INFO: TCP Data received {"connection_id":50953,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:43:21] local.INFO: Processing buffer {"connection_id":50953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:43:21] local.INFO: IMEI packet received {"connection_id":50953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":50953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:43:22] local.INFO: TCP Data received {"connection_id":50953,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:43:22] local.INFO: Processing buffer {"connection_id":50953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:43:22] local.INFO: Packet analysis {"connection_id":50953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:43:22] local.INFO: Extracted packet for processing {"connection_id":50953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776866929000,"timestamp_ms":1776866929000,"timestamp_seconds":1776866929,"priority":1,"record_length":96,"hex_timestamp":"0000019db585a968"} 
[2026-04-22 19: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-22 19:43:22] 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-22 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:43:22] 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-22 19: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-22 19: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-22 19:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":50953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":50953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":50953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877856768001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:43:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877856768001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":50953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:43:22] local.INFO: GPS data processed {"connection_id":50953,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:43:22] local.INFO: Acknowledgment sent {"connection_id":50953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:43:24] local.INFO: TCP Data received {"connection_id":51529,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:43:24] local.INFO: Processing buffer {"connection_id":51529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:43:24] local.INFO: IMEI packet received {"connection_id":51529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":51529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:43:27] local.INFO: TCP Data received {"connection_id":51529,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:43:27] local.INFO: Processing buffer {"connection_id":51529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:43:27] local.INFO: IMEI packet received {"connection_id":51529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":51529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:43:27] local.INFO: TCP Data received {"connection_id":50953,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:43:27] local.INFO: Processing buffer {"connection_id":50953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db585a968012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:43:27] local.INFO: Packet analysis {"connection_id":50953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:43:27] local.INFO: Extracted packet for processing {"connection_id":50953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db585"} 
[2026-04-22 19:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877856768001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776866929000,"timestamp_ms":1776866929000,"timestamp_seconds":1776866929,"priority":1,"record_length":96,"hex_timestamp":"0000019db585a968"} 
[2026-04-22 19: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-22 19:43:27] 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-22 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":50953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":50953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":50953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877856768001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877856768001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:43:27] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877856768001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":50953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:43:28] local.INFO: GPS data processed {"connection_id":50953,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:43:28] local.INFO: Acknowledgment sent {"connection_id":50953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:43:28] local.INFO: TCP Data received {"connection_id":50558,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:43:28] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:43:28] local.INFO: IMEI packet received {"connection_id":50558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":50558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:43:28] local.INFO: TCP Data received {"connection_id":50558,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:43:28] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:43:28] local.INFO: IMEI packet received {"connection_id":50558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":50558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:43:30] local.INFO: TCP Data received {"connection_id":50558,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:43:30] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:43:30] local.INFO: IMEI packet received {"connection_id":50558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":50558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:43:31] local.INFO: TCP Data received {"connection_id":50558,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db588ddb8012d7f180005c63c980004014329..."} 
[2026-04-22 19:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db588ddb8012d7f180005c63c980004014329..."} 
[2026-04-22 19:43:31] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db588ddb8012d7f180005c63c980004014329..."} 
[2026-04-22 19:43:31] local.INFO: Packet analysis {"connection_id":50558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db588"} 
[2026-04-22 19:43:31] local.INFO: Extracted packet for processing {"connection_id":50558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db588"} 
[2026-04-22 19:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763303936,"raw_latitude":96877720,"longitude_deg":76.3303936,"latitude_deg":9.687772,"altitude":4,"angle":323,"satellites":41,"speed":40,"hex_longitude":"2d7f1800","hex_latitude":"05c63c98","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877986048001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278564230129516544,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161377198033750016,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776867139000,"timestamp_ms":1776867139000,"timestamp_seconds":1776867139,"priority":1,"record_length":96,"hex_timestamp":"0000019db588ddb8"} 
[2026-04-22 19: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-22 19:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":185,"data_length":795,"current_offset":136} 
[2026-04-22 19:43: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-22 19: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-22 19: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-22 19:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:43:31] 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-22 19:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877986048001,"66":27397,"247":206,"85":12288,"24":40,"16":278564230129516544,"45":9161377198033750016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,85,24,16,45]} 
[2026-04-22 19:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877986048001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:43:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278564230129516544,"km_value":278564230129516.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161377198033750016,"description":"Unknown IO ID 45"} 
[2026-04-22 19:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877986048001,"power":27397,"internal_battery_voltage":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9161377198033750016}} 
[2026-04-22 19:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":50558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:43:31] local.INFO: GPS data processed {"connection_id":50558,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:43:31] local.INFO: Acknowledgment sent {"connection_id":50558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:43:32] local.INFO: TCP Data received {"connection_id":51529,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:43:32] local.INFO: Processing buffer {"connection_id":51529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:43:32] local.INFO: IMEI packet received {"connection_id":51529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":51529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:43:33] local.INFO: TCP Data received {"connection_id":51529,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:43:33] local.INFO: Processing buffer {"connection_id":51529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:43:33] local.INFO: Packet analysis {"connection_id":51529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:43:33] local.INFO: Extracted packet for processing {"connection_id":51529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877917440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776867166000,"timestamp_ms":1776867166000,"timestamp_seconds":1776867166,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894730"} 
[2026-04-22 19: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-22 19:43:33] 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-22 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:43:33] 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-22 19: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-22 19: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-22 19:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:43:33] 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-22 19:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877917440001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877917440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:43:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877917440001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":51529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:43:33] local.INFO: GPS data processed {"connection_id":51529,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:43:33] local.INFO: Acknowledgment sent {"connection_id":51529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:43:36] local.INFO: TCP Data received {"connection_id":50558,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db58904c8012d7f01c005c65a48000401462a..."} 
[2026-04-22 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58904c8012d7f01c005c65a48000401462a..."} 
[2026-04-22 19:43:36] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58904c8012d7f01c005c65a48000401462a..."} 
[2026-04-22 19:43:36] local.INFO: Packet analysis {"connection_id":50558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:43:36] local.INFO: Extracted packet for processing {"connection_id":50558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763298240,"raw_latitude":96885320,"longitude_deg":76.329824,"latitude_deg":9.688532,"altitude":4,"angle":326,"satellites":42,"speed":27,"hex_longitude":"2d7f01c0","hex_latitude":"05c65a48","is_valid_coordinates":true} 
[2026-04-22 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877987584001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 19:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278564689691017216,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158069867058599936,"note":"Value kept but may cause issues"} 
[2026-04-22 19:43:36] 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-22 19:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776867149000,"timestamp_ms":1776867149000,"timestamp_seconds":1776867149,"priority":1,"record_length":96,"hex_timestamp":"0000019db58904c8"} 
[2026-04-22 19:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:43: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-22 19:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:43:36] 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-22 19:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877987584001,"66":27343,"200":0,"85":12288,"24":27,"16":278564689691017216,"45":9158069867058599936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 19:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877987584001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278564689691017216,"km_value":278564689691017.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158069867058599936,"description":"Unknown IO ID 45"} 
[2026-04-22 19:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877987584001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9158069867058599936}} 
[2026-04-22 19:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":50558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:43:36] local.INFO: GPS data processed {"connection_id":50558,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:43:36] local.INFO: Acknowledgment sent {"connection_id":50558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:44:04] local.INFO: TCP Data received {"connection_id":51529,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:44:04] local.INFO: Processing buffer {"connection_id":51529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:44:04] local.INFO: Packet analysis {"connection_id":51529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:04] local.INFO: Extracted packet for processing {"connection_id":51529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877917440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776867166000,"timestamp_ms":1776867166000,"timestamp_seconds":1776867166,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894730"} 
[2026-04-22 19: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-22 19:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:44:04] 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-22 19: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-22 19: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-22 19:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877917440001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877917440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:44:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877917440001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":51529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:44:04] local.INFO: GPS data processed {"connection_id":51529,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:44:04] local.INFO: Acknowledgment sent {"connection_id":51529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:44:10] local.INFO: TCP Data received {"connection_id":50558,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db58927f0012d7ef34005c66de00005013a28..."} 
[2026-04-22 19:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58927f0012d7ef34005c66de00005013a28..."} 
[2026-04-22 19:44:10] local.INFO: Processing buffer {"connection_id":50558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58927f0012d7ef34005c66de00005013a28..."} 
[2026-04-22 19:44:10] local.INFO: Packet analysis {"connection_id":50558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:10] local.INFO: Extracted packet for processing {"connection_id":50558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763294528,"raw_latitude":96890336,"longitude_deg":76.3294528,"latitude_deg":9.6890336,"altitude":5,"angle":314,"satellites":40,"speed":32,"hex_longitude":"2d7ef340","hex_latitude":"05c66de0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877990144001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 19:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278564990338727936,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151807048828733440,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:10] 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-22 19:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776867158000,"timestamp_ms":1776867158000,"timestamp_seconds":1776867158,"priority":1,"record_length":96,"hex_timestamp":"0000019db58927f0"} 
[2026-04-22 19: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-22 19:44: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-22 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:44: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-22 19: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-22 19: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-22 19:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:44:10] 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-22 19:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877990144001,"66":27397,"200":0,"85":12288,"24":32,"16":278564990338727936,"45":9151807048828733440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 19:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877990144001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278564990338727936,"km_value":278564990338727.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151807048828733440,"description":"Unknown IO ID 45"} 
[2026-04-22 19:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877990144001,"power":27397,"gsm_signal":0,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9151807048828733440}} 
[2026-04-22 19:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":50558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:44:10] local.INFO: GPS data processed {"connection_id":50558,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:44:10] local.INFO: Acknowledgment sent {"connection_id":50558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:44:17] local.INFO: TCP Data received {"connection_id":50841,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:44:17] local.INFO: Processing buffer {"connection_id":50841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:44:17] local.INFO: IMEI packet received {"connection_id":50841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":50841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:44:21] local.INFO: TCP Data received {"connection_id":51530,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:44:21] local.INFO: Processing buffer {"connection_id":51530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:44:21] local.INFO: IMEI packet received {"connection_id":51530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":51530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:44:22] local.INFO: TCP Data received {"connection_id":51530,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:44:22] local.INFO: Processing buffer {"connection_id":51530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:44:22] local.INFO: IMEI packet received {"connection_id":51530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":51530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:44:23] local.INFO: TCP Data received {"connection_id":51530,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:44:23] local.INFO: Processing buffer {"connection_id":51530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:44:23] local.INFO: Packet analysis {"connection_id":51530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:44:23] local.INFO: Extracted packet for processing {"connection_id":51530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776867230000,"timestamp_ms":1776867230000,"timestamp_seconds":1776867230,"priority":1,"record_length":96,"hex_timestamp":"0000019db58a4130"} 
[2026-04-22 19: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-22 19:44: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-22 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:44: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-22 19: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-22 19: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-22 19:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":51530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":51530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":51530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877933824001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:44:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:44:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877933824001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":51530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:44:23] local.INFO: GPS data processed {"connection_id":51530,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:44:23] local.INFO: Acknowledgment sent {"connection_id":51530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:44:25] local.INFO: TCP Data received {"connection_id":51530,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:44:25] local.INFO: Processing buffer {"connection_id":51530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:44:25] local.INFO: Packet analysis {"connection_id":51530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:44:25] local.INFO: Extracted packet for processing {"connection_id":51530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776867230000,"timestamp_ms":1776867230000,"timestamp_seconds":1776867230,"priority":1,"record_length":96,"hex_timestamp":"0000019db58a4130"} 
[2026-04-22 19:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:44:25] 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-22 19:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:44:25] 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-22 19:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":51530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":51530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":51530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877933824001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:44:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877933824001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":51530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:44:25] local.INFO: GPS data processed {"connection_id":51530,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:44:25] local.INFO: Acknowledgment sent {"connection_id":51530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:44:25] local.INFO: TCP Data received {"connection_id":51531,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:44:25] local.INFO: Processing buffer {"connection_id":51531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:44:25] local.INFO: IMEI packet received {"connection_id":51531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":51531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:44:27] local.INFO: TCP Data received {"connection_id":50842,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:44:27] local.INFO: Processing buffer {"connection_id":50842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:44:27] local.INFO: IMEI packet received {"connection_id":50842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":50842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:44:30] local.INFO: TCP Data received {"connection_id":51531,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:44:30] local.INFO: Processing buffer {"connection_id":51531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:44:30] local.INFO: IMEI packet received {"connection_id":51531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":51531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:44:31] local.INFO: TCP Data received {"connection_id":51531,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894f00012d7ed58005c686400004013129..."} 
[2026-04-22 19:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894f00012d7ed58005c686400004013129..."} 
[2026-04-22 19:44:31] local.INFO: Processing buffer {"connection_id":51531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894f00012d7ed58005c686400004013129..."} 
[2026-04-22 19:44:31] local.INFO: Packet analysis {"connection_id":51531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:31] local.INFO: Extracted packet for processing {"connection_id":51531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763286912,"raw_latitude":96896576,"longitude_deg":76.3286912,"latitude_deg":9.6896576,"altitude":4,"angle":305,"satellites":41,"speed":42,"hex_longitude":"2d7ed580","hex_latitude":"05c68640","is_valid_coordinates":true} 
[2026-04-22 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-22 19:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877992448001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-22 19:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278565467080097792,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147725661667713024,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-22 19:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776867168000,"timestamp_ms":1776867168000,"timestamp_seconds":1776867168,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894f00"} 
[2026-04-22 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-22 19:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:44: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-22 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-22 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-22 19:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:44:31] 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-22 19:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877992448001,"66":27343,"200":0,"85":12288,"24":42,"16":278565467080097792,"45":9147725661667713024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-22 19:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877992448001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278565467080097792,"km_value":278565467080097.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147725661667713024,"description":"Unknown IO ID 45"} 
[2026-04-22 19:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877992448001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9147725661667713024}} 
[2026-04-22 19:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":51531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:44:31] local.INFO: GPS data processed {"connection_id":51531,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:44:31] local.INFO: Acknowledgment sent {"connection_id":51531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:44:32] local.INFO: TCP Data received {"connection_id":50842,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:44:32] local.INFO: Processing buffer {"connection_id":50842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:44:32] local.INFO: IMEI packet received {"connection_id":50842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:44:32] local.INFO: TCP Data received {"connection_id":50842,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:44:32] local.INFO: Processing buffer {"connection_id":50842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:44:32] local.INFO: Packet analysis {"connection_id":50842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:32] local.INFO: Extracted packet for processing {"connection_id":50842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877917440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776867166000,"timestamp_ms":1776867166000,"timestamp_seconds":1776867166,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894730"} 
[2026-04-22 19: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-22 19:44:32] 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-22 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:44:32] 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-22 19: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-22 19: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-22 19:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:44:32] 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-22 19:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877917440001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877917440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:44:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877917440001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":50842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:44:32] local.INFO: GPS data processed {"connection_id":50842,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:44:32] local.INFO: Acknowledgment sent {"connection_id":50842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:44:41] local.INFO: TCP Data received {"connection_id":50842,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:44:41] local.INFO: Processing buffer {"connection_id":50842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:44:41] local.INFO: Packet analysis {"connection_id":50842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:41] local.INFO: Extracted packet for processing {"connection_id":50842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877917440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776867166000,"timestamp_ms":1776867166000,"timestamp_seconds":1776867166,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894730"} 
[2026-04-22 19:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877917440001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877917440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:44:41] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877917440001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":50842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:44:41] local.INFO: GPS data processed {"connection_id":50842,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:44:41] local.INFO: Acknowledgment sent {"connection_id":50842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:44:55] local.INFO: TCP Data received {"connection_id":50559,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:44:55] local.INFO: Processing buffer {"connection_id":50559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:44:55] local.INFO: IMEI packet received {"connection_id":50559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":50559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:45:02] local.INFO: TCP Data received {"connection_id":51531,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5897610012d7eb7c005c69af0000501302b..."} 
[2026-04-22 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5897610012d7eb7c005c69af0000501302b..."} 
[2026-04-22 19:45:02] local.INFO: Processing buffer {"connection_id":51531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5897610012d7eb7c005c69af0000501302b..."} 
[2026-04-22 19:45:02] local.INFO: Packet analysis {"connection_id":51531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:45:02] local.INFO: Extracted packet for processing {"connection_id":51531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":96901872,"longitude_deg":76.3279296,"latitude_deg":9.6901872,"altitude":5,"angle":304,"satellites":43,"speed":30,"hex_longitude":"2d7eb7c0","hex_latitude":"05c69af0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877995008001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278565909461729280,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139351781112168448,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776867178000,"timestamp_ms":1776867178000,"timestamp_seconds":1776867178,"priority":1,"record_length":96,"hex_timestamp":"0000019db5897610"} 
[2026-04-22 19: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-22 19: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-22 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:45: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-22 19: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-22 19: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-22 19:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877995008001,"66":27397,"89":206,"85":12288,"24":30,"16":278565909461729280,"45":9139351781112168448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-04-22 19:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877995008001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:45:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-22 19:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-22 19:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278565909461729280,"km_value":278565909461729.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139351781112168448,"description":"Unknown IO ID 45"} 
[2026-04-22 19:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877995008001,"power":27397,"unknown_89":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9139351781112168448}} 
[2026-04-22 19:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":51531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:45:02] local.INFO: GPS data processed {"connection_id":51531,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:45:02] local.INFO: Acknowledgment sent {"connection_id":51531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:45:10] local.INFO: TCP Data received {"connection_id":50560,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:45:10] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:45:10] local.INFO: IMEI packet received {"connection_id":50560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":50560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:45:16] local.INFO: TCP Data received {"connection_id":50560,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:45:16] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:45:16] local.INFO: IMEI packet received {"connection_id":50560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":50560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:45:17] local.INFO: TCP Data received {"connection_id":50560,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:45:17] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:45:17] local.INFO: Packet analysis {"connection_id":50560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:45:17] local.INFO: Extracted packet for processing {"connection_id":50560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776867230000,"timestamp_ms":1776867230000,"timestamp_seconds":1776867230,"priority":1,"record_length":96,"hex_timestamp":"0000019db58a4130"} 
[2026-04-22 19:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":50560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":50560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":50560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877933824001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:45:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:45:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877933824001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":50560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:45:17] local.INFO: GPS data processed {"connection_id":50560,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:45:17] local.INFO: Acknowledgment sent {"connection_id":50560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:45:24] local.INFO: TCP Data received {"connection_id":51532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:24] local.INFO: Processing buffer {"connection_id":51532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:24] local.INFO: IMEI packet received {"connection_id":51532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":51532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:45:25] local.INFO: TCP Data received {"connection_id":51532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:25] local.INFO: Processing buffer {"connection_id":51532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:25] local.INFO: IMEI packet received {"connection_id":51532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":51532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:45:25] local.INFO: TCP Data received {"connection_id":51532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:25] local.INFO: Processing buffer {"connection_id":51532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:25] local.INFO: IMEI packet received {"connection_id":51532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":51532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:45:27] local.INFO: TCP Data received {"connection_id":50954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:45:27] local.INFO: Processing buffer {"connection_id":50954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:45:27] local.INFO: IMEI packet received {"connection_id":50954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":50954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:45:34] local.INFO: TCP Data received {"connection_id":50954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:45:34] local.INFO: Processing buffer {"connection_id":50954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:45:34] local.INFO: IMEI packet received {"connection_id":50954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":50954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:45:41] local.INFO: TCP Data received {"connection_id":51532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:41] local.INFO: Processing buffer {"connection_id":51532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:45:41] local.INFO: IMEI packet received {"connection_id":51532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":51532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:45:42] local.INFO: TCP Data received {"connection_id":50954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:45:42] local.INFO: Processing buffer {"connection_id":50954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:45:42] local.INFO: Packet analysis {"connection_id":50954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:45:42] local.INFO: Extracted packet for processing {"connection_id":50954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877917440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776867166000,"timestamp_ms":1776867166000,"timestamp_seconds":1776867166,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894730"} 
[2026-04-22 19:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877917440001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877917440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:45:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877917440001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":50954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:45:43] local.INFO: GPS data processed {"connection_id":50954,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:45:43] local.INFO: Acknowledgment sent {"connection_id":50954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:45:48] local.INFO: TCP Data received {"connection_id":50560,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:45:48] local.INFO: Processing buffer {"connection_id":50560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:45:48] local.INFO: Packet analysis {"connection_id":50560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:45:48] local.INFO: Extracted packet for processing {"connection_id":50560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:45:48] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776867230000,"timestamp_ms":1776867230000,"timestamp_seconds":1776867230,"priority":1,"record_length":96,"hex_timestamp":"0000019db58a4130"} 
[2026-04-22 19:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:45:48] 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-22 19:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877933824001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:45:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:45:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877933824001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":50560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:45:48] local.INFO: GPS data processed {"connection_id":50560,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:45:48] local.INFO: Acknowledgment sent {"connection_id":50560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:46:09] local.INFO: TCP Data received {"connection_id":51534,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:46:09] local.INFO: Processing buffer {"connection_id":51534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:46:09] local.INFO: IMEI packet received {"connection_id":51534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":51534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:46:15] local.INFO: TCP Data received {"connection_id":51534,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:46:15] local.INFO: Processing buffer {"connection_id":51534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:46:15] local.INFO: IMEI packet received {"connection_id":51534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":51534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:46:29] local.INFO: TCP Data received {"connection_id":51534,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:46:29] local.INFO: Processing buffer {"connection_id":51534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:46:29] local.INFO: Packet analysis {"connection_id":51534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:46:29] local.INFO: Extracted packet for processing {"connection_id":51534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:46:29] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776867230000,"timestamp_ms":1776867230000,"timestamp_seconds":1776867230,"priority":1,"record_length":96,"hex_timestamp":"0000019db58a4130"} 
[2026-04-22 19:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":51534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":51534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":51534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877933824001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:46:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877933824001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":51534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:46:29] local.INFO: GPS data processed {"connection_id":51534,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:46:29] local.INFO: Acknowledgment sent {"connection_id":51534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:46:32] local.INFO: TCP Data received {"connection_id":50843,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:46:32] local.INFO: Processing buffer {"connection_id":50843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:46:32] local.INFO: IMEI packet received {"connection_id":50843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:46:37] local.INFO: TCP Data received {"connection_id":50843,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:46:37] local.INFO: Processing buffer {"connection_id":50843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:46:37] local.INFO: IMEI packet received {"connection_id":50843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":50843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:46:38] local.INFO: TCP Data received {"connection_id":50843,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:46:38] local.INFO: Processing buffer {"connection_id":50843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:46:38] local.INFO: Packet analysis {"connection_id":50843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:46:38] local.INFO: Extracted packet for processing {"connection_id":50843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877917440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776867166000,"timestamp_ms":1776867166000,"timestamp_seconds":1776867166,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894730"} 
[2026-04-22 19:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:46:38] 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-22 19:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:46:38] 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-22 19:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877917440001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877917440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:46:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877917440001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":50843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:46:38] local.INFO: GPS data processed {"connection_id":50843,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:46:38] local.INFO: Acknowledgment sent {"connection_id":50843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:46:43] local.INFO: TCP Data received {"connection_id":50843,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:46:43] local.INFO: Processing buffer {"connection_id":50843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:46:43] local.INFO: Packet analysis {"connection_id":50843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:46:43] local.INFO: Extracted packet for processing {"connection_id":50843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:46:43] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877917440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776867166000,"timestamp_ms":1776867166000,"timestamp_seconds":1776867166,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894730"} 
[2026-04-22 19:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:46:43] 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-22 19:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:46:43] 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-22 19:46: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-22 19:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":50843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":50843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":50843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:46:43] 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-22 19:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877917440001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877917440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:46:43] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:46:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877917440001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":50843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:46:43] local.INFO: GPS data processed {"connection_id":50843,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:46:43] local.INFO: Acknowledgment sent {"connection_id":50843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:47:09] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:47:09] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:47:09] local.INFO: IMEI packet received {"connection_id":50955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":50955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:47:15] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:47:15] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:47:15] local.INFO: IMEI packet received {"connection_id":50955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":50955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:47:16] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:47:16] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:47:16] local.INFO: Packet analysis {"connection_id":50955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:47:16] local.INFO: Extracted packet for processing {"connection_id":50955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:47:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776867230000,"timestamp_ms":1776867230000,"timestamp_seconds":1776867230,"priority":1,"record_length":96,"hex_timestamp":"0000019db58a4130"} 
[2026-04-22 19: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-22 19:47:16] 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-22 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:47:16] 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-22 19: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-22 19: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-22 19:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877933824001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:47:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:47:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877933824001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":50955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:47:16] local.INFO: GPS data processed {"connection_id":50955,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:47:16] local.INFO: Acknowledgment sent {"connection_id":50955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:47:27] local.INFO: TCP Data received {"connection_id":50956,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:47:27] local.INFO: Processing buffer {"connection_id":50956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:47:27] local.INFO: IMEI packet received {"connection_id":50956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":50956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:47:32] local.INFO: TCP Data received {"connection_id":50956,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:47:32] local.INFO: Processing buffer {"connection_id":50956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:47:32] local.INFO: IMEI packet received {"connection_id":50956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:47:35] local.INFO: TCP Data received {"connection_id":50956,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:47:35] local.INFO: Processing buffer {"connection_id":50956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:47:35] local.INFO: Packet analysis {"connection_id":50956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:47:35] local.INFO: Extracted packet for processing {"connection_id":50956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877917440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776867166000,"timestamp_ms":1776867166000,"timestamp_seconds":1776867166,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894730"} 
[2026-04-22 19:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:47:35] 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-22 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:47:35] 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-22 19:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:47:35] 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-22 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877917440001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877917440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:47:35] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877917440001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":50956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:47:35] local.INFO: GPS data processed {"connection_id":50956,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:47:35] local.INFO: Acknowledgment sent {"connection_id":50956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:47:47] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:47:47] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:47:47] local.INFO: Packet analysis {"connection_id":50955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:47:47] local.INFO: Extracted packet for processing {"connection_id":50955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776867230000,"timestamp_ms":1776867230000,"timestamp_seconds":1776867230,"priority":1,"record_length":96,"hex_timestamp":"0000019db58a4130"} 
[2026-04-22 19:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:47:47] 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-22 19:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877933824001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:47:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877933824001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":50955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:47:48] local.INFO: GPS data processed {"connection_id":50955,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:47:48] local.INFO: Acknowledgment sent {"connection_id":50955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:48:07] local.INFO: TCP Data received {"connection_id":50956,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:48:07] local.INFO: Processing buffer {"connection_id":50956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5894730012d1b040007247bc8002700362b..."} 
[2026-04-22 19:48:07] local.INFO: Packet analysis {"connection_id":50956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:48:07] local.INFO: Extracted packet for processing {"connection_id":50956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db589"} 
[2026-04-22 19:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":43,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877917440001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776867166000,"timestamp_ms":1776867166000,"timestamp_seconds":1776867166,"priority":1,"record_length":96,"hex_timestamp":"0000019db5894730"} 
[2026-04-22 19:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:48:07] 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-22 19:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877917440001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877917440001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:48:07] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877917440001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":50956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:48:07] local.INFO: GPS data processed {"connection_id":50956,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:48:07] local.INFO: Acknowledgment sent {"connection_id":50956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:48:19] local.INFO: TCP Data received {"connection_id":50958,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:48:19] local.INFO: Processing buffer {"connection_id":50958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:48:19] local.INFO: IMEI packet received {"connection_id":50958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":50958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:48:19] local.INFO: TCP Data received {"connection_id":50958,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:48:19] local.INFO: Processing buffer {"connection_id":50958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:48:19] local.INFO: IMEI packet received {"connection_id":50958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":50958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:48:20] local.INFO: TCP Data received {"connection_id":50958,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:48:20] local.INFO: Processing buffer {"connection_id":50958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:48:20] local.INFO: Packet analysis {"connection_id":50958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:48:20] local.INFO: Extracted packet for processing {"connection_id":50958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776867230000,"timestamp_ms":1776867230000,"timestamp_seconds":1776867230,"priority":1,"record_length":96,"hex_timestamp":"0000019db58a4130"} 
[2026-04-22 19:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877933824001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:48:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877933824001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":50958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:48:20] local.INFO: GPS data processed {"connection_id":50958,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:48:20] local.INFO: Acknowledgment sent {"connection_id":50958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:48:25] local.INFO: TCP Data received {"connection_id":50565,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:48:25] local.INFO: Processing buffer {"connection_id":50565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:48:25] local.INFO: IMEI packet received {"connection_id":50565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":50565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:48:26] local.INFO: TCP Data received {"connection_id":50958,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:48:27] local.INFO: Processing buffer {"connection_id":50958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58a4130012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:48:27] local.INFO: Packet analysis {"connection_id":50958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:48:27] local.INFO: Extracted packet for processing {"connection_id":50958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58a"} 
[2026-04-22 19:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877933824001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776867230000,"timestamp_ms":1776867230000,"timestamp_seconds":1776867230,"priority":1,"record_length":96,"hex_timestamp":"0000019db58a4130"} 
[2026-04-22 19:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:48:27] 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-22 19:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":50958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":50958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":50958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877933824001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877933824001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:48:27] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877933824001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":50958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:48:27] local.INFO: GPS data processed {"connection_id":50958,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:48:27] local.INFO: Acknowledgment sent {"connection_id":50958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:48:27] local.INFO: TCP Data received {"connection_id":50565,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:48:27] local.INFO: Processing buffer {"connection_id":50565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:48:27] local.INFO: IMEI packet received {"connection_id":50565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":50565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:48:32] local.INFO: TCP Data received {"connection_id":50565,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:48:32] local.INFO: Processing buffer {"connection_id":50565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:48:32] local.INFO: IMEI packet received {"connection_id":50565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:48:32] local.INFO: TCP Data received {"connection_id":50565,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:48:32] local.INFO: Processing buffer {"connection_id":50565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:48:32] local.INFO: Packet analysis {"connection_id":50565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:48:32] local.INFO: Extracted packet for processing {"connection_id":50565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19: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-22 19:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:48:32] 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-22 19:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:48:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":50565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:48:32] local.INFO: GPS data processed {"connection_id":50565,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:48:32] local.INFO: Acknowledgment sent {"connection_id":50565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:49:03] local.INFO: TCP Data received {"connection_id":50565,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:49:03] local.INFO: Processing buffer {"connection_id":50565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:49:03] local.INFO: Packet analysis {"connection_id":50565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:49:03] local.INFO: Extracted packet for processing {"connection_id":50565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:49:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":50565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:49:03] local.INFO: GPS data processed {"connection_id":50565,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:49:03] local.INFO: Acknowledgment sent {"connection_id":50565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:49:15] local.INFO: TCP Data received {"connection_id":51535,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:49:15] local.INFO: Processing buffer {"connection_id":51535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:49:15] local.INFO: IMEI packet received {"connection_id":51535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":51535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:49:20] local.INFO: TCP Data received {"connection_id":51535,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:49:20] local.INFO: Processing buffer {"connection_id":51535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:49:20] local.INFO: IMEI packet received {"connection_id":51535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":51535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:49:21] local.INFO: TCP Data received {"connection_id":51535,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:49:21] local.INFO: Processing buffer {"connection_id":51535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:49:21] local.INFO: Packet analysis {"connection_id":51535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:49:21] local.INFO: Extracted packet for processing {"connection_id":51535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 19:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:49:21] 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-22 19:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:49:21] 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-22 19:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":51535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":51535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":51535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:49:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":51535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:49:21] local.INFO: GPS data processed {"connection_id":51535,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:49:21] local.INFO: Acknowledgment sent {"connection_id":51535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:49:30] local.INFO: TCP Data received {"connection_id":51535,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:49:30] local.INFO: Processing buffer {"connection_id":51535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:49:30] local.INFO: Packet analysis {"connection_id":51535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:49:30] local.INFO: Extracted packet for processing {"connection_id":51535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 19: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-22 19:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:49:30] 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-22 19: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-22 19: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-22 19:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":51535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":51535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":51535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:49:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":51535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:49:30] local.INFO: GPS data processed {"connection_id":51535,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:49:30] local.INFO: Acknowledgment sent {"connection_id":51535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:49:32] local.INFO: TCP Data received {"connection_id":50959,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:49:32] local.INFO: Processing buffer {"connection_id":50959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:49:32] local.INFO: IMEI packet received {"connection_id":50959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:49:37] local.INFO: TCP Data received {"connection_id":50959,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:49:37] local.INFO: Processing buffer {"connection_id":50959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:49:37] local.INFO: IMEI packet received {"connection_id":50959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":50959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:49:38] local.INFO: TCP Data received {"connection_id":50959,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:49:38] local.INFO: Processing buffer {"connection_id":50959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:49:38] local.INFO: Packet analysis {"connection_id":50959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:49:38] local.INFO: Extracted packet for processing {"connection_id":50959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:49: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-22 19:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:49:38] 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-22 19:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:49:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:49:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":50959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:49:38] local.INFO: GPS data processed {"connection_id":50959,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:49:38] local.INFO: Acknowledgment sent {"connection_id":50959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:49:42] local.INFO: TCP Data received {"connection_id":50959,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:49:42] local.INFO: Processing buffer {"connection_id":50959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:49:42] local.INFO: Packet analysis {"connection_id":50959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:49:42] local.INFO: Extracted packet for processing {"connection_id":50959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:49:42] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":50959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:49:42] local.INFO: GPS data processed {"connection_id":50959,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:49:42] local.INFO: Acknowledgment sent {"connection_id":50959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:50:10] local.INFO: TCP Data received {"connection_id":50566,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:50:10] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:50:10] local.INFO: IMEI packet received {"connection_id":50566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":50566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:50:15] local.INFO: TCP Data received {"connection_id":50566,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:50:15] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:50:15] local.INFO: IMEI packet received {"connection_id":50566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":50566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:50:16] local.INFO: TCP Data received {"connection_id":50566,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:50:16] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:50:16] local.INFO: Packet analysis {"connection_id":50566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:50:16] local.INFO: Extracted packet for processing {"connection_id":50566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:50:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 19:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:50:16] 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-22 19:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:50:16] 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-22 19:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:50:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":50566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:50:16] local.INFO: GPS data processed {"connection_id":50566,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:50:16] local.INFO: Acknowledgment sent {"connection_id":50566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:50:20] local.INFO: TCP Data received {"connection_id":50566,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:50:20] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:50:20] local.INFO: Packet analysis {"connection_id":50566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:50:20] local.INFO: Extracted packet for processing {"connection_id":50566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:50:20] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 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-22 19:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 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-22 19:50:20] 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-22 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":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 19:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:50:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":50566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:50:20] local.INFO: GPS data processed {"connection_id":50566,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:50:20] local.INFO: Acknowledgment sent {"connection_id":50566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:50:27] local.INFO: TCP Data received {"connection_id":50960,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:50:27] local.INFO: Processing buffer {"connection_id":50960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:50:27] local.INFO: IMEI packet received {"connection_id":50960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":50960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:50:30] local.INFO: TCP Data received {"connection_id":51536,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:50:30] local.INFO: Processing buffer {"connection_id":51536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:50:30] local.INFO: IMEI packet received {"connection_id":51536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":51536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:50:32] local.INFO: TCP Data received {"connection_id":50960,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:50:32] local.INFO: Processing buffer {"connection_id":50960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:50:32] local.INFO: IMEI packet received {"connection_id":50960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":50960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:50:33] local.INFO: TCP Data received {"connection_id":50960,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:50:33] local.INFO: Processing buffer {"connection_id":50960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:50:33] local.INFO: Packet analysis {"connection_id":50960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:50:33] local.INFO: Extracted packet for processing {"connection_id":50960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19: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-22 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:50:33] 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-22 19:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:50:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":50960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:50:33] local.INFO: GPS data processed {"connection_id":50960,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:50:33] local.INFO: Acknowledgment sent {"connection_id":50960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:50:35] local.INFO: TCP Data received {"connection_id":51536,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:50:35] local.INFO: Processing buffer {"connection_id":51536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:50:35] local.INFO: IMEI packet received {"connection_id":51536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":51536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:50:36] local.INFO: TCP Data received {"connection_id":51536,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db58f0008012d7d280005caeaf8000800032c..."} 
[2026-04-22 19:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58f0008012d7d280005caeaf8000800032c..."} 
[2026-04-22 19:50:36] local.INFO: Processing buffer {"connection_id":51536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58f0008012d7d280005caeaf8000800032c..."} 
[2026-04-22 19:50:36] local.INFO: Packet analysis {"connection_id":51536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58f"} 
[2026-04-22 19:50:36] local.INFO: Extracted packet for processing {"connection_id":51536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58f"} 
[2026-04-22 19:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97184504,"longitude_deg":76.317696,"latitude_deg":9.7184504,"altitude":8,"angle":3,"satellites":44,"speed":55,"hex_longitude":"2d7d2800","hex_latitude":"05caeaf8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878088704001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278582041358893056,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684222500081664,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:36] 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-22 19:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776867541000,"timestamp_ms":1776867541000,"timestamp_seconds":1776867541,"priority":1,"record_length":96,"hex_timestamp":"0000019db58f0008"} 
[2026-04-22 19: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-22 19: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-22 19: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-22 19:50:36] 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-22 19: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-22 19: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-22 19:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:50:36] 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-22 19:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878088704001,"66":27332,"131":206,"85":15104,"24":55,"16":278582041358893056,"45":9017684222500081664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 19:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878088704001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:50:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 19:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278582041358893056,"km_value":278582041358893.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684222500081664,"description":"Unknown IO ID 45"} 
[2026-04-22 19:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878088704001,"power":27332,"unknown_131":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9017684222500081664}} 
[2026-04-22 19:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":51536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:50:36] local.INFO: GPS data processed {"connection_id":51536,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:50:36] local.INFO: Acknowledgment sent {"connection_id":51536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:50:50] local.INFO: TCP Data received {"connection_id":50847,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:50:50] local.INFO: Processing buffer {"connection_id":50847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:50:50] local.INFO: IMEI packet received {"connection_id":50847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":50847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:50:51] local.INFO: TCP Data received {"connection_id":50566,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:50:51] local.INFO: Processing buffer {"connection_id":50566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:50:51] local.INFO: Packet analysis {"connection_id":50566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:50:51] local.INFO: Extracted packet for processing {"connection_id":50566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:50:51] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 19:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:50: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-22 19:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:50:51] 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-22 19:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":50566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":50566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":50566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:50:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:50:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":50566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:50:51] local.INFO: GPS data processed {"connection_id":50566,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:50:51] local.INFO: Acknowledgment sent {"connection_id":50566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:51:04] local.INFO: TCP Data received {"connection_id":50960,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:51:04] local.INFO: Processing buffer {"connection_id":50960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:51:04] local.INFO: Packet analysis {"connection_id":50960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:51:04] local.INFO: Extracted packet for processing {"connection_id":50960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19: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-22 19:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:51:04] 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-22 19:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:51:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":50960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:51:04] local.INFO: GPS data processed {"connection_id":50960,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:51:04] local.INFO: Acknowledgment sent {"connection_id":50960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:51:09] local.INFO: TCP Data received {"connection_id":51536,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db58f1b60012d7d2a0005cb1060000700022c..."} 
[2026-04-22 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58f1b60012d7d2a0005cb1060000700022c..."} 
[2026-04-22 19:51:09] local.INFO: Processing buffer {"connection_id":51536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58f1b60012d7d2a0005cb1060000700022c..."} 
[2026-04-22 19:51:09] local.INFO: Packet analysis {"connection_id":51536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58f"} 
[2026-04-22 19:51:09] local.INFO: Extracted packet for processing {"connection_id":51536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58f"} 
[2026-04-22 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":97194080,"longitude_deg":76.3177472,"latitude_deg":9.719408,"altitude":7,"angle":2,"satellites":44,"speed":54,"hex_longitude":"2d7d2a00","hex_latitude":"05cb1060","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878090496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278582505215361024,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278688651264,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:09] 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-22 19:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776867548000,"timestamp_ms":1776867548000,"timestamp_seconds":1776867548,"priority":1,"record_length":96,"hex_timestamp":"0000019db58f1b60"} 
[2026-04-22 19: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-22 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 19:51: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-22 19: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-22 19: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-22 19:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:51: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-22 19:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878090496001,"66":27463,"131":206,"85":15104,"24":54,"16":278582505215361024,"45":9018458278688651264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 19:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878090496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:51:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 19:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278582505215361024,"km_value":278582505215361.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278688651264,"description":"Unknown IO ID 45"} 
[2026-04-22 19:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878090496001,"power":27463,"unknown_131":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9018458278688651264}} 
[2026-04-22 19:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":51536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:51:09] local.INFO: GPS data processed {"connection_id":51536,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:51:09] local.INFO: Acknowledgment sent {"connection_id":51536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:51:09] local.INFO: TCP Data received {"connection_id":50961,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:51:09] local.INFO: Processing buffer {"connection_id":50961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:51:09] local.INFO: IMEI packet received {"connection_id":50961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":50961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:51:16] local.INFO: TCP Data received {"connection_id":50961,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:51:16] local.INFO: Processing buffer {"connection_id":50961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:51:16] local.INFO: IMEI packet received {"connection_id":50961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":50961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:51:17] local.INFO: TCP Data received {"connection_id":50961,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:51:17] local.INFO: Processing buffer {"connection_id":50961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:51:17] local.INFO: Packet analysis {"connection_id":50961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:51:17] local.INFO: Extracted packet for processing {"connection_id":50961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 19:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":50961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":50961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":50961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:51:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":50961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:51:17] local.INFO: GPS data processed {"connection_id":50961,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:51:17] local.INFO: Acknowledgment sent {"connection_id":50961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:51:29] local.INFO: TCP Data received {"connection_id":50567,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:51:29] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:51:29] local.INFO: IMEI packet received {"connection_id":50567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":50567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:51:32] local.INFO: TCP Data received {"connection_id":50567,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:51:32] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:51:32] local.INFO: IMEI packet received {"connection_id":50567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:51:36] local.INFO: TCP Data received {"connection_id":50567,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:51:36] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:51:36] local.INFO: Packet analysis {"connection_id":50567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:51:36] local.INFO: Extracted packet for processing {"connection_id":50567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:51:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":50567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:51:36] local.INFO: GPS data processed {"connection_id":50567,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:51:36] local.INFO: Acknowledgment sent {"connection_id":50567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:51:37] local.INFO: TCP Data received {"connection_id":50567,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:51:37] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:51:37] local.INFO: Packet analysis {"connection_id":50567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:51:37] local.INFO: Extracted packet for processing {"connection_id":50567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:51:37] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":50567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:51:37] local.INFO: GPS data processed {"connection_id":50567,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:51:37] local.INFO: Acknowledgment sent {"connection_id":50567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:51:40] local.INFO: TCP Data received {"connection_id":51537,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:51:40] local.INFO: Processing buffer {"connection_id":51537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:51:40] local.INFO: IMEI packet received {"connection_id":51537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":51537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:51:45] local.INFO: TCP Data received {"connection_id":51537,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:51:45] local.INFO: Processing buffer {"connection_id":51537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:51:45] local.INFO: IMEI packet received {"connection_id":51537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":51537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:51:46] local.INFO: TCP Data received {"connection_id":51537,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db58f2718012d7d294005cb1f800007015e2c..."} 
[2026-04-22 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58f2718012d7d294005cb1f800007015e2c..."} 
[2026-04-22 19:51:46] local.INFO: Processing buffer {"connection_id":51537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58f2718012d7d294005cb1f800007015e2c..."} 
[2026-04-22 19:51:46] local.INFO: Packet analysis {"connection_id":51537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58f"} 
[2026-04-22 19:51:46] local.INFO: Extracted packet for processing {"connection_id":51537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58f"} 
[2026-04-22 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":97197952,"longitude_deg":76.317728,"latitude_deg":9.7197952,"altitude":7,"angle":350,"satellites":44,"speed":47,"hex_longitude":"2d7d2940","hex_latitude":"05cb1f80","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878092288001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278582694193922048,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228644524032,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:46] 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-22 19:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776867551000,"timestamp_ms":1776867551000,"timestamp_seconds":1776867551,"priority":1,"record_length":96,"hex_timestamp":"0000019db58f2718"} 
[2026-04-22 19:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:51:46] 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-22 19:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":51537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":51537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":51537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878092288001,"66":27376,"131":206,"85":15104,"24":47,"16":278582694193922048,"45":9019021228644524032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-22 19:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878092288001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:51:46] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-22 19:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278582694193922048,"km_value":278582694193922.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228644524032,"description":"Unknown IO ID 45"} 
[2026-04-22 19:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878092288001,"power":27376,"unknown_131":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9019021228644524032}} 
[2026-04-22 19:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":51537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:51:46] local.INFO: GPS data processed {"connection_id":51537,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:51:46] local.INFO: Acknowledgment sent {"connection_id":51537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:51:48] local.INFO: TCP Data received {"connection_id":50961,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:51:48] local.INFO: Processing buffer {"connection_id":50961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:51:48] local.INFO: Packet analysis {"connection_id":50961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:51:48] local.INFO: Extracted packet for processing {"connection_id":50961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:51:48] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 19:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:51:48] 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-22 19:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:51:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:51:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":50961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:51:48] local.INFO: GPS data processed {"connection_id":50961,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:51:48] local.INFO: Acknowledgment sent {"connection_id":50961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:51:50] local.INFO: TCP Data received {"connection_id":51538,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:51:50] local.INFO: Processing buffer {"connection_id":51538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:51:50] local.INFO: IMEI packet received {"connection_id":51538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":51538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:52:11] local.INFO: TCP Data received {"connection_id":50567,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:52:11] local.INFO: Processing buffer {"connection_id":50567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:52:11] local.INFO: Packet analysis {"connection_id":50567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:52:11] local.INFO: Extracted packet for processing {"connection_id":50567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 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-22 19:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 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-22 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 19:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:52:11] 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-22 19:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:52:11] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":50567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:52:11] local.INFO: GPS data processed {"connection_id":50567,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:52:11] local.INFO: Acknowledgment sent {"connection_id":50567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:52:15] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:52:15] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:52:15] local.INFO: IMEI packet received {"connection_id":50848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":50848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:52:24] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:52:24] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:52:24] local.INFO: IMEI packet received {"connection_id":50849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":50849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:52:25] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:52:25] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:52:25] local.INFO: IMEI packet received {"connection_id":50848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":50848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:52:25] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:52:25] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:52:25] local.INFO: IMEI packet received {"connection_id":50849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":50849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:52:26] local.INFO: TCP Data received {"connection_id":50848,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:52:26] local.INFO: Processing buffer {"connection_id":50848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:52:26] local.INFO: Packet analysis {"connection_id":50848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:52:26] local.INFO: Extracted packet for processing {"connection_id":50848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 19:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:52:26] 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-22 19:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":50848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":50848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":50848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:52:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":50848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:52:26] local.INFO: GPS data processed {"connection_id":50848,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:52:26] local.INFO: Acknowledgment sent {"connection_id":50848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:52:27] local.INFO: TCP Data received {"connection_id":51539,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:52:27] local.INFO: Processing buffer {"connection_id":51539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:52:27] local.INFO: IMEI packet received {"connection_id":51539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":51539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:52:31] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:52:31] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:52:31] local.INFO: IMEI packet received {"connection_id":50849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":50849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:52:32] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db590fbd8012d7d4d0005cc41c80008000a2d..."} 
[2026-04-22 19:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db590fbd8012d7d4d0005cc41c80008000a2d..."} 
[2026-04-22 19:52:32] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db590fbd8012d7d4d0005cc41c80008000a2d..."} 
[2026-04-22 19:52:32] local.INFO: Packet analysis {"connection_id":50849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db590"} 
[2026-04-22 19:52:32] local.INFO: Extracted packet for processing {"connection_id":50849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db590"} 
[2026-04-22 19:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763186432,"raw_latitude":97272264,"longitude_deg":76.3186432,"latitude_deg":9.7272264,"altitude":8,"angle":10,"satellites":45,"speed":30,"hex_longitude":"2d7d4d00","hex_latitude":"05cc41c8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878122752001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278586340621156352,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427918594048,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776867671000,"timestamp_ms":1776867671000,"timestamp_seconds":1776867671,"priority":1,"record_length":96,"hex_timestamp":"0000019db590fbd8"} 
[2026-04-22 19: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-22 19:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:52: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-22 19: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-22 19: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-22 19:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878122752001,"66":27484,"129":206,"85":15104,"24":30,"16":278586340621156352,"45":9028028427918594048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 19:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878122752001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:52:32] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 19:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278586340621156352,"km_value":278586340621156.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427918594048,"description":"Unknown IO ID 45"} 
[2026-04-22 19:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878122752001,"power":27484,"unknown_129":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9028028427918594048}} 
[2026-04-22 19:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":50849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:52:32] local.INFO: GPS data processed {"connection_id":50849,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:52:32] local.INFO: Acknowledgment sent {"connection_id":50849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:52:34] local.INFO: TCP Data received {"connection_id":51539,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:52:34] local.INFO: Processing buffer {"connection_id":51539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:52:34] local.INFO: IMEI packet received {"connection_id":51539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":51539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:52:37] local.INFO: TCP Data received {"connection_id":51539,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:52:37] local.INFO: Processing buffer {"connection_id":51539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:52:37] local.INFO: Packet analysis {"connection_id":51539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:52:37] local.INFO: Extracted packet for processing {"connection_id":51539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19: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-22 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:52:37] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":51539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:52:37] local.INFO: GPS data processed {"connection_id":51539,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:52:37] local.INFO: Acknowledgment sent {"connection_id":51539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:53:03] local.INFO: TCP Data received {"connection_id":50849,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59122e8012d7d520005cc6698000800062c..."} 
[2026-04-22 19:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59122e8012d7d520005cc6698000800062c..."} 
[2026-04-22 19:53:03] local.INFO: Processing buffer {"connection_id":50849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59122e8012d7d520005cc6698000800062c..."} 
[2026-04-22 19:53:03] local.INFO: Packet analysis {"connection_id":50849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db591"} 
[2026-04-22 19:53:03] local.INFO: Extracted packet for processing {"connection_id":50849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db591"} 
[2026-04-22 19:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763187712,"raw_latitude":97281688,"longitude_deg":76.3187712,"latitude_deg":9.7281688,"altitude":8,"angle":6,"satellites":44,"speed":41,"hex_longitude":"2d7d5200","hex_latitude":"05cc6698","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878123776001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278586800182657024,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028872852849412096,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776867681000,"timestamp_ms":1776867681000,"timestamp_seconds":1776867681,"priority":1,"record_length":96,"hex_timestamp":"0000019db59122e8"} 
[2026-04-22 19: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-22 19:53: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-22 19:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:53: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-22 19: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-22 19: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-22 19:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878123776001,"66":27463,"129":206,"85":15104,"24":41,"16":278586800182657024,"45":9028872852849412096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 19:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878123776001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:53:03] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 19:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278586800182657024,"km_value":278586800182657.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028872852849412096,"description":"Unknown IO ID 45"} 
[2026-04-22 19:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878123776001,"power":27463,"unknown_129":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9028872852849412096}} 
[2026-04-22 19:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":50849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:53:03] local.INFO: GPS data processed {"connection_id":50849,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:53:03] local.INFO: Acknowledgment sent {"connection_id":50849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:53:09] local.INFO: TCP Data received {"connection_id":51539,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:53:09] local.INFO: Processing buffer {"connection_id":51539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ddef8012d1b040007247bc8002700362c..."} 
[2026-04-22 19:53:09] local.INFO: Packet analysis {"connection_id":51539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:53:09] local.INFO: Extracted packet for processing {"connection_id":51539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58d"} 
[2026-04-22 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454877994496001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776867467000,"timestamp_ms":1776867467000,"timestamp_seconds":1776867467,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ddef8"} 
[2026-04-22 19:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:53:09] 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-22 19:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454877994496001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454877994496001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:53:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454877994496001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":51539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:53:09] local.INFO: GPS data processed {"connection_id":51539,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:53:09] local.INFO: Acknowledgment sent {"connection_id":51539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:53:09] local.INFO: TCP Data received {"connection_id":50568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:53:09] local.INFO: Processing buffer {"connection_id":50568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:53:09] local.INFO: IMEI packet received {"connection_id":50568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":50568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:53:15] local.INFO: TCP Data received {"connection_id":50568,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:53:15] local.INFO: Processing buffer {"connection_id":50568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:53:15] local.INFO: IMEI packet received {"connection_id":50568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":50568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:53:15] local.INFO: TCP Data received {"connection_id":50568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:53:16] local.INFO: Processing buffer {"connection_id":50568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:53:16] local.INFO: Packet analysis {"connection_id":50568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:53:16] local.INFO: Extracted packet for processing {"connection_id":50568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 19:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:53:16] 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-22 19:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:53:16] 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-22 19:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:53:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":50568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:53:16] local.INFO: GPS data processed {"connection_id":50568,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:53:16] local.INFO: Acknowledgment sent {"connection_id":50568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:53:25] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:53:25] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:53:25] local.INFO: IMEI packet received {"connection_id":50850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":50850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:53:29] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:53:29] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:53:29] local.INFO: IMEI packet received {"connection_id":50851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":50851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:53:30] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:53:30] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:53:30] local.INFO: IMEI packet received {"connection_id":50850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":50850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:53:30] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:53:30] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:53:30] local.INFO: IMEI packet received {"connection_id":50851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":50851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:53:30] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:53:30] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:53:30] local.INFO: IMEI packet received {"connection_id":50850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":50850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:53:31] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5914610012d7d548005cc8940000800032c..."} 
[2026-04-22 19:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5914610012d7d548005cc8940000800032c..."} 
[2026-04-22 19:53:31] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5914610012d7d548005cc8940000800032c..."} 
[2026-04-22 19:53:31] local.INFO: Packet analysis {"connection_id":50850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db591"} 
[2026-04-22 19:53:31] local.INFO: Extracted packet for processing {"connection_id":50850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db591"} 
[2026-04-22 19:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763188352,"raw_latitude":97290560,"longitude_deg":76.3188352,"latitude_deg":9.729056,"altitude":8,"angle":3,"satellites":44,"speed":37,"hex_longitude":"2d7d5480","hex_latitude":"05cc8940","is_valid_coordinates":true} 
[2026-04-22 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-22 19:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878126336001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278587229679386624,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030280227735377920,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776867690000,"timestamp_ms":1776867690000,"timestamp_seconds":1776867690,"priority":1,"record_length":96,"hex_timestamp":"0000019db5914610"} 
[2026-04-22 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-22 19: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-22 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:53: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-22 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-22 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-22 19:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:53:31] 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-22 19:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878126336001,"66":27332,"129":206,"85":15104,"24":37,"16":278587229679386624,"45":9030280227735377920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-22 19:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878126336001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:53:31] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 19:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278587229679386624,"km_value":278587229679386.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030280227735377920,"description":"Unknown IO ID 45"} 
[2026-04-22 19:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878126336001,"power":27332,"unknown_129":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9030280227735377920}} 
[2026-04-22 19:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":50850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:53:31] local.INFO: GPS data processed {"connection_id":50850,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:53:31] local.INFO: Acknowledgment sent {"connection_id":50850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:53:32] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:53:32] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:53:32] local.INFO: IMEI packet received {"connection_id":50851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:53:33] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:53:33] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:53:33] local.INFO: Packet analysis {"connection_id":50851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:53:33] local.INFO: Extracted packet for processing {"connection_id":50851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19: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-22 19:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:53:33] 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-22 19:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:53:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":50851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:53:33] local.INFO: GPS data processed {"connection_id":50851,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:53:33] local.INFO: Acknowledgment sent {"connection_id":50851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:53:35] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5916938012d7d554005ccafa0000801672b..."} 
[2026-04-22 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5916938012d7d554005ccafa0000801672b..."} 
[2026-04-22 19:53:36] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5916938012d7d554005ccafa0000801672b..."} 
[2026-04-22 19:53:36] local.INFO: Packet analysis {"connection_id":50850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db591"} 
[2026-04-22 19:53:36] local.INFO: Extracted packet for processing {"connection_id":50850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db591"} 
[2026-04-22 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763188544,"raw_latitude":97300384,"longitude_deg":76.3188544,"latitude_deg":9.7300384,"altitude":8,"angle":359,"satellites":43,"speed":48,"hex_longitude":"2d7d5540","hex_latitude":"05ccafa0","is_valid_coordinates":true} 
[2026-04-22 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878128640001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278587706420756480,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030983915179425792,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:36] 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-22 19:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776867699000,"timestamp_ms":1776867699000,"timestamp_seconds":1776867699,"priority":1,"record_length":96,"hex_timestamp":"0000019db5916938"} 
[2026-04-22 19:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:53: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-22 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 19:53: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-22 19:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:53:36] 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-22 19:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878128640001,"66":27310,"236":206,"85":15104,"24":48,"16":278587706420756480,"45":9030983915179425792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-22 19:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878128640001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:53:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 19:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278587706420756480,"km_value":278587706420756.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030983915179425792,"description":"Unknown IO ID 45"} 
[2026-04-22 19:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878128640001,"power":27310,"unknown_236":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9030983915179425792}} 
[2026-04-22 19:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":50850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:53:36] local.INFO: GPS data processed {"connection_id":50850,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:53:36] local.INFO: Acknowledgment sent {"connection_id":50850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:53:37] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:53:37] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:53:37] local.INFO: Packet analysis {"connection_id":50851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:53:37] local.INFO: Extracted packet for processing {"connection_id":50851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19: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-22 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:53:37] 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-22 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:53:37] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":50851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:53:37] local.INFO: GPS data processed {"connection_id":50851,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:53:37] local.INFO: Acknowledgment sent {"connection_id":50851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:53:47] local.INFO: TCP Data received {"connection_id":50568,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:53:47] local.INFO: Processing buffer {"connection_id":50568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db58ed8f8012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:53:47] local.INFO: Packet analysis {"connection_id":50568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:53:47] local.INFO: Extracted packet for processing {"connection_id":50568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db58e"} 
[2026-04-22 19:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878010880001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776867531000,"timestamp_ms":1776867531000,"timestamp_seconds":1776867531,"priority":1,"record_length":96,"hex_timestamp":"0000019db58ed8f8"} 
[2026-04-22 19:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:53:47] 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-22 19:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878010880001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878010880001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:53:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878010880001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":50568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:53:47] local.INFO: GPS data processed {"connection_id":50568,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:53:47] local.INFO: Acknowledgment sent {"connection_id":50568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:54:07] local.INFO: TCP Data received {"connection_id":50850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5918490012d7d54c005ccd408000a01662b..."} 
[2026-04-22 19:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5918490012d7d54c005ccd408000a01662b..."} 
[2026-04-22 19:54:07] local.INFO: Processing buffer {"connection_id":50850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5918490012d7d54c005ccd408000a01662b..."} 
[2026-04-22 19:54:07] local.INFO: Packet analysis {"connection_id":50850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db591"} 
[2026-04-22 19:54:07] local.INFO: Extracted packet for processing {"connection_id":50850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db591"} 
[2026-04-22 19:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763188416,"raw_latitude":97309704,"longitude_deg":76.3188416,"latitude_deg":9.7309704,"altitude":10,"angle":358,"satellites":43,"speed":55,"hex_longitude":"2d7d54c0","hex_latitude":"05ccd408","is_valid_coordinates":true} 
[2026-04-22 19:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878130944001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278588161687289856,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031195021414473728,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:07] 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-22 19:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776867706000,"timestamp_ms":1776867706000,"timestamp_seconds":1776867706,"priority":1,"record_length":96,"hex_timestamp":"0000019db5918490"} 
[2026-04-22 19:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:54: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-22 19:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-22 19:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:54: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-22 19:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878130944001,"66":27343,"236":206,"85":15104,"24":55,"16":278588161687289856,"45":9031195021414473728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-04-22 19:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878130944001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:54:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-22 19:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278588161687289856,"km_value":278588161687289.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031195021414473728,"description":"Unknown IO ID 45"} 
[2026-04-22 19:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878130944001,"power":27343,"unknown_236":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9031195021414473728}} 
[2026-04-22 19:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":50850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:54:07] local.INFO: GPS data processed {"connection_id":50850,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:54:07] local.INFO: Acknowledgment sent {"connection_id":50850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:54:09] local.INFO: TCP Data received {"connection_id":50851,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:54:09] local.INFO: Processing buffer {"connection_id":50851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:54:09] local.INFO: Packet analysis {"connection_id":50851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:54:09] local.INFO: Extracted packet for processing {"connection_id":50851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19: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-22 19:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:54:09] 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-22 19:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:54:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":50851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:54:09] local.INFO: GPS data processed {"connection_id":50851,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:54:09] local.INFO: Acknowledgment sent {"connection_id":50851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:54:14] local.INFO: TCP Data received {"connection_id":50963,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:54:14] local.INFO: Processing buffer {"connection_id":50963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:54:14] local.INFO: IMEI packet received {"connection_id":50963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":50963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:54:21] local.INFO: TCP Data received {"connection_id":50963,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:54:21] local.INFO: Processing buffer {"connection_id":50963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:54:21] local.INFO: IMEI packet received {"connection_id":50963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":50963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:54:27] local.INFO: TCP Data received {"connection_id":50569,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:54:27] local.INFO: Processing buffer {"connection_id":50569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:54:27] local.INFO: IMEI packet received {"connection_id":50569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":50569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:54:30] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:54:30] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:54:30] local.INFO: IMEI packet received {"connection_id":50964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":50964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:54:31] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:54:31] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:54:31] local.INFO: IMEI packet received {"connection_id":50964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":50964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:54:32] local.INFO: TCP Data received {"connection_id":50569,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:54:32] local.INFO: Processing buffer {"connection_id":50569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:54:32] local.INFO: IMEI packet received {"connection_id":50569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:54:33] local.INFO: TCP Data received {"connection_id":50569,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:54:33] local.INFO: Processing buffer {"connection_id":50569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:54:33] local.INFO: Packet analysis {"connection_id":50569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:54:33] local.INFO: Extracted packet for processing {"connection_id":50569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19: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-22 19:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:54:33] 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-22 19:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:54:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":50569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:54:33] local.INFO: GPS data processed {"connection_id":50569,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:54:33] local.INFO: Acknowledgment sent {"connection_id":50569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:54:34] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59322a0012d7d410005ce3ea8000600052c..."} 
[2026-04-22 19:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59322a0012d7d410005ce3ea8000600052c..."} 
[2026-04-22 19:54:34] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59322a0012d7d410005ce3ea8000600052c..."} 
[2026-04-22 19:54:34] local.INFO: Packet analysis {"connection_id":50964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:54:34] local.INFO: Extracted packet for processing {"connection_id":50964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97402536,"longitude_deg":76.318336,"latitude_deg":9.7402536,"altitude":6,"angle":5,"satellites":44,"speed":35,"hex_longitude":"2d7d4100","hex_latitude":"05ce3ea8","is_valid_coordinates":true} 
[2026-04-22 19:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878156800001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278592688582819840,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721096973981696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:34] 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-22 19:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776867812000,"timestamp_ms":1776867812000,"timestamp_seconds":1776867812,"priority":1,"record_length":96,"hex_timestamp":"0000019db59322a0"} 
[2026-04-22 19:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 19:54: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-22 19:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878156800001,"66":27376,"237":206,"85":15104,"24":35,"16":278592688582819840,"45":9024721096973981696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 19:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878156800001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:54:34] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 19:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278592688582819840,"km_value":278592688582819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721096973981696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878156800001,"power":27376,"unknown_237":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9024721096973981696}} 
[2026-04-22 19:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":50964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:54:34] local.INFO: GPS data processed {"connection_id":50964,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:54:34] local.INFO: Acknowledgment sent {"connection_id":50964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:54:37] local.INFO: TCP Data received {"connection_id":50963,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:54:37] local.INFO: Processing buffer {"connection_id":50963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:54:37] local.INFO: Packet analysis {"connection_id":50963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:54:37] local.INFO: Extracted packet for processing {"connection_id":50963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 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-22 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878087936001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776867832000,"timestamp_ms":1776867832000,"timestamp_seconds":1776867832,"priority":1,"record_length":96,"hex_timestamp":"0000019db59370c0"} 
[2026-04-22 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-22 19:54:37] 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-22 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 19:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878087936001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878087936001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:54:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878087936001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":50963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:54:37] local.INFO: GPS data processed {"connection_id":50963,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:54:37] local.INFO: Acknowledgment sent {"connection_id":50963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:54:39] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59349b0012d7d440005ce6290000700042c..."} 
[2026-04-22 19:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59349b0012d7d440005ce6290000700042c..."} 
[2026-04-22 19:54:39] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59349b0012d7d440005ce6290000700042c..."} 
[2026-04-22 19:54:39] local.INFO: Packet analysis {"connection_id":50964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:54:39] local.INFO: Extracted packet for processing {"connection_id":50964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":97411728,"longitude_deg":76.3184128,"latitude_deg":9.7411728,"altitude":7,"angle":4,"satellites":44,"speed":30,"hex_longitude":"2d7d4400","hex_latitude":"05ce6290","is_valid_coordinates":true} 
[2026-04-22 19:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878159872001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278593135259418624,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153162233856,"note":"Value kept but may cause issues"} 
[2026-04-22 19:54:39] 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-22 19:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776867822000,"timestamp_ms":1776867822000,"timestamp_seconds":1776867822,"priority":1,"record_length":96,"hex_timestamp":"0000019db59349b0"} 
[2026-04-22 19:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 19:54: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-22 19:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878159872001,"66":27463,"237":206,"85":15104,"24":30,"16":278593135259418624,"45":9025495153162233856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 19:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878159872001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:54:39] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 19:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278593135259418624,"km_value":278593135259418.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153162233856,"description":"Unknown IO ID 45"} 
[2026-04-22 19:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878159872001,"power":27463,"unknown_237":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9025495153162233856}} 
[2026-04-22 19:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":50964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:54:39] local.INFO: GPS data processed {"connection_id":50964,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:54:39] local.INFO: Acknowledgment sent {"connection_id":50964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:55:04] local.INFO: TCP Data received {"connection_id":50569,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:55:04] local.INFO: Processing buffer {"connection_id":50569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:55:04] local.INFO: Packet analysis {"connection_id":50569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:55:04] local.INFO: Extracted packet for processing {"connection_id":50569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:55:04] 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-22 19:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:55:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":50569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:55:04] local.INFO: GPS data processed {"connection_id":50569,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:55:04] local.INFO: Acknowledgment sent {"connection_id":50569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:55:10] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59374a8012d7d468005ce8578000800042b..."} 
[2026-04-22 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59374a8012d7d468005ce8578000800042b..."} 
[2026-04-22 19:55:10] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59374a8012d7d468005ce8578000800042b..."} 
[2026-04-22 19:55:10] local.INFO: Packet analysis {"connection_id":50964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:55:10] local.INFO: Extracted packet for processing {"connection_id":50964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":97420664,"longitude_deg":76.3184768,"latitude_deg":9.7420664,"altitude":8,"angle":4,"satellites":43,"speed":38,"hex_longitude":"2d7d4680","hex_latitude":"05ce8578","is_valid_coordinates":true} 
[2026-04-22 19:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878162432001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278593569051115520,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339578094718976,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:10] 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-22 19:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776867833000,"timestamp_ms":1776867833000,"timestamp_seconds":1776867833,"priority":1,"record_length":96,"hex_timestamp":"0000019db59374a8"} 
[2026-04-22 19:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:55: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-22 19:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:55: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-22 19:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:55:10] 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-22 19:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878162432001,"66":27463,"237":206,"85":15104,"24":38,"16":278593569051115520,"45":9026339578094718976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 19:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878162432001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:55:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 19:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278593569051115520,"km_value":278593569051115.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339578094718976,"description":"Unknown IO ID 45"} 
[2026-04-22 19:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878162432001,"power":27463,"unknown_237":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9026339578094718976}} 
[2026-04-22 19:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":50964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:55:10] local.INFO: GPS data processed {"connection_id":50964,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:55:10] local.INFO: Acknowledgment sent {"connection_id":50964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:55:15] local.INFO: TCP Data received {"connection_id":50965,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:55:15] local.INFO: Processing buffer {"connection_id":50965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:55:15] local.INFO: IMEI packet received {"connection_id":50965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":50965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:55:25] local.INFO: TCP Data received {"connection_id":50965,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:55:25] local.INFO: Processing buffer {"connection_id":50965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:55:25] local.INFO: IMEI packet received {"connection_id":50965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":50965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:55:25] local.INFO: TCP Data received {"connection_id":51541,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:55:25] local.INFO: Processing buffer {"connection_id":51541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:55:25] local.INFO: IMEI packet received {"connection_id":51541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":51541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:55:26] local.INFO: TCP Data received {"connection_id":50965,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:55:26] local.INFO: Processing buffer {"connection_id":50965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:55:26] local.INFO: Packet analysis {"connection_id":50965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:55:26] local.INFO: Extracted packet for processing {"connection_id":50965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878087936001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776867832000,"timestamp_ms":1776867832000,"timestamp_seconds":1776867832,"priority":1,"record_length":96,"hex_timestamp":"0000019db59370c0"} 
[2026-04-22 19:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:55:26] 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-22 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":50965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":50965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":50965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878087936001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878087936001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:55:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878087936001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":50965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:55:26] local.INFO: GPS data processed {"connection_id":50965,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:55:26] local.INFO: Acknowledgment sent {"connection_id":50965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:55:26] local.INFO: TCP Data received {"connection_id":50965,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:55:26] local.INFO: Processing buffer {"connection_id":50965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:55:26] local.INFO: Packet analysis {"connection_id":50965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:55:26] local.INFO: Extracted packet for processing {"connection_id":50965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878087936001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776867832000,"timestamp_ms":1776867832000,"timestamp_seconds":1776867832,"priority":1,"record_length":96,"hex_timestamp":"0000019db59370c0"} 
[2026-04-22 19:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:55:26] 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-22 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":50965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":50965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":50965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878087936001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878087936001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:55:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878087936001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":50965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:55:26] local.INFO: GPS data processed {"connection_id":50965,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:55:26] local.INFO: Acknowledgment sent {"connection_id":50965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:55:27] local.INFO: TCP Data received {"connection_id":51542,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:55:27] local.INFO: Processing buffer {"connection_id":51542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:55:27] local.INFO: IMEI packet received {"connection_id":51542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":51542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:55:32] local.INFO: TCP Data received {"connection_id":51541,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:55:32] local.INFO: Processing buffer {"connection_id":51541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:55:32] local.INFO: IMEI packet received {"connection_id":51541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":51541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:55:32] local.INFO: TCP Data received {"connection_id":51542,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:55:32] local.INFO: Processing buffer {"connection_id":51542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:55:32] local.INFO: IMEI packet received {"connection_id":51542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":51542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:55:32] local.INFO: TCP Data received {"connection_id":51541,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5939fa0012d7d478005cea9e00008000128..."} 
[2026-04-22 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5939fa0012d7d478005cea9e00008000128..."} 
[2026-04-22 19:55:32] local.INFO: Processing buffer {"connection_id":51541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5939fa0012d7d478005cea9e00008000128..."} 
[2026-04-22 19:55:32] local.INFO: Packet analysis {"connection_id":51541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:55:32] local.INFO: Extracted packet for processing {"connection_id":51541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763185024,"raw_latitude":97429984,"longitude_deg":76.3185024,"latitude_deg":9.7429984,"altitude":8,"angle":1,"satellites":40,"speed":20,"hex_longitude":"2d7d4780","hex_latitude":"05cea9e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878165248001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278594024317648896,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265538783232,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:32] 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-22 19:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776867844000,"timestamp_ms":1776867844000,"timestamp_seconds":1776867844,"priority":1,"record_length":96,"hex_timestamp":"0000019db5939fa0"} 
[2026-04-22 19: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-22 19: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-22 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 19:55: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-22 19: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-22 19: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-22 19:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878165248001,"66":27300,"237":206,"85":15104,"24":20,"16":278594024317648896,"45":9027043265538783232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 19:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878165248001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:55:32] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 19:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278594024317648896,"km_value":278594024317648.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265538783232,"description":"Unknown IO ID 45"} 
[2026-04-22 19:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878165248001,"power":27300,"unknown_237":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9027043265538783232}} 
[2026-04-22 19:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":51541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:55:32] local.INFO: GPS data processed {"connection_id":51541,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:55:32] local.INFO: Acknowledgment sent {"connection_id":51541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:55:33] local.INFO: TCP Data received {"connection_id":51542,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:55:33] local.INFO: Processing buffer {"connection_id":51542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:55:33] local.INFO: Packet analysis {"connection_id":51542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:55:33] local.INFO: Extracted packet for processing {"connection_id":51542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19: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-22 19:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:55:33] 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-22 19:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:55:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":51542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:55:33] local.INFO: GPS data processed {"connection_id":51542,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:55:33] local.INFO: Acknowledgment sent {"connection_id":51542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:55:34] local.INFO: TCP Data received {"connection_id":50966,"ip":"5.187.35.26","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-04-22 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-04-22 19:55:34] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-04-22 19:55:34] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":50966,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-04-22 19:56:03] local.INFO: TCP Data received {"connection_id":51541,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db593e208012d7d474005cece980008000027..."} 
[2026-04-22 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db593e208012d7d474005cece980008000027..."} 
[2026-04-22 19:56:03] local.INFO: Processing buffer {"connection_id":51541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db593e208012d7d474005cece980008000027..."} 
[2026-04-22 19:56:03] local.INFO: Packet analysis {"connection_id":51541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:56:03] local.INFO: Extracted packet for processing {"connection_id":51541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763184960,"raw_latitude":97439384,"longitude_deg":76.318496,"latitude_deg":9.7439384,"altitude":8,"angle":0,"satellites":39,"speed":31,"hex_longitude":"2d7d4740","hex_latitude":"05cece98","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878168064001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278594479584182272,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740517879808,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776867861000,"timestamp_ms":1776867861000,"timestamp_seconds":1776867861,"priority":1,"record_length":96,"hex_timestamp":"0000019db593e208"} 
[2026-04-22 19: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-22 19:56: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-22 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 19:56: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-22 19: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-22 19: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-22 19:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878168064001,"66":27463,"237":206,"85":15104,"24":31,"16":278594479584182272,"45":9027324740517879808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-22 19:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878168064001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:56:03] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-22 19:56:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278594479584182272,"km_value":278594479584182.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740517879808,"description":"Unknown IO ID 45"} 
[2026-04-22 19:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878168064001,"power":27463,"unknown_237":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9027324740517879808}} 
[2026-04-22 19:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":51541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:56:03] local.INFO: GPS data processed {"connection_id":51541,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:56:03] local.INFO: Acknowledgment sent {"connection_id":51541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:56:04] local.INFO: TCP Data received {"connection_id":51542,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:56:04] local.INFO: Processing buffer {"connection_id":51542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:56:04] local.INFO: Packet analysis {"connection_id":51542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:56:04] local.INFO: Extracted packet for processing {"connection_id":51542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19: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-22 19:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:56:04] 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-22 19:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:56:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":51542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:56:04] local.INFO: GPS data processed {"connection_id":51542,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:56:04] local.INFO: Acknowledgment sent {"connection_id":51542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:56:14] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:56:14] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:56:14] local.INFO: IMEI packet received {"connection_id":50852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":50852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:56:20] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:56:20] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:56:20] local.INFO: IMEI packet received {"connection_id":50852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":50852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:56:25] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:56:25] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:56:25] local.INFO: IMEI packet received {"connection_id":50852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":50852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:56:25] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:56:25] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:56:25] local.INFO: IMEI packet received {"connection_id":50853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":50853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:56:26] local.INFO: TCP Data received {"connection_id":50571,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:56:26] local.INFO: Processing buffer {"connection_id":50571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:56:26] local.INFO: IMEI packet received {"connection_id":50571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":50571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:56:28] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:56:28] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:56:28] local.INFO: IMEI packet received {"connection_id":50853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":50853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:56:30] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:56:30] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:56:30] local.INFO: IMEI packet received {"connection_id":50853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":50853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:56:31] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5951e70012d7d4a0005d02fe0000800172d..."} 
[2026-04-22 19:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5951e70012d7d4a0005d02fe0000800172d..."} 
[2026-04-22 19:56:31] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5951e70012d7d4a0005d02fe0000800172d..."} 
[2026-04-22 19:56:31] local.INFO: Packet analysis {"connection_id":50853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db595"} 
[2026-04-22 19:56:31] local.INFO: Extracted packet for processing {"connection_id":50853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db595"} 
[2026-04-22 19:56:31] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97529824,"longitude_deg":76.3185664,"latitude_deg":9.7529824,"altitude":8,"angle":23,"satellites":45,"speed":12,"hex_longitude":"2d7d4a00","hex_latitude":"05d02fe0","is_valid_coordinates":true} 
[2026-04-22 19:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878192640001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278598869040758784,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746953008365568,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776867942000,"timestamp_ms":1776867942000,"timestamp_seconds":1776867942,"priority":1,"record_length":96,"hex_timestamp":"0000019db5951e70"} 
[2026-04-22 19:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 19:56: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-22 19:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:56:31] 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-22 19:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878192640001,"66":27484,"198":206,"85":15104,"24":12,"16":278598869040758784,"45":9027746953008365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-04-22 19:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878192640001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:56:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-22 19:56:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278598869040758784,"km_value":278598869040758.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746953008365568,"description":"Unknown IO ID 45"} 
[2026-04-22 19:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878192640001,"power":27484,"unknown_198":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9027746953008365568}} 
[2026-04-22 19:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":50853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:56:31] local.INFO: GPS data processed {"connection_id":50853,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:56:31] local.INFO: Acknowledgment sent {"connection_id":50853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:56:32] local.INFO: TCP Data received {"connection_id":50571,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:56:32] local.INFO: Processing buffer {"connection_id":50571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:56:32] local.INFO: IMEI packet received {"connection_id":50571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:56:33] local.INFO: TCP Data received {"connection_id":50571,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:56:33] local.INFO: Processing buffer {"connection_id":50571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:56:33] local.INFO: Packet analysis {"connection_id":50571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:56:33] local.INFO: Extracted packet for processing {"connection_id":50571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19: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-22 19:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:56:33] 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-22 19:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:56:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":50571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:56:33] local.INFO: GPS data processed {"connection_id":50571,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:56:33] local.INFO: Acknowledgment sent {"connection_id":50571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:56:45] local.INFO: TCP Data received {"connection_id":50852,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:56:45] local.INFO: Processing buffer {"connection_id":50852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:56:45] local.INFO: Packet analysis {"connection_id":50852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:56:45] local.INFO: Extracted packet for processing {"connection_id":50852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878087936001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776867832000,"timestamp_ms":1776867832000,"timestamp_seconds":1776867832,"priority":1,"record_length":96,"hex_timestamp":"0000019db59370c0"} 
[2026-04-22 19:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:56: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-22 19:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:56:45] 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-22 19:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":50852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":50852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878087936001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878087936001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:56:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878087936001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":50852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:56:45] local.INFO: GPS data processed {"connection_id":50852,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:56:45] local.INFO: Acknowledgment sent {"connection_id":50852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:56:55] local.INFO: TCP Data received {"connection_id":51543,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:56:55] local.INFO: Processing buffer {"connection_id":51543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 19:56:55] local.INFO: IMEI packet received {"connection_id":51543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 19:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":51543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:57:04] local.INFO: TCP Data received {"connection_id":50571,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:57:04] local.INFO: Processing buffer {"connection_id":50571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:57:04] local.INFO: Packet analysis {"connection_id":50571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:57:04] local.INFO: Extracted packet for processing {"connection_id":50571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:57:04] 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-22 19:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:57:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":50571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:57:04] local.INFO: GPS data processed {"connection_id":50571,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:57:04] local.INFO: Acknowledgment sent {"connection_id":50571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:57:16] local.INFO: TCP Data received {"connection_id":50853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5952640012d7d4a8005d032a8000800052d..."} 
[2026-04-22 19:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5952640012d7d4a8005d032a8000800052d..."} 
[2026-04-22 19:57:16] local.INFO: Processing buffer {"connection_id":50853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5952640012d7d4a8005d032a8000800052d..."} 
[2026-04-22 19:57:16] local.INFO: Packet analysis {"connection_id":50853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db595"} 
[2026-04-22 19:57:16] local.INFO: Extracted packet for processing {"connection_id":50853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db595"} 
[2026-04-22 19:57:16] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97530536,"longitude_deg":76.3185792,"latitude_deg":9.7530536,"altitude":8,"angle":5,"satellites":45,"speed":18,"hex_longitude":"2d7d4a80","hex_latitude":"05d032a8","is_valid_coordinates":true} 
[2026-04-22 19:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878193152001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278598903400497152,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427985215488,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776867944000,"timestamp_ms":1776867944000,"timestamp_seconds":1776867944,"priority":1,"record_length":96,"hex_timestamp":"0000019db5952640"} 
[2026-04-22 19:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:57: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-22 19:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 19:57:16] 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-22 19:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878193152001,"66":27397,"198":206,"85":15104,"24":18,"16":278598903400497152,"45":9028028427985215488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-04-22 19:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878193152001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:57:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-22 19:57:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278598903400497152,"km_value":278598903400497.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427985215488,"description":"Unknown IO ID 45"} 
[2026-04-22 19:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878193152001,"power":27397,"unknown_198":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9028028427985215488}} 
[2026-04-22 19:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":50853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:57:16] local.INFO: GPS data processed {"connection_id":50853,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:57:16] local.INFO: Acknowledgment sent {"connection_id":50853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:57:25] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:57:25] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:57:25] local.INFO: IMEI packet received {"connection_id":50854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":50854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:57:26] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:57:26] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:57:26] local.INFO: IMEI packet received {"connection_id":50854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":50854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:57:26] local.INFO: TCP Data received {"connection_id":50572,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:57:26] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:57:26] local.INFO: IMEI packet received {"connection_id":50572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":50572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:57:27] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:57:27] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:57:27] local.INFO: Packet analysis {"connection_id":50854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:57:27] local.INFO: Extracted packet for processing {"connection_id":50854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878087936001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776867832000,"timestamp_ms":1776867832000,"timestamp_seconds":1776867832,"priority":1,"record_length":96,"hex_timestamp":"0000019db59370c0"} 
[2026-04-22 19:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:57:27] 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-22 19:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":50854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":50854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":50854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878087936001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878087936001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:57:27] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878087936001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":50854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:57:27] local.INFO: GPS data processed {"connection_id":50854,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:57:27] local.INFO: Acknowledgment sent {"connection_id":50854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:57:30] local.INFO: TCP Data received {"connection_id":50854,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:57:30] local.INFO: Processing buffer {"connection_id":50854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:57:30] local.INFO: Packet analysis {"connection_id":50854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:57:30] local.INFO: Extracted packet for processing {"connection_id":50854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 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-22 19:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878087936001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776867832000,"timestamp_ms":1776867832000,"timestamp_seconds":1776867832,"priority":1,"record_length":96,"hex_timestamp":"0000019db59370c0"} 
[2026-04-22 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-22 19:57:30] 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-22 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:57:30] 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-22 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-22 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-22 19:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":50854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":50854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":50854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878087936001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878087936001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:57:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878087936001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":50854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:57:30] local.INFO: GPS data processed {"connection_id":50854,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:57:30] local.INFO: Acknowledgment sent {"connection_id":50854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:57:32] local.INFO: TCP Data received {"connection_id":50572,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:57:32] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:57:32] local.INFO: IMEI packet received {"connection_id":50572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:57:33] local.INFO: TCP Data received {"connection_id":50572,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:57:33] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:57:33] local.INFO: Packet analysis {"connection_id":50572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:57:33] local.INFO: Extracted packet for processing {"connection_id":50572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:57:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:57:33] local.INFO: GPS data processed {"connection_id":50572,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:57:33] local.INFO: Acknowledgment sent {"connection_id":50572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:57:35] local.INFO: TCP Data received {"connection_id":50855,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:57:35] local.INFO: Processing buffer {"connection_id":50855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:57:35] local.INFO: IMEI packet received {"connection_id":50855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":50855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:57:36] local.INFO: TCP Data received {"connection_id":50855,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:57:36] local.INFO: Processing buffer {"connection_id":50855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:57:36] local.INFO: IMEI packet received {"connection_id":50855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":50855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:57:40] local.INFO: TCP Data received {"connection_id":50855,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:57:40] local.INFO: Processing buffer {"connection_id":50855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:57:40] local.INFO: IMEI packet received {"connection_id":50855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":50855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:57:42] local.INFO: TCP Data received {"connection_id":50855,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59535e0012d7d4a4005d03bd0000801632c..."} 
[2026-04-22 19:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59535e0012d7d4a4005d03bd0000801632c..."} 
[2026-04-22 19:57:42] local.INFO: Processing buffer {"connection_id":50855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59535e0012d7d4a4005d03bd0000801632c..."} 
[2026-04-22 19:57:42] local.INFO: Packet analysis {"connection_id":50855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db595"} 
[2026-04-22 19:57:42] local.INFO: Extracted packet for processing {"connection_id":50855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db595"} 
[2026-04-22 19:57:42] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97532880,"longitude_deg":76.3185728,"latitude_deg":9.753288,"altitude":8,"angle":355,"satellites":44,"speed":26,"hex_longitude":"2d7d4a40","hex_latitude":"05d03bd0","is_valid_coordinates":true} 
[2026-04-22 19:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878193664001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278599019364614144,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165473753088,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776867948000,"timestamp_ms":1776867948000,"timestamp_seconds":1776867948,"priority":1,"record_length":96,"hex_timestamp":"0000019db59535e0"} 
[2026-04-22 19:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:57:42] 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-22 19:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:57:42] 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-22 19:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878193664001,"66":27104,"198":206,"85":15104,"24":26,"16":278599019364614144,"45":9028169165473753088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-04-22 19:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878193664001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:57:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-22 19:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278599019364614144,"km_value":278599019364614.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165473753088,"description":"Unknown IO ID 45"} 
[2026-04-22 19:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878193664001,"power":27104,"unknown_198":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9028169165473753088}} 
[2026-04-22 19:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":50855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:57:42] local.INFO: GPS data processed {"connection_id":50855,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:57:42] local.INFO: Acknowledgment sent {"connection_id":50855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:57:45] local.INFO: TCP Data received {"connection_id":50855,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59560d8012d7d470005d060d8000701622b..."} 
[2026-04-22 19:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59560d8012d7d470005d060d8000701622b..."} 
[2026-04-22 19:57:45] local.INFO: Processing buffer {"connection_id":50855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59560d8012d7d470005d060d8000701622b..."} 
[2026-04-22 19:57:45] local.INFO: Packet analysis {"connection_id":50855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db595"} 
[2026-04-22 19:57:45] local.INFO: Extracted packet for processing {"connection_id":50855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db595"} 
[2026-04-22 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97542360,"longitude_deg":76.3184896,"latitude_deg":9.754236,"altitude":7,"angle":354,"satellites":43,"speed":39,"hex_longitude":"2d7d4700","hex_latitude":"05d060d8","is_valid_coordinates":true} 
[2026-04-22 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-22 19:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878194688001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278599483221082112,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796730175488,"note":"Value kept but may cause issues"} 
[2026-04-22 19:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776867959000,"timestamp_ms":1776867959000,"timestamp_seconds":1776867959,"priority":1,"record_length":96,"hex_timestamp":"0000019db59560d8"} 
[2026-04-22 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-22 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 19:57:45] 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-22 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-22 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-22 19:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":50855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":50855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":50855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878194688001,"66":27517,"197":206,"85":15104,"24":39,"16":278599483221082112,"45":9028098796730175488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-22 19:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878194688001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:57:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-22 19:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278599483221082112,"km_value":278599483221082.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796730175488,"description":"Unknown IO ID 45"} 
[2026-04-22 19:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878194688001,"power":27517,"unknown_197":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9028098796730175488}} 
[2026-04-22 19:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":50855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:57:45] local.INFO: GPS data processed {"connection_id":50855,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:57:45] local.INFO: Acknowledgment sent {"connection_id":50855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:58:04] local.INFO: TCP Data received {"connection_id":50572,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:58:04] local.INFO: Processing buffer {"connection_id":50572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59276c0012d1b040007247bc8002700362c..."} 
[2026-04-22 19:58:04] local.INFO: Packet analysis {"connection_id":50572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:58:04] local.INFO: Extracted packet for processing {"connection_id":50572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db592"} 
[2026-04-22 19:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878071552001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776867768000,"timestamp_ms":1776867768000,"timestamp_seconds":1776867768,"priority":1,"record_length":96,"hex_timestamp":"0000019db59276c0"} 
[2026-04-22 19:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 19:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:58:04] local.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-22 19:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878071552001,"66":2177,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 19:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878071552001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:58:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 19:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878071552001,"power":2177,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":50572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:58:04] local.INFO: GPS data processed {"connection_id":50572,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:58:04] local.INFO: Acknowledgment sent {"connection_id":50572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:58:12] local.INFO: TCP Data received {"connection_id":51544,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:58:12] local.INFO: Processing buffer {"connection_id":51544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:58:12] local.INFO: IMEI packet received {"connection_id":51544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":51544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:58:14] local.INFO: TCP Data received {"connection_id":51544,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:58:14] local.INFO: Processing buffer {"connection_id":51544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:58:14] local.INFO: IMEI packet received {"connection_id":51544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":51544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:58:25] local.INFO: TCP Data received {"connection_id":51544,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:58:25] local.INFO: Processing buffer {"connection_id":51544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:58:25] local.INFO: Packet analysis {"connection_id":51544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:58:25] local.INFO: Extracted packet for processing {"connection_id":51544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:58:25] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878087936001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776867832000,"timestamp_ms":1776867832000,"timestamp_seconds":1776867832,"priority":1,"record_length":96,"hex_timestamp":"0000019db59370c0"} 
[2026-04-22 19:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:58:25] 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-22 19:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:58:25] 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-22 19:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":51544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":51544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":51544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878087936001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878087936001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:58:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:58:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878087936001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":51544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:58:25] local.INFO: GPS data processed {"connection_id":51544,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:58:25] local.INFO: Acknowledgment sent {"connection_id":51544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:58:26] local.INFO: TCP Data received {"connection_id":51544,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:58:26] local.INFO: Processing buffer {"connection_id":51544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59370c0012d7ea44005b5c5e0000b00032a..."} 
[2026-04-22 19:58:26] local.INFO: Packet analysis {"connection_id":51544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:58:26] local.INFO: Extracted packet for processing {"connection_id":51544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 19:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":42,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878087936001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776867832000,"timestamp_ms":1776867832000,"timestamp_seconds":1776867832,"priority":1,"record_length":96,"hex_timestamp":"0000019db59370c0"} 
[2026-04-22 19:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:58:26] 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-22 19:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-22 19:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":51544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":51544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":51544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878087936001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878087936001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:58:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878087936001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":51544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:58:26] local.INFO: GPS data processed {"connection_id":51544,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:58:26] local.INFO: Acknowledgment sent {"connection_id":51544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:58:30] local.INFO: TCP Data received {"connection_id":50574,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:58:30] local.INFO: Processing buffer {"connection_id":50574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:58:30] local.INFO: IMEI packet received {"connection_id":50574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":50574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:58:31] local.INFO: TCP Data received {"connection_id":50574,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:58:31] local.INFO: Processing buffer {"connection_id":50574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:58:31] local.INFO: IMEI packet received {"connection_id":50574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":50574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:58:32] local.INFO: TCP Data received {"connection_id":50968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:58:32] local.INFO: Processing buffer {"connection_id":50968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:58:32] local.INFO: IMEI packet received {"connection_id":50968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:58:35] local.INFO: TCP Data received {"connection_id":50574,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:58:35] local.INFO: Processing buffer {"connection_id":50574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:58:35] local.INFO: IMEI packet received {"connection_id":50574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":50574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:58:36] local.INFO: TCP Data received {"connection_id":50574,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db596d7d8012d7d268005d1e9f0000701642b..."} 
[2026-04-22 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db596d7d8012d7d268005d1e9f0000701642b..."} 
[2026-04-22 19:58:36] local.INFO: Processing buffer {"connection_id":50574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db596d7d8012d7d268005d1e9f0000701642b..."} 
[2026-04-22 19:58:36] local.INFO: Packet analysis {"connection_id":50574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db596"} 
[2026-04-22 19:58:36] local.INFO: Extracted packet for processing {"connection_id":50574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db596"} 
[2026-04-22 19:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763176576,"raw_latitude":97642992,"longitude_deg":76.3176576,"latitude_deg":9.7642992,"altitude":7,"angle":356,"satellites":43,"speed":39,"hex_longitude":"2d7d2680","hex_latitude":"05d1e9f0","is_valid_coordinates":true} 
[2026-04-22 19:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878219520001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278604388073734144,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122524635136,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776868055000,"timestamp_ms":1776868055000,"timestamp_seconds":1776868055,"priority":1,"record_length":96,"hex_timestamp":"0000019db596d7d8"} 
[2026-04-22 19:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:58: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-22 19:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 19:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:58:36] 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-22 19:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878219520001,"66":27343,"23":206,"85":15104,"24":39,"16":278604388073734144,"45":9018810122524635136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-22 19:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878219520001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:58:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 19:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278604388073734144,"km_value":278604388073734.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122524635136,"description":"Unknown IO ID 45"} 
[2026-04-22 19:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878219520001,"power":27343,"unknown_23":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9018810122524635136}} 
[2026-04-22 19:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":50574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:58:36] local.INFO: GPS data processed {"connection_id":50574,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:58:36] local.INFO: Acknowledgment sent {"connection_id":50574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:58:37] local.INFO: TCP Data received {"connection_id":50968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:58:37] local.INFO: Processing buffer {"connection_id":50968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:58:37] local.INFO: IMEI packet received {"connection_id":50968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":50968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:58:38] local.INFO: TCP Data received {"connection_id":50968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 19:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 19:58:38] local.INFO: Processing buffer {"connection_id":50968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 19:58:38] local.INFO: Packet analysis {"connection_id":50968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 19:58:38] local.INFO: Extracted packet for processing {"connection_id":50968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 19:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 19:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:58:38] 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-22 19:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:58:38] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":50968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:58:38] local.INFO: GPS data processed {"connection_id":50968,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:58:38] local.INFO: Acknowledgment sent {"connection_id":50968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:59:09] local.INFO: TCP Data received {"connection_id":50968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 19:59:09] local.INFO: Processing buffer {"connection_id":50968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 19:59:09] local.INFO: Packet analysis {"connection_id":50968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 19:59:09] local.INFO: Extracted packet for processing {"connection_id":50968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 19:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:59:09] local.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-22 19:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:59:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:59:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":50968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:59:09] local.INFO: GPS data processed {"connection_id":50968,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:59:09] local.INFO: Acknowledgment sent {"connection_id":50968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:59:10] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:59:10] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:59:10] local.INFO: IMEI packet received {"connection_id":50856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 19:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":50856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:59:11] local.INFO: TCP Data received {"connection_id":50574,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db596fb00012d7d280005d20e98000700062a..."} 
[2026-04-22 19:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db596fb00012d7d280005d20e98000700062a..."} 
[2026-04-22 19:59:11] local.INFO: Processing buffer {"connection_id":50574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db596fb00012d7d280005d20e98000700062a..."} 
[2026-04-22 19:59:11] local.INFO: Packet analysis {"connection_id":50574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db596"} 
[2026-04-22 19:59:11] local.INFO: Extracted packet for processing {"connection_id":50574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db596"} 
[2026-04-22 19:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97652376,"longitude_deg":76.317696,"latitude_deg":9.7652376,"altitude":7,"angle":6,"satellites":42,"speed":41,"hex_longitude":"2d7d2800","hex_latitude":"05d20e98","is_valid_coordinates":true} 
[2026-04-22 19:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 19:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878222080001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278604843340267520,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018036066340958208,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776868064000,"timestamp_ms":1776868064000,"timestamp_seconds":1776868064,"priority":1,"record_length":96,"hex_timestamp":"0000019db596fb00"} 
[2026-04-22 19:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 19:59: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-22 19:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 19:59: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-22 19:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 19:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 19:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:59:11] 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-22 19:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878222080001,"66":27397,"23":206,"85":15104,"24":41,"16":278604843340267520,"45":9018036066340958208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-22 19:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878222080001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:59:11] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 19:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278604843340267520,"km_value":278604843340267.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018036066340958208,"description":"Unknown IO ID 45"} 
[2026-04-22 19:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878222080001,"power":27397,"unknown_23":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9018036066340958208}} 
[2026-04-22 19:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":50574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:59:11] local.INFO: GPS data processed {"connection_id":50574,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:59:11] local.INFO: Acknowledgment sent {"connection_id":50574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:59:14] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:59:14] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 19:59:14] local.INFO: IMEI packet received {"connection_id":50856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 19:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":50856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:59:16] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:59:16] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:59:16] local.INFO: Packet analysis {"connection_id":50856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 19:59:16] local.INFO: Extracted packet for processing {"connection_id":50856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 19:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 19: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-22 19:59:16] 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-22 19:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 19:59:16] 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-22 19: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-22 19: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-22 19:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:59:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":50856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:59:16] local.INFO: GPS data processed {"connection_id":50856,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:59:16] local.INFO: Acknowledgment sent {"connection_id":50856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:59:25] local.INFO: TCP Data received {"connection_id":50576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:59:25] local.INFO: Processing buffer {"connection_id":50576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:59:25] local.INFO: IMEI packet received {"connection_id":50576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 19:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":50576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:59:27] local.INFO: TCP Data received {"connection_id":50577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:59:27] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:59:27] local.INFO: IMEI packet received {"connection_id":50577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 19:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":50577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 19:59:30] local.INFO: TCP Data received {"connection_id":50576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:59:30] local.INFO: Processing buffer {"connection_id":50576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 19:59:30] local.INFO: IMEI packet received {"connection_id":50576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 19:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":50576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:59:32] local.INFO: TCP Data received {"connection_id":50576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db596fb00012d7d280005d20e98000700062a..."} 
[2026-04-22 19:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db596fb00012d7d280005d20e98000700062a..."} 
[2026-04-22 19:59:32] local.INFO: Processing buffer {"connection_id":50576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db596fb00012d7d280005d20e98000700062a..."} 
[2026-04-22 19:59:32] local.INFO: Packet analysis {"connection_id":50576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db596"} 
[2026-04-22 19:59:32] local.INFO: Extracted packet for processing {"connection_id":50576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db596"} 
[2026-04-22 19:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97652376,"longitude_deg":76.317696,"latitude_deg":9.7652376,"altitude":7,"angle":6,"satellites":42,"speed":41,"hex_longitude":"2d7d2800","hex_latitude":"05d20e98","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878224384001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278604843340267520,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278808426496,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776868064000,"timestamp_ms":1776868064000,"timestamp_seconds":1776868064,"priority":1,"record_length":96,"hex_timestamp":"0000019db596fb00"} 
[2026-04-22 19: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-22 19:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 19:59: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-22 19: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-22 19: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-22 19:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 19:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 19:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 19:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878224384001,"66":27397,"23":206,"85":15104,"24":41,"16":278604843340267520,"45":9018458278808426496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-22 19:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 19:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 19:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878224384001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:59:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-22 19:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 19:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278604843340267520,"km_value":278604843340267.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278808426496,"description":"Unknown IO ID 45"} 
[2026-04-22 19:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878224384001,"power":27397,"unknown_23":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9018458278808426496}} 
[2026-04-22 19:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":50576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:59:32] local.INFO: GPS data processed {"connection_id":50576,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:59:32] local.INFO: Acknowledgment sent {"connection_id":50576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:59:32] local.INFO: TCP Data received {"connection_id":50577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:59:32] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 19:59:32] local.INFO: IMEI packet received {"connection_id":50577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 19:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":50577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 19:59:33] local.INFO: TCP Data received {"connection_id":50577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 19:59:33] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 19:59:33] local.INFO: Packet analysis {"connection_id":50577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 19:59:33] local.INFO: Extracted packet for processing {"connection_id":50577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 19:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 19: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-22 19:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 19:59:33] 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-22 19: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-22 19: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-22 19:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 19:59:33] local.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-22 19:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 19:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 19:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 19:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 19:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 19:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:59:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 19:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 19:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 19:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 19:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":50577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:59:33] local.INFO: GPS data processed {"connection_id":50577,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:59:33] local.INFO: Acknowledgment sent {"connection_id":50577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 19:59:47] local.INFO: TCP Data received {"connection_id":50856,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:59:47] local.INFO: Processing buffer {"connection_id":50856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 19:59:47] local.INFO: Packet analysis {"connection_id":50856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 19:59:47] local.INFO: Extracted packet for processing {"connection_id":50856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 19:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 19: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-22 19:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 19:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 19:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 19: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-22 19:59:47] 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-22 19: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 19:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 19: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-22 19: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-22 19:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 19:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 19:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 19:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 19:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 19:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 19:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 19:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 19:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 19:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 19:59:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 19:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 19:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 19:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 19:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 19:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":50856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 19:59:47] local.INFO: GPS data processed {"connection_id":50856,"processed":1,"errors":0,"total":1} 
[2026-04-22 19:59:47] local.INFO: Acknowledgment sent {"connection_id":50856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:00:03] local.INFO: TCP Data received {"connection_id":50576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5971e28012d7d2e8005d23268000700092b..."} 
[2026-04-22 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5971e28012d7d2e8005d23268000700092b..."} 
[2026-04-22 20:00:03] local.INFO: Processing buffer {"connection_id":50576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5971e28012d7d2e8005d23268000700092b..."} 
[2026-04-22 20:00:03] local.INFO: Packet analysis {"connection_id":50576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:00:03] local.INFO: Extracted packet for processing {"connection_id":50576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763178624,"raw_latitude":97661544,"longitude_deg":76.3178624,"latitude_deg":9.7661544,"altitude":7,"angle":9,"satellites":43,"speed":45,"hex_longitude":"2d7d2e80","hex_latitude":"05d23268","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878224384001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278605294311833600,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278808426496,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:03] 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-22 20:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776868073000,"timestamp_ms":1776868073000,"timestamp_seconds":1776868073,"priority":1,"record_length":96,"hex_timestamp":"0000019db5971e28"} 
[2026-04-22 20: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-22 20:00: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-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:00: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-22 20: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-22 20: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-22 20:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878224384001,"66":27365,"117":206,"85":15104,"24":45,"16":278605294311833600,"45":9018458278808426496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-22 20:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878224384001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:00:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-22 20:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278605294311833600,"km_value":278605294311833.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278808426496,"description":"Unknown IO ID 45"} 
[2026-04-22 20:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878224384001,"power":27365,"unknown_117":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9018458278808426496}} 
[2026-04-22 20:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":50576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:00:03] local.INFO: GPS data processed {"connection_id":50576,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:00:03] local.INFO: Acknowledgment sent {"connection_id":50576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:00:04] local.INFO: TCP Data received {"connection_id":50577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:00:04] local.INFO: Processing buffer {"connection_id":50577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:00:04] local.INFO: Packet analysis {"connection_id":50577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:00:04] local.INFO: Extracted packet for processing {"connection_id":50577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 20: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-22 20:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 20:00:04] 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-22 20: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-22 20: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-22 20:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:00:04] local.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-22 20:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 20:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:00:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 20:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":50577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:00:04] local.INFO: GPS data processed {"connection_id":50577,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:00:04] local.INFO: Acknowledgment sent {"connection_id":50577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:00:19] local.INFO: TCP Data received {"connection_id":51545,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:00:19] local.INFO: Processing buffer {"connection_id":51545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:00:19] local.INFO: IMEI packet received {"connection_id":51545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":51545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:00:25] local.INFO: TCP Data received {"connection_id":51545,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:00:25] local.INFO: Processing buffer {"connection_id":51545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:00:25] local.INFO: IMEI packet received {"connection_id":51545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":51545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:00:25] local.INFO: TCP Data received {"connection_id":50579,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:00:25] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:00:25] local.INFO: IMEI packet received {"connection_id":50579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":50579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:00:25] local.INFO: TCP Data received {"connection_id":51545,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:00:26] local.INFO: Processing buffer {"connection_id":51545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:00:26] local.INFO: Packet analysis {"connection_id":51545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:00:26] local.INFO: Extracted packet for processing {"connection_id":51545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 20:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":51545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":51545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":51545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:00:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":51545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:00:26] local.INFO: GPS data processed {"connection_id":51545,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:00:26] local.INFO: Acknowledgment sent {"connection_id":51545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:00:27] local.INFO: TCP Data received {"connection_id":51546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:00:27] local.INFO: Processing buffer {"connection_id":51546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:00:27] local.INFO: IMEI packet received {"connection_id":51546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":51546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:00:31] local.INFO: TCP Data received {"connection_id":51546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:00:31] local.INFO: Processing buffer {"connection_id":51546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:00:31] local.INFO: IMEI packet received {"connection_id":51546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":51546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:00:32] local.INFO: TCP Data received {"connection_id":51546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:00:32] local.INFO: Processing buffer {"connection_id":51546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:00:32] local.INFO: Packet analysis {"connection_id":51546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:00:32] local.INFO: Extracted packet for processing {"connection_id":51546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 20: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-22 20:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 20:00:32] 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-22 20: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-22 20: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-22 20:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 20:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:00:32] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 20:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":51546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:00:33] local.INFO: GPS data processed {"connection_id":51546,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:00:33] local.INFO: Acknowledgment sent {"connection_id":51546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:00:35] local.INFO: TCP Data received {"connection_id":50579,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:00:35] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:00:35] local.INFO: IMEI packet received {"connection_id":50579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":50579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:00:36] local.INFO: TCP Data received {"connection_id":50579,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5974150012d7d358005d256100007000b2b..."} 
[2026-04-22 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5974150012d7d358005d256100007000b2b..."} 
[2026-04-22 20:00:36] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5974150012d7d358005d256100007000b2b..."} 
[2026-04-22 20:00:36] local.INFO: Packet analysis {"connection_id":50579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:00:36] local.INFO: Extracted packet for processing {"connection_id":50579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":97670672,"longitude_deg":76.3180416,"latitude_deg":9.7670672,"altitude":7,"angle":11,"satellites":43,"speed":34,"hex_longitude":"2d7d3580","hex_latitude":"05d25610","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878226688001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278605745283399680,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020287866159392768,"note":"Value kept but may cause issues"} 
[2026-04-22 20:00:36] 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-22 20:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776868082000,"timestamp_ms":1776868082000,"timestamp_seconds":1776868082,"priority":1,"record_length":96,"hex_timestamp":"0000019db5974150"} 
[2026-04-22 20: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-22 20:00: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-22 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 20:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:00:36] 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-22 20:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878226688001,"66":27397,"117":206,"85":15104,"24":34,"16":278605745283399680,"45":9020287866159392768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-22 20:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878226688001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:00:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-22 20:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278605745283399680,"km_value":278605745283399.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020287866159392768,"description":"Unknown IO ID 45"} 
[2026-04-22 20:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878226688001,"power":27397,"unknown_117":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9020287866159392768}} 
[2026-04-22 20:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":50579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:00:36] local.INFO: GPS data processed {"connection_id":50579,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:00:36] local.INFO: Acknowledgment sent {"connection_id":50579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:01:07] local.INFO: TCP Data received {"connection_id":50579,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59944f0012d7d3dc005d452300000016428..."} 
[2026-04-22 20:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59944f0012d7d3dc005d452300000016428..."} 
[2026-04-22 20:01:07] local.INFO: Processing buffer {"connection_id":50579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59944f0012d7d3dc005d452300000016428..."} 
[2026-04-22 20:01:07] local.INFO: Packet analysis {"connection_id":50579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:01:07] local.INFO: Extracted packet for processing {"connection_id":50579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97800752,"longitude_deg":76.3182528,"latitude_deg":9.7800752,"altitude":0,"angle":356,"satellites":40,"speed":51,"hex_longitude":"2d7d3dc0","hex_latitude":"05d45230","is_valid_coordinates":true} 
[2026-04-22 20:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878260992001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278612071770226688,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572052645888,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:07] 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-22 20:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776868214000,"timestamp_ms":1776868214000,"timestamp_seconds":1776868214,"priority":1,"record_length":96,"hex_timestamp":"0000019db59944f0"} 
[2026-04-22 20:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:01: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-22 20:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 20:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:01: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-22 20:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878260992001,"66":27332,"254":206,"85":15104,"24":51,"16":278612071770226688,"45":9025002572052645888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-22 20:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878260992001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:01:07] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-22 20:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278612071770226688,"km_value":278612071770226.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572052645888,"description":"Unknown IO ID 45"} 
[2026-04-22 20:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878260992001,"power":27332,"unknown_254":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9025002572052645888}} 
[2026-04-22 20:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":50579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:01:07] local.INFO: GPS data processed {"connection_id":50579,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:01:07] local.INFO: Acknowledgment sent {"connection_id":50579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:01:13] local.INFO: TCP Data received {"connection_id":51546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:01:13] local.INFO: Processing buffer {"connection_id":51546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:01:13] local.INFO: Packet analysis {"connection_id":51546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:01:13] local.INFO: Extracted packet for processing {"connection_id":51546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 20: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-22 20:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 20:01:13] 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-22 20: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-22 20: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-22 20:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":51546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":51546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":51546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:01: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-22 20:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 20:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:01:13] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 20:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":51546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:01:13] local.INFO: GPS data processed {"connection_id":51546,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:01:13] local.INFO: Acknowledgment sent {"connection_id":51546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:01:15] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:01:15] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:01:15] local.INFO: IMEI packet received {"connection_id":50858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":50858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:01:20] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:01:20] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:01:20] local.INFO: IMEI packet received {"connection_id":50858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":50858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:01:20] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:01:20] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:01:20] local.INFO: Packet analysis {"connection_id":50858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:01:20] local.INFO: Extracted packet for processing {"connection_id":50858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:01:20] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 20: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-22 20:01: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-22 20:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:01:20] 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-22 20: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-22 20: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-22 20:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":50858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":50858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":50858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:01:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:01:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":50858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:01:21] local.INFO: GPS data processed {"connection_id":50858,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:01:21] local.INFO: Acknowledgment sent {"connection_id":50858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:01:25] local.INFO: TCP Data received {"connection_id":50969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:01:25] local.INFO: Processing buffer {"connection_id":50969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:01:25] local.INFO: IMEI packet received {"connection_id":50969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":50969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:01:26] local.INFO: TCP Data received {"connection_id":50858,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:01:26] local.INFO: Processing buffer {"connection_id":50858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:01:26] local.INFO: Packet analysis {"connection_id":50858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:01:26] local.INFO: Extracted packet for processing {"connection_id":50858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 20:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":50858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":50858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":50858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:01:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":50858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:01:26] local.INFO: GPS data processed {"connection_id":50858,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:01:26] local.INFO: Acknowledgment sent {"connection_id":50858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:01:30] local.INFO: TCP Data received {"connection_id":50580,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:01:30] local.INFO: Processing buffer {"connection_id":50580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:01:30] local.INFO: IMEI packet received {"connection_id":50580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":50580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:01:31] local.INFO: TCP Data received {"connection_id":50580,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:01:31] local.INFO: Processing buffer {"connection_id":50580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:01:31] local.INFO: IMEI packet received {"connection_id":50580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:01:33] local.INFO: TCP Data received {"connection_id":50969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:01:33] local.INFO: Processing buffer {"connection_id":50969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:01:33] local.INFO: IMEI packet received {"connection_id":50969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":50969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:01:35] local.INFO: TCP Data received {"connection_id":50969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5996048012d7d398005d476180000015d24..."} 
[2026-04-22 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5996048012d7d398005d476180000015d24..."} 
[2026-04-22 20:01:35] local.INFO: Processing buffer {"connection_id":50969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5996048012d7d398005d476180000015d24..."} 
[2026-04-22 20:01:35] local.INFO: Packet analysis {"connection_id":50969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:01:35] local.INFO: Extracted packet for processing {"connection_id":50969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97809944,"longitude_deg":76.318144,"latitude_deg":9.7809944,"altitude":0,"angle":349,"satellites":36,"speed":51,"hex_longitude":"2d7d3980","hex_latitude":"05d47618","is_valid_coordinates":true} 
[2026-04-22 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878262784001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278612518446825472,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359589867520,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:35] 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-22 20:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776868221000,"timestamp_ms":1776868221000,"timestamp_seconds":1776868221,"priority":1,"record_length":96,"hex_timestamp":"0000019db5996048"} 
[2026-04-22 20:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 20:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:01:35] 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-22 20:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878262784001,"66":27484,"254":206,"85":15104,"24":51,"16":278612518446825472,"45":9024580359589867520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-22 20:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878262784001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:01:35] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-22 20:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278612518446825472,"km_value":278612518446825.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359589867520,"description":"Unknown IO ID 45"} 
[2026-04-22 20:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878262784001,"power":27484,"unknown_254":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9024580359589867520}} 
[2026-04-22 20:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":50969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:01:35] local.INFO: GPS data processed {"connection_id":50969,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:01:35] local.INFO: Acknowledgment sent {"connection_id":50969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:01:37] local.INFO: TCP Data received {"connection_id":50580,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:01:37] local.INFO: Processing buffer {"connection_id":50580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:01:37] local.INFO: IMEI packet received {"connection_id":50580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":50580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:01:38] local.INFO: TCP Data received {"connection_id":50580,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:01:38] local.INFO: Processing buffer {"connection_id":50580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:01:38] local.INFO: Packet analysis {"connection_id":50580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:01:38] local.INFO: Extracted packet for processing {"connection_id":50580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 20:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 20:01:38] 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-22 20:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:01:38] 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-22 20:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 20:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:01:38] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 20:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":50580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:01:38] local.INFO: GPS data processed {"connection_id":50580,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:01:38] local.INFO: Acknowledgment sent {"connection_id":50580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:02:06] local.INFO: TCP Data received {"connection_id":50969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5997ba0012d7d330005d498f00000016021..."} 
[2026-04-22 20:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5997ba0012d7d330005d498f00000016021..."} 
[2026-04-22 20:02:06] local.INFO: Processing buffer {"connection_id":50969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5997ba0012d7d330005d498f00000016021..."} 
[2026-04-22 20:02:06] local.INFO: Packet analysis {"connection_id":50969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:02:06] local.INFO: Extracted packet for processing {"connection_id":50969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97818864,"longitude_deg":76.3179776,"latitude_deg":9.7818864,"altitude":0,"angle":352,"satellites":33,"speed":52,"hex_longitude":"2d7d3300","hex_latitude":"05d498f0","is_valid_coordinates":true} 
[2026-04-22 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878264576001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278612960828456960,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090941200384,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:06] 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-22 20:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776868228000,"timestamp_ms":1776868228000,"timestamp_seconds":1776868228,"priority":1,"record_length":96,"hex_timestamp":"0000019db5997ba0"} 
[2026-04-22 20:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:02: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-22 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 20:02: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-22 20:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":50969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":50969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":50969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:02:06] 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-22 20:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878264576001,"66":27376,"254":206,"85":15104,"24":52,"16":278612960828456960,"45":9023384090941200384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-22 20:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878264576001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:02:06] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-22 20:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278612960828456960,"km_value":278612960828456.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090941200384,"description":"Unknown IO ID 45"} 
[2026-04-22 20:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878264576001,"power":27376,"unknown_254":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9023384090941200384}} 
[2026-04-22 20:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":50969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:02:06] local.INFO: GPS data processed {"connection_id":50969,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:02:06] local.INFO: Acknowledgment sent {"connection_id":50969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:02:09] local.INFO: TCP Data received {"connection_id":50580,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:02:09] local.INFO: Processing buffer {"connection_id":50580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:02:09] local.INFO: Packet analysis {"connection_id":50580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:02:09] local.INFO: Extracted packet for processing {"connection_id":50580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 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-22 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 20:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 20:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:02:09] 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-22 20:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 20:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:02:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 20:02:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":50580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:02:09] local.INFO: GPS data processed {"connection_id":50580,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:02:09] local.INFO: Acknowledgment sent {"connection_id":50580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:02:10] local.INFO: TCP Data received {"connection_id":50582,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:02:10] local.INFO: Processing buffer {"connection_id":50582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:02:10] local.INFO: IMEI packet received {"connection_id":50582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":50582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:02:15] local.INFO: TCP Data received {"connection_id":50582,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:02:15] local.INFO: Processing buffer {"connection_id":50582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:02:15] local.INFO: IMEI packet received {"connection_id":50582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":50582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:02:15] local.INFO: TCP Data received {"connection_id":50582,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:02:16] local.INFO: Processing buffer {"connection_id":50582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:02:16] local.INFO: Packet analysis {"connection_id":50582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:02:16] local.INFO: Extracted packet for processing {"connection_id":50582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 20:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:02:16] 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-22 20:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:02:16] 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-22 20:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":50582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":50582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":50582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:02:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":50582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:02:16] local.INFO: GPS data processed {"connection_id":50582,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:02:16] local.INFO: Acknowledgment sent {"connection_id":50582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:02:25] local.INFO: TCP Data received {"connection_id":50970,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:02:25] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:02:25] local.INFO: IMEI packet received {"connection_id":50970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":50970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:02:27] local.INFO: TCP Data received {"connection_id":50583,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:02:27] local.INFO: Processing buffer {"connection_id":50583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:02:27] local.INFO: IMEI packet received {"connection_id":50583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:02:30] local.INFO: TCP Data received {"connection_id":50970,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:02:30] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:02:30] local.INFO: IMEI packet received {"connection_id":50970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":50970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:02:30] local.INFO: TCP Data received {"connection_id":50581,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:02:30] local.INFO: Processing buffer {"connection_id":50581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:02:30] local.INFO: IMEI packet received {"connection_id":50581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":50581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:02:31] local.INFO: TCP Data received {"connection_id":50970,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59996f8012d7d2dc005d4bb480000015e23..."} 
[2026-04-22 20:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59996f8012d7d2dc005d4bb480000015e23..."} 
[2026-04-22 20:02:31] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59996f8012d7d2dc005d4bb480000015e23..."} 
[2026-04-22 20:02:31] local.INFO: Packet analysis {"connection_id":50970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:02:31] local.INFO: Extracted packet for processing {"connection_id":50970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":97827656,"longitude_deg":76.3178432,"latitude_deg":9.7827656,"altitude":0,"angle":350,"satellites":35,"speed":46,"hex_longitude":"2d7d2dc0","hex_latitude":"05d4bb48","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878266368001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278613390325186560,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503594864640,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:31] 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-22 20:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776868235000,"timestamp_ms":1776868235000,"timestamp_seconds":1776868235,"priority":1,"record_length":96,"hex_timestamp":"0000019db59996f8"} 
[2026-04-22 20: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-22 20:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 20:02: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-22 20: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-22 20: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-22 20:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:02:31] 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-22 20:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878266368001,"66":26963,"254":206,"85":15104,"24":46,"16":278613390325186560,"45":9021554503594864640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-22 20:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878266368001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:02:31] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-22 20:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278613390325186560,"km_value":278613390325186.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503594864640,"description":"Unknown IO ID 45"} 
[2026-04-22 20:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878266368001,"power":26963,"unknown_254":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9021554503594864640}} 
[2026-04-22 20:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":50970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:02:31] local.INFO: GPS data processed {"connection_id":50970,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:02:31] local.INFO: Acknowledgment sent {"connection_id":50970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:02:32] local.INFO: TCP Data received {"connection_id":50583,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:02:32] local.INFO: Processing buffer {"connection_id":50583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:02:32] local.INFO: IMEI packet received {"connection_id":50583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:02:33] local.INFO: TCP Data received {"connection_id":50583,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:02:33] local.INFO: Processing buffer {"connection_id":50583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:02:33] local.INFO: Packet analysis {"connection_id":50583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:02:33] local.INFO: Extracted packet for processing {"connection_id":50583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 20: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-22 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 20:02:33] 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-22 20: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-22 20: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-22 20:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 20:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:02:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 20:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:02:33] local.INFO: GPS data processed {"connection_id":50583,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:02:33] local.INFO: Acknowledgment sent {"connection_id":50583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:02:47] local.INFO: TCP Data received {"connection_id":50582,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:02:47] local.INFO: Processing buffer {"connection_id":50582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:02:47] local.INFO: Packet analysis {"connection_id":50582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:02:47] local.INFO: Extracted packet for processing {"connection_id":50582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 20:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:02:47] 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-22 20:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:02:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":50582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:02:47] local.INFO: GPS data processed {"connection_id":50582,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:02:47] local.INFO: Acknowledgment sent {"connection_id":50582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:02:50] local.INFO: TCP Data received {"connection_id":51547,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:02:50] local.INFO: Processing buffer {"connection_id":51547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:02:50] local.INFO: IMEI packet received {"connection_id":51547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":51547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:03:02] local.INFO: TCP Data received {"connection_id":50970,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db599ba20012d7d298005d4e1100000016221..."} 
[2026-04-22 20:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db599ba20012d7d298005d4e1100000016221..."} 
[2026-04-22 20:03:02] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db599ba20012d7d298005d4e1100000016221..."} 
[2026-04-22 20:03:02] local.INFO: Packet analysis {"connection_id":50970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:03:02] local.INFO: Extracted packet for processing {"connection_id":50970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db599"} 
[2026-04-22 20:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":97837328,"longitude_deg":76.3177344,"latitude_deg":9.7837328,"altitude":0,"angle":354,"satellites":33,"speed":39,"hex_longitude":"2d7d2980","hex_latitude":"05d4e110","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878268160001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278613862771589120,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020076759969384448,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:02] 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-22 20:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776868244000,"timestamp_ms":1776868244000,"timestamp_seconds":1776868244,"priority":1,"record_length":96,"hex_timestamp":"0000019db599ba20"} 
[2026-04-22 20: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-22 20:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-04-22 20:03:02] 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-22 20: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-22 20: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-22 20:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878268160001,"66":27397,"254":206,"85":15104,"24":39,"16":278613862771589120,"45":9020076759969384448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-22 20:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878268160001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:03:02] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-22 20:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278613862771589120,"km_value":278613862771589.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020076759969384448,"description":"Unknown IO ID 45"} 
[2026-04-22 20:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878268160001,"power":27397,"unknown_254":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9020076759969384448}} 
[2026-04-22 20:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":50970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:03:02] local.INFO: GPS data processed {"connection_id":50970,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:03:02] local.INFO: Acknowledgment sent {"connection_id":50970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:03:04] local.INFO: TCP Data received {"connection_id":50583,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:03:04] local.INFO: Processing buffer {"connection_id":50583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5970e88012d1b040007247bc8002700362e..."} 
[2026-04-22 20:03:04] local.INFO: Packet analysis {"connection_id":50583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:03:04] local.INFO: Extracted packet for processing {"connection_id":50583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db597"} 
[2026-04-22 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":46,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878148608001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776868069000,"timestamp_ms":1776868069000,"timestamp_seconds":1776868069,"priority":1,"record_length":96,"hex_timestamp":"0000019db5970e88"} 
[2026-04-22 20:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 20:03:04] 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-22 20:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:03:04] 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-22 20:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878148608001,"66":2166,"175":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-04-22 20:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878148608001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:03:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-22 20:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878148608001,"power":2166,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:03:04] local.INFO: GPS data processed {"connection_id":50583,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:03:04] local.INFO: Acknowledgment sent {"connection_id":50583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:03:12] local.INFO: TCP Data received {"connection_id":51548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:03:12] local.INFO: Processing buffer {"connection_id":51548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:03:12] local.INFO: IMEI packet received {"connection_id":51548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":51548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:03:14] local.INFO: TCP Data received {"connection_id":51548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:03:14] local.INFO: Processing buffer {"connection_id":51548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:03:14] local.INFO: IMEI packet received {"connection_id":51548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":51548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:03:15] local.INFO: TCP Data received {"connection_id":51548,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:03:15] local.INFO: Processing buffer {"connection_id":51548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:03:15] local.INFO: Packet analysis {"connection_id":51548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:03:15] local.INFO: Extracted packet for processing {"connection_id":51548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:03:15] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 20: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-22 20:03: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-22 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":51548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":51548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":51548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:03:15] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:03:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":51548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:03:15] local.INFO: GPS data processed {"connection_id":51548,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:03:15] local.INFO: Acknowledgment sent {"connection_id":51548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:03:20] local.INFO: TCP Data received {"connection_id":51548,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:03:20] local.INFO: Processing buffer {"connection_id":51548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:03:20] local.INFO: Packet analysis {"connection_id":51548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:03:20] local.INFO: Extracted packet for processing {"connection_id":51548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:03:20] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 20:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:03: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-22 20:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:03:20] 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-22 20:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":51548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":51548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":51548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:03:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":51548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:03:20] local.INFO: GPS data processed {"connection_id":51548,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:03:20] local.INFO: Acknowledgment sent {"connection_id":51548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:03:26] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:03:26] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:03:26] local.INFO: IMEI packet received {"connection_id":50860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":50860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:03:26] local.INFO: TCP Data received {"connection_id":50859,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:03:26] local.INFO: Processing buffer {"connection_id":50859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:03:26] local.INFO: IMEI packet received {"connection_id":50859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":50859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:03:27] local.INFO: TCP Data received {"connection_id":50859,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:03:27] local.INFO: Processing buffer {"connection_id":50859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:03:27] local.INFO: IMEI packet received {"connection_id":50859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":50859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:03:30] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:03:30] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:03:30] local.INFO: IMEI packet received {"connection_id":50860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":50860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:03:32] local.INFO: TCP Data received {"connection_id":50859,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:03:32] local.INFO: Processing buffer {"connection_id":50859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:03:32] local.INFO: IMEI packet received {"connection_id":50859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":50859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:03:33] local.INFO: TCP Data received {"connection_id":50859,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:03:33] local.INFO: Processing buffer {"connection_id":50859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:03:33] local.INFO: Packet analysis {"connection_id":50859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:03:33] local.INFO: Extracted packet for processing {"connection_id":50859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878225664001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776868370000,"timestamp_ms":1776868370000,"timestamp_seconds":1776868370,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ba650"} 
[2026-04-22 20: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-22 20:03:33] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878225664001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878225664001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:03:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878225664001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":50859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:03:33] local.INFO: GPS data processed {"connection_id":50859,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:03:33] local.INFO: Acknowledgment sent {"connection_id":50859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:03:35] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:03:35] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:03:35] local.INFO: IMEI packet received {"connection_id":50860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":50860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:03:40] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59b2950012d7cef4005d645600000016026..."} 
[2026-04-22 20:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59b2950012d7cef4005d645600000016026..."} 
[2026-04-22 20:03:40] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59b2950012d7cef4005d645600000016026..."} 
[2026-04-22 20:03:40] local.INFO: Packet analysis {"connection_id":50860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:03:40] local.INFO: Extracted packet for processing {"connection_id":50860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763162432,"raw_latitude":97928544,"longitude_deg":76.3162432,"latitude_deg":9.7928544,"altitude":0,"angle":352,"satellites":38,"speed":42,"hex_longitude":"2d7cef40","hex_latitude":"05d64560","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878292224001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278618381077184512,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003680842599311360,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:40] 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-22 20:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776868338000,"timestamp_ms":1776868338000,"timestamp_seconds":1776868338,"priority":1,"record_length":96,"hex_timestamp":"0000019db59b2950"} 
[2026-04-22 20: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-22 20:03: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-22 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:03: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-22 20: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-22 20: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-22 20:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:03:40] 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-22 20:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878292224001,"66":27267,"30":206,"85":15104,"24":42,"16":278618381077184512,"45":9003680842599311360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 20:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878292224001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:03:40] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 20:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278618381077184512,"km_value":278618381077184.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003680842599311360,"description":"Unknown IO ID 45"} 
[2026-04-22 20:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878292224001,"power":27267,"unknown_30":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9003680842599311360}} 
[2026-04-22 20:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":50860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:03:40] local.INFO: GPS data processed {"connection_id":50860,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:03:40] local.INFO: Acknowledgment sent {"connection_id":50860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:03:49] local.INFO: TCP Data received {"connection_id":50860,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59b4c78012d7ceb4005d66af00000016224..."} 
[2026-04-22 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59b4c78012d7ceb4005d66af00000016224..."} 
[2026-04-22 20:03:49] local.INFO: Processing buffer {"connection_id":50860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59b4c78012d7ceb4005d66af00000016224..."} 
[2026-04-22 20:03:49] local.INFO: Packet analysis {"connection_id":50860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:03:49] local.INFO: Extracted packet for processing {"connection_id":50860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:03:49] local.INFO: GPS Element Parsed {"raw_longitude":763161408,"raw_latitude":97938160,"longitude_deg":76.3161408,"latitude_deg":9.793816,"altitude":0,"angle":354,"satellites":36,"speed":41,"hex_longitude":"2d7ceb40","hex_latitude":"05d66af0","is_valid_coordinates":true} 
[2026-04-22 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-22 20:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878294528001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278618853523587072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002484573950795776,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:49] 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-22 20:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776868347000,"timestamp_ms":1776868347000,"timestamp_seconds":1776868347,"priority":1,"record_length":96,"hex_timestamp":"0000019db59b4c78"} 
[2026-04-22 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-22 20:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 20:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 20:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":50860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":50860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":50860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878294528001,"66":27376,"30":206,"85":15104,"24":41,"16":278618853523587072,"45":9002484573950795776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 20:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878294528001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:03:49] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 20:03:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278618853523587072,"km_value":278618853523587.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002484573950795776,"description":"Unknown IO ID 45"} 
[2026-04-22 20:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878294528001,"power":27376,"unknown_30":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9002484573950795776}} 
[2026-04-22 20:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":50860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:03:49] local.INFO: GPS data processed {"connection_id":50860,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:03:49] local.INFO: Acknowledgment sent {"connection_id":50860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:03:51] local.INFO: TCP Data received {"connection_id":51548,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:03:51] local.INFO: Processing buffer {"connection_id":51548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5980888012d7ea44005b5c5e0000b000329..."} 
[2026-04-22 20:03:51] local.INFO: Packet analysis {"connection_id":51548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:03:51] local.INFO: Extracted packet for processing {"connection_id":51548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db598"} 
[2026-04-22 20:03:51] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":41,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878164992001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776868133000,"timestamp_ms":1776868133000,"timestamp_seconds":1776868133,"priority":1,"record_length":96,"hex_timestamp":"0000019db5980888"} 
[2026-04-22 20: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-22 20:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":51548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":51548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":51548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878164992001,"66":2242,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878164992001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:03:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878164992001,"power":2242,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":51548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:03:51] local.INFO: GPS data processed {"connection_id":51548,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:03:51] local.INFO: Acknowledgment sent {"connection_id":51548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:04:04] local.INFO: TCP Data received {"connection_id":50859,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:04:04] local.INFO: Processing buffer {"connection_id":50859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:04:04] local.INFO: Packet analysis {"connection_id":50859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:04:04] local.INFO: Extracted packet for processing {"connection_id":50859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878225664001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776868370000,"timestamp_ms":1776868370000,"timestamp_seconds":1776868370,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ba650"} 
[2026-04-22 20: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-22 20:04:04] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:04:04] 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-22 20:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878225664001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878225664001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:04:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878225664001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":50859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:04:04] local.INFO: GPS data processed {"connection_id":50859,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:04:04] local.INFO: Acknowledgment sent {"connection_id":50859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:04:10] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:04:10] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:04:10] local.INFO: IMEI packet received {"connection_id":50862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":50862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:04:14] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:04:14] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:04:14] local.INFO: IMEI packet received {"connection_id":50862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":50862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:04:15] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:04:15] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:04:15] local.INFO: Packet analysis {"connection_id":50862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:04:15] local.INFO: Extracted packet for processing {"connection_id":50862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:04:15] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 20:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:04: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-22 20:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:04:15] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:04:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":50862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:04:15] local.INFO: GPS data processed {"connection_id":50862,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:04:15] local.INFO: Acknowledgment sent {"connection_id":50862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:04:25] local.INFO: TCP Data received {"connection_id":51549,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:04:25] local.INFO: Processing buffer {"connection_id":51549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:04:25] local.INFO: IMEI packet received {"connection_id":51549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":51549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:04:27] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:04:27] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:04:27] local.INFO: IMEI packet received {"connection_id":50863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":50863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:04:28] local.INFO: TCP Data received {"connection_id":51549,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:04:28] local.INFO: Processing buffer {"connection_id":51549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:04:28] local.INFO: IMEI packet received {"connection_id":51549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":51549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:04:32] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:04:32] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:04:32] local.INFO: IMEI packet received {"connection_id":50863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":50863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:04:34] local.INFO: TCP Data received {"connection_id":51549,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59b7388012d7ce74005d68ef00000016024..."} 
[2026-04-22 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59b7388012d7ce74005d68ef00000016024..."} 
[2026-04-22 20:04:34] local.INFO: Processing buffer {"connection_id":51549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59b7388012d7ce74005d68ef00000016024..."} 
[2026-04-22 20:04:34] local.INFO: Packet analysis {"connection_id":51549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:04:34] local.INFO: Extracted packet for processing {"connection_id":51549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763160384,"raw_latitude":97947376,"longitude_deg":76.3160384,"latitude_deg":9.7947376,"altitude":0,"angle":352,"satellites":36,"speed":36,"hex_longitude":"2d7ce740","hex_latitude":"05d68ef0","is_valid_coordinates":true} 
[2026-04-22 20:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878296832001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278619300200185856,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674046414848,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:34] 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-22 20:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776868357000,"timestamp_ms":1776868357000,"timestamp_seconds":1776868357,"priority":1,"record_length":96,"hex_timestamp":"0000019db59b7388"} 
[2026-04-22 20:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:04: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-22 20:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 20:04: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-22 20:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878296832001,"66":27332,"30":206,"85":15104,"24":36,"16":278619300200185856,"45":9001358674046414848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 20:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878296832001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:04:34] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 20:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278619300200185856,"km_value":278619300200185.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674046414848,"description":"Unknown IO ID 45"} 
[2026-04-22 20:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878296832001,"power":27332,"unknown_30":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9001358674046414848}} 
[2026-04-22 20:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":51549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:04:34] local.INFO: GPS data processed {"connection_id":51549,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:04:34] local.INFO: Acknowledgment sent {"connection_id":51549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:04:38] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:04:38] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:04:38] local.INFO: Packet analysis {"connection_id":50863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:04:38] local.INFO: Extracted packet for processing {"connection_id":50863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878225664001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776868370000,"timestamp_ms":1776868370000,"timestamp_seconds":1776868370,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ba650"} 
[2026-04-22 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:04:38] 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-22 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:04: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-22 20:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:04:38] 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-22 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878225664001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878225664001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:04:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878225664001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":50863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:04:38] local.INFO: GPS data processed {"connection_id":50863,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:04:38] local.INFO: Acknowledgment sent {"connection_id":50863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:04:46] local.INFO: TCP Data received {"connection_id":50862,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:04:46] local.INFO: Processing buffer {"connection_id":50862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:04:46] local.INFO: Packet analysis {"connection_id":50862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:04:46] local.INFO: Extracted packet for processing {"connection_id":50862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 20:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:04:46] 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-22 20:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:04:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":50862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:04:46] local.INFO: GPS data processed {"connection_id":50862,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:04:46] local.INFO: Acknowledgment sent {"connection_id":50862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:05:05] local.INFO: TCP Data received {"connection_id":51549,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59b9e80012d7ce20005d6b4900000015e25..."} 
[2026-04-22 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59b9e80012d7ce20005d6b4900000015e25..."} 
[2026-04-22 20:05:05] local.INFO: Processing buffer {"connection_id":51549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59b9e80012d7ce20005d6b4900000015e25..."} 
[2026-04-22 20:05:05] local.INFO: Packet analysis {"connection_id":51549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:05:05] local.INFO: Extracted packet for processing {"connection_id":51549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763159040,"raw_latitude":97957008,"longitude_deg":76.315904,"latitude_deg":9.7957008,"altitude":0,"angle":350,"satellites":37,"speed":39,"hex_longitude":"2d7ce200","hex_latitude":"05d6b490","is_valid_coordinates":true} 
[2026-04-22 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878299392001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278619772646588416,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000232774141931520,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:05] 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-22 20:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776868368000,"timestamp_ms":1776868368000,"timestamp_seconds":1776868368,"priority":1,"record_length":96,"hex_timestamp":"0000019db59b9e80"} 
[2026-04-22 20:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 20: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-22 20:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878299392001,"66":27343,"30":206,"85":15104,"24":39,"16":278619772646588416,"45":9000232774141931520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-22 20:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878299392001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:05:05] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-22 20:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278619772646588416,"km_value":278619772646588.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000232774141931520,"description":"Unknown IO ID 45"} 
[2026-04-22 20:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878299392001,"power":27343,"unknown_30":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9000232774141931520}} 
[2026-04-22 20:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":51549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:05:05] local.INFO: GPS data processed {"connection_id":51549,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:05:05] local.INFO: Acknowledgment sent {"connection_id":51549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:05:09] local.INFO: TCP Data received {"connection_id":50863,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:05:09] local.INFO: Processing buffer {"connection_id":50863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:05:09] local.INFO: Packet analysis {"connection_id":50863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:05:09] local.INFO: Extracted packet for processing {"connection_id":50863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:05:09] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878225664001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776868370000,"timestamp_ms":1776868370000,"timestamp_seconds":1776868370,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ba650"} 
[2026-04-22 20: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-22 20:05:09] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:05:09] 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-22 20:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878225664001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878225664001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:05:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:05:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878225664001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:05:09] local.INFO: TCP Data received {"connection_id":50584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:05:09] local.INFO: Processing buffer {"connection_id":50584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:05:09] local.INFO: IMEI packet received {"connection_id":50584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":50584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":50863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:05:09] local.INFO: GPS data processed {"connection_id":50863,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:05:09] local.INFO: Acknowledgment sent {"connection_id":50863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:05:15] local.INFO: TCP Data received {"connection_id":50584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:05:15] local.INFO: Processing buffer {"connection_id":50584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:05:15] local.INFO: IMEI packet received {"connection_id":50584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":50584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:05:15] local.INFO: TCP Data received {"connection_id":50584,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:05:15] local.INFO: Processing buffer {"connection_id":50584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:05:15] local.INFO: Packet analysis {"connection_id":50584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:05:15] local.INFO: Extracted packet for processing {"connection_id":50584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 20: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-22 20:05: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-22 20:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":50584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":50584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":50584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:05:15] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":50584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:05:16] local.INFO: GPS data processed {"connection_id":50584,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:05:16] local.INFO: Acknowledgment sent {"connection_id":50584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:05:25] local.INFO: TCP Data received {"connection_id":50864,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:05:25] local.INFO: Processing buffer {"connection_id":50864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:05:25] local.INFO: IMEI packet received {"connection_id":50864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":50864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:05:27] local.INFO: TCP Data received {"connection_id":50865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:05:27] local.INFO: Processing buffer {"connection_id":50865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:05:27] local.INFO: IMEI packet received {"connection_id":50865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:05:30] local.INFO: TCP Data received {"connection_id":50864,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:05:30] local.INFO: Processing buffer {"connection_id":50864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:05:30] local.INFO: IMEI packet received {"connection_id":50864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":50864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:05:31] local.INFO: TCP Data received {"connection_id":50864,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59d2138012d7c994005d83d080000016520..."} 
[2026-04-22 20:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59d2138012d7c994005d83d080000016520..."} 
[2026-04-22 20:05:31] local.INFO: Processing buffer {"connection_id":50864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59d2138012d7c994005d83d080000016520..."} 
[2026-04-22 20:05:31] local.INFO: Packet analysis {"connection_id":50864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:05:31] local.INFO: Extracted packet for processing {"connection_id":50864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763140416,"raw_latitude":98057480,"longitude_deg":76.3140416,"latitude_deg":9.805748,"altitude":0,"angle":357,"satellites":32,"speed":48,"hex_longitude":"2d7c9940","hex_latitude":"05d83d08","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878325504001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278624750513684480,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978699938449338368,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:31] 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-22 20:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776868467000,"timestamp_ms":1776868467000,"timestamp_seconds":1776868467,"priority":1,"record_length":96,"hex_timestamp":"0000019db59d2138"} 
[2026-04-22 20: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-22 20:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:05: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-22 20: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-22 20: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-22 20:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:05:31] 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-22 20:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878325504001,"66":27321,"196":206,"85":15104,"24":48,"16":278624750513684480,"45":8978699938449338368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-22 20:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878325504001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:05:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-22 20:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278624750513684480,"km_value":278624750513684.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978699938449338368,"description":"Unknown IO ID 45"} 
[2026-04-22 20:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878325504001,"power":27321,"unknown_196":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8978699938449338368}} 
[2026-04-22 20:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":50864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:05:31] local.INFO: GPS data processed {"connection_id":50864,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:05:31] local.INFO: Acknowledgment sent {"connection_id":50864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:05:32] local.INFO: TCP Data received {"connection_id":50865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:05:32] local.INFO: Processing buffer {"connection_id":50865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:05:32] local.INFO: IMEI packet received {"connection_id":50865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:05:33] local.INFO: TCP Data received {"connection_id":50865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:05:33] local.INFO: Processing buffer {"connection_id":50865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:05:33] local.INFO: Packet analysis {"connection_id":50865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:05:33] local.INFO: Extracted packet for processing {"connection_id":50865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878225664001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776868370000,"timestamp_ms":1776868370000,"timestamp_seconds":1776868370,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ba650"} 
[2026-04-22 20: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-22 20:05:33] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878225664001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878225664001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:05:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878225664001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":50865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:05:33] local.INFO: GPS data processed {"connection_id":50865,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:05:33] local.INFO: Acknowledgment sent {"connection_id":50865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:05:46] local.INFO: TCP Data received {"connection_id":50584,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:05:46] local.INFO: Processing buffer {"connection_id":50584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:05:46] local.INFO: Packet analysis {"connection_id":50584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:05:46] local.INFO: Extracted packet for processing {"connection_id":50584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:05:46] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 20:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:05:46] 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-22 20:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:05:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:05:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":50584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:05:47] local.INFO: GPS data processed {"connection_id":50584,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:05:47] local.INFO: Acknowledgment sent {"connection_id":50584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:06:02] local.INFO: TCP Data received {"connection_id":50864,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59d4078012d7c97c005d862800000016525..."} 
[2026-04-22 20:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59d4078012d7c97c005d862800000016525..."} 
[2026-04-22 20:06:02] local.INFO: Processing buffer {"connection_id":50864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59d4078012d7c97c005d862800000016525..."} 
[2026-04-22 20:06:02] local.INFO: Packet analysis {"connection_id":50864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:06:02] local.INFO: Extracted packet for processing {"connection_id":50864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763140032,"raw_latitude":98067072,"longitude_deg":76.3140032,"latitude_deg":9.8067072,"altitude":0,"angle":357,"satellites":37,"speed":48,"hex_longitude":"2d7c97c0","hex_latitude":"05d86280","is_valid_coordinates":true} 
[2026-04-22 20:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878327552001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278625218665119744,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978277725986686976,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:02] 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-22 20:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776868475000,"timestamp_ms":1776868475000,"timestamp_seconds":1776868475,"priority":1,"record_length":96,"hex_timestamp":"0000019db59d4078"} 
[2026-04-22 20:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:06: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-22 20:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 20:06: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-22 20:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878327552001,"66":27343,"196":206,"85":15104,"24":48,"16":278625218665119744,"45":8978277725986686976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-22 20:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878327552001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:06:02] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-22 20:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278625218665119744,"km_value":278625218665119.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978277725986686976,"description":"Unknown IO ID 45"} 
[2026-04-22 20:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878327552001,"power":27343,"unknown_196":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8978277725986686976}} 
[2026-04-22 20:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":50864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:06:02] local.INFO: GPS data processed {"connection_id":50864,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:06:02] local.INFO: Acknowledgment sent {"connection_id":50864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:06:04] local.INFO: TCP Data received {"connection_id":50865,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:06:04] local.INFO: Processing buffer {"connection_id":50865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:06:04] local.INFO: Packet analysis {"connection_id":50865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:06:04] local.INFO: Extracted packet for processing {"connection_id":50865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878225664001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776868370000,"timestamp_ms":1776868370000,"timestamp_seconds":1776868370,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ba650"} 
[2026-04-22 20:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:06:04] 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-22 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:06:04] 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-22 20:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878225664001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878225664001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:06:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878225664001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":50865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:06:04] local.INFO: GPS data processed {"connection_id":50865,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:06:04] local.INFO: Acknowledgment sent {"connection_id":50865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:06:09] local.INFO: TCP Data received {"connection_id":50585,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:06:09] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:06:09] local.INFO: IMEI packet received {"connection_id":50585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":50585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:06:16] local.INFO: TCP Data received {"connection_id":50585,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:06:16] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:06:16] local.INFO: IMEI packet received {"connection_id":50585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":50585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:06:17] local.INFO: TCP Data received {"connection_id":50585,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:06:17] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:06:17] local.INFO: Packet analysis {"connection_id":50585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:06:17] local.INFO: Extracted packet for processing {"connection_id":50585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:06:17] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 20:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:06:17] 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-22 20:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":50585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":50585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":50585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:06:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:06:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":50585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:06:17] local.INFO: GPS data processed {"connection_id":50585,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:06:17] local.INFO: Acknowledgment sent {"connection_id":50585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:06:23] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:23] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:23] local.INFO: IMEI packet received {"connection_id":50866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":50866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:06:25] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:25] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:25] local.INFO: IMEI packet received {"connection_id":50866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":50866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:06:27] local.INFO: TCP Data received {"connection_id":50867,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:06:27] local.INFO: Processing buffer {"connection_id":50867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:06:27] local.INFO: IMEI packet received {"connection_id":50867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":50867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:06:28] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:28] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:28] local.INFO: IMEI packet received {"connection_id":50866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":50866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:06:38] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:38] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:06:38] local.INFO: IMEI packet received {"connection_id":50866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":50866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:06:41] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59d5fb8012d7c960005d887e80000016324..."} 
[2026-04-22 20:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59d5fb8012d7c960005d887e80000016324..."} 
[2026-04-22 20:06:41] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59d5fb8012d7c960005d887e80000016324..."} 
[2026-04-22 20:06:41] local.INFO: Packet analysis {"connection_id":50866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:06:41] local.INFO: Extracted packet for processing {"connection_id":50866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763139584,"raw_latitude":98076648,"longitude_deg":76.3139584,"latitude_deg":9.8076648,"altitude":0,"angle":355,"satellites":36,"speed":43,"hex_longitude":"2d7c9600","hex_latitude":"05d887e8","is_valid_coordinates":true} 
[2026-04-22 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878329600001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278625682521587712,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977855513524076544,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776868483000,"timestamp_ms":1776868483000,"timestamp_seconds":1776868483,"priority":1,"record_length":96,"hex_timestamp":"0000019db59d5fb8"} 
[2026-04-22 20:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:06: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-22 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:06:41] 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-22 20:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:06:41] 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-22 20:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878329600001,"66":27245,"197":206,"85":15104,"24":43,"16":278625682521587712,"45":8977855513524076544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-22 20:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878329600001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:06:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-22 20:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278625682521587712,"km_value":278625682521587.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977855513524076544,"description":"Unknown IO ID 45"} 
[2026-04-22 20:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878329600001,"power":27245,"unknown_197":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8977855513524076544}} 
[2026-04-22 20:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":50866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:06:41] local.INFO: GPS data processed {"connection_id":50866,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:06:41] local.INFO: Acknowledgment sent {"connection_id":50866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:06:41] local.INFO: TCP Data received {"connection_id":50866,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59d7ef8012d7c938005d8aaf00000016323..."} 
[2026-04-22 20:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59d7ef8012d7c938005d8aaf00000016323..."} 
[2026-04-22 20:06:41] local.INFO: Processing buffer {"connection_id":50866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59d7ef8012d7c938005d8aaf00000016323..."} 
[2026-04-22 20:06:41] local.INFO: Packet analysis {"connection_id":50866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:06:41] local.INFO: Extracted packet for processing {"connection_id":50866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763138944,"raw_latitude":98085616,"longitude_deg":76.3138944,"latitude_deg":9.8085616,"altitude":0,"angle":355,"satellites":35,"speed":46,"hex_longitude":"2d7c9380","hex_latitude":"05d8aaf0","is_valid_coordinates":true} 
[2026-04-22 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878331648001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278626116313284608,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977362932317284352,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:41] 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-22 20:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776868491000,"timestamp_ms":1776868491000,"timestamp_seconds":1776868491,"priority":1,"record_length":96,"hex_timestamp":"0000019db59d7ef8"} 
[2026-04-22 20:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:06: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-22 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-22 20:06:41] 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-22 20:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:06:41] 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-22 20:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878331648001,"66":27484,"244":206,"85":15104,"24":46,"16":278626116313284608,"45":8977362932317284352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-22 20:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878331648001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:06:41] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-22 20:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278626116313284608,"km_value":278626116313284.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977362932317284352,"description":"Unknown IO ID 45"} 
[2026-04-22 20:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878331648001,"power":27484,"unknown_244":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8977362932317284352}} 
[2026-04-22 20:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":50866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:06:41] local.INFO: GPS data processed {"connection_id":50866,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:06:41] local.INFO: Acknowledgment sent {"connection_id":50866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:06:43] local.INFO: TCP Data received {"connection_id":50867,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:06:43] local.INFO: Processing buffer {"connection_id":50867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:06:43] local.INFO: IMEI packet received {"connection_id":50867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":50867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:06:44] local.INFO: TCP Data received {"connection_id":50867,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:06:44] local.INFO: Processing buffer {"connection_id":50867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:06:44] local.INFO: Packet analysis {"connection_id":50867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:06:44] local.INFO: Extracted packet for processing {"connection_id":50867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 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-22 20:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878225664001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776868370000,"timestamp_ms":1776868370000,"timestamp_seconds":1776868370,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ba650"} 
[2026-04-22 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-22 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-22 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":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:06: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-22 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-22 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-22 20:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:06:44] 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-22 20:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878225664001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878225664001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:06:44] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878225664001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":50867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:06:44] local.INFO: GPS data processed {"connection_id":50867,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:06:44] local.INFO: Acknowledgment sent {"connection_id":50867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:06:49] local.INFO: TCP Data received {"connection_id":50585,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:06:49] local.INFO: Processing buffer {"connection_id":50585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:06:49] local.INFO: Packet analysis {"connection_id":50585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:06:49] local.INFO: Extracted packet for processing {"connection_id":50585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 20: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-22 20: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-22 20: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":50585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":50585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":50585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:06:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":50585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:06:49] local.INFO: GPS data processed {"connection_id":50585,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:06:49] local.INFO: Acknowledgment sent {"connection_id":50585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:07:14] local.INFO: TCP Data received {"connection_id":51551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:07:14] local.INFO: Processing buffer {"connection_id":51551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:07:14] local.INFO: IMEI packet received {"connection_id":51551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":51551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:07:19] local.INFO: TCP Data received {"connection_id":51551,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:07:19] local.INFO: Processing buffer {"connection_id":51551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:07:19] local.INFO: IMEI packet received {"connection_id":51551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":51551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:07:20] local.INFO: TCP Data received {"connection_id":51551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:07:20] local.INFO: Processing buffer {"connection_id":51551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:07:20] local.INFO: Packet analysis {"connection_id":51551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:07:20] local.INFO: Extracted packet for processing {"connection_id":51551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 20:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:07:20] 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-22 20:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:07:20] 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-22 20:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":51551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":51551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":51551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:07:20] 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-22 20:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:07:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":51551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:07:20] local.INFO: GPS data processed {"connection_id":51551,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:07:20] local.INFO: Acknowledgment sent {"connection_id":51551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:07:25] local.INFO: TCP Data received {"connection_id":51551,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:07:25] local.INFO: Processing buffer {"connection_id":51551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:07:25] local.INFO: Packet analysis {"connection_id":51551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:07:25] local.INFO: Extracted packet for processing {"connection_id":51551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 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-22 20:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 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-22 20:07:25] 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-22 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:07: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-22 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-22 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-22 20:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":51551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":51551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":51551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:07:25] 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-22 20:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:07:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":51551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:07:25] local.INFO: GPS data processed {"connection_id":51551,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:07:25] local.INFO: Acknowledgment sent {"connection_id":51551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:07:25] local.INFO: TCP Data received {"connection_id":51552,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:07:25] local.INFO: Processing buffer {"connection_id":51552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:07:25] local.INFO: IMEI packet received {"connection_id":51552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":51552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:07:26] local.INFO: TCP Data received {"connection_id":50972,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:07:26] local.INFO: Processing buffer {"connection_id":50972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:07:26] local.INFO: IMEI packet received {"connection_id":50972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":50972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:07:30] local.INFO: TCP Data received {"connection_id":51552,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:07:30] local.INFO: Processing buffer {"connection_id":51552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:07:30] local.INFO: IMEI packet received {"connection_id":51552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":51552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:07:31] local.INFO: TCP Data received {"connection_id":51552,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59d9e38012d7c910005d8ce680000016224..."} 
[2026-04-22 20:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59d9e38012d7c910005d8ce680000016224..."} 
[2026-04-22 20:07:31] local.INFO: Processing buffer {"connection_id":51552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59d9e38012d7c910005d8ce680000016224..."} 
[2026-04-22 20:07:31] local.INFO: Packet analysis {"connection_id":51552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:07:31] local.INFO: Extracted packet for processing {"connection_id":51552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59d"} 
[2026-04-22 20:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763138304,"raw_latitude":98094696,"longitude_deg":76.3138304,"latitude_deg":9.8094696,"altitude":0,"angle":354,"satellites":36,"speed":43,"hex_longitude":"2d7c9100","hex_latitude":"05d8ce68","is_valid_coordinates":true} 
[2026-04-22 20:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878333696001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278626558694916096,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976659244877803520,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:31] 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-22 20:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776868499000,"timestamp_ms":1776868499000,"timestamp_seconds":1776868499,"priority":1,"record_length":96,"hex_timestamp":"0000019db59d9e38"} 
[2026-04-22 20:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:07: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-22 20:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 20:07: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-22 20:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:07:31] 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-22 20:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878333696001,"66":27365,"244":206,"85":15104,"24":43,"16":278626558694916096,"45":8976659244877803520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-22 20:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878333696001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:07:31] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-22 20:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278626558694916096,"km_value":278626558694916.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976659244877803520,"description":"Unknown IO ID 45"} 
[2026-04-22 20:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878333696001,"power":27365,"unknown_244":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8976659244877803520}} 
[2026-04-22 20:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":51552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:07:31] local.INFO: GPS data processed {"connection_id":51552,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:07:31] local.INFO: Acknowledgment sent {"connection_id":51552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:07:32] local.INFO: TCP Data received {"connection_id":50972,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:07:32] local.INFO: Processing buffer {"connection_id":50972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:07:32] local.INFO: IMEI packet received {"connection_id":50972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:07:33] local.INFO: TCP Data received {"connection_id":50972,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:07:33] local.INFO: Processing buffer {"connection_id":50972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:07:33] local.INFO: Packet analysis {"connection_id":50972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:07:33] local.INFO: Extracted packet for processing {"connection_id":50972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878225664001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776868370000,"timestamp_ms":1776868370000,"timestamp_seconds":1776868370,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ba650"} 
[2026-04-22 20: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-22 20:07:33] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878225664001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878225664001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:07:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878225664001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:07:33] local.INFO: GPS data processed {"connection_id":50972,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:07:33] local.INFO: Acknowledgment sent {"connection_id":50972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:08:03] local.INFO: TCP Data received {"connection_id":51552,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59f6f10012d7c634005da2e180000015b24..."} 
[2026-04-22 20:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59f6f10012d7c634005da2e180000015b24..."} 
[2026-04-22 20:08:03] local.INFO: Processing buffer {"connection_id":51552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59f6f10012d7c634005da2e180000015b24..."} 
[2026-04-22 20:08:03] local.INFO: Packet analysis {"connection_id":51552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59f"} 
[2026-04-22 20:08:03] local.INFO: Extracted packet for processing {"connection_id":51552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59f"} 
[2026-04-22 20:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763126592,"raw_latitude":98184728,"longitude_deg":76.3126592,"latitude_deg":9.8184728,"altitude":0,"angle":347,"satellites":36,"speed":31,"hex_longitude":"2d7c6340","hex_latitude":"05da2e18","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878361600001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278630973921296384,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965681720809181184,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776868618000,"timestamp_ms":1776868618000,"timestamp_seconds":1776868618,"priority":1,"record_length":96,"hex_timestamp":"0000019db59f6f10"} 
[2026-04-22 20: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-22 20:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:08: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-22 20: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-22 20: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-22 20:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878361600001,"66":27332,"187":206,"85":15104,"24":31,"16":278630973921296384,"45":8965681720809181184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 20:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878361600001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:08:03] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 20:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278630973921296384,"km_value":278630973921296.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965681720809181184,"description":"Unknown IO ID 45"} 
[2026-04-22 20:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878361600001,"power":27332,"unknown_187":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8965681720809181184}} 
[2026-04-22 20:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":51552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:08:03] local.INFO: GPS data processed {"connection_id":51552,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:08:03] local.INFO: Acknowledgment sent {"connection_id":51552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:08:04] local.INFO: TCP Data received {"connection_id":50972,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:08:04] local.INFO: Processing buffer {"connection_id":50972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ba650012d1b040007247bc8002700362a..."} 
[2026-04-22 20:08:04] local.INFO: Packet analysis {"connection_id":50972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:08:04] local.INFO: Extracted packet for processing {"connection_id":50972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59b"} 
[2026-04-22 20:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 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-22 20:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878225664001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776868370000,"timestamp_ms":1776868370000,"timestamp_seconds":1776868370,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ba650"} 
[2026-04-22 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-22 20:08:04] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 20:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:08:04] 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-22 20:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878225664001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878225664001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:08:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878225664001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:08:04] local.INFO: GPS data processed {"connection_id":50972,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:08:04] local.INFO: Acknowledgment sent {"connection_id":50972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:08:09] local.INFO: TCP Data received {"connection_id":51554,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:08:09] local.INFO: Processing buffer {"connection_id":51554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:08:09] local.INFO: IMEI packet received {"connection_id":51554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":51554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:08:10] local.INFO: TCP Data received {"connection_id":51553,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:08:10] local.INFO: Processing buffer {"connection_id":51553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:08:10] local.INFO: IMEI packet received {"connection_id":51553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":51553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:08:14] local.INFO: TCP Data received {"connection_id":51554,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:08:14] local.INFO: Processing buffer {"connection_id":51554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:08:14] local.INFO: IMEI packet received {"connection_id":51554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":51554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:08:16] local.INFO: TCP Data received {"connection_id":51554,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:08:16] local.INFO: Processing buffer {"connection_id":51554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:08:16] local.INFO: Packet analysis {"connection_id":51554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:08:16] local.INFO: Extracted packet for processing {"connection_id":51554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:08:16] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 20:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:08: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-22 20:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:08:16] 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-22 20:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":51554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":51554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":51554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:08:16] 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-22 20:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:08:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":51554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:08:16] local.INFO: GPS data processed {"connection_id":51554,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:08:16] local.INFO: Acknowledgment sent {"connection_id":51554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:08:26] local.INFO: TCP Data received {"connection_id":50973,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:08:26] local.INFO: Processing buffer {"connection_id":50973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:08:26] local.INFO: IMEI packet received {"connection_id":50973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":50973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:08:30] local.INFO: TCP Data received {"connection_id":50973,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:08:30] local.INFO: Processing buffer {"connection_id":50973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:08:30] local.INFO: IMEI packet received {"connection_id":50973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":50973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:08:31] local.INFO: TCP Data received {"connection_id":50973,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:08:31] local.INFO: Processing buffer {"connection_id":50973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:08:31] local.INFO: IMEI packet received {"connection_id":50973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":50973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:08:32] local.INFO: TCP Data received {"connection_id":50973,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a03e18012d1b040007247bc8002700362a..."} 
[2026-04-22 20:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a03e18012d1b040007247bc8002700362a..."} 
[2026-04-22 20:08:32] local.INFO: Processing buffer {"connection_id":50973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a03e18012d1b040007247bc8002700362a..."} 
[2026-04-22 20:08:32] local.INFO: Packet analysis {"connection_id":50973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:08:32] local.INFO: Extracted packet for processing {"connection_id":50973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":42,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878302720001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776868671000,"timestamp_ms":1776868671000,"timestamp_seconds":1776868671,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a03e18"} 
[2026-04-22 20: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-22 20:08:32] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878302720001,"66":2166,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878302720001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:08:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878302720001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":50973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:08:32] local.INFO: GPS data processed {"connection_id":50973,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:08:32] local.INFO: Acknowledgment sent {"connection_id":50973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:08:35] local.INFO: TCP Data received {"connection_id":51555,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:08:35] local.INFO: Processing buffer {"connection_id":51555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:08:35] local.INFO: IMEI packet received {"connection_id":51555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":51555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:08:38] local.INFO: TCP Data received {"connection_id":51555,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:08:38] local.INFO: Processing buffer {"connection_id":51555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:08:38] local.INFO: IMEI packet received {"connection_id":51555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":51555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:08:41] local.INFO: TCP Data received {"connection_id":51555,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:08:41] local.INFO: Processing buffer {"connection_id":51555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:08:41] local.INFO: IMEI packet received {"connection_id":51555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":51555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:08:41] local.INFO: TCP Data received {"connection_id":51555,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59f9620012d7c58c005da53100000015624..."} 
[2026-04-22 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59f9620012d7c58c005da53100000015624..."} 
[2026-04-22 20:08:41] local.INFO: Processing buffer {"connection_id":51555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59f9620012d7c58c005da53100000015624..."} 
[2026-04-22 20:08:41] local.INFO: Packet analysis {"connection_id":51555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59f"} 
[2026-04-22 20:08:41] local.INFO: Extracted packet for processing {"connection_id":51555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59f"} 
[2026-04-22 20:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763123904,"raw_latitude":98194192,"longitude_deg":76.3123904,"latitude_deg":9.8194192,"altitude":0,"angle":342,"satellites":36,"speed":39,"hex_longitude":"2d7c58c0","hex_latitude":"05da5310","is_valid_coordinates":true} 
[2026-04-22 20:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878366208001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278631450662666240,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963078077276887040,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776868628000,"timestamp_ms":1776868628000,"timestamp_seconds":1776868628,"priority":1,"record_length":96,"hex_timestamp":"0000019db59f9620"} 
[2026-04-22 20:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:08: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-22 20:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 20:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:08:41] 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-22 20:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878366208001,"66":27234,"187":206,"85":15104,"24":39,"16":278631450662666240,"45":8963078077276887040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 20:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878366208001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:08:41] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 20:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278631450662666240,"km_value":278631450662666.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963078077276887040,"description":"Unknown IO ID 45"} 
[2026-04-22 20:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878366208001,"power":27234,"unknown_187":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8963078077276887040}} 
[2026-04-22 20:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":51555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:08:42] local.INFO: GPS data processed {"connection_id":51555,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:08:42] local.INFO: Acknowledgment sent {"connection_id":51555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:08:46] local.INFO: TCP Data received {"connection_id":51555,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59fbd30012d7c4d0005da7478000001551f..."} 
[2026-04-22 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59fbd30012d7c4d0005da7478000001551f..."} 
[2026-04-22 20:08:46] local.INFO: Processing buffer {"connection_id":51555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59fbd30012d7c4d0005da7478000001551f..."} 
[2026-04-22 20:08:46] local.INFO: Packet analysis {"connection_id":51555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59f"} 
[2026-04-22 20:08:46] local.INFO: Extracted packet for processing {"connection_id":51555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59f"} 
[2026-04-22 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763120896,"raw_latitude":98202744,"longitude_deg":76.3120896,"latitude_deg":9.8202744,"altitude":0,"angle":341,"satellites":31,"speed":34,"hex_longitude":"2d7c4d00","hex_latitude":"05da7478","is_valid_coordinates":true} 
[2026-04-22 20:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878368768001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278631893044297728,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960122590023847936,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776868638000,"timestamp_ms":1776868638000,"timestamp_seconds":1776868638,"priority":1,"record_length":96,"hex_timestamp":"0000019db59fbd30"} 
[2026-04-22 20:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 20:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":51555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":51555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":51555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878368768001,"66":27397,"187":206,"85":15104,"24":34,"16":278631893044297728,"45":8960122590023847936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 20:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878368768001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:08:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 20:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278631893044297728,"km_value":278631893044297.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960122590023847936,"description":"Unknown IO ID 45"} 
[2026-04-22 20:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878368768001,"power":27397,"unknown_187":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8960122590023847936}} 
[2026-04-22 20:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":51555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:08:46] local.INFO: GPS data processed {"connection_id":51555,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:08:46] local.INFO: Acknowledgment sent {"connection_id":51555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:08:48] local.INFO: TCP Data received {"connection_id":51554,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:08:48] local.INFO: Processing buffer {"connection_id":51554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59ca050012d7ea44005b5c5e0000b00032b..."} 
[2026-04-22 20:08:48] local.INFO: Packet analysis {"connection_id":51554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:08:48] local.INFO: Extracted packet for processing {"connection_id":51554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59c"} 
[2026-04-22 20:08:48] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":43,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878242048001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776868434000,"timestamp_ms":1776868434000,"timestamp_seconds":1776868434,"priority":1,"record_length":96,"hex_timestamp":"0000019db59ca050"} 
[2026-04-22 20: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-22 20:08:48] 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-22 20:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 20:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":51554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":51554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":51554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:08:48] 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-22 20:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878242048001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878242048001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:08:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:08:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878242048001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":51554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:08:48] local.INFO: GPS data processed {"connection_id":51554,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:08:48] local.INFO: Acknowledgment sent {"connection_id":51554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:08:55] local.INFO: TCP Data received {"connection_id":50869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:08:55] local.INFO: Processing buffer {"connection_id":50869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:08:55] local.INFO: IMEI packet received {"connection_id":50869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":50869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:09:03] local.INFO: TCP Data received {"connection_id":50973,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a078b0012d1b040007247bc8002700362c..."} 
[2026-04-22 20:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a078b0012d1b040007247bc8002700362c..."} 
[2026-04-22 20:09:03] local.INFO: Processing buffer {"connection_id":50973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a078b0012d1b040007247bc8002700362c..."} 
[2026-04-22 20:09:03] local.INFO: Packet analysis {"connection_id":50973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:09:03] local.INFO: Extracted packet for processing {"connection_id":50973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878379776001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776868686000,"timestamp_ms":1776868686000,"timestamp_seconds":1776868686,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a078b0"} 
[2026-04-22 20: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-22 20:09:03] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878379776001,"66":12439,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878379776001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:09:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878379776001,"power":12439,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":50973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:09:03] local.INFO: GPS data processed {"connection_id":50973,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:09:03] local.INFO: Acknowledgment sent {"connection_id":50973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:09:19] local.INFO: TCP Data received {"connection_id":50586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:09:19] local.INFO: Processing buffer {"connection_id":50586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:09:19] local.INFO: IMEI packet received {"connection_id":50586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":50586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:09:25] local.INFO: TCP Data received {"connection_id":50586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:09:25] local.INFO: Processing buffer {"connection_id":50586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:09:25] local.INFO: IMEI packet received {"connection_id":50586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":50586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:09:25] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:09:25] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:09:25] local.INFO: IMEI packet received {"connection_id":50975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":50975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:09:25] local.INFO: TCP Data received {"connection_id":50586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a13818012d7ea44005b5c5e0000b00032d..."} 
[2026-04-22 20:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a13818012d7ea44005b5c5e0000b00032d..."} 
[2026-04-22 20:09:25] local.INFO: Processing buffer {"connection_id":50586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a13818012d7ea44005b5c5e0000b00032d..."} 
[2026-04-22 20:09:25] local.INFO: Packet analysis {"connection_id":50586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:09:25] local.INFO: Extracted packet for processing {"connection_id":50586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":45,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878319104001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776868735000,"timestamp_ms":1776868735000,"timestamp_seconds":1776868735,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a13818"} 
[2026-04-22 20: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-22 20:09:25] 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-22 20: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 20:09:25] 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-22 20: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-22 20: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-22 20:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":50586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":50586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":50586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:09:25] 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-22 20:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878319104001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878319104001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:09:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878319104001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":50586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:09:26] local.INFO: GPS data processed {"connection_id":50586,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:09:26] local.INFO: Acknowledgment sent {"connection_id":50586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:09:28] local.INFO: TCP Data received {"connection_id":50974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:09:28] local.INFO: Processing buffer {"connection_id":50974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:09:28] local.INFO: IMEI packet received {"connection_id":50974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":50974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:09:30] local.INFO: TCP Data received {"connection_id":50974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:09:30] local.INFO: Processing buffer {"connection_id":50974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:09:30] local.INFO: IMEI packet received {"connection_id":50974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":50974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:09:30] local.INFO: TCP Data received {"connection_id":50974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a078b0012d1b040007247bc8002700362c..."} 
[2026-04-22 20:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a078b0012d1b040007247bc8002700362c..."} 
[2026-04-22 20:09:30] local.INFO: Processing buffer {"connection_id":50974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a078b0012d1b040007247bc8002700362c..."} 
[2026-04-22 20:09:30] local.INFO: Packet analysis {"connection_id":50974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:09:30] local.INFO: Extracted packet for processing {"connection_id":50974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878383616001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776868686000,"timestamp_ms":1776868686000,"timestamp_seconds":1776868686,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a078b0"} 
[2026-04-22 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-22 20:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 20:09:30] 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-22 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-22 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-22 20:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":50974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878383616001,"66":12439,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878383616001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:09:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878383616001,"power":12439,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":50974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:09:30] local.INFO: GPS data processed {"connection_id":50974,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:09:30] local.INFO: Acknowledgment sent {"connection_id":50974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:09:31] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:09:31] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:09:31] local.INFO: IMEI packet received {"connection_id":50975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":50975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:09:31] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db59fe828012d7c410005da97080000015423..."} 
[2026-04-22 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db59fe828012d7c410005da97080000015423..."} 
[2026-04-22 20:09:31] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db59fe828012d7c410005da97080000015423..."} 
[2026-04-22 20:09:31] local.INFO: Packet analysis {"connection_id":50975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db59f"} 
[2026-04-22 20:09:31] local.INFO: Extracted packet for processing {"connection_id":50975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db59f"} 
[2026-04-22 20:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763117824,"raw_latitude":98211592,"longitude_deg":76.3117824,"latitude_deg":9.8211592,"altitude":0,"angle":340,"satellites":35,"speed":31,"hex_longitude":"2d7c4100","hex_latitude":"05da9708","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878371328001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278632344015863808,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956815259049687040,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776868649000,"timestamp_ms":1776868649000,"timestamp_seconds":1776868649,"priority":1,"record_length":96,"hex_timestamp":"0000019db59fe828"} 
[2026-04-22 20: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-22 20:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:09: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-22 20: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-22 20: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-22 20:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:09:31] 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-22 20:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878371328001,"66":27376,"187":206,"85":15104,"24":31,"16":278632344015863808,"45":8956815259049687040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 20:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878371328001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:09:31] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 20:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278632344015863808,"km_value":278632344015863.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956815259049687040,"description":"Unknown IO ID 45"} 
[2026-04-22 20:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878371328001,"power":27376,"unknown_187":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8956815259049687040}} 
[2026-04-22 20:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":50975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:09:31] local.INFO: GPS data processed {"connection_id":50975,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:09:31] local.INFO: Acknowledgment sent {"connection_id":50975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:09:32] local.INFO: TCP Data received {"connection_id":50974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a078b0012d1b040007247bc8002700362c..."} 
[2026-04-22 20:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a078b0012d1b040007247bc8002700362c..."} 
[2026-04-22 20:09:32] local.INFO: Processing buffer {"connection_id":50974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a078b0012d1b040007247bc8002700362c..."} 
[2026-04-22 20:09:32] local.INFO: Packet analysis {"connection_id":50974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:09:32] local.INFO: Extracted packet for processing {"connection_id":50974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756745216,"raw_latitude":119831496,"longitude_deg":75.6745216,"latitude_deg":11.9831496,"altitude":39,"angle":54,"satellites":44,"speed":0,"hex_longitude":"2d1b0400","hex_latitude":"07247bc8","is_valid_coordinates":true} 
[2026-04-22 20:09: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-22 20:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878383616001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029689491685376,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946680969607759872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776868686000,"timestamp_ms":1776868686000,"timestamp_seconds":1776868686,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a078b0"} 
[2026-04-22 20: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-22 20:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 20:09: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-22 20: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-22 20: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-22 20:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878383616001,"66":12439,"176":206,"83":42752,"24":0,"16":114029689491685376,"45":1946680969607759872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878383616001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:09:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029689491685376,"km_value":114029689491685.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946680969607759872,"description":"Unknown IO ID 45"} 
[2026-04-22 20:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878383616001,"power":12439,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1946680969607759872}} 
[2026-04-22 20:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":50974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:09:32] local.INFO: GPS data processed {"connection_id":50974,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:09:32] local.INFO: Acknowledgment sent {"connection_id":50974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:10:03] local.INFO: TCP Data received {"connection_id":50974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a17e68012d1b074007247b18002600c42b..."} 
[2026-04-22 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a17e68012d1b074007247b18002600c42b..."} 
[2026-04-22 20:10:03] local.INFO: Processing buffer {"connection_id":50974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a17e68012d1b074007247b18002600c42b..."} 
[2026-04-22 20:10:03] local.INFO: Packet analysis {"connection_id":50974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:03] local.INFO: Extracted packet for processing {"connection_id":50974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756746048,"raw_latitude":119831320,"longitude_deg":75.6746048,"latitude_deg":11.983132,"altitude":38,"angle":196,"satellites":43,"speed":8,"hex_longitude":"2d1b0740","hex_latitude":"07247b18","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878400512001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029736736325632,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947595763282067456,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776868753000,"timestamp_ms":1776868753000,"timestamp_seconds":1776868753,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a17e68"} 
[2026-04-22 20: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-22 20:10:03] 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-22 20:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 20:10:03] 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-22 20: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-22 20: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-22 20:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878400512001,"66":13646,"176":206,"83":42752,"24":8,"16":114029736736325632,"45":1947595763282067456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878400512001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:10:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029736736325632,"km_value":114029736736325.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947595763282067456,"description":"Unknown IO ID 45"} 
[2026-04-22 20:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878400512001,"power":13646,"unknown_176":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1947595763282067456}} 
[2026-04-22 20:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":50974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:10:03] local.INFO: GPS data processed {"connection_id":50974,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:10:03] local.INFO: Acknowledgment sent {"connection_id":50974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:10:04] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a00f38012d7c344005dabaf00000015523..."} 
[2026-04-22 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a00f38012d7c344005dabaf00000015523..."} 
[2026-04-22 20:10:04] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a00f38012d7c344005dabaf00000015523..."} 
[2026-04-22 20:10:04] local.INFO: Packet analysis {"connection_id":50975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:10:04] local.INFO: Extracted packet for processing {"connection_id":50975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a0"} 
[2026-04-22 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":98220784,"longitude_deg":76.311456,"latitude_deg":9.8220784,"altitude":0,"angle":341,"satellites":35,"speed":44,"hex_longitude":"2d7c3440","hex_latitude":"05dabaf0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878374144001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278632816462266368,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953437559331424256,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776868659000,"timestamp_ms":1776868659000,"timestamp_seconds":1776868659,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a00f38"} 
[2026-04-22 20: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-22 20:10: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-22 20: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":240,"data_length":795,"current_offset":136} 
[2026-04-22 20:10: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-22 20: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-22 20: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-22 20:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878374144001,"66":27397,"187":206,"85":15104,"24":44,"16":278632816462266368,"45":8953437559331424256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-22 20:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878374144001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:10:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-22 20:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278632816462266368,"km_value":278632816462266.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953437559331424256,"description":"Unknown IO ID 45"} 
[2026-04-22 20:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878374144001,"power":27397,"unknown_187":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8953437559331424256}} 
[2026-04-22 20:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":50975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:10:04] local.INFO: GPS data processed {"connection_id":50975,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:10:04] local.INFO: Acknowledgment sent {"connection_id":50975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:10:09] local.INFO: TCP Data received {"connection_id":51556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:10:09] local.INFO: Processing buffer {"connection_id":51556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:10:09] local.INFO: IMEI packet received {"connection_id":51556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-22 20:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":51556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:10:14] local.INFO: TCP Data received {"connection_id":51556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:10:14] local.INFO: Processing buffer {"connection_id":51556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-22 20:10:14] local.INFO: IMEI packet received {"connection_id":51556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-22 20:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":51556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:10:15] local.INFO: TCP Data received {"connection_id":51556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a13818012d7ea44005b5c5e0000b00032d..."} 
[2026-04-22 20:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a13818012d7ea44005b5c5e0000b00032d..."} 
[2026-04-22 20:10:15] local.INFO: Processing buffer {"connection_id":51556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a13818012d7ea44005b5c5e0000b00032d..."} 
[2026-04-22 20:10:15] local.INFO: Packet analysis {"connection_id":51556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:15] local.INFO: Extracted packet for processing {"connection_id":51556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":45,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878319104001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776868735000,"timestamp_ms":1776868735000,"timestamp_seconds":1776868735,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a13818"} 
[2026-04-22 20: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-22 20:10:15] 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-22 20: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 20:10:15] 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-22 20: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-22 20: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-22 20:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":51556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":51556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":51556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:10:15] 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-22 20:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878319104001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878319104001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:10:15] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878319104001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":51556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:10:15] local.INFO: GPS data processed {"connection_id":51556,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:10:15] local.INFO: Acknowledgment sent {"connection_id":51556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:10:27] local.INFO: TCP Data received {"connection_id":50870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:10:27] local.INFO: Processing buffer {"connection_id":50870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:10:27] local.INFO: IMEI packet received {"connection_id":50870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:10:27] local.INFO: TCP Data received {"connection_id":50870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:10:27] local.INFO: Processing buffer {"connection_id":50870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:10:27] local.INFO: IMEI packet received {"connection_id":50870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:10:28] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:10:28] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:10:28] local.INFO: IMEI packet received {"connection_id":50976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":50976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:10:30] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:10:30] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:10:30] local.INFO: IMEI packet received {"connection_id":50976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":50976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:10:31] local.INFO: TCP Data received {"connection_id":50870,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:10:31] local.INFO: Processing buffer {"connection_id":50870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:10:31] local.INFO: IMEI packet received {"connection_id":50870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":50870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:10:31] local.INFO: TCP Data received {"connection_id":50870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a18250012d1b070007247a68002600d22a..."} 
[2026-04-22 20:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a18250012d1b070007247a68002600d22a..."} 
[2026-04-22 20:10:31] local.INFO: Processing buffer {"connection_id":50870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a18250012d1b070007247a68002600d22a..."} 
[2026-04-22 20:10:31] local.INFO: Packet analysis {"connection_id":50870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:31] local.INFO: Extracted packet for processing {"connection_id":50870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756745984,"raw_latitude":119831144,"longitude_deg":75.6745984,"latitude_deg":11.9831144,"altitude":38,"angle":210,"satellites":42,"speed":8,"hex_longitude":"2d1b0700","hex_latitude":"07247a68","is_valid_coordinates":true} 
[2026-04-22 20:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878400768001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029745326260224,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947595763282024448,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776868754000,"timestamp_ms":1776868754000,"timestamp_seconds":1776868754,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a18250"} 
[2026-04-22 20:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-22 20:10:31] 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-22 20:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:10:31] 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-22 20:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878400768001,"66":13678,"176":206,"83":42752,"24":8,"16":114029745326260224,"45":1947595763282024448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878400768001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:10:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:10:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029745326260224,"km_value":114029745326260.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947595763282024448,"description":"Unknown IO ID 45"} 
[2026-04-22 20:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878400768001,"power":13678,"unknown_176":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1947595763282024448}} 
[2026-04-22 20:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":50870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:10:32] local.INFO: GPS data processed {"connection_id":50870,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:10:32] local.INFO: Acknowledgment sent {"connection_id":50870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:10:35] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:10:35] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:10:35] local.INFO: IMEI packet received {"connection_id":50976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":50976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:10:36] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a1a960012d7be50005dc4bb8000001671f..."} 
[2026-04-22 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a1a960012d7be50005dc4bb8000001671f..."} 
[2026-04-22 20:10:36] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a1a960012d7be50005dc4bb8000001671f..."} 
[2026-04-22 20:10:36] local.INFO: Packet analysis {"connection_id":50976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:36] local.INFO: Extracted packet for processing {"connection_id":50976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763094272,"raw_latitude":98323384,"longitude_deg":76.3094272,"latitude_deg":9.8323384,"altitude":0,"angle":359,"satellites":31,"speed":48,"hex_longitude":"2d7be500","hex_latitude":"05dc4bb8","is_valid_coordinates":true} 
[2026-04-22 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878401536001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278637901703544832,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964073965215744,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:36] 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-22 20:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776868764000,"timestamp_ms":1776868764000,"timestamp_seconds":1776868764,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a1a960"} 
[2026-04-22 20:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:10: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-22 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:10: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-22 20:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:10:36] 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-22 20:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878401536001,"66":27397,"168":206,"85":15104,"24":48,"16":278637901703544832,"45":8927964073965215744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-22 20:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878401536001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:10:36] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-22 20:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278637901703544832,"km_value":278637901703544.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964073965215744,"description":"Unknown IO ID 45"} 
[2026-04-22 20:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878401536001,"power":27397,"unknown_168":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8927964073965215744}} 
[2026-04-22 20:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":50976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:10:36] local.INFO: GPS data processed {"connection_id":50976,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:10:36] local.INFO: Acknowledgment sent {"connection_id":50976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:10:37] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a1c8a0012d7be3c005dc71f00000016623..."} 
[2026-04-22 20:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a1c8a0012d7be3c005dc71f00000016623..."} 
[2026-04-22 20:10:37] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a1c8a0012d7be3c005dc71f00000016623..."} 
[2026-04-22 20:10:37] local.INFO: Packet analysis {"connection_id":50976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:37] local.INFO: Extracted packet for processing {"connection_id":50976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763093952,"raw_latitude":98333168,"longitude_deg":76.3093952,"latitude_deg":9.8333168,"altitude":0,"angle":358,"satellites":35,"speed":46,"hex_longitude":"2d7be3c0","hex_latitude":"05dc71f0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878403584001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278638378444914688,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927541861502662656,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:37] 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-22 20:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776868772000,"timestamp_ms":1776868772000,"timestamp_seconds":1776868772,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a1c8a0"} 
[2026-04-22 20: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-22 20: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-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:10:37] 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-22 20:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878403584001,"66":27321,"50":206,"85":15104,"24":46,"16":278638378444914688,"45":8927541861502662656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 20:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878403584001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:10:37] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 20:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278638378444914688,"km_value":278638378444914.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927541861502662656,"description":"Unknown IO ID 45"} 
[2026-04-22 20:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878403584001,"power":27321,"unknown_50":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8927541861502662656}} 
[2026-04-22 20:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":50976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:10:37] local.INFO: GPS data processed {"connection_id":50976,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:10:37] local.INFO: Acknowledgment sent {"connection_id":50976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:10:46] local.INFO: TCP Data received {"connection_id":51556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a13818012d7ea44005b5c5e0000b00032d..."} 
[2026-04-22 20:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a13818012d7ea44005b5c5e0000b00032d..."} 
[2026-04-22 20:10:46] local.INFO: Processing buffer {"connection_id":51556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a13818012d7ea44005b5c5e0000b00032d..."} 
[2026-04-22 20:10:46] local.INFO: Packet analysis {"connection_id":51556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:46] local.INFO: Extracted packet for processing {"connection_id":51556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95798752,"longitude_deg":76.3274304,"latitude_deg":9.5798752,"altitude":11,"angle":3,"satellites":45,"speed":0,"hex_longitude":"2d7ea440","hex_latitude":"05b5c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878319104001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":75016336878600192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138228125696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776868735000,"timestamp_ms":1776868735000,"timestamp_seconds":1776868735,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a13818"} 
[2026-04-22 20: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-22 20:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20: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":205,"data_length":795,"current_offset":136} 
[2026-04-22 20:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":51556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":51556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":51556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-22 20:10:46] 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-22 20:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-22 20:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-22 20:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878319104001,"66":2253,"11":206,"85":12544,"24":0,"16":75016336878600192,"45":9125489138228125696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-22 20:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-22 20:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-22 20:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878319104001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:10:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-22 20:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-22 20:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":75016336878600192,"km_value":75016336878600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138228125696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878319104001,"power":2253,"unknown_11":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9125489138228125696}} 
[2026-04-22 20:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":51556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:10:46] local.INFO: GPS data processed {"connection_id":51556,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:10:46] local.INFO: Acknowledgment sent {"connection_id":51556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:11:03] local.INFO: TCP Data received {"connection_id":50870,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a18e08012d1b0580072478d0002700df2b..."} 
[2026-04-22 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a18e08012d1b0580072478d0002700df2b..."} 
[2026-04-22 20:11:03] local.INFO: Processing buffer {"connection_id":50870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a18e08012d1b0580072478d0002700df2b..."} 
[2026-04-22 20:11:03] local.INFO: Packet analysis {"connection_id":50870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:11:03] local.INFO: Extracted packet for processing {"connection_id":50870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756745600,"raw_latitude":119830736,"longitude_deg":75.67456,"latitude_deg":11.9830736,"altitude":39,"angle":223,"satellites":43,"speed":7,"hex_longitude":"2d1b0580","hex_latitude":"072478d0","is_valid_coordinates":true} 
[2026-04-22 20:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878401024001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114029771096064000,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947525394537801728,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776868757000,"timestamp_ms":1776868757000,"timestamp_seconds":1776868757,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a18e08"} 
[2026-04-22 20:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:11:03] 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-22 20:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 20:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878401024001,"66":13656,"176":206,"83":42752,"24":7,"16":114029771096064000,"45":1947525394537801728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878401024001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:11:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114029771096064000,"km_value":114029771096064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947525394537801728,"description":"Unknown IO ID 45"} 
[2026-04-22 20:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878401024001,"power":13656,"unknown_176":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1947525394537801728}} 
[2026-04-22 20:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":50870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:11:03] local.INFO: GPS data processed {"connection_id":50870,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:11:03] local.INFO: Acknowledgment sent {"connection_id":50870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:11:07] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a1e7e0012d7be2c005dc96a80000016623..."} 
[2026-04-22 20:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a1e7e0012d7be2c005dc96a80000016623..."} 
[2026-04-22 20:11:07] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a1e7e0012d7be2c005dc96a80000016623..."} 
[2026-04-22 20:11:07] local.INFO: Packet analysis {"connection_id":50976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:11:07] local.INFO: Extracted packet for processing {"connection_id":50976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763093696,"raw_latitude":98342568,"longitude_deg":76.3093696,"latitude_deg":9.8342568,"altitude":0,"angle":358,"satellites":35,"speed":43,"hex_longitude":"2d7be2c0","hex_latitude":"05dc96a8","is_valid_coordinates":true} 
[2026-04-22 20:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878405632001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278638833711448064,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927190017784279040,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:07] 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-22 20:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776868780000,"timestamp_ms":1776868780000,"timestamp_seconds":1776868780,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a1e7e0"} 
[2026-04-22 20:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:11: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-22 20:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 20:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:11: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-22 20:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878405632001,"66":27300,"50":206,"85":15104,"24":43,"16":278638833711448064,"45":8927190017784279040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 20:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878405632001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:11:07] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 20:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278638833711448064,"km_value":278638833711448.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927190017784279040,"description":"Unknown IO ID 45"} 
[2026-04-22 20:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878405632001,"power":27300,"unknown_50":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8927190017784279040}} 
[2026-04-22 20:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":50976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:11:07] local.INFO: GPS data processed {"connection_id":50976,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:11:07] local.INFO: Acknowledgment sent {"connection_id":50976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:11:25] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:11:25] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:11:25] local.INFO: IMEI packet received {"connection_id":50871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":50871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:11:26] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:11:26] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:11:26] local.INFO: IMEI packet received {"connection_id":50871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":50871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:11:27] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a20b08012d7be20005dcbb300000016724..."} 
[2026-04-22 20:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a20b08012d7be20005dcbb300000016724..."} 
[2026-04-22 20:11:27] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a20b08012d7be20005dcbb300000016724..."} 
[2026-04-22 20:11:27] local.INFO: Packet analysis {"connection_id":50871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a2"} 
[2026-04-22 20:11:27] local.INFO: Extracted packet for processing {"connection_id":50871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a2"} 
[2026-04-22 20:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763093504,"raw_latitude":98351920,"longitude_deg":76.3093504,"latitude_deg":9.835192,"altitude":0,"angle":359,"satellites":36,"speed":42,"hex_longitude":"2d7be200","hex_latitude":"05dcbb30","is_valid_coordinates":true} 
[2026-04-22 20:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878407680001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278639284683014144,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926908542809974784,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:27] 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-22 20:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776868789000,"timestamp_ms":1776868789000,"timestamp_seconds":1776868789,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a20b08"} 
[2026-04-22 20:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 20:11: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-22 20:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":50871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:11:27] 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-22 20:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878407680001,"66":27343,"50":206,"85":15104,"24":42,"16":278639284683014144,"45":8926908542809974784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 20:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878407680001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:11:27] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 20:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278639284683014144,"km_value":278639284683014.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926908542809974784,"description":"Unknown IO ID 45"} 
[2026-04-22 20:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878407680001,"power":27343,"unknown_50":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8926908542809974784}} 
[2026-04-22 20:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":50871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:11:27] local.INFO: GPS data processed {"connection_id":50871,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:11:27] local.INFO: Acknowledgment sent {"connection_id":50871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:11:27] local.INFO: TCP Data received {"connection_id":50872,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:11:27] local.INFO: Processing buffer {"connection_id":50872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:11:27] local.INFO: IMEI packet received {"connection_id":50872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":50872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:11:32] local.INFO: TCP Data received {"connection_id":50872,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:11:32] local.INFO: Processing buffer {"connection_id":50872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:11:32] local.INFO: IMEI packet received {"connection_id":50872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:11:33] local.INFO: TCP Data received {"connection_id":50872,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a1d840012d1aefc007246128002900d42b..."} 
[2026-04-22 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a1d840012d1aefc007246128002900d42b..."} 
[2026-04-22 20:11:33] local.INFO: Processing buffer {"connection_id":50872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a1d840012d1aefc007246128002900d42b..."} 
[2026-04-22 20:11:33] local.INFO: Packet analysis {"connection_id":50872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:11:33] local.INFO: Extracted packet for processing {"connection_id":50872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a1"} 
[2026-04-22 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756740032,"raw_latitude":119824680,"longitude_deg":75.6740032,"latitude_deg":11.982468,"altitude":41,"angle":212,"satellites":43,"speed":22,"hex_longitude":"2d1aefc0","hex_latitude":"07246128","is_valid_coordinates":true} 
[2026-04-22 20:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878401792001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114030166233055232,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947103182072631296,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776868776000,"timestamp_ms":1776868776000,"timestamp_seconds":1776868776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a1d840"} 
[2026-04-22 20: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-22 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-22 20:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878401792001,"66":13646,"176":206,"83":42752,"24":22,"16":114030166233055232,"45":1947103182072631296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-22 20:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878401792001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:11:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-22 20:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114030166233055232,"km_value":114030166233055.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947103182072631296,"description":"Unknown IO ID 45"} 
[2026-04-22 20:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878401792001,"power":13646,"unknown_176":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1947103182072631296}} 
[2026-04-22 20:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":50872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:11:33] local.INFO: GPS data processed {"connection_id":50872,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:11:33] local.INFO: Acknowledgment sent {"connection_id":50872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:11:58] local.INFO: TCP Data received {"connection_id":50871,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a22a48012d7be0c005dcdf500000016624..."} 
[2026-04-22 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a22a48012d7be0c005dcdf500000016624..."} 
[2026-04-22 20:11:58] local.INFO: Processing buffer {"connection_id":50871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a22a48012d7be0c005dcdf500000016624..."} 
[2026-04-22 20:11:58] local.INFO: Packet analysis {"connection_id":50871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a2"} 
[2026-04-22 20:11:58] local.INFO: Extracted packet for processing {"connection_id":50871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a2"} 
[2026-04-22 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763093184,"raw_latitude":98361168,"longitude_deg":76.3093184,"latitude_deg":9.8361168,"altitude":0,"angle":358,"satellites":36,"speed":50,"hex_longitude":"2d7be0c0","hex_latitude":"05dcdf50","is_valid_coordinates":true} 
[2026-04-22 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-22 20:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878409984001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278639735654580224,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926697436579835904,"note":"Value kept but may cause issues"} 
[2026-04-22 20:11: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-22 20:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776868797000,"timestamp_ms":1776868797000,"timestamp_seconds":1776868797,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a22a48"} 
[2026-04-22 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-22 20:11: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-22 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:11: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-22 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-22 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-22 20:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":50871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":50871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:11: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-22 20:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878409984001,"66":27463,"50":206,"85":15104,"24":50,"16":278639735654580224,"45":8926697436579835904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-22 20:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878409984001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278639735654580224,"km_value":278639735654580.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926697436579835904,"description":"Unknown IO ID 45"} 
[2026-04-22 20:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878409984001,"power":27463,"unknown_50":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8926697436579835904}} 
[2026-04-22 20:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":50871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:11:58] local.INFO: GPS data processed {"connection_id":50871,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:11:58] local.INFO: Acknowledgment sent {"connection_id":50871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:12:04] local.INFO: TCP Data received {"connection_id":50872,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a333e8012d1a1e000723b020003000f62a..."} 
[2026-04-22 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a333e8012d1a1e000723b020003000f62a..."} 
[2026-04-22 20:12:04] local.INFO: Processing buffer {"connection_id":50872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a333e8012d1a1e000723b020003000f62a..."} 
[2026-04-22 20:12:04] local.INFO: Packet analysis {"connection_id":50872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:12:04] local.INFO: Extracted packet for processing {"connection_id":50872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756686336,"raw_latitude":119779360,"longitude_deg":75.6686336,"latitude_deg":11.977936,"altitude":48,"angle":246,"satellites":42,"speed":36,"hex_longitude":"2d1a1e00","hex_latitude":"0723b020","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878428416001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114033636566630400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885389793416085504,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:04] 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-22 20:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776868865000,"timestamp_ms":1776868865000,"timestamp_seconds":1776868865,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a333e8"} 
[2026-04-22 20: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-22 20:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-22 20:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:12:04] 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-22 20:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878428416001,"66":13722,"42":206,"83":42752,"24":36,"16":114033636566630400,"45":1885389793416085504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-22 20:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878428416001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:12:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-22 20:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114033636566630400,"km_value":114033636566630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885389793416085504,"description":"Unknown IO ID 45"} 
[2026-04-22 20:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878428416001,"power":13722,"unknown_42":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1885389793416085504}} 
[2026-04-22 20:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":50872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:12:04] local.INFO: GPS data processed {"connection_id":50872,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:12:04] local.INFO: Acknowledgment sent {"connection_id":50872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:12:22] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:12:22] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:12:22] local.INFO: IMEI packet received {"connection_id":50588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":50588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:12:25] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:12:25] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:12:25] local.INFO: IMEI packet received {"connection_id":50588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":50588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:12:30] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:12:30] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:12:30] local.INFO: IMEI packet received {"connection_id":50588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":50588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:12:31] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a37268012d7ba14005de75900000016023..."} 
[2026-04-22 20:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a37268012d7ba14005de75900000016023..."} 
[2026-04-22 20:12:31] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a37268012d7ba14005de75900000016023..."} 
[2026-04-22 20:12:31] local.INFO: Packet analysis {"connection_id":50588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:12:31] local.INFO: Extracted packet for processing {"connection_id":50588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763076928,"raw_latitude":98465168,"longitude_deg":76.3076928,"latitude_deg":9.8465168,"altitude":0,"angle":352,"satellites":35,"speed":53,"hex_longitude":"2d7ba140","hex_latitude":"05de7590","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878431744001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278644842370695168,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910160781724739584,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776868881000,"timestamp_ms":1776868881000,"timestamp_seconds":1776868881,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a37268"} 
[2026-04-22 20: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-22 20:12: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-22 20: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":174,"data_length":795,"current_offset":136} 
[2026-04-22 20:12: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-22 20: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-22 20: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-22 20:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:12:31] 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-22 20:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878431744001,"66":27343,"49":206,"85":15104,"24":53,"16":278644842370695168,"45":8910160781724739584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 20:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878431744001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:12:31] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 20:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278644842370695168,"km_value":278644842370695.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910160781724739584,"description":"Unknown IO ID 45"} 
[2026-04-22 20:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878431744001,"power":27343,"unknown_49":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8910160781724739584}} 
[2026-04-22 20:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":50588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:12:31] local.INFO: GPS data processed {"connection_id":50588,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:12:31] local.INFO: Acknowledgment sent {"connection_id":50588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:12:31] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:12:31] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:12:31] local.INFO: IMEI packet received {"connection_id":50589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":50589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:12:37] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:12:37] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:12:37] local.INFO: IMEI packet received {"connection_id":50589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":50589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:12:37] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:12:37] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:12:37] local.INFO: IMEI packet received {"connection_id":50589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":50589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:12:38] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a34770012d1a0cc00723aa80003001022b..."} 
[2026-04-22 20:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a34770012d1a0cc00723aa80003001022b..."} 
[2026-04-22 20:12:38] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a34770012d1a0cc00723aa80003001022b..."} 
[2026-04-22 20:12:38] local.INFO: Packet analysis {"connection_id":50589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:12:38] local.INFO: Extracted packet for processing {"connection_id":50589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756681920,"raw_latitude":119777920,"longitude_deg":75.668192,"latitude_deg":11.977792,"altitude":48,"angle":258,"satellites":43,"speed":36,"hex_longitude":"2d1a0cc0","hex_latitude":"0723aa80","is_valid_coordinates":true} 
[2026-04-22 20:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878429440001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114033859904929792,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881941724950962176,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:38] 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-22 20:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776868870000,"timestamp_ms":1776868870000,"timestamp_seconds":1776868870,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a34770"} 
[2026-04-22 20:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 20:12:38] 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-22 20:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:12:38] 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-22 20:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878429440001,"66":13787,"42":206,"83":42752,"24":36,"16":114033859904929792,"45":1881941724950962176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-22 20:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878429440001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:12:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-22 20:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114033859904929792,"km_value":114033859904929.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881941724950962176,"description":"Unknown IO ID 45"} 
[2026-04-22 20:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878429440001,"power":13787,"unknown_42":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1881941724950962176}} 
[2026-04-22 20:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":50589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:12:38] local.INFO: GPS data processed {"connection_id":50589,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:12:38] local.INFO: Acknowledgment sent {"connection_id":50589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:12:39] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a36e80012d19e8000723a548003101052b..."} 
[2026-04-22 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a36e80012d19e8000723a548003101052b..."} 
[2026-04-22 20:12:39] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a36e80012d19e8000723a548003101052b..."} 
[2026-04-22 20:12:39] local.INFO: Packet analysis {"connection_id":50589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:12:39] local.INFO: Extracted packet for processing {"connection_id":50589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756672512,"raw_latitude":119776584,"longitude_deg":75.6672512,"latitude_deg":11.9776584,"altitude":49,"angle":261,"satellites":43,"speed":38,"hex_longitude":"2d19e800","hex_latitude":"0723a548","is_valid_coordinates":true} 
[2026-04-22 20:12: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-22 20:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878430720001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114034310876495872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877086281602334720,"note":"Value kept but may cause issues"} 
[2026-04-22 20:12:39] 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-22 20:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776868880000,"timestamp_ms":1776868880000,"timestamp_seconds":1776868880,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a36e80"} 
[2026-04-22 20:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:12:39] 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-22 20:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-22 20:12:39] 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-22 20:12: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-22 20:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:12:39] 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-22 20:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878430720001,"66":13722,"42":206,"83":42752,"24":38,"16":114034310876495872,"45":1877086281602334720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-22 20:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878430720001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:12:39] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-22 20:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114034310876495872,"km_value":114034310876495.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877086281602334720,"description":"Unknown IO ID 45"} 
[2026-04-22 20:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878430720001,"power":13722,"unknown_42":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1877086281602334720}} 
[2026-04-22 20:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":50589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:12:39] local.INFO: GPS data processed {"connection_id":50589,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:12:39] local.INFO: Acknowledgment sent {"connection_id":50589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:13:02] local.INFO: TCP Data received {"connection_id":50588,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a38dc0012d7b9d8005de99880000016224..."} 
[2026-04-22 20:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a38dc0012d7b9d8005de99880000016224..."} 
[2026-04-22 20:13:02] local.INFO: Processing buffer {"connection_id":50588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a38dc0012d7b9d8005de99880000016224..."} 
[2026-04-22 20:13:02] local.INFO: Packet analysis {"connection_id":50588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:13:02] local.INFO: Extracted packet for processing {"connection_id":50588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763075968,"raw_latitude":98474376,"longitude_deg":76.3075968,"latitude_deg":9.8474376,"altitude":0,"angle":354,"satellites":36,"speed":51,"hex_longitude":"2d7b9d80","hex_latitude":"05de9988","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878433536001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278645293342261248,"note":"Value kept but may cause issues"} 
[2026-04-22 20:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908471931866812416,"note":"Value kept but may cause issues"} 
[2026-04-22 20:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776868888000,"timestamp_ms":1776868888000,"timestamp_seconds":1776868888,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a38dc0"} 
[2026-04-22 20: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-22 20:13: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-22 20: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":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:13: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-22 20: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-22 20: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-22 20:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878433536001,"66":27267,"49":206,"85":15104,"24":51,"16":278645293342261248,"45":8908471931866812416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 20:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878433536001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:13:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 20:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278645293342261248,"km_value":278645293342261.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908471931866812416,"description":"Unknown IO ID 45"} 
[2026-04-22 20:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878433536001,"power":27267,"unknown_49":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8908471931866812416}} 
[2026-04-22 20:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":50588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:13:02] local.INFO: GPS data processed {"connection_id":50588,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:13:02] local.INFO: Acknowledgment sent {"connection_id":50588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:13:10] local.INFO: TCP Data received {"connection_id":50589,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a39590012d19c3c00723a0c8003601072a..."} 
[2026-04-22 20:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a39590012d19c3c00723a0c8003601072a..."} 
[2026-04-22 20:13:10] local.INFO: Processing buffer {"connection_id":50589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a39590012d19c3c00723a0c8003601072a..."} 
[2026-04-22 20:13:10] local.INFO: Packet analysis {"connection_id":50589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:13:10] local.INFO: Extracted packet for processing {"connection_id":50589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756663232,"raw_latitude":119775432,"longitude_deg":75.6663232,"latitude_deg":11.9775432,"altitude":54,"angle":263,"satellites":42,"speed":36,"hex_longitude":"2d19c3c0","hex_latitude":"0723a0c8","is_valid_coordinates":true} 
[2026-04-22 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878433280001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114034753258127360,"note":"Value kept but may cause issues"} 
[2026-04-22 20:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866742076207876096,"note":"Value kept but may cause issues"} 
[2026-04-22 20:13:10] 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-22 20:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776868890000,"timestamp_ms":1776868890000,"timestamp_seconds":1776868890,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a39590"} 
[2026-04-22 20:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-22 20:13:10] 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-22 20:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878433280001,"66":13787,"177":206,"83":42752,"24":36,"16":114034753258127360,"45":1866742076207876096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-22 20:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878433280001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:13:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-22 20:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-22 20:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114034753258127360,"km_value":114034753258127.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866742076207876096,"description":"Unknown IO ID 45"} 
[2026-04-22 20:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878433280001,"power":13787,"unknown_177":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1866742076207876096}} 
[2026-04-22 20:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":50589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:13:10] local.INFO: GPS data processed {"connection_id":50589,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:13:10] local.INFO: Acknowledgment sent {"connection_id":50589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:13:25] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:13:25] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:13:25] local.INFO: IMEI packet received {"connection_id":50874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":50874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:13:26] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:26] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:26] local.INFO: IMEI packet received {"connection_id":50875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":50875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:13:28] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:28] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:28] local.INFO: IMEI packet received {"connection_id":50875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":50875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:13:30] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:30] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:30] local.INFO: IMEI packet received {"connection_id":50875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":50875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:13:30] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:13:30] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:13:30] local.INFO: IMEI packet received {"connection_id":50874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":50874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:13:31] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a3ad00012d7b9b0005debfd80000016424..."} 
[2026-04-22 20:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a3ad00012d7b9b0005debfd80000016424..."} 
[2026-04-22 20:13:31] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a3ad00012d7b9b0005debfd80000016424..."} 
[2026-04-22 20:13:31] local.INFO: Packet analysis {"connection_id":50874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:13:31] local.INFO: Extracted packet for processing {"connection_id":50874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763075328,"raw_latitude":98484184,"longitude_deg":76.3075328,"latitude_deg":9.8484184,"altitude":0,"angle":356,"satellites":36,"speed":44,"hex_longitude":"2d7b9b00","hex_latitude":"05debfd8","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878435328001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278645770083631104,"note":"Value kept but may cause issues"} 
[2026-04-22 20:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907416400706504704,"note":"Value kept but may cause issues"} 
[2026-04-22 20:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776868896000,"timestamp_ms":1776868896000,"timestamp_seconds":1776868896,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a3ad00"} 
[2026-04-22 20: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-22 20:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":131,"data_length":795,"current_offset":136} 
[2026-04-22 20:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:13:31] 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-22 20:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878435328001,"66":27310,"49":206,"85":15104,"24":44,"16":278645770083631104,"45":8907416400706504704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 20:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878435328001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:13:31] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 20:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278645770083631104,"km_value":278645770083631.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907416400706504704,"description":"Unknown IO ID 45"} 
[2026-04-22 20:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878435328001,"power":27310,"unknown_49":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8907416400706504704}} 
[2026-04-22 20:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":50874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:13:31] local.INFO: GPS data processed {"connection_id":50874,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:13:31] local.INFO: Acknowledgment sent {"connection_id":50874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:13:46] local.INFO: TCP Data received {"connection_id":50875,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:46] local.INFO: Processing buffer {"connection_id":50875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:13:46] local.INFO: IMEI packet received {"connection_id":50875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":50875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:14:02] local.INFO: TCP Data received {"connection_id":50874,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a3cc40012d7b990005dee6500000016426..."} 
[2026-04-22 20:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a3cc40012d7b990005dee6500000016426..."} 
[2026-04-22 20:14:02] local.INFO: Processing buffer {"connection_id":50874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a3cc40012d7b990005dee6500000016426..."} 
[2026-04-22 20:14:02] local.INFO: Packet analysis {"connection_id":50874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:14:02] local.INFO: Extracted packet for processing {"connection_id":50874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a3"} 
[2026-04-22 20:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763074816,"raw_latitude":98494032,"longitude_deg":76.3074816,"latitude_deg":9.8494032,"altitude":0,"angle":356,"satellites":38,"speed":47,"hex_longitude":"2d7b9900","hex_latitude":"05dee650","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878437376001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278646246825000960,"note":"Value kept but may cause issues"} 
[2026-04-22 20:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906712713267238912,"note":"Value kept but may cause issues"} 
[2026-04-22 20:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776868904000,"timestamp_ms":1776868904000,"timestamp_seconds":1776868904,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a3cc40"} 
[2026-04-22 20: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-22 20:14: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-22 20: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":174,"data_length":795,"current_offset":136} 
[2026-04-22 20:14: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-22 20: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-22 20: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-22 20:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878437376001,"66":27539,"49":206,"85":15104,"24":47,"16":278646246825000960,"45":8906712713267238912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-22 20:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878437376001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:14:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 20:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278646246825000960,"km_value":278646246825000.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906712713267238912,"description":"Unknown IO ID 45"} 
[2026-04-22 20:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878437376001,"power":27539,"unknown_49":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8906712713267238912}} 
[2026-04-22 20:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":50874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:14:02] local.INFO: GPS data processed {"connection_id":50874,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:14:02] local.INFO: Acknowledgment sent {"connection_id":50874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:14:15] local.INFO: TCP Data received {"connection_id":50876,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:14:15] local.INFO: Processing buffer {"connection_id":50876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:14:15] local.INFO: IMEI packet received {"connection_id":50876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":50876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:14:24] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:14:24] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:14:24] local.INFO: IMEI packet received {"connection_id":50877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":50877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:14:25] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:14:25] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:14:25] local.INFO: IMEI packet received {"connection_id":50877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":50877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:14:30] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:14:30] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:14:30] local.INFO: IMEI packet received {"connection_id":50877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":50877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:14:32] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a57220012d7b6a8005e077100000016123..."} 
[2026-04-22 20:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a57220012d7b6a8005e077100000016123..."} 
[2026-04-22 20:14:32] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a57220012d7b6a8005e077100000016123..."} 
[2026-04-22 20:14:32] local.INFO: Packet analysis {"connection_id":50877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:14:32] local.INFO: Extracted packet for processing {"connection_id":50877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763062912,"raw_latitude":98596624,"longitude_deg":76.3062912,"latitude_deg":9.8596624,"altitude":0,"angle":353,"satellites":35,"speed":55,"hex_longitude":"2d7b6a80","hex_latitude":"05e07710","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878465280001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278651254756868096,"note":"Value kept but may cause issues"} 
[2026-04-22 20:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894116708085860352,"note":"Value kept but may cause issues"} 
[2026-04-22 20:14:32] 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-22 20:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776869012000,"timestamp_ms":1776869012000,"timestamp_seconds":1776869012,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a57220"} 
[2026-04-22 20: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-22 20:14: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-22 20:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 20:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878465280001,"66":27321,"170":206,"85":15104,"24":55,"16":278651254756868096,"45":8894116708085860352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 20:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878465280001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:14:32] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 20:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278651254756868096,"km_value":278651254756868.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894116708085860352,"description":"Unknown IO ID 45"} 
[2026-04-22 20:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878465280001,"power":27321,"unknown_170":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8894116708085860352}} 
[2026-04-22 20:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":50877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:14:32] local.INFO: GPS data processed {"connection_id":50877,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:14:32] local.INFO: Acknowledgment sent {"connection_id":50877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:14:50] local.INFO: TCP Data received {"connection_id":50878,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:14:50] local.INFO: Processing buffer {"connection_id":50878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:14:50] local.INFO: IMEI packet received {"connection_id":50878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":50878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:15:03] local.INFO: TCP Data received {"connection_id":50877,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a58d78012d7b650005e09f100000015e21..."} 
[2026-04-22 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a58d78012d7b650005e09f100000015e21..."} 
[2026-04-22 20:15:03] local.INFO: Processing buffer {"connection_id":50877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a58d78012d7b650005e09f100000015e21..."} 
[2026-04-22 20:15:03] local.INFO: Packet analysis {"connection_id":50877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:15:03] local.INFO: Extracted packet for processing {"connection_id":50877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763061504,"raw_latitude":98606864,"longitude_deg":76.3061504,"latitude_deg":9.8606864,"altitude":0,"angle":350,"satellites":33,"speed":58,"hex_longitude":"2d7b6500","hex_latitude":"05e09f10","is_valid_coordinates":true} 
[2026-04-22 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878467072001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278651757268041728,"note":"Value kept but may cause issues"} 
[2026-04-22 20:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893061176925556736,"note":"Value kept but may cause issues"} 
[2026-04-22 20:15:03] 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-22 20:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776869019000,"timestamp_ms":1776869019000,"timestamp_seconds":1776869019,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a58d78"} 
[2026-04-22 20:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:15: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-22 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 20:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878467072001,"66":27234,"170":206,"85":15104,"24":58,"16":278651757268041728,"45":8893061176925556736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 20:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878467072001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:15:03] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 20:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278651757268041728,"km_value":278651757268041.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893061176925556736,"description":"Unknown IO ID 45"} 
[2026-04-22 20:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878467072001,"power":27234,"unknown_170":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8893061176925556736}} 
[2026-04-22 20:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":50877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:15:03] local.INFO: GPS data processed {"connection_id":50877,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:15:03] local.INFO: Acknowledgment sent {"connection_id":50877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:15:25] local.INFO: TCP Data received {"connection_id":50590,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:15:25] local.INFO: Processing buffer {"connection_id":50590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:15:25] local.INFO: IMEI packet received {"connection_id":50590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":50590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:15:27] local.INFO: TCP Data received {"connection_id":50590,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:15:27] local.INFO: Processing buffer {"connection_id":50590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:15:27] local.INFO: IMEI packet received {"connection_id":50590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":50590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:15:31] local.INFO: TCP Data received {"connection_id":50590,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:15:31] local.INFO: Processing buffer {"connection_id":50590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:15:31] local.INFO: IMEI packet received {"connection_id":50590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":50590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:15:31] local.INFO: TCP Data received {"connection_id":50590,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a5a8d0012d7b5ec005e0c5e00000015e22..."} 
[2026-04-22 20:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a5a8d0012d7b5ec005e0c5e00000015e22..."} 
[2026-04-22 20:15:32] local.INFO: Processing buffer {"connection_id":50590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a5a8d0012d7b5ec005e0c5e00000015e22..."} 
[2026-04-22 20:15:32] local.INFO: Packet analysis {"connection_id":50590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:15:32] local.INFO: Extracted packet for processing {"connection_id":50590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:15:32] local.INFO: GPS Element Parsed {"raw_longitude":763059904,"raw_latitude":98616800,"longitude_deg":76.3059904,"latitude_deg":9.86168,"altitude":0,"angle":350,"satellites":34,"speed":56,"hex_longitude":"2d7b5ec0","hex_latitude":"05e0c5e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878468864001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278652242599346176,"note":"Value kept but may cause issues"} 
[2026-04-22 20:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891513064556269568,"note":"Value kept but may cause issues"} 
[2026-04-22 20:15:32] 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-22 20:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776869026000,"timestamp_ms":1776869026000,"timestamp_seconds":1776869026,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a5a8d0"} 
[2026-04-22 20: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-22 20:15: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-22 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 20:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878468864001,"66":26452,"170":206,"85":15104,"24":56,"16":278652242599346176,"45":8891513064556269568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 20:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878468864001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:15:32] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 20:15:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278652242599346176,"km_value":278652242599346.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891513064556269568,"description":"Unknown IO ID 45"} 
[2026-04-22 20:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878468864001,"power":26452,"unknown_170":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8891513064556269568}} 
[2026-04-22 20:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":50590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:15:32] local.INFO: GPS data processed {"connection_id":50590,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:15:32] local.INFO: Acknowledgment sent {"connection_id":50590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:16:03] local.INFO: TCP Data received {"connection_id":50590,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a5c428012d7b58c005e0e8d00000015f21..."} 
[2026-04-22 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a5c428012d7b58c005e0e8d00000015f21..."} 
[2026-04-22 20:16:03] local.INFO: Processing buffer {"connection_id":50590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a5c428012d7b58c005e0e8d00000015f21..."} 
[2026-04-22 20:16:03] local.INFO: Packet analysis {"connection_id":50590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:16:03] local.INFO: Extracted packet for processing {"connection_id":50590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:16:03] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98625744,"longitude_deg":76.3058368,"latitude_deg":9.8625744,"altitude":0,"angle":351,"satellites":33,"speed":48,"hex_longitude":"2d7b58c0","hex_latitude":"05e0e8d0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878470656001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278652684980977664,"note":"Value kept but may cause issues"} 
[2026-04-22 20:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889753845954371584,"note":"Value kept but may cause issues"} 
[2026-04-22 20:16:03] 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-22 20:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776869033000,"timestamp_ms":1776869033000,"timestamp_seconds":1776869033,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a5c428"} 
[2026-04-22 20: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-22 20: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-22 20: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-22 20:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878470656001,"66":27332,"170":206,"85":15104,"24":48,"16":278652684980977664,"45":8889753845954371584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-22 20:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878470656001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:16:03] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-22 20:16:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278652684980977664,"km_value":278652684980977.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889753845954371584,"description":"Unknown IO ID 45"} 
[2026-04-22 20:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878470656001,"power":27332,"unknown_170":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8889753845954371584}} 
[2026-04-22 20:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":50590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:16:03] local.INFO: GPS data processed {"connection_id":50590,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:16:03] local.INFO: Acknowledgment sent {"connection_id":50590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:16:27] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:16:27] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:16:27] local.INFO: IMEI packet received {"connection_id":50880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":50880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:16:30] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:16:30] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:16:30] local.INFO: IMEI packet received {"connection_id":50880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":50880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:16:35] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:16:35] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:16:35] local.INFO: IMEI packet received {"connection_id":50880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":50880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:16:36] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a5e368012d7b528005e10c700000015c23..."} 
[2026-04-22 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a5e368012d7b528005e10c700000015c23..."} 
[2026-04-22 20:16:36] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a5e368012d7b528005e10c700000015c23..."} 
[2026-04-22 20:16:36] local.INFO: Packet analysis {"connection_id":50880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:16:36] local.INFO: Extracted packet for processing {"connection_id":50880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a5"} 
[2026-04-22 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98634864,"longitude_deg":76.3056768,"latitude_deg":9.8634864,"altitude":0,"angle":348,"satellites":35,"speed":45,"hex_longitude":"2d7b5280","hex_latitude":"05e10c70","is_valid_coordinates":true} 
[2026-04-22 20:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878472448001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996096397312,"note":"Value kept but may cause issues"} 
[2026-04-22 20:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278653131657576448,"note":"Value kept but may cause issues"} 
[2026-04-22 20:16:36] 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-22 20:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776869041000,"timestamp_ms":1776869041000,"timestamp_seconds":1776869041,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a5e368"} 
[2026-04-22 20:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:16: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-22 20:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 20:16: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-22 20:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:16:36] 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-22 20:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878472448001,"66":27376,"45":8888064996096397312,"85":15104,"24":45,"16":278653131657576448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-04-22 20:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878472448001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996096397312,"description":"Unknown IO ID 45"} 
[2026-04-22 20:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278653131657576448,"km_value":278653131657576.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:16:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454878472448001,"power":27376,"unknown_45":8888064996096397312,"unknown_85":15104,"ignition":45,"odometer":null}} 
[2026-04-22 20:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":50880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:16:36] local.INFO: GPS data processed {"connection_id":50880,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:16:36] local.INFO: Acknowledgment sent {"connection_id":50880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:16:41] local.INFO: TCP Data received {"connection_id":50880,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a602a8012d7b4cc005e12f980000015e24..."} 
[2026-04-22 20:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a602a8012d7b4cc005e12f980000015e24..."} 
[2026-04-22 20:16:41] local.INFO: Processing buffer {"connection_id":50880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a602a8012d7b4cc005e12f980000015e24..."} 
[2026-04-22 20:16:41] local.INFO: Packet analysis {"connection_id":50880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a6"} 
[2026-04-22 20:16:41] local.INFO: Extracted packet for processing {"connection_id":50880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a6"} 
[2026-04-22 20:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763055296,"raw_latitude":98643864,"longitude_deg":76.3055296,"latitude_deg":9.8643864,"altitude":0,"angle":350,"satellites":36,"speed":47,"hex_longitude":"2d7b4cc0","hex_latitude":"05e12f98","is_valid_coordinates":true} 
[2026-04-22 20:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878474496001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777494290432,"note":"Value kept but may cause issues"} 
[2026-04-22 20:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278653574039207936,"note":"Value kept but may cause issues"} 
[2026-04-22 20:16:41] 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-22 20:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776869049000,"timestamp_ms":1776869049000,"timestamp_seconds":1776869049,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a602a8"} 
[2026-04-22 20:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:16: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-22 20:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 20:16: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-22 20:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:16:41] 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-22 20:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878474496001,"66":27397,"45":8886305777494290432,"85":15104,"24":47,"16":278653574039207936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-04-22 20:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878474496001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777494290432,"description":"Unknown IO ID 45"} 
[2026-04-22 20:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278653574039207936,"km_value":278653574039207.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:16:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454878474496001,"power":27397,"unknown_45":8886305777494290432,"unknown_85":15104,"ignition":47,"odometer":null}} 
[2026-04-22 20:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":50880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:16:41] local.INFO: GPS data processed {"connection_id":50880,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:16:41] local.INFO: Acknowledgment sent {"connection_id":50880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:17:25] local.INFO: TCP Data received {"connection_id":50881,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:17:25] local.INFO: Processing buffer {"connection_id":50881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:17:25] local.INFO: IMEI packet received {"connection_id":50881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":50881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:17:30] local.INFO: TCP Data received {"connection_id":50881,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:17:30] local.INFO: Processing buffer {"connection_id":50881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:17:30] local.INFO: IMEI packet received {"connection_id":50881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":50881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:17:31] local.INFO: TCP Data received {"connection_id":50881,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a621e8012d7b460005e153000000015e23..."} 
[2026-04-22 20:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a621e8012d7b460005e153000000015e23..."} 
[2026-04-22 20:17:31] local.INFO: Processing buffer {"connection_id":50881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a621e8012d7b460005e153000000015e23..."} 
[2026-04-22 20:17:31] local.INFO: Packet analysis {"connection_id":50881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a6"} 
[2026-04-22 20:17:31] local.INFO: Extracted packet for processing {"connection_id":50881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a6"} 
[2026-04-22 20:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98652928,"longitude_deg":76.3053568,"latitude_deg":9.8652928,"altitude":0,"angle":350,"satellites":35,"speed":39,"hex_longitude":"2d7b4600","hex_latitude":"05e15300","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878476544001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884687296380508160,"note":"Value kept but may cause issues"} 
[2026-04-22 20:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278654020715806720,"note":"Value kept but may cause issues"} 
[2026-04-22 20:17:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-22 20:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776869057000,"timestamp_ms":1776869057000,"timestamp_seconds":1776869057,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a621e8"} 
[2026-04-22 20: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-22 20:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:17: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-22 20: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-22 20: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-22 20:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:17:31] 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-22 20:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878476544001,"66":27463,"45":8884687296380508160,"85":15104,"24":39,"16":278654020715806720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-04-22 20:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878476544001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884687296380508160,"description":"Unknown IO ID 45"} 
[2026-04-22 20:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278654020715806720,"km_value":278654020715806.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:17:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454878476544001,"power":27463,"unknown_45":8884687296380508160,"unknown_85":15104,"ignition":39,"odometer":null}} 
[2026-04-22 20:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":50881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:17:31] local.INFO: GPS data processed {"connection_id":50881,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:17:31] local.INFO: Acknowledgment sent {"connection_id":50881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:18:03] local.INFO: TCP Data received {"connection_id":50881,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a87f60012d7b0d8005e2ffb00000015f21..."} 
[2026-04-22 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a87f60012d7b0d8005e2ffb00000015f21..."} 
[2026-04-22 20:18:03] local.INFO: Processing buffer {"connection_id":50881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a87f60012d7b0d8005e2ffb00000015f21..."} 
[2026-04-22 20:18:03] local.INFO: Packet analysis {"connection_id":50881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a8"} 
[2026-04-22 20:18:03] local.INFO: Extracted packet for processing {"connection_id":50881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a8"} 
[2026-04-22 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98762672,"longitude_deg":76.3039104,"latitude_deg":9.8762672,"altitude":0,"angle":351,"satellites":33,"speed":29,"hex_longitude":"2d7b0d80","hex_latitude":"05e2ffb0","is_valid_coordinates":true} 
[2026-04-22 20:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878514176001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278659398014861312,"note":"Value kept but may cause issues"} 
[2026-04-22 20:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868432116503640064,"note":"Value kept but may cause issues"} 
[2026-04-22 20:18:03] 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-22 20:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776869212000,"timestamp_ms":1776869212000,"timestamp_seconds":1776869212,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a87f60"} 
[2026-04-22 20:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:18: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-22 20:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878514176001,"66":27484,"97":206,"85":15104,"24":29,"16":278659398014861312,"45":8868432116503640064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-22 20:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878514176001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 20:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278659398014861312,"km_value":278659398014861.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868432116503640064,"description":"Unknown IO ID 45"} 
[2026-04-22 20:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878514176001,"power":27484,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8868432116503640064}} 
[2026-04-22 20:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":50881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:18:03] local.INFO: GPS data processed {"connection_id":50881,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:18:03] local.INFO: Acknowledgment sent {"connection_id":50881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:18:25] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:18:25] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:18:25] local.INFO: IMEI packet received {"connection_id":50591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":50591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:18:30] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:18:30] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:18:30] local.INFO: IMEI packet received {"connection_id":50591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":50591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:18:31] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a8b610012d7b080005e32328000001611d..."} 
[2026-04-22 20:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a8b610012d7b080005e32328000001611d..."} 
[2026-04-22 20:18:31] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a8b610012d7b080005e32328000001611d..."} 
[2026-04-22 20:18:31] local.INFO: Packet analysis {"connection_id":50591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a8"} 
[2026-04-22 20:18:31] local.INFO: Extracted packet for processing {"connection_id":50591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a8"} 
[2026-04-22 20:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98771752,"longitude_deg":76.3037696,"latitude_deg":9.8771752,"altitude":0,"angle":353,"satellites":29,"speed":25,"hex_longitude":"2d7b0800","hex_latitude":"05e32328","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878518272001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278659840396492800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004133974016,"note":"Value kept but may cause issues"} 
[2026-04-22 20:18:31] 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-22 20:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776869226000,"timestamp_ms":1776869226000,"timestamp_seconds":1776869226,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a8b610"} 
[2026-04-22 20: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-22 20:18: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-22 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 20:18: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-22 20: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-22 20: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-22 20:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:18:31] 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-22 20:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878518272001,"66":27310,"97":206,"85":15104,"24":25,"16":278659840396492800,"45":8866884004133974016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-22 20:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878518272001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 20:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278659840396492800,"km_value":278659840396492.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004133974016,"description":"Unknown IO ID 45"} 
[2026-04-22 20:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878518272001,"power":27310,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8866884004133974016}} 
[2026-04-22 20:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":50591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:18:31] local.INFO: GPS data processed {"connection_id":50591,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:18:31] local.INFO: Acknowledgment sent {"connection_id":50591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:18:32] local.INFO: TCP Data received {"connection_id":50592,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:18:32] local.INFO: Processing buffer {"connection_id":50592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:18:32] local.INFO: IMEI packet received {"connection_id":50592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":50592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:18:32] local.INFO: TCP Data received {"connection_id":50592,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a75298012d188e80072254e8005e002028..."} 
[2026-04-22 20:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a75298012d188e80072254e8005e002028..."} 
[2026-04-22 20:18:32] local.INFO: Processing buffer {"connection_id":50592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a75298012d188e80072254e8005e002028..."} 
[2026-04-22 20:18:32] local.INFO: Packet analysis {"connection_id":50592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a7"} 
[2026-04-22 20:18:32] local.INFO: Extracted packet for processing {"connection_id":50592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a7"} 
[2026-04-22 20:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756584064,"raw_latitude":119690472,"longitude_deg":75.6584064,"latitude_deg":11.9690472,"altitude":94,"angle":32,"satellites":40,"speed":34,"hex_longitude":"2d188e80","hex_latitude":"072254e8","is_valid_coordinates":true} 
[2026-04-22 20:18: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-22 20:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878496768001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114043815639121920,"note":"Value kept but may cause issues"} 
[2026-04-22 20:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765692559545374720,"note":"Value kept but may cause issues"} 
[2026-04-22 20:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776869135000,"timestamp_ms":1776869135000,"timestamp_seconds":1776869135,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a75298"} 
[2026-04-22 20:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 20:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878496768001,"66":13156,"105":206,"83":41984,"24":34,"16":114043815639121920,"45":1765692559545374720},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 20:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878496768001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:18:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 20:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114043815639121920,"km_value":114043815639121.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765692559545374720,"description":"Unknown IO ID 45"} 
[2026-04-22 20:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878496768001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1765692559545374720}} 
[2026-04-22 20:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":50592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:18:33] local.INFO: GPS data processed {"connection_id":50592,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:18:33] local.INFO: Acknowledgment sent {"connection_id":50592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:19:04] local.INFO: TCP Data received {"connection_id":50592,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a75680012d189080072257a0005f002129..."} 
[2026-04-22 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a75680012d189080072257a0005f002129..."} 
[2026-04-22 20:19:04] local.INFO: Processing buffer {"connection_id":50592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a75680012d189080072257a0005f002129..."} 
[2026-04-22 20:19:04] local.INFO: Packet analysis {"connection_id":50592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a7"} 
[2026-04-22 20:19:04] local.INFO: Extracted packet for processing {"connection_id":50592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a7"} 
[2026-04-22 20:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756584576,"raw_latitude":119691168,"longitude_deg":75.6584576,"latitude_deg":11.9691168,"altitude":95,"angle":33,"satellites":41,"speed":33,"hex_longitude":"2d189080","hex_latitude":"072257a0","is_valid_coordinates":true} 
[2026-04-22 20:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878498560001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114043815639121920,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769492471732299776,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776869136000,"timestamp_ms":1776869136000,"timestamp_seconds":1776869136,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a75680"} 
[2026-04-22 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-22 20:19:04] 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-22 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-04-22 20:19:04] 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-22 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-22 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-22 20:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878498560001,"66":4470,"105":206,"83":41984,"24":33,"16":114043815639121920,"45":1769492471732299776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-22 20:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878498560001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:19:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 20:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114043815639121920,"km_value":114043815639121.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769492471732299776,"description":"Unknown IO ID 45"} 
[2026-04-22 20:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878498560001,"power":4470,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1769492471732299776}} 
[2026-04-22 20:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":50592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:19:04] local.INFO: GPS data processed {"connection_id":50592,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:19:04] local.INFO: Acknowledgment sent {"connection_id":50592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:19:05] local.INFO: TCP Data received {"connection_id":50591,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a8f0a8012d7b044005e347c80000016625..."} 
[2026-04-22 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a8f0a8012d7b044005e347c80000016625..."} 
[2026-04-22 20:19:05] local.INFO: Processing buffer {"connection_id":50591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a8f0a8012d7b044005e347c80000016625..."} 
[2026-04-22 20:19:05] local.INFO: Packet analysis {"connection_id":50591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a8"} 
[2026-04-22 20:19:05] local.INFO: Extracted packet for processing {"connection_id":50591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a8"} 
[2026-04-22 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98781128,"longitude_deg":76.3036736,"latitude_deg":9.8781128,"altitude":0,"angle":358,"satellites":37,"speed":27,"hex_longitude":"2d7b0440","hex_latitude":"05e347c8","is_valid_coordinates":true} 
[2026-04-22 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878521856001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278660299957993472,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891764389888,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776869241000,"timestamp_ms":1776869241000,"timestamp_seconds":1776869241,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a8f0a8"} 
[2026-04-22 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:19: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-22 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-22 20:19: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-22 20:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878521856001,"66":27397,"97":206,"85":15104,"24":27,"16":278660299957993472,"45":8865335891764389888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-22 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878521856001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 20:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278660299957993472,"km_value":278660299957993.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891764389888,"description":"Unknown IO ID 45"} 
[2026-04-22 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878521856001,"power":27397,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8865335891764389888}} 
[2026-04-22 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":50591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:19:05] local.INFO: GPS data processed {"connection_id":50591,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:19:05] local.INFO: Acknowledgment sent {"connection_id":50591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:19:25] local.INFO: TCP Data received {"connection_id":51562,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:19:25] local.INFO: Processing buffer {"connection_id":51562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:19:25] local.INFO: IMEI packet received {"connection_id":51562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":51562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:19:25] local.INFO: TCP Data received {"connection_id":51562,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:19:25] local.INFO: Processing buffer {"connection_id":51562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:19:25] local.INFO: IMEI packet received {"connection_id":51562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":51562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:19:27] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:19:27] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:19:27] local.INFO: IMEI packet received {"connection_id":50882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:19:30] local.INFO: TCP Data received {"connection_id":51562,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:19:30] local.INFO: Processing buffer {"connection_id":51562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:19:30] local.INFO: IMEI packet received {"connection_id":51562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":51562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:19:31] local.INFO: TCP Data received {"connection_id":51562,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a90048012d7b02c005e354580003015925..."} 
[2026-04-22 20:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a90048012d7b02c005e354580003015925..."} 
[2026-04-22 20:19:31] local.INFO: Processing buffer {"connection_id":51562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a90048012d7b02c005e354580003015925..."} 
[2026-04-22 20:19:31] local.INFO: Packet analysis {"connection_id":51562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a9"} 
[2026-04-22 20:19:31] local.INFO: Extracted packet for processing {"connection_id":51562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a9"} 
[2026-04-22 20:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763036352,"raw_latitude":98784344,"longitude_deg":76.3036352,"latitude_deg":9.8784344,"altitude":3,"angle":345,"satellites":37,"speed":33,"hex_longitude":"2d7b02c0","hex_latitude":"05e35458","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878525696001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278660458871783424,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360604125184,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:31] 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-22 20:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776869245000,"timestamp_ms":1776869245000,"timestamp_seconds":1776869245,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a90048"} 
[2026-04-22 20: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-22 20:19: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-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:19: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-22 20: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-22 20: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-22 20:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:19:31] 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-22 20:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878525696001,"66":27484,"97":206,"85":15104,"24":33,"16":278660458871783424,"45":8864280360604125184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-22 20:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878525696001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 20:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278660458871783424,"km_value":278660458871783.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360604125184,"description":"Unknown IO ID 45"} 
[2026-04-22 20:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878525696001,"power":27484,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8864280360604125184}} 
[2026-04-22 20:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":51562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:19:31] local.INFO: GPS data processed {"connection_id":51562,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:19:31] local.INFO: Acknowledgment sent {"connection_id":51562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:19:32] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:19:32] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:19:32] local.INFO: IMEI packet received {"connection_id":50882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:19:37] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:19:37] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:19:37] local.INFO: IMEI packet received {"connection_id":50882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":50882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:19:38] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a75680012d189080072257a0005f002129..."} 
[2026-04-22 20:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a75680012d189080072257a0005f002129..."} 
[2026-04-22 20:19:38] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a75680012d189080072257a0005f002129..."} 
[2026-04-22 20:19:38] local.INFO: Packet analysis {"connection_id":50882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a7"} 
[2026-04-22 20:19:38] local.INFO: Extracted packet for processing {"connection_id":50882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a7"} 
[2026-04-22 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756584576,"raw_latitude":119691168,"longitude_deg":75.6584576,"latitude_deg":11.9691168,"altitude":95,"angle":33,"satellites":41,"speed":33,"hex_longitude":"2d189080","hex_latitude":"072257a0","is_valid_coordinates":true} 
[2026-04-22 20:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878498816001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114043815639121920,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770055421685899264,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776869136000,"timestamp_ms":1776869136000,"timestamp_seconds":1776869136,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a75680"} 
[2026-04-22 20: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-22 20:19:38] 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-22 20: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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:19:38] 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-22 20:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878498816001,"66":4470,"105":206,"83":41984,"24":33,"16":114043815639121920,"45":1770055421685899264},"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-22 20:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878498816001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:19:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 20:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114043815639121920,"km_value":114043815639121.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770055421685899264,"description":"Unknown IO ID 45"} 
[2026-04-22 20:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878498816001,"power":4470,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1770055421685899264}} 
[2026-04-22 20:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":50882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:19:38] local.INFO: GPS data processed {"connection_id":50882,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:19:38] local.INFO: Acknowledgment sent {"connection_id":50882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:19:42] local.INFO: TCP Data received {"connection_id":50882,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5aa4098012d18a880072288e0006e001f2b..."} 
[2026-04-22 20:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5aa4098012d18a880072288e0006e001f2b..."} 
[2026-04-22 20:19:42] local.INFO: Processing buffer {"connection_id":50882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5aa4098012d18a880072288e0006e001f2b..."} 
[2026-04-22 20:19:42] local.INFO: Packet analysis {"connection_id":50882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:19:42] local.INFO: Extracted packet for processing {"connection_id":50882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119703776,"longitude_deg":75.659072,"latitude_deg":11.9703776,"altitude":110,"angle":31,"satellites":43,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"072288e0","is_valid_coordinates":true} 
[2026-04-22 20:19:42] 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-22 20:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878498816001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114043815639121920,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770055421685899264,"note":"Value kept but may cause issues"} 
[2026-04-22 20:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776869327000,"timestamp_ms":1776869327000,"timestamp_seconds":1776869327,"priority":1,"record_length":96,"hex_timestamp":"0000019db5aa4098"} 
[2026-04-22 20:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:19:42] 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-22 20:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878498816001,"66":2166,"105":206,"83":41984,"24":0,"16":114043815639121920,"45":1770055421685899264},"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-22 20:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878498816001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:19:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 20:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114043815639121920,"km_value":114043815639121.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770055421685899264,"description":"Unknown IO ID 45"} 
[2026-04-22 20:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878498816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1770055421685899264}} 
[2026-04-22 20:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":50882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:19:42] local.INFO: GPS data processed {"connection_id":50882,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:19:42] local.INFO: Acknowledgment sent {"connection_id":50882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:20:03] local.INFO: TCP Data received {"connection_id":51562,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5a92f28012d7af98005e376780007015527..."} 
[2026-04-22 20:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5a92f28012d7af98005e376780007015527..."} 
[2026-04-22 20:20:03] local.INFO: Processing buffer {"connection_id":51562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5a92f28012d7af98005e376780007015527..."} 
[2026-04-22 20:20:03] local.INFO: Packet analysis {"connection_id":51562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5a9"} 
[2026-04-22 20:20:03] local.INFO: Extracted packet for processing {"connection_id":51562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5a9"} 
[2026-04-22 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763033984,"raw_latitude":98793080,"longitude_deg":76.3033984,"latitude_deg":9.879308,"altitude":7,"angle":341,"satellites":39,"speed":26,"hex_longitude":"2d7af980","hex_latitude":"05e37678","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878526720001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278660896958447616,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863858148139882496,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:03] 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-22 20:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776869257000,"timestamp_ms":1776869257000,"timestamp_seconds":1776869257,"priority":1,"record_length":96,"hex_timestamp":"0000019db5a92f28"} 
[2026-04-22 20: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-22 20: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-22 20: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":92,"data_length":795,"current_offset":136} 
[2026-04-22 20:20: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-22 20: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-22 20: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-22 20:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878526720001,"66":27463,"97":206,"85":15104,"24":26,"16":278660896958447616,"45":8863858148139882496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-22 20:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878526720001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-22 20:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-22 20:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278660896958447616,"km_value":278660896958447.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863858148139882496,"description":"Unknown IO ID 45"} 
[2026-04-22 20:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878526720001,"power":27463,"unknown_97":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8863858148139882496}} 
[2026-04-22 20:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":51562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:20:03] local.INFO: GPS data processed {"connection_id":51562,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:20:03] local.INFO: Acknowledgment sent {"connection_id":51562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:20:20] local.INFO: TCP Data received {"connection_id":50883,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:20:20] local.INFO: Processing buffer {"connection_id":50883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:20:20] local.INFO: IMEI packet received {"connection_id":50883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":50883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:20:26] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:26] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:26] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:20:26] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:26] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:26] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:20:27] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:27] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:27] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:20:30] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:20:30] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:20:30] local.INFO: IMEI packet received {"connection_id":50594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":50594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:20:32] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:32] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:20:32] local.INFO: IMEI packet received {"connection_id":50593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:20:32] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:20:32] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:20:32] local.INFO: IMEI packet received {"connection_id":50594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:20:32] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5aa4098012d18a880072288e0006e001f2b..."} 
[2026-04-22 20:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5aa4098012d18a880072288e0006e001f2b..."} 
[2026-04-22 20:20:32] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5aa4098012d18a880072288e0006e001f2b..."} 
[2026-04-22 20:20:32] local.INFO: Packet analysis {"connection_id":50593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:20:32] local.INFO: Extracted packet for processing {"connection_id":50593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119703776,"longitude_deg":75.659072,"latitude_deg":11.9703776,"altitude":110,"angle":31,"satellites":43,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"072288e0","is_valid_coordinates":true} 
[2026-04-22 20:20:32] 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-22 20:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878547712001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114043815639121920,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821130182656,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776869327000,"timestamp_ms":1776869327000,"timestamp_seconds":1776869327,"priority":1,"record_length":96,"hex_timestamp":"0000019db5aa4098"} 
[2026-04-22 20: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-22 20:20: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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:20:32] 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-22 20:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878547712001,"66":2166,"105":206,"83":41984,"24":0,"16":114043815639121920,"45":1776810821130182656},"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-22 20:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878547712001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:20:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 20:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114043815639121920,"km_value":114043815639121.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821130182656,"description":"Unknown IO ID 45"} 
[2026-04-22 20:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878547712001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821130182656}} 
[2026-04-22 20:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":50593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:20:33] local.INFO: GPS data processed {"connection_id":50593,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:20:33] local.INFO: Acknowledgment sent {"connection_id":50593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:20:36] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:20:36] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:20:36] local.INFO: IMEI packet received {"connection_id":50594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":50594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:20:38] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5aad120012d7a4b8005e482f80006014229..."} 
[2026-04-22 20:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5aad120012d7a4b8005e482f80006014229..."} 
[2026-04-22 20:20:38] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5aad120012d7a4b8005e482f80006014229..."} 
[2026-04-22 20:20:38] local.INFO: Packet analysis {"connection_id":50594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:20:38] local.INFO: Extracted packet for processing {"connection_id":50594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:20:38] local.INFO: GPS Element Parsed {"raw_longitude":762989440,"raw_latitude":98861816,"longitude_deg":76.298944,"latitude_deg":9.8861816,"altitude":6,"angle":322,"satellites":41,"speed":38,"hex_longitude":"2d7a4b80","hex_latitude":"05e482f8","is_valid_coordinates":true} 
[2026-04-22 20:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878555648001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278665028716986368,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816711089559635968,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776869364000,"timestamp_ms":1776869364000,"timestamp_seconds":1776869364,"priority":1,"record_length":96,"hex_timestamp":"0000019db5aad120"} 
[2026-04-22 20:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:20: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-22 20:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 20:20:38] 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-22 20:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:20: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-22 20:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878555648001,"66":27376,"39":206,"87":13824,"24":38,"16":278665028716986368,"45":8816711089559635968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-22 20:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878555648001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:20:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-22 20:20:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278665028716986368,"km_value":278665028716986.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816711089559635968,"description":"Unknown IO ID 45"} 
[2026-04-22 20:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878555648001,"power":27376,"unknown_39":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8816711089559635968}} 
[2026-04-22 20:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":50594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:20:38] local.INFO: GPS data processed {"connection_id":50594,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:20:38] local.INFO: Acknowledgment sent {"connection_id":50594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:20:46] local.INFO: TCP Data received {"connection_id":50594,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5aaf448012d7a370005e4a0980005014627..."} 
[2026-04-22 20:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5aaf448012d7a370005e4a0980005014627..."} 
[2026-04-22 20:20:46] local.INFO: Processing buffer {"connection_id":50594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5aaf448012d7a370005e4a0980005014627..."} 
[2026-04-22 20:20:46] local.INFO: Packet analysis {"connection_id":50594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:20:46] local.INFO: Extracted packet for processing {"connection_id":50594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":762984192,"raw_latitude":98869400,"longitude_deg":76.2984192,"latitude_deg":9.88694,"altitude":5,"angle":326,"satellites":39,"speed":41,"hex_longitude":"2d7a3700","hex_latitude":"05e4a098","is_valid_coordinates":true} 
[2026-04-22 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878557184001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278665471098617856,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812277858677487616,"note":"Value kept but may cause issues"} 
[2026-04-22 20:20:46] 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-22 20:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776869373000,"timestamp_ms":1776869373000,"timestamp_seconds":1776869373,"priority":1,"record_length":96,"hex_timestamp":"0000019db5aaf448"} 
[2026-04-22 20:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 20:20:46] 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-22 20:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":50594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":50594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":50594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878557184001,"66":27234,"39":206,"87":13824,"24":41,"16":278665471098617856,"45":8812277858677487616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-22 20:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878557184001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:20:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-22 20:20:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278665471098617856,"km_value":278665471098617.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812277858677487616,"description":"Unknown IO ID 45"} 
[2026-04-22 20:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878557184001,"power":27234,"unknown_39":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8812277858677487616}} 
[2026-04-22 20:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":50594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:20:46] local.INFO: GPS data processed {"connection_id":50594,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:20:46] local.INFO: Acknowledgment sent {"connection_id":50594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:20:50] local.INFO: TCP Data received {"connection_id":50981,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:20:50] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:20:50] local.INFO: IMEI packet received {"connection_id":50981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":50981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:21:04] local.INFO: TCP Data received {"connection_id":50593,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5aa4098012d18a880072288e0006e001f2b..."} 
[2026-04-22 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5aa4098012d18a880072288e0006e001f2b..."} 
[2026-04-22 20:21:04] local.INFO: Processing buffer {"connection_id":50593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5aa4098012d18a880072288e0006e001f2b..."} 
[2026-04-22 20:21:04] local.INFO: Packet analysis {"connection_id":50593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:21:04] local.INFO: Extracted packet for processing {"connection_id":50593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5aa"} 
[2026-04-22 20:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119703776,"longitude_deg":75.659072,"latitude_deg":11.9703776,"altitude":110,"angle":31,"satellites":43,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"072288e0","is_valid_coordinates":true} 
[2026-04-22 20:21: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-22 20:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878547712001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114043815639121920,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821130182656,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776869327000,"timestamp_ms":1776869327000,"timestamp_seconds":1776869327,"priority":1,"record_length":96,"hex_timestamp":"0000019db5aa4098"} 
[2026-04-22 20: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-22 20:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:21:04] 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-22 20:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878547712001,"66":2166,"105":206,"83":41984,"24":0,"16":114043815639121920,"45":1776810821130182656},"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-22 20:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878547712001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:21:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 20:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114043815639121920,"km_value":114043815639121.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821130182656,"description":"Unknown IO ID 45"} 
[2026-04-22 20:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878547712001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821130182656}} 
[2026-04-22 20:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":50593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:21:04] local.INFO: GPS data processed {"connection_id":50593,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:21:04] local.INFO: Acknowledgment sent {"connection_id":50593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:21:26] local.INFO: TCP Data received {"connection_id":51563,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:21:26] local.INFO: Processing buffer {"connection_id":51563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:21:26] local.INFO: IMEI packet received {"connection_id":51563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":51563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:21:27] local.INFO: TCP Data received {"connection_id":51563,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:21:28] local.INFO: Processing buffer {"connection_id":51563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:21:28] local.INFO: IMEI packet received {"connection_id":51563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":51563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:21:29] local.INFO: TCP Data received {"connection_id":51563,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:21:29] local.INFO: Processing buffer {"connection_id":51563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:21:29] local.INFO: IMEI packet received {"connection_id":51563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":51563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:21:30] local.INFO: TCP Data received {"connection_id":51563,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5abe678012d1842800721e0a0004d00d52b..."} 
[2026-04-22 20:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5abe678012d1842800721e0a0004d00d52b..."} 
[2026-04-22 20:21:30] local.INFO: Processing buffer {"connection_id":51563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5abe678012d1842800721e0a0004d00d52b..."} 
[2026-04-22 20:21:30] local.INFO: Packet analysis {"connection_id":51563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:21:30] local.INFO: Extracted packet for processing {"connection_id":51563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756564608,"raw_latitude":119660704,"longitude_deg":75.6564608,"latitude_deg":11.9660704,"altitude":77,"angle":213,"satellites":43,"speed":52,"hex_longitude":"2d184280","hex_latitude":"0721e0a0","is_valid_coordinates":true} 
[2026-04-22 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-22 20:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878573568001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114046375439630336,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263404032,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776869435000,"timestamp_ms":1776869435000,"timestamp_seconds":1776869435,"priority":1,"record_length":96,"hex_timestamp":"0000019db5abe678"} 
[2026-04-22 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-22 20:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3047894752,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":42,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2874535937,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-7987133466684937728,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827434,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.WARNING: Large IO value detected {"io_id":170,"raw_value":-1125898613643640825,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:30] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,44,175,45,192,29,89,40,10,66,43,148,58,96,117,1,240,7,227,42,181,34,4,113,205,39,54,167,184,41,239,52,2,149,8,12,170],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-22 20:21:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5981014685811802112,"timestamp_seconds":5981014685811802.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-22 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-22 20:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":51563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":51563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":51563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:21: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-22 20:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878573568001,"66":13091,"105":206,"83":41984,"24":52,"16":114046375439630336,"45":1753940979263404032},"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-22 20:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878573568001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:21:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 20:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114046375439630336,"km_value":114046375439630.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263404032,"description":"Unknown IO ID 45"} 
[2026-04-22 20:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878573568001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1753940979263404032}} 
[2026-04-22 20:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":51563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:21:30] local.INFO: GPS data processed {"connection_id":51563,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:21:30] local.INFO: Acknowledgment sent {"connection_id":51563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:21:30] local.INFO: TCP Data received {"connection_id":50982,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:21:30] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:21:30] local.INFO: IMEI packet received {"connection_id":50982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":50982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:21:35] local.INFO: TCP Data received {"connection_id":50982,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:21:35] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:21:35] local.INFO: IMEI packet received {"connection_id":50982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":50982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:21:36] local.INFO: TCP Data received {"connection_id":50982,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ab2328012d7a218005e4be800002014325..."} 
[2026-04-22 20:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ab2328012d7a218005e4be800002014325..."} 
[2026-04-22 20:21:36] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ab2328012d7a218005e4be800002014325..."} 
[2026-04-22 20:21:36] local.INFO: Packet analysis {"connection_id":50982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:21:36] local.INFO: Extracted packet for processing {"connection_id":50982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:21:36] local.INFO: GPS Element Parsed {"raw_longitude":762978688,"raw_latitude":98877056,"longitude_deg":76.2978688,"latitude_deg":9.8877056,"altitude":2,"angle":323,"satellites":37,"speed":32,"hex_longitude":"2d7a2180","hex_latitude":"05e4be80","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878559488001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278665926365151232,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806507621656860672,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776869385000,"timestamp_ms":1776869385000,"timestamp_seconds":1776869385,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ab2328"} 
[2026-04-22 20: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-22 20:21: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-22 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-22 20:21:36] 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-22 20: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-22 20: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-22 20:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:21:36] 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-22 20:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878559488001,"66":27463,"39":206,"87":13824,"24":32,"16":278665926365151232,"45":8806507621656860672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-22 20:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878559488001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:21:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-22 20:21:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278665926365151232,"km_value":278665926365151.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806507621656860672,"description":"Unknown IO ID 45"} 
[2026-04-22 20:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878559488001,"power":27463,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8806507621656860672}} 
[2026-04-22 20:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":50982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:21:36] local.INFO: GPS data processed {"connection_id":50982,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:21:36] local.INFO: Acknowledgment sent {"connection_id":50982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:21:37] local.INFO: TCP Data received {"connection_id":50982,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ab4650012d7a0d8005e4db480002014626..."} 
[2026-04-22 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ab4650012d7a0d8005e4db480002014626..."} 
[2026-04-22 20:21:37] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ab4650012d7a0d8005e4db480002014626..."} 
[2026-04-22 20:21:37] local.INFO: Packet analysis {"connection_id":50982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:21:37] local.INFO: Extracted packet for processing {"connection_id":50982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":762973568,"raw_latitude":98884424,"longitude_deg":76.2973568,"latitude_deg":9.8884424,"altitude":2,"angle":326,"satellites":38,"speed":43,"hex_longitude":"2d7a0d80","hex_latitude":"05e4db48","is_valid_coordinates":true} 
[2026-04-22 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878562560001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278666360156848128,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800455909659541504,"note":"Value kept but may cause issues"} 
[2026-04-22 20:21:37] 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-22 20:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776869394000,"timestamp_ms":1776869394000,"timestamp_seconds":1776869394,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ab4650"} 
[2026-04-22 20:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20: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-22 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 20:21: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-22 20:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:21:37] 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-22 20:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878562560001,"66":27343,"39":206,"87":13824,"24":43,"16":278666360156848128,"45":8800455909659541504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-22 20:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878562560001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:21:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-22 20:21:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278666360156848128,"km_value":278666360156848.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800455909659541504,"description":"Unknown IO ID 45"} 
[2026-04-22 20:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878562560001,"power":27343,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8800455909659541504}} 
[2026-04-22 20:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":50982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:21:37] local.INFO: GPS data processed {"connection_id":50982,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:21:37] local.INFO: Acknowledgment sent {"connection_id":50982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:22:01] local.INFO: TCP Data received {"connection_id":51563,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ac05b8012d182cc00721c028004800d52c..."} 
[2026-04-22 20:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ac05b8012d182cc00721c028004800d52c..."} 
[2026-04-22 20:22:01] local.INFO: Processing buffer {"connection_id":51563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ac05b8012d182cc00721c028004800d52c..."} 
[2026-04-22 20:22:01] local.INFO: Packet analysis {"connection_id":51563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ac"} 
[2026-04-22 20:22:01] local.INFO: Extracted packet for processing {"connection_id":51563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ac"} 
[2026-04-22 20:22:01] local.INFO: GPS Element Parsed {"raw_longitude":756559040,"raw_latitude":119652392,"longitude_deg":75.655904,"latitude_deg":11.9652392,"altitude":72,"angle":213,"satellites":44,"speed":47,"hex_longitude":"2d182cc0","hex_latitude":"0721c028","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878575360001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114046856475967488,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748100373494669312,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776869443000,"timestamp_ms":1776869443000,"timestamp_seconds":1776869443,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ac05b8"} 
[2026-04-22 20: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-22 20:22:01] 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-22 20:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-22 20:22:01] 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-22 20: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-22 20: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-22 20:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":51563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":51563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":51563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:22:01] 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-22 20:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878575360001,"66":13396,"105":206,"83":41984,"24":47,"16":114046856475967488,"45":1748100373494669312},"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-22 20:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878575360001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:22:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 20:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114046856475967488,"km_value":114046856475967.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748100373494669312,"description":"Unknown IO ID 45"} 
[2026-04-22 20:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878575360001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1748100373494669312}} 
[2026-04-22 20:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":51563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:22:01] local.INFO: GPS data processed {"connection_id":51563,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:22:01] local.INFO: Acknowledgment sent {"connection_id":51563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:22:08] local.INFO: TCP Data received {"connection_id":50982,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ab6d60012d79fa8005e4fa980004015327..."} 
[2026-04-22 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ab6d60012d79fa8005e4fa980004015327..."} 
[2026-04-22 20:22:08] local.INFO: Processing buffer {"connection_id":50982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ab6d60012d79fa8005e4fa980004015327..."} 
[2026-04-22 20:22:08] local.INFO: Packet analysis {"connection_id":50982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:22:08] local.INFO: Extracted packet for processing {"connection_id":50982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":762968704,"raw_latitude":98892440,"longitude_deg":76.2968704,"latitude_deg":9.889244,"altitude":4,"angle":339,"satellites":39,"speed":33,"hex_longitude":"2d79fa80","hex_latitude":"05e4fa98","is_valid_coordinates":true} 
[2026-04-22 20:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878564864001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278666815423381504,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794826410127214592,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776869404000,"timestamp_ms":1776869404000,"timestamp_seconds":1776869404,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ab6d60"} 
[2026-04-22 20:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:22: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-22 20:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:22: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-22 20:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878564864001,"66":27397,"39":206,"87":13824,"24":33,"16":278666815423381504,"45":8794826410127214592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-22 20:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878564864001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:22:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-22 20:22:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278666815423381504,"km_value":278666815423381.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794826410127214592,"description":"Unknown IO ID 45"} 
[2026-04-22 20:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878564864001,"power":27397,"unknown_39":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8794826410127214592}} 
[2026-04-22 20:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":50982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:22:08] local.INFO: GPS data processed {"connection_id":50982,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:22:08] local.INFO: Acknowledgment sent {"connection_id":50982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:22:22] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:22:22] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:22:22] local.INFO: IMEI packet received {"connection_id":50596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":50596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:22:27] local.INFO: TCP Data received {"connection_id":50597,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:22:27] local.INFO: Processing buffer {"connection_id":50597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:22:27] local.INFO: IMEI packet received {"connection_id":50597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:22:27] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:22:27] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:22:27] local.INFO: IMEI packet received {"connection_id":50596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":50596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:22:30] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:22:30] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:22:30] local.INFO: IMEI packet received {"connection_id":50596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":50596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:22:31] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ab6d60012d79fa8005e4fa980004015327..."} 
[2026-04-22 20:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ab6d60012d79fa8005e4fa980004015327..."} 
[2026-04-22 20:22:31] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ab6d60012d79fa8005e4fa980004015327..."} 
[2026-04-22 20:22:31] local.INFO: Packet analysis {"connection_id":50596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:22:31] local.INFO: Extracted packet for processing {"connection_id":50596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:22:31] local.INFO: GPS Element Parsed {"raw_longitude":762968704,"raw_latitude":98892440,"longitude_deg":76.2968704,"latitude_deg":9.889244,"altitude":4,"angle":339,"satellites":39,"speed":33,"hex_longitude":"2d79fa80","hex_latitude":"05e4fa98","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878567424001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278666815423381504,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789478385571764224,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:31] 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-22 20:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776869404000,"timestamp_ms":1776869404000,"timestamp_seconds":1776869404,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ab6d60"} 
[2026-04-22 20: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-22 20:22: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-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:22: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-22 20: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-22 20: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-22 20:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:22:31] 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-22 20:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878567424001,"66":27397,"39":206,"87":13824,"24":33,"16":278666815423381504,"45":8789478385571764224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-22 20:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878567424001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:22:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-22 20:22:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278666815423381504,"km_value":278666815423381.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789478385571764224,"description":"Unknown IO ID 45"} 
[2026-04-22 20:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878567424001,"power":27397,"unknown_39":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8789478385571764224}} 
[2026-04-22 20:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":50596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:22:31] local.INFO: GPS data processed {"connection_id":50596,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:22:31] local.INFO: Acknowledgment sent {"connection_id":50596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:22:32] local.INFO: TCP Data received {"connection_id":50597,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:22:32] local.INFO: Processing buffer {"connection_id":50597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:22:32] local.INFO: IMEI packet received {"connection_id":50597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:22:33] local.INFO: TCP Data received {"connection_id":50597,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ac2110012d1822c00721b0e8004700e92a..."} 
[2026-04-22 20:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ac2110012d1822c00721b0e8004700e92a..."} 
[2026-04-22 20:22:33] local.INFO: Processing buffer {"connection_id":50597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ac2110012d1822c00721b0e8004700e92a..."} 
[2026-04-22 20:22:33] local.INFO: Packet analysis {"connection_id":50597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ac"} 
[2026-04-22 20:22:33] local.INFO: Extracted packet for processing {"connection_id":50597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ac"} 
[2026-04-22 20:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119648488,"longitude_deg":75.655648,"latitude_deg":11.9648488,"altitude":71,"angle":233,"satellites":42,"speed":9,"hex_longitude":"2d1822c0","hex_latitude":"0721b0e8","is_valid_coordinates":true} 
[2026-04-22 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-22 20:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878577408001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114047084109234176,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741978292749084672,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776869450000,"timestamp_ms":1776869450000,"timestamp_seconds":1776869450,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ac2110"} 
[2026-04-22 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-22 20:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":84,"data_length":795,"current_offset":136} 
[2026-04-22 20:22:33] 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-22 20: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-22 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-22 20:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:22:33] 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-22 20:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878577408001,"66":13537,"105":206,"83":41984,"24":9,"16":114047084109234176,"45":1741978292749084672},"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-22 20:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878577408001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:22:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-22 20:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114047084109234176,"km_value":114047084109234.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741978292749084672,"description":"Unknown IO ID 45"} 
[2026-04-22 20:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878577408001,"power":13537,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1741978292749084672}} 
[2026-04-22 20:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":50597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:22:33] local.INFO: GPS data processed {"connection_id":50597,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:22:33] local.INFO: Acknowledgment sent {"connection_id":50597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:22:33] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ab9c40012d79f2c005e51dc00006015b28..."} 
[2026-04-22 20:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ab9c40012d79f2c005e51dc00006015b28..."} 
[2026-04-22 20:22:33] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ab9c40012d79f2c005e51dc00006015b28..."} 
[2026-04-22 20:22:33] local.INFO: Packet analysis {"connection_id":50596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:22:33] local.INFO: Extracted packet for processing {"connection_id":50596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:22:33] local.INFO: GPS Element Parsed {"raw_longitude":762966720,"raw_latitude":98901440,"longitude_deg":76.296672,"latitude_deg":9.890144,"altitude":6,"angle":347,"satellites":40,"speed":15,"hex_longitude":"2d79f2c0","hex_latitude":"05e51dc0","is_valid_coordinates":true} 
[2026-04-22 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-22 20:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878567424001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278667262099980288,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789478385571764224,"note":"Value kept but may cause issues"} 
[2026-04-22 20:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776869416000,"timestamp_ms":1776869416000,"timestamp_seconds":1776869416,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ab9c40"} 
[2026-04-22 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-22 20:22: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-22 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:22: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-22 20: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-22 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-22 20:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878567424001,"66":27397,"182":206,"87":13824,"24":15,"16":278667262099980288,"45":8789478385571764224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-04-22 20:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878567424001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:22:33] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-04-22 20:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278667262099980288,"km_value":278667262099980.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789478385571764224,"description":"Unknown IO ID 45"} 
[2026-04-22 20:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878567424001,"power":27397,"unknown_182":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8789478385571764224}} 
[2026-04-22 20:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":50596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:22:33] local.INFO: GPS data processed {"connection_id":50596,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:22:33] local.INFO: Acknowledgment sent {"connection_id":50596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:23:04] local.INFO: TCP Data received {"connection_id":50597,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ad6930012d186540072182c00045006529..."} 
[2026-04-22 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ad6930012d186540072182c00045006529..."} 
[2026-04-22 20:23:04] local.INFO: Processing buffer {"connection_id":50597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ad6930012d186540072182c00045006529..."} 
[2026-04-22 20:23:04] local.INFO: Packet analysis {"connection_id":50597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ad"} 
[2026-04-22 20:23:04] local.INFO: Extracted packet for processing {"connection_id":50597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ad"} 
[2026-04-22 20:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756573504,"raw_latitude":119636672,"longitude_deg":75.6573504,"latitude_deg":11.9636672,"altitude":69,"angle":101,"satellites":41,"speed":35,"hex_longitude":"2d186540","hex_latitude":"072182c0","is_valid_coordinates":true} 
[2026-04-22 20:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878599936001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114048235160469504,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141673984000,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23: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-22 20:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776869534000,"timestamp_ms":1776869534000,"timestamp_seconds":1776869534,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ad6930"} 
[2026-04-22 20:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-22 20:23:04] 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-22 20:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:23:04] 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-22 20:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878599936001,"66":12722,"106":206,"83":41984,"24":35,"16":114048235160469504,"45":1754926141673984000},"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-22 20:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878599936001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:23:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114048235160469504,"km_value":114048235160469.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141673984000,"description":"Unknown IO ID 45"} 
[2026-04-22 20:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878599936001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1754926141673984000}} 
[2026-04-22 20:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":50597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:23:04] local.INFO: GPS data processed {"connection_id":50597,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:23:04] local.INFO: Acknowledgment sent {"connection_id":50597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:23:04] local.INFO: TCP Data received {"connection_id":50596,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5abe678012d79eb8005e540300008015d29..."} 
[2026-04-22 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5abe678012d79eb8005e540300008015d29..."} 
[2026-04-22 20:23:04] local.INFO: Processing buffer {"connection_id":50596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5abe678012d79eb8005e540300008015d29..."} 
[2026-04-22 20:23:04] local.INFO: Packet analysis {"connection_id":50596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:23:04] local.INFO: Extracted packet for processing {"connection_id":50596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ab"} 
[2026-04-22 20:23:04] local.INFO: GPS Element Parsed {"raw_longitude":762964864,"raw_latitude":98910256,"longitude_deg":76.2964864,"latitude_deg":9.8910256,"altitude":8,"angle":349,"satellites":41,"speed":29,"hex_longitude":"2d79eb80","hex_latitude":"05e54030","is_valid_coordinates":true} 
[2026-04-22 20:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878570496001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278667700186644480,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787296954504560640,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776869435000,"timestamp_ms":1776869435000,"timestamp_seconds":1776869435,"priority":1,"record_length":96,"hex_timestamp":"0000019db5abe678"} 
[2026-04-22 20:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:23: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-22 20:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878570496001,"66":27343,"182":206,"87":13824,"24":29,"16":278667700186644480,"45":8787296954504560640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-04-22 20:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878570496001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:23:04] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-04-22 20:23:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278667700186644480,"km_value":278667700186644.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787296954504560640,"description":"Unknown IO ID 45"} 
[2026-04-22 20:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878570496001,"power":27343,"unknown_182":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8787296954504560640}} 
[2026-04-22 20:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":50596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:23:04] local.INFO: GPS data processed {"connection_id":50596,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:23:04] local.INFO: Acknowledgment sent {"connection_id":50596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:23:25] local.INFO: TCP Data received {"connection_id":50983,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:23:25] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:23:25] local.INFO: IMEI packet received {"connection_id":50983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":50983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:23:25] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:25] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:25] local.INFO: IMEI packet received {"connection_id":50984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":50984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:23:26] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:26] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:26] local.INFO: IMEI packet received {"connection_id":50984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":50984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:23:29] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:29] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:29] local.INFO: IMEI packet received {"connection_id":50984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":50984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:23:32] local.INFO: TCP Data received {"connection_id":50983,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:23:32] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:23:32] local.INFO: IMEI packet received {"connection_id":50983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:23:32] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:32] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:23:32] local.INFO: IMEI packet received {"connection_id":50984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":50984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:23:32] local.INFO: TCP Data received {"connection_id":50983,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ac1558012d79e40005e56380000a015b2a..."} 
[2026-04-22 20:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ac1558012d79e40005e56380000a015b2a..."} 
[2026-04-22 20:23:32] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ac1558012d79e40005e56380000a015b2a..."} 
[2026-04-22 20:23:32] local.INFO: Packet analysis {"connection_id":50983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ac"} 
[2026-04-22 20:23:32] local.INFO: Extracted packet for processing {"connection_id":50983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ac"} 
[2026-04-22 20:23:32] local.INFO: GPS Element Parsed {"raw_longitude":762962944,"raw_latitude":98919296,"longitude_deg":76.2962944,"latitude_deg":9.8919296,"altitude":10,"angle":347,"satellites":42,"speed":30,"hex_longitude":"2d79e400","hex_latitude":"05e56380","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878575360001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278668146863243264,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785256260925665280,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776869447000,"timestamp_ms":1776869447000,"timestamp_seconds":1776869447,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ac1558"} 
[2026-04-22 20: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-22 20: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-22 20:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:23: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-22 20: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-22 20: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-22 20:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878575360001,"66":27397,"182":206,"87":13824,"24":30,"16":278668146863243264,"45":8785256260925665280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-04-22 20:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878575360001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:23:32] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-04-22 20:23:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278668146863243264,"km_value":278668146863243.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785256260925665280,"description":"Unknown IO ID 45"} 
[2026-04-22 20:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878575360001,"power":27397,"unknown_182":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8785256260925665280}} 
[2026-04-22 20:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":50983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:23:32] local.INFO: GPS data processed {"connection_id":50983,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:23:32] local.INFO: Acknowledgment sent {"connection_id":50983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:23:33] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ad7100012d186c00072182180045005a29..."} 
[2026-04-22 20:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ad7100012d186c00072182180045005a29..."} 
[2026-04-22 20:23:33] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ad7100012d186c00072182180045005a29..."} 
[2026-04-22 20:23:33] local.INFO: Packet analysis {"connection_id":50984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ad"} 
[2026-04-22 20:23:33] local.INFO: Extracted packet for processing {"connection_id":50984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ad"} 
[2026-04-22 20:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756575232,"raw_latitude":119636504,"longitude_deg":75.6575232,"latitude_deg":11.9636504,"altitude":69,"angle":90,"satellites":41,"speed":35,"hex_longitude":"2d186c00","hex_latitude":"07218218","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878600704001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114048321059815424,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757881628929212416,"note":"Value kept but may cause issues"} 
[2026-04-22 20:23: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-22 20:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776869536000,"timestamp_ms":1776869536000,"timestamp_seconds":1776869536,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ad7100"} 
[2026-04-22 20: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-22 20:23: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-22 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 20:23:33] 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-22 20: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-22 20: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-22 20:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:23:33] 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-22 20:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878600704001,"66":13276,"106":206,"83":41984,"24":35,"16":114048321059815424,"45":1757881628929212416},"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-22 20:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878600704001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:23:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114048321059815424,"km_value":114048321059815.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757881628929212416,"description":"Unknown IO ID 45"} 
[2026-04-22 20:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878600704001,"power":13276,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1757881628929212416}} 
[2026-04-22 20:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":50984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:23:33] local.INFO: GPS data processed {"connection_id":50984,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:23:33] local.INFO: Acknowledgment sent {"connection_id":50984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:24:03] local.INFO: TCP Data received {"connection_id":50983,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ae1128012d79b78005e6dd880005016327..."} 
[2026-04-22 20:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ae1128012d79b78005e6dd880005016327..."} 
[2026-04-22 20:24:03] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ae1128012d79b78005e6dd880005016327..."} 
[2026-04-22 20:24:03] local.INFO: Packet analysis {"connection_id":50983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:24:03] local.INFO: Extracted packet for processing {"connection_id":50983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762951552,"raw_latitude":99016072,"longitude_deg":76.2951552,"latitude_deg":9.9016072,"altitude":5,"angle":355,"satellites":39,"speed":28,"hex_longitude":"2d79b780","hex_latitude":"05e6dd88","is_valid_coordinates":true} 
[2026-04-22 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878608384001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278672909981974528,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771604724579995648,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:03] 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-22 20:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776869577000,"timestamp_ms":1776869577000,"timestamp_seconds":1776869577,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ae1128"} 
[2026-04-22 20:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:24: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-22 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 20:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878608384001,"66":27343,"202":206,"87":13824,"24":28,"16":278672909981974528,"45":8771604724579995648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-22 20:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878608384001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278672909981974528,"km_value":278672909981974.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771604724579995648,"description":"Unknown IO ID 45"} 
[2026-04-22 20:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878608384001,"power":27343,"mcc":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8771604724579995648}} 
[2026-04-22 20:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":50983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:24:03] local.INFO: GPS data processed {"connection_id":50983,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:24:03] local.INFO: Acknowledgment sent {"connection_id":50983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:24:04] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ae3c20012d18e7800720ece0003800952a..."} 
[2026-04-22 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ae3c20012d18e7800720ece0003800952a..."} 
[2026-04-22 20:24:04] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ae3c20012d18e7800720ece0003800952a..."} 
[2026-04-22 20:24:04] local.INFO: Packet analysis {"connection_id":50984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:24:04] local.INFO: Extracted packet for processing {"connection_id":50984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756606848,"raw_latitude":119598304,"longitude_deg":75.6606848,"latitude_deg":11.9598304,"altitude":56,"angle":149,"satellites":42,"speed":40,"hex_longitude":"2d18e780","hex_latitude":"0720ece0","is_valid_coordinates":true} 
[2026-04-22 20:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878613504001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114051009709342720,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888637093888,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24: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-22 20:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776869588000,"timestamp_ms":1776869588000,"timestamp_seconds":1776869588,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ae3c20"} 
[2026-04-22 20:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 20:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:24:04] 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-22 20:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878613504001,"66":13624,"106":206,"83":41984,"24":40,"16":114051009709342720,"45":1791517888637093888},"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-22 20:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878613504001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:24:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114051009709342720,"km_value":114051009709342.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888637093888,"description":"Unknown IO ID 45"} 
[2026-04-22 20:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878613504001,"power":13624,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1791517888637093888}} 
[2026-04-22 20:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":50984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:24:04] local.INFO: GPS data processed {"connection_id":50984,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:24:04] local.INFO: Acknowledgment sent {"connection_id":50984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:24:25] local.INFO: TCP Data received {"connection_id":50985,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:24:25] local.INFO: Processing buffer {"connection_id":50985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:24:25] local.INFO: IMEI packet received {"connection_id":50985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":50985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:24:30] local.INFO: TCP Data received {"connection_id":50985,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:24:30] local.INFO: Processing buffer {"connection_id":50985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:24:30] local.INFO: IMEI packet received {"connection_id":50985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":50985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:24:31] local.INFO: TCP Data received {"connection_id":50985,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ae4008012d79b44005e701a80008016128..."} 
[2026-04-22 20:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ae4008012d79b44005e701a80008016128..."} 
[2026-04-22 20:24:31] local.INFO: Processing buffer {"connection_id":50985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ae4008012d79b44005e701a80008016128..."} 
[2026-04-22 20:24:31] local.INFO: Packet analysis {"connection_id":50985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:24:31] local.INFO: Extracted packet for processing {"connection_id":50985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:24:31] local.INFO: GPS Element Parsed {"raw_longitude":762950720,"raw_latitude":99025320,"longitude_deg":76.295072,"latitude_deg":9.902532,"altitude":8,"angle":353,"satellites":40,"speed":28,"hex_longitude":"2d79b440","hex_latitude":"05e701a8","is_valid_coordinates":true} 
[2026-04-22 20:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878611712001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278673356658573312,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770619562163800064,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:31] 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-22 20:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776869589000,"timestamp_ms":1776869589000,"timestamp_seconds":1776869589,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ae4008"} 
[2026-04-22 20:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:24: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-22 20:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:24:31] 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-22 20:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878611712001,"66":27365,"202":206,"87":13824,"24":28,"16":278673356658573312,"45":8770619562163800064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-22 20:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878611712001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:24:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278673356658573312,"km_value":278673356658573.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770619562163800064,"description":"Unknown IO ID 45"} 
[2026-04-22 20:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878611712001,"power":27365,"mcc":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8770619562163800064}} 
[2026-04-22 20:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":50985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:24:31] local.INFO: GPS data processed {"connection_id":50985,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:24:31] local.INFO: Acknowledgment sent {"connection_id":50985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:24:32] local.INFO: TCP Data received {"connection_id":51564,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:24:32] local.INFO: Processing buffer {"connection_id":51564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:24:32] local.INFO: IMEI packet received {"connection_id":51564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":51564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:24:33] local.INFO: TCP Data received {"connection_id":51564,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:24:33] local.INFO: Processing buffer {"connection_id":51564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:24:33] local.INFO: IMEI packet received {"connection_id":51564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":51564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:24:37] local.INFO: TCP Data received {"connection_id":51564,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:24:37] local.INFO: Processing buffer {"connection_id":51564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:24:37] local.INFO: IMEI packet received {"connection_id":51564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":51564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:24:38] local.INFO: TCP Data received {"connection_id":51564,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ae5778012d18f8000720d5700035008327..."} 
[2026-04-22 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ae5778012d18f8000720d5700035008327..."} 
[2026-04-22 20:24:38] local.INFO: Processing buffer {"connection_id":51564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ae5778012d18f8000720d5700035008327..."} 
[2026-04-22 20:24:38] local.INFO: Packet analysis {"connection_id":51564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:24:38] local.INFO: Extracted packet for processing {"connection_id":51564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756611072,"raw_latitude":119592304,"longitude_deg":75.6611072,"latitude_deg":11.9592304,"altitude":53,"angle":131,"satellites":39,"speed":42,"hex_longitude":"2d18f800","hex_latitude":"0720d570","is_valid_coordinates":true} 
[2026-04-22 20:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878614528001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114051366191628288,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794543744635953152,"note":"Value kept but may cause issues"} 
[2026-04-22 20:24: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-22 20:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776869595000,"timestamp_ms":1776869595000,"timestamp_seconds":1776869595,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ae5778"} 
[2026-04-22 20:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-22 20:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:24:38] 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-22 20:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878614528001,"66":13580,"106":206,"83":41984,"24":42,"16":114051366191628288,"45":1794543744635953152},"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-22 20:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878614528001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:24:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114051366191628288,"km_value":114051366191628.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794543744635953152,"description":"Unknown IO ID 45"} 
[2026-04-22 20:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878614528001,"power":13580,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1794543744635953152}} 
[2026-04-22 20:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":51564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:24:38] local.INFO: GPS data processed {"connection_id":51564,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:24:38] local.INFO: Acknowledgment sent {"connection_id":51564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:25:02] local.INFO: TCP Data received {"connection_id":50985,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ae7aa0012d79b34005e725c80009000029..."} 
[2026-04-22 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ae7aa0012d79b34005e725c80009000029..."} 
[2026-04-22 20:25:02] local.INFO: Processing buffer {"connection_id":50985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ae7aa0012d79b34005e725c80009000029..."} 
[2026-04-22 20:25:02] local.INFO: Packet analysis {"connection_id":50985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:25:02] local.INFO: Extracted packet for processing {"connection_id":50985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:25:02] local.INFO: GPS Element Parsed {"raw_longitude":762950464,"raw_latitude":99034568,"longitude_deg":76.2950464,"latitude_deg":9.9034568,"altitude":9,"angle":0,"satellites":41,"speed":19,"hex_longitude":"2d79b340","hex_latitude":"05e725c8","is_valid_coordinates":true} 
[2026-04-22 20:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878614784001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278673807630139392,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769704768491857920,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:02] 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-22 20:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776869604000,"timestamp_ms":1776869604000,"timestamp_seconds":1776869604,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ae7aa0"} 
[2026-04-22 20:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:25: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-22 20:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 20:25: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-22 20:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878614784001,"66":27321,"202":206,"87":13824,"24":19,"16":278673807630139392,"45":8769704768491857920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-22 20:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878614784001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:25:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278673807630139392,"km_value":278673807630139.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769704768491857920,"description":"Unknown IO ID 45"} 
[2026-04-22 20:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878614784001,"power":27321,"mcc":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8769704768491857920}} 
[2026-04-22 20:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":50985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:25:02] local.INFO: GPS data processed {"connection_id":50985,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:25:02] local.INFO: Acknowledgment sent {"connection_id":50985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:25:09] local.INFO: TCP Data received {"connection_id":51564,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5af49a8012d19aec007208f58002a00be2a..."} 
[2026-04-22 20:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5af49a8012d19aec007208f58002a00be2a..."} 
[2026-04-22 20:25:09] local.INFO: Processing buffer {"connection_id":51564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5af49a8012d19aec007208f58002a00be2a..."} 
[2026-04-22 20:25:09] local.INFO: Packet analysis {"connection_id":51564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:25:09] local.INFO: Extracted packet for processing {"connection_id":51564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:25:09] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119574360,"longitude_deg":75.6657856,"latitude_deg":11.957436,"altitude":42,"angle":190,"satellites":42,"speed":30,"hex_longitude":"2d19aec0","hex_latitude":"07208f58","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878630656001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114054273884487680,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740097536,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776869657000,"timestamp_ms":1776869657000,"timestamp_seconds":1776869657,"priority":1,"record_length":96,"hex_timestamp":"0000019db5af49a8"} 
[2026-04-22 20: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-22 20:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-22 20:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:25:09] 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-22 20:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878630656001,"66":13493,"106":206,"83":41984,"24":30,"16":114054273884487680,"45":1853653489740097536},"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-22 20:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878630656001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:25:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114054273884487680,"km_value":114054273884487.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740097536,"description":"Unknown IO ID 45"} 
[2026-04-22 20:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878630656001,"power":13493,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1853653489740097536}} 
[2026-04-22 20:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":51564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:25:09] local.INFO: GPS data processed {"connection_id":51564,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:25:09] local.INFO: Acknowledgment sent {"connection_id":51564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:25:25] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:25:25] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:25:25] local.INFO: IMEI packet received {"connection_id":50886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":50886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:25:28] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:25:28] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:25:28] local.INFO: IMEI packet received {"connection_id":50886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":50886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:25:29] local.INFO: TCP Data received {"connection_id":50986,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:29] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:29] local.INFO: IMEI packet received {"connection_id":50986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":50986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:25:30] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:25:30] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:25:30] local.INFO: IMEI packet received {"connection_id":50886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":50886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:25:31] local.INFO: TCP Data received {"connection_id":50986,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:31] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:31] local.INFO: IMEI packet received {"connection_id":50986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":50986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:25:31] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5aeb920012d79b34005e74a38000800002a..."} 
[2026-04-22 20:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5aeb920012d79b34005e74a38000800002a..."} 
[2026-04-22 20:25:31] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5aeb920012d79b34005e74a38000800002a..."} 
[2026-04-22 20:25:31] local.INFO: Packet analysis {"connection_id":50886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:25:31] local.INFO: Extracted packet for processing {"connection_id":50886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:25:31] local.INFO: GPS Element Parsed {"raw_longitude":762950464,"raw_latitude":99043896,"longitude_deg":76.2950464,"latitude_deg":9.9043896,"altitude":8,"angle":0,"satellites":42,"speed":22,"hex_longitude":"2d79b340","hex_latitude":"05e74a38","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878618624001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278674258601705472,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769423293517514752,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:31] 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-22 20:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776869620000,"timestamp_ms":1776869620000,"timestamp_seconds":1776869620,"priority":1,"record_length":96,"hex_timestamp":"0000019db5aeb920"} 
[2026-04-22 20: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-22 20:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 20:25: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-22 20: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-22 20: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-22 20:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:25:31] 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-22 20:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878618624001,"66":27397,"202":206,"87":13824,"24":22,"16":278674258601705472,"45":8769423293517514752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-22 20:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878618624001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:25:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278674258601705472,"km_value":278674258601705.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769423293517514752,"description":"Unknown IO ID 45"} 
[2026-04-22 20:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878618624001,"power":27397,"mcc":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8769423293517514752}} 
[2026-04-22 20:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":50886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:25:31] local.INFO: GPS data processed {"connection_id":50886,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:25:31] local.INFO: Acknowledgment sent {"connection_id":50886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:25:32] local.INFO: TCP Data received {"connection_id":50986,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:32] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:32] local.INFO: IMEI packet received {"connection_id":50986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":50986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:25:33] local.INFO: TCP Data received {"connection_id":50986,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:33] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:25:33] local.INFO: IMEI packet received {"connection_id":50986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":50986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:25:33] local.INFO: TCP Data received {"connection_id":50986,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5af4d90012d19aec007208c28002a00b12a..."} 
[2026-04-22 20:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5af4d90012d19aec007208c28002a00b12a..."} 
[2026-04-22 20:25:33] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5af4d90012d19aec007208c28002a00b12a..."} 
[2026-04-22 20:25:33] local.INFO: Packet analysis {"connection_id":50986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:25:33] local.INFO: Extracted packet for processing {"connection_id":50986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119573544,"longitude_deg":75.6657856,"latitude_deg":11.9573544,"altitude":42,"angle":177,"satellites":42,"speed":32,"hex_longitude":"2d19aec0","hex_latitude":"07208c28","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878632192001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114054312539193344,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739421696,"note":"Value kept but may cause issues"} 
[2026-04-22 20:25: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-22 20:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776869658000,"timestamp_ms":1776869658000,"timestamp_seconds":1776869658,"priority":1,"record_length":96,"hex_timestamp":"0000019db5af4d90"} 
[2026-04-22 20: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-22 20:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-22 20:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:25:33] 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-22 20:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878632192001,"66":13515,"106":206,"83":41984,"24":32,"16":114054312539193344,"45":1850627633739421696},"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-22 20:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878632192001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:25:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114054312539193344,"km_value":114054312539193.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739421696,"description":"Unknown IO ID 45"} 
[2026-04-22 20:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878632192001,"power":13515,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1850627633739421696}} 
[2026-04-22 20:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":50986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:25:33] local.INFO: GPS data processed {"connection_id":50986,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:25:33] local.INFO: Acknowledgment sent {"connection_id":50986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:26:02] local.INFO: TCP Data received {"connection_id":50886,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5aefb88012d79b58005e76da0000700052a..."} 
[2026-04-22 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5aefb88012d79b58005e76da0000700052a..."} 
[2026-04-22 20:26:02] local.INFO: Processing buffer {"connection_id":50886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5aefb88012d79b58005e76da0000700052a..."} 
[2026-04-22 20:26:02] local.INFO: Packet analysis {"connection_id":50886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:26:02] local.INFO: Extracted packet for processing {"connection_id":50886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ae"} 
[2026-04-22 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":762951040,"raw_latitude":99052960,"longitude_deg":76.295104,"latitude_deg":9.905296,"altitude":7,"angle":5,"satellites":42,"speed":22,"hex_longitude":"2d79b580","hex_latitude":"05e76da0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878622720001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278674700983336960,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769423293519902720,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:02] 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-22 20:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776869637000,"timestamp_ms":1776869637000,"timestamp_seconds":1776869637,"priority":1,"record_length":96,"hex_timestamp":"0000019db5aefb88"} 
[2026-04-22 20: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-22 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:26: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-22 20: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-22 20: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-22 20:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878622720001,"66":27365,"202":206,"87":13824,"24":22,"16":278674700983336960,"45":8769423293519902720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-22 20:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878622720001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278674700983336960,"km_value":278674700983336.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769423293519902720,"description":"Unknown IO ID 45"} 
[2026-04-22 20:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878622720001,"power":27365,"mcc":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8769423293519902720}} 
[2026-04-22 20:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":50886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:26:02] local.INFO: GPS data processed {"connection_id":50886,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:26:02] local.INFO: Acknowledgment sent {"connection_id":50886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:26:05] local.INFO: TCP Data received {"connection_id":50986,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5af5d30012d19b18007207d70002800a529..."} 
[2026-04-22 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5af5d30012d19b18007207d70002800a529..."} 
[2026-04-22 20:26:05] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5af5d30012d19b18007207d70002800a529..."} 
[2026-04-22 20:26:05] local.INFO: Packet analysis {"connection_id":50986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:26:05] local.INFO: Extracted packet for processing {"connection_id":50986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756658560,"raw_latitude":119569776,"longitude_deg":75.665856,"latitude_deg":11.9569776,"altitude":40,"angle":165,"satellites":41,"speed":43,"hex_longitude":"2d19b180","hex_latitude":"07207d70","is_valid_coordinates":true} 
[2026-04-22 20:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878632448001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114054501517754368,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739212800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26: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-22 20:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776869662000,"timestamp_ms":1776869662000,"timestamp_seconds":1776869662,"priority":1,"record_length":96,"hex_timestamp":"0000019db5af5d30"} 
[2026-04-22 20:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-22 20:26:05] 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-22 20:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:26:05] 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-22 20:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878632448001,"66":13352,"106":206,"83":41984,"24":43,"16":114054501517754368,"45":1850627633739212800},"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-22 20:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878632448001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114054501517754368,"km_value":114054501517754.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739212800,"description":"Unknown IO ID 45"} 
[2026-04-22 20:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878632448001,"power":13352,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1850627633739212800}} 
[2026-04-22 20:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":50986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:26:05] local.INFO: GPS data processed {"connection_id":50986,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:26:05] local.INFO: Acknowledgment sent {"connection_id":50986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:26:05] local.INFO: TCP Data received {"connection_id":50599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:26:05] local.INFO: Processing buffer {"connection_id":50599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:26:05] local.INFO: IMEI packet received {"connection_id":50599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":50599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:26:25] local.INFO: TCP Data received {"connection_id":50888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:25] local.INFO: Processing buffer {"connection_id":50888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:25] local.INFO: IMEI packet received {"connection_id":50888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":50888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:26:25] local.INFO: TCP Data received {"connection_id":50888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:25] local.INFO: Processing buffer {"connection_id":50888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:25] local.INFO: IMEI packet received {"connection_id":50888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":50888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:26:27] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:26:27] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:26:27] local.INFO: IMEI packet received {"connection_id":50887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":50887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:26:28] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:26:28] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:26:28] local.INFO: IMEI packet received {"connection_id":50887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":50887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:26:29] local.INFO: TCP Data received {"connection_id":50888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:29] local.INFO: Processing buffer {"connection_id":50888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:29] local.INFO: IMEI packet received {"connection_id":50888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":50888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:26:30] local.INFO: TCP Data received {"connection_id":50888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:30] local.INFO: Processing buffer {"connection_id":50888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:26:30] local.INFO: IMEI packet received {"connection_id":50888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":50888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:26:31] local.INFO: TCP Data received {"connection_id":50888,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5af3620012d79b88005e790e0000b00022a..."} 
[2026-04-22 20:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5af3620012d79b88005e790e0000b00022a..."} 
[2026-04-22 20:26:31] local.INFO: Processing buffer {"connection_id":50888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5af3620012d79b88005e790e0000b00022a..."} 
[2026-04-22 20:26:31] local.INFO: Packet analysis {"connection_id":50888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:26:31] local.INFO: Extracted packet for processing {"connection_id":50888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:26:31] local.INFO: GPS Element Parsed {"raw_longitude":762951808,"raw_latitude":99061984,"longitude_deg":76.2951808,"latitude_deg":9.9061984,"altitude":11,"angle":2,"satellites":42,"speed":25,"hex_longitude":"2d79b880","hex_latitude":"05e790e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878627072001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278675143364968448,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770056612219822080,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:31] 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-22 20:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776869652000,"timestamp_ms":1776869652000,"timestamp_seconds":1776869652,"priority":1,"record_length":96,"hex_timestamp":"0000019db5af3620"} 
[2026-04-22 20: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-22 20: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-22 20: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-22 20: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-22 20: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-22 20: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-22 20:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:26:31] 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-22 20:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878627072001,"66":27343,"202":206,"87":13824,"24":25,"16":278675143364968448,"45":8770056612219822080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-04-22 20:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878627072001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:26:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278675143364968448,"km_value":278675143364968.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770056612219822080,"description":"Unknown IO ID 45"} 
[2026-04-22 20:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878627072001,"power":27343,"mcc":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8770056612219822080}} 
[2026-04-22 20:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":50888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:26:31] local.INFO: GPS data processed {"connection_id":50888,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:26:31] local.INFO: Acknowledgment sent {"connection_id":50888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:26:32] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:26:32] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:26:32] local.INFO: IMEI packet received {"connection_id":50887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:26:35] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5af8058012d19bc4007205868002400ab27..."} 
[2026-04-22 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5af8058012d19bc4007205868002400ab27..."} 
[2026-04-22 20:26:35] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5af8058012d19bc4007205868002400ab27..."} 
[2026-04-22 20:26:35] local.INFO: Packet analysis {"connection_id":50887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:26:35] local.INFO: Extracted packet for processing {"connection_id":50887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119560296,"longitude_deg":75.6661312,"latitude_deg":11.9560296,"altitude":36,"angle":171,"satellites":39,"speed":43,"hex_longitude":"2d19bc40","hex_latitude":"07205868","is_valid_coordinates":true} 
[2026-04-22 20:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878633472001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114054978259124224,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851401689924202496,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26: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-22 20:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776869671000,"timestamp_ms":1776869671000,"timestamp_seconds":1776869671,"priority":1,"record_length":96,"hex_timestamp":"0000019db5af8058"} 
[2026-04-22 20:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:26: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-22 20:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-22 20:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":50887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":50887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":50887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:26:35] 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-22 20:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878633472001,"66":12526,"106":206,"83":41984,"24":43,"16":114054978259124224,"45":1851401689924202496},"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-22 20:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878633472001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:26:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114054978259124224,"km_value":114054978259124.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851401689924202496,"description":"Unknown IO ID 45"} 
[2026-04-22 20:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878633472001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1851401689924202496}} 
[2026-04-22 20:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":50887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:26:35] local.INFO: GPS data processed {"connection_id":50887,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:26:35] local.INFO: Acknowledgment sent {"connection_id":50887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:26:37] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b0c0a8012d19e840071fff98002600912c..."} 
[2026-04-22 20:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b0c0a8012d19e840071fff98002600912c..."} 
[2026-04-22 20:26:37] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b0c0a8012d19e840071fff98002600912c..."} 
[2026-04-22 20:26:37] local.INFO: Packet analysis {"connection_id":50887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b0"} 
[2026-04-22 20:26:37] local.INFO: Extracted packet for processing {"connection_id":50887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b0"} 
[2026-04-22 20:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756672576,"raw_latitude":119537560,"longitude_deg":75.6672576,"latitude_deg":11.953756,"altitude":38,"angle":145,"satellites":44,"speed":14,"hex_longitude":"2d19e840","hex_latitude":"071fff98","is_valid_coordinates":true} 
[2026-04-22 20:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878656000001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114056344058724352,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866460601170130944,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776869753000,"timestamp_ms":1776869753000,"timestamp_seconds":1776869753,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b0c0a8"} 
[2026-04-22 20:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-22 20:26:37] 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-22 20:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:26:37] 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-22 20:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878656000001,"66":13559,"106":206,"83":41984,"24":14,"16":114056344058724352,"45":1866460601170130944},"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-22 20:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878656000001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:26:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114056344058724352,"km_value":114056344058724.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866460601170130944,"description":"Unknown IO ID 45"} 
[2026-04-22 20:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878656000001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1866460601170130944}} 
[2026-04-22 20:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":50887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:26:37] local.INFO: GPS data processed {"connection_id":50887,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:26:37] local.INFO: Acknowledgment sent {"connection_id":50887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:26:44] local.INFO: TCP Data received {"connection_id":50888,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5af6cd0012d79b88005e7b548000b016329..."} 
[2026-04-22 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5af6cd0012d79b88005e7b548000b016329..."} 
[2026-04-22 20:26:44] local.INFO: Processing buffer {"connection_id":50888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5af6cd0012d79b88005e7b548000b016329..."} 
[2026-04-22 20:26:44] local.INFO: Packet analysis {"connection_id":50888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:26:44] local.INFO: Extracted packet for processing {"connection_id":50888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5af"} 
[2026-04-22 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":762951808,"raw_latitude":99071304,"longitude_deg":76.2951808,"latitude_deg":9.9071304,"altitude":11,"angle":355,"satellites":41,"speed":22,"hex_longitude":"2d79b880","hex_latitude":"05e7b548","is_valid_coordinates":true} 
[2026-04-22 20:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878630912001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278675594336534528,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770901037152264192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:44] 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-22 20:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776869666000,"timestamp_ms":1776869666000,"timestamp_seconds":1776869666,"priority":1,"record_length":96,"hex_timestamp":"0000019db5af6cd0"} 
[2026-04-22 20:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:26: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-22 20:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":50888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":50888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":50888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:26:44] 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-22 20:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878630912001,"66":27463,"201":206,"87":13824,"24":22,"16":278675594336534528,"45":8770901037152264192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-04-22 20:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878630912001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:26:44] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-22 20:26:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278675594336534528,"km_value":278675594336534.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770901037152264192,"description":"Unknown IO ID 45"} 
[2026-04-22 20:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878630912001,"power":27463,"unknown_201":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8770901037152264192}} 
[2026-04-22 20:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":50888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:26:44] local.INFO: GPS data processed {"connection_id":50888,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:26:44] local.INFO: Acknowledgment sent {"connection_id":50888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:26:50] local.INFO: TCP Data received {"connection_id":50600,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:26:50] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:26:50] local.INFO: IMEI packet received {"connection_id":50600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":50600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:26:55] local.INFO: TCP Data received {"connection_id":50600,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:26:55] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:26:55] local.INFO: IMEI packet received {"connection_id":50600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 20:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":50600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:26:56] local.INFO: TCP Data received {"connection_id":50600,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db5936cd8012cb29a4007822ea80045009c29..."} 
[2026-04-22 20:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5936cd8012cb29a4007822ea80045009c29..."} 
[2026-04-22 20:26:56] local.INFO: Processing buffer {"connection_id":50600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5936cd8012cb29a4007822ea80045009c29..."} 
[2026-04-22 20:26:56] local.INFO: Packet analysis {"connection_id":50600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 20:26:56] local.INFO: Extracted packet for processing {"connection_id":50600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db593"} 
[2026-04-22 20:26:56] local.INFO: GPS Element Parsed {"raw_longitude":749902400,"raw_latitude":125972136,"longitude_deg":74.99024,"latitude_deg":12.5972136,"altitude":69,"angle":156,"satellites":41,"speed":0,"hex_longitude":"2cb29a40","hex_latitude":"07822ea8","is_valid_coordinates":true} 
[2026-04-22 20:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878086656001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577074787551893504,"note":"Value kept but may cause issues"} 
[2026-04-22 20:26:56] local.INFO: IO Element Parsed {"io_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-22 20:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776867831000,"timestamp_ms":1776867831000,"timestamp_seconds":1776867831,"priority":1,"record_length":96,"hex_timestamp":"0000019db5936cd8"} 
[2026-04-22 20:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:26:56] 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-22 20:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-22 20:26:56] 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-22 20:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":50600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":50600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 20:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":50600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 20:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-22 20:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-22 20:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878086656001,"66":25234,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5577074787551893504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-22 20:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-22 20:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-22 20:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878086656001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:26:56] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-22 20:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-22 20:26:56] 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-22 20:26:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577074787551893504,"description":"Unknown IO ID 44"} 
[2026-04-22 20:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878086656001,"power":25234,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577074787551893504}} 
[2026-04-22 20:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":50600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:26:56] local.INFO: GPS data processed {"connection_id":50600,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:26:56] local.INFO: Acknowledgment sent {"connection_id":50600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:27:09] local.INFO: TCP Data received {"connection_id":50887,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b0c490012d19e980071ffe58002600862c..."} 
[2026-04-22 20:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b0c490012d19e980071ffe58002600862c..."} 
[2026-04-22 20:27:09] local.INFO: Processing buffer {"connection_id":50887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b0c490012d19e980071ffe58002600862c..."} 
[2026-04-22 20:27:09] local.INFO: Packet analysis {"connection_id":50887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b0"} 
[2026-04-22 20:27:09] local.INFO: Extracted packet for processing {"connection_id":50887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b0"} 
[2026-04-22 20:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756672896,"raw_latitude":119537240,"longitude_deg":75.6672896,"latitude_deg":11.953724,"altitude":38,"angle":134,"satellites":44,"speed":17,"hex_longitude":"2d19e980","hex_latitude":"071ffe58","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878656768001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114056361238593536,"note":"Value kept but may cause issues"} 
[2026-04-22 20:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866812444890863616,"note":"Value kept but may cause issues"} 
[2026-04-22 20:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776869754000,"timestamp_ms":1776869754000,"timestamp_seconds":1776869754,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b0c490"} 
[2026-04-22 20: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-22 20:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-22 20:27:09] 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-22 20: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-22 20: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-22 20:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:27:09] 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-22 20:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878656768001,"66":13559,"106":206,"83":41984,"24":17,"16":114056361238593536,"45":1866812444890863616},"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-22 20:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878656768001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:27:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114056361238593536,"km_value":114056361238593.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866812444890863616,"description":"Unknown IO ID 45"} 
[2026-04-22 20:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878656768001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1866812444890863616}} 
[2026-04-22 20:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":50887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:27:09] local.INFO: GPS data processed {"connection_id":50887,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:27:09] local.INFO: Acknowledgment sent {"connection_id":50887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:27:25] local.INFO: TCP Data received {"connection_id":50987,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:27:25] local.INFO: Processing buffer {"connection_id":50987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:27:25] local.INFO: IMEI packet received {"connection_id":50987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":50987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:27:30] local.INFO: TCP Data received {"connection_id":50987,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:27:30] local.INFO: Processing buffer {"connection_id":50987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:27:30] local.INFO: IMEI packet received {"connection_id":50987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":50987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:27:31] local.INFO: TCP Data received {"connection_id":50987,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b106f8012d79518005e88b60000601212b..."} 
[2026-04-22 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b106f8012d79518005e88b60000601212b..."} 
[2026-04-22 20:27:31] local.INFO: Processing buffer {"connection_id":50987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b106f8012d79518005e88b60000601212b..."} 
[2026-04-22 20:27:31] local.INFO: Packet analysis {"connection_id":50987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:27:31] local.INFO: Extracted packet for processing {"connection_id":50987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":762925440,"raw_latitude":99126112,"longitude_deg":76.292544,"latitude_deg":9.9126112,"altitude":6,"angle":289,"satellites":43,"speed":26,"hex_longitude":"2d795180","hex_latitude":"05e88b60","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878657024001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278678755432464384,"note":"Value kept but may cause issues"} 
[2026-04-22 20:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8751690370007392256,"note":"Value kept but may cause issues"} 
[2026-04-22 20:27:31] 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-22 20:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776869771000,"timestamp_ms":1776869771000,"timestamp_seconds":1776869771,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b106f8"} 
[2026-04-22 20: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-22 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:27: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-22 20: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-22 20: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-22 20:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:27:31] 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-22 20:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878657024001,"66":27484,"203":206,"87":13824,"24":26,"16":278678755432464384,"45":8751690370007392256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-04-22 20:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878657024001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:27:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278678755432464384,"km_value":278678755432464.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8751690370007392256,"description":"Unknown IO ID 45"} 
[2026-04-22 20:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878657024001,"power":27484,"mnc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8751690370007392256}} 
[2026-04-22 20:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":50987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:27:31] local.INFO: GPS data processed {"connection_id":50987,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:27:31] local.INFO: Acknowledgment sent {"connection_id":50987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:27:40] local.INFO: TCP Data received {"connection_id":50988,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:27:40] local.INFO: Processing buffer {"connection_id":50988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:27:40] local.INFO: IMEI packet received {"connection_id":50988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":50988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:28:04] local.INFO: TCP Data received {"connection_id":50987,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b14d48012d792d0005e894a80003011d29..."} 
[2026-04-22 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b14d48012d792d0005e894a80003011d29..."} 
[2026-04-22 20:28:04] local.INFO: Processing buffer {"connection_id":50987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b14d48012d792d0005e894a80003011d29..."} 
[2026-04-22 20:28:04] local.INFO: Packet analysis {"connection_id":50987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:28:04] local.INFO: Extracted packet for processing {"connection_id":50987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:28:04] local.INFO: GPS Element Parsed {"raw_longitude":762916096,"raw_latitude":99128488,"longitude_deg":76.2916096,"latitude_deg":9.9128488,"altitude":3,"angle":285,"satellites":41,"speed":33,"hex_longitude":"2d792d00","hex_latitude":"05e894a8","is_valid_coordinates":true} 
[2026-04-22 20:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878661376001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278679214993965056,"note":"Value kept but may cause issues"} 
[2026-04-22 20:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8741909114567483392,"note":"Value kept but may cause issues"} 
[2026-04-22 20:28:04] 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-22 20:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776869789000,"timestamp_ms":1776869789000,"timestamp_seconds":1776869789,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b14d48"} 
[2026-04-22 20:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:28: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-22 20:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 20:28: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-22 20:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878661376001,"66":27517,"203":206,"87":13824,"24":33,"16":278679214993965056,"45":8741909114567483392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-04-22 20:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878661376001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:28:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278679214993965056,"km_value":278679214993965.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8741909114567483392,"description":"Unknown IO ID 45"} 
[2026-04-22 20:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878661376001,"power":27517,"mnc":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8741909114567483392}} 
[2026-04-22 20:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":50987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:28:04] local.INFO: GPS data processed {"connection_id":50987,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:28:04] local.INFO: Acknowledgment sent {"connection_id":50987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:28:30] local.INFO: TCP Data received {"connection_id":51565,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:30] local.INFO: Processing buffer {"connection_id":51565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:30] local.INFO: IMEI packet received {"connection_id":51565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":51565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:28:31] local.INFO: TCP Data received {"connection_id":51565,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:31] local.INFO: Processing buffer {"connection_id":51565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:31] local.INFO: IMEI packet received {"connection_id":51565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":51565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:28:32] local.INFO: TCP Data received {"connection_id":51565,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:32] local.INFO: Processing buffer {"connection_id":51565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:32] local.INFO: IMEI packet received {"connection_id":51565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":51565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:28:33] local.INFO: TCP Data received {"connection_id":51565,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:33] local.INFO: Processing buffer {"connection_id":51565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:28:33] local.INFO: IMEI packet received {"connection_id":51565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":51565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:28:34] local.INFO: TCP Data received {"connection_id":50890,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:28:34] local.INFO: Processing buffer {"connection_id":50890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:28:34] local.INFO: IMEI packet received {"connection_id":50890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":50890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:28:35] local.INFO: TCP Data received {"connection_id":50890,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:28:35] local.INFO: Processing buffer {"connection_id":50890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:28:35] local.INFO: IMEI packet received {"connection_id":50890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":50890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:28:40] local.INFO: TCP Data received {"connection_id":50890,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:28:40] local.INFO: Processing buffer {"connection_id":50890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:28:40] local.INFO: IMEI packet received {"connection_id":50890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":50890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:28:41] local.INFO: TCP Data received {"connection_id":50890,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b17458012d79098005e8a3300004011c2c..."} 
[2026-04-22 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b17458012d79098005e8a3300004011c2c..."} 
[2026-04-22 20:28:41] local.INFO: Processing buffer {"connection_id":50890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b17458012d79098005e8a3300004011c2c..."} 
[2026-04-22 20:28:41] local.INFO: Packet analysis {"connection_id":50890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:28:41] local.INFO: Extracted packet for processing {"connection_id":50890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:28:41] local.INFO: GPS Element Parsed {"raw_longitude":762907008,"raw_latitude":99132208,"longitude_deg":76.2907008,"latitude_deg":9.9132208,"altitude":4,"angle":284,"satellites":44,"speed":41,"hex_longitude":"2d790980","hex_latitude":"05e8a330","is_valid_coordinates":true} 
[2026-04-22 20:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878665984001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278679687440367616,"note":"Value kept but may cause issues"} 
[2026-04-22 20:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8731635277918152704,"note":"Value kept but may cause issues"} 
[2026-04-22 20:28:41] 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-22 20:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776869799000,"timestamp_ms":1776869799000,"timestamp_seconds":1776869799,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b17458"} 
[2026-04-22 20:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:28: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-22 20:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 20:28:41] 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-22 20:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:28:41] 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-22 20:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878665984001,"66":27365,"174":206,"87":13824,"24":41,"16":278679687440367616,"45":8731635277918152704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-04-22 20:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878665984001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:28:41] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-22 20:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278679687440367616,"km_value":278679687440367.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8731635277918152704,"description":"Unknown IO ID 45"} 
[2026-04-22 20:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878665984001,"power":27365,"unknown_174":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8731635277918152704}} 
[2026-04-22 20:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":50890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":45999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:28:41] local.INFO: GPS data processed {"connection_id":50890,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:28:41] local.INFO: Acknowledgment sent {"connection_id":50890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:29:25] local.INFO: TCP Data received {"connection_id":51566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:29:25] local.INFO: Processing buffer {"connection_id":51566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:29:25] local.INFO: IMEI packet received {"connection_id":51566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":51566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:29:33] local.INFO: TCP Data received {"connection_id":51566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:29:33] local.INFO: Processing buffer {"connection_id":51566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:29:33] local.INFO: IMEI packet received {"connection_id":51566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":51566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:29:38] local.INFO: TCP Data received {"connection_id":51566,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b18bc8012d78f08005e8a6e00005010f2a..."} 
[2026-04-22 20:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b18bc8012d78f08005e8a6e00005010f2a..."} 
[2026-04-22 20:29:38] local.INFO: Processing buffer {"connection_id":51566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b18bc8012d78f08005e8a6e00005010f2a..."} 
[2026-04-22 20:29:38] local.INFO: Packet analysis {"connection_id":51566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:29:38] local.INFO: Extracted packet for processing {"connection_id":51566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:29:38] local.INFO: GPS Element Parsed {"raw_longitude":762900608,"raw_latitude":99133152,"longitude_deg":76.2900608,"latitude_deg":9.9133152,"altitude":5,"angle":271,"satellites":42,"speed":42,"hex_longitude":"2d78f080","hex_latitude":"05e8a6e0","is_valid_coordinates":true} 
[2026-04-22 20:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878668544001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278679996678012928,"note":"Value kept but may cause issues"} 
[2026-04-22 20:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8721642916245876736,"note":"Value kept but may cause issues"} 
[2026-04-22 20:29:38] 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-22 20:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776869805000,"timestamp_ms":1776869805000,"timestamp_seconds":1776869805,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b18bc8"} 
[2026-04-22 20:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:29: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-22 20:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 20:29: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-22 20:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:29: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-22 20:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878668544001,"66":27517,"174":206,"87":13824,"24":42,"16":278679996678012928,"45":8721642916245876736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-04-22 20:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878668544001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:29:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-22 20:29:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278679996678012928,"km_value":278679996678012.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8721642916245876736,"description":"Unknown IO ID 45"} 
[2026-04-22 20:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878668544001,"power":27517,"unknown_174":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8721642916245876736}} 
[2026-04-22 20:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":51566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:29:38] local.INFO: GPS data processed {"connection_id":51566,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:29:38] local.INFO: Acknowledgment sent {"connection_id":51566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:29:39] local.INFO: TCP Data received {"connection_id":51566,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b1aef0012d78cb4005e8a4400005010827..."} 
[2026-04-22 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b1aef0012d78cb4005e8a4400005010827..."} 
[2026-04-22 20:29:39] local.INFO: Processing buffer {"connection_id":51566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b1aef0012d78cb4005e8a4400005010827..."} 
[2026-04-22 20:29:39] local.INFO: Packet analysis {"connection_id":51566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:29:39] local.INFO: Extracted packet for processing {"connection_id":51566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b1"} 
[2026-04-22 20:29:39] local.INFO: GPS Element Parsed {"raw_longitude":762891072,"raw_latitude":99132480,"longitude_deg":76.2891072,"latitude_deg":9.913248,"altitude":5,"angle":264,"satellites":39,"speed":41,"hex_longitude":"2d78cb40","hex_latitude":"05e8a440","is_valid_coordinates":true} 
[2026-04-22 20:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878670080001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278680451944546304,"note":"Value kept but may cause issues"} 
[2026-04-22 20:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8714606041828352000,"note":"Value kept but may cause issues"} 
[2026-04-22 20:29:39] 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-22 20:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776869814000,"timestamp_ms":1776869814000,"timestamp_seconds":1776869814,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b1aef0"} 
[2026-04-22 20:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:29: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-22 20:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 20:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":51566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":51566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":51566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878670080001,"66":27463,"174":206,"87":13824,"24":41,"16":278680451944546304,"45":8714606041828352000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-04-22 20:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878670080001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:29:39] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-22 20:29:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278680451944546304,"km_value":278680451944546.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8714606041828352000,"description":"Unknown IO ID 45"} 
[2026-04-22 20:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878670080001,"power":27463,"unknown_174":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8714606041828352000}} 
[2026-04-22 20:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":51566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:29:39] local.INFO: GPS data processed {"connection_id":51566,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:29:39] local.INFO: Acknowledgment sent {"connection_id":51566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:30:10] local.INFO: TCP Data received {"connection_id":51566,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b383b0012d776b0005e8bfc80007010e27..."} 
[2026-04-22 20:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b383b0012d776b0005e8bfc80007010e27..."} 
[2026-04-22 20:30:10] local.INFO: Processing buffer {"connection_id":51566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b383b0012d776b0005e8bfc80007010e27..."} 
[2026-04-22 20:30:10] local.INFO: Packet analysis {"connection_id":51566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b3"} 
[2026-04-22 20:30:10] local.INFO: Extracted packet for processing {"connection_id":51566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b3"} 
[2026-04-22 20:30:10] local.INFO: GPS Element Parsed {"raw_longitude":762800896,"raw_latitude":99139528,"longitude_deg":76.2800896,"latitude_deg":9.9139528,"altitude":7,"angle":270,"satellites":39,"speed":25,"hex_longitude":"2d776b00","hex_latitude":"05e8bfc8","is_valid_coordinates":true} 
[2026-04-22 20:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878699264001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278684854286024704,"note":"Value kept but may cause issues"} 
[2026-04-22 20:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615456481283424256,"note":"Value kept but may cause issues"} 
[2026-04-22 20:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776869934000,"timestamp_ms":1776869934000,"timestamp_seconds":1776869934,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b383b0"} 
[2026-04-22 20:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:30: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-22 20:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:30: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-22 20:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":51566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":51566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":51566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:30:10] 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-22 20:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878699264001,"66":27332,"163":206,"87":12288,"24":25,"16":278684854286024704,"45":8615456481283424256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-04-22 20:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878699264001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:30:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 20:30:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278684854286024704,"km_value":278684854286024.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615456481283424256,"description":"Unknown IO ID 45"} 
[2026-04-22 20:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878699264001,"power":27332,"unknown_163":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8615456481283424256}} 
[2026-04-22 20:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":51566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:30:10] local.INFO: GPS data processed {"connection_id":51566,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:30:10] local.INFO: Acknowledgment sent {"connection_id":51566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:30:24] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:24] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:24] local.INFO: IMEI packet received {"connection_id":50991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":50991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:30:25] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:25] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:25] local.INFO: IMEI packet received {"connection_id":50991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":50991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:30:26] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:26] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:26] local.INFO: IMEI packet received {"connection_id":50991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":50991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:30:30] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:30] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:30:30] local.INFO: IMEI packet received {"connection_id":50991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":50991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:30:30] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b3b290012d77478005e8be080008010a29..."} 
[2026-04-22 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b3b290012d77478005e8be080008010a29..."} 
[2026-04-22 20:30:30] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b3b290012d77478005e8be080008010a29..."} 
[2026-04-22 20:30:30] local.INFO: Packet analysis {"connection_id":50991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b3"} 
[2026-04-22 20:30:30] local.INFO: Extracted packet for processing {"connection_id":50991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b3"} 
[2026-04-22 20:30:30] local.INFO: GPS Element Parsed {"raw_longitude":762791808,"raw_latitude":99139080,"longitude_deg":76.2791808,"latitude_deg":9.913908,"altitude":8,"angle":266,"satellites":41,"speed":28,"hex_longitude":"2d774780","hex_latitude":"05e8be08","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878703104001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278685288077721600,"note":"Value kept but may cause issues"} 
[2026-04-22 20:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8604971538401183744,"note":"Value kept but may cause issues"} 
[2026-04-22 20:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776869946000,"timestamp_ms":1776869946000,"timestamp_seconds":1776869946,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b3b290"} 
[2026-04-22 20: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-22 20:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 20:30: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-22 20: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-22 20: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-22 20:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":50991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":50991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":50991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:30: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-22 20:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878703104001,"66":27463,"129":206,"87":12288,"24":28,"16":278685288077721600,"45":8604971538401183744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-04-22 20:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878703104001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:30:30] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 20:30:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278685288077721600,"km_value":278685288077721.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8604971538401183744,"description":"Unknown IO ID 45"} 
[2026-04-22 20:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878703104001,"power":27463,"unknown_129":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8604971538401183744}} 
[2026-04-22 20:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":50991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:30:31] local.INFO: GPS data processed {"connection_id":50991,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:30:31] local.INFO: Acknowledgment sent {"connection_id":50991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:31:04] local.INFO: TCP Data received {"connection_id":50991,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b3ed28012d7723c005e8bb40000a01082b..."} 
[2026-04-22 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b3ed28012d7723c005e8bb40000a01082b..."} 
[2026-04-22 20:31:04] local.INFO: Processing buffer {"connection_id":50991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b3ed28012d7723c005e8bb40000a01082b..."} 
[2026-04-22 20:31:04] local.INFO: Packet analysis {"connection_id":50991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b3"} 
[2026-04-22 20:31:04] local.INFO: Extracted packet for processing {"connection_id":50991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b3"} 
[2026-04-22 20:31:04] local.INFO: GPS Element Parsed {"raw_longitude":762782656,"raw_latitude":99138368,"longitude_deg":76.2782656,"latitude_deg":9.9138368,"altitude":10,"angle":264,"satellites":43,"speed":24,"hex_longitude":"2d7723c0","hex_latitude":"05e8bb40","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878706176001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278685726164385792,"note":"Value kept but may cause issues"} 
[2026-04-22 20:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8594979176727840768,"note":"Value kept but may cause issues"} 
[2026-04-22 20:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776869961000,"timestamp_ms":1776869961000,"timestamp_seconds":1776869961,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b3ed28"} 
[2026-04-22 20: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-22 20:31: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-22 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 20:31: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-22 20: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-22 20: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-22 20:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878706176001,"66":27593,"129":206,"87":12288,"24":24,"16":278685726164385792,"45":8594979176727840768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-04-22 20:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878706176001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:31:04] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 20:31:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278685726164385792,"km_value":278685726164385.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8594979176727840768,"description":"Unknown IO ID 45"} 
[2026-04-22 20:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878706176001,"power":27593,"unknown_129":206,"unknown_87":12288,"ignition":24,"odometer":null,"unknown_45":8594979176727840768}} 
[2026-04-22 20:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":50991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:31:04] local.INFO: GPS data processed {"connection_id":50991,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:31:04] local.INFO: Acknowledgment sent {"connection_id":50991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:31:25] local.INFO: TCP Data received {"connection_id":51567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:31:25] local.INFO: Processing buffer {"connection_id":51567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:31:25] local.INFO: IMEI packet received {"connection_id":51567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":51567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:31:29] local.INFO: TCP Data received {"connection_id":51567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:31:29] local.INFO: Processing buffer {"connection_id":51567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:31:29] local.INFO: IMEI packet received {"connection_id":51567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":51567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:31:30] local.INFO: TCP Data received {"connection_id":51567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b41ff0012d76ff4005e8b868000b010929..."} 
[2026-04-22 20:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b41ff0012d76ff4005e8b868000b010929..."} 
[2026-04-22 20:31:30] local.INFO: Processing buffer {"connection_id":51567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b41ff0012d76ff4005e8b868000b010929..."} 
[2026-04-22 20:31:30] local.INFO: Packet analysis {"connection_id":51567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b4"} 
[2026-04-22 20:31:30] local.INFO: Extracted packet for processing {"connection_id":51567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b4"} 
[2026-04-22 20:31:30] local.INFO: GPS Element Parsed {"raw_longitude":762773312,"raw_latitude":99137640,"longitude_deg":76.2773312,"latitude_deg":9.913764,"altitude":11,"angle":265,"satellites":41,"speed":28,"hex_longitude":"2d76ff40","hex_latitude":"05e8b868","is_valid_coordinates":true} 
[2026-04-22 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-22 20:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878710016001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278686177135951872,"note":"Value kept but may cause issues"} 
[2026-04-22 20:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8584916446310252544,"note":"Value kept but may cause issues"} 
[2026-04-22 20:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776869974000,"timestamp_ms":1776869974000,"timestamp_seconds":1776869974,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b41ff0"} 
[2026-04-22 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-22 20:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-22 20:31:30] 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-22 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-22 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-22 20:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":51567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":51567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":51567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:31: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-22 20:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878710016001,"66":27365,"129":206,"87":12288,"24":28,"16":278686177135951872,"45":8584916446310252544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-04-22 20:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878710016001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:31:30] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 20:31:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278686177135951872,"km_value":278686177135951.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8584916446310252544,"description":"Unknown IO ID 45"} 
[2026-04-22 20:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878710016001,"power":27365,"unknown_129":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8584916446310252544}} 
[2026-04-22 20:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":51567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:31:30] local.INFO: GPS data processed {"connection_id":51567,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:31:30] local.INFO: Acknowledgment sent {"connection_id":51567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:32:02] local.INFO: TCP Data received {"connection_id":51567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b44318012d76ebc005e8b700000a011529..."} 
[2026-04-22 20:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b44318012d76ebc005e8b700000a011529..."} 
[2026-04-22 20:32:02] local.INFO: Processing buffer {"connection_id":51567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b44318012d76ebc005e8b700000a011529..."} 
[2026-04-22 20:32:02] local.INFO: Packet analysis {"connection_id":51567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b4"} 
[2026-04-22 20:32:02] local.INFO: Extracted packet for processing {"connection_id":51567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b4"} 
[2026-04-22 20:32:02] local.INFO: GPS Element Parsed {"raw_longitude":762768320,"raw_latitude":99137280,"longitude_deg":76.276832,"latitude_deg":9.913728,"altitude":10,"angle":277,"satellites":41,"speed":22,"hex_longitude":"2d76ebc0","hex_latitude":"05e8b700","is_valid_coordinates":true} 
[2026-04-22 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-22 20:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878713344001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278686413359153152,"note":"Value kept but may cause issues"} 
[2026-04-22 20:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8574642609660127232,"note":"Value kept but may cause issues"} 
[2026-04-22 20:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776869983000,"timestamp_ms":1776869983000,"timestamp_seconds":1776869983,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b44318"} 
[2026-04-22 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-22 20: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-22 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 20:32: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-22 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-22 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-22 20:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878713344001,"66":27321,"129":206,"87":12288,"24":22,"16":278686413359153152,"45":8574642609660127232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-04-22 20:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878713344001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:32:02] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 20:32:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278686413359153152,"km_value":278686413359153.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8574642609660127232,"description":"Unknown IO ID 45"} 
[2026-04-22 20:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878713344001,"power":27321,"unknown_129":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8574642609660127232}} 
[2026-04-22 20:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":51567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:32:02] local.INFO: GPS data processed {"connection_id":51567,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:32:02] local.INFO: Acknowledgment sent {"connection_id":51567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:32:25] local.INFO: TCP Data received {"connection_id":51568,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:32:25] local.INFO: Processing buffer {"connection_id":51568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:32:25] local.INFO: IMEI packet received {"connection_id":51568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":51568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:32:30] local.INFO: TCP Data received {"connection_id":51568,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:32:30] local.INFO: Processing buffer {"connection_id":51568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:32:30] local.INFO: IMEI packet received {"connection_id":51568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":51568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:32:31] local.INFO: TCP Data received {"connection_id":51568,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b5a690012d769e4005e970300009015228..."} 
[2026-04-22 20:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b5a690012d769e4005e970300009015228..."} 
[2026-04-22 20:32:31] local.INFO: Processing buffer {"connection_id":51568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b5a690012d769e4005e970300009015228..."} 
[2026-04-22 20:32:31] local.INFO: Packet analysis {"connection_id":51568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b5"} 
[2026-04-22 20:32:31] local.INFO: Extracted packet for processing {"connection_id":51568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b5"} 
[2026-04-22 20:32:31] local.INFO: GPS Element Parsed {"raw_longitude":762748480,"raw_latitude":99184688,"longitude_deg":76.274848,"latitude_deg":9.9184688,"altitude":9,"angle":338,"satellites":40,"speed":15,"hex_longitude":"2d769e40","hex_latitude":"05e97030","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878736128001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278688930209988608,"note":"Value kept but may cause issues"} 
[2026-04-22 20:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8551069080370477056,"note":"Value kept but may cause issues"} 
[2026-04-22 20:32:31] 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-22 20:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776870074000,"timestamp_ms":1776870074000,"timestamp_seconds":1776870074,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b5a690"} 
[2026-04-22 20: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-22 20: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-22 20: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":240,"data_length":795,"current_offset":136} 
[2026-04-22 20:32: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-22 20: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-22 20: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-22 20:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:32:31] 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-22 20:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878736128001,"66":27300,"39":206,"87":12288,"24":15,"16":278688930209988608,"45":8551069080370477056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-22 20:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878736128001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:32:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-22 20:32:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278688930209988608,"km_value":278688930209988.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8551069080370477056,"description":"Unknown IO ID 45"} 
[2026-04-22 20:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878736128001,"power":27300,"unknown_39":206,"unknown_87":12288,"ignition":15,"odometer":null,"unknown_45":8551069080370477056}} 
[2026-04-22 20:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":51568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:32:31] local.INFO: GPS data processed {"connection_id":51568,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:32:31] local.INFO: Acknowledgment sent {"connection_id":51568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:33:00] local.INFO: TCP Data received {"connection_id":50604,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:33:00] local.INFO: Processing buffer {"connection_id":50604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:33:00] local.INFO: IMEI packet received {"connection_id":50604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":50604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:33:02] local.INFO: TCP Data received {"connection_id":51568,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b5f0c8012d76918005e991e0000b01532a..."} 
[2026-04-22 20:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b5f0c8012d76918005e991e0000b01532a..."} 
[2026-04-22 20:33:02] local.INFO: Processing buffer {"connection_id":51568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b5f0c8012d76918005e991e0000b01532a..."} 
[2026-04-22 20:33:02] local.INFO: Packet analysis {"connection_id":51568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b5"} 
[2026-04-22 20:33:02] local.INFO: Extracted packet for processing {"connection_id":51568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b5"} 
[2026-04-22 20:33:02] local.INFO: GPS Element Parsed {"raw_longitude":762745216,"raw_latitude":99193312,"longitude_deg":76.2745216,"latitude_deg":9.9193312,"altitude":11,"angle":339,"satellites":42,"speed":22,"hex_longitude":"2d769180","hex_latitude":"05e991e0","is_valid_coordinates":true} 
[2026-04-22 20:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878738944001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278689381181554688,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8547339536931237888,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776870093000,"timestamp_ms":1776870093000,"timestamp_seconds":1776870093,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b5f0c8"} 
[2026-04-22 20:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:33: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-22 20:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 20:33: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-22 20:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878738944001,"66":27463,"35":206,"87":12288,"24":22,"16":278689381181554688,"45":8547339536931237888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-04-22 20:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878738944001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:33:02] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 20:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278689381181554688,"km_value":278689381181554.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8547339536931237888,"description":"Unknown IO ID 45"} 
[2026-04-22 20:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878738944001,"power":27463,"unknown_35":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8547339536931237888}} 
[2026-04-22 20:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":51568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:33:02] local.INFO: GPS data processed {"connection_id":51568,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:33:02] local.INFO: Acknowledgment sent {"connection_id":51568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:33:30] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:33:30] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:33:30] local.INFO: IMEI packet received {"connection_id":50994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":50994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:33:35] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:33:35] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:33:35] local.INFO: IMEI packet received {"connection_id":50994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":50994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:33:37] local.INFO: TCP Data received {"connection_id":50995,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:33:37] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:33:37] local.INFO: IMEI packet received {"connection_id":50995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":50995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:33:37] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b61fa8012d76838005e9b1c0000c014e28..."} 
[2026-04-22 20:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b61fa8012d76838005e9b1c0000c014e28..."} 
[2026-04-22 20:33:37] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b61fa8012d76838005e9b1c0000c014e28..."} 
[2026-04-22 20:33:37] local.INFO: Packet analysis {"connection_id":50994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:33:37] local.INFO: Extracted packet for processing {"connection_id":50994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:33:37] local.INFO: GPS Element Parsed {"raw_longitude":762741632,"raw_latitude":99201472,"longitude_deg":76.2741632,"latitude_deg":9.9201472,"altitude":12,"angle":334,"satellites":40,"speed":28,"hex_longitude":"2d768380","hex_latitude":"05e9b1c0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878743808001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278689810678284288,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8543750730980384768,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776870105000,"timestamp_ms":1776870105000,"timestamp_seconds":1776870105,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b61fa8"} 
[2026-04-22 20: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-22 20:33: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-22 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 20:33: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-22 20: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-22 20: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-22 20:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:33:37] 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-22 20:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878743808001,"66":27343,"35":206,"87":12288,"24":28,"16":278689810678284288,"45":8543750730980384768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-04-22 20:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878743808001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:33:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 20:33:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278689810678284288,"km_value":278689810678284.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8543750730980384768,"description":"Unknown IO ID 45"} 
[2026-04-22 20:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878743808001,"power":27343,"unknown_35":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8543750730980384768}} 
[2026-04-22 20:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":50994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:33:37] local.INFO: GPS data processed {"connection_id":50994,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:33:37] local.INFO: Acknowledgment sent {"connection_id":50994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:33:38] local.INFO: TCP Data received {"connection_id":50995,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b67d68012d1958c0071ff1700036006a27..."} 
[2026-04-22 20:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b67d68012d1958c0071ff1700036006a27..."} 
[2026-04-22 20:33:38] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b67d68012d1958c0071ff1700036006a27..."} 
[2026-04-22 20:33:38] local.INFO: Packet analysis {"connection_id":50995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:33:38] local.INFO: Extracted packet for processing {"connection_id":50995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756635840,"raw_latitude":119533936,"longitude_deg":75.663584,"latitude_deg":11.9533936,"altitude":54,"angle":106,"satellites":39,"speed":19,"hex_longitude":"2d1958c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-04-22 20:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878752256001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066304087883776,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673360181248,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33: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-22 20:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776870129000,"timestamp_ms":1776870129000,"timestamp_seconds":1776870129,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b67d68"} 
[2026-04-22 20:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:33:38] 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-22 20:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-04-22 20:33:38] 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-22 20:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878752256001,"66":13015,"106":206,"83":41984,"24":19,"16":114066304087883776,"45":1824872673360181248},"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-22 20:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878752256001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:33:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066304087883776,"km_value":114066304087883.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673360181248,"description":"Unknown IO ID 45"} 
[2026-04-22 20:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878752256001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1824872673360181248}} 
[2026-04-22 20:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":50995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:33:38] local.INFO: GPS data processed {"connection_id":50995,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:33:38] local.INFO: Acknowledgment sent {"connection_id":50995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:33:39] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b65270012d76744005e9d1a0000e015226..."} 
[2026-04-22 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b65270012d76744005e9d1a0000e015226..."} 
[2026-04-22 20:33:39] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b65270012d76744005e9d1a0000e015226..."} 
[2026-04-22 20:33:39] local.INFO: Packet analysis {"connection_id":50994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:33:39] local.INFO: Extracted packet for processing {"connection_id":50994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:33:39] local.INFO: GPS Element Parsed {"raw_longitude":762737728,"raw_latitude":99209632,"longitude_deg":76.2737728,"latitude_deg":9.9209632,"altitude":14,"angle":338,"satellites":38,"speed":25,"hex_longitude":"2d767440","hex_latitude":"05e9d1a0","is_valid_coordinates":true} 
[2026-04-22 20:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878746880001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278690248764948480,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8539810081308524544,"note":"Value kept but may cause issues"} 
[2026-04-22 20:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776870118000,"timestamp_ms":1776870118000,"timestamp_seconds":1776870118,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b65270"} 
[2026-04-22 20:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:33: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-22 20:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20: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-22 20:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878746880001,"66":27321,"35":206,"87":12288,"24":25,"16":278690248764948480,"45":8539810081308524544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-04-22 20:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878746880001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:33:39] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 20:33:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278690248764948480,"km_value":278690248764948.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8539810081308524544,"description":"Unknown IO ID 45"} 
[2026-04-22 20:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878746880001,"power":27321,"unknown_35":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8539810081308524544}} 
[2026-04-22 20:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":50994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:33:39] local.INFO: GPS data processed {"connection_id":50994,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:33:39] local.INFO: Acknowledgment sent {"connection_id":50994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:34:09] local.INFO: TCP Data received {"connection_id":50995,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b690f0012d196000071fef500036005d28..."} 
[2026-04-22 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b690f0012d196000071fef500036005d28..."} 
[2026-04-22 20:34:09] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b690f0012d196000071fef500036005d28..."} 
[2026-04-22 20:34:09] local.INFO: Packet analysis {"connection_id":50995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:34:09] local.INFO: Extracted packet for processing {"connection_id":50995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756637696,"raw_latitude":119533392,"longitude_deg":75.6637696,"latitude_deg":11.9533392,"altitude":54,"angle":93,"satellites":40,"speed":9,"hex_longitude":"2d196000","hex_latitude":"071fef50","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878753024001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066398577164288,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826420785731956736,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776870134000,"timestamp_ms":1776870134000,"timestamp_seconds":1776870134,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b690f0"} 
[2026-04-22 20: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-22 20:34:09] 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-22 20: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-22 20:34:09] 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-22 20: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-22 20: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-22 20:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:34:09] 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-22 20:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878753024001,"66":13472,"106":206,"83":41984,"24":9,"16":114066398577164288,"45":1826420785731956736},"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-22 20:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878753024001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:34:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066398577164288,"km_value":114066398577164.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826420785731956736,"description":"Unknown IO ID 45"} 
[2026-04-22 20:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878753024001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1826420785731956736}} 
[2026-04-22 20:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":50995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:34:09] local.INFO: GPS data processed {"connection_id":50995,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:34:09] local.INFO: Acknowledgment sent {"connection_id":50995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:34:10] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b690f0012d76684005e9f2a8000f01522b..."} 
[2026-04-22 20:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b690f0012d76684005e9f2a8000f01522b..."} 
[2026-04-22 20:34:10] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b690f0012d76684005e9f2a8000f01522b..."} 
[2026-04-22 20:34:10] local.INFO: Packet analysis {"connection_id":50994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:34:10] local.INFO: Extracted packet for processing {"connection_id":50994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:34:10] local.INFO: GPS Element Parsed {"raw_longitude":762734656,"raw_latitude":99218088,"longitude_deg":76.2734656,"latitude_deg":9.9218088,"altitude":15,"angle":338,"satellites":43,"speed":26,"hex_longitude":"2d766840","hex_latitude":"05e9f2a8","is_valid_coordinates":true} 
[2026-04-22 20:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878750208001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278690686851612672,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8535517587915776000,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776870134000,"timestamp_ms":1776870134000,"timestamp_seconds":1776870134,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b690f0"} 
[2026-04-22 20:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:34: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-22 20:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 20:34: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-22 20:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:34:10] 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-22 20:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878750208001,"66":27310,"35":206,"87":12288,"24":26,"16":278690686851612672,"45":8535517587915776000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-04-22 20:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878750208001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:34:10] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-22 20:34:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278690686851612672,"km_value":278690686851612.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8535517587915776000,"description":"Unknown IO ID 45"} 
[2026-04-22 20:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878750208001,"power":27310,"unknown_35":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8535517587915776000}} 
[2026-04-22 20:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":50994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:34:10] local.INFO: GPS data processed {"connection_id":50994,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:34:10] local.INFO: Acknowledgment sent {"connection_id":50994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:34:26] local.INFO: TCP Data received {"connection_id":50605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:34:26] local.INFO: Processing buffer {"connection_id":50605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:34:26] local.INFO: IMEI packet received {"connection_id":50605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":50605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:34:31] local.INFO: TCP Data received {"connection_id":50606,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:34:31] local.INFO: Processing buffer {"connection_id":50606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:34:31] local.INFO: IMEI packet received {"connection_id":50606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":50606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:34:32] local.INFO: TCP Data received {"connection_id":50605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:34:32] local.INFO: Processing buffer {"connection_id":50605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:34:32] local.INFO: IMEI packet received {"connection_id":50605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:34:32] local.INFO: TCP Data received {"connection_id":50605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b694d8012d196100071fef300036006829..."} 
[2026-04-22 20:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b694d8012d196100071fef300036006829..."} 
[2026-04-22 20:34:32] local.INFO: Processing buffer {"connection_id":50605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b694d8012d196100071fef300036006829..."} 
[2026-04-22 20:34:32] local.INFO: Packet analysis {"connection_id":50605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:34:32] local.INFO: Extracted packet for processing {"connection_id":50605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119533360,"longitude_deg":75.6637952,"latitude_deg":11.953336,"altitude":54,"angle":104,"satellites":41,"speed":7,"hex_longitude":"2d196100","hex_latitude":"071fef30","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878754304001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066407167098880,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828461479312969728,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34: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-22 20:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776870135000,"timestamp_ms":1776870135000,"timestamp_seconds":1776870135,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b694d8"} 
[2026-04-22 20: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-22 20:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 20:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878754304001,"66":13472,"106":206,"83":41984,"24":7,"16":114066407167098880,"45":1828461479312969728},"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-22 20:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878754304001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:34:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066407167098880,"km_value":114066407167098.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828461479312969728,"description":"Unknown IO ID 45"} 
[2026-04-22 20:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878754304001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1828461479312969728}} 
[2026-04-22 20:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":50605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:34:32] local.INFO: GPS data processed {"connection_id":50605,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:34:32] local.INFO: Acknowledgment sent {"connection_id":50605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:34:33] local.INFO: TCP Data received {"connection_id":50606,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:34:33] local.INFO: Processing buffer {"connection_id":50606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:34:33] local.INFO: IMEI packet received {"connection_id":50606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":50606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:34:34] local.INFO: TCP Data received {"connection_id":50606,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b6d740012d76588005ea13e0000d014d26..."} 
[2026-04-22 20:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b6d740012d76588005ea13e0000d014d26..."} 
[2026-04-22 20:34:34] local.INFO: Processing buffer {"connection_id":50606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b6d740012d76588005ea13e0000d014d26..."} 
[2026-04-22 20:34:34] local.INFO: Packet analysis {"connection_id":50606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:34:34] local.INFO: Extracted packet for processing {"connection_id":50606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:34:34] local.INFO: GPS Element Parsed {"raw_longitude":762730624,"raw_latitude":99226592,"longitude_deg":76.2730624,"latitude_deg":9.9226592,"altitude":13,"angle":333,"satellites":38,"speed":30,"hex_longitude":"2d765880","hex_latitude":"05ea13e0","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878754304001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278691142118146048,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8532139888197412864,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776870152000,"timestamp_ms":1776870152000,"timestamp_seconds":1776870152,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b6d740"} 
[2026-04-22 20: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-22 20:34: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-22 20: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":174,"data_length":795,"current_offset":136} 
[2026-04-22 20:34: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-22 20: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-22 20: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-22 20:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878754304001,"66":27484,"185":206,"87":12288,"24":30,"16":278691142118146048,"45":8532139888197412864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-22 20:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878754304001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:34:34] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 20:34:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278691142118146048,"km_value":278691142118146.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8532139888197412864,"description":"Unknown IO ID 45"} 
[2026-04-22 20:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878754304001,"power":27484,"unknown_185":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8532139888197412864}} 
[2026-04-22 20:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":50606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:34:34] local.INFO: GPS data processed {"connection_id":50606,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:34:34] local.INFO: Acknowledgment sent {"connection_id":50606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:34:37] local.INFO: TCP Data received {"connection_id":50606,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b711d8012d76484005ea33580009014c25..."} 
[2026-04-22 20:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b711d8012d76484005ea33580009014c25..."} 
[2026-04-22 20:34:37] local.INFO: Processing buffer {"connection_id":50606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b711d8012d76484005ea33580009014c25..."} 
[2026-04-22 20:34:37] local.INFO: Packet analysis {"connection_id":50606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:34:37] local.INFO: Extracted packet for processing {"connection_id":50606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":762726464,"raw_latitude":99234648,"longitude_deg":76.2726464,"latitude_deg":9.9234648,"altitude":9,"angle":332,"satellites":37,"speed":25,"hex_longitude":"2d764840","hex_latitude":"05ea3358","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878758912001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278691580204810240,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8527706657316397056,"note":"Value kept but may cause issues"} 
[2026-04-22 20:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776870167000,"timestamp_ms":1776870167000,"timestamp_seconds":1776870167,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b711d8"} 
[2026-04-22 20: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-22 20:34: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-22 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 20:34: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-22 20: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-22 20: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-22 20:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:34:37] 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-22 20:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878758912001,"66":27365,"185":206,"87":12288,"24":25,"16":278691580204810240,"45":8527706657316397056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-22 20:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878758912001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:34:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 20:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278691580204810240,"km_value":278691580204810.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8527706657316397056,"description":"Unknown IO ID 45"} 
[2026-04-22 20:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878758912001,"power":27365,"unknown_185":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8527706657316397056}} 
[2026-04-22 20:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":50606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:34:37] local.INFO: GPS data processed {"connection_id":50606,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:34:37] local.INFO: Acknowledgment sent {"connection_id":50606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:35:03] local.INFO: TCP Data received {"connection_id":50605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b6e6e0012d196680071fee10003700682c..."} 
[2026-04-22 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b6e6e0012d196680071fee10003700682c..."} 
[2026-04-22 20:35:03] local.INFO: Processing buffer {"connection_id":50605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b6e6e0012d196680071fee10003700682c..."} 
[2026-04-22 20:35:03] local.INFO: Packet analysis {"connection_id":50605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:35:03] local.INFO: Extracted packet for processing {"connection_id":50605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b6"} 
[2026-04-22 20:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533072,"longitude_deg":75.663936,"latitude_deg":11.9533072,"altitude":55,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-04-22 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-22 20:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878754560001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954289672192,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35: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-22 20:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776870156000,"timestamp_ms":1776870156000,"timestamp_seconds":1776870156,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b6e6e0"} 
[2026-04-22 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-22 20:35:03] 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-22 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-22 20:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 20:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:35:03] local.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-22 20:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878754560001,"66":12972,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1828742954289672192},"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-22 20:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878754560001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:35:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954289672192,"description":"Unknown IO ID 45"} 
[2026-04-22 20:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878754560001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828742954289672192}} 
[2026-04-22 20:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":50605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:35:03] local.INFO: GPS data processed {"connection_id":50605,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:35:03] local.INFO: Acknowledgment sent {"connection_id":50605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:35:23] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:35:23] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:35:23] local.INFO: IMEI packet received {"connection_id":50893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":50893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:35:26] local.INFO: TCP Data received {"connection_id":50997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:35:26] local.INFO: Processing buffer {"connection_id":50997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:35:26] local.INFO: IMEI packet received {"connection_id":50997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":50997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:35:30] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:35:30] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:35:30] local.INFO: IMEI packet received {"connection_id":50893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":50893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:35:31] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-22 20:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-22 20:35:31] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-22 20:35:31] local.INFO: IMEI packet received {"connection_id":50893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":50893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:35:32] local.INFO: TCP Data received {"connection_id":50997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:35:32] local.INFO: Processing buffer {"connection_id":50997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:35:32] local.INFO: IMEI packet received {"connection_id":50997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:35:32] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b89878012d75e34005eb0058000701452a..."} 
[2026-04-22 20:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b89878012d75e34005eb0058000701452a..."} 
[2026-04-22 20:35:32] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019db5..."} 
[2026-04-22 20:35:32] local.INFO: IMEI packet received {"connection_id":50893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":50893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:35:32] local.INFO: TCP Data received {"connection_id":50997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:35:32] local.INFO: Processing buffer {"connection_id":50997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:35:32] local.INFO: Packet analysis {"connection_id":50997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:35:32] local.INFO: Extracted packet for processing {"connection_id":50997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533072,"longitude_deg":75.663936,"latitude_deg":11.9533072,"altitude":55,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-04-22 20:35: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-22 20:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878759936001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35: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-22 20:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776870163000,"timestamp_ms":1776870163000,"timestamp_seconds":1776870163,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b70238"} 
[2026-04-22 20: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-22 20:35: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-22 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:35:32] 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-22 20: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-22 20: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-22 20:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878759936001,"66":12972,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878759936001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:35:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878759936001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":50997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:35:32] local.INFO: GPS data processed {"connection_id":50997,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:35:32] local.INFO: Acknowledgment sent {"connection_id":50997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:35:36] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b8a048012d75e10005eb04400006015129..."} 
[2026-04-22 20:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b8a048012d75e10005eb04400006015129..."} 
[2026-04-22 20:35:36] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019db5b89878012d75e34005eb0058000701452a..."} 
[2026-04-22 20:35:36] local.INFO: Packet analysis {"connection_id":50893,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:35:36] local.INFO: Extracted packet for processing {"connection_id":50893,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":762700608,"raw_latitude":99287128,"longitude_deg":76.2700608,"latitude_deg":9.9287128,"altitude":7,"angle":325,"satellites":42,"speed":24,"hex_longitude":"2d75e340","hex_latitude":"05eb0058","is_valid_coordinates":true} 
[2026-04-22 20:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878787584001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278694492192636928,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8496533303660754944,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776870267000,"timestamp_ms":1776870267000,"timestamp_seconds":1776870267,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b89878"} 
[2026-04-22 20:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20: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-22 20:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 20:35:36] 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-22 20:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:35:36] 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-22 20:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878787584001,"66":27104,"185":206,"87":12288,"24":24,"16":278694492192636928,"45":8496533303660754944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-22 20:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878787584001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:35:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 20:35:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278694492192636928,"km_value":278694492192636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8496533303660754944,"description":"Unknown IO ID 45"} 
[2026-04-22 20:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878787584001,"power":27104,"unknown_185":206,"unknown_87":12288,"ignition":24,"odometer":null,"unknown_45":8496533303660754944}} 
[2026-04-22 20:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":50893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:35:36] local.INFO: GPS data processed {"connection_id":50893,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:35:36] local.INFO: Acknowledgment sent {"connection_id":50893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:35:36] local.INFO: Packet analysis {"connection_id":50893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:35:36] local.INFO: Extracted packet for processing {"connection_id":50893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":762700032,"raw_latitude":99288128,"longitude_deg":76.2700032,"latitude_deg":9.9288128,"altitude":6,"angle":337,"satellites":41,"speed":19,"hex_longitude":"2d75e100","hex_latitude":"05eb0440","is_valid_coordinates":true} 
[2026-04-22 20:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878788352001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278694548027211776,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8494703716312569856,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776870269000,"timestamp_ms":1776870269000,"timestamp_seconds":1776870269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b8a048"} 
[2026-04-22 20:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20: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-22 20:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-22 20:35:36] 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-22 20:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:35:36] 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-22 20:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878788352001,"66":27332,"185":206,"87":12288,"24":19,"16":278694548027211776,"45":8494703716312569856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-22 20:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878788352001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:35:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-22 20:35:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278694548027211776,"km_value":278694548027211.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8494703716312569856,"description":"Unknown IO ID 45"} 
[2026-04-22 20:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878788352001,"power":27332,"unknown_185":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8494703716312569856}} 
[2026-04-22 20:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":50893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:35:36] local.INFO: GPS data processed {"connection_id":50893,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:35:36] local.INFO: Acknowledgment sent {"connection_id":50893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:35:36] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b8d6f8012d75d10005eb25b8000501471c..."} 
[2026-04-22 20:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b8d6f8012d75d10005eb25b8000501471c..."} 
[2026-04-22 20:35:36] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b8d6f8012d75d10005eb25b8000501471c..."} 
[2026-04-22 20:35:36] local.INFO: Packet analysis {"connection_id":50893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:35:36] local.INFO: Extracted packet for processing {"connection_id":50893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":762695936,"raw_latitude":99296696,"longitude_deg":76.2695936,"latitude_deg":9.9296696,"altitude":5,"angle":327,"satellites":28,"speed":31,"hex_longitude":"2d75d100","hex_latitude":"05eb25b8","is_valid_coordinates":true} 
[2026-04-22 20:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878788864001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278695007588712448,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8494070397615226880,"note":"Value kept but may cause issues"} 
[2026-04-22 20:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776870283000,"timestamp_ms":1776870283000,"timestamp_seconds":1776870283,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b8d6f8"} 
[2026-04-22 20: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-22 20:35: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-22 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 20:35: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-22 20: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-22 20: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-22 20:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:35:37] 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-22 20:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878788864001,"66":27332,"186":206,"87":12288,"24":31,"16":278695007588712448,"45":8494070397615226880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-22 20:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878788864001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:35:37] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-22 20:35:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278695007588712448,"km_value":278695007588712.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8494070397615226880,"description":"Unknown IO ID 45"} 
[2026-04-22 20:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878788864001,"power":27332,"unknown_186":206,"unknown_87":12288,"ignition":31,"odometer":null,"unknown_45":8494070397615226880}} 
[2026-04-22 20:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":50893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:35:37] local.INFO: GPS data processed {"connection_id":50893,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:35:37] local.INFO: Acknowledgment sent {"connection_id":50893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:36:03] local.INFO: TCP Data received {"connection_id":50997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:36:03] local.INFO: Processing buffer {"connection_id":50997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:36:03] local.INFO: Packet analysis {"connection_id":50997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:36:03] local.INFO: Extracted packet for processing {"connection_id":50997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533072,"longitude_deg":75.663936,"latitude_deg":11.9533072,"altitude":55,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-04-22 20:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36: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-22 20:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776870163000,"timestamp_ms":1776870163000,"timestamp_seconds":1776870163,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b70238"} 
[2026-04-22 20:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:36:03] 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-22 20:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:36:03] 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-22 20:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:36:03] local.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-22 20:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":12972,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:36:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":50997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:36:03] local.INFO: GPS data processed {"connection_id":50997,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:36:03] local.INFO: Acknowledgment sent {"connection_id":50997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:36:11] local.INFO: TCP Data received {"connection_id":50893,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b8dec8012d75ccc005eb2aa80006013320..."} 
[2026-04-22 20:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b8dec8012d75ccc005eb2aa80006013320..."} 
[2026-04-22 20:36:11] local.INFO: Processing buffer {"connection_id":50893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b8dec8012d75ccc005eb2aa80006013320..."} 
[2026-04-22 20:36:11] local.INFO: Packet analysis {"connection_id":50893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:36:11] local.INFO: Extracted packet for processing {"connection_id":50893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:36:11] local.INFO: GPS Element Parsed {"raw_longitude":762694848,"raw_latitude":99297960,"longitude_deg":76.2694848,"latitude_deg":9.929796,"altitude":6,"angle":307,"satellites":32,"speed":35,"hex_longitude":"2d75ccc0","hex_latitude":"05eb2aa8","is_valid_coordinates":true} 
[2026-04-22 20:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878792448001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278695089193091072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8489566797990049792,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776870285000,"timestamp_ms":1776870285000,"timestamp_seconds":1776870285,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b8dec8"} 
[2026-04-22 20:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:36: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-22 20:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 20:36: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-22 20:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:36:11] 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-22 20:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878792448001,"66":27321,"186":206,"87":12288,"24":35,"16":278695089193091072,"45":8489566797990049792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-22 20:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878792448001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:36:11] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-22 20:36:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278695089193091072,"km_value":278695089193091.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8489566797990049792,"description":"Unknown IO ID 45"} 
[2026-04-22 20:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878792448001,"power":27321,"unknown_186":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8489566797990049792}} 
[2026-04-22 20:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":50893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:36:11] local.INFO: GPS data processed {"connection_id":50893,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:36:11] local.INFO: Acknowledgment sent {"connection_id":50893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:36:30] local.INFO: TCP Data received {"connection_id":50607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:36:30] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:36:30] local.INFO: IMEI packet received {"connection_id":50607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":50607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:36:32] local.INFO: TCP Data received {"connection_id":50999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:36:32] local.INFO: Processing buffer {"connection_id":50999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:36:32] local.INFO: IMEI packet received {"connection_id":50999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:36:35] local.INFO: TCP Data received {"connection_id":50607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:36:35] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:36:35] local.INFO: IMEI packet received {"connection_id":50607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":50607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:36:36] local.INFO: TCP Data received {"connection_id":50607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b8e698012d75c64005eb2e580007012224..."} 
[2026-04-22 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b8e698012d75c64005eb2e580007012224..."} 
[2026-04-22 20:36:36] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b8e698012d75c64005eb2e580007012224..."} 
[2026-04-22 20:36:36] local.INFO: Packet analysis {"connection_id":50607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:36:36] local.INFO: Extracted packet for processing {"connection_id":50607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b8"} 
[2026-04-22 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":762693184,"raw_latitude":99298904,"longitude_deg":76.2693184,"latitude_deg":9.9298904,"altitude":7,"angle":290,"satellites":36,"speed":38,"hex_longitude":"2d75c640","hex_latitude":"05eb2e58","is_valid_coordinates":true} 
[2026-04-22 20:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878792960001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278695183682371584,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8488370529339353088,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776870287000,"timestamp_ms":1776870287000,"timestamp_seconds":1776870287,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b8e698"} 
[2026-04-22 20:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:36: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-22 20:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 20:36: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-22 20:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:36:36] 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-22 20:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878792960001,"66":27365,"186":206,"87":12288,"24":38,"16":278695183682371584,"45":8488370529339353088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-22 20:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878792960001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:36:36] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-22 20:36:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278695183682371584,"km_value":278695183682371.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8488370529339353088,"description":"Unknown IO ID 45"} 
[2026-04-22 20:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878792960001,"power":27365,"unknown_186":206,"unknown_87":12288,"ignition":38,"odometer":null,"unknown_45":8488370529339353088}} 
[2026-04-22 20:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":50607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:36:36] local.INFO: GPS data processed {"connection_id":50607,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:36:36] local.INFO: Acknowledgment sent {"connection_id":50607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:36:37] local.INFO: TCP Data received {"connection_id":50999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:36:37] local.INFO: Processing buffer {"connection_id":50999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:36:37] local.INFO: IMEI packet received {"connection_id":50999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":50999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:36:39] local.INFO: TCP Data received {"connection_id":50999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:36:39] local.INFO: Processing buffer {"connection_id":50999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:36:39] local.INFO: Packet analysis {"connection_id":50999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:36:39] local.INFO: Extracted packet for processing {"connection_id":50999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533072,"longitude_deg":75.663936,"latitude_deg":11.9533072,"altitude":55,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-04-22 20:36:39] 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-22 20:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36: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-22 20:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776870163000,"timestamp_ms":1776870163000,"timestamp_seconds":1776870163,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b70238"} 
[2026-04-22 20:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:36:39] 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-22 20:36: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":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:36:39] 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-22 20:36: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-22 20:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":50999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":50999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":50999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:36:39] local.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-22 20:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":12972,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:36:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":50999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:36:39] local.INFO: GPS data processed {"connection_id":50999,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:36:39] local.INFO: Acknowledgment sent {"connection_id":50999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:36:42] local.INFO: TCP Data received {"connection_id":50999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:36:42] local.INFO: Processing buffer {"connection_id":50999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:36:42] local.INFO: Packet analysis {"connection_id":50999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:36:42] local.INFO: Extracted packet for processing {"connection_id":50999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533072,"longitude_deg":75.663936,"latitude_deg":11.9533072,"altitude":55,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-04-22 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776870163000,"timestamp_ms":1776870163000,"timestamp_seconds":1776870163,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b70238"} 
[2026-04-22 20:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:36:42] 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-22 20:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:36:42] local.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-22 20:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":12972,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:36:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:36:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":50999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:36:42] local.INFO: GPS data processed {"connection_id":50999,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:36:42] local.INFO: Acknowledgment sent {"connection_id":50999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:37:07] local.INFO: TCP Data received {"connection_id":50607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ba1f18012d75d2c005ebb578001200292a..."} 
[2026-04-22 20:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ba1f18012d75d2c005ebb578001200292a..."} 
[2026-04-22 20:37:07] local.INFO: Processing buffer {"connection_id":50607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ba1f18012d75d2c005ebb578001200292a..."} 
[2026-04-22 20:37:07] local.INFO: Packet analysis {"connection_id":50607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ba"} 
[2026-04-22 20:37:07] local.INFO: Extracted packet for processing {"connection_id":50607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ba"} 
[2026-04-22 20:37:07] local.INFO: GPS Element Parsed {"raw_longitude":762696384,"raw_latitude":99333496,"longitude_deg":76.2696384,"latitude_deg":9.9333496,"altitude":18,"angle":41,"satellites":42,"speed":38,"hex_longitude":"2d75d2c0","hex_latitude":"05ebb578","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878811392001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278697906691637248,"note":"Value kept but may cause issues"} 
[2026-04-22 20:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8483374348510042112,"note":"Value kept but may cause issues"} 
[2026-04-22 20:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776870367000,"timestamp_ms":1776870367000,"timestamp_seconds":1776870367,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ba1f18"} 
[2026-04-22 20: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-22 20: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-22 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-22 20:37:07] 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-22 20: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-22 20: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-22 20:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:37: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-22 20:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878811392001,"66":27365,"191":206,"87":12288,"24":38,"16":278697906691637248,"45":8483374348510042112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-04-22 20:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878811392001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:37:07] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-22 20:37:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-22 20:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278697906691637248,"km_value":278697906691637.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8483374348510042112,"description":"Unknown IO ID 45"} 
[2026-04-22 20:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878811392001,"power":27365,"unknown_191":206,"unknown_87":12288,"ignition":38,"odometer":null,"unknown_45":8483374348510042112}} 
[2026-04-22 20:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":50607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:37:07] local.INFO: GPS data processed {"connection_id":50607,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:37:07] local.INFO: Acknowledgment sent {"connection_id":50607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:37:26] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:37:26] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:37:26] local.INFO: IMEI packet received {"connection_id":50895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":50895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:37:32] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:37:32] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:37:32] local.INFO: IMEI packet received {"connection_id":50895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:37:33] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:37:33] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:37:33] local.INFO: Packet analysis {"connection_id":50895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:37:33] local.INFO: Extracted packet for processing {"connection_id":50895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533072,"longitude_deg":75.663936,"latitude_deg":11.9533072,"altitude":55,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-04-22 20:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:37: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-22 20:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776870163000,"timestamp_ms":1776870163000,"timestamp_seconds":1776870163,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b70238"} 
[2026-04-22 20: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-22 20:37:33] 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-22 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:37:33] 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-22 20: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-22 20: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-22 20:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:37:33] local.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-22 20:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":12972,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:37:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":50895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:37:33] local.INFO: GPS data processed {"connection_id":50895,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:37:33] local.INFO: Acknowledgment sent {"connection_id":50895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:37:57] local.INFO: TCP Data received {"connection_id":51000,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:37:57] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:37:57] local.INFO: IMEI packet received {"connection_id":51000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":51000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:38:04] local.INFO: TCP Data received {"connection_id":50895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:38:04] local.INFO: Processing buffer {"connection_id":50895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5b70238012d196680071fee10003700682c..."} 
[2026-04-22 20:38:04] local.INFO: Packet analysis {"connection_id":50895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:38:04] local.INFO: Extracted packet for processing {"connection_id":50895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5b7"} 
[2026-04-22 20:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533072,"longitude_deg":75.663936,"latitude_deg":11.9533072,"altitude":55,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-04-22 20:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:38: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-22 20:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776870163000,"timestamp_ms":1776870163000,"timestamp_seconds":1776870163,"priority":1,"record_length":96,"hex_timestamp":"0000019db5b70238"} 
[2026-04-22 20: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-22 20:38:04] 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-22 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:38:04] 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-22 20: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-22 20: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-22 20:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:38:04] local.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-22 20:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":12972,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:38:04] local.INFO: GPS data processed {"connection_id":50895,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:38:04] local.INFO: Acknowledgment sent {"connection_id":50895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:38:11] local.INFO: TCP Data received {"connection_id":51000,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:38:11] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:38:11] local.INFO: IMEI packet received {"connection_id":51000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":51000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:38:11] local.INFO: TCP Data received {"connection_id":51000,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:38:11] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:38:11] local.INFO: IMEI packet received {"connection_id":51000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":51000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:38:31] local.INFO: TCP Data received {"connection_id":50896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:38:31] local.INFO: Processing buffer {"connection_id":50896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:38:31] local.INFO: IMEI packet received {"connection_id":50896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":50896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:38:33] local.INFO: TCP Data received {"connection_id":50896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:38:33] local.INFO: Processing buffer {"connection_id":50896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:38:33] local.INFO: IMEI packet received {"connection_id":50896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":50896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:38:34] local.INFO: TCP Data received {"connection_id":50896,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:38:34] local.INFO: Processing buffer {"connection_id":50896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:38:34] local.INFO: Packet analysis {"connection_id":50896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:38:34] local.INFO: Extracted packet for processing {"connection_id":50896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:38: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-22 20:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20: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-22 20:38:34] 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-22 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:38:34] 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-22 20: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-22 20: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-22 20:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:38:34] local.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-22 20:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:38:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":50896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:38:34] local.INFO: GPS data processed {"connection_id":50896,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:38:34] local.INFO: Acknowledgment sent {"connection_id":50896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:38:36] local.INFO: TCP Data received {"connection_id":51001,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:38:36] local.INFO: Processing buffer {"connection_id":51001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:38:36] local.INFO: IMEI packet received {"connection_id":51001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":51001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:38:40] local.INFO: TCP Data received {"connection_id":50896,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:38:40] local.INFO: Processing buffer {"connection_id":50896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:38:40] local.INFO: Packet analysis {"connection_id":50896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:38:40] local.INFO: Extracted packet for processing {"connection_id":50896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:38:40] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:38: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-22 20:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:38:40] 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-22 20:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:38:40] 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-22 20:38: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-22 20:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:38:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:38:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":50896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:38:40] local.INFO: GPS data processed {"connection_id":50896,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:38:40] local.INFO: Acknowledgment sent {"connection_id":50896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:38:55] local.INFO: TCP Data received {"connection_id":50609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:38:55] local.INFO: Processing buffer {"connection_id":50609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:38:55] local.INFO: IMEI packet received {"connection_id":50609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":50609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:39:11] local.INFO: TCP Data received {"connection_id":50896,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:39:11] local.INFO: Processing buffer {"connection_id":50896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:39:11] local.INFO: Packet analysis {"connection_id":50896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:39:11] local.INFO: Extracted packet for processing {"connection_id":50896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20: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-22 20:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":50896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":50896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:39:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":50896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:39:12] local.INFO: GPS data processed {"connection_id":50896,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:39:12] local.INFO: Acknowledgment sent {"connection_id":50896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:39:26] local.INFO: TCP Data received {"connection_id":51570,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:39:26] local.INFO: Processing buffer {"connection_id":51570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:39:26] local.INFO: IMEI packet received {"connection_id":51570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":51570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:39:32] local.INFO: TCP Data received {"connection_id":51570,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:39:32] local.INFO: Processing buffer {"connection_id":51570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:39:32] local.INFO: IMEI packet received {"connection_id":51570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":51570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:39:33] local.INFO: TCP Data received {"connection_id":51570,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:39:33] local.INFO: Processing buffer {"connection_id":51570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:39:33] local.INFO: Packet analysis {"connection_id":51570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:39:33] local.INFO: Extracted packet for processing {"connection_id":51570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:39: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-22 20:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20: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-22 20:39:33] 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-22 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:39:33] 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-22 20: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-22 20: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-22 20:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:39:33] 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-22 20:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:39:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":51570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:39:34] local.INFO: GPS data processed {"connection_id":51570,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:39:34] local.INFO: Acknowledgment sent {"connection_id":51570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:40:05] local.INFO: TCP Data received {"connection_id":51570,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:40:05] local.INFO: Processing buffer {"connection_id":51570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:40:05] local.INFO: Packet analysis {"connection_id":51570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:40:05] local.INFO: Extracted packet for processing {"connection_id":51570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:40: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-22 20:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:40:05] 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-22 20:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:40:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":51570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:40:05] local.INFO: GPS data processed {"connection_id":51570,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:40:05] local.INFO: Acknowledgment sent {"connection_id":51570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:40:26] local.INFO: TCP Data received {"connection_id":51002,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:40:26] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:40:26] local.INFO: IMEI packet received {"connection_id":51002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":51002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:40:32] local.INFO: TCP Data received {"connection_id":51002,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:40:32] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:40:32] local.INFO: IMEI packet received {"connection_id":51002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":51002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:40:33] local.INFO: TCP Data received {"connection_id":51002,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:40:33] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:40:33] local.INFO: Packet analysis {"connection_id":51002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:40:33] local.INFO: Extracted packet for processing {"connection_id":51002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:40: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-22 20:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20: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-22 20:40:33] 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-22 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:40:33] 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-22 20: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-22 20: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-22 20:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:40:33] 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-22 20:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:40:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":51002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:40:33] local.INFO: GPS data processed {"connection_id":51002,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:40:33] local.INFO: Acknowledgment sent {"connection_id":51002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:41:05] local.INFO: TCP Data received {"connection_id":51002,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:41:05] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:41:05] local.INFO: Packet analysis {"connection_id":51002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:41:05] local.INFO: Extracted packet for processing {"connection_id":51002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:41: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-22 20:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:41:05] 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-22 20:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:41:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":51002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:41:05] local.INFO: GPS data processed {"connection_id":51002,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:41:05] local.INFO: Acknowledgment sent {"connection_id":51002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:41:32] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:41:32] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:41:32] local.INFO: IMEI packet received {"connection_id":50898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":50898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:41:37] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:41:37] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:41:37] local.INFO: IMEI packet received {"connection_id":50898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":50898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:41:38] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:41:38] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:41:38] local.INFO: Packet analysis {"connection_id":50898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:41:38] local.INFO: Extracted packet for processing {"connection_id":50898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:41: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-22 20:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:41:38] 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-22 20:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:41:38] 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-22 20:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:41:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":50898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:41:38] local.INFO: GPS data processed {"connection_id":50898,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:41:38] local.INFO: Acknowledgment sent {"connection_id":50898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:42:09] local.INFO: TCP Data received {"connection_id":50898,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:42:09] local.INFO: Processing buffer {"connection_id":50898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:42:09] local.INFO: Packet analysis {"connection_id":50898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:42:09] local.INFO: Extracted packet for processing {"connection_id":50898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20: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-22 20:42:09] 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-22 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:42:09] 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-22 20: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-22 20: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-22 20:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:42:09] 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-22 20:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:42:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":50898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:42:09] local.INFO: GPS data processed {"connection_id":50898,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:42:09] local.INFO: Acknowledgment sent {"connection_id":50898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:42:27] local.INFO: TCP Data received {"connection_id":50612,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:42:27] local.INFO: Processing buffer {"connection_id":50612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:42:27] local.INFO: IMEI packet received {"connection_id":50612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":50612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:42:32] local.INFO: TCP Data received {"connection_id":50612,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:42:32] local.INFO: Processing buffer {"connection_id":50612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:42:32] local.INFO: IMEI packet received {"connection_id":50612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:42:33] local.INFO: TCP Data received {"connection_id":50612,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:42:33] local.INFO: Processing buffer {"connection_id":50612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:42:33] local.INFO: Packet analysis {"connection_id":50612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:42:33] local.INFO: Extracted packet for processing {"connection_id":50612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:42: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-22 20:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20: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-22 20:42:33] 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-22 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:42:33] 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-22 20: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-22 20: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-22 20:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:42:33] 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-22 20:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:42:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":50612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:42:33] local.INFO: GPS data processed {"connection_id":50612,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:42:33] local.INFO: Acknowledgment sent {"connection_id":50612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:43:04] local.INFO: TCP Data received {"connection_id":50612,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:43:04] local.INFO: Processing buffer {"connection_id":50612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bb9de8012d196500071ff0380039006828..."} 
[2026-04-22 20:43:04] local.INFO: Packet analysis {"connection_id":50612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:43:04] local.INFO: Extracted packet for processing {"connection_id":50612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bb"} 
[2026-04-22 20:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878761728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661507072,"note":"Value kept but may cause issues"} 
[2026-04-22 20:43: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-22 20:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776870465000,"timestamp_ms":1776870465000,"timestamp_seconds":1776870465,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bb9de8"} 
[2026-04-22 20:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:43:04] 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-22 20:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-22 20:43:04] 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-22 20:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:43:04] 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-22 20:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878761728001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1830291066661507072},"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-22 20:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878761728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:43:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661507072,"description":"Unknown IO ID 45"} 
[2026-04-22 20:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878761728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661507072}} 
[2026-04-22 20:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:43:04] local.INFO: GPS data processed {"connection_id":50612,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:43:04] local.INFO: Acknowledgment sent {"connection_id":50612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:43:28] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:43:28] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:43:28] local.INFO: IMEI packet received {"connection_id":51004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":51004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:43:32] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:43:32] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:43:32] local.INFO: IMEI packet received {"connection_id":51004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":51004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:43:35] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:43:35] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:43:35] local.INFO: Packet analysis {"connection_id":51004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:43:35] local.INFO: Extracted packet for processing {"connection_id":51004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:43: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-22 20:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20: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-22 20:43:35] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:43:35] 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-22 20:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:43:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":51004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:43:35] local.INFO: GPS data processed {"connection_id":51004,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:43:35] local.INFO: Acknowledgment sent {"connection_id":51004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:43:40] local.INFO: TCP Data received {"connection_id":51005,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:43:40] local.INFO: Processing buffer {"connection_id":51005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:43:40] local.INFO: IMEI packet received {"connection_id":51005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":51005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:43:41] local.INFO: TCP Data received {"connection_id":51005,"ip":"42.106.6.37","data_length":93,"data_hex":"00000000000000518e010000019db5beda08012d78420005ed8be8000d003f31..."} 
[2026-04-22 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51005,"packet_length":93,"packet_hex":"00000000000000518e010000019db5beda08012d78420005ed8be8000d003f31..."} 
[2026-04-22 20:43:41] local.INFO: Processing buffer {"connection_id":51005,"buffer_length":93,"buffer_hex":"00000000000000518e010000019db5beda08012d78420005ed8be8000d003f31..."} 
[2026-04-22 20:43:41] local.INFO: Packet analysis {"connection_id":51005,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019db5be"} 
[2026-04-22 20:43:41] local.INFO: Extracted packet for processing {"connection_id":51005,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019db5be"} 
[2026-04-22 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":762855936,"raw_latitude":99453928,"longitude_deg":76.2855936,"latitude_deg":9.9453928,"altitude":13,"angle":63,"satellites":49,"speed":23,"hex_longitude":"2d784200","hex_latitude":"05ed8be8","is_valid_coordinates":true} 
[2026-04-22 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-04-22 20:43:41] 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-22 20:43:41] 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-22 20:43:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-22 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51005,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-22 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51005,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-22 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51005,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-22 20:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-22 20:43:41] local.WARNING: DEBUG: No valid data to process  
[2026-04-22 20:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":51005,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-22 20:43:41] local.ERROR: GPS data processing failed {"connection_id":51005,"error":"No valid data to process"} 
[2026-04-22 20:43:41] local.INFO: Acknowledgment sent {"connection_id":51005,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-22 20:44:07] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:44:07] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:44:07] local.INFO: Packet analysis {"connection_id":51004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:44:07] local.INFO: Extracted packet for processing {"connection_id":51004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20: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-22 20:44:07] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:44:07] 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-22 20:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:44:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":51004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:44:07] local.INFO: GPS data processed {"connection_id":51004,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:44:07] local.INFO: Acknowledgment sent {"connection_id":51004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:44:15] local.INFO: TCP Data received {"connection_id":50614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:44:15] local.INFO: Processing buffer {"connection_id":50614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:44:15] local.INFO: IMEI packet received {"connection_id":50614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":50614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:44:25] local.INFO: TCP Data received {"connection_id":50615,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:44:25] local.INFO: Processing buffer {"connection_id":50615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:44:25] local.INFO: IMEI packet received {"connection_id":50615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":50615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:44:32] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:44:32] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:44:32] local.INFO: IMEI packet received {"connection_id":51006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":51006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:44:35] local.INFO: TCP Data received {"connection_id":50615,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:44:35] local.INFO: Processing buffer {"connection_id":50615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:44:35] local.INFO: IMEI packet received {"connection_id":50615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":50615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:44:37] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:44:37] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:44:37] local.INFO: IMEI packet received {"connection_id":51006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":51006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:44:38] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:44:38] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:44:38] local.INFO: Packet analysis {"connection_id":51006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:44:38] local.INFO: Extracted packet for processing {"connection_id":51006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44: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-22 20:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:44:38] 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-22 20:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:44: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-22 20:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:44:38] 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-22 20:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:44:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":51006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:44:38] local.INFO: GPS data processed {"connection_id":51006,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:44:38] local.INFO: Acknowledgment sent {"connection_id":51006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:44:42] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:44:42] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:44:42] local.INFO: Packet analysis {"connection_id":51006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:44:42] local.INFO: Extracted packet for processing {"connection_id":51006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44: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-22 20:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:44:42] 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-22 20:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:44:42] 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-22 20:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:44:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":51006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:44:42] local.INFO: GPS data processed {"connection_id":51006,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:44:42] local.INFO: Acknowledgment sent {"connection_id":51006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:44:48] local.INFO: TCP Data received {"connection_id":50615,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5bf14a0012d78640005ed9ca80010003f31..."} 
[2026-04-22 20:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5bf14a0012d78640005ed9ca80010003f31..."} 
[2026-04-22 20:44:48] local.INFO: Processing buffer {"connection_id":50615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5bf14a0012d78640005ed9ca80010003f31..."} 
[2026-04-22 20:44:48] local.INFO: Packet analysis {"connection_id":50615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5bf"} 
[2026-04-22 20:44:48] local.INFO: Extracted packet for processing {"connection_id":50615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5bf"} 
[2026-04-22 20:44:48] local.INFO: GPS Element Parsed {"raw_longitude":762864640,"raw_latitude":99458216,"longitude_deg":76.286464,"latitude_deg":9.9458216,"altitude":16,"angle":63,"satellites":49,"speed":27,"hex_longitude":"2d786400","hex_latitude":"05ed9ca8","is_valid_coordinates":true} 
[2026-04-22 20:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878893312001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278709232520396800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8665488658474461184,"note":"Value kept but may cause issues"} 
[2026-04-22 20:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776870692000,"timestamp_ms":1776870692000,"timestamp_seconds":1776870692,"priority":1,"record_length":96,"hex_timestamp":"0000019db5bf14a0"} 
[2026-04-22 20:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 20:44:48] 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-22 20:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":50615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":50615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":50615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:44:48] 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-22 20:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878893312001,"66":27463,"129":206,"87":13824,"24":27,"16":278709232520396800,"45":8665488658474461184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-04-22 20:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878893312001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:44:48] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-22 20:44:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278709232520396800,"km_value":278709232520396.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8665488658474461184,"description":"Unknown IO ID 45"} 
[2026-04-22 20:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878893312001,"power":27463,"unknown_129":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8665488658474461184}} 
[2026-04-22 20:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":50615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:44:48] local.INFO: GPS data processed {"connection_id":50615,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:44:48] local.INFO: Acknowledgment sent {"connection_id":50615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:44:50] local.INFO: TCP Data received {"connection_id":50616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:44:50] local.INFO: Processing buffer {"connection_id":50616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:44:50] local.INFO: IMEI packet received {"connection_id":50616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":50616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:45:27] local.INFO: TCP Data received {"connection_id":51572,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:45:27] local.INFO: Processing buffer {"connection_id":51572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:45:27] local.INFO: IMEI packet received {"connection_id":51572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":51572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:45:32] local.INFO: TCP Data received {"connection_id":51572,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:45:32] local.INFO: Processing buffer {"connection_id":51572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:45:32] local.INFO: IMEI packet received {"connection_id":51572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":51572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:45:33] local.INFO: TCP Data received {"connection_id":51572,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:45:33] local.INFO: Processing buffer {"connection_id":51572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:45:33] local.INFO: Packet analysis {"connection_id":51572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:45:33] local.INFO: Extracted packet for processing {"connection_id":51572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:45: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-22 20:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:45:33] 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-22 20:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:45:33] 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-22 20:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:45:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":51572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:45:33] local.INFO: GPS data processed {"connection_id":51572,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:45:33] local.INFO: Acknowledgment sent {"connection_id":51572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:45:35] local.INFO: TCP Data received {"connection_id":50900,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:45:35] local.INFO: Processing buffer {"connection_id":50900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:45:35] local.INFO: IMEI packet received {"connection_id":50900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":50900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:45:38] local.INFO: TCP Data received {"connection_id":50900,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:45:38] local.INFO: Processing buffer {"connection_id":50900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:45:38] local.INFO: IMEI packet received {"connection_id":50900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":50900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:45:40] local.INFO: TCP Data received {"connection_id":50900,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:45:40] local.INFO: Processing buffer {"connection_id":50900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:45:40] local.INFO: IMEI packet received {"connection_id":50900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":50900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:45:41] local.INFO: TCP Data received {"connection_id":50900,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c17218012d79680005eea5800009015b28..."} 
[2026-04-22 20:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c17218012d79680005eea5800009015b28..."} 
[2026-04-22 20:45:41] local.INFO: Processing buffer {"connection_id":50900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c17218012d79680005eea5800009015b28..."} 
[2026-04-22 20:45:41] local.INFO: Packet analysis {"connection_id":50900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c1"} 
[2026-04-22 20:45:41] local.INFO: Extracted packet for processing {"connection_id":50900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c1"} 
[2026-04-22 20:45:41] local.INFO: GPS Element Parsed {"raw_longitude":762931200,"raw_latitude":99526016,"longitude_deg":76.29312,"latitude_deg":9.9526016,"altitude":9,"angle":347,"satellites":40,"speed":35,"hex_longitude":"2d796800","hex_latitude":"05eea580","is_valid_coordinates":true} 
[2026-04-22 20:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878935552001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278714128783114240,"note":"Value kept but may cause issues"} 
[2026-04-22 20:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8749016357830608896,"note":"Value kept but may cause issues"} 
[2026-04-22 20:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776870847000,"timestamp_ms":1776870847000,"timestamp_seconds":1776870847,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c17218"} 
[2026-04-22 20:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:45: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-22 20:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 20:45:41] 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-22 20:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:45:41] 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-22 20:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878935552001,"66":27463,"244":206,"87":13824,"24":35,"16":278714128783114240,"45":8749016357830608896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-04-22 20:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878935552001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:45:41] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-22 20:45:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-22 20:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278714128783114240,"km_value":278714128783114.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8749016357830608896,"description":"Unknown IO ID 45"} 
[2026-04-22 20:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878935552001,"power":27463,"unknown_244":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8749016357830608896}} 
[2026-04-22 20:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":50900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:45:41] local.INFO: GPS data processed {"connection_id":50900,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:45:41] local.INFO: Acknowledgment sent {"connection_id":50900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:46:04] local.INFO: TCP Data received {"connection_id":51572,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:46:04] local.INFO: Processing buffer {"connection_id":51572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:46:04] local.INFO: Packet analysis {"connection_id":51572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:46:04] local.INFO: Extracted packet for processing {"connection_id":51572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:46: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-22 20:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20: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-22 20:46:04] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:46:04] 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-22 20:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:46:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":51572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:46:04] local.INFO: GPS data processed {"connection_id":51572,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:46:04] local.INFO: Acknowledgment sent {"connection_id":51572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:46:27] local.INFO: TCP Data received {"connection_id":50617,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:46:27] local.INFO: Processing buffer {"connection_id":50617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:46:27] local.INFO: IMEI packet received {"connection_id":50617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":50617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:46:32] local.INFO: TCP Data received {"connection_id":50617,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:46:32] local.INFO: Processing buffer {"connection_id":50617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:46:32] local.INFO: IMEI packet received {"connection_id":50617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":50617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:46:33] local.INFO: TCP Data received {"connection_id":50617,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:46:33] local.INFO: Processing buffer {"connection_id":50617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:46:33] local.INFO: Packet analysis {"connection_id":50617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:46:33] local.INFO: Extracted packet for processing {"connection_id":50617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:46: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-22 20:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20: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-22 20:46:33] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:46:33] 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-22 20:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:46:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":50617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:46:33] local.INFO: GPS data processed {"connection_id":50617,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:46:33] local.INFO: Acknowledgment sent {"connection_id":50617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:46:35] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:46:35] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:46:35] local.INFO: IMEI packet received {"connection_id":50901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":50901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:46:35] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:46:35] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:46:35] local.INFO: IMEI packet received {"connection_id":50901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":50901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:46:41] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:46:41] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:46:41] local.INFO: IMEI packet received {"connection_id":50901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":50901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:46:42] local.INFO: TCP Data received {"connection_id":50901,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c26448012d78e44005ef5ee8000801432d..."} 
[2026-04-22 20:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c26448012d78e44005ef5ee8000801432d..."} 
[2026-04-22 20:46:42] local.INFO: Processing buffer {"connection_id":50901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c26448012d78e44005ef5ee8000801432d..."} 
[2026-04-22 20:46:42] local.INFO: Packet analysis {"connection_id":50901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c2"} 
[2026-04-22 20:46:42] local.INFO: Extracted packet for processing {"connection_id":50901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c2"} 
[2026-04-22 20:46:42] local.INFO: GPS Element Parsed {"raw_longitude":762897472,"raw_latitude":99573480,"longitude_deg":76.2897472,"latitude_deg":9.957348,"altitude":8,"angle":323,"satellites":45,"speed":30,"hex_longitude":"2d78e440","hex_latitude":"05ef5ee8","is_valid_coordinates":true} 
[2026-04-22 20:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878952192001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278717143850156032,"note":"Value kept but may cause issues"} 
[2026-04-22 20:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712424610871289856,"note":"Value kept but may cause issues"} 
[2026-04-22 20:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776870909000,"timestamp_ms":1776870909000,"timestamp_seconds":1776870909,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c26448"} 
[2026-04-22 20:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 20:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:46:42] 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-22 20:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878952192001,"66":27397,"79":206,"87":11776,"24":30,"16":278717143850156032,"45":8712424610871289856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,87,24,16,45]} 
[2026-04-22 20:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878952192001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:46:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-22 20:46:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278717143850156032,"km_value":278717143850156.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712424610871289856,"description":"Unknown IO ID 45"} 
[2026-04-22 20:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878952192001,"power":27397,"unknown_79":206,"unknown_87":11776,"ignition":30,"odometer":null,"unknown_45":8712424610871289856}} 
[2026-04-22 20:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":50901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:46:42] local.INFO: GPS data processed {"connection_id":50901,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:46:42] local.INFO: Acknowledgment sent {"connection_id":50901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:47:04] local.INFO: TCP Data received {"connection_id":50617,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:47:04] local.INFO: Processing buffer {"connection_id":50617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:47:04] local.INFO: Packet analysis {"connection_id":50617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:47:04] local.INFO: Extracted packet for processing {"connection_id":50617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47: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-22 20:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20: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-22 20:47:04] 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-22 20:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:47:04] 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-22 20:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:47:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":50617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:47:05] local.INFO: GPS data processed {"connection_id":50617,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:47:05] local.INFO: Acknowledgment sent {"connection_id":50617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:47:26] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:47:26] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:47:26] local.INFO: IMEI packet received {"connection_id":50618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":50618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:47:27] local.INFO: TCP Data received {"connection_id":51008,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:47:27] local.INFO: Processing buffer {"connection_id":51008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:47:27] local.INFO: IMEI packet received {"connection_id":51008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":51008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:47:30] local.INFO: TCP Data received {"connection_id":51008,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:47:30] local.INFO: Processing buffer {"connection_id":51008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:47:30] local.INFO: IMEI packet received {"connection_id":51008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":51008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:47:32] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:47:32] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:47:32] local.INFO: IMEI packet received {"connection_id":50618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":50618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:47:37] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:47:37] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:47:37] local.INFO: Packet analysis {"connection_id":50618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:47:37] local.INFO: Extracted packet for processing {"connection_id":50618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20: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-22 20:47:37] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:47:37] 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-22 20:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:47:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":50618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:47:37] local.INFO: GPS data processed {"connection_id":50618,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:47:37] local.INFO: Acknowledgment sent {"connection_id":50618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:47:50] local.INFO: TCP Data received {"connection_id":51008,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:47:50] local.INFO: Processing buffer {"connection_id":51008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:47:50] local.INFO: IMEI packet received {"connection_id":51008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":51008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:47:54] local.INFO: TCP Data received {"connection_id":51008,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c273e8012d78df0005ef69000008014e2b..."} 
[2026-04-22 20:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c273e8012d78df0005ef69000008014e2b..."} 
[2026-04-22 20:47:54] local.INFO: Processing buffer {"connection_id":51008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c273e8012d78df0005ef69000008014e2b..."} 
[2026-04-22 20:47:54] local.INFO: Packet analysis {"connection_id":51008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c2"} 
[2026-04-22 20:47:54] local.INFO: Extracted packet for processing {"connection_id":51008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c2"} 
[2026-04-22 20:47:54] local.INFO: GPS Element Parsed {"raw_longitude":762896128,"raw_latitude":99576064,"longitude_deg":76.2896128,"latitude_deg":9.9576064,"altitude":8,"angle":334,"satellites":43,"speed":27,"hex_longitude":"2d78df00","hex_latitude":"05ef6900","is_valid_coordinates":true} 
[2026-04-22 20:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878952704001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278717281289109504,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711157973476370432,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776870913000,"timestamp_ms":1776870913000,"timestamp_seconds":1776870913,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c273e8"} 
[2026-04-22 20:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-22 20:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":51008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":51008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":51008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878952704001,"66":27343,"79":206,"87":11776,"24":27,"16":278717281289109504,"45":8711157973476370432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,87,24,16,45]} 
[2026-04-22 20:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878952704001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:47:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-22 20:47:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278717281289109504,"km_value":278717281289109.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711157973476370432,"description":"Unknown IO ID 45"} 
[2026-04-22 20:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878952704001,"power":27343,"unknown_79":206,"unknown_87":11776,"ignition":27,"odometer":null,"unknown_45":8711157973476370432}} 
[2026-04-22 20:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":51008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:47:54] local.INFO: GPS data processed {"connection_id":51008,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:47:54] local.INFO: Acknowledgment sent {"connection_id":51008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:47:58] local.INFO: TCP Data received {"connection_id":51008,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c29710012d78d78005ef7e58000a01592b..."} 
[2026-04-22 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c29710012d78d78005ef7e58000a01592b..."} 
[2026-04-22 20:47:58] local.INFO: Processing buffer {"connection_id":51008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c29710012d78d78005ef7e58000a01592b..."} 
[2026-04-22 20:47:58] local.INFO: Packet analysis {"connection_id":51008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c2"} 
[2026-04-22 20:47:58] local.INFO: Extracted packet for processing {"connection_id":51008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c2"} 
[2026-04-22 20:47:58] local.INFO: GPS Element Parsed {"raw_longitude":762894208,"raw_latitude":99581528,"longitude_deg":76.2894208,"latitude_deg":9.9581528,"altitude":10,"angle":345,"satellites":43,"speed":25,"hex_longitude":"2d78d780","hex_latitude":"05ef7e58","is_valid_coordinates":true} 
[2026-04-22 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-22 20:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878953728001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278717564756951040,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8709680229849300992,"note":"Value kept but may cause issues"} 
[2026-04-22 20:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776870922000,"timestamp_ms":1776870922000,"timestamp_seconds":1776870922,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c29710"} 
[2026-04-22 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-22 20:47: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-22 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:47: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-22 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-22 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-22 20:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":51008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":51008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":51008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:47: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-22 20:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878953728001,"66":27267,"62":206,"87":11776,"24":25,"16":278717564756951040,"45":8709680229849300992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,87,24,16,45]} 
[2026-04-22 20:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878953728001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:47:58] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-22 20:47:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278717564756951040,"km_value":278717564756951.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8709680229849300992,"description":"Unknown IO ID 45"} 
[2026-04-22 20:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878953728001,"power":27267,"unknown_62":206,"unknown_87":11776,"ignition":25,"odometer":null,"unknown_45":8709680229849300992}} 
[2026-04-22 20:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":51008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:47:58] local.INFO: GPS data processed {"connection_id":51008,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:47:58] local.INFO: Acknowledgment sent {"connection_id":51008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:48:09] local.INFO: TCP Data received {"connection_id":50618,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:48:09] local.INFO: Processing buffer {"connection_id":50618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c035b0012d196500071ff038003900682a..."} 
[2026-04-22 20:48:09] local.INFO: Packet analysis {"connection_id":50618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:48:09] local.INFO: Extracted packet for processing {"connection_id":50618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c0"} 
[2026-04-22 20:48:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878839040001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776870766000,"timestamp_ms":1776870766000,"timestamp_seconds":1776870766,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c035b0"} 
[2026-04-22 20: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-22 20:48:09] 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-22 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 20:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:48:09] 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-22 20:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878839040001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878839040001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:48:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:48:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878839040001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":50618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:48:09] local.INFO: GPS data processed {"connection_id":50618,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:48:09] local.INFO: Acknowledgment sent {"connection_id":50618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:48:21] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:21] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:21] local.INFO: IMEI packet received {"connection_id":51009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":51009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:48:24] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:24] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:24] local.INFO: IMEI packet received {"connection_id":51009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":51009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:48:25] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:25] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:25] local.INFO: IMEI packet received {"connection_id":51009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":51009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:48:26] local.INFO: TCP Data received {"connection_id":50619,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:48:26] local.INFO: Processing buffer {"connection_id":50619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:48:26] local.INFO: IMEI packet received {"connection_id":50619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":50619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:48:30] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:30] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:48:30] local.INFO: IMEI packet received {"connection_id":51009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":51009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:48:32] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c44c90012d788c8005f062680007014c2b..."} 
[2026-04-22 20:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c44c90012d788c8005f062680007014c2b..."} 
[2026-04-22 20:48:32] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c44c90012d788c8005f062680007014c2b..."} 
[2026-04-22 20:48:32] local.INFO: Packet analysis {"connection_id":51009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:48:32] local.INFO: Extracted packet for processing {"connection_id":51009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:48:32] local.INFO: GPS Element Parsed {"raw_longitude":762875008,"raw_latitude":99639912,"longitude_deg":76.2875008,"latitude_deg":9.9639912,"altitude":7,"angle":332,"satellites":43,"speed":4,"hex_longitude":"2d788c80","hex_latitude":"05f06268","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878980864001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278720601298829312,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8687162231728664576,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871034000,"timestamp_ms":1776871034000,"timestamp_seconds":1776871034,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c44c90"} 
[2026-04-22 20: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-22 20:48: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-22 20: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":240,"data_length":795,"current_offset":136} 
[2026-04-22 20:48: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-22 20: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-22 20: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-22 20:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878980864001,"66":27245,"59":206,"87":11776,"24":4,"16":278720601298829312,"45":8687162231728664576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-04-22 20:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878980864001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:48:32] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-22 20:48:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278720601298829312,"km_value":278720601298829.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8687162231728664576,"description":"Unknown IO ID 45"} 
[2026-04-22 20:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878980864001,"power":27245,"unknown_59":206,"unknown_87":11776,"ignition":4,"odometer":null,"unknown_45":8687162231728664576}} 
[2026-04-22 20:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":51009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:48:32] local.INFO: GPS data processed {"connection_id":51009,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:48:32] local.INFO: Acknowledgment sent {"connection_id":51009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:48:32] local.INFO: TCP Data received {"connection_id":50619,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:48:32] local.INFO: Processing buffer {"connection_id":50619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:48:32] local.INFO: IMEI packet received {"connection_id":50619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:48:33] local.INFO: TCP Data received {"connection_id":50619,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:48:33] local.INFO: Processing buffer {"connection_id":50619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:48:33] local.INFO: Packet analysis {"connection_id":50619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:48:33] local.INFO: Extracted packet for processing {"connection_id":50619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48: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-22 20:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20: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-22 20:48: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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:48:33] 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-22 20:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:48:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":50619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:48:33] local.INFO: GPS data processed {"connection_id":50619,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:48:33] local.INFO: Acknowledgment sent {"connection_id":50619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:48:34] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c492e0012d787d0005f07b900005013f2f..."} 
[2026-04-22 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c492e0012d787d0005f07b900005013f2f..."} 
[2026-04-22 20:48:34] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c492e0012d787d0005f07b900005013f2f..."} 
[2026-04-22 20:48:34] local.INFO: Packet analysis {"connection_id":51009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:48:34] local.INFO: Extracted packet for processing {"connection_id":51009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762871040,"raw_latitude":99646352,"longitude_deg":76.287104,"latitude_deg":9.9646352,"altitude":5,"angle":319,"satellites":47,"speed":28,"hex_longitude":"2d787d00","hex_latitude":"05f07b90","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878984704001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278720970666016768,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8686458544287016960,"note":"Value kept but may cause issues"} 
[2026-04-22 20:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776871052000,"timestamp_ms":1776871052000,"timestamp_seconds":1776871052,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c492e0"} 
[2026-04-22 20: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-22 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 20: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":109,"data_length":795,"current_offset":136} 
[2026-04-22 20:48:34] 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-22 20: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-22 20: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-22 20:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":51009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":51009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":51009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878984704001,"66":27343,"60":206,"87":11776,"24":28,"16":278720970666016768,"45":8686458544287016960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-04-22 20:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878984704001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:48:34] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 20:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278720970666016768,"km_value":278720970666016.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8686458544287016960,"description":"Unknown IO ID 45"} 
[2026-04-22 20:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878984704001,"power":27343,"unknown_60":206,"unknown_87":11776,"ignition":28,"odometer":null,"unknown_45":8686458544287016960}} 
[2026-04-22 20:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":51009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:48:34] local.INFO: GPS data processed {"connection_id":51009,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:48:34] local.INFO: Acknowledgment sent {"connection_id":51009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:49:04] local.INFO: TCP Data received {"connection_id":50619,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:49:04] local.INFO: Processing buffer {"connection_id":50619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:49:04] local.INFO: Packet analysis {"connection_id":50619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:04] local.INFO: Extracted packet for processing {"connection_id":50619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49: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-22 20:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20: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-22 20:49:04] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:49:04] 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-22 20:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":50619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:49:04] local.INFO: GPS data processed {"connection_id":50619,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:49:04] local.INFO: Acknowledgment sent {"connection_id":50619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:49:05] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4b608012d786a8005f094a80007014b2e..."} 
[2026-04-22 20:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4b608012d786a8005f094a80007014b2e..."} 
[2026-04-22 20:49:05] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4b608012d786a8005f094a80007014b2e..."} 
[2026-04-22 20:49:05] local.INFO: Packet analysis {"connection_id":51009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:05] local.INFO: Extracted packet for processing {"connection_id":51009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:05] local.INFO: GPS Element Parsed {"raw_longitude":762866304,"raw_latitude":99652776,"longitude_deg":76.2866304,"latitude_deg":9.9652776,"altitude":7,"angle":331,"satellites":46,"speed":40,"hex_longitude":"2d786a80","hex_latitude":"05f094a8","is_valid_coordinates":true} 
[2026-04-22 20:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878989312001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278721352918106112,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8682095682149650432,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776871061000,"timestamp_ms":1776871061000,"timestamp_seconds":1776871061,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4b608"} 
[2026-04-22 20:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:49: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-22 20:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-22 20:49: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-22 20:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":51009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":51009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":51009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878989312001,"66":27484,"60":206,"87":11776,"24":40,"16":278721352918106112,"45":8682095682149650432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-04-22 20:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878989312001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:49:05] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 20:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278721352918106112,"km_value":278721352918106.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8682095682149650432,"description":"Unknown IO ID 45"} 
[2026-04-22 20:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878989312001,"power":27484,"unknown_60":206,"unknown_87":11776,"ignition":40,"odometer":null,"unknown_45":8682095682149650432}} 
[2026-04-22 20:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":51009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:49:05] local.INFO: GPS data processed {"connection_id":51009,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:49:05] local.INFO: Acknowledgment sent {"connection_id":51009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:49:25] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:49:25] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:49:25] local.INFO: IMEI packet received {"connection_id":50620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":50620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:49:31] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:49:31] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:49:31] local.INFO: IMEI packet received {"connection_id":50620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":50620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:49:32] local.INFO: TCP Data received {"connection_id":50621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:49:32] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:49:32] local.INFO: IMEI packet received {"connection_id":50621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":50621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:49:32] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4bdd8012d7867c005f09c380007015b2b..."} 
[2026-04-22 20:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4bdd8012d7867c005f09c380007015b2b..."} 
[2026-04-22 20:49:32] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4bdd8012d7867c005f09c380007015b2b..."} 
[2026-04-22 20:49:32] local.INFO: Packet analysis {"connection_id":50620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:32] local.INFO: Extracted packet for processing {"connection_id":50620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:32] local.INFO: GPS Element Parsed {"raw_longitude":762865600,"raw_latitude":99654712,"longitude_deg":76.28656,"latitude_deg":9.9654712,"altitude":7,"angle":347,"satellites":43,"speed":40,"hex_longitude":"2d7867c0","hex_latitude":"05f09c38","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878991616001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278721451702353920,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676888395082147840,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871063000,"timestamp_ms":1776871063000,"timestamp_seconds":1776871063,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4bdd8"} 
[2026-04-22 20: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-22 20: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-22 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-22 20:49: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-22 20: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-22 20: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-22 20:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878991616001,"66":27332,"60":206,"87":11776,"24":40,"16":278721451702353920,"45":8676888395082147840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-04-22 20:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878991616001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:49:32] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 20:49:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278721451702353920,"km_value":278721451702353.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676888395082147840,"description":"Unknown IO ID 45"} 
[2026-04-22 20:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878991616001,"power":27332,"unknown_60":206,"unknown_87":11776,"ignition":40,"odometer":null,"unknown_45":8676888395082147840}} 
[2026-04-22 20:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":50620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:49:32] local.INFO: GPS data processed {"connection_id":50620,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:49:32] local.INFO: Acknowledgment sent {"connection_id":50620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:49:37] local.INFO: TCP Data received {"connection_id":50621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:49:37] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:49:37] local.INFO: IMEI packet received {"connection_id":50621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":50621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:49:38] local.INFO: TCP Data received {"connection_id":50621,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:49:38] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:49:38] local.INFO: Packet analysis {"connection_id":50621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:38] local.INFO: Extracted packet for processing {"connection_id":50621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49: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-22 20:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:49:38] 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-22 20:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:49:38] 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-22 20:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:49:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:49:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":50621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:49:38] local.INFO: GPS data processed {"connection_id":50621,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:49:38] local.INFO: Acknowledgment sent {"connection_id":50621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:49:42] local.INFO: TCP Data received {"connection_id":50621,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:49:42] local.INFO: Processing buffer {"connection_id":50621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:49:42] local.INFO: Packet analysis {"connection_id":50621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:42] local.INFO: Extracted packet for processing {"connection_id":50621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:49: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-22 20:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:49: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-22 20:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:49:42] 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-22 20:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:49:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":50621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:49:42] local.INFO: GPS data processed {"connection_id":50621,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:49:42] local.INFO: Acknowledgment sent {"connection_id":50621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:50:03] local.INFO: TCP Data received {"connection_id":50620,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4c990012d7866c005f0a7b8000701662a..."} 
[2026-04-22 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4c990012d7866c005f0a7b8000701662a..."} 
[2026-04-22 20:50:03] local.INFO: Processing buffer {"connection_id":50620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4c990012d7866c005f0a7b8000701662a..."} 
[2026-04-22 20:50:03] local.INFO: Packet analysis {"connection_id":50620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:50:03] local.INFO: Extracted packet for processing {"connection_id":50620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:50:03] local.INFO: GPS Element Parsed {"raw_longitude":762865344,"raw_latitude":99657656,"longitude_deg":76.2865344,"latitude_deg":9.9657656,"altitude":7,"angle":358,"satellites":42,"speed":37,"hex_longitude":"2d7866c0","hex_latitude":"05f0a7b8","is_valid_coordinates":true} 
[2026-04-22 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-22 20:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878992128001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278721597731241984,"note":"Value kept but may cause issues"} 
[2026-04-22 20:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8676114338896689152,"note":"Value kept but may cause issues"} 
[2026-04-22 20:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776871066000,"timestamp_ms":1776871066000,"timestamp_seconds":1776871066,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4c990"} 
[2026-04-22 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-22 20:50: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-22 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-22 20:50:03] 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-22 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-22 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-22 20:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878992128001,"66":27463,"60":206,"87":11776,"24":37,"16":278721597731241984,"45":8676114338896689152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-04-22 20:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878992128001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:50:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-22 20:50:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278721597731241984,"km_value":278721597731241.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8676114338896689152,"description":"Unknown IO ID 45"} 
[2026-04-22 20:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878992128001,"power":27463,"unknown_60":206,"unknown_87":11776,"ignition":37,"odometer":null,"unknown_45":8676114338896689152}} 
[2026-04-22 20:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":50620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:50:03] local.INFO: GPS data processed {"connection_id":50620,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:50:03] local.INFO: Acknowledgment sent {"connection_id":50620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:50:05] local.INFO: TCP Data received {"connection_id":50622,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:50:05] local.INFO: Processing buffer {"connection_id":50622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:50:05] local.INFO: IMEI packet received {"connection_id":50622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":50622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:50:25] local.INFO: TCP Data received {"connection_id":51010,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:50:25] local.INFO: Processing buffer {"connection_id":51010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:50:25] local.INFO: IMEI packet received {"connection_id":51010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":51010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:50:26] local.INFO: TCP Data received {"connection_id":51011,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:50:26] local.INFO: Processing buffer {"connection_id":51011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:50:26] local.INFO: IMEI packet received {"connection_id":51011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":51011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:50:27] local.INFO: TCP Data received {"connection_id":51010,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:50:27] local.INFO: Processing buffer {"connection_id":51010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:50:27] local.INFO: IMEI packet received {"connection_id":51010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 20:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":51010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:50:28] local.INFO: TCP Data received {"connection_id":51010,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4ecb8012d78630005f0ca380008015c26..."} 
[2026-04-22 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4ecb8012d78630005f0ca380008015c26..."} 
[2026-04-22 20:50:28] local.INFO: Processing buffer {"connection_id":51010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4ecb8012d78630005f0ca380008015c26..."} 
[2026-04-22 20:50:28] local.INFO: Packet analysis {"connection_id":51010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:50:28] local.INFO: Extracted packet for processing {"connection_id":51010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:50:28] local.INFO: GPS Element Parsed {"raw_longitude":762864384,"raw_latitude":99666488,"longitude_deg":76.2864384,"latitude_deg":9.9666488,"altitude":8,"angle":348,"satellites":38,"speed":36,"hex_longitude":"2d786300","hex_latitude":"05f0ca38","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878992896001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278722027227971584,"note":"Value kept but may cause issues"} 
[2026-04-22 20:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8675832863920732160,"note":"Value kept but may cause issues"} 
[2026-04-22 20:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776871075000,"timestamp_ms":1776871075000,"timestamp_seconds":1776871075,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4ecb8"} 
[2026-04-22 20: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-22 20:50: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-22 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-22 20:50:28] 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-22 20: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-22 20: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-22 20:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":51010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":51010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":51010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:50: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-22 20:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878992896001,"66":27332,"196":206,"87":11776,"24":36,"16":278722027227971584,"45":8675832863920732160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-04-22 20:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878992896001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:50:28] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-22 20:50:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278722027227971584,"km_value":278722027227971.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8675832863920732160,"description":"Unknown IO ID 45"} 
[2026-04-22 20:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878992896001,"power":27332,"unknown_196":206,"unknown_87":11776,"ignition":36,"odometer":null,"unknown_45":8675832863920732160}} 
[2026-04-22 20:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":51010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:50:28] local.INFO: GPS data processed {"connection_id":51010,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:50:28] local.INFO: Acknowledgment sent {"connection_id":51010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:50:32] local.INFO: TCP Data received {"connection_id":51011,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:50:32] local.INFO: Processing buffer {"connection_id":51011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:50:32] local.INFO: IMEI packet received {"connection_id":51011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":51011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:50:33] local.INFO: TCP Data received {"connection_id":51011,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:50:33] local.INFO: Processing buffer {"connection_id":51011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:50:33] local.INFO: Packet analysis {"connection_id":51011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:50:33] local.INFO: Extracted packet for processing {"connection_id":51011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:50: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-22 20:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20: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-22 20:50: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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:50:33] 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-22 20:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:50:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":51011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:50:33] local.INFO: GPS data processed {"connection_id":51011,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:50:33] local.INFO: Acknowledgment sent {"connection_id":51011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:50:50] local.INFO: TCP Data received {"connection_id":50623,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:50:50] local.INFO: Processing buffer {"connection_id":50623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:50:50] local.INFO: IMEI packet received {"connection_id":50623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":50623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:51:00] local.INFO: TCP Data received {"connection_id":51010,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c6f058012d78320005f19e48000c013421..."} 
[2026-04-22 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c6f058012d78320005f19e48000c013421..."} 
[2026-04-22 20:51:00] local.INFO: Processing buffer {"connection_id":51010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c6f058012d78320005f19e48000c013421..."} 
[2026-04-22 20:51:00] local.INFO: Packet analysis {"connection_id":51010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c6"} 
[2026-04-22 20:51:00] local.INFO: Extracted packet for processing {"connection_id":51010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c6"} 
[2026-04-22 20:51:00] local.INFO: GPS Element Parsed {"raw_longitude":762851840,"raw_latitude":99720776,"longitude_deg":76.285184,"latitude_deg":9.9720776,"altitude":12,"angle":308,"satellites":33,"speed":14,"hex_longitude":"2d783200","hex_latitude":"05f19e48","is_valid_coordinates":true} 
[2026-04-22 20:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879028224001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278724750237237248,"note":"Value kept but may cause issues"} 
[2026-04-22 20:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8661618377612716032,"note":"Value kept but may cause issues"} 
[2026-04-22 20:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776871207000,"timestamp_ms":1776871207000,"timestamp_seconds":1776871207,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c6f058"} 
[2026-04-22 20:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20: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-22 20:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-22 20:51: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-22 20:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":51010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":51010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":51010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 20:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 20:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 20:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879028224001,"66":27267,"75":206,"87":11776,"24":14,"16":278724750237237248,"45":8661618377612716032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-04-22 20:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 20:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 20:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879028224001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:51:00] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-22 20:51:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-22 20:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278724750237237248,"km_value":278724750237237.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8661618377612716032,"description":"Unknown IO ID 45"} 
[2026-04-22 20:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879028224001,"power":27267,"unknown_75":206,"unknown_87":11776,"ignition":14,"odometer":null,"unknown_45":8661618377612716032}} 
[2026-04-22 20:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":51010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:51:00] local.INFO: GPS data processed {"connection_id":51010,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:51:00] local.INFO: Acknowledgment sent {"connection_id":51010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:51:04] local.INFO: TCP Data received {"connection_id":51011,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:51:04] local.INFO: Processing buffer {"connection_id":51011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:51:04] local.INFO: Packet analysis {"connection_id":51011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:51:04] local.INFO: Extracted packet for processing {"connection_id":51011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 20:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20: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-22 20:51:04] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:51:04] 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-22 20:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":51011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:51:04] local.INFO: GPS data processed {"connection_id":51011,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:51:04] local.INFO: Acknowledgment sent {"connection_id":51011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:51:27] local.INFO: TCP Data received {"connection_id":51575,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:51:27] local.INFO: Processing buffer {"connection_id":51575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:51:27] local.INFO: IMEI packet received {"connection_id":51575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":51575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:51:32] local.INFO: TCP Data received {"connection_id":51575,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:51:32] local.INFO: Processing buffer {"connection_id":51575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:51:32] local.INFO: IMEI packet received {"connection_id":51575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":51575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:51:32] local.INFO: TCP Data received {"connection_id":51575,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:51:32] local.INFO: Processing buffer {"connection_id":51575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:51:32] local.INFO: Packet analysis {"connection_id":51575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:51:32] local.INFO: Extracted packet for processing {"connection_id":51575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:51: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-22 20:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20: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-22 20:51:32] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:51:32] 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-22 20:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:51:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":51575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:51:33] local.INFO: GPS data processed {"connection_id":51575,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:51:33] local.INFO: Acknowledgment sent {"connection_id":51575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:51:46] local.INFO: TCP Data received {"connection_id":50904,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:51:46] local.INFO: Processing buffer {"connection_id":50904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:51:46] local.INFO: IMEI packet received {"connection_id":50904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":50904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:52:04] local.INFO: TCP Data received {"connection_id":51575,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:52:04] local.INFO: Processing buffer {"connection_id":51575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:52:04] local.INFO: Packet analysis {"connection_id":51575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:52:04] local.INFO: Extracted packet for processing {"connection_id":51575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:52: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-22 20:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20: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-22 20:52:04] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:52:04] 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-22 20:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:52:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":51575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:52:04] local.INFO: GPS data processed {"connection_id":51575,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:52:04] local.INFO: Acknowledgment sent {"connection_id":51575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:52:28] local.INFO: TCP Data received {"connection_id":50625,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:52:28] local.INFO: Processing buffer {"connection_id":50625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:52:28] local.INFO: IMEI packet received {"connection_id":50625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":50625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:52:33] local.INFO: TCP Data received {"connection_id":50625,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:52:33] local.INFO: Processing buffer {"connection_id":50625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:52:33] local.INFO: IMEI packet received {"connection_id":50625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":50625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:52:34] local.INFO: TCP Data received {"connection_id":50625,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:52:34] local.INFO: Processing buffer {"connection_id":50625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:52:34] local.INFO: Packet analysis {"connection_id":50625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:52:34] local.INFO: Extracted packet for processing {"connection_id":50625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:52: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-22 20:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:52:34] 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-22 20:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":50625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":50625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":50625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:52:34] 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-22 20:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:52:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":50625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:52:34] local.INFO: GPS data processed {"connection_id":50625,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:52:34] local.INFO: Acknowledgment sent {"connection_id":50625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:53:05] local.INFO: TCP Data received {"connection_id":50625,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:53:05] local.INFO: Processing buffer {"connection_id":50625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c4cd78012d196500071ff038003900682a..."} 
[2026-04-22 20:53:05] local.INFO: Packet analysis {"connection_id":50625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:53:05] local.INFO: Extracted packet for processing {"connection_id":50625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c4"} 
[2026-04-22 20:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878916096001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:53: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-22 20:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776871067000,"timestamp_ms":1776871067000,"timestamp_seconds":1776871067,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c4cd78"} 
[2026-04-22 20:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:53:05] 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-22 20:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 20:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878916096001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878916096001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:53:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878916096001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":50625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:53:05] local.INFO: GPS data processed {"connection_id":50625,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:53:05] local.INFO: Acknowledgment sent {"connection_id":50625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:53:26] local.INFO: TCP Data received {"connection_id":51012,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:53:26] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:53:26] local.INFO: IMEI packet received {"connection_id":51012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":51012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:53:32] local.INFO: TCP Data received {"connection_id":51012,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:53:32] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:53:32] local.INFO: IMEI packet received {"connection_id":51012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":51012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:53:33] local.INFO: TCP Data received {"connection_id":51012,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:53:33] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:53:33] local.INFO: Packet analysis {"connection_id":51012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:53:33] local.INFO: Extracted packet for processing {"connection_id":51012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:53: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-22 20:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20: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-22 20:53:33] 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-22 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:53:33] 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-22 20: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-22 20: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-22 20:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:53:33] 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-22 20:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:53:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":51012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:53:33] local.INFO: GPS data processed {"connection_id":51012,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:53:33] local.INFO: Acknowledgment sent {"connection_id":51012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:54:04] local.INFO: TCP Data received {"connection_id":51012,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:54:04] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:54:04] local.INFO: Packet analysis {"connection_id":51012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:54:04] local.INFO: Extracted packet for processing {"connection_id":51012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:54: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-22 20:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20: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-22 20:54:04] 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-22 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:54:04] 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-22 20:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:54:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":51012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:54:04] local.INFO: GPS data processed {"connection_id":51012,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:54:04] local.INFO: Acknowledgment sent {"connection_id":51012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:54:27] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:54:27] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:54:27] local.INFO: IMEI packet received {"connection_id":50626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":50626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:54:32] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:54:32] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:54:32] local.INFO: IMEI packet received {"connection_id":50626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":50626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:54:33] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:54:33] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:54:33] local.INFO: Packet analysis {"connection_id":50626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:54:33] local.INFO: Extracted packet for processing {"connection_id":50626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:54: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-22 20:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20: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-22 20:54:33] 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-22 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:54:33] 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-22 20: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-22 20: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-22 20:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:54:33] 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-22 20:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:54:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":50626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:54:33] local.INFO: GPS data processed {"connection_id":50626,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:54:33] local.INFO: Acknowledgment sent {"connection_id":50626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:55:04] local.INFO: TCP Data received {"connection_id":50626,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:55:04] local.INFO: Processing buffer {"connection_id":50626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:55:04] local.INFO: Packet analysis {"connection_id":50626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:55:04] local.INFO: Extracted packet for processing {"connection_id":50626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:55: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-22 20:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:55:04] 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-22 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:55:04] 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-22 20:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":50626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:55:04] local.INFO: GPS data processed {"connection_id":50626,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:55:04] local.INFO: Acknowledgment sent {"connection_id":50626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:55:28] local.INFO: TCP Data received {"connection_id":51013,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:55:28] local.INFO: Processing buffer {"connection_id":51013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:55:28] local.INFO: IMEI packet received {"connection_id":51013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":51013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:55:32] local.INFO: TCP Data received {"connection_id":51013,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:55:32] local.INFO: Processing buffer {"connection_id":51013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:55:32] local.INFO: IMEI packet received {"connection_id":51013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":51013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:55:32] local.INFO: TCP Data received {"connection_id":51013,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:55:32] local.INFO: Processing buffer {"connection_id":51013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:55:32] local.INFO: Packet analysis {"connection_id":51013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:55:32] local.INFO: Extracted packet for processing {"connection_id":51013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:55: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-22 20:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20: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-22 20:55:32] 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-22 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:55:32] 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-22 20: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-22 20: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-22 20:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:55:32] 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-22 20:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:55:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":51013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:55:33] local.INFO: GPS data processed {"connection_id":51013,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:55:33] local.INFO: Acknowledgment sent {"connection_id":51013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:56:04] local.INFO: TCP Data received {"connection_id":51013,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:56:04] local.INFO: Processing buffer {"connection_id":51013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:56:04] local.INFO: Packet analysis {"connection_id":51013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:56:04] local.INFO: Extracted packet for processing {"connection_id":51013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:56: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-22 20:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20: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-22 20:56:04] 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-22 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:56:04] 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-22 20:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:56:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":51013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:56:04] local.INFO: GPS data processed {"connection_id":51013,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:56:04] local.INFO: Acknowledgment sent {"connection_id":51013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:56:05] local.INFO: TCP Data received {"connection_id":50627,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:56:05] local.INFO: Processing buffer {"connection_id":50627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:56:05] local.INFO: IMEI packet received {"connection_id":50627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":50627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:56:26] local.INFO: TCP Data received {"connection_id":50628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:56:26] local.INFO: Processing buffer {"connection_id":50628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:56:26] local.INFO: IMEI packet received {"connection_id":50628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":50628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:56:32] local.INFO: TCP Data received {"connection_id":50628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:56:32] local.INFO: Processing buffer {"connection_id":50628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:56:32] local.INFO: IMEI packet received {"connection_id":50628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":50628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:56:32] local.INFO: TCP Data received {"connection_id":50628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:56:32] local.INFO: Processing buffer {"connection_id":50628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:56:32] local.INFO: Packet analysis {"connection_id":50628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:56:32] local.INFO: Extracted packet for processing {"connection_id":50628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:56: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-22 20:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20: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-22 20:56:32] 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-22 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:56:32] 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-22 20: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-22 20: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-22 20:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:56:32] 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-22 20:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:56:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":50628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:56:33] local.INFO: GPS data processed {"connection_id":50628,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:56:33] local.INFO: Acknowledgment sent {"connection_id":50628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:56:50] local.INFO: TCP Data received {"connection_id":50629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:56:50] local.INFO: Processing buffer {"connection_id":50629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 20:56:50] local.INFO: IMEI packet received {"connection_id":50629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 20:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":50629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:57:04] local.INFO: TCP Data received {"connection_id":50628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:57:04] local.INFO: Processing buffer {"connection_id":50628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:57:04] local.INFO: Packet analysis {"connection_id":50628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:57:04] local.INFO: Extracted packet for processing {"connection_id":50628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:57: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-22 20:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:57:04] 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-22 20:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:57:04] 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-22 20:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":50628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:57:04] local.INFO: GPS data processed {"connection_id":50628,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:57:04] local.INFO: Acknowledgment sent {"connection_id":50628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:57:26] local.INFO: TCP Data received {"connection_id":50630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:57:26] local.INFO: Processing buffer {"connection_id":50630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:57:26] local.INFO: IMEI packet received {"connection_id":50630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":50630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:57:32] local.INFO: TCP Data received {"connection_id":50630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:57:32] local.INFO: Processing buffer {"connection_id":50630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:57:32] local.INFO: IMEI packet received {"connection_id":50630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":50630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:57:33] local.INFO: TCP Data received {"connection_id":50630,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:57:33] local.INFO: Processing buffer {"connection_id":50630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:57:33] local.INFO: Packet analysis {"connection_id":50630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:57:33] local.INFO: Extracted packet for processing {"connection_id":50630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:57: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-22 20:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:57:33] 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-22 20:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:57:33] 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-22 20:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:57:33] 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-22 20:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:57:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:57:33] local.INFO: GPS data processed {"connection_id":50630,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:57:33] local.INFO: Acknowledgment sent {"connection_id":50630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:58:04] local.INFO: TCP Data received {"connection_id":50630,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:58:04] local.INFO: Processing buffer {"connection_id":50630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c96540012d196500071ff038003900682a..."} 
[2026-04-22 20:58:04] local.INFO: Packet analysis {"connection_id":50630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:58:04] local.INFO: Extracted packet for processing {"connection_id":50630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 20:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454878993152001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:58: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-22 20:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871368000,"timestamp_ms":1776871368000,"timestamp_seconds":1776871368,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c96540"} 
[2026-04-22 20:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:58:04] 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-22 20:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 20:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:58:04] 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-22 20:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454878993152001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454878993152001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454878993152001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":50630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:58:04] local.INFO: GPS data processed {"connection_id":50630,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:58:04] local.INFO: Acknowledgment sent {"connection_id":50630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:58:26] local.INFO: TCP Data received {"connection_id":50907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:58:26] local.INFO: Processing buffer {"connection_id":50907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:58:26] local.INFO: IMEI packet received {"connection_id":50907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":50907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:58:27] local.INFO: TCP Data received {"connection_id":50907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:58:27] local.INFO: Processing buffer {"connection_id":50907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:58:27] local.INFO: IMEI packet received {"connection_id":50907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":50907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:58:32] local.INFO: TCP Data received {"connection_id":50907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:58:32] local.INFO: Processing buffer {"connection_id":50907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:58:32] local.INFO: IMEI packet received {"connection_id":50907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:58:33] local.INFO: TCP Data received {"connection_id":50907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 20:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 20:58:33] local.INFO: Processing buffer {"connection_id":50907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 20:58:33] local.INFO: Packet analysis {"connection_id":50907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 20:58:33] local.INFO: Extracted packet for processing {"connection_id":50907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 20:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879070208001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:58: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-22 20:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776871669000,"timestamp_ms":1776871669000,"timestamp_seconds":1776871669,"priority":1,"record_length":96,"hex_timestamp":"0000019db5cdfd08"} 
[2026-04-22 20: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-22 20:58:33] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20: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-22 20: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-22 20:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:58:33] 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-22 20:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879070208001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879070208001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:58:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879070208001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:58:33] local.INFO: GPS data processed {"connection_id":50907,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:58:33] local.INFO: Acknowledgment sent {"connection_id":50907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:59:04] local.INFO: TCP Data received {"connection_id":50907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 20:59:04] local.INFO: Processing buffer {"connection_id":50907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 20:59:04] local.INFO: Packet analysis {"connection_id":50907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 20:59:04] local.INFO: Extracted packet for processing {"connection_id":50907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 20:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879070208001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:59: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-22 20:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871669000,"timestamp_ms":1776871669000,"timestamp_seconds":1776871669,"priority":1,"record_length":96,"hex_timestamp":"0000019db5cdfd08"} 
[2026-04-22 20:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 20:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 20:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 20:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 20:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 20:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:59:04] 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-22 20:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879070208001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879070208001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879070208001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":50907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:59:05] local.INFO: GPS data processed {"connection_id":50907,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:59:05] local.INFO: Acknowledgment sent {"connection_id":50907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 20:59:25] local.INFO: TCP Data received {"connection_id":50632,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:59:25] local.INFO: Processing buffer {"connection_id":50632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 20:59:25] local.INFO: IMEI packet received {"connection_id":50632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 20:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":50632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:59:26] local.INFO: TCP Data received {"connection_id":51579,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:59:26] local.INFO: Processing buffer {"connection_id":51579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:59:26] local.INFO: IMEI packet received {"connection_id":51579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 20:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":51579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 20:59:32] local.INFO: TCP Data received {"connection_id":51579,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:59:32] local.INFO: Processing buffer {"connection_id":51579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 20:59:32] local.INFO: IMEI packet received {"connection_id":51579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 20:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":51579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 20:59:32] local.INFO: TCP Data received {"connection_id":51579,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 20:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 20:59:32] local.INFO: Processing buffer {"connection_id":51579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 20:59:32] local.INFO: Packet analysis {"connection_id":51579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 20:59:32] local.INFO: Extracted packet for processing {"connection_id":51579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 20:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 20: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-22 20:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879070208001,"note":"Value kept but may cause issues"} 
[2026-04-22 20:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 20:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 20:59: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-22 20:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871669000,"timestamp_ms":1776871669000,"timestamp_seconds":1776871669,"priority":1,"record_length":96,"hex_timestamp":"0000019db5cdfd08"} 
[2026-04-22 20: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-22 20:59:32] 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-22 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 20:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 20: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-22 20: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-22 20:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 20:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 20:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 20:59:32] 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-22 20:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 20:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 20:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879070208001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 20:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 20:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 20:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879070208001,"description":"Unknown IO ID 0"} 
[2026-04-22 20:59:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 20:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 20:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 20:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 20:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879070208001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 20:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":51579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 20:59:33] local.INFO: GPS data processed {"connection_id":51579,"processed":1,"errors":0,"total":1} 
[2026-04-22 20:59:33] local.INFO: Acknowledgment sent {"connection_id":51579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:00:04] local.INFO: TCP Data received {"connection_id":51579,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:00:04] local.INFO: Processing buffer {"connection_id":51579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:00:04] local.INFO: Packet analysis {"connection_id":51579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:00:04] local.INFO: Extracted packet for processing {"connection_id":51579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879070208001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:00: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-22 21:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871669000,"timestamp_ms":1776871669000,"timestamp_seconds":1776871669,"priority":1,"record_length":96,"hex_timestamp":"0000019db5cdfd08"} 
[2026-04-22 21: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-22 21:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:00:04] 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-22 21:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879070208001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879070208001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:00:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:00:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879070208001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":51579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:00:04] local.INFO: GPS data processed {"connection_id":51579,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:00:04] local.INFO: Acknowledgment sent {"connection_id":51579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:00:26] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:00:26] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:00:26] local.INFO: IMEI packet received {"connection_id":51014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":51014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:00:32] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:00:32] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:00:32] local.INFO: IMEI packet received {"connection_id":51014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":51014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:00:32] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:00:32] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:00:32] local.INFO: Packet analysis {"connection_id":51014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:00:32] local.INFO: Extracted packet for processing {"connection_id":51014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879070208001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:00: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-22 21:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871669000,"timestamp_ms":1776871669000,"timestamp_seconds":1776871669,"priority":1,"record_length":96,"hex_timestamp":"0000019db5cdfd08"} 
[2026-04-22 21: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-22 21:00:32] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:00:32] 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-22 21:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879070208001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879070208001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:00:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879070208001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":51014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:00:32] local.INFO: GPS data processed {"connection_id":51014,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:00:32] local.INFO: Acknowledgment sent {"connection_id":51014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:01:03] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:01:03] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:01:03] local.INFO: Packet analysis {"connection_id":51014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:01:03] local.INFO: Extracted packet for processing {"connection_id":51014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879070208001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:01: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-22 21:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776871669000,"timestamp_ms":1776871669000,"timestamp_seconds":1776871669,"priority":1,"record_length":96,"hex_timestamp":"0000019db5cdfd08"} 
[2026-04-22 21:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:01:03] 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-22 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:01:03] 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-22 21:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879070208001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879070208001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:01:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879070208001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":51014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:01:04] local.INFO: GPS data processed {"connection_id":51014,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:01:04] local.INFO: Acknowledgment sent {"connection_id":51014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:01:31] local.INFO: TCP Data received {"connection_id":50910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:01:31] local.INFO: Processing buffer {"connection_id":50910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:01:31] local.INFO: IMEI packet received {"connection_id":50910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:01:46] local.INFO: TCP Data received {"connection_id":50910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:01:46] local.INFO: Processing buffer {"connection_id":50910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:01:46] local.INFO: IMEI packet received {"connection_id":50910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":50910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:01:47] local.INFO: TCP Data received {"connection_id":50910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:01:47] local.INFO: Processing buffer {"connection_id":50910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:01:47] local.INFO: Packet analysis {"connection_id":50910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:01:47] local.INFO: Extracted packet for processing {"connection_id":50910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879070208001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:01: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-22 21:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776871669000,"timestamp_ms":1776871669000,"timestamp_seconds":1776871669,"priority":1,"record_length":96,"hex_timestamp":"0000019db5cdfd08"} 
[2026-04-22 21: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-22 21:01:47] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:01: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-22 21: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-22 21: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-22 21:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:01: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-22 21:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879070208001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879070208001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:01:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879070208001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":50910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:01:47] local.INFO: GPS data processed {"connection_id":50910,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:01:47] local.INFO: Acknowledgment sent {"connection_id":50910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:02:15] local.INFO: TCP Data received {"connection_id":50911,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:02:15] local.INFO: Processing buffer {"connection_id":50911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:02:15] local.INFO: IMEI packet received {"connection_id":50911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":50911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:02:27] local.INFO: TCP Data received {"connection_id":50633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:02:27] local.INFO: Processing buffer {"connection_id":50633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:02:27] local.INFO: IMEI packet received {"connection_id":50633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":50633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:02:32] local.INFO: TCP Data received {"connection_id":50633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:02:32] local.INFO: Processing buffer {"connection_id":50633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:02:32] local.INFO: IMEI packet received {"connection_id":50633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:02:33] local.INFO: TCP Data received {"connection_id":50633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:02:33] local.INFO: Processing buffer {"connection_id":50633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:02:33] local.INFO: Packet analysis {"connection_id":50633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:02:33] local.INFO: Extracted packet for processing {"connection_id":50633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879070208001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:02: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-22 21:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776871669000,"timestamp_ms":1776871669000,"timestamp_seconds":1776871669,"priority":1,"record_length":96,"hex_timestamp":"0000019db5cdfd08"} 
[2026-04-22 21: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-22 21:02:33] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:02:33] 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-22 21:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879070208001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879070208001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:02:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879070208001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":50633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:02:33] local.INFO: GPS data processed {"connection_id":50633,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:02:33] local.INFO: Acknowledgment sent {"connection_id":50633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:02:50] local.INFO: TCP Data received {"connection_id":50912,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:02:50] local.INFO: Processing buffer {"connection_id":50912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:02:50] local.INFO: IMEI packet received {"connection_id":50912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":50912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:03:04] local.INFO: TCP Data received {"connection_id":50633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:03:04] local.INFO: Processing buffer {"connection_id":50633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5cdfd08012d196500071ff0380039006829..."} 
[2026-04-22 21:03:04] local.INFO: Packet analysis {"connection_id":50633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:03:04] local.INFO: Extracted packet for processing {"connection_id":50633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5cd"} 
[2026-04-22 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879070208001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:03: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-22 21:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871669000,"timestamp_ms":1776871669000,"timestamp_seconds":1776871669,"priority":1,"record_length":96,"hex_timestamp":"0000019db5cdfd08"} 
[2026-04-22 21:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:03:04] 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-22 21:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879070208001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879070208001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879070208001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:03:04] local.INFO: GPS data processed {"connection_id":50633,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:03:04] local.INFO: Acknowledgment sent {"connection_id":50633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:03:26] local.INFO: TCP Data received {"connection_id":51015,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:03:26] local.INFO: Processing buffer {"connection_id":51015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:03:26] local.INFO: IMEI packet received {"connection_id":51015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":51015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:03:28] local.INFO: TCP Data received {"connection_id":51015,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:03:28] local.INFO: Processing buffer {"connection_id":51015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:03:28] local.INFO: IMEI packet received {"connection_id":51015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":51015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:03:32] local.INFO: TCP Data received {"connection_id":51015,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:03:32] local.INFO: Processing buffer {"connection_id":51015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:03:32] local.INFO: IMEI packet received {"connection_id":51015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":51015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:03:33] local.INFO: TCP Data received {"connection_id":51015,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:03:33] local.INFO: Processing buffer {"connection_id":51015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:03:33] local.INFO: Packet analysis {"connection_id":51015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:03:33] local.INFO: Extracted packet for processing {"connection_id":51015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:03: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-22 21:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21: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-22 21:03:33] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:03:33] 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-22 21:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:03:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":51015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:03:33] local.INFO: GPS data processed {"connection_id":51015,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:03:33] local.INFO: Acknowledgment sent {"connection_id":51015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:04:04] local.INFO: TCP Data received {"connection_id":51015,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:04:04] local.INFO: Processing buffer {"connection_id":51015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:04:04] local.INFO: Packet analysis {"connection_id":51015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:04:04] local.INFO: Extracted packet for processing {"connection_id":51015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:04: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-22 21:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21: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-22 21:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:04:04] 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-22 21:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:04:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":51015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:04:04] local.INFO: GPS data processed {"connection_id":51015,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:04:04] local.INFO: Acknowledgment sent {"connection_id":51015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:04:26] local.INFO: TCP Data received {"connection_id":50914,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:04:26] local.INFO: Processing buffer {"connection_id":50914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:04:26] local.INFO: IMEI packet received {"connection_id":50914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":50914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:04:32] local.INFO: TCP Data received {"connection_id":50914,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:04:32] local.INFO: Processing buffer {"connection_id":50914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:04:32] local.INFO: IMEI packet received {"connection_id":50914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":50914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:04:32] local.INFO: TCP Data received {"connection_id":50914,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:04:32] local.INFO: Processing buffer {"connection_id":50914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:04:32] local.INFO: Packet analysis {"connection_id":50914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:04:32] local.INFO: Extracted packet for processing {"connection_id":50914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:04: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-22 21:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21: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-22 21:04:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:04:32] 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-22 21:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:04:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":50914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:04:33] local.INFO: GPS data processed {"connection_id":50914,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:04:33] local.INFO: Acknowledgment sent {"connection_id":50914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:05:04] local.INFO: TCP Data received {"connection_id":50914,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:05:04] local.INFO: Processing buffer {"connection_id":50914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:05:04] local.INFO: Packet analysis {"connection_id":50914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:05:04] local.INFO: Extracted packet for processing {"connection_id":50914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:05: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-22 21:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:05:04] 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-22 21:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:05:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":50914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:05:04] local.INFO: GPS data processed {"connection_id":50914,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:05:04] local.INFO: Acknowledgment sent {"connection_id":50914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:05:27] local.INFO: TCP Data received {"connection_id":51017,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:05:27] local.INFO: Processing buffer {"connection_id":51017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:05:27] local.INFO: IMEI packet received {"connection_id":51017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":51017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:05:30] local.INFO: TCP Data received {"connection_id":51017,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:05:30] local.INFO: Processing buffer {"connection_id":51017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:05:30] local.INFO: IMEI packet received {"connection_id":51017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":51017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:05:31] local.INFO: TCP Data received {"connection_id":51018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:05:31] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:05:31] local.INFO: IMEI packet received {"connection_id":51018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":51018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:05:35] local.INFO: TCP Data received {"connection_id":51017,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:05:35] local.INFO: Processing buffer {"connection_id":51017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:05:35] local.INFO: IMEI packet received {"connection_id":51017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":51017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:05:36] local.INFO: TCP Data received {"connection_id":51017,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c90780012d77aa8005f268100009016329..."} 
[2026-04-22 21:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c90780012d77aa8005f268100009016329..."} 
[2026-04-22 21:05:36] local.INFO: Processing buffer {"connection_id":51017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c90780012d77aa8005f268100009016329..."} 
[2026-04-22 21:05:36] local.INFO: Packet analysis {"connection_id":51017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 21:05:36] local.INFO: Extracted packet for processing {"connection_id":51017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 21:05:36] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99772432,"longitude_deg":76.2817152,"latitude_deg":9.9772432,"altitude":9,"angle":355,"satellites":41,"speed":16,"hex_longitude":"2d77aa80","hex_latitude":"05f26810","is_valid_coordinates":true} 
[2026-04-22 21:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879062528001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728572758130688,"note":"Value kept but may cause issues"} 
[2026-04-22 21:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462095517696,"note":"Value kept but may cause issues"} 
[2026-04-22 21:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776871344000,"timestamp_ms":1776871344000,"timestamp_seconds":1776871344,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c90780"} 
[2026-04-22 21:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:05: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-22 21:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-22 21:05: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-22 21:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879062528001,"66":27713,"49":206,"87":13568,"24":16,"16":278728572758130688,"45":8622704462095517696},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-04-22 21:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879062528001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:05:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 21:05:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-22 21:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728572758130688,"km_value":278728572758130.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462095517696,"description":"Unknown IO ID 45"} 
[2026-04-22 21:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879062528001,"power":27713,"unknown_49":206,"unknown_87":13568,"ignition":16,"odometer":null,"unknown_45":8622704462095517696}} 
[2026-04-22 21:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":51017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:05:36] local.INFO: GPS data processed {"connection_id":51017,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:05:36] local.INFO: Acknowledgment sent {"connection_id":51017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:05:36] local.INFO: TCP Data received {"connection_id":51018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:05:36] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:05:36] local.INFO: IMEI packet received {"connection_id":51018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":51018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:05:37] local.INFO: TCP Data received {"connection_id":51018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:05:37] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:05:37] local.INFO: Packet analysis {"connection_id":51018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:05:37] local.INFO: Extracted packet for processing {"connection_id":51018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21: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-22 21:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:05:37] local.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-22 21:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:05:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":51018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:05:37] local.INFO: GPS data processed {"connection_id":51018,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:05:37] local.INFO: Acknowledgment sent {"connection_id":51018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:06:08] local.INFO: TCP Data received {"connection_id":51018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:06:08] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:06:08] local.INFO: Packet analysis {"connection_id":51018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:06:08] local.INFO: Extracted packet for processing {"connection_id":51018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:06:08] 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-22 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:06:08] local.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-22 21:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:06:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":51018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:06:08] local.INFO: GPS data processed {"connection_id":51018,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:06:08] local.INFO: Acknowledgment sent {"connection_id":51018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:06:08] local.INFO: TCP Data received {"connection_id":51017,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c91338012d77aa0005f26d60000a01662a..."} 
[2026-04-22 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c91338012d77aa0005f26d60000a01662a..."} 
[2026-04-22 21:06:08] local.INFO: Processing buffer {"connection_id":51017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c91338012d77aa0005f26d60000a01662a..."} 
[2026-04-22 21:06:08] local.INFO: Packet analysis {"connection_id":51017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 21:06:08] local.INFO: Extracted packet for processing {"connection_id":51017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99773792,"longitude_deg":76.2817024,"latitude_deg":9.9773792,"altitude":10,"angle":358,"satellites":42,"speed":16,"hex_longitude":"2d77aa00","hex_latitude":"05f26d60","is_valid_coordinates":true} 
[2026-04-22 21:06: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-22 21:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879064064001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199584333824,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776871347000,"timestamp_ms":1776871347000,"timestamp_seconds":1776871347,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c91338"} 
[2026-04-22 21:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:06: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-22 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-22 21:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879064064001,"66":27930,"49":206,"87":13568,"24":16,"16":278728641477607424,"45":8622845199584333824},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-04-22 21:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879064064001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:06:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 21:06:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-22 21:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199584333824,"description":"Unknown IO ID 45"} 
[2026-04-22 21:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879064064001,"power":27930,"unknown_49":206,"unknown_87":13568,"ignition":16,"odometer":null,"unknown_45":8622845199584333824}} 
[2026-04-22 21:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":51017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:06:08] local.INFO: GPS data processed {"connection_id":51017,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:06:08] local.INFO: Acknowledgment sent {"connection_id":51017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:06:26] local.INFO: TCP Data received {"connection_id":50916,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:06:26] local.INFO: Processing buffer {"connection_id":50916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:06:26] local.INFO: IMEI packet received {"connection_id":50916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":50916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:06:26] local.INFO: TCP Data received {"connection_id":50917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:06:26] local.INFO: Processing buffer {"connection_id":50917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:06:26] local.INFO: IMEI packet received {"connection_id":50917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":50917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:06:30] local.INFO: TCP Data received {"connection_id":50916,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:06:30] local.INFO: Processing buffer {"connection_id":50916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:06:30] local.INFO: IMEI packet received {"connection_id":50916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":50916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:06:31] local.INFO: TCP Data received {"connection_id":50916,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5c91ef0012d77a94005f27258000a015a2d..."} 
[2026-04-22 21:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5c91ef0012d77a94005f27258000a015a2d..."} 
[2026-04-22 21:06:31] local.INFO: Processing buffer {"connection_id":50916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5c91ef0012d77a94005f27258000a015a2d..."} 
[2026-04-22 21:06:31] local.INFO: Packet analysis {"connection_id":50916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 21:06:31] local.INFO: Extracted packet for processing {"connection_id":50916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5c9"} 
[2026-04-22 21:06:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99775064,"longitude_deg":76.2816832,"latitude_deg":9.9775064,"altitude":10,"angle":346,"satellites":45,"speed":15,"hex_longitude":"2d77a940","hex_latitude":"05f27258","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879064832001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462096326656,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776871350000,"timestamp_ms":1776871350000,"timestamp_seconds":1776871350,"priority":1,"record_length":96,"hex_timestamp":"0000019db5c91ef0"} 
[2026-04-22 21: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-22 21:06: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-22 21:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-22 21:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879064832001,"66":27137,"49":206,"87":13568,"24":15,"16":278728641477607424,"45":8622704462096326656},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,87,24,16,45]} 
[2026-04-22 21:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879064832001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:06:31] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-22 21:06:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-22 21:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462096326656,"description":"Unknown IO ID 45"} 
[2026-04-22 21:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879064832001,"power":27137,"unknown_49":206,"unknown_87":13568,"ignition":15,"odometer":null,"unknown_45":8622704462096326656}} 
[2026-04-22 21:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":50916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:06:31] local.INFO: GPS data processed {"connection_id":50916,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:06:31] local.INFO: Acknowledgment sent {"connection_id":50916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:06:31] local.INFO: TCP Data received {"connection_id":50917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:06:31] local.INFO: Processing buffer {"connection_id":50917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:06:31] local.INFO: IMEI packet received {"connection_id":50917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":50917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:06:32] local.INFO: TCP Data received {"connection_id":50917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:06:32] local.INFO: Processing buffer {"connection_id":50917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:06:32] local.INFO: Packet analysis {"connection_id":50917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:06:32] local.INFO: Extracted packet for processing {"connection_id":50917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:06: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-22 21:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21: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-22 21:06:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:06:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":50917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:06:32] local.INFO: GPS data processed {"connection_id":50917,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:06:32] local.INFO: Acknowledgment sent {"connection_id":50917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:07:02] local.INFO: TCP Data received {"connection_id":50916,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d28d00012d77a98005f27b00000e015229..."} 
[2026-04-22 21:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d28d00012d77a98005f27b00000e015229..."} 
[2026-04-22 21:07:02] local.INFO: Processing buffer {"connection_id":50916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d28d00012d77a98005f27b00000e015229..."} 
[2026-04-22 21:07:02] local.INFO: Packet analysis {"connection_id":50916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:02] local.INFO: Extracted packet for processing {"connection_id":50916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879065600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864119296,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776871968000,"timestamp_ms":1776871968000,"timestamp_seconds":1776871968,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d28d00"} 
[2026-04-22 21:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:07: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-22 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-04-22 21:07:03] 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-22 21:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879065600001,"66":25875,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622493355864119296},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879065600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:07:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864119296,"description":"Unknown IO ID 45"} 
[2026-04-22 21:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879065600001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864119296}} 
[2026-04-22 21:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":50916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:07:03] local.INFO: GPS data processed {"connection_id":50916,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:07:03] local.INFO: Acknowledgment sent {"connection_id":50916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:07:03] local.INFO: TCP Data received {"connection_id":50917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:07:03] local.INFO: Processing buffer {"connection_id":50917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:07:03] local.INFO: Packet analysis {"connection_id":50917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:03] local.INFO: Extracted packet for processing {"connection_id":50917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07: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-22 21:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:07:03] 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-22 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:07:03] local.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-22 21:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:07:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":50917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:07:03] local.INFO: GPS data processed {"connection_id":50917,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:07:03] local.INFO: Acknowledgment sent {"connection_id":50917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:07:20] local.INFO: TCP Data received {"connection_id":51019,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:07:20] local.INFO: Processing buffer {"connection_id":51019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:07:20] local.INFO: IMEI packet received {"connection_id":51019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":51019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:07:25] local.INFO: TCP Data received {"connection_id":51019,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:07:25] local.INFO: Processing buffer {"connection_id":51019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:07:25] local.INFO: IMEI packet received {"connection_id":51019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":51019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:07:26] local.INFO: TCP Data received {"connection_id":51019,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d28d00012d77a98005f27b00000e015229..."} 
[2026-04-22 21:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d28d00012d77a98005f27b00000e015229..."} 
[2026-04-22 21:07:26] local.INFO: Processing buffer {"connection_id":51019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d28d00012d77a98005f27b00000e015229..."} 
[2026-04-22 21:07:26] local.INFO: Packet analysis {"connection_id":51019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:26] local.INFO: Extracted packet for processing {"connection_id":51019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:26] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879065600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864119296,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776871968000,"timestamp_ms":1776871968000,"timestamp_seconds":1776871968,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d28d00"} 
[2026-04-22 21:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-04-22 21:07:26] 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-22 21:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":51019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":51019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":51019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879065600001,"66":25875,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622493355864119296},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879065600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:07:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864119296,"description":"Unknown IO ID 45"} 
[2026-04-22 21:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879065600001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864119296}} 
[2026-04-22 21:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":51019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:07:26] local.INFO: GPS data processed {"connection_id":51019,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:07:26] local.INFO: Acknowledgment sent {"connection_id":51019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:07:26] local.INFO: TCP Data received {"connection_id":50918,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:07:26] local.INFO: Processing buffer {"connection_id":50918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:07:26] local.INFO: IMEI packet received {"connection_id":50918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":50918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:07:32] local.INFO: TCP Data received {"connection_id":50918,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:07:32] local.INFO: Processing buffer {"connection_id":50918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:07:32] local.INFO: IMEI packet received {"connection_id":50918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":50918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:07:32] local.INFO: TCP Data received {"connection_id":50918,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:07:32] local.INFO: Processing buffer {"connection_id":50918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:07:32] local.INFO: Packet analysis {"connection_id":50918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:32] local.INFO: Extracted packet for processing {"connection_id":50918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07: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-22 21:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21: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-22 21:07:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:07:32] 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-22 21:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:07:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":50918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:07:33] local.INFO: GPS data processed {"connection_id":50918,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:07:33] local.INFO: Acknowledgment sent {"connection_id":50918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:07:57] local.INFO: TCP Data received {"connection_id":51019,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d28d00012d77a98005f27b00000e015229..."} 
[2026-04-22 21:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d28d00012d77a98005f27b00000e015229..."} 
[2026-04-22 21:07:57] local.INFO: Processing buffer {"connection_id":51019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d28d00012d77a98005f27b00000e015229..."} 
[2026-04-22 21:07:57] local.INFO: Packet analysis {"connection_id":51019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:57] local.INFO: Extracted packet for processing {"connection_id":51019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:07:57] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 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-22 21:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879065600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864119296,"note":"Value kept but may cause issues"} 
[2026-04-22 21:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776871968000,"timestamp_ms":1776871968000,"timestamp_seconds":1776871968,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d28d00"} 
[2026-04-22 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-22 21:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-04-22 21:07:57] 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-22 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-22 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-22 21:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":51019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":51019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":51019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879065600001,"66":25875,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622493355864119296},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879065600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:07:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864119296,"description":"Unknown IO ID 45"} 
[2026-04-22 21:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879065600001,"power":25875,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864119296}} 
[2026-04-22 21:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":51019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:07:57] local.INFO: GPS data processed {"connection_id":51019,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:07:57] local.INFO: Acknowledgment sent {"connection_id":51019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:08:04] local.INFO: TCP Data received {"connection_id":50918,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:08:04] local.INFO: Processing buffer {"connection_id":50918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d294d0012d196500071ff0380039006828..."} 
[2026-04-22 21:08:04] local.INFO: Packet analysis {"connection_id":50918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:08:04] local.INFO: Extracted packet for processing {"connection_id":50918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d2"} 
[2026-04-22 21:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879147264001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08: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-22 21:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776871970000,"timestamp_ms":1776871970000,"timestamp_seconds":1776871970,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d294d0"} 
[2026-04-22 21: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-22 21:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:08:04] 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-22 21:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879147264001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879147264001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:08:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879147264001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":50918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:08:04] local.INFO: GPS data processed {"connection_id":50918,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:08:04] local.INFO: Acknowledgment sent {"connection_id":50918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:08:20] local.INFO: TCP Data received {"connection_id":51020,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:08:20] local.INFO: Processing buffer {"connection_id":51020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:08:20] local.INFO: IMEI packet received {"connection_id":51020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":51020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:08:27] local.INFO: TCP Data received {"connection_id":51580,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:08:27] local.INFO: Processing buffer {"connection_id":51580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:08:27] local.INFO: IMEI packet received {"connection_id":51580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":51580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:08:30] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:08:30] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:08:30] local.INFO: IMEI packet received {"connection_id":50919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":50919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:08:30] local.INFO: TCP Data received {"connection_id":51580,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:08:30] local.INFO: Processing buffer {"connection_id":51580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:08:30] local.INFO: IMEI packet received {"connection_id":51580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":51580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:08:30] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:08:30] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:08:30] local.INFO: IMEI packet received {"connection_id":50919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":50919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:08:31] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:08:31] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:08:31] local.INFO: IMEI packet received {"connection_id":50919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":50919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:08:32] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:08:32] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:08:32] local.INFO: Packet analysis {"connection_id":50919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:08:32] local.INFO: Extracted packet for processing {"connection_id":50919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08: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-22 21:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:08:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:08:32] 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-22 21:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:08:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":50919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:08:32] local.INFO: GPS data processed {"connection_id":50919,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:08:32] local.INFO: Acknowledgment sent {"connection_id":50919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:08:35] local.INFO: TCP Data received {"connection_id":51580,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:08:35] local.INFO: Processing buffer {"connection_id":51580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:08:35] local.INFO: IMEI packet received {"connection_id":51580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":51580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:08:36] local.INFO: TCP Data received {"connection_id":51580,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:08:36] local.INFO: Processing buffer {"connection_id":51580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:08:36] local.INFO: Packet analysis {"connection_id":51580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:08:36] local.INFO: Extracted packet for processing {"connection_id":51580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 21:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:08: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-22 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:08:36] 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-22 21:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:08:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":51580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:08:36] local.INFO: GPS data processed {"connection_id":51580,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:08:36] local.INFO: Acknowledgment sent {"connection_id":51580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:08:37] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:08:37] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:08:37] local.INFO: Packet analysis {"connection_id":50919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:08:37] local.INFO: Extracted packet for processing {"connection_id":50919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:08:37] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:08:37] 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-22 21:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:08:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":50919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:08:37] local.INFO: GPS data processed {"connection_id":50919,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:08:37] local.INFO: Acknowledgment sent {"connection_id":50919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:08:41] local.INFO: TCP Data received {"connection_id":51580,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:08:41] local.INFO: Processing buffer {"connection_id":51580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:08:41] local.INFO: Packet analysis {"connection_id":51580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:08:41] local.INFO: Extracted packet for processing {"connection_id":51580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:08:41] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 21:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 21:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:08:41] 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-22 21:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:08:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":51580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:08:41] local.INFO: GPS data processed {"connection_id":51580,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:08:41] local.INFO: Acknowledgment sent {"connection_id":51580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:08:50] local.INFO: TCP Data received {"connection_id":50635,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:08:50] local.INFO: Processing buffer {"connection_id":50635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:08:50] local.INFO: IMEI packet received {"connection_id":50635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":50635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:09:08] local.INFO: TCP Data received {"connection_id":50919,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:09:08] local.INFO: Processing buffer {"connection_id":50919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:09:08] local.INFO: Packet analysis {"connection_id":50919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:09:08] local.INFO: Extracted packet for processing {"connection_id":50919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:09:08] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:09:08] 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-22 21:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:09:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":50919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:09:09] local.INFO: GPS data processed {"connection_id":50919,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:09:09] local.INFO: Acknowledgment sent {"connection_id":50919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:09:25] local.INFO: TCP Data received {"connection_id":51021,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:09:25] local.INFO: Processing buffer {"connection_id":51021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:09:25] local.INFO: IMEI packet received {"connection_id":51021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":51021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:09:30] local.INFO: TCP Data received {"connection_id":51021,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:09:30] local.INFO: Processing buffer {"connection_id":51021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:09:30] local.INFO: IMEI packet received {"connection_id":51021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":51021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:09:31] local.INFO: TCP Data received {"connection_id":51021,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:09:31] local.INFO: Processing buffer {"connection_id":51021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:09:31] local.INFO: Packet analysis {"connection_id":51021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:09:31] local.INFO: Extracted packet for processing {"connection_id":51021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:09:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 21: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-22 21:09: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-22 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:09:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":51021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:09:31] local.INFO: GPS data processed {"connection_id":51021,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:09:31] local.INFO: Acknowledgment sent {"connection_id":51021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:09:32] local.INFO: TCP Data received {"connection_id":51581,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:09:32] local.INFO: Processing buffer {"connection_id":51581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:09:32] local.INFO: IMEI packet received {"connection_id":51581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":51581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:09:37] local.INFO: TCP Data received {"connection_id":51581,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:09:37] local.INFO: Processing buffer {"connection_id":51581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:09:37] local.INFO: IMEI packet received {"connection_id":51581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":51581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:09:37] local.INFO: TCP Data received {"connection_id":51581,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:09:37] local.INFO: Processing buffer {"connection_id":51581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:09:37] local.INFO: Packet analysis {"connection_id":51581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:09:37] local.INFO: Extracted packet for processing {"connection_id":51581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:09:37] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:09:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":51581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:09:37] local.INFO: GPS data processed {"connection_id":51581,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:09:37] local.INFO: Acknowledgment sent {"connection_id":51581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:09:42] local.INFO: TCP Data received {"connection_id":51581,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:09:42] local.INFO: Processing buffer {"connection_id":51581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:09:42] local.INFO: Packet analysis {"connection_id":51581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:09:42] local.INFO: Extracted packet for processing {"connection_id":51581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:09: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-22 21:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:09:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":51581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:09:42] local.INFO: GPS data processed {"connection_id":51581,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:09:42] local.INFO: Acknowledgment sent {"connection_id":51581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:10:03] local.INFO: TCP Data received {"connection_id":51021,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:10:03] local.INFO: Processing buffer {"connection_id":51021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:10:03] local.INFO: Packet analysis {"connection_id":51021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:10:03] local.INFO: Extracted packet for processing {"connection_id":51021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:10:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 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-22 21:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 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-22 21:10: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-22 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 21:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:10:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":51021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:10:03] local.INFO: GPS data processed {"connection_id":51021,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:10:03] local.INFO: Acknowledgment sent {"connection_id":51021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:10:25] local.INFO: TCP Data received {"connection_id":51582,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:10:25] local.INFO: Processing buffer {"connection_id":51582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:10:25] local.INFO: IMEI packet received {"connection_id":51582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":51582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:10:27] local.INFO: TCP Data received {"connection_id":51583,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:10:27] local.INFO: Processing buffer {"connection_id":51583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:10:27] local.INFO: IMEI packet received {"connection_id":51583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":51583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:10:30] local.INFO: TCP Data received {"connection_id":51582,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:10:30] local.INFO: Processing buffer {"connection_id":51582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:10:30] local.INFO: IMEI packet received {"connection_id":51582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":51582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:10:31] local.INFO: TCP Data received {"connection_id":51582,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:10:31] local.INFO: Processing buffer {"connection_id":51582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:10:31] local.INFO: Packet analysis {"connection_id":51582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:10:31] local.INFO: Extracted packet for processing {"connection_id":51582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:10:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 21:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:10: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-22 21:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:10:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":51582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:10:31] local.INFO: GPS data processed {"connection_id":51582,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:10:31] local.INFO: Acknowledgment sent {"connection_id":51582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:10:32] local.INFO: TCP Data received {"connection_id":51583,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:10:32] local.INFO: Processing buffer {"connection_id":51583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:10:32] local.INFO: IMEI packet received {"connection_id":51583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":51583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:10:33] local.INFO: TCP Data received {"connection_id":51583,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:10:33] local.INFO: Processing buffer {"connection_id":51583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:10:33] local.INFO: Packet analysis {"connection_id":51583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:10:33] local.INFO: Extracted packet for processing {"connection_id":51583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:10: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-22 21:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:10:33] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:10:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":51583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:10:33] local.INFO: GPS data processed {"connection_id":51583,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:10:33] local.INFO: Acknowledgment sent {"connection_id":51583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:11:03] local.INFO: TCP Data received {"connection_id":51582,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:11:03] local.INFO: Processing buffer {"connection_id":51582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:11:03] local.INFO: Packet analysis {"connection_id":51582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:11:03] local.INFO: Extracted packet for processing {"connection_id":51582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:11:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 21:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:11: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-22 21:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:11:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":51582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:11:03] local.INFO: GPS data processed {"connection_id":51582,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:11:03] local.INFO: Acknowledgment sent {"connection_id":51582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:11:04] local.INFO: TCP Data received {"connection_id":51583,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:11:04] local.INFO: Processing buffer {"connection_id":51583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:11:04] local.INFO: Packet analysis {"connection_id":51583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:11:04] local.INFO: Extracted packet for processing {"connection_id":51583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11: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-22 21:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:11:04] local.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-22 21:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:11:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":51583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:11:05] local.INFO: GPS data processed {"connection_id":51583,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:11:05] local.INFO: Acknowledgment sent {"connection_id":51583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:11:25] local.INFO: TCP Data received {"connection_id":50922,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:11:25] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:11:25] local.INFO: IMEI packet received {"connection_id":50922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":50922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:11:27] local.INFO: TCP Data received {"connection_id":51022,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:11:27] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:11:27] local.INFO: IMEI packet received {"connection_id":51022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":51022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:11:30] local.INFO: TCP Data received {"connection_id":50922,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:11:30] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:11:30] local.INFO: IMEI packet received {"connection_id":50922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":50922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:11:31] local.INFO: TCP Data received {"connection_id":50922,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:11:31] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:11:31] local.INFO: Packet analysis {"connection_id":50922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:11:31] local.INFO: Extracted packet for processing {"connection_id":50922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:11:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 21: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-22 21:11: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-22 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:11:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":50922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:11:31] local.INFO: GPS data processed {"connection_id":50922,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:11:31] local.INFO: Acknowledgment sent {"connection_id":50922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:11:32] local.INFO: TCP Data received {"connection_id":51022,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:11:32] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:11:32] local.INFO: IMEI packet received {"connection_id":51022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":51022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:11:32] local.INFO: TCP Data received {"connection_id":51022,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:11:32] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:11:32] local.INFO: Packet analysis {"connection_id":51022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:11:32] local.INFO: Extracted packet for processing {"connection_id":51022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:11: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-22 21:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:11:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:11:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":51022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:11:33] local.INFO: GPS data processed {"connection_id":51022,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:11:33] local.INFO: Acknowledgment sent {"connection_id":51022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:12:02] local.INFO: TCP Data received {"connection_id":50922,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:12:02] local.INFO: Processing buffer {"connection_id":50922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:12:02] local.INFO: Packet analysis {"connection_id":50922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:12:02] local.INFO: Extracted packet for processing {"connection_id":50922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 21: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-22 21: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-22 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:12:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":50922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:12:02] local.INFO: GPS data processed {"connection_id":50922,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:12:02] local.INFO: Acknowledgment sent {"connection_id":50922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:12:04] local.INFO: TCP Data received {"connection_id":51022,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:12:04] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:12:04] local.INFO: Packet analysis {"connection_id":51022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:12:04] local.INFO: Extracted packet for processing {"connection_id":51022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12: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-22 21:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:12:04] 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-22 21:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:12:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":51022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:12:04] local.INFO: GPS data processed {"connection_id":51022,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:12:04] local.INFO: Acknowledgment sent {"connection_id":51022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:12:25] local.INFO: TCP Data received {"connection_id":50637,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:12:25] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:12:25] local.INFO: IMEI packet received {"connection_id":50637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":50637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:12:26] local.INFO: TCP Data received {"connection_id":50923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:12:26] local.INFO: Processing buffer {"connection_id":50923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:12:26] local.INFO: IMEI packet received {"connection_id":50923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":50923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:12:30] local.INFO: TCP Data received {"connection_id":50637,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:12:30] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:12:30] local.INFO: IMEI packet received {"connection_id":50637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":50637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:12:31] local.INFO: TCP Data received {"connection_id":50637,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:12:31] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:12:31] local.INFO: Packet analysis {"connection_id":50637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:12:31] local.INFO: Extracted packet for processing {"connection_id":50637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:12:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 21: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-22 21:12: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-22 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:12:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":50637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:12:31] local.INFO: GPS data processed {"connection_id":50637,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:12:31] local.INFO: Acknowledgment sent {"connection_id":50637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:12:32] local.INFO: TCP Data received {"connection_id":50923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:12:32] local.INFO: Processing buffer {"connection_id":50923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:12:32] local.INFO: IMEI packet received {"connection_id":50923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:12:33] local.INFO: TCP Data received {"connection_id":50923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:12:33] local.INFO: Processing buffer {"connection_id":50923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:12:33] local.INFO: Packet analysis {"connection_id":50923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:12:33] local.INFO: Extracted packet for processing {"connection_id":50923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:12: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-22 21:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:12:33] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:12:33] local.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-22 21:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:12:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":50923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:12:33] local.INFO: GPS data processed {"connection_id":50923,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:12:33] local.INFO: Acknowledgment sent {"connection_id":50923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:13:03] local.INFO: TCP Data received {"connection_id":50637,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:13:03] local.INFO: Processing buffer {"connection_id":50637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d724c8012d77a98005f27b00000e015225..."} 
[2026-04-22 21:13:03] local.INFO: Packet analysis {"connection_id":50637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:13:03] local.INFO: Extracted packet for processing {"connection_id":50637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:13:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879223808001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776872269000,"timestamp_ms":1776872269000,"timestamp_seconds":1776872269,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d724c8"} 
[2026-04-22 21: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-22 21:13: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-22 21: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-22 21:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879223808001,"66":25691,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879223808001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:13:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879223808001,"power":25691,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":50637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:13:03] local.INFO: GPS data processed {"connection_id":50637,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:13:03] local.INFO: Acknowledgment sent {"connection_id":50637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:13:04] local.INFO: TCP Data received {"connection_id":50923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:13:04] local.INFO: Processing buffer {"connection_id":50923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5d72c98012d196500071ff038003900682a..."} 
[2026-04-22 21:13:04] local.INFO: Packet analysis {"connection_id":50923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:13:04] local.INFO: Extracted packet for processing {"connection_id":50923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5d7"} 
[2026-04-22 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879224320001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13: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-22 21:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776872271000,"timestamp_ms":1776872271000,"timestamp_seconds":1776872271,"priority":1,"record_length":96,"hex_timestamp":"0000019db5d72c98"} 
[2026-04-22 21: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-22 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:13:04] local.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-22 21:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879224320001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879224320001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:13:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879224320001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":50923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:13:04] local.INFO: GPS data processed {"connection_id":50923,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:13:04] local.INFO: Acknowledgment sent {"connection_id":50923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:13:26] local.INFO: TCP Data received {"connection_id":51023,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:13:26] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:13:26] local.INFO: IMEI packet received {"connection_id":51023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":51023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:13:28] local.INFO: TCP Data received {"connection_id":51584,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:13:28] local.INFO: Processing buffer {"connection_id":51584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:13:28] local.INFO: IMEI packet received {"connection_id":51584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":51584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:13:29] local.INFO: TCP Data received {"connection_id":51023,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:13:29] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:13:29] local.INFO: IMEI packet received {"connection_id":51023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":51023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:13:30] local.INFO: TCP Data received {"connection_id":51584,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:13:30] local.INFO: Processing buffer {"connection_id":51584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:13:30] local.INFO: IMEI packet received {"connection_id":51584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":51584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:13:31] local.INFO: TCP Data received {"connection_id":51023,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:13:31] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:13:31] local.INFO: IMEI packet received {"connection_id":51023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":51023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:13:33] local.INFO: TCP Data received {"connection_id":51023,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:13:33] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:13:33] local.INFO: Packet analysis {"connection_id":51023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:13:33] local.INFO: Extracted packet for processing {"connection_id":51023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13: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-22 21:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21: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-22 21:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:13:33] 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-22 21:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:13:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":51023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:13:33] local.INFO: GPS data processed {"connection_id":51023,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:13:33] local.INFO: Acknowledgment sent {"connection_id":51023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:13:35] local.INFO: TCP Data received {"connection_id":51584,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:13:35] local.INFO: Processing buffer {"connection_id":51584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:13:35] local.INFO: IMEI packet received {"connection_id":51584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":51584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:13:36] local.INFO: TCP Data received {"connection_id":51584,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:13:36] local.INFO: Processing buffer {"connection_id":51584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:13:36] local.INFO: Packet analysis {"connection_id":51584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:13:36] local.INFO: Extracted packet for processing {"connection_id":51584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:13:36] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:13: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-22 21:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:13:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":51584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:13:36] local.INFO: GPS data processed {"connection_id":51584,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:13:36] local.INFO: Acknowledgment sent {"connection_id":51584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:14:05] local.INFO: TCP Data received {"connection_id":50639,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:14:05] local.INFO: Processing buffer {"connection_id":50639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:14:05] local.INFO: IMEI packet received {"connection_id":50639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":50639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:14:06] local.INFO: TCP Data received {"connection_id":51023,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:14:06] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:14:06] local.INFO: Packet analysis {"connection_id":51023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:14:06] local.INFO: Extracted packet for processing {"connection_id":51023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14: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-22 21:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21: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-22 21:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:14:06] 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-22 21:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:14:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":51023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:14:06] local.INFO: GPS data processed {"connection_id":51023,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:14:06] local.INFO: Acknowledgment sent {"connection_id":51023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:14:07] local.INFO: TCP Data received {"connection_id":51584,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:14:07] local.INFO: Processing buffer {"connection_id":51584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:14:07] local.INFO: Packet analysis {"connection_id":51584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:14:07] local.INFO: Extracted packet for processing {"connection_id":51584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:14:07] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:14: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-22 21:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:14:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":51584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:14:07] local.INFO: GPS data processed {"connection_id":51584,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:14:07] local.INFO: Acknowledgment sent {"connection_id":51584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:14:25] local.INFO: TCP Data received {"connection_id":50924,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:14:25] local.INFO: Processing buffer {"connection_id":50924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:14:25] local.INFO: IMEI packet received {"connection_id":50924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":50924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:14:27] local.INFO: TCP Data received {"connection_id":50640,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:14:27] local.INFO: Processing buffer {"connection_id":50640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:14:27] local.INFO: IMEI packet received {"connection_id":50640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":50640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:14:30] local.INFO: TCP Data received {"connection_id":50924,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:14:30] local.INFO: Processing buffer {"connection_id":50924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:14:30] local.INFO: IMEI packet received {"connection_id":50924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":50924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:14:31] local.INFO: TCP Data received {"connection_id":50924,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:14:31] local.INFO: Processing buffer {"connection_id":50924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:14:31] local.INFO: Packet analysis {"connection_id":50924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:14:31] local.INFO: Extracted packet for processing {"connection_id":50924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:14:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21: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-22 21:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:14:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":50924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:14:31] local.INFO: GPS data processed {"connection_id":50924,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:14:31] local.INFO: Acknowledgment sent {"connection_id":50924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:14:32] local.INFO: TCP Data received {"connection_id":50640,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:14:32] local.INFO: Processing buffer {"connection_id":50640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:14:32] local.INFO: IMEI packet received {"connection_id":50640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":50640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:14:33] local.INFO: TCP Data received {"connection_id":50640,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:14:33] local.INFO: Processing buffer {"connection_id":50640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:14:33] local.INFO: Packet analysis {"connection_id":50640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:14:33] local.INFO: Extracted packet for processing {"connection_id":50640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:14: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-22 21:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21: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-22 21:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:14:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":50640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:14:33] local.INFO: GPS data processed {"connection_id":50640,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:14:33] local.INFO: Acknowledgment sent {"connection_id":50640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:14:55] local.INFO: TCP Data received {"connection_id":51024,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:14:55] local.INFO: Processing buffer {"connection_id":51024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:14:55] local.INFO: IMEI packet received {"connection_id":51024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":51024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:15:03] local.INFO: TCP Data received {"connection_id":50924,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:15:03] local.INFO: Processing buffer {"connection_id":50924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:15:03] local.INFO: Packet analysis {"connection_id":50924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:15:03] local.INFO: Extracted packet for processing {"connection_id":50924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":50924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:15:03] local.INFO: GPS data processed {"connection_id":50924,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:15:03] local.INFO: Acknowledgment sent {"connection_id":50924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:15:10] local.INFO: TCP Data received {"connection_id":50640,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:15:10] local.INFO: Processing buffer {"connection_id":50640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:15:10] local.INFO: Packet analysis {"connection_id":50640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:15:10] local.INFO: Extracted packet for processing {"connection_id":50640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15: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-22 21:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":50640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":50640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":50640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:15:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":50640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:15:10] local.INFO: GPS data processed {"connection_id":50640,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:15:10] local.INFO: Acknowledgment sent {"connection_id":50640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:15:25] local.INFO: TCP Data received {"connection_id":51025,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:15:25] local.INFO: Processing buffer {"connection_id":51025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:15:25] local.INFO: IMEI packet received {"connection_id":51025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":51025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:15:27] local.INFO: TCP Data received {"connection_id":51585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:15:27] local.INFO: Processing buffer {"connection_id":51585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:15:27] local.INFO: IMEI packet received {"connection_id":51585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":51585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:15:30] local.INFO: TCP Data received {"connection_id":51025,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:15:30] local.INFO: Processing buffer {"connection_id":51025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:15:30] local.INFO: IMEI packet received {"connection_id":51025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":51025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:15:31] local.INFO: TCP Data received {"connection_id":51025,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:15:31] local.INFO: Processing buffer {"connection_id":51025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:15:31] local.INFO: Packet analysis {"connection_id":51025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:15:31] local.INFO: Extracted packet for processing {"connection_id":51025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:15:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21: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-22 21:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:15:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":51025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:15:31] local.INFO: GPS data processed {"connection_id":51025,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:15:31] local.INFO: Acknowledgment sent {"connection_id":51025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:15:31] local.INFO: TCP Data received {"connection_id":51585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:15:31] local.INFO: Processing buffer {"connection_id":51585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:15:31] local.INFO: IMEI packet received {"connection_id":51585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":51585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:15:33] local.INFO: TCP Data received {"connection_id":51585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:15:33] local.INFO: Processing buffer {"connection_id":51585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:15:33] local.INFO: Packet analysis {"connection_id":51585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:15:33] local.INFO: Extracted packet for processing {"connection_id":51585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:15: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-22 21:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21: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-22 21:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:15:33] local.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-22 21:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:15:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":51585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:15:33] local.INFO: GPS data processed {"connection_id":51585,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:15:33] local.INFO: Acknowledgment sent {"connection_id":51585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:16:02] local.INFO: TCP Data received {"connection_id":51025,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:16:02] local.INFO: Processing buffer {"connection_id":51025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:16:02] local.INFO: Packet analysis {"connection_id":51025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:16:02] local.INFO: Extracted packet for processing {"connection_id":51025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:16:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:16:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":51025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:16:02] local.INFO: GPS data processed {"connection_id":51025,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:16:02] local.INFO: Acknowledgment sent {"connection_id":51025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:16:04] local.INFO: TCP Data received {"connection_id":51585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:16:04] local.INFO: Processing buffer {"connection_id":51585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:16:04] local.INFO: Packet analysis {"connection_id":51585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:16:04] local.INFO: Extracted packet for processing {"connection_id":51585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16: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-22 21:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21: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-22 21:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:16:04] local.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-22 21:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:16:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":51585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:16:04] local.INFO: GPS data processed {"connection_id":51585,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:16:04] local.INFO: Acknowledgment sent {"connection_id":51585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:16:25] local.INFO: TCP Data received {"connection_id":51587,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:16:25] local.INFO: Processing buffer {"connection_id":51587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:16:25] local.INFO: IMEI packet received {"connection_id":51587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":51587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:16:26] local.INFO: TCP Data received {"connection_id":51586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:16:26] local.INFO: Processing buffer {"connection_id":51586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:16:26] local.INFO: IMEI packet received {"connection_id":51586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":51586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:16:30] local.INFO: TCP Data received {"connection_id":51587,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:16:30] local.INFO: Processing buffer {"connection_id":51587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:16:30] local.INFO: IMEI packet received {"connection_id":51587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":51587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:16:31] local.INFO: TCP Data received {"connection_id":51587,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:16:31] local.INFO: Processing buffer {"connection_id":51587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:16:31] local.INFO: Packet analysis {"connection_id":51587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:16:31] local.INFO: Extracted packet for processing {"connection_id":51587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:16:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21: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-22 21:16: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-22 21:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:16:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":51587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:16:31] local.INFO: GPS data processed {"connection_id":51587,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:16:31] local.INFO: Acknowledgment sent {"connection_id":51587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:16:31] local.INFO: TCP Data received {"connection_id":51586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:16:31] local.INFO: Processing buffer {"connection_id":51586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:16:31] local.INFO: IMEI packet received {"connection_id":51586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":51586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:16:32] local.INFO: TCP Data received {"connection_id":51586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:16:32] local.INFO: Processing buffer {"connection_id":51586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:16:32] local.INFO: Packet analysis {"connection_id":51586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:16:32] local.INFO: Extracted packet for processing {"connection_id":51586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:16: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-22 21:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21: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-22 21:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:16:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":51586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:16:32] local.INFO: GPS data processed {"connection_id":51586,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:16:32] local.INFO: Acknowledgment sent {"connection_id":51586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:17:02] local.INFO: TCP Data received {"connection_id":51587,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:17:02] local.INFO: Processing buffer {"connection_id":51587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:17:02] local.INFO: Packet analysis {"connection_id":51587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:17:02] local.INFO: Extracted packet for processing {"connection_id":51587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:17: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-22 21:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:17:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":51587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:17:02] local.INFO: GPS data processed {"connection_id":51587,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:17:02] local.INFO: Acknowledgment sent {"connection_id":51587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:17:03] local.INFO: TCP Data received {"connection_id":51586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:17:03] local.INFO: Processing buffer {"connection_id":51586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:17:03] local.INFO: Packet analysis {"connection_id":51586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:17:03] local.INFO: Extracted packet for processing {"connection_id":51586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17: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-22 21:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:17:03] 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-22 21:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:17:03] local.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-22 21:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:17:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":51586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:17:03] local.INFO: GPS data processed {"connection_id":51586,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:17:03] local.INFO: Acknowledgment sent {"connection_id":51586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:17:26] local.INFO: TCP Data received {"connection_id":50926,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:17:26] local.INFO: Processing buffer {"connection_id":50926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:17:26] local.INFO: IMEI packet received {"connection_id":50926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":50926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:17:30] local.INFO: TCP Data received {"connection_id":50642,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:17:30] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:17:30] local.INFO: IMEI packet received {"connection_id":50642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":50642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:17:32] local.INFO: TCP Data received {"connection_id":50926,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:17:32] local.INFO: Processing buffer {"connection_id":50926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:17:32] local.INFO: IMEI packet received {"connection_id":50926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":50926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:17:33] local.INFO: TCP Data received {"connection_id":50926,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:17:33] local.INFO: Processing buffer {"connection_id":50926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:17:33] local.INFO: Packet analysis {"connection_id":50926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:17:33] local.INFO: Extracted packet for processing {"connection_id":50926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17: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-22 21:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21: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-22 21:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:17:33] 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-22 21:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:17:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":50926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:17:33] local.INFO: GPS data processed {"connection_id":50926,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:17:33] local.INFO: Acknowledgment sent {"connection_id":50926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:17:35] local.INFO: TCP Data received {"connection_id":50642,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:17:35] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:17:35] local.INFO: IMEI packet received {"connection_id":50642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":50642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:17:36] local.INFO: TCP Data received {"connection_id":50642,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:17:36] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:17:36] local.INFO: Packet analysis {"connection_id":50642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:17:36] local.INFO: Extracted packet for processing {"connection_id":50642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21: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-22 21:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:17:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":50642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:17:36] local.INFO: GPS data processed {"connection_id":50642,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:17:36] local.INFO: Acknowledgment sent {"connection_id":50642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:18:05] local.INFO: TCP Data received {"connection_id":50926,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:18:05] local.INFO: Processing buffer {"connection_id":50926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbc460012d196500071ff0380039006829..."} 
[2026-04-22 21:18:05] local.INFO: Packet analysis {"connection_id":50926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:18:05] local.INFO: Extracted packet for processing {"connection_id":50926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879301376001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18: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-22 21:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776872572000,"timestamp_ms":1776872572000,"timestamp_seconds":1776872572,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbc460"} 
[2026-04-22 21:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:18:05] 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-22 21:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879301376001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879301376001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:18:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879301376001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":50926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:18:05] local.INFO: GPS data processed {"connection_id":50926,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:18:05] local.INFO: Acknowledgment sent {"connection_id":50926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:18:07] local.INFO: TCP Data received {"connection_id":50642,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:18:07] local.INFO: Processing buffer {"connection_id":50642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dbbc90012d77a98005f27b00000e01522a..."} 
[2026-04-22 21:18:07] local.INFO: Packet analysis {"connection_id":50642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:18:07] local.INFO: Extracted packet for processing {"connection_id":50642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5db"} 
[2026-04-22 21:18:07] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879300864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776872570000,"timestamp_ms":1776872570000,"timestamp_seconds":1776872570,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dbbc90"} 
[2026-04-22 21: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-22 21:18: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-22 21: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-22 21:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":50642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":50642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":50642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879300864001,"66":25473,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879300864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:18:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879300864001,"power":25473,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":50642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:18:07] local.INFO: GPS data processed {"connection_id":50642,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:18:07] local.INFO: Acknowledgment sent {"connection_id":50642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:18:25] local.INFO: TCP Data received {"connection_id":50643,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:18:25] local.INFO: Processing buffer {"connection_id":50643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:18:25] local.INFO: IMEI packet received {"connection_id":50643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":50643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:18:26] local.INFO: TCP Data received {"connection_id":51588,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:18:26] local.INFO: Processing buffer {"connection_id":51588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:18:26] local.INFO: IMEI packet received {"connection_id":51588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":51588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:18:30] local.INFO: TCP Data received {"connection_id":50643,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:18:30] local.INFO: Processing buffer {"connection_id":50643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:18:30] local.INFO: IMEI packet received {"connection_id":50643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":50643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:18:31] local.INFO: TCP Data received {"connection_id":51588,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:18:31] local.INFO: Processing buffer {"connection_id":51588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:18:31] local.INFO: IMEI packet received {"connection_id":51588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":51588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:18:31] local.INFO: TCP Data received {"connection_id":51588,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:18:31] local.INFO: Processing buffer {"connection_id":51588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:18:31] local.INFO: IMEI packet received {"connection_id":51588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":51588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:18:32] local.INFO: TCP Data received {"connection_id":50643,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:18:32] local.INFO: Processing buffer {"connection_id":50643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:18:32] local.INFO: Packet analysis {"connection_id":50643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:18:32] local.INFO: Extracted packet for processing {"connection_id":50643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:18:32] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:18: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-22 21:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 21:18: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-22 21:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:18:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":50643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:18:32] local.INFO: GPS data processed {"connection_id":50643,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:18:32] local.INFO: Acknowledgment sent {"connection_id":50643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:18:32] local.INFO: TCP Data received {"connection_id":51588,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:18:32] local.INFO: Processing buffer {"connection_id":51588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:18:32] local.INFO: Packet analysis {"connection_id":51588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:18:32] local.INFO: Extracted packet for processing {"connection_id":51588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18: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-22 21:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:18:32] 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-22 21:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:18:32] 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-22 21:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:18:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":51588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:18:32] local.INFO: GPS data processed {"connection_id":51588,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:18:32] local.INFO: Acknowledgment sent {"connection_id":51588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:18:37] local.INFO: TCP Data received {"connection_id":51588,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:18:37] local.INFO: Processing buffer {"connection_id":51588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:18:37] local.INFO: Packet analysis {"connection_id":51588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:18:37] local.INFO: Extracted packet for processing {"connection_id":51588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:18:37] 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-22 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:18:37] 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-22 21:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:18:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":51588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:18:37] local.INFO: GPS data processed {"connection_id":51588,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:18:37] local.INFO: Acknowledgment sent {"connection_id":51588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:19:03] local.INFO: TCP Data received {"connection_id":50643,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:19:03] local.INFO: Processing buffer {"connection_id":50643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:19:03] local.INFO: Packet analysis {"connection_id":50643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:19:03] local.INFO: Extracted packet for processing {"connection_id":50643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:19:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21: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-22 21:19: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-22 21:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 21:19: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-22 21: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-22 21: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-22 21:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:19:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":50643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:19:03] local.INFO: GPS data processed {"connection_id":50643,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:19:03] local.INFO: Acknowledgment sent {"connection_id":50643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:19:08] local.INFO: TCP Data received {"connection_id":51588,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:19:08] local.INFO: Processing buffer {"connection_id":51588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:19:08] local.INFO: Packet analysis {"connection_id":51588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:19:08] local.INFO: Extracted packet for processing {"connection_id":51588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21: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-22 21:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:19:08] 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-22 21:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:19:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":51588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:19:08] local.INFO: GPS data processed {"connection_id":51588,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:19:08] local.INFO: Acknowledgment sent {"connection_id":51588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:19:25] local.INFO: TCP Data received {"connection_id":51590,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:19:25] local.INFO: Processing buffer {"connection_id":51590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:19:25] local.INFO: IMEI packet received {"connection_id":51590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":51590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:19:27] local.INFO: TCP Data received {"connection_id":50928,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:19:27] local.INFO: Processing buffer {"connection_id":50928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:19:27] local.INFO: IMEI packet received {"connection_id":50928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":50928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:19:30] local.INFO: TCP Data received {"connection_id":51590,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:19:30] local.INFO: Processing buffer {"connection_id":51590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:19:30] local.INFO: IMEI packet received {"connection_id":51590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":51590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:19:31] local.INFO: TCP Data received {"connection_id":51590,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:19:31] local.INFO: Processing buffer {"connection_id":51590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:19:31] local.INFO: Packet analysis {"connection_id":51590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:19:31] local.INFO: Extracted packet for processing {"connection_id":51590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:19:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21: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-22 21:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21: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-22 21: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-22 21: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-22 21:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:19:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":51590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:19:31] local.INFO: GPS data processed {"connection_id":51590,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:19:31] local.INFO: Acknowledgment sent {"connection_id":51590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:19:32] local.INFO: TCP Data received {"connection_id":50928,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:19:32] local.INFO: Processing buffer {"connection_id":50928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:19:32] local.INFO: IMEI packet received {"connection_id":50928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":50928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:19:33] local.INFO: TCP Data received {"connection_id":50928,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:19:33] local.INFO: Processing buffer {"connection_id":50928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:19:33] local.INFO: Packet analysis {"connection_id":50928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:19:33] local.INFO: Extracted packet for processing {"connection_id":50928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:19: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-22 21:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21: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-22 21:19:33] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:19:33] local.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-22 21:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:19:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":50928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:19:33] local.INFO: GPS data processed {"connection_id":50928,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:19:33] local.INFO: Acknowledgment sent {"connection_id":50928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:20:02] local.INFO: TCP Data received {"connection_id":51590,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:20:02] local.INFO: Processing buffer {"connection_id":51590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:20:02] local.INFO: Packet analysis {"connection_id":51590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:02] local.INFO: Extracted packet for processing {"connection_id":51590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21: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-22 21:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 21:20: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-22 21: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-22 21: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-22 21:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:20:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":51590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:20:02] local.INFO: GPS data processed {"connection_id":51590,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:20:02] local.INFO: Acknowledgment sent {"connection_id":51590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:20:04] local.INFO: TCP Data received {"connection_id":50928,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:20:04] local.INFO: Processing buffer {"connection_id":50928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:20:04] local.INFO: Packet analysis {"connection_id":50928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:04] local.INFO: Extracted packet for processing {"connection_id":50928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20: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-22 21:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21: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-22 21:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:20:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":50928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:20:04] local.INFO: GPS data processed {"connection_id":50928,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:20:04] local.INFO: Acknowledgment sent {"connection_id":50928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:20:25] local.INFO: TCP Data received {"connection_id":50644,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:20:25] local.INFO: Processing buffer {"connection_id":50644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:20:25] local.INFO: IMEI packet received {"connection_id":50644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":50644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:20:26] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:20:26] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:20:26] local.INFO: IMEI packet received {"connection_id":50929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":50929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:20:30] local.INFO: TCP Data received {"connection_id":51027,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:20:30] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:20:30] local.INFO: IMEI packet received {"connection_id":51027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":51027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:20:32] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:20:32] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:20:32] local.INFO: IMEI packet received {"connection_id":50929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":50929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:20:32] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:20:32] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:20:32] local.INFO: Packet analysis {"connection_id":50929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:32] local.INFO: Extracted packet for processing {"connection_id":50929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20: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-22 21:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21: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-22 21:20:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:20:32] 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-22 21:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:20:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":50929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:20:32] local.INFO: GPS data processed {"connection_id":50929,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:20:32] local.INFO: Acknowledgment sent {"connection_id":50929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:20:35] local.INFO: TCP Data received {"connection_id":51027,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:20:35] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:20:35] local.INFO: IMEI packet received {"connection_id":51027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":51027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:20:36] local.INFO: TCP Data received {"connection_id":51027,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:20:36] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:20:36] local.INFO: Packet analysis {"connection_id":51027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:36] local.INFO: Extracted packet for processing {"connection_id":51027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 21:20: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-22 21:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:20:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":51027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:20:36] local.INFO: GPS data processed {"connection_id":51027,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:20:36] local.INFO: Acknowledgment sent {"connection_id":51027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:20:41] local.INFO: TCP Data received {"connection_id":51027,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:20:41] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:20:41] local.INFO: Packet analysis {"connection_id":51027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:41] local.INFO: Extracted packet for processing {"connection_id":51027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 21:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:20:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":51027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:20:41] local.INFO: GPS data processed {"connection_id":51027,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:20:41] local.INFO: Acknowledgment sent {"connection_id":51027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:20:50] local.INFO: TCP Data received {"connection_id":50930,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:20:50] local.INFO: Processing buffer {"connection_id":50930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:20:50] local.INFO: IMEI packet received {"connection_id":50930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":50930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:21:04] local.INFO: TCP Data received {"connection_id":50929,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:21:04] local.INFO: Processing buffer {"connection_id":50929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:21:04] local.INFO: Packet analysis {"connection_id":50929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:21:04] local.INFO: Extracted packet for processing {"connection_id":50929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:21: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-22 21:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21: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-22 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:21:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":50929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:21:04] local.INFO: GPS data processed {"connection_id":50929,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:21:04] local.INFO: Acknowledgment sent {"connection_id":50929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:21:25] local.INFO: TCP Data received {"connection_id":50931,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:21:25] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:21:25] local.INFO: IMEI packet received {"connection_id":50931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":50931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:21:26] local.INFO: TCP Data received {"connection_id":51591,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:21:26] local.INFO: Processing buffer {"connection_id":51591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:21:26] local.INFO: IMEI packet received {"connection_id":51591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":51591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:21:30] local.INFO: TCP Data received {"connection_id":50931,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:21:30] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:21:30] local.INFO: IMEI packet received {"connection_id":50931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":50931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:21:31] local.INFO: TCP Data received {"connection_id":50931,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:21:31] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:21:31] local.INFO: Packet analysis {"connection_id":50931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:21:31] local.INFO: Extracted packet for processing {"connection_id":50931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:21:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21: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-22 21:21: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-22 21: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-22 21: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-22 21: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-22 21: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-22 21:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:21:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":50931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:21:31] local.INFO: GPS data processed {"connection_id":50931,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:21:31] local.INFO: Acknowledgment sent {"connection_id":50931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:21:32] local.INFO: TCP Data received {"connection_id":51591,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:21:32] local.INFO: Processing buffer {"connection_id":51591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:21:32] local.INFO: IMEI packet received {"connection_id":51591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":51591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:21:32] local.INFO: TCP Data received {"connection_id":51591,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:21:32] local.INFO: Processing buffer {"connection_id":51591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:21:32] local.INFO: Packet analysis {"connection_id":51591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:21:32] local.INFO: Extracted packet for processing {"connection_id":51591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:21: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-22 21:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21: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-22 21:21:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:21: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-22 21:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:21:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":51591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:21:33] local.INFO: GPS data processed {"connection_id":51591,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:21:33] local.INFO: Acknowledgment sent {"connection_id":51591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:22:02] local.INFO: TCP Data received {"connection_id":50931,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:22:02] local.INFO: Processing buffer {"connection_id":50931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:22:02] local.INFO: Packet analysis {"connection_id":50931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:22:02] local.INFO: Extracted packet for processing {"connection_id":50931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:22:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21: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-22 21:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 21:22: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-22 21: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-22 21: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-22 21:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:22:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":50931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:22:02] local.INFO: GPS data processed {"connection_id":50931,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:22:02] local.INFO: Acknowledgment sent {"connection_id":50931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:22:04] local.INFO: TCP Data received {"connection_id":51591,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:22:04] local.INFO: Processing buffer {"connection_id":51591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:22:04] local.INFO: Packet analysis {"connection_id":51591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:22:04] local.INFO: Extracted packet for processing {"connection_id":51591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22: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-22 21:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:22:04] 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-22 21:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:22:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":51591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:22:04] local.INFO: GPS data processed {"connection_id":51591,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:22:04] local.INFO: Acknowledgment sent {"connection_id":51591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:22:25] local.INFO: TCP Data received {"connection_id":50932,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:22:25] local.INFO: Processing buffer {"connection_id":50932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:22:25] local.INFO: IMEI packet received {"connection_id":50932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":50932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:22:26] local.INFO: TCP Data received {"connection_id":50645,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:22:26] local.INFO: Processing buffer {"connection_id":50645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:22:26] local.INFO: IMEI packet received {"connection_id":50645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":50645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:22:30] local.INFO: TCP Data received {"connection_id":50932,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:22:30] local.INFO: Processing buffer {"connection_id":50932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:22:30] local.INFO: IMEI packet received {"connection_id":50932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":50932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:22:31] local.INFO: TCP Data received {"connection_id":50932,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:22:31] local.INFO: Processing buffer {"connection_id":50932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:22:31] local.INFO: Packet analysis {"connection_id":50932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:22:31] local.INFO: Extracted packet for processing {"connection_id":50932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:22:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:22: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-22 21:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 21:22: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-22 21:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:22:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":50932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:22:31] local.INFO: GPS data processed {"connection_id":50932,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:22:31] local.INFO: Acknowledgment sent {"connection_id":50932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:22:32] local.INFO: TCP Data received {"connection_id":50645,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:22:32] local.INFO: Processing buffer {"connection_id":50645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:22:32] local.INFO: IMEI packet received {"connection_id":50645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":50645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:22:32] local.INFO: TCP Data received {"connection_id":50645,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:22:32] local.INFO: Processing buffer {"connection_id":50645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:22:32] local.INFO: Packet analysis {"connection_id":50645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:22:32] local.INFO: Extracted packet for processing {"connection_id":50645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:22: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-22 21:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21: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-22 21:22:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:22:32] 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-22 21:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:22:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":50645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:22:32] local.INFO: GPS data processed {"connection_id":50645,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:22:32] local.INFO: Acknowledgment sent {"connection_id":50645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:23:03] local.INFO: TCP Data received {"connection_id":50932,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:23:03] local.INFO: Processing buffer {"connection_id":50932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05458012d77a98005f27b00000e01521e..."} 
[2026-04-22 21:23:03] local.INFO: Packet analysis {"connection_id":50932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:23:03] local.INFO: Extracted packet for processing {"connection_id":50932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879377920001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776872871000,"timestamp_ms":1776872871000,"timestamp_seconds":1776872871,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05458"} 
[2026-04-22 21:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 21:23: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-22 21:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879377920001,"66":25615,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879377920001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:23:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879377920001,"power":25615,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":50932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:23:03] local.INFO: GPS data processed {"connection_id":50932,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:23:03] local.INFO: Acknowledgment sent {"connection_id":50932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:23:04] local.INFO: TCP Data received {"connection_id":50645,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:23:04] local.INFO: Processing buffer {"connection_id":50645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e05c28012d196500071ff0380039006828..."} 
[2026-04-22 21:23:04] local.INFO: Packet analysis {"connection_id":50645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:23:04] local.INFO: Extracted packet for processing {"connection_id":50645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e0"} 
[2026-04-22 21:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879378432001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23: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-22 21:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776872873000,"timestamp_ms":1776872873000,"timestamp_seconds":1776872873,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e05c28"} 
[2026-04-22 21:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:23:04] 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-22 21:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879378432001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879378432001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:23:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879378432001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":50645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:23:04] local.INFO: GPS data processed {"connection_id":50645,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:23:04] local.INFO: Acknowledgment sent {"connection_id":50645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:23:25] local.INFO: TCP Data received {"connection_id":51593,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:23:25] local.INFO: Processing buffer {"connection_id":51593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:23:25] local.INFO: IMEI packet received {"connection_id":51593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":51593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:23:26] local.INFO: TCP Data received {"connection_id":51594,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:23:26] local.INFO: Processing buffer {"connection_id":51594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:23:26] local.INFO: IMEI packet received {"connection_id":51594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":51594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:23:30] local.INFO: TCP Data received {"connection_id":51593,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:23:30] local.INFO: Processing buffer {"connection_id":51593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:23:30] local.INFO: IMEI packet received {"connection_id":51593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":51593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:23:31] local.INFO: TCP Data received {"connection_id":51593,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:23:31] local.INFO: Processing buffer {"connection_id":51593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:23:31] local.INFO: Packet analysis {"connection_id":51593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:23:31] local.INFO: Extracted packet for processing {"connection_id":51593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:23:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21: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-22 21:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:23:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":51593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:23:31] local.INFO: GPS data processed {"connection_id":51593,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:23:31] local.INFO: Acknowledgment sent {"connection_id":51593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:23:32] local.INFO: TCP Data received {"connection_id":51594,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:23:32] local.INFO: Processing buffer {"connection_id":51594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:23:32] local.INFO: IMEI packet received {"connection_id":51594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":51594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:23:32] local.INFO: TCP Data received {"connection_id":51594,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:23:32] local.INFO: Processing buffer {"connection_id":51594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:23:32] local.INFO: Packet analysis {"connection_id":51594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:23:32] local.INFO: Extracted packet for processing {"connection_id":51594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:23: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-22 21:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21: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-22 21:23:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:23:32] 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-22 21:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:23:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":51594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:23:33] local.INFO: GPS data processed {"connection_id":51594,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:23:33] local.INFO: Acknowledgment sent {"connection_id":51594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:24:02] local.INFO: TCP Data received {"connection_id":51593,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:24:02] local.INFO: Processing buffer {"connection_id":51593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:24:02] local.INFO: Packet analysis {"connection_id":51593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:24:02] local.INFO: Extracted packet for processing {"connection_id":51593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:24:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:24:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":51593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:24:02] local.INFO: GPS data processed {"connection_id":51593,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:24:02] local.INFO: Acknowledgment sent {"connection_id":51593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:24:03] local.INFO: TCP Data received {"connection_id":51594,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:24:03] local.INFO: Processing buffer {"connection_id":51594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:24:03] local.INFO: Packet analysis {"connection_id":51594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:24:03] local.INFO: Extracted packet for processing {"connection_id":51594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24: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-22 21:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:24:03] 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-22 21:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:24:03] 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-22 21:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":51594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:24:03] local.INFO: GPS data processed {"connection_id":51594,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:24:03] local.INFO: Acknowledgment sent {"connection_id":51594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:24:25] local.INFO: TCP Data received {"connection_id":51595,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:24:25] local.INFO: Processing buffer {"connection_id":51595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:24:25] local.INFO: IMEI packet received {"connection_id":51595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":51595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:24:27] local.INFO: TCP Data received {"connection_id":51596,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:24:27] local.INFO: Processing buffer {"connection_id":51596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:24:27] local.INFO: IMEI packet received {"connection_id":51596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":51596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:24:30] local.INFO: TCP Data received {"connection_id":51595,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:24:30] local.INFO: Processing buffer {"connection_id":51595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:24:30] local.INFO: IMEI packet received {"connection_id":51595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":51595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:24:31] local.INFO: TCP Data received {"connection_id":51595,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:24:31] local.INFO: Processing buffer {"connection_id":51595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:24:31] local.INFO: Packet analysis {"connection_id":51595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:24:31] local.INFO: Extracted packet for processing {"connection_id":51595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:24:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21: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-22 21: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-22 21:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:24:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":51595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:24:31] local.INFO: GPS data processed {"connection_id":51595,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:24:31] local.INFO: Acknowledgment sent {"connection_id":51595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:24:32] local.INFO: TCP Data received {"connection_id":51596,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:24:32] local.INFO: Processing buffer {"connection_id":51596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:24:32] local.INFO: IMEI packet received {"connection_id":51596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":51596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:24:32] local.INFO: TCP Data received {"connection_id":51596,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:24:32] local.INFO: Processing buffer {"connection_id":51596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:24:32] local.INFO: Packet analysis {"connection_id":51596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:24:32] local.INFO: Extracted packet for processing {"connection_id":51596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:24: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-22 21:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21: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-22 21:24:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:24:32] 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-22 21:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:24:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":51596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:24:33] local.INFO: GPS data processed {"connection_id":51596,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:24:33] local.INFO: Acknowledgment sent {"connection_id":51596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:25:03] local.INFO: TCP Data received {"connection_id":51595,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:25:03] local.INFO: Processing buffer {"connection_id":51595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:25:03] local.INFO: Packet analysis {"connection_id":51595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:25:03] local.INFO: Extracted packet for processing {"connection_id":51595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21: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-22 21:25: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-22 21: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":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:25: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-22 21: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-22 21: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-22 21:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:25:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":51595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:25:03] local.INFO: GPS data processed {"connection_id":51595,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:25:03] local.INFO: Acknowledgment sent {"connection_id":51595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:25:03] local.INFO: TCP Data received {"connection_id":51596,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:25:03] local.INFO: Processing buffer {"connection_id":51596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:25:03] local.INFO: Packet analysis {"connection_id":51596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:25:03] local.INFO: Extracted packet for processing {"connection_id":51596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25: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-22 21:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21: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-22 21:25:03] 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-22 21:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:25:03] 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-22 21:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:25:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":51596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:25:04] local.INFO: GPS data processed {"connection_id":51596,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:25:04] local.INFO: Acknowledgment sent {"connection_id":51596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:25:25] local.INFO: TCP Data received {"connection_id":51029,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:25:25] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:25:25] local.INFO: IMEI packet received {"connection_id":51029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":51029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:25:26] local.INFO: TCP Data received {"connection_id":51030,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:25:26] local.INFO: Processing buffer {"connection_id":51030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:25:26] local.INFO: IMEI packet received {"connection_id":51030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":51030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:25:30] local.INFO: TCP Data received {"connection_id":51029,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:25:30] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:25:30] local.INFO: IMEI packet received {"connection_id":51029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":51029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:25:31] local.INFO: TCP Data received {"connection_id":51029,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:25:31] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:25:31] local.INFO: Packet analysis {"connection_id":51029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:25:31] local.INFO: Extracted packet for processing {"connection_id":51029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:25:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21: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-22 21: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-22 21:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:25:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":51029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:25:31] local.INFO: GPS data processed {"connection_id":51029,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:25:31] local.INFO: Acknowledgment sent {"connection_id":51029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:25:32] local.INFO: TCP Data received {"connection_id":51030,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:25:32] local.INFO: Processing buffer {"connection_id":51030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:25:32] local.INFO: IMEI packet received {"connection_id":51030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":51030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:25:32] local.INFO: TCP Data received {"connection_id":51030,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:25:32] local.INFO: Processing buffer {"connection_id":51030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:25:32] local.INFO: Packet analysis {"connection_id":51030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:25:32] local.INFO: Extracted packet for processing {"connection_id":51030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:25: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-22 21:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21: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-22 21:25:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:25:32] 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-22 21:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:25:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":51030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:25:33] local.INFO: GPS data processed {"connection_id":51030,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:25:33] local.INFO: Acknowledgment sent {"connection_id":51030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:26:02] local.INFO: TCP Data received {"connection_id":51029,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:26:02] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:26:02] local.INFO: Packet analysis {"connection_id":51029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:26:02] local.INFO: Extracted packet for processing {"connection_id":51029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:26:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":51029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:26:02] local.INFO: GPS data processed {"connection_id":51029,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:26:02] local.INFO: Acknowledgment sent {"connection_id":51029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:26:03] local.INFO: TCP Data received {"connection_id":51030,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:26:03] local.INFO: Processing buffer {"connection_id":51030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:26:03] local.INFO: Packet analysis {"connection_id":51030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:26:03] local.INFO: Extracted packet for processing {"connection_id":51030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26: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-22 21:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21: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-22 21:26:03] 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-22 21:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:26:03] 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-22 21:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:26:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":51030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:26:04] local.INFO: GPS data processed {"connection_id":51030,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:26:04] local.INFO: Acknowledgment sent {"connection_id":51030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:26:10] local.INFO: TCP Data received {"connection_id":50934,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:26:10] local.INFO: Processing buffer {"connection_id":50934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:26:10] local.INFO: IMEI packet received {"connection_id":50934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":50934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:26:25] local.INFO: TCP Data received {"connection_id":51597,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:26:25] local.INFO: Processing buffer {"connection_id":51597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:26:25] local.INFO: IMEI packet received {"connection_id":51597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":51597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:26:26] local.INFO: TCP Data received {"connection_id":50647,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:26:26] local.INFO: Processing buffer {"connection_id":50647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:26:26] local.INFO: IMEI packet received {"connection_id":50647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":50647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:26:30] local.INFO: TCP Data received {"connection_id":51597,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:26:30] local.INFO: Processing buffer {"connection_id":51597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:26:30] local.INFO: IMEI packet received {"connection_id":51597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":51597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:26:31] local.INFO: TCP Data received {"connection_id":51597,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:26:31] local.INFO: Processing buffer {"connection_id":51597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:26:31] local.INFO: Packet analysis {"connection_id":51597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:26:31] local.INFO: Extracted packet for processing {"connection_id":51597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:26:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21: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-22 21: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-22 21:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:26:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":51597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:26:31] local.INFO: GPS data processed {"connection_id":51597,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:26:31] local.INFO: Acknowledgment sent {"connection_id":51597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:26:32] local.INFO: TCP Data received {"connection_id":50647,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:26:32] local.INFO: Processing buffer {"connection_id":50647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:26:32] local.INFO: IMEI packet received {"connection_id":50647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":50647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:26:32] local.INFO: TCP Data received {"connection_id":50647,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:26:32] local.INFO: Processing buffer {"connection_id":50647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:26:32] local.INFO: Packet analysis {"connection_id":50647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:26:32] local.INFO: Extracted packet for processing {"connection_id":50647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:26: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-22 21:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21: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-22 21:26:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:26:32] local.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-22 21:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:26:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":50647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:26:32] local.INFO: GPS data processed {"connection_id":50647,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:26:32] local.INFO: Acknowledgment sent {"connection_id":50647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:26:50] local.INFO: TCP Data received {"connection_id":51598,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:26:50] local.INFO: Processing buffer {"connection_id":51598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:26:50] local.INFO: IMEI packet received {"connection_id":51598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":51598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:27:02] local.INFO: TCP Data received {"connection_id":51597,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:27:02] local.INFO: Processing buffer {"connection_id":51597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:27:02] local.INFO: Packet analysis {"connection_id":51597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:27:02] local.INFO: Extracted packet for processing {"connection_id":51597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:27:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21: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-22 21:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:27:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":51597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:27:03] local.INFO: GPS data processed {"connection_id":51597,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:27:03] local.INFO: Acknowledgment sent {"connection_id":51597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:27:04] local.INFO: TCP Data received {"connection_id":50647,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:27:04] local.INFO: Processing buffer {"connection_id":50647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:27:04] local.INFO: Packet analysis {"connection_id":50647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:27:04] local.INFO: Extracted packet for processing {"connection_id":50647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27: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-22 21:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:27:04] local.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-22 21:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:27:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":50647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:27:04] local.INFO: GPS data processed {"connection_id":50647,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:27:04] local.INFO: Acknowledgment sent {"connection_id":50647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:27:25] local.INFO: TCP Data received {"connection_id":50648,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:27:25] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:27:25] local.INFO: IMEI packet received {"connection_id":50648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":50648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:27:26] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:27:26] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:27:26] local.INFO: IMEI packet received {"connection_id":50935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":50935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:27:30] local.INFO: TCP Data received {"connection_id":50648,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:27:30] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:27:30] local.INFO: IMEI packet received {"connection_id":50648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":50648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:27:31] local.INFO: TCP Data received {"connection_id":50648,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:27:31] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:27:31] local.INFO: Packet analysis {"connection_id":50648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:27:31] local.INFO: Extracted packet for processing {"connection_id":50648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:27:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21: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-22 21: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-22 21:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:27:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":50648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:27:31] local.INFO: GPS data processed {"connection_id":50648,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:27:31] local.INFO: Acknowledgment sent {"connection_id":50648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:27:32] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:27:32] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:27:32] local.INFO: IMEI packet received {"connection_id":50935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":50935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:27:33] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:27:33] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:27:33] local.INFO: Packet analysis {"connection_id":50935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:27:33] local.INFO: Extracted packet for processing {"connection_id":50935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:27: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-22 21:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21: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-22 21:27:33] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:27:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":50935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:27:33] local.INFO: GPS data processed {"connection_id":50935,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:27:33] local.INFO: Acknowledgment sent {"connection_id":50935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:28:02] local.INFO: TCP Data received {"connection_id":50648,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:28:02] local.INFO: Processing buffer {"connection_id":50648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4ec20012d77a98005f27b00000e015226..."} 
[2026-04-22 21:28:02] local.INFO: Packet analysis {"connection_id":50648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:28:02] local.INFO: Extracted packet for processing {"connection_id":50648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:28:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879454976001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776873172000,"timestamp_ms":1776873172000,"timestamp_seconds":1776873172,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4ec20"} 
[2026-04-22 21:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:28: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-22 21:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 21:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879454976001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879454976001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:28:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879454976001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":50648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:28:02] local.INFO: GPS data processed {"connection_id":50648,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:28:02] local.INFO: Acknowledgment sent {"connection_id":50648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:28:05] local.INFO: TCP Data received {"connection_id":50935,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:28:05] local.INFO: Processing buffer {"connection_id":50935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e4f3f0012d196500071ff0380039006828..."} 
[2026-04-22 21:28:05] local.INFO: Packet analysis {"connection_id":50935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:28:05] local.INFO: Extracted packet for processing {"connection_id":50935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e4"} 
[2026-04-22 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879455488001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28: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-22 21:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776873174000,"timestamp_ms":1776873174000,"timestamp_seconds":1776873174,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e4f3f0"} 
[2026-04-22 21:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879455488001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879455488001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:28:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879455488001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":50935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:28:05] local.INFO: GPS data processed {"connection_id":50935,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:28:05] local.INFO: Acknowledgment sent {"connection_id":50935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:28:30] local.INFO: TCP Data received {"connection_id":51032,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:28:30] local.INFO: Processing buffer {"connection_id":51032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:28:30] local.INFO: IMEI packet received {"connection_id":51032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":51032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:28:31] local.INFO: TCP Data received {"connection_id":51032,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:28:31] local.INFO: Processing buffer {"connection_id":51032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:28:31] local.INFO: IMEI packet received {"connection_id":51032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":51032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:28:32] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:28:32] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:28:32] local.INFO: IMEI packet received {"connection_id":50936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:28:32] local.INFO: TCP Data received {"connection_id":51032,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:28:32] local.INFO: Processing buffer {"connection_id":51032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:28:32] local.INFO: Packet analysis {"connection_id":51032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:28:32] local.INFO: Extracted packet for processing {"connection_id":51032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:28:32] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21: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-22 21:28: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-22 21: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-22 21: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-22 21: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-22 21: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-22 21:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:28:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":51032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:28:32] local.INFO: GPS data processed {"connection_id":51032,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:28:32] local.INFO: Acknowledgment sent {"connection_id":51032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:28:32] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:28:32] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:28:32] local.INFO: IMEI packet received {"connection_id":50936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":50936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:28:36] local.INFO: TCP Data received {"connection_id":51032,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:28:36] local.INFO: Processing buffer {"connection_id":51032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:28:36] local.INFO: Packet analysis {"connection_id":51032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:28:36] local.INFO: Extracted packet for processing {"connection_id":51032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:28: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-22 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:28: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-22 21:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:28:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":51032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:28:36] local.INFO: GPS data processed {"connection_id":51032,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:28:36] local.INFO: Acknowledgment sent {"connection_id":51032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:28:37] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:28:37] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:28:37] local.INFO: IMEI packet received {"connection_id":50936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":50936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:28:37] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:28:37] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:28:37] local.INFO: Packet analysis {"connection_id":50936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:28:37] local.INFO: Extracted packet for processing {"connection_id":50936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:28:37] 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-22 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:28:37] 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-22 21:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:28:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":50936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:28:38] local.INFO: GPS data processed {"connection_id":50936,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:28:38] local.INFO: Acknowledgment sent {"connection_id":50936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:29:07] local.INFO: TCP Data received {"connection_id":51032,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:29:07] local.INFO: Processing buffer {"connection_id":51032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:29:07] local.INFO: Packet analysis {"connection_id":51032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:29:07] local.INFO: Extracted packet for processing {"connection_id":51032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:29:07] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:29: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-22 21:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:29: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-22 21:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:29:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":51032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:29:07] local.INFO: GPS data processed {"connection_id":51032,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:29:07] local.INFO: Acknowledgment sent {"connection_id":51032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:29:09] local.INFO: TCP Data received {"connection_id":50936,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:29:09] local.INFO: Processing buffer {"connection_id":50936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:29:09] local.INFO: Packet analysis {"connection_id":50936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:29:09] local.INFO: Extracted packet for processing {"connection_id":50936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21: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-22 21:29:09] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:29:09] 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-22 21:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:29:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":50936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:29:09] local.INFO: GPS data processed {"connection_id":50936,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:29:09] local.INFO: Acknowledgment sent {"connection_id":50936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:29:25] local.INFO: TCP Data received {"connection_id":50650,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:29:25] local.INFO: Processing buffer {"connection_id":50650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:29:25] local.INFO: IMEI packet received {"connection_id":50650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":50650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:29:27] local.INFO: TCP Data received {"connection_id":51599,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:29:27] local.INFO: Processing buffer {"connection_id":51599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:29:27] local.INFO: IMEI packet received {"connection_id":51599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":51599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:29:30] local.INFO: TCP Data received {"connection_id":50650,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:29:30] local.INFO: Processing buffer {"connection_id":50650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:29:30] local.INFO: IMEI packet received {"connection_id":50650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":50650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:29:31] local.INFO: TCP Data received {"connection_id":50650,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:29:31] local.INFO: Processing buffer {"connection_id":50650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:29:31] local.INFO: Packet analysis {"connection_id":50650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:29:31] local.INFO: Extracted packet for processing {"connection_id":50650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:29:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21: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-22 21:29: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-22 21: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:29: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-22 21: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-22 21: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-22 21:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:29:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":50650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:29:31] local.INFO: GPS data processed {"connection_id":50650,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:29:31] local.INFO: Acknowledgment sent {"connection_id":50650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:29:31] local.INFO: TCP Data received {"connection_id":51599,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:29:31] local.INFO: Processing buffer {"connection_id":51599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:29:31] local.INFO: IMEI packet received {"connection_id":51599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":51599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:29:33] local.INFO: TCP Data received {"connection_id":51599,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:29:33] local.INFO: Processing buffer {"connection_id":51599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:29:33] local.INFO: Packet analysis {"connection_id":51599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:29:33] local.INFO: Extracted packet for processing {"connection_id":51599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21: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-22 21:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21: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-22 21:29:33] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:29:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":51599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:29:33] local.INFO: GPS data processed {"connection_id":51599,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:29:33] local.INFO: Acknowledgment sent {"connection_id":51599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:30:03] local.INFO: TCP Data received {"connection_id":50650,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:30:03] local.INFO: Processing buffer {"connection_id":50650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:30:03] local.INFO: Packet analysis {"connection_id":50650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:30:03] local.INFO: Extracted packet for processing {"connection_id":50650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 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-22 21:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 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-22 21:30: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-22 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 21:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:30:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":50650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:30:03] local.INFO: GPS data processed {"connection_id":50650,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:30:03] local.INFO: Acknowledgment sent {"connection_id":50650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:30:06] local.INFO: TCP Data received {"connection_id":51599,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:30:06] local.INFO: Processing buffer {"connection_id":51599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:30:06] local.INFO: Packet analysis {"connection_id":51599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:30:06] local.INFO: Extracted packet for processing {"connection_id":51599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30: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-22 21:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:30:06] 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-22 21:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:30:06] 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-22 21:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:30:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":51599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:30:06] local.INFO: GPS data processed {"connection_id":51599,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:30:06] local.INFO: Acknowledgment sent {"connection_id":51599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:30:25] local.INFO: TCP Data received {"connection_id":50937,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:30:25] local.INFO: Processing buffer {"connection_id":50937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:30:25] local.INFO: IMEI packet received {"connection_id":50937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":50937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:30:26] local.INFO: TCP Data received {"connection_id":51600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:30:26] local.INFO: Processing buffer {"connection_id":51600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:30:26] local.INFO: IMEI packet received {"connection_id":51600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":51600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:30:30] local.INFO: TCP Data received {"connection_id":50937,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:30:30] local.INFO: Processing buffer {"connection_id":50937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:30:30] local.INFO: IMEI packet received {"connection_id":50937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":50937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:30:31] local.INFO: TCP Data received {"connection_id":50937,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:30:31] local.INFO: Processing buffer {"connection_id":50937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:30:31] local.INFO: Packet analysis {"connection_id":50937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:30:31] local.INFO: Extracted packet for processing {"connection_id":50937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:30:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21: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-22 21:30: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-22 21:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:30: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-22 21: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-22 21: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-22 21:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:30:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":50937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:30:31] local.INFO: GPS data processed {"connection_id":50937,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:30:31] local.INFO: Acknowledgment sent {"connection_id":50937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:30:32] local.INFO: TCP Data received {"connection_id":51600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:30:32] local.INFO: Processing buffer {"connection_id":51600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:30:32] local.INFO: IMEI packet received {"connection_id":51600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":51600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:30:32] local.INFO: TCP Data received {"connection_id":51600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:30:32] local.INFO: Processing buffer {"connection_id":51600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:30:32] local.INFO: Packet analysis {"connection_id":51600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:30:32] local.INFO: Extracted packet for processing {"connection_id":51600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:30: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-22 21:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21: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-22 21:30:32] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:30:32] 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-22 21:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:30:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:30:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":51600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:30:33] local.INFO: GPS data processed {"connection_id":51600,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:30:33] local.INFO: Acknowledgment sent {"connection_id":51600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:31:03] local.INFO: TCP Data received {"connection_id":50937,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:31:03] local.INFO: Processing buffer {"connection_id":50937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:31:03] local.INFO: Packet analysis {"connection_id":50937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:03] local.INFO: Extracted packet for processing {"connection_id":50937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:31: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-22 21:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:31: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-22 21:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:31:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":50937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:31:03] local.INFO: GPS data processed {"connection_id":50937,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:31:03] local.INFO: Acknowledgment sent {"connection_id":50937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:31:04] local.INFO: TCP Data received {"connection_id":51600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:31:04] local.INFO: Processing buffer {"connection_id":51600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:31:04] local.INFO: Packet analysis {"connection_id":51600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:04] local.INFO: Extracted packet for processing {"connection_id":51600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31: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-22 21:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21: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-22 21:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:31:04] 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-22 21:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":51600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:31:04] local.INFO: GPS data processed {"connection_id":51600,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:31:04] local.INFO: Acknowledgment sent {"connection_id":51600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:31:25] local.INFO: TCP Data received {"connection_id":50939,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:31:25] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:31:25] local.INFO: IMEI packet received {"connection_id":50939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":50939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:31:30] local.INFO: TCP Data received {"connection_id":50939,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:31:30] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:31:30] local.INFO: IMEI packet received {"connection_id":50939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":50939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:31:31] local.INFO: TCP Data received {"connection_id":50939,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:31:31] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:31:31] local.INFO: Packet analysis {"connection_id":50939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:31] local.INFO: Extracted packet for processing {"connection_id":50939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:31] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21: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-22 21:31: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-22 21: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:31: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-22 21: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-22 21: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-22 21:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:31:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":50939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:31:31] local.INFO: GPS data processed {"connection_id":50939,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:31:31] local.INFO: Acknowledgment sent {"connection_id":50939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:31:32] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:31:32] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:31:32] local.INFO: IMEI packet received {"connection_id":50940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":50940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:31:37] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:31:37] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:31:37] local.INFO: IMEI packet received {"connection_id":50940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":50940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:31:38] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:31:38] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:31:38] local.INFO: Packet analysis {"connection_id":50940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:38] local.INFO: Extracted packet for processing {"connection_id":50940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31: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-22 21:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21: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-22 21:31:38] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:31:38] 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-22 21:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:31:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":50940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:31:38] local.INFO: GPS data processed {"connection_id":50940,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:31:38] local.INFO: Acknowledgment sent {"connection_id":50940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:31:42] local.INFO: TCP Data received {"connection_id":50940,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:31:42] local.INFO: Processing buffer {"connection_id":50940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:31:42] local.INFO: Packet analysis {"connection_id":50940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:42] local.INFO: Extracted packet for processing {"connection_id":50940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:31: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-22 21:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:31:42] 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-22 21:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:31:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":50940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:31:42] local.INFO: GPS data processed {"connection_id":50940,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:31:42] local.INFO: Acknowledgment sent {"connection_id":50940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:32:02] local.INFO: TCP Data received {"connection_id":50939,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:32:02] local.INFO: Processing buffer {"connection_id":50939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:32:02] local.INFO: Packet analysis {"connection_id":50939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:32:02] local.INFO: Extracted packet for processing {"connection_id":50939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:32:02] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21: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-22 21:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:32: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-22 21: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-22 21: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-22 21:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:32:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":50939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:32:02] local.INFO: GPS data processed {"connection_id":50939,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:32:02] local.INFO: Acknowledgment sent {"connection_id":50939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:32:15] local.INFO: TCP Data received {"connection_id":51033,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:32:15] local.INFO: Processing buffer {"connection_id":51033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:32:15] local.INFO: IMEI packet received {"connection_id":51033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":51033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:32:26] local.INFO: TCP Data received {"connection_id":50941,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:32:26] local.INFO: Processing buffer {"connection_id":50941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:32:26] local.INFO: IMEI packet received {"connection_id":50941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":50941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:32:30] local.INFO: TCP Data received {"connection_id":50942,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:32:30] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:32:30] local.INFO: IMEI packet received {"connection_id":50942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":50942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:32:32] local.INFO: TCP Data received {"connection_id":50941,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:32:32] local.INFO: Processing buffer {"connection_id":50941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:32:32] local.INFO: IMEI packet received {"connection_id":50941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":50941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:32:33] local.INFO: TCP Data received {"connection_id":50941,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:32:33] local.INFO: Processing buffer {"connection_id":50941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:32:33] local.INFO: Packet analysis {"connection_id":50941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:32:33] local.INFO: Extracted packet for processing {"connection_id":50941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32: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-22 21:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:32:33] 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-22 21:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:32:33] 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-22 21:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:32:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":50941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:32:33] local.INFO: GPS data processed {"connection_id":50941,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:32:33] local.INFO: Acknowledgment sent {"connection_id":50941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:32:35] local.INFO: TCP Data received {"connection_id":50942,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:32:35] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:32:35] local.INFO: IMEI packet received {"connection_id":50942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":50942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:32:36] local.INFO: TCP Data received {"connection_id":50942,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:32:36] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:32:36] local.INFO: Packet analysis {"connection_id":50942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:32:36] local.INFO: Extracted packet for processing {"connection_id":50942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:32:36] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:32: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-22 21:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:32: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-22 21:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:32:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":50942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:32:36] local.INFO: GPS data processed {"connection_id":50942,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:32:36] local.INFO: Acknowledgment sent {"connection_id":50942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:32:41] local.INFO: TCP Data received {"connection_id":50942,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:32:41] local.INFO: Processing buffer {"connection_id":50942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:32:41] local.INFO: Packet analysis {"connection_id":50942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:32:41] local.INFO: Extracted packet for processing {"connection_id":50942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:32:41] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 21:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:32:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":50942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:32:41] local.INFO: GPS data processed {"connection_id":50942,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:32:41] local.INFO: Acknowledgment sent {"connection_id":50942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:32:50] local.INFO: TCP Data received {"connection_id":51601,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:32:50] local.INFO: Processing buffer {"connection_id":51601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:32:50] local.INFO: IMEI packet received {"connection_id":51601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":51601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:33:04] local.INFO: TCP Data received {"connection_id":50941,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:33:04] local.INFO: Processing buffer {"connection_id":50941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:33:04] local.INFO: Packet analysis {"connection_id":50941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:33:04] local.INFO: Extracted packet for processing {"connection_id":50941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:33: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-22 21:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:33:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":50941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:33:04] local.INFO: GPS data processed {"connection_id":50941,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:33:04] local.INFO: Acknowledgment sent {"connection_id":50941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:33:25] local.INFO: TCP Data received {"connection_id":50652,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:33:25] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:33:25] local.INFO: IMEI packet received {"connection_id":50652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":50652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:33:26] local.INFO: TCP Data received {"connection_id":51602,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:33:26] local.INFO: Processing buffer {"connection_id":51602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:33:26] local.INFO: IMEI packet received {"connection_id":51602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":51602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:33:31] local.INFO: TCP Data received {"connection_id":50652,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:33:31] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:33:31] local.INFO: IMEI packet received {"connection_id":50652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":50652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:33:31] local.INFO: TCP Data received {"connection_id":51602,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:33:31] local.INFO: Processing buffer {"connection_id":51602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:33:31] local.INFO: IMEI packet received {"connection_id":51602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":51602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:33:32] local.INFO: TCP Data received {"connection_id":50652,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:33:32] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e983e8012d77a98005f27b00000e015227..."} 
[2026-04-22 21:33:32] local.INFO: Packet analysis {"connection_id":50652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:33:32] local.INFO: Extracted packet for processing {"connection_id":50652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:33:32] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532032001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776873473000,"timestamp_ms":1776873473000,"timestamp_seconds":1776873473,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e983e8"} 
[2026-04-22 21: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-22 21: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-22 21: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-22 21: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-22 21: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-22 21: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-22 21:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532032001,"66":25604,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532032001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:33:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532032001,"power":25604,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":50652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:33:32] local.INFO: GPS data processed {"connection_id":50652,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:33:32] local.INFO: Acknowledgment sent {"connection_id":50652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:33:32] local.INFO: TCP Data received {"connection_id":51602,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:33:32] local.INFO: Processing buffer {"connection_id":51602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5e98bb8012d196500071ff038003900682a..."} 
[2026-04-22 21:33:32] local.INFO: Packet analysis {"connection_id":51602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:33:32] local.INFO: Extracted packet for processing {"connection_id":51602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5e9"} 
[2026-04-22 21:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":57,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879532544001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:33: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-22 21:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776873475000,"timestamp_ms":1776873475000,"timestamp_seconds":1776873475,"priority":1,"record_length":96,"hex_timestamp":"0000019db5e98bb8"} 
[2026-04-22 21: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-22 21:33:32] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:33:32] 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-22 21:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879532544001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879532544001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:33:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879532544001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":51602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:33:33] local.INFO: GPS data processed {"connection_id":51602,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:33:33] local.INFO: Acknowledgment sent {"connection_id":51602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:34:03] local.INFO: TCP Data received {"connection_id":50652,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee1bb0012d77a98005f27b00000e015227..."} 
[2026-04-22 21:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee1bb0012d77a98005f27b00000e015227..."} 
[2026-04-22 21:34:03] local.INFO: Processing buffer {"connection_id":50652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee1bb0012d77a98005f27b00000e015227..."} 
[2026-04-22 21:34:03] local.INFO: Packet analysis {"connection_id":50652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:34:03] local.INFO: Extracted packet for processing {"connection_id":50652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:34:03] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609088001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776873774000,"timestamp_ms":1776873774000,"timestamp_seconds":1776873774,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee1bb0"} 
[2026-04-22 21: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-22 21:34: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-22 21:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 21:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609088001,"66":25495,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609088001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:34:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609088001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":50652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:34:03] local.INFO: GPS data processed {"connection_id":50652,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:34:03] local.INFO: Acknowledgment sent {"connection_id":50652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:34:03] local.INFO: TCP Data received {"connection_id":51602,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:34:03] local.INFO: Processing buffer {"connection_id":51602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:34:03] local.INFO: Packet analysis {"connection_id":51602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:34:03] local.INFO: Extracted packet for processing {"connection_id":51602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:34: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-22 21:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 21: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-22 21:34:03] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:34:03] 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-22 21:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:34:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":51602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:34:04] local.INFO: GPS data processed {"connection_id":51602,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:34:04] local.INFO: Acknowledgment sent {"connection_id":51602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:34:27] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:34:27] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:34:27] local.INFO: IMEI packet received {"connection_id":50653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":50653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:34:32] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:34:32] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:34:32] local.INFO: IMEI packet received {"connection_id":50653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":50653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:34:33] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:34:33] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:34:33] local.INFO: Packet analysis {"connection_id":50653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:34:33] local.INFO: Extracted packet for processing {"connection_id":50653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:34: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-22 21:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 21: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-22 21:34:33] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:34:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":50653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:34:33] local.INFO: GPS data processed {"connection_id":50653,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:34:33] local.INFO: Acknowledgment sent {"connection_id":50653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:35:01] local.INFO: TCP Data received {"connection_id":51604,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:01] local.INFO: Processing buffer {"connection_id":51604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:01] local.INFO: IMEI packet received {"connection_id":51604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":51604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:35:04] local.INFO: TCP Data received {"connection_id":50653,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:35:04] local.INFO: Processing buffer {"connection_id":50653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:35:04] local.INFO: Packet analysis {"connection_id":50653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:35:04] local.INFO: Extracted packet for processing {"connection_id":50653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21: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-22 21:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 21: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-22 21:35:04] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:35:04] 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-22 21:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:35:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:35:04] local.INFO: GPS data processed {"connection_id":50653,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:35:04] local.INFO: Acknowledgment sent {"connection_id":50653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:35:06] local.INFO: TCP Data received {"connection_id":51604,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:06] local.INFO: Processing buffer {"connection_id":51604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:06] local.INFO: IMEI packet received {"connection_id":51604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":51604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:35:27] local.INFO: TCP Data received {"connection_id":51034,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:35:27] local.INFO: Processing buffer {"connection_id":51034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:35:27] local.INFO: IMEI packet received {"connection_id":51034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":51034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:35:32] local.INFO: TCP Data received {"connection_id":51034,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:35:32] local.INFO: Processing buffer {"connection_id":51034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:35:32] local.INFO: IMEI packet received {"connection_id":51034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":51034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:35:33] local.INFO: TCP Data received {"connection_id":51034,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:35:33] local.INFO: Processing buffer {"connection_id":51034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:35:33] local.INFO: Packet analysis {"connection_id":51034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:35:33] local.INFO: Extracted packet for processing {"connection_id":51034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35: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-22 21:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 21: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-22 21:35:33] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:35:33] 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-22 21:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:35:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":51034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:35:33] local.INFO: GPS data processed {"connection_id":51034,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:35:33] local.INFO: Acknowledgment sent {"connection_id":51034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:35:47] local.INFO: TCP Data received {"connection_id":51605,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:47] local.INFO: Processing buffer {"connection_id":51605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:47] local.INFO: IMEI packet received {"connection_id":51605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":51605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:35:50] local.INFO: TCP Data received {"connection_id":51605,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:50] local.INFO: Processing buffer {"connection_id":51605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:35:50] local.INFO: IMEI packet received {"connection_id":51605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":51605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:35:53] local.INFO: TCP Data received {"connection_id":51605,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee71a0012d77a98005f27b00000e015227..."} 
[2026-04-22 21:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee71a0012d77a98005f27b00000e015227..."} 
[2026-04-22 21:35:53] local.INFO: Processing buffer {"connection_id":51605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee71a0012d77a98005f27b00000e015227..."} 
[2026-04-22 21:35:53] local.INFO: Packet analysis {"connection_id":51605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:35:53] local.INFO: Extracted packet for processing {"connection_id":51605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:35:53] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99777280,"longitude_deg":76.2816896,"latitude_deg":9.977728,"altitude":14,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d77a980","hex_latitude":"05f27b00","is_valid_coordinates":true} 
[2026-04-22 21:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686144001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776873796000,"timestamp_ms":1776873796000,"timestamp_seconds":1776873796,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee71a0"} 
[2026-04-22 21: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-22 21:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 21:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":51605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":51605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":51605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686144001,"66":25538,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686144001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:35:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686144001,"power":25538,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":51605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:35:53] local.INFO: GPS data processed {"connection_id":51605,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:35:53] local.INFO: Acknowledgment sent {"connection_id":51605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:35:55] local.INFO: TCP Data received {"connection_id":51605,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee7970012d77a74005f27b78000e013a27..."} 
[2026-04-22 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee7970012d77a74005f27b78000e013a27..."} 
[2026-04-22 21:35:55] local.INFO: Processing buffer {"connection_id":51605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee7970012d77a74005f27b78000e013a27..."} 
[2026-04-22 21:35:55] local.INFO: Packet analysis {"connection_id":51605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:35:55] local.INFO: Extracted packet for processing {"connection_id":51605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:35:55] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99777400,"longitude_deg":76.281632,"latitude_deg":9.97774,"altitude":14,"angle":314,"satellites":39,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f27b78","is_valid_coordinates":true} 
[2026-04-22 21:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879691776001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724608864256,"note":"Value kept but may cause issues"} 
[2026-04-22 21:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776873798000,"timestamp_ms":1776873798000,"timestamp_seconds":1776873798,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee7970"} 
[2026-04-22 21:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:35: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-22 21:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 21:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":51605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":51605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":51605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879691776001,"66":23071,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8622563724608864256},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879691776001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:35:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724608864256,"description":"Unknown IO ID 45"} 
[2026-04-22 21:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879691776001,"power":23071,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622563724608864256}} 
[2026-04-22 21:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":51605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:35:55] local.INFO: GPS data processed {"connection_id":51605,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:35:55] local.INFO: Acknowledgment sent {"connection_id":51605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:36:04] local.INFO: TCP Data received {"connection_id":51034,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:36:04] local.INFO: Processing buffer {"connection_id":51034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:36:04] local.INFO: Packet analysis {"connection_id":51034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:36:04] local.INFO: Extracted packet for processing {"connection_id":51034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36: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-22 21:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 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-22 21:36:04] 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-22 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 21:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:36:04] 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-22 21:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:36:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":51034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:36:04] local.INFO: GPS data processed {"connection_id":51034,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:36:04] local.INFO: Acknowledgment sent {"connection_id":51034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:36:25] local.INFO: TCP Data received {"connection_id":51606,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:36:25] local.INFO: Processing buffer {"connection_id":51606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:36:25] local.INFO: IMEI packet received {"connection_id":51606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":51606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:36:26] local.INFO: TCP Data received {"connection_id":50655,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:36:26] local.INFO: Processing buffer {"connection_id":50655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:36:26] local.INFO: IMEI packet received {"connection_id":50655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":50655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:36:30] local.INFO: TCP Data received {"connection_id":51606,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:36:30] local.INFO: Processing buffer {"connection_id":51606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:36:30] local.INFO: IMEI packet received {"connection_id":51606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":51606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:36:31] local.INFO: TCP Data received {"connection_id":51606,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5eecb78012d77a74005f27b78000e013a28..."} 
[2026-04-22 21:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5eecb78012d77a74005f27b78000e013a28..."} 
[2026-04-22 21:36:31] local.INFO: Processing buffer {"connection_id":51606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5eecb78012d77a74005f27b78000e013a28..."} 
[2026-04-22 21:36:31] local.INFO: Packet analysis {"connection_id":51606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:36:31] local.INFO: Extracted packet for processing {"connection_id":51606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:36:31] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99777400,"longitude_deg":76.281632,"latitude_deg":9.97774,"altitude":14,"angle":314,"satellites":40,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f27b78","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879692288001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911296000,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873819000,"timestamp_ms":1776873819000,"timestamp_seconds":1776873819,"priority":1,"record_length":96,"hex_timestamp":"0000019db5eecb78"} 
[2026-04-22 21: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-22 21:36: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-22 21: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":90,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-22 21:36:31] 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-22 21: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-22 21: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-22 21:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879692288001,"66":27365,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8621930405911296000},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879692288001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:36:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911296000,"description":"Unknown IO ID 45"} 
[2026-04-22 21:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879692288001,"power":27365,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911296000}} 
[2026-04-22 21:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":51606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:36:31] local.INFO: GPS data processed {"connection_id":51606,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:36:31] local.INFO: Acknowledgment sent {"connection_id":51606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:36:32] local.INFO: TCP Data received {"connection_id":50655,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:36:32] local.INFO: Processing buffer {"connection_id":50655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:36:32] local.INFO: IMEI packet received {"connection_id":50655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":50655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:36:33] local.INFO: TCP Data received {"connection_id":50655,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:36:33] local.INFO: Processing buffer {"connection_id":50655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:36:33] local.INFO: Packet analysis {"connection_id":50655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:36:33] local.INFO: Extracted packet for processing {"connection_id":50655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36: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-22 21:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 21: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-22 21:36:33] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:36:33] 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-22 21:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:36:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":50655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:36:33] local.INFO: GPS data processed {"connection_id":50655,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:36:33] local.INFO: Acknowledgment sent {"connection_id":50655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:36:35] local.INFO: TCP Data received {"connection_id":51606,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ef1d80012d77a74005f27b78000e013a26..."} 
[2026-04-22 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ef1d80012d77a74005f27b78000e013a26..."} 
[2026-04-22 21:36:35] local.INFO: Processing buffer {"connection_id":51606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ef1d80012d77a74005f27b78000e013a26..."} 
[2026-04-22 21:36:35] local.INFO: Packet analysis {"connection_id":51606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:36:35] local.INFO: Extracted packet for processing {"connection_id":51606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:36:35] local.INFO: GPS Element Parsed {"raw_longitude":762816320,"raw_latitude":99777400,"longitude_deg":76.281632,"latitude_deg":9.97774,"altitude":14,"angle":314,"satellites":38,"speed":0,"hex_longitude":"2d77a740","hex_latitude":"05f27b78","is_valid_coordinates":true} 
[2026-04-22 21:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879697664001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728641477607424,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911296000,"note":"Value kept but may cause issues"} 
[2026-04-22 21:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776873840000,"timestamp_ms":1776873840000,"timestamp_seconds":1776873840,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ef1d80"} 
[2026-04-22 21:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:36: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-22 21:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-22 21:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879697664001,"66":27376,"2":206,"9":24832,"24":0,"16":278728641477607424,"45":8621930405911296000},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879697664001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:36:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728641477607424,"km_value":278728641477607.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911296000,"description":"Unknown IO ID 45"} 
[2026-04-22 21:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879697664001,"power":27376,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621930405911296000}} 
[2026-04-22 21:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":51606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:36:35] local.INFO: GPS data processed {"connection_id":51606,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:36:35] local.INFO: Acknowledgment sent {"connection_id":51606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:37:04] local.INFO: TCP Data received {"connection_id":50655,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:37:04] local.INFO: Processing buffer {"connection_id":50655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:37:04] local.INFO: Packet analysis {"connection_id":50655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:37:04] local.INFO: Extracted packet for processing {"connection_id":50655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37: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-22 21:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 21: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-22 21:37:04] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:37:04] 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-22 21:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:37:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":50655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:37:04] local.INFO: GPS data processed {"connection_id":50655,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:37:04] local.INFO: Acknowledgment sent {"connection_id":50655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:37:06] local.INFO: TCP Data received {"connection_id":51606,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ef2550012d77a88005f27c900012000925..."} 
[2026-04-22 21:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ef2550012d77a88005f27c900012000925..."} 
[2026-04-22 21:37:06] local.INFO: Processing buffer {"connection_id":51606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ef2550012d77a88005f27c900012000925..."} 
[2026-04-22 21:37:06] local.INFO: Packet analysis {"connection_id":51606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:37:06] local.INFO: Extracted packet for processing {"connection_id":51606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99777680,"longitude_deg":76.281664,"latitude_deg":9.977768,"altitude":18,"angle":9,"satellites":37,"speed":6,"hex_longitude":"2d77a880","hex_latitude":"05f27c90","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879703040001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728658657476608,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621930405911296000,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776873842000,"timestamp_ms":1776873842000,"timestamp_seconds":1776873842,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ef2550"} 
[2026-04-22 21: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-22 21:37: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-22 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-22 21:37: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-22 21: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-22 21: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-22 21:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879703040001,"66":27300,"2":206,"9":24832,"24":6,"16":278728658657476608,"45":8621930405911296000},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879703040001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:37:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728658657476608,"km_value":278728658657476.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621930405911296000,"description":"Unknown IO ID 45"} 
[2026-04-22 21:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879703040001,"power":27300,"power_alt":206,"unknown_9":24832,"ignition":6,"odometer":null,"unknown_45":8621930405911296000}} 
[2026-04-22 21:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":51606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:37:06] local.INFO: GPS data processed {"connection_id":51606,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:37:06] local.INFO: Acknowledgment sent {"connection_id":51606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:37:25] local.INFO: TCP Data received {"connection_id":51035,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:37:25] local.INFO: Processing buffer {"connection_id":51035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:37:25] local.INFO: IMEI packet received {"connection_id":51035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":51035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:37:26] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:37:26] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:37:26] local.INFO: IMEI packet received {"connection_id":50945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":50945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:37:30] local.INFO: TCP Data received {"connection_id":51035,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:37:30] local.INFO: Processing buffer {"connection_id":51035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:37:30] local.INFO: IMEI packet received {"connection_id":51035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":51035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:37:32] local.INFO: TCP Data received {"connection_id":51035,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ef2d20012d77a8c005f27e200012015f26..."} 
[2026-04-22 21:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ef2d20012d77a8c005f27e200012015f26..."} 
[2026-04-22 21:37:32] local.INFO: Processing buffer {"connection_id":51035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ef2d20012d77a8c005f27e200012015f26..."} 
[2026-04-22 21:37:32] local.INFO: Packet analysis {"connection_id":51035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:37:32] local.INFO: Extracted packet for processing {"connection_id":51035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:37:32] local.INFO: GPS Element Parsed {"raw_longitude":762816704,"raw_latitude":99778080,"longitude_deg":76.2816704,"latitude_deg":9.977808,"altitude":18,"angle":351,"satellites":38,"speed":10,"hex_longitude":"2d77a8c0","hex_latitude":"05f27e20","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879703552001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728680132313088,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249632256000,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776873844000,"timestamp_ms":1776873844000,"timestamp_seconds":1776873844,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ef2d20"} 
[2026-04-22 21: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-22 21:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 21:37: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-22 21: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-22 21: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-22 21:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879703552001,"66":27300,"2":206,"9":24832,"24":10,"16":278728680132313088,"45":8622282249632256000},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879703552001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:37:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728680132313088,"km_value":278728680132313.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249632256000,"description":"Unknown IO ID 45"} 
[2026-04-22 21:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879703552001,"power":27300,"power_alt":206,"unknown_9":24832,"ignition":10,"odometer":null,"unknown_45":8622282249632256000}} 
[2026-04-22 21:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":51035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:37:32] local.INFO: GPS data processed {"connection_id":51035,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:37:32] local.INFO: Acknowledgment sent {"connection_id":51035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:37:32] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:37:32] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:37:32] local.INFO: IMEI packet received {"connection_id":50945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":50945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:37:33] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:37:33] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:37:33] local.INFO: Packet analysis {"connection_id":50945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:37:33] local.INFO: Extracted packet for processing {"connection_id":50945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:37: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-22 21:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 21: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-22 21:37:33] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:37:33] 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-22 21:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:37:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":50945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:37:33] local.INFO: GPS data processed {"connection_id":50945,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:37:33] local.INFO: Acknowledgment sent {"connection_id":50945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:38:02] local.INFO: TCP Data received {"connection_id":51035,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ef63d0012d77a6c005f29450000b00012a..."} 
[2026-04-22 21:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ef63d0012d77a6c005f29450000b00012a..."} 
[2026-04-22 21:38:02] local.INFO: Processing buffer {"connection_id":51035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ef63d0012d77a6c005f29450000b00012a..."} 
[2026-04-22 21:38:02] local.INFO: Packet analysis {"connection_id":51035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:38:02] local.INFO: Extracted packet for processing {"connection_id":51035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:38:02] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99783760,"longitude_deg":76.2816192,"latitude_deg":9.978376,"altitude":11,"angle":1,"satellites":42,"speed":21,"hex_longitude":"2d77a6c0","hex_latitude":"05f29450","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879704064001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278728959305187328,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622352618376536064,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776873858000,"timestamp_ms":1776873858000,"timestamp_seconds":1776873858,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ef63d0"} 
[2026-04-22 21: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-22 21:38: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-22 21:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-22 21:38: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-22 21: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-22 21: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-22 21:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879704064001,"66":27213,"2":206,"9":24832,"24":21,"16":278728959305187328,"45":8622352618376536064},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879704064001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:38:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278728959305187328,"km_value":278728959305187.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622352618376536064,"description":"Unknown IO ID 45"} 
[2026-04-22 21:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879704064001,"power":27213,"power_alt":206,"unknown_9":24832,"ignition":21,"odometer":null,"unknown_45":8622352618376536064}} 
[2026-04-22 21:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":51035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:38:02] local.INFO: GPS data processed {"connection_id":51035,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:38:02] local.INFO: Acknowledgment sent {"connection_id":51035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:38:04] local.INFO: TCP Data received {"connection_id":50945,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:38:04] local.INFO: Processing buffer {"connection_id":50945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:38:04] local.INFO: Packet analysis {"connection_id":50945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:38:04] local.INFO: Extracted packet for processing {"connection_id":50945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38: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-22 21:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 21: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-22 21:38:04] 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-22 21:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:38:04] 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-22 21:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:38:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":50945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:38:04] local.INFO: GPS data processed {"connection_id":50945,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:38:04] local.INFO: Acknowledgment sent {"connection_id":50945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:38:15] local.INFO: TCP Data received {"connection_id":51607,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:38:15] local.INFO: Processing buffer {"connection_id":51607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:38:15] local.INFO: IMEI packet received {"connection_id":51607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":51607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:38:25] local.INFO: TCP Data received {"connection_id":50946,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:38:25] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:38:25] local.INFO: IMEI packet received {"connection_id":50946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":50946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:38:26] local.INFO: TCP Data received {"connection_id":51608,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:38:26] local.INFO: Processing buffer {"connection_id":51608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:38:26] local.INFO: IMEI packet received {"connection_id":51608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":51608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:38:30] local.INFO: TCP Data received {"connection_id":50946,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:38:30] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:38:30] local.INFO: IMEI packet received {"connection_id":50946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":50946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:38:31] local.INFO: TCP Data received {"connection_id":50946,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ef7758012d77a60005f29d08000a015d2c..."} 
[2026-04-22 21:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ef7758012d77a60005f29d08000a015d2c..."} 
[2026-04-22 21:38:31] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ef7758012d77a60005f29d08000a015d2c..."} 
[2026-04-22 21:38:31] local.INFO: Packet analysis {"connection_id":50946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:38:31] local.INFO: Extracted packet for processing {"connection_id":50946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:38:31] local.INFO: GPS Element Parsed {"raw_longitude":762816000,"raw_latitude":99785992,"longitude_deg":76.2816,"latitude_deg":9.9785992,"altitude":10,"angle":349,"satellites":44,"speed":17,"hex_longitude":"2d77a600","hex_latitude":"05f29d08","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879707648001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729066679369728,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668424568832,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873863000,"timestamp_ms":1776873863000,"timestamp_seconds":1776873863,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ef7758"} 
[2026-04-22 21: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-22 21:38: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-22 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-22 21:38: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-22 21: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-22 21: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-22 21:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879707648001,"66":27267,"2":206,"9":24832,"24":17,"16":278729066679369728,"45":8621789668424568832},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879707648001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:38:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729066679369728,"km_value":278729066679369.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668424568832,"description":"Unknown IO ID 45"} 
[2026-04-22 21:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879707648001,"power":27267,"power_alt":206,"unknown_9":24832,"ignition":17,"odometer":null,"unknown_45":8621789668424568832}} 
[2026-04-22 21:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":50946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:38:31] local.INFO: GPS data processed {"connection_id":50946,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:38:31] local.INFO: Acknowledgment sent {"connection_id":50946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:38:32] local.INFO: TCP Data received {"connection_id":51608,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:38:32] local.INFO: Processing buffer {"connection_id":51608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:38:32] local.INFO: IMEI packet received {"connection_id":51608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":51608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:38:33] local.INFO: TCP Data received {"connection_id":51608,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:38:33] local.INFO: Processing buffer {"connection_id":51608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5ee2380012d196500071ff038003e006828..."} 
[2026-04-22 21:38:33] local.INFO: Packet analysis {"connection_id":51608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:38:33] local.INFO: Extracted packet for processing {"connection_id":51608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ee"} 
[2026-04-22 21:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879609600001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:38: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-22 21:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776873776000,"timestamp_ms":1776873776000,"timestamp_seconds":1776873776,"priority":1,"record_length":96,"hex_timestamp":"0000019db5ee2380"} 
[2026-04-22 21:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:38:33] 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-22 21:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":51608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":51608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":51608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21: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-22 21:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879609600001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879609600001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:38:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879609600001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":51608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:38:33] local.INFO: GPS data processed {"connection_id":51608,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:38:33] local.INFO: Acknowledgment sent {"connection_id":51608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:38:55] local.INFO: TCP Data received {"connection_id":51609,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:38:55] local.INFO: Processing buffer {"connection_id":51609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:38:55] local.INFO: IMEI packet received {"connection_id":51609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":51609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:39:04] local.INFO: TCP Data received {"connection_id":50946,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5efc960012d77a30005f2a9f80008015928..."} 
[2026-04-22 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5efc960012d77a30005f2a9f80008015928..."} 
[2026-04-22 21:39:04] local.INFO: Processing buffer {"connection_id":50946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5efc960012d77a30005f2a9f80008015928..."} 
[2026-04-22 21:39:04] local.INFO: Packet analysis {"connection_id":50946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:39:04] local.INFO: Extracted packet for processing {"connection_id":50946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99789304,"longitude_deg":76.2815232,"latitude_deg":9.9789304,"altitude":8,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a9f8","is_valid_coordinates":true} 
[2026-04-22 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879708928001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729242773028864,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621578562192607232,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776873884000,"timestamp_ms":1776873884000,"timestamp_seconds":1776873884,"priority":1,"record_length":96,"hex_timestamp":"0000019db5efc960"} 
[2026-04-22 21:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-22 21:39: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-22 21:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879708928001,"66":26560,"2":206,"9":24832,"24":0,"16":278729242773028864,"45":8621578562192607232},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879708928001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:39:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729242773028864,"km_value":278729242773028.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621578562192607232,"description":"Unknown IO ID 45"} 
[2026-04-22 21:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879708928001,"power":26560,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621578562192607232}} 
[2026-04-22 21:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":50946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:39:04] local.INFO: GPS data processed {"connection_id":50946,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:39:04] local.INFO: Acknowledgment sent {"connection_id":50946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:39:04] local.INFO: TCP Data received {"connection_id":51608,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:39:04] local.INFO: Processing buffer {"connection_id":51608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:39:04] local.INFO: Packet analysis {"connection_id":51608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:39:04] local.INFO: Extracted packet for processing {"connection_id":51608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39: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-22 21:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 21:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:39:04] 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-22 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:39:04] 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-22 21:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:39:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":51608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:39:04] local.INFO: GPS data processed {"connection_id":51608,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:39:04] local.INFO: Acknowledgment sent {"connection_id":51608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:39:25] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:39:25] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:39:25] local.INFO: IMEI packet received {"connection_id":51036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":51036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:39:27] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:39:27] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:39:27] local.INFO: IMEI packet received {"connection_id":50947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":50947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:39:30] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:39:30] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:39:30] local.INFO: IMEI packet received {"connection_id":51036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":51036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:39:31] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:39:31] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:39:31] local.INFO: IMEI packet received {"connection_id":50947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":50947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:39:31] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5eff070012d77a34005f2a810000a01592c..."} 
[2026-04-22 21:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5eff070012d77a34005f2a810000a01592c..."} 
[2026-04-22 21:39:31] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5eff070012d77a34005f2a810000a01592c..."} 
[2026-04-22 21:39:31] local.INFO: Packet analysis {"connection_id":51036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:39:31] local.INFO: Extracted packet for processing {"connection_id":51036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:39:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788816,"longitude_deg":76.2815296,"latitude_deg":9.9788816,"altitude":10,"angle":345,"satellites":44,"speed":2,"hex_longitude":"2d77a340","hex_latitude":"05f2a810","is_valid_coordinates":true} 
[2026-04-22 21:39: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-22 21:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879714304001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263323136,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873894000,"timestamp_ms":1776873894000,"timestamp_seconds":1776873894,"priority":1,"record_length":96,"hex_timestamp":"0000019db5eff070"} 
[2026-04-22 21: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-22 21:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-22 21: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-22 21:39:31] 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-22 21: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-22 21: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-22 21:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879714304001,"66":27800,"2":206,"9":24832,"24":2,"16":278729264247865344,"45":8620734137263323136},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879714304001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:39:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263323136,"description":"Unknown IO ID 45"} 
[2026-04-22 21:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879714304001,"power":27800,"power_alt":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8620734137263323136}} 
[2026-04-22 21:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":51036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:39:31] local.INFO: GPS data processed {"connection_id":51036,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:39:31] local.INFO: Acknowledgment sent {"connection_id":51036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:39:32] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:39:32] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:39:32] local.INFO: Packet analysis {"connection_id":50947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:39:32] local.INFO: Extracted packet for processing {"connection_id":50947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:39: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-22 21:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 21: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-22 21:39:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:39:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":50947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:39:32] local.INFO: GPS data processed {"connection_id":50947,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:39:32] local.INFO: Acknowledgment sent {"connection_id":50947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:40:03] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5eff070012d77a34005f2a810000a01592c..."} 
[2026-04-22 21:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5eff070012d77a34005f2a810000a01592c..."} 
[2026-04-22 21:40:03] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5eff070012d77a34005f2a810000a01592c..."} 
[2026-04-22 21:40:03] local.INFO: Packet analysis {"connection_id":51036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:40:03] local.INFO: Extracted packet for processing {"connection_id":51036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788816,"longitude_deg":76.2815296,"latitude_deg":9.9788816,"altitude":10,"angle":345,"satellites":44,"speed":2,"hex_longitude":"2d77a340","hex_latitude":"05f2a810","is_valid_coordinates":true} 
[2026-04-22 21:40: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-22 21:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879714304001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263323136,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776873894000,"timestamp_ms":1776873894000,"timestamp_seconds":1776873894,"priority":1,"record_length":96,"hex_timestamp":"0000019db5eff070"} 
[2026-04-22 21: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-22 21: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-22 21: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-22 21:40:03] 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-22 21: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-22 21: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-22 21:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879714304001,"66":27800,"2":206,"9":24832,"24":2,"16":278729264247865344,"45":8620734137263323136},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879714304001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263323136,"description":"Unknown IO ID 45"} 
[2026-04-22 21:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879714304001,"power":27800,"power_alt":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8620734137263323136}} 
[2026-04-22 21:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":51036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:40:03] local.INFO: GPS data processed {"connection_id":51036,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:40:03] local.INFO: Acknowledgment sent {"connection_id":51036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:40:04] local.INFO: TCP Data received {"connection_id":50947,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:40:04] local.INFO: Processing buffer {"connection_id":50947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:40:04] local.INFO: Packet analysis {"connection_id":50947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:40:04] local.INFO: Extracted packet for processing {"connection_id":50947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40: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-22 21:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 21: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-22 21:40:04] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:40:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":50947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:40:04] local.INFO: GPS data processed {"connection_id":50947,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:40:04] local.INFO: Acknowledgment sent {"connection_id":50947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:40:25] local.INFO: TCP Data received {"connection_id":50949,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:40:25] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:40:25] local.INFO: IMEI packet received {"connection_id":50949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":50949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:40:26] local.INFO: TCP Data received {"connection_id":50948,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:40:26] local.INFO: Processing buffer {"connection_id":50948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:40:26] local.INFO: IMEI packet received {"connection_id":50948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":50948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:40:30] local.INFO: TCP Data received {"connection_id":50949,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:40:30] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:40:30] local.INFO: IMEI packet received {"connection_id":50949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":50949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:40:31] local.INFO: TCP Data received {"connection_id":50949,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5eff070012d77a34005f2a810000a01592c..."} 
[2026-04-22 21:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5eff070012d77a34005f2a810000a01592c..."} 
[2026-04-22 21:40:31] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5eff070012d77a34005f2a810000a01592c..."} 
[2026-04-22 21:40:31] local.INFO: Packet analysis {"connection_id":50949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:40:31] local.INFO: Extracted packet for processing {"connection_id":50949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5ef"} 
[2026-04-22 21:40:31] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788816,"longitude_deg":76.2815296,"latitude_deg":9.9788816,"altitude":10,"angle":345,"satellites":44,"speed":2,"hex_longitude":"2d77a340","hex_latitude":"05f2a810","is_valid_coordinates":true} 
[2026-04-22 21:40: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-22 21:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879714304001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263323136,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776873894000,"timestamp_ms":1776873894000,"timestamp_seconds":1776873894,"priority":1,"record_length":96,"hex_timestamp":"0000019db5eff070"} 
[2026-04-22 21: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-22 21: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-22 21: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-22 21:40:31] 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-22 21: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-22 21: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-22 21:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879714304001,"66":27800,"2":206,"9":24832,"24":2,"16":278729264247865344,"45":8620734137263323136},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-04-22 21:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879714304001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:40:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263323136,"description":"Unknown IO ID 45"} 
[2026-04-22 21:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879714304001,"power":27800,"power_alt":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8620734137263323136}} 
[2026-04-22 21:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":50949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:40:31] local.INFO: GPS data processed {"connection_id":50949,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:40:31] local.INFO: Acknowledgment sent {"connection_id":50949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:40:32] local.INFO: TCP Data received {"connection_id":50948,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:40:32] local.INFO: Processing buffer {"connection_id":50948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:40:32] local.INFO: IMEI packet received {"connection_id":50948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":50948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:40:33] local.INFO: TCP Data received {"connection_id":50948,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:40:33] local.INFO: Processing buffer {"connection_id":50948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:40:33] local.INFO: Packet analysis {"connection_id":50948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:40:33] local.INFO: Extracted packet for processing {"connection_id":50948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:40: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-22 21:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 21: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-22 21:40:33] 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-22 21:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:40:33] local.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-22 21:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:40:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":50948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:40:33] local.INFO: GPS data processed {"connection_id":50948,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:40:33] local.INFO: Acknowledgment sent {"connection_id":50948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:41:04] local.INFO: TCP Data received {"connection_id":50948,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:41:04] local.INFO: Processing buffer {"connection_id":50948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:41:04] local.INFO: Packet analysis {"connection_id":50948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:41:04] local.INFO: Extracted packet for processing {"connection_id":50948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41: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-22 21:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 21: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-22 21:41:04] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:41:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":50948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:41:04] local.INFO: GPS data processed {"connection_id":50948,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:41:04] local.INFO: Acknowledgment sent {"connection_id":50948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:41:08] local.INFO: TCP Data received {"connection_id":50949,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:41:08] local.INFO: Processing buffer {"connection_id":50949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:41:08] local.INFO: Packet analysis {"connection_id":50949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:41:08] local.INFO: Extracted packet for processing {"connection_id":50949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 21: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-22 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:41:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:41:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":50949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:41:08] local.INFO: GPS data processed {"connection_id":50949,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:41:08] local.INFO: Acknowledgment sent {"connection_id":50949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:41:25] local.INFO: TCP Data received {"connection_id":51611,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:41:25] local.INFO: Processing buffer {"connection_id":51611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:41:25] local.INFO: IMEI packet received {"connection_id":51611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":51611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:41:26] local.INFO: TCP Data received {"connection_id":51612,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:41:26] local.INFO: Processing buffer {"connection_id":51612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:41:26] local.INFO: IMEI packet received {"connection_id":51612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":51612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:41:30] local.INFO: TCP Data received {"connection_id":51611,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:41:30] local.INFO: Processing buffer {"connection_id":51611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:41:30] local.INFO: IMEI packet received {"connection_id":51611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":51611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:41:31] local.INFO: TCP Data received {"connection_id":51611,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:41:31] local.INFO: Processing buffer {"connection_id":51611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:41:31] local.INFO: Packet analysis {"connection_id":51611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:41:31] local.INFO: Extracted packet for processing {"connection_id":51611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:41:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 21: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-22 21:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:41:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:41:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":51611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:41:31] local.INFO: GPS data processed {"connection_id":51611,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:41:31] local.INFO: Acknowledgment sent {"connection_id":51611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:41:32] local.INFO: TCP Data received {"connection_id":51612,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:41:32] local.INFO: Processing buffer {"connection_id":51612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:41:32] local.INFO: IMEI packet received {"connection_id":51612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":51612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:41:32] local.INFO: TCP Data received {"connection_id":51612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:41:32] local.INFO: Processing buffer {"connection_id":51612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:41:32] local.INFO: Packet analysis {"connection_id":51612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:41:32] local.INFO: Extracted packet for processing {"connection_id":51612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:41: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-22 21:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 21: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-22 21:41:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:41:32] 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-22 21:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:41:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":51612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:41:32] local.INFO: GPS data processed {"connection_id":51612,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:41:32] local.INFO: Acknowledgment sent {"connection_id":51612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:42:03] local.INFO: TCP Data received {"connection_id":51611,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:42:03] local.INFO: Processing buffer {"connection_id":51611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:42:03] local.INFO: Packet analysis {"connection_id":51611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:42:03] local.INFO: Extracted packet for processing {"connection_id":51611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:42:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 21:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 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-22 21:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 21:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:42:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:42:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":51611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:42:03] local.INFO: GPS data processed {"connection_id":51611,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:42:03] local.INFO: Acknowledgment sent {"connection_id":51611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:42:03] local.INFO: TCP Data received {"connection_id":51612,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:42:03] local.INFO: Processing buffer {"connection_id":51612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:42:03] local.INFO: Packet analysis {"connection_id":51612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:42:03] local.INFO: Extracted packet for processing {"connection_id":51612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 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-22 21:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42: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-22 21:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 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-22 21:42:03] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 21:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:42:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":51612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:42:04] local.INFO: GPS data processed {"connection_id":51612,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:42:04] local.INFO: Acknowledgment sent {"connection_id":51612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:42:25] local.INFO: TCP Data received {"connection_id":50657,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:42:25] local.INFO: Processing buffer {"connection_id":50657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:42:25] local.INFO: IMEI packet received {"connection_id":50657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":50657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:42:26] local.INFO: TCP Data received {"connection_id":50658,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:42:26] local.INFO: Processing buffer {"connection_id":50658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:42:26] local.INFO: IMEI packet received {"connection_id":50658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":50658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:42:30] local.INFO: TCP Data received {"connection_id":50657,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:42:30] local.INFO: Processing buffer {"connection_id":50657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:42:30] local.INFO: IMEI packet received {"connection_id":50657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":50657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:42:31] local.INFO: TCP Data received {"connection_id":50657,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:42:32] local.INFO: Processing buffer {"connection_id":50657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:42:32] local.INFO: Packet analysis {"connection_id":50657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:42:32] local.INFO: Extracted packet for processing {"connection_id":50657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:42:32] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 21: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-22 21:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:42: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-22 21: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-22 21: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-22 21:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:42:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:42:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":50657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:42:32] local.INFO: GPS data processed {"connection_id":50657,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:42:32] local.INFO: Acknowledgment sent {"connection_id":50657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:42:32] local.INFO: TCP Data received {"connection_id":50658,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:42:32] local.INFO: Processing buffer {"connection_id":50658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:42:32] local.INFO: IMEI packet received {"connection_id":50658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":50658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:42:32] local.INFO: TCP Data received {"connection_id":50658,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:42:32] local.INFO: Processing buffer {"connection_id":50658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:42:32] local.INFO: Packet analysis {"connection_id":50658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:42:32] local.INFO: Extracted packet for processing {"connection_id":50658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:42: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-22 21:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 21: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-22 21:42:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:42:32] 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-22 21:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:42:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":50658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:42:32] local.INFO: GPS data processed {"connection_id":50658,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:42:32] local.INFO: Acknowledgment sent {"connection_id":50658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:43:03] local.INFO: TCP Data received {"connection_id":50658,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:43:03] local.INFO: Processing buffer {"connection_id":50658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:43:03] local.INFO: Packet analysis {"connection_id":50658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:43:03] local.INFO: Extracted packet for processing {"connection_id":50658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43: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-22 21:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 21: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-22 21:43:03] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:43:04] local.INFO: GPS data processed {"connection_id":50658,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:43:04] local.INFO: Acknowledgment sent {"connection_id":50658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:43:04] local.INFO: TCP Data received {"connection_id":50657,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:43:04] local.INFO: Processing buffer {"connection_id":50657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:43:04] local.INFO: Packet analysis {"connection_id":50657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:43:04] local.INFO: Extracted packet for processing {"connection_id":50657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:43:04] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 21:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:43: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-22 21:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:43:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:43:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":50657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:43:04] local.INFO: GPS data processed {"connection_id":50657,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:43:04] local.INFO: Acknowledgment sent {"connection_id":50657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:43:25] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:43:25] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:43:25] local.INFO: IMEI packet received {"connection_id":51037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":51037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:43:26] local.INFO: TCP Data received {"connection_id":51614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:43:26] local.INFO: Processing buffer {"connection_id":51614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:43:26] local.INFO: IMEI packet received {"connection_id":51614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":51614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:43:30] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:43:30] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:43:30] local.INFO: IMEI packet received {"connection_id":51037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":51037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:43:32] local.INFO: TCP Data received {"connection_id":51614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:43:32] local.INFO: Processing buffer {"connection_id":51614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:43:32] local.INFO: IMEI packet received {"connection_id":51614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":51614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:43:32] local.INFO: TCP Data received {"connection_id":51614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:43:32] local.INFO: Processing buffer {"connection_id":51614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f2bb48012d196500071ff038003e00682b..."} 
[2026-04-22 21:43:32] local.INFO: Packet analysis {"connection_id":51614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:43:32] local.INFO: Extracted packet for processing {"connection_id":51614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f2"} 
[2026-04-22 21:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879686656001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43: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-22 21:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874077000,"timestamp_ms":1776874077000,"timestamp_seconds":1776874077,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f2bb48"} 
[2026-04-22 21: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-22 21:43:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:43:32] 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-22 21:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879686656001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879686656001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:43:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879686656001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":51614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:43:32] local.INFO: GPS data processed {"connection_id":51614,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:43:32] local.INFO: Acknowledgment sent {"connection_id":51614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:43:37] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:43:37] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:43:37] local.INFO: Packet analysis {"connection_id":51037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:43:37] local.INFO: Extracted packet for processing {"connection_id":51037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:43:37] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 21:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:43:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:43:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":51037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:43:37] local.INFO: GPS data processed {"connection_id":51037,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:43:37] local.INFO: Acknowledgment sent {"connection_id":51037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:44:03] local.INFO: TCP Data received {"connection_id":51614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:44:03] local.INFO: Processing buffer {"connection_id":51614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:44:03] local.INFO: Packet analysis {"connection_id":51614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:44:03] local.INFO: Extracted packet for processing {"connection_id":51614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44: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-22 21:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:44:03] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:44:03] 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-22 21:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":51614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:44:03] local.INFO: GPS data processed {"connection_id":51614,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:44:03] local.INFO: Acknowledgment sent {"connection_id":51614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:44:08] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:44:08] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:44:08] local.INFO: Packet analysis {"connection_id":51037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:44:08] local.INFO: Extracted packet for processing {"connection_id":51037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:44:08] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 21: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-22 21:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:44:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:44:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":51037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:44:08] local.INFO: GPS data processed {"connection_id":51037,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:44:08] local.INFO: Acknowledgment sent {"connection_id":51037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:44:25] local.INFO: TCP Data received {"connection_id":50951,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:44:25] local.INFO: Processing buffer {"connection_id":50951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:44:25] local.INFO: IMEI packet received {"connection_id":50951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":50951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:44:27] local.INFO: TCP Data received {"connection_id":50659,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:44:27] local.INFO: Processing buffer {"connection_id":50659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:44:27] local.INFO: IMEI packet received {"connection_id":50659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":50659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:44:30] local.INFO: TCP Data received {"connection_id":50660,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:44:30] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:44:30] local.INFO: IMEI packet received {"connection_id":50660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":50660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:44:32] local.INFO: TCP Data received {"connection_id":50659,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:44:32] local.INFO: Processing buffer {"connection_id":50659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:44:32] local.INFO: IMEI packet received {"connection_id":50659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":50659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:44:32] local.INFO: TCP Data received {"connection_id":50659,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:44:32] local.INFO: Processing buffer {"connection_id":50659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:44:32] local.INFO: Packet analysis {"connection_id":50659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:44:32] local.INFO: Extracted packet for processing {"connection_id":50659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44: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-22 21:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:44:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:44:32] 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-22 21:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:44:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":50659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:44:32] local.INFO: GPS data processed {"connection_id":50659,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:44:32] local.INFO: Acknowledgment sent {"connection_id":50659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:44:35] local.INFO: TCP Data received {"connection_id":50660,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:44:35] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:44:35] local.INFO: IMEI packet received {"connection_id":50660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":50660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:44:36] local.INFO: TCP Data received {"connection_id":50660,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:44:36] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:44:36] local.INFO: Packet analysis {"connection_id":50660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:44:36] local.INFO: Extracted packet for processing {"connection_id":50660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 21:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:44:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:44:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":50660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:44:36] local.INFO: GPS data processed {"connection_id":50660,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:44:36] local.INFO: Acknowledgment sent {"connection_id":50660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:44:42] local.INFO: TCP Data received {"connection_id":50660,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:44:42] local.INFO: Processing buffer {"connection_id":50660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:44:42] local.INFO: Packet analysis {"connection_id":50660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:44:42] local.INFO: Extracted packet for processing {"connection_id":50660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:44:42] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 21:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:44:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:44:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":50660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:44:42] local.INFO: GPS data processed {"connection_id":50660,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:44:42] local.INFO: Acknowledgment sent {"connection_id":50660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:44:50] local.INFO: TCP Data received {"connection_id":51038,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:44:50] local.INFO: Processing buffer {"connection_id":51038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:44:50] local.INFO: IMEI packet received {"connection_id":51038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":51038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:45:03] local.INFO: TCP Data received {"connection_id":50659,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:45:03] local.INFO: Processing buffer {"connection_id":50659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:45:03] local.INFO: Packet analysis {"connection_id":50659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:45:03] local.INFO: Extracted packet for processing {"connection_id":50659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45: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-22 21:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:45:03] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:45:03] 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-22 21:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:45:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":50659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:45:04] local.INFO: GPS data processed {"connection_id":50659,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:45:04] local.INFO: Acknowledgment sent {"connection_id":50659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:45:26] local.INFO: TCP Data received {"connection_id":50661,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:45:26] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:45:26] local.INFO: IMEI packet received {"connection_id":50661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":50661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:45:30] local.INFO: TCP Data received {"connection_id":50661,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:45:30] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:45:30] local.INFO: IMEI packet received {"connection_id":50661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":50661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:45:31] local.INFO: TCP Data received {"connection_id":50661,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:45:31] local.INFO: TCP Data received {"connection_id":51615,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:45:31] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f493f0012d77a04005f2a5a8000a015929..."} 
[2026-04-22 21:45:31] local.INFO: Packet analysis {"connection_id":50661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:45:31] local.INFO: Extracted packet for processing {"connection_id":50661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f4"} 
[2026-04-22 21:45:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879716864001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007375872,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874198000,"timestamp_ms":1776874198000,"timestamp_seconds":1776874198,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f493f0"} 
[2026-04-22 21:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-22 21:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:45:31] local.INFO: Processing buffer {"connection_id":51615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:45:31] local.INFO: IMEI packet received {"connection_id":51615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":51615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879716864001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8620804506007375872},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879716864001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:45:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:45:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007375872,"description":"Unknown IO ID 45"} 
[2026-04-22 21:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879716864001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007375872}} 
[2026-04-22 21:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":50661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:45:31] local.INFO: GPS data processed {"connection_id":50661,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:45:31] local.INFO: Acknowledgment sent {"connection_id":50661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:45:37] local.INFO: TCP Data received {"connection_id":51615,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:45:37] local.INFO: Processing buffer {"connection_id":51615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:45:37] local.INFO: IMEI packet received {"connection_id":51615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":51615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:45:38] local.INFO: TCP Data received {"connection_id":51615,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:45:38] local.INFO: Processing buffer {"connection_id":51615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:45:38] local.INFO: Packet analysis {"connection_id":51615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:45:38] local.INFO: Extracted packet for processing {"connection_id":51615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45: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-22 21:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:45:38] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:45: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-22 21: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-22 21: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-22 21:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":51615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":51615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":51615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:45:38] 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-22 21:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:45:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":51615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:45:38] local.INFO: GPS data processed {"connection_id":51615,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:45:38] local.INFO: Acknowledgment sent {"connection_id":51615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:45:42] local.INFO: TCP Data received {"connection_id":51615,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:45:42] local.INFO: Processing buffer {"connection_id":51615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:45:42] local.INFO: Packet analysis {"connection_id":51615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:45:42] local.INFO: Extracted packet for processing {"connection_id":51615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21: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-22 21:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:45:42] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:45:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":51615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:45:42] local.INFO: GPS data processed {"connection_id":51615,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:45:42] local.INFO: Acknowledgment sent {"connection_id":51615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:46:02] local.INFO: TCP Data received {"connection_id":50661,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:46:02] local.INFO: Processing buffer {"connection_id":50661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:46:02] local.INFO: Packet analysis {"connection_id":50661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:46:02] local.INFO: Extracted packet for processing {"connection_id":50661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:46:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 21: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-22 21:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:46:02] 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-22 21: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-22 21: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-22 21:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:46:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:46:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":50661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:46:02] local.INFO: GPS data processed {"connection_id":50661,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:46:02] local.INFO: Acknowledgment sent {"connection_id":50661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:46:26] local.INFO: TCP Data received {"connection_id":51039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:46:26] local.INFO: Processing buffer {"connection_id":51039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:46:26] local.INFO: IMEI packet received {"connection_id":51039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":51039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:46:30] local.INFO: TCP Data received {"connection_id":51040,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:46:30] local.INFO: Processing buffer {"connection_id":51040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:46:30] local.INFO: IMEI packet received {"connection_id":51040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":51040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:46:32] local.INFO: TCP Data received {"connection_id":51039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:46:32] local.INFO: Processing buffer {"connection_id":51039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:46:32] local.INFO: IMEI packet received {"connection_id":51039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":51039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:46:32] local.INFO: TCP Data received {"connection_id":51039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:46:32] local.INFO: Processing buffer {"connection_id":51039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:46:32] local.INFO: Packet analysis {"connection_id":51039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:46:32] local.INFO: Extracted packet for processing {"connection_id":51039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46: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-22 21:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:46:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:46:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":51039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:46:32] local.INFO: GPS data processed {"connection_id":51039,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:46:32] local.INFO: Acknowledgment sent {"connection_id":51039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:46:35] local.INFO: TCP Data received {"connection_id":51040,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:46:35] local.INFO: Processing buffer {"connection_id":51040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:46:35] local.INFO: IMEI packet received {"connection_id":51040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":51040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:46:36] local.INFO: TCP Data received {"connection_id":51040,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:46:36] local.INFO: Processing buffer {"connection_id":51040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:46:36] local.INFO: Packet analysis {"connection_id":51040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:46:36] local.INFO: Extracted packet for processing {"connection_id":51040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 21:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:46:36] 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-22 21:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:46:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:46:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":51040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:46:36] local.INFO: GPS data processed {"connection_id":51040,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:46:36] local.INFO: Acknowledgment sent {"connection_id":51040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:46:41] local.INFO: TCP Data received {"connection_id":51040,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:46:41] local.INFO: Processing buffer {"connection_id":51040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:46:41] local.INFO: Packet analysis {"connection_id":51040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:46:41] local.INFO: Extracted packet for processing {"connection_id":51040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 21:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:46:41] 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-22 21:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:46:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:46:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":51040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:46:41] local.INFO: GPS data processed {"connection_id":51040,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:46:41] local.INFO: Acknowledgment sent {"connection_id":51040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:47:04] local.INFO: TCP Data received {"connection_id":51039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:47:04] local.INFO: Processing buffer {"connection_id":51039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:47:04] local.INFO: Packet analysis {"connection_id":51039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:47:04] local.INFO: Extracted packet for processing {"connection_id":51039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:47: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-22 21:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:47:04] 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-22 21:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:47:04] local.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-22 21:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:47:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":51039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:47:04] local.INFO: GPS data processed {"connection_id":51039,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:47:04] local.INFO: Acknowledgment sent {"connection_id":51039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:47:25] local.INFO: TCP Data received {"connection_id":50953,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:47:25] local.INFO: Processing buffer {"connection_id":50953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:47:25] local.INFO: IMEI packet received {"connection_id":50953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":50953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:47:26] local.INFO: TCP Data received {"connection_id":51616,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:47:26] local.INFO: Processing buffer {"connection_id":51616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:47:26] local.INFO: IMEI packet received {"connection_id":51616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":51616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:47:30] local.INFO: TCP Data received {"connection_id":50953,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:47:30] local.INFO: Processing buffer {"connection_id":50953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:47:30] local.INFO: IMEI packet received {"connection_id":50953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":50953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:47:31] local.INFO: TCP Data received {"connection_id":50953,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:47:31] local.INFO: Processing buffer {"connection_id":50953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:47:31] local.INFO: Packet analysis {"connection_id":50953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:47:31] local.INFO: Extracted packet for processing {"connection_id":50953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:47:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 21:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:47:31] 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-22 21:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:47:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:47:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":50953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:47:31] local.INFO: GPS data processed {"connection_id":50953,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:47:31] local.INFO: Acknowledgment sent {"connection_id":50953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:47:31] local.INFO: TCP Data received {"connection_id":51616,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:47:31] local.INFO: Processing buffer {"connection_id":51616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:47:31] local.INFO: IMEI packet received {"connection_id":51616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":51616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:47:32] local.INFO: TCP Data received {"connection_id":51616,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:47:32] local.INFO: Processing buffer {"connection_id":51616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:47:32] local.INFO: Packet analysis {"connection_id":51616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:47:32] local.INFO: Extracted packet for processing {"connection_id":51616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:47: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-22 21:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:47:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:47:32] 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-22 21:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:47:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":51616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:47:32] local.INFO: GPS data processed {"connection_id":51616,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:47:32] local.INFO: Acknowledgment sent {"connection_id":51616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:48:03] local.INFO: TCP Data received {"connection_id":50953,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:48:03] local.INFO: Processing buffer {"connection_id":50953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:48:03] local.INFO: Packet analysis {"connection_id":50953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:48:03] local.INFO: Extracted packet for processing {"connection_id":50953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 21:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 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-22 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:48: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-22 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-22 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-22 21:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:48:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:48:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":50953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:48:03] local.INFO: GPS data processed {"connection_id":50953,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:48:03] local.INFO: Acknowledgment sent {"connection_id":50953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:48:04] local.INFO: TCP Data received {"connection_id":51616,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:48:04] local.INFO: Processing buffer {"connection_id":51616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:48:04] local.INFO: Packet analysis {"connection_id":51616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:48:04] local.INFO: Extracted packet for processing {"connection_id":51616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48: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-22 21:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:48:04] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:48:04] 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-22 21:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:48:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":51616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:48:04] local.INFO: GPS data processed {"connection_id":51616,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:48:04] local.INFO: Acknowledgment sent {"connection_id":51616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:48:25] local.INFO: TCP Data received {"connection_id":50954,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:48:25] local.INFO: Processing buffer {"connection_id":50954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:48:25] local.INFO: IMEI packet received {"connection_id":50954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":50954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:48:26] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:48:26] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:48:26] local.INFO: IMEI packet received {"connection_id":50955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":50955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:48:30] local.INFO: TCP Data received {"connection_id":50954,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:48:30] local.INFO: Processing buffer {"connection_id":50954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:48:30] local.INFO: IMEI packet received {"connection_id":50954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":50954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:48:31] local.INFO: TCP Data received {"connection_id":50954,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:48:31] local.INFO: Processing buffer {"connection_id":50954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:48:31] local.INFO: Packet analysis {"connection_id":50954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:48:31] local.INFO: Extracted packet for processing {"connection_id":50954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:48:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 21: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-22 21:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:48:31] 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-22 21: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-22 21: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-22 21:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:48:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:48:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":50954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:48:31] local.INFO: GPS data processed {"connection_id":50954,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:48:31] local.INFO: Acknowledgment sent {"connection_id":50954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:48:32] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:48:32] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:48:32] local.INFO: IMEI packet received {"connection_id":50955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":50955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:48:32] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:48:32] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f75310012d196500071ff038003e00682d..."} 
[2026-04-22 21:48:32] local.INFO: Packet analysis {"connection_id":50955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:48:32] local.INFO: Extracted packet for processing {"connection_id":50955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f7"} 
[2026-04-22 21:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879763712001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:48: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-22 21:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874378000,"timestamp_ms":1776874378000,"timestamp_seconds":1776874378,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f75310"} 
[2026-04-22 21: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-22 21:48:32] 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-22 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879763712001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879763712001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:48:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879763712001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":50955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:48:33] local.INFO: GPS data processed {"connection_id":50955,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:48:33] local.INFO: Acknowledgment sent {"connection_id":50955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:49:03] local.INFO: TCP Data received {"connection_id":50954,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:49:03] local.INFO: Processing buffer {"connection_id":50954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:49:03] local.INFO: Packet analysis {"connection_id":50954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:49:03] local.INFO: Extracted packet for processing {"connection_id":50954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:49:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 21:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:49: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-22 21:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:49:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:49:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":50954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:49:03] local.INFO: GPS data processed {"connection_id":50954,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:49:03] local.INFO: Acknowledgment sent {"connection_id":50954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:49:03] local.INFO: TCP Data received {"connection_id":50955,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:49:03] local.INFO: Processing buffer {"connection_id":50955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:49:03] local.INFO: Packet analysis {"connection_id":50955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:49:03] local.INFO: Extracted packet for processing {"connection_id":50955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49: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-22 21:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:49:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":50955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:49:03] local.INFO: GPS data processed {"connection_id":50955,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:49:03] local.INFO: Acknowledgment sent {"connection_id":50955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:49:25] local.INFO: TCP Data received {"connection_id":51617,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:49:25] local.INFO: Processing buffer {"connection_id":51617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:49:25] local.INFO: IMEI packet received {"connection_id":51617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":51617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:49:26] local.INFO: TCP Data received {"connection_id":51618,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:49:26] local.INFO: Processing buffer {"connection_id":51618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:49:26] local.INFO: IMEI packet received {"connection_id":51618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":51618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:49:30] local.INFO: TCP Data received {"connection_id":51617,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:49:30] local.INFO: Processing buffer {"connection_id":51617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:49:30] local.INFO: IMEI packet received {"connection_id":51617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":51617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:49:31] local.INFO: TCP Data received {"connection_id":51617,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:49:31] local.INFO: Processing buffer {"connection_id":51617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:49:31] local.INFO: Packet analysis {"connection_id":51617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:49:31] local.INFO: Extracted packet for processing {"connection_id":51617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:49:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 21: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-22 21:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:49:31] 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-22 21: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-22 21: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-22 21:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:49:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:49:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":51617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:49:31] local.INFO: GPS data processed {"connection_id":51617,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:49:31] local.INFO: Acknowledgment sent {"connection_id":51617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:49:32] local.INFO: TCP Data received {"connection_id":51618,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:49:32] local.INFO: Processing buffer {"connection_id":51618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:49:32] local.INFO: IMEI packet received {"connection_id":51618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":51618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:49:32] local.INFO: TCP Data received {"connection_id":51618,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:49:32] local.INFO: Processing buffer {"connection_id":51618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:49:32] local.INFO: Packet analysis {"connection_id":51618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:49:32] local.INFO: Extracted packet for processing {"connection_id":51618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:49: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-22 21:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21: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-22 21:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:49:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":51618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:49:32] local.INFO: GPS data processed {"connection_id":51618,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:49:32] local.INFO: Acknowledgment sent {"connection_id":51618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:50:03] local.INFO: TCP Data received {"connection_id":51618,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:50:03] local.INFO: Processing buffer {"connection_id":51618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:50:03] local.INFO: Packet analysis {"connection_id":51618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:50:03] local.INFO: Extracted packet for processing {"connection_id":51618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50: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-22 21:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21: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-22 21:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:50:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":51618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:50:03] local.INFO: GPS data processed {"connection_id":51618,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:50:03] local.INFO: Acknowledgment sent {"connection_id":51618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:50:04] local.INFO: TCP Data received {"connection_id":51617,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:50:04] local.INFO: Processing buffer {"connection_id":51617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:50:04] local.INFO: Packet analysis {"connection_id":51617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:50:04] local.INFO: Extracted packet for processing {"connection_id":51617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 21:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:50:04] 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-22 21:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:50:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:50:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":51617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:50:04] local.INFO: GPS data processed {"connection_id":51617,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:50:04] local.INFO: Acknowledgment sent {"connection_id":51617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:50:20] local.INFO: TCP Data received {"connection_id":51041,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:50:20] local.INFO: Processing buffer {"connection_id":51041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:50:20] local.INFO: IMEI packet received {"connection_id":51041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":51041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:50:25] local.INFO: TCP Data received {"connection_id":51042,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:50:25] local.INFO: Processing buffer {"connection_id":51042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:50:25] local.INFO: IMEI packet received {"connection_id":51042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":51042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:50:30] local.INFO: TCP Data received {"connection_id":51042,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:50:30] local.INFO: Processing buffer {"connection_id":51042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:50:30] local.INFO: IMEI packet received {"connection_id":51042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":51042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:50:31] local.INFO: TCP Data received {"connection_id":51042,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:50:31] local.INFO: Processing buffer {"connection_id":51042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5f92bb8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:50:31] local.INFO: Packet analysis {"connection_id":51042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:50:31] local.INFO: Extracted packet for processing {"connection_id":51042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5f9"} 
[2026-04-22 21:50:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 21:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879794688001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874499000,"timestamp_ms":1776874499000,"timestamp_seconds":1776874499,"priority":1,"record_length":96,"hex_timestamp":"0000019db5f92bb8"} 
[2026-04-22 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-22 21:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:50:31] 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-22 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-22 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-22 21:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879794688001,"66":25778,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879794688001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:50:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:50:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879794688001,"power":25778,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":51042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:50:31] local.INFO: GPS data processed {"connection_id":51042,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:50:31] local.INFO: Acknowledgment sent {"connection_id":51042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:50:32] local.INFO: TCP Data received {"connection_id":50664,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:50:32] local.INFO: Processing buffer {"connection_id":50664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:50:32] local.INFO: IMEI packet received {"connection_id":50664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":50664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:50:37] local.INFO: TCP Data received {"connection_id":50664,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:50:37] local.INFO: Processing buffer {"connection_id":50664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:50:37] local.INFO: IMEI packet received {"connection_id":50664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":50664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:50:38] local.INFO: TCP Data received {"connection_id":50664,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:50:38] local.INFO: Processing buffer {"connection_id":50664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:50:38] local.INFO: Packet analysis {"connection_id":50664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:50:38] local.INFO: Extracted packet for processing {"connection_id":50664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50: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-22 21:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21: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-22 21:50:38] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":50664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":50664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":50664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:50:38] 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-22 21:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:50:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":50664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:50:38] local.INFO: GPS data processed {"connection_id":50664,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:50:38] local.INFO: Acknowledgment sent {"connection_id":50664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:50:42] local.INFO: TCP Data received {"connection_id":50664,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:50:42] local.INFO: Processing buffer {"connection_id":50664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:50:42] local.INFO: Packet analysis {"connection_id":50664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:50:42] local.INFO: Extracted packet for processing {"connection_id":50664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:50:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":50664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:50:42] local.INFO: GPS data processed {"connection_id":50664,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:50:42] local.INFO: Acknowledgment sent {"connection_id":50664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:50:55] local.INFO: TCP Data received {"connection_id":51043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:50:55] local.INFO: Processing buffer {"connection_id":51043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:50:55] local.INFO: IMEI packet received {"connection_id":51043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":51043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:51:03] local.INFO: TCP Data received {"connection_id":51042,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:51:03] local.INFO: Processing buffer {"connection_id":51042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:51:03] local.INFO: Packet analysis {"connection_id":51042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:51:03] local.INFO: Extracted packet for processing {"connection_id":51042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:51: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-22 21:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:51: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-22 21:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:51:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:51:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":51042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:51:03] local.INFO: GPS data processed {"connection_id":51042,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:51:03] local.INFO: Acknowledgment sent {"connection_id":51042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:51:25] local.INFO: TCP Data received {"connection_id":50957,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:51:25] local.INFO: Processing buffer {"connection_id":50957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:51:25] local.INFO: IMEI packet received {"connection_id":50957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":50957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:51:27] local.INFO: TCP Data received {"connection_id":50958,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:51:27] local.INFO: Processing buffer {"connection_id":50958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:51:27] local.INFO: IMEI packet received {"connection_id":50958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":50958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:51:30] local.INFO: TCP Data received {"connection_id":50957,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:51:30] local.INFO: Processing buffer {"connection_id":50957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:51:30] local.INFO: IMEI packet received {"connection_id":50957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":50957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:51:31] local.INFO: TCP Data received {"connection_id":50957,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:51:31] local.INFO: Processing buffer {"connection_id":50957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:51:31] local.INFO: Packet analysis {"connection_id":50957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:51:31] local.INFO: Extracted packet for processing {"connection_id":50957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:51:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21: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-22 21:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:51:31] 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-22 21: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-22 21: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-22 21:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:51:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:51:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":50957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:51:31] local.INFO: GPS data processed {"connection_id":50957,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:51:31] local.INFO: Acknowledgment sent {"connection_id":50957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:51:32] local.INFO: TCP Data received {"connection_id":50958,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:51:32] local.INFO: Processing buffer {"connection_id":50958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:51:32] local.INFO: IMEI packet received {"connection_id":50958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":50958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:51:32] local.INFO: TCP Data received {"connection_id":50958,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:51:32] local.INFO: Processing buffer {"connection_id":50958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:51:32] local.INFO: Packet analysis {"connection_id":50958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:51:32] local.INFO: Extracted packet for processing {"connection_id":50958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:51: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-22 21:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21: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-22 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:51:32] 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-22 21:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:51:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":50958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:51:33] local.INFO: GPS data processed {"connection_id":50958,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:51:33] local.INFO: Acknowledgment sent {"connection_id":50958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:52:03] local.INFO: TCP Data received {"connection_id":50957,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:52:03] local.INFO: Processing buffer {"connection_id":50957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:52:03] local.INFO: Packet analysis {"connection_id":50957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:52:03] local.INFO: Extracted packet for processing {"connection_id":50957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:52:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21: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-22 21:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:52: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-22 21: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-22 21: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-22 21:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:52:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:52:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":50957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:52:03] local.INFO: GPS data processed {"connection_id":50957,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:52:03] local.INFO: Acknowledgment sent {"connection_id":50957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:52:04] local.INFO: TCP Data received {"connection_id":50958,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:52:04] local.INFO: Processing buffer {"connection_id":50958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:52:04] local.INFO: Packet analysis {"connection_id":50958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:52:04] local.INFO: Extracted packet for processing {"connection_id":50958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52: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-22 21:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21: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-22 21:52:04] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:52:04] 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-22 21:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:52:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":50958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:52:04] local.INFO: GPS data processed {"connection_id":50958,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:52:04] local.INFO: Acknowledgment sent {"connection_id":50958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:52:25] local.INFO: TCP Data received {"connection_id":50960,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:52:25] local.INFO: Processing buffer {"connection_id":50960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:52:25] local.INFO: IMEI packet received {"connection_id":50960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":50960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:52:27] local.INFO: TCP Data received {"connection_id":50961,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:52:27] local.INFO: Processing buffer {"connection_id":50961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:52:27] local.INFO: IMEI packet received {"connection_id":50961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":50961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:52:30] local.INFO: TCP Data received {"connection_id":50960,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:52:30] local.INFO: Processing buffer {"connection_id":50960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:52:30] local.INFO: IMEI packet received {"connection_id":50960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":50960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:52:31] local.INFO: TCP Data received {"connection_id":50960,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:52:31] local.INFO: Processing buffer {"connection_id":50960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:52:31] local.INFO: Packet analysis {"connection_id":50960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:52:31] local.INFO: Extracted packet for processing {"connection_id":50960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:52:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21: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-22 21:52: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-22 21:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:52:31] 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-22 21: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-22 21: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-22 21:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:52:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:52:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":50960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:52:31] local.INFO: GPS data processed {"connection_id":50960,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:52:31] local.INFO: Acknowledgment sent {"connection_id":50960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:52:32] local.INFO: TCP Data received {"connection_id":50961,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:52:32] local.INFO: Processing buffer {"connection_id":50961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:52:32] local.INFO: IMEI packet received {"connection_id":50961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":50961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:52:32] local.INFO: TCP Data received {"connection_id":50961,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:52:32] local.INFO: Processing buffer {"connection_id":50961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:52:32] local.INFO: Packet analysis {"connection_id":50961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:52:32] local.INFO: Extracted packet for processing {"connection_id":50961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:52: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-22 21:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:52:32] 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-22 21:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:52:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":50961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:52:32] local.INFO: GPS data processed {"connection_id":50961,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:52:32] local.INFO: Acknowledgment sent {"connection_id":50961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:53:03] local.INFO: TCP Data received {"connection_id":50960,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:53:03] local.INFO: Processing buffer {"connection_id":50960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:53:03] local.INFO: Packet analysis {"connection_id":50960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:53:03] local.INFO: Extracted packet for processing {"connection_id":50960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:53:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21: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-22 21:53: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-22 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:53: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-22 21: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-22 21: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-22 21:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:53:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:53:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":50960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:53:03] local.INFO: GPS data processed {"connection_id":50960,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:53:03] local.INFO: Acknowledgment sent {"connection_id":50960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:53:04] local.INFO: TCP Data received {"connection_id":50961,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:53:04] local.INFO: Processing buffer {"connection_id":50961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:53:04] local.INFO: Packet analysis {"connection_id":50961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:53:04] local.INFO: Extracted packet for processing {"connection_id":50961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53: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-22 21:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:53:04] 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-22 21:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:53:04] 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-22 21:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":50961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:53:04] local.INFO: GPS data processed {"connection_id":50961,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:53:04] local.INFO: Acknowledgment sent {"connection_id":50961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:53:25] local.INFO: TCP Data received {"connection_id":50666,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:53:25] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:53:25] local.INFO: IMEI packet received {"connection_id":50666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":50666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:53:26] local.INFO: TCP Data received {"connection_id":50962,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:53:26] local.INFO: Processing buffer {"connection_id":50962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:53:26] local.INFO: IMEI packet received {"connection_id":50962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":50962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:53:30] local.INFO: TCP Data received {"connection_id":50666,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:53:30] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:53:30] local.INFO: IMEI packet received {"connection_id":50666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":50666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:53:31] local.INFO: TCP Data received {"connection_id":50666,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:53:31] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:53:31] local.INFO: Packet analysis {"connection_id":50666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:53:31] local.INFO: Extracted packet for processing {"connection_id":50666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:53:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21: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-22 21:53: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-22 21:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:53:31] 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-22 21: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-22 21: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-22 21:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:53:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:53:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":50666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:53:31] local.INFO: GPS data processed {"connection_id":50666,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:53:31] local.INFO: Acknowledgment sent {"connection_id":50666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:53:32] local.INFO: TCP Data received {"connection_id":50962,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:53:32] local.INFO: Processing buffer {"connection_id":50962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:53:32] local.INFO: IMEI packet received {"connection_id":50962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":50962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:53:32] local.INFO: TCP Data received {"connection_id":50962,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:53:32] local.INFO: Processing buffer {"connection_id":50962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fbead8012d196500071ff038003e00682d..."} 
[2026-04-22 21:53:32] local.INFO: Packet analysis {"connection_id":50962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:53:32] local.INFO: Extracted packet for processing {"connection_id":50962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fb"} 
[2026-04-22 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":62,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879840768001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:53: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-22 21:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874679000,"timestamp_ms":1776874679000,"timestamp_seconds":1776874679,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fbead8"} 
[2026-04-22 21: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-22 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879840768001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879840768001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:53:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879840768001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":50962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:53:32] local.INFO: GPS data processed {"connection_id":50962,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:53:32] local.INFO: Acknowledgment sent {"connection_id":50962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:54:03] local.INFO: TCP Data received {"connection_id":50666,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:54:03] local.INFO: Processing buffer {"connection_id":50666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:54:03] local.INFO: Packet analysis {"connection_id":50666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:54:03] local.INFO: Extracted packet for processing {"connection_id":50666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:54:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21: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-22 21:54: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-22 21: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:54: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-22 21: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-22 21: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-22 21:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:54:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:54:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":50666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:54:03] local.INFO: GPS data processed {"connection_id":50666,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:54:03] local.INFO: Acknowledgment sent {"connection_id":50666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:54:03] local.INFO: TCP Data received {"connection_id":50962,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:54:03] local.INFO: Processing buffer {"connection_id":50962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:54:03] local.INFO: Packet analysis {"connection_id":50962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:54:03] local.INFO: Extracted packet for processing {"connection_id":50962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54: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-22 21:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21: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-22 21:54:03] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:54:03] local.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-22 21:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:54:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":50962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:54:03] local.INFO: GPS data processed {"connection_id":50962,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:54:03] local.INFO: Acknowledgment sent {"connection_id":50962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:54:26] local.INFO: TCP Data received {"connection_id":51045,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:54:26] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:54:26] local.INFO: IMEI packet received {"connection_id":51045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":51045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:54:30] local.INFO: TCP Data received {"connection_id":51044,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:54:30] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:54:30] local.INFO: IMEI packet received {"connection_id":51044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":51044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:54:32] local.INFO: TCP Data received {"connection_id":51045,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:54:32] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:54:32] local.INFO: IMEI packet received {"connection_id":51045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":51045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:54:32] local.INFO: TCP Data received {"connection_id":51045,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:54:32] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:54:32] local.INFO: Packet analysis {"connection_id":51045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:54:32] local.INFO: Extracted packet for processing {"connection_id":51045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54: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-22 21:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21: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-22 21:54:32] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:54:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":51045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:54:32] local.INFO: GPS data processed {"connection_id":51045,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:54:32] local.INFO: Acknowledgment sent {"connection_id":51045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:54:35] local.INFO: TCP Data received {"connection_id":51044,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:54:35] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:54:35] local.INFO: IMEI packet received {"connection_id":51044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":51044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:54:36] local.INFO: TCP Data received {"connection_id":51044,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:54:36] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:54:36] local.INFO: Packet analysis {"connection_id":51044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:54:36] local.INFO: Extracted packet for processing {"connection_id":51044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:54: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-22 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:54:36] 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-22 21:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:54:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:54:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":51044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:54:36] local.INFO: GPS data processed {"connection_id":51044,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:54:36] local.INFO: Acknowledgment sent {"connection_id":51044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:54:41] local.INFO: TCP Data received {"connection_id":51044,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:54:41] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:54:41] local.INFO: Packet analysis {"connection_id":51044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:54:41] local.INFO: Extracted packet for processing {"connection_id":51044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:54:41] 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-22 21:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:54:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:54:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":51044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:54:41] local.INFO: GPS data processed {"connection_id":51044,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:54:41] local.INFO: Acknowledgment sent {"connection_id":51044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:55:04] local.INFO: TCP Data received {"connection_id":51045,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:55:04] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:55:04] local.INFO: Packet analysis {"connection_id":51045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:55:04] local.INFO: Extracted packet for processing {"connection_id":51045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55: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-22 21:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:55:04] 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-22 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":51045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:55:04] local.INFO: GPS data processed {"connection_id":51045,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:55:04] local.INFO: Acknowledgment sent {"connection_id":51045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:55:25] local.INFO: TCP Data received {"connection_id":50668,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:55:25] local.INFO: Processing buffer {"connection_id":50668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:55:25] local.INFO: IMEI packet received {"connection_id":50668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":50668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:55:30] local.INFO: TCP Data received {"connection_id":50668,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:55:30] local.INFO: Processing buffer {"connection_id":50668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:55:30] local.INFO: IMEI packet received {"connection_id":50668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":50668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:55:31] local.INFO: TCP Data received {"connection_id":50668,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:55:31] local.INFO: Processing buffer {"connection_id":50668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5fdc380012d77a04005f2a5a8000a01592e..."} 
[2026-04-22 21:55:31] local.INFO: Packet analysis {"connection_id":50668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:55:31] local.INFO: Extracted packet for processing {"connection_id":50668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5fd"} 
[2026-04-22 21:55:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879871744001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776874800000,"timestamp_ms":1776874800000,"timestamp_seconds":1776874800,"priority":1,"record_length":96,"hex_timestamp":"0000019db5fdc380"} 
[2026-04-22 21: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-22 21: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-22 21:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-22 21:55:31] 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-22 21: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-22 21: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-22 21:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879871744001,"66":25712,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879871744001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:55:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:55:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879871744001,"power":25712,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":50668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:55:31] local.INFO: GPS data processed {"connection_id":50668,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:55:31] local.INFO: Acknowledgment sent {"connection_id":50668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:55:32] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:55:32] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:55:32] local.INFO: IMEI packet received {"connection_id":50964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":50964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:55:37] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:55:37] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:55:37] local.INFO: IMEI packet received {"connection_id":50964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":50964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:55:37] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:55:37] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:55:37] local.INFO: Packet analysis {"connection_id":50964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:55:37] local.INFO: Extracted packet for processing {"connection_id":50964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:55:37] 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-22 21:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:55:37] local.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-22 21:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:55:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":50964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:55:37] local.INFO: GPS data processed {"connection_id":50964,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:55:37] local.INFO: Acknowledgment sent {"connection_id":50964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:55:42] local.INFO: TCP Data received {"connection_id":50964,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:55:42] local.INFO: Processing buffer {"connection_id":50964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:55:42] local.INFO: Packet analysis {"connection_id":50964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:55:42] local.INFO: Extracted packet for processing {"connection_id":50964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:55: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-22 21:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21: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-22 21:55:42] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:55:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":50964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:55:42] local.INFO: GPS data processed {"connection_id":50964,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:55:42] local.INFO: Acknowledgment sent {"connection_id":50964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:56:02] local.INFO: TCP Data received {"connection_id":50668,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:56:02] local.INFO: Processing buffer {"connection_id":50668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:56:02] local.INFO: Packet analysis {"connection_id":50668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:56:02] local.INFO: Extracted packet for processing {"connection_id":50668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 21: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-22 21:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 21:56:02] 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-22 21: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-22 21: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-22 21:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:56:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:56:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":50668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:56:02] local.INFO: GPS data processed {"connection_id":50668,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:56:02] local.INFO: Acknowledgment sent {"connection_id":50668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:56:15] local.INFO: TCP Data received {"connection_id":50669,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:56:15] local.INFO: Processing buffer {"connection_id":50669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:56:15] local.INFO: IMEI packet received {"connection_id":50669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":50669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:56:25] local.INFO: TCP Data received {"connection_id":51046,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:56:25] local.INFO: Processing buffer {"connection_id":51046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:56:25] local.INFO: IMEI packet received {"connection_id":51046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":51046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:56:27] local.INFO: TCP Data received {"connection_id":51619,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:56:27] local.INFO: Processing buffer {"connection_id":51619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:56:27] local.INFO: IMEI packet received {"connection_id":51619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":51619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:56:30] local.INFO: TCP Data received {"connection_id":51046,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:56:30] local.INFO: Processing buffer {"connection_id":51046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:56:30] local.INFO: IMEI packet received {"connection_id":51046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":51046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:56:31] local.INFO: TCP Data received {"connection_id":51046,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:56:31] local.INFO: Processing buffer {"connection_id":51046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:56:31] local.INFO: Packet analysis {"connection_id":51046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:56:31] local.INFO: Extracted packet for processing {"connection_id":51046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:56:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 21:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 21:56:31] 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-22 21:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:56:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:56:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":51046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:56:31] local.INFO: GPS data processed {"connection_id":51046,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:56:31] local.INFO: Acknowledgment sent {"connection_id":51046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:56:32] local.INFO: TCP Data received {"connection_id":51619,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:56:32] local.INFO: Processing buffer {"connection_id":51619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:56:32] local.INFO: IMEI packet received {"connection_id":51619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":51619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:56:32] local.INFO: TCP Data received {"connection_id":51619,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:56:32] local.INFO: Processing buffer {"connection_id":51619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:56:32] local.INFO: Packet analysis {"connection_id":51619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:56:32] local.INFO: Extracted packet for processing {"connection_id":51619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:56: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-22 21:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21: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-22 21:56:32] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:56:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":51619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:56:32] local.INFO: GPS data processed {"connection_id":51619,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:56:32] local.INFO: Acknowledgment sent {"connection_id":51619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:56:50] local.INFO: TCP Data received {"connection_id":50965,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:56:50] local.INFO: Processing buffer {"connection_id":50965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 21:56:50] local.INFO: IMEI packet received {"connection_id":50965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 21:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":50965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:57:03] local.INFO: TCP Data received {"connection_id":51046,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:57:03] local.INFO: Processing buffer {"connection_id":51046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:57:03] local.INFO: Packet analysis {"connection_id":51046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:57:03] local.INFO: Extracted packet for processing {"connection_id":51046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 21: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-22 21:57: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-22 21: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 21:57: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-22 21: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-22 21: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-22 21:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":51046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:57:03] local.INFO: GPS data processed {"connection_id":51046,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:57:03] local.INFO: Acknowledgment sent {"connection_id":51046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:57:03] local.INFO: TCP Data received {"connection_id":51619,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:57:03] local.INFO: Processing buffer {"connection_id":51619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:57:03] local.INFO: Packet analysis {"connection_id":51619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:57:03] local.INFO: Extracted packet for processing {"connection_id":51619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57: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-22 21:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21: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-22 21:57:03] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21: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-22 21: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-22 21:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:57:03] local.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-22 21:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":51619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:57:04] local.INFO: GPS data processed {"connection_id":51619,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:57:04] local.INFO: Acknowledgment sent {"connection_id":51619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:57:29] local.INFO: TCP Data received {"connection_id":50966,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:57:29] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:57:29] local.INFO: IMEI packet received {"connection_id":50966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":50966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:57:30] local.INFO: TCP Data received {"connection_id":51620,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:57:30] local.INFO: Processing buffer {"connection_id":51620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:57:30] local.INFO: IMEI packet received {"connection_id":51620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":51620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:57:31] local.INFO: TCP Data received {"connection_id":50966,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:57:31] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:57:31] local.INFO: IMEI packet received {"connection_id":50966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":50966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:57:32] local.INFO: TCP Data received {"connection_id":50966,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:57:32] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:57:32] local.INFO: Packet analysis {"connection_id":50966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:57:32] local.INFO: Extracted packet for processing {"connection_id":50966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57: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-22 21:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21: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-22 21:57:32] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:57:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":50966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:57:32] local.INFO: GPS data processed {"connection_id":50966,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:57:32] local.INFO: Acknowledgment sent {"connection_id":50966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:57:35] local.INFO: TCP Data received {"connection_id":51620,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:57:35] local.INFO: Processing buffer {"connection_id":51620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:57:35] local.INFO: IMEI packet received {"connection_id":51620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":51620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:57:36] local.INFO: TCP Data received {"connection_id":51620,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:57:36] local.INFO: Processing buffer {"connection_id":51620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:57:36] local.INFO: Packet analysis {"connection_id":51620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:57:36] local.INFO: Extracted packet for processing {"connection_id":51620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:57:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 21:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:57: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-22 21:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 21:57:36] 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-22 21:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:57:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:57:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":51620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:57:36] local.INFO: GPS data processed {"connection_id":51620,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:57:36] local.INFO: Acknowledgment sent {"connection_id":51620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:57:37] local.INFO: TCP Data received {"connection_id":50966,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:57:37] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:57:37] local.INFO: Packet analysis {"connection_id":50966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:57:37] local.INFO: Extracted packet for processing {"connection_id":50966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:57:37] 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-22 21:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:57:37] 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-22 21:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:57:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":50966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:57:37] local.INFO: GPS data processed {"connection_id":50966,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:57:37] local.INFO: Acknowledgment sent {"connection_id":50966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:57:44] local.INFO: TCP Data received {"connection_id":51620,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:57:44] local.INFO: Processing buffer {"connection_id":51620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:57:44] local.INFO: Packet analysis {"connection_id":51620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:57:44] local.INFO: Extracted packet for processing {"connection_id":51620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 21:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 21:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 21:57:44] 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-22 21:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":51620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":51620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":51620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:57:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:57:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":51620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:57:44] local.INFO: GPS data processed {"connection_id":51620,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:57:44] local.INFO: Acknowledgment sent {"connection_id":51620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:58:08] local.INFO: TCP Data received {"connection_id":50966,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:58:08] local.INFO: Processing buffer {"connection_id":50966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:58:08] local.INFO: Packet analysis {"connection_id":50966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:58:08] local.INFO: Extracted packet for processing {"connection_id":50966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21: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-22 21:58:08] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:58: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-22 21: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-22 21: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-22 21:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:58:08] 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-22 21:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":50966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:58:08] local.INFO: GPS data processed {"connection_id":50966,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:58:08] local.INFO: Acknowledgment sent {"connection_id":50966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:58:25] local.INFO: TCP Data received {"connection_id":51621,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:58:25] local.INFO: Processing buffer {"connection_id":51621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:58:25] local.INFO: IMEI packet received {"connection_id":51621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":51621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:58:26] local.INFO: TCP Data received {"connection_id":50670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:58:26] local.INFO: Processing buffer {"connection_id":50670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:58:26] local.INFO: IMEI packet received {"connection_id":50670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":50670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:58:30] local.INFO: TCP Data received {"connection_id":51621,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:58:30] local.INFO: Processing buffer {"connection_id":51621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:58:30] local.INFO: IMEI packet received {"connection_id":51621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":51621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:58:31] local.INFO: TCP Data received {"connection_id":51621,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:58:31] local.INFO: Processing buffer {"connection_id":51621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:58:31] local.INFO: Packet analysis {"connection_id":51621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:58:31] local.INFO: Extracted packet for processing {"connection_id":51621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:58:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 21:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 21:58:31] 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-22 21:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:58:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:58:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":51621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:58:31] local.INFO: GPS data processed {"connection_id":51621,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:58:31] local.INFO: Acknowledgment sent {"connection_id":51621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:58:32] local.INFO: TCP Data received {"connection_id":50670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:58:32] local.INFO: Processing buffer {"connection_id":50670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:58:32] local.INFO: IMEI packet received {"connection_id":50670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":50670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:58:32] local.INFO: TCP Data received {"connection_id":50670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:58:32] local.INFO: Processing buffer {"connection_id":50670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60082a0012d196500071ff038003800682a..."} 
[2026-04-22 21:58:32] local.INFO: Packet analysis {"connection_id":50670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:58:32] local.INFO: Extracted packet for processing {"connection_id":50670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db600"} 
[2026-04-22 21:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879917824001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:58: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-22 21:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776874980000,"timestamp_ms":1776874980000,"timestamp_seconds":1776874980,"priority":1,"record_length":96,"hex_timestamp":"0000019db60082a0"} 
[2026-04-22 21: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-22 21:58:32] 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-22 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 21:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 21: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-22 21: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-22 21:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879917824001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879917824001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:58:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879917824001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":50670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:58:33] local.INFO: GPS data processed {"connection_id":50670,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:58:33] local.INFO: Acknowledgment sent {"connection_id":50670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:59:03] local.INFO: TCP Data received {"connection_id":51621,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:59:03] local.INFO: Processing buffer {"connection_id":51621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:59:03] local.INFO: Packet analysis {"connection_id":51621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:59:03] local.INFO: Extracted packet for processing {"connection_id":51621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:59:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 21:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:59: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-22 21:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 21:59: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-22 21:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:59:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:59:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":51621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:59:03] local.INFO: GPS data processed {"connection_id":51621,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:59:03] local.INFO: Acknowledgment sent {"connection_id":51621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:59:03] local.INFO: TCP Data received {"connection_id":50670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 21:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 21:59:03] local.INFO: Processing buffer {"connection_id":50670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 21:59:03] local.INFO: Packet analysis {"connection_id":50670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 21:59:03] local.INFO: Extracted packet for processing {"connection_id":50670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 21:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59: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-22 21:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 21:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:59:03] local.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-22 21:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 21:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:59:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":50670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:59:03] local.INFO: GPS data processed {"connection_id":50670,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:59:03] local.INFO: Acknowledgment sent {"connection_id":50670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:59:25] local.INFO: TCP Data received {"connection_id":50671,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:59:25] local.INFO: Processing buffer {"connection_id":50671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:59:25] local.INFO: IMEI packet received {"connection_id":50671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 21:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":50671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:59:30] local.INFO: TCP Data received {"connection_id":50671,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:59:30] local.INFO: Processing buffer {"connection_id":50671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 21:59:30] local.INFO: IMEI packet received {"connection_id":50671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 21:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":50671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:59:31] local.INFO: TCP Data received {"connection_id":50671,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:59:31] local.INFO: Processing buffer {"connection_id":50671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 21:59:31] local.INFO: Packet analysis {"connection_id":50671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:59:31] local.INFO: Extracted packet for processing {"connection_id":50671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 21:59:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 21: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-22 21:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 21: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-22 21:59: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-22 21: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 21:59:31] 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-22 21: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-22 21: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-22 21:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 21:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 21:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 21:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 21:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 21:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 21:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 21:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:59:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 21:59:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 21:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 21:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 21:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":50671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:59:31] local.INFO: GPS data processed {"connection_id":50671,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:59:31] local.INFO: Acknowledgment sent {"connection_id":50671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:59:32] local.INFO: TCP Data received {"connection_id":51047,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:59:32] local.INFO: Processing buffer {"connection_id":51047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:59:32] local.INFO: IMEI packet received {"connection_id":51047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 21:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":51047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 21:59:37] local.INFO: TCP Data received {"connection_id":51047,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:59:37] local.INFO: Processing buffer {"connection_id":51047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 21:59:37] local.INFO: IMEI packet received {"connection_id":51047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 21:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":51047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 21:59:37] local.INFO: TCP Data received {"connection_id":51047,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 21:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 21:59:37] local.INFO: Processing buffer {"connection_id":51047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 21:59:37] local.INFO: Packet analysis {"connection_id":51047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 21:59:37] local.INFO: Extracted packet for processing {"connection_id":51047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 21:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 21:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 21:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 21:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 21:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:59:37] 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-22 21:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:59:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":51047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:59:37] local.INFO: GPS data processed {"connection_id":51047,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:59:37] local.INFO: Acknowledgment sent {"connection_id":51047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 21:59:44] local.INFO: TCP Data received {"connection_id":51047,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 21:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 21:59:44] local.INFO: Processing buffer {"connection_id":51047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 21:59:44] local.INFO: Packet analysis {"connection_id":51047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 21:59:44] local.INFO: Extracted packet for processing {"connection_id":51047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 21:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 21:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 21:59: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-22 21:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 21:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 21:59:44] 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-22 21:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 21:59: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-22 21:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 21:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 21:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 21:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":51047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 21:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":51047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":51047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 21:59:44] 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-22 21:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 21:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 21:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 21:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 21:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 21:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 21:59:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 21:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 21:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 21:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 21:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 21:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":51047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 21:59:44] local.INFO: GPS data processed {"connection_id":51047,"processed":1,"errors":0,"total":1} 
[2026-04-22 21:59:44] local.INFO: Acknowledgment sent {"connection_id":51047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:00:09] local.INFO: TCP Data received {"connection_id":50671,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:00:09] local.INFO: Processing buffer {"connection_id":50671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:00:09] local.INFO: Packet analysis {"connection_id":50671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 22:00:09] local.INFO: Extracted packet for processing {"connection_id":50671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 22:00:09] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 22: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-22 22:00: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-22 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 22:00:09] 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-22 22: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-22 22: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-22 22:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":50671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":50671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":50671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:00:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:00:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":50671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:00:09] local.INFO: GPS data processed {"connection_id":50671,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:00:09] local.INFO: Acknowledgment sent {"connection_id":50671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:00:25] local.INFO: TCP Data received {"connection_id":50970,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:00:25] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:00:25] local.INFO: IMEI packet received {"connection_id":50970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":50970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:00:27] local.INFO: TCP Data received {"connection_id":50969,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:00:27] local.INFO: Processing buffer {"connection_id":50969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:00:27] local.INFO: IMEI packet received {"connection_id":50969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":50969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:00:30] local.INFO: TCP Data received {"connection_id":50970,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:00:30] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:00:30] local.INFO: IMEI packet received {"connection_id":50970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":50970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:00:31] local.INFO: TCP Data received {"connection_id":50970,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:00:31] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6025b48012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:00:31] local.INFO: Packet analysis {"connection_id":50970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 22:00:31] local.INFO: Extracted packet for processing {"connection_id":50970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db602"} 
[2026-04-22 22:00:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879948800001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875101000,"timestamp_ms":1776875101000,"timestamp_seconds":1776875101,"priority":1,"record_length":96,"hex_timestamp":"0000019db6025b48"} 
[2026-04-22 22: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-22 22:00: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-22 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-04-22 22:00:31] 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-22 22: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-22 22: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-22 22:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879948800001,"66":25680,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879948800001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:00:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:00:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879948800001,"power":25680,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":50970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:00:31] local.INFO: GPS data processed {"connection_id":50970,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:00:31] local.INFO: Acknowledgment sent {"connection_id":50970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:00:32] local.INFO: TCP Data received {"connection_id":50969,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:00:32] local.INFO: Processing buffer {"connection_id":50969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:00:32] local.INFO: IMEI packet received {"connection_id":50969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":50969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:00:32] local.INFO: TCP Data received {"connection_id":50969,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:00:32] local.INFO: Processing buffer {"connection_id":50969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:00:32] local.INFO: Packet analysis {"connection_id":50969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:00:32] local.INFO: Extracted packet for processing {"connection_id":50969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:00: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-22 22:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 22: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-22 22:00:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:00:32] 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-22 22:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:00:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":50969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:00:32] local.INFO: GPS data processed {"connection_id":50969,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:00:32] local.INFO: Acknowledgment sent {"connection_id":50969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:01:02] local.INFO: TCP Data received {"connection_id":50970,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:01:02] local.INFO: Processing buffer {"connection_id":50970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:01:02] local.INFO: Packet analysis {"connection_id":50970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:01:02] local.INFO: Extracted packet for processing {"connection_id":50970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:01:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22: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-22 22:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:01: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-22 22: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-22 22: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-22 22:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:01:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:01:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":50970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:01:02] local.INFO: GPS data processed {"connection_id":50970,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:01:02] local.INFO: Acknowledgment sent {"connection_id":50970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:01:03] local.INFO: TCP Data received {"connection_id":50969,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:01:03] local.INFO: Processing buffer {"connection_id":50969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:01:03] local.INFO: Packet analysis {"connection_id":50969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:01:03] local.INFO: Extracted packet for processing {"connection_id":50969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01: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-22 22:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 22:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:01:03] 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-22 22:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:01:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":50969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:01:03] local.INFO: GPS data processed {"connection_id":50969,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:01:03] local.INFO: Acknowledgment sent {"connection_id":50969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:01:25] local.INFO: TCP Data received {"connection_id":50672,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:01:25] local.INFO: Processing buffer {"connection_id":50672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:01:25] local.INFO: IMEI packet received {"connection_id":50672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":50672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:01:29] local.INFO: TCP Data received {"connection_id":50971,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:01:29] local.INFO: Processing buffer {"connection_id":50971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:01:29] local.INFO: IMEI packet received {"connection_id":50971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":50971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:01:30] local.INFO: TCP Data received {"connection_id":50672,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:01:30] local.INFO: Processing buffer {"connection_id":50672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:01:30] local.INFO: IMEI packet received {"connection_id":50672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":50672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:01:31] local.INFO: TCP Data received {"connection_id":50672,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:01:31] local.INFO: Processing buffer {"connection_id":50672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:01:31] local.INFO: Packet analysis {"connection_id":50672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:01:31] local.INFO: Extracted packet for processing {"connection_id":50672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:01:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22: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-22 22:01: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-22 22: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":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:01:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:01:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:01:31] local.INFO: TCP Data received {"connection_id":50971,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":50672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:01:31] local.INFO: GPS data processed {"connection_id":50672,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:01:31] local.INFO: Acknowledgment sent {"connection_id":50672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:01:31] local.INFO: Processing buffer {"connection_id":50971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:01:31] local.INFO: IMEI packet received {"connection_id":50971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:01:32] local.INFO: TCP Data received {"connection_id":50971,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:01:32] local.INFO: Processing buffer {"connection_id":50971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:01:32] local.INFO: Packet analysis {"connection_id":50971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:01:32] local.INFO: Extracted packet for processing {"connection_id":50971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01: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-22 22:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 22: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-22 22:01:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:01:32] local.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-22 22:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:01:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":50971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:01:32] local.INFO: GPS data processed {"connection_id":50971,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:01:32] local.INFO: Acknowledgment sent {"connection_id":50971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:01:37] local.INFO: TCP Data received {"connection_id":50971,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:01:37] local.INFO: Processing buffer {"connection_id":50971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:01:37] local.INFO: Packet analysis {"connection_id":50971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:01:37] local.INFO: Extracted packet for processing {"connection_id":50971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 22:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:01:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":50971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:01:37] local.INFO: GPS data processed {"connection_id":50971,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:01:37] local.INFO: Acknowledgment sent {"connection_id":50971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:02:03] local.INFO: TCP Data received {"connection_id":50672,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:02:03] local.INFO: Processing buffer {"connection_id":50672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:02:03] local.INFO: Packet analysis {"connection_id":50672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:02:03] local.INFO: Extracted packet for processing {"connection_id":50672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:02:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:02: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-22 22:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:02:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:02:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":50672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:02:03] local.INFO: GPS data processed {"connection_id":50672,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:02:03] local.INFO: Acknowledgment sent {"connection_id":50672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:02:08] local.INFO: TCP Data received {"connection_id":50971,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:02:08] local.INFO: Processing buffer {"connection_id":50971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:02:08] local.INFO: Packet analysis {"connection_id":50971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:02:08] local.INFO: Extracted packet for processing {"connection_id":50971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 22:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:02:08] 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-22 22:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:02:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":50971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:02:08] local.INFO: GPS data processed {"connection_id":50971,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:02:08] local.INFO: Acknowledgment sent {"connection_id":50971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:02:10] local.INFO: TCP Data received {"connection_id":50673,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:02:10] local.INFO: Processing buffer {"connection_id":50673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:02:10] local.INFO: IMEI packet received {"connection_id":50673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":50673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:02:25] local.INFO: TCP Data received {"connection_id":51623,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:02:25] local.INFO: Processing buffer {"connection_id":51623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:02:25] local.INFO: IMEI packet received {"connection_id":51623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":51623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:02:26] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:02:26] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:02:26] local.INFO: IMEI packet received {"connection_id":50674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":50674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:02:30] local.INFO: TCP Data received {"connection_id":51623,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:02:30] local.INFO: Processing buffer {"connection_id":51623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:02:30] local.INFO: IMEI packet received {"connection_id":51623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":51623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:02:31] local.INFO: TCP Data received {"connection_id":51623,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:02:31] local.INFO: Processing buffer {"connection_id":51623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:02:31] local.INFO: Packet analysis {"connection_id":51623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:02:31] local.INFO: Extracted packet for processing {"connection_id":51623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:02:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22: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-22 22:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:02:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:02:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":51623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:02:31] local.INFO: GPS data processed {"connection_id":51623,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:02:31] local.INFO: Acknowledgment sent {"connection_id":51623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:02:32] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:02:32] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:02:32] local.INFO: IMEI packet received {"connection_id":50674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":50674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:02:32] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:02:32] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:02:32] local.INFO: Packet analysis {"connection_id":50674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:02:32] local.INFO: Extracted packet for processing {"connection_id":50674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:02: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-22 22:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 22: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-22 22:02:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:02:32] 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-22 22:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:02:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":50674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:02:32] local.INFO: GPS data processed {"connection_id":50674,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:02:32] local.INFO: Acknowledgment sent {"connection_id":50674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:02:50] local.INFO: TCP Data received {"connection_id":50675,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:02:50] local.INFO: Processing buffer {"connection_id":50675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:02:50] local.INFO: IMEI packet received {"connection_id":50675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":50675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:03:03] local.INFO: TCP Data received {"connection_id":51623,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:03:03] local.INFO: Processing buffer {"connection_id":51623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:03:03] local.INFO: Packet analysis {"connection_id":51623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:03:03] local.INFO: Extracted packet for processing {"connection_id":51623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:03:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22: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-22 22:03: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-22 22:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:03:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:03:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":51623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:03:03] local.INFO: GPS data processed {"connection_id":51623,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:03:03] local.INFO: Acknowledgment sent {"connection_id":51623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:03:03] local.INFO: TCP Data received {"connection_id":50674,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:03:03] local.INFO: Processing buffer {"connection_id":50674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:03:03] local.INFO: Packet analysis {"connection_id":50674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:03:03] local.INFO: Extracted packet for processing {"connection_id":50674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03: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-22 22:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 22: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-22 22:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:03:03] 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-22 22:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":50674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:03:04] local.INFO: GPS data processed {"connection_id":50674,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:03:04] local.INFO: Acknowledgment sent {"connection_id":50674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:03:25] local.INFO: TCP Data received {"connection_id":51049,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:03:25] local.INFO: Processing buffer {"connection_id":51049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:03:25] local.INFO: IMEI packet received {"connection_id":51049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":51049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:03:26] local.INFO: TCP Data received {"connection_id":51050,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:03:26] local.INFO: Processing buffer {"connection_id":51050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:03:26] local.INFO: IMEI packet received {"connection_id":51050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":51050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:03:30] local.INFO: TCP Data received {"connection_id":51049,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:03:30] local.INFO: Processing buffer {"connection_id":51049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:03:30] local.INFO: IMEI packet received {"connection_id":51049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":51049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:03:31] local.INFO: TCP Data received {"connection_id":51049,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:03:31] local.INFO: Processing buffer {"connection_id":51049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:03:31] local.INFO: Packet analysis {"connection_id":51049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:03:31] local.INFO: Extracted packet for processing {"connection_id":51049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:03:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22: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-22 22:03: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-22 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:03:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:03:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":51049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:03:31] local.INFO: GPS data processed {"connection_id":51049,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:03:31] local.INFO: Acknowledgment sent {"connection_id":51049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:03:32] local.INFO: TCP Data received {"connection_id":51050,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:03:32] local.INFO: Processing buffer {"connection_id":51050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:03:32] local.INFO: IMEI packet received {"connection_id":51050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":51050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:03:32] local.INFO: TCP Data received {"connection_id":51050,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:03:32] local.INFO: Processing buffer {"connection_id":51050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6051680012d196500071ff038003800682b..."} 
[2026-04-22 22:03:32] local.INFO: Packet analysis {"connection_id":51050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:03:32] local.INFO: Extracted packet for processing {"connection_id":51050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db605"} 
[2026-04-22 22:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879994880001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:03: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-22 22:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875280000,"timestamp_ms":1776875280000,"timestamp_seconds":1776875280,"priority":1,"record_length":96,"hex_timestamp":"0000019db6051680"} 
[2026-04-22 22: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-22 22:03:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:03:32] 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-22 22:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879994880001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879994880001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:03:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879994880001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":51050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:03:32] local.INFO: GPS data processed {"connection_id":51050,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:03:32] local.INFO: Acknowledgment sent {"connection_id":51050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:04:03] local.INFO: TCP Data received {"connection_id":51049,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:04:03] local.INFO: Processing buffer {"connection_id":51049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:04:03] local.INFO: Packet analysis {"connection_id":51049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:04:03] local.INFO: Extracted packet for processing {"connection_id":51049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:04:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22: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-22 22:04: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-22 22:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:04:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:04:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":51049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:04:03] local.INFO: GPS data processed {"connection_id":51049,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:04:03] local.INFO: Acknowledgment sent {"connection_id":51049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:04:03] local.INFO: TCP Data received {"connection_id":51050,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:04:03] local.INFO: Processing buffer {"connection_id":51050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:04:03] local.INFO: Packet analysis {"connection_id":51050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:04:03] local.INFO: Extracted packet for processing {"connection_id":51050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04: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-22 22:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 22: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-22 22:04:03] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:04:03] 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-22 22:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":51050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:04:03] local.INFO: GPS data processed {"connection_id":51050,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:04:03] local.INFO: Acknowledgment sent {"connection_id":51050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:04:30] local.INFO: TCP Data received {"connection_id":51051,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:04:30] local.INFO: Processing buffer {"connection_id":51051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:04:30] local.INFO: IMEI packet received {"connection_id":51051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":51051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:04:32] local.INFO: TCP Data received {"connection_id":51052,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:04:32] local.INFO: Processing buffer {"connection_id":51052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:04:32] local.INFO: IMEI packet received {"connection_id":51052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":51052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:04:35] local.INFO: TCP Data received {"connection_id":51051,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:04:35] local.INFO: Processing buffer {"connection_id":51051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:04:35] local.INFO: IMEI packet received {"connection_id":51051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":51051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:04:36] local.INFO: TCP Data received {"connection_id":51051,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:04:36] local.INFO: Processing buffer {"connection_id":51051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:04:36] local.INFO: Packet analysis {"connection_id":51051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:04:36] local.INFO: Extracted packet for processing {"connection_id":51051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:04:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:04: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-22 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:04:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:04:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":51051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:04:36] local.INFO: GPS data processed {"connection_id":51051,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:04:36] local.INFO: Acknowledgment sent {"connection_id":51051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:04:37] local.INFO: TCP Data received {"connection_id":51052,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:04:37] local.INFO: Processing buffer {"connection_id":51052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:04:37] local.INFO: IMEI packet received {"connection_id":51052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":51052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:04:37] local.INFO: TCP Data received {"connection_id":51052,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:04:37] local.INFO: Processing buffer {"connection_id":51052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:04:37] local.INFO: Packet analysis {"connection_id":51052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:04:37] local.INFO: Extracted packet for processing {"connection_id":51052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 22: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-22 22:04:37] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:04:37] local.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-22 22:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:04:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":51052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:04:37] local.INFO: GPS data processed {"connection_id":51052,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:04:37] local.INFO: Acknowledgment sent {"connection_id":51052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:04:41] local.INFO: TCP Data received {"connection_id":51051,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:04:41] local.INFO: Processing buffer {"connection_id":51051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:04:41] local.INFO: Packet analysis {"connection_id":51051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:04:41] local.INFO: Extracted packet for processing {"connection_id":51051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:04:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:04:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":51051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:04:41] local.INFO: GPS data processed {"connection_id":51051,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:04:41] local.INFO: Acknowledgment sent {"connection_id":51051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:04:42] local.INFO: TCP Data received {"connection_id":51052,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:04:42] local.INFO: Processing buffer {"connection_id":51052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:04:42] local.INFO: Packet analysis {"connection_id":51052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:04:42] local.INFO: Extracted packet for processing {"connection_id":51052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:04: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-22 22:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 22:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:04:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":51052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:04:42] local.INFO: GPS data processed {"connection_id":51052,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:04:42] local.INFO: Acknowledgment sent {"connection_id":51052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:05:25] local.INFO: TCP Data received {"connection_id":51626,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:05:25] local.INFO: Processing buffer {"connection_id":51626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:05:25] local.INFO: IMEI packet received {"connection_id":51626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":51626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:05:27] local.INFO: TCP Data received {"connection_id":50676,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:05:27] local.INFO: Processing buffer {"connection_id":50676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:05:27] local.INFO: IMEI packet received {"connection_id":50676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":50676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:05:31] local.INFO: TCP Data received {"connection_id":51626,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:05:31] local.INFO: Processing buffer {"connection_id":51626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:05:31] local.INFO: IMEI packet received {"connection_id":51626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":51626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:05:32] local.INFO: TCP Data received {"connection_id":50676,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:05:32] local.INFO: Processing buffer {"connection_id":50676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:05:32] local.INFO: IMEI packet received {"connection_id":50676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":50676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:05:32] local.INFO: TCP Data received {"connection_id":51626,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:05:32] local.INFO: Processing buffer {"connection_id":51626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db606f310012d77a04005f2a5a8000a01592a..."} 
[2026-04-22 22:05:32] local.INFO: Packet analysis {"connection_id":51626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:05:32] local.INFO: Extracted packet for processing {"connection_id":51626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db606"} 
[2026-04-22 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880025856001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875402000,"timestamp_ms":1776875402000,"timestamp_seconds":1776875402,"priority":1,"record_length":96,"hex_timestamp":"0000019db606f310"} 
[2026-04-22 22: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-22 22:05: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-22 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-22 22:05: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-22 22: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-22 22: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-22 22:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880025856001,"66":25615,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880025856001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:05:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:05:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880025856001,"power":25615,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":51626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:05:32] local.INFO: GPS data processed {"connection_id":51626,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:05:32] local.INFO: Acknowledgment sent {"connection_id":51626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:05:32] local.INFO: TCP Data received {"connection_id":50676,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:05:32] local.INFO: Processing buffer {"connection_id":50676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:05:32] local.INFO: Packet analysis {"connection_id":50676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:05:32] local.INFO: Extracted packet for processing {"connection_id":50676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:05: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-22 22:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 22: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-22 22:05:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:05:32] 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-22 22:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:05:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":50676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:05:32] local.INFO: GPS data processed {"connection_id":50676,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:05:32] local.INFO: Acknowledgment sent {"connection_id":50676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:06:03] local.INFO: TCP Data received {"connection_id":50676,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:06:03] local.INFO: Processing buffer {"connection_id":50676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:06:03] local.INFO: Packet analysis {"connection_id":50676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:06:03] local.INFO: Extracted packet for processing {"connection_id":50676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06: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-22 22:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 22:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:06:03] 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-22 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:06:03] 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-22 22:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:06:03] local.INFO: TCP Data received {"connection_id":51626,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:06:03] local.INFO: Processing buffer {"connection_id":51626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:06:03] local.INFO: Packet analysis {"connection_id":51626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:06:03] local.INFO: Extracted packet for processing {"connection_id":51626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 22:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:06: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-22 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:06: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-22 22:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":51626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:06:03] local.INFO: GPS data processed {"connection_id":51626,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:06:03] local.INFO: Acknowledgment sent {"connection_id":51626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":50676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:06:03] local.INFO: GPS data processed {"connection_id":50676,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:06:03] local.INFO: Acknowledgment sent {"connection_id":50676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:06:25] local.INFO: TCP Data received {"connection_id":51054,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:06:25] local.INFO: Processing buffer {"connection_id":51054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:06:25] local.INFO: IMEI packet received {"connection_id":51054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":51054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:06:28] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:06:28] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:06:28] local.INFO: IMEI packet received {"connection_id":51053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":51053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:06:30] local.INFO: TCP Data received {"connection_id":51054,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:06:30] local.INFO: Processing buffer {"connection_id":51054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:06:30] local.INFO: IMEI packet received {"connection_id":51054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":51054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:06:31] local.INFO: TCP Data received {"connection_id":51054,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:06:31] local.INFO: Processing buffer {"connection_id":51054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:06:31] local.INFO: Packet analysis {"connection_id":51054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:06:31] local.INFO: Extracted packet for processing {"connection_id":51054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:06:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 22: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-22 22:06: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-22 22: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:06:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:06:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":51054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:06:31] local.INFO: GPS data processed {"connection_id":51054,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:06:31] local.INFO: Acknowledgment sent {"connection_id":51054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:06:32] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:06:32] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:06:32] local.INFO: IMEI packet received {"connection_id":51053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":51053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:06:32] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:06:32] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:06:32] local.INFO: Packet analysis {"connection_id":51053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:06:32] local.INFO: Extracted packet for processing {"connection_id":51053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:06: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-22 22:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 22: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-22 22:06:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:06:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":51053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:06:32] local.INFO: GPS data processed {"connection_id":51053,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:06:32] local.INFO: Acknowledgment sent {"connection_id":51053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:07:03] local.INFO: TCP Data received {"connection_id":51054,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:07:03] local.INFO: Processing buffer {"connection_id":51054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:07:03] local.INFO: Packet analysis {"connection_id":51054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:07:03] local.INFO: Extracted packet for processing {"connection_id":51054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:07:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 22:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:07: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-22 22:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:07: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-22 22:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:07:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:07:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":51054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:07:03] local.INFO: GPS data processed {"connection_id":51054,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:07:03] local.INFO: Acknowledgment sent {"connection_id":51054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:07:04] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:07:04] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:07:04] local.INFO: Packet analysis {"connection_id":51053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:07:04] local.INFO: Extracted packet for processing {"connection_id":51053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22: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-22 22:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 22: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-22 22:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:07:04] 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-22 22:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":51053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:07:04] local.INFO: GPS data processed {"connection_id":51053,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:07:04] local.INFO: Acknowledgment sent {"connection_id":51053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:07:25] local.INFO: TCP Data received {"connection_id":51629,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:07:25] local.INFO: Processing buffer {"connection_id":51629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:07:25] local.INFO: IMEI packet received {"connection_id":51629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":51629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:07:26] local.INFO: TCP Data received {"connection_id":51628,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:07:26] local.INFO: Processing buffer {"connection_id":51628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:07:26] local.INFO: IMEI packet received {"connection_id":51628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":51628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:07:30] local.INFO: TCP Data received {"connection_id":51629,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:07:30] local.INFO: Processing buffer {"connection_id":51629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:07:30] local.INFO: IMEI packet received {"connection_id":51629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":51629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:07:31] local.INFO: TCP Data received {"connection_id":51629,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:07:31] local.INFO: Processing buffer {"connection_id":51629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:07:31] local.INFO: Packet analysis {"connection_id":51629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:07:31] local.INFO: Extracted packet for processing {"connection_id":51629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:07:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 22:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:07: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-22 22:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:07:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:07:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":51629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:07:31] local.INFO: GPS data processed {"connection_id":51629,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:07:31] local.INFO: Acknowledgment sent {"connection_id":51629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:07:32] local.INFO: TCP Data received {"connection_id":51628,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:07:32] local.INFO: Processing buffer {"connection_id":51628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:07:32] local.INFO: IMEI packet received {"connection_id":51628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":51628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:07:32] local.INFO: TCP Data received {"connection_id":51628,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:07:32] local.INFO: Processing buffer {"connection_id":51628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:07:32] local.INFO: Packet analysis {"connection_id":51628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:07:32] local.INFO: Extracted packet for processing {"connection_id":51628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:07: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-22 22:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 22: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-22 22:07:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:07:32] 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-22 22:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:07:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":51628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:07:32] local.INFO: GPS data processed {"connection_id":51628,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:07:32] local.INFO: Acknowledgment sent {"connection_id":51628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:08:03] local.INFO: TCP Data received {"connection_id":51629,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:08:03] local.INFO: Processing buffer {"connection_id":51629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:08:03] local.INFO: Packet analysis {"connection_id":51629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:08:03] local.INFO: Extracted packet for processing {"connection_id":51629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 22:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 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-22 22:08: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-22 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:08: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-22 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-22 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-22 22:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:08:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:08:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":51629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:08:03] local.INFO: GPS data processed {"connection_id":51629,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:08:03] local.INFO: Acknowledgment sent {"connection_id":51629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:08:03] local.INFO: TCP Data received {"connection_id":51628,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:08:03] local.INFO: Processing buffer {"connection_id":51628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:08:03] local.INFO: Packet analysis {"connection_id":51628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:08:03] local.INFO: Extracted packet for processing {"connection_id":51628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 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-22 22:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08: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-22 22:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 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-22 22:08:03] 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-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:08:03] 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-22 22:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:08:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":51628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:08:04] local.INFO: GPS data processed {"connection_id":51628,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:08:04] local.INFO: Acknowledgment sent {"connection_id":51628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:08:20] local.INFO: TCP Data received {"connection_id":51055,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:08:20] local.INFO: Processing buffer {"connection_id":51055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:08:20] local.INFO: IMEI packet received {"connection_id":51055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":51055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:08:26] local.INFO: TCP Data received {"connection_id":50972,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:08:26] local.INFO: Processing buffer {"connection_id":50972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:08:26] local.INFO: IMEI packet received {"connection_id":50972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":50972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:08:30] local.INFO: TCP Data received {"connection_id":51056,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:08:30] local.INFO: Processing buffer {"connection_id":51056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:08:30] local.INFO: IMEI packet received {"connection_id":51056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":51056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:08:32] local.INFO: TCP Data received {"connection_id":50972,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:08:32] local.INFO: Processing buffer {"connection_id":50972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:08:32] local.INFO: IMEI packet received {"connection_id":50972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":50972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:08:32] local.INFO: TCP Data received {"connection_id":50972,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:08:32] local.INFO: Processing buffer {"connection_id":50972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db609ae48012d196500071ff038003800682a..."} 
[2026-04-22 22:08:32] local.INFO: Packet analysis {"connection_id":50972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:08:32] local.INFO: Extracted packet for processing {"connection_id":50972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db609"} 
[2026-04-22 22:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880071680001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08: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-22 22:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875581000,"timestamp_ms":1776875581000,"timestamp_seconds":1776875581,"priority":1,"record_length":96,"hex_timestamp":"0000019db609ae48"} 
[2026-04-22 22: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-22 22:08:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:08:32] 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-22 22:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880071680001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880071680001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:08:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880071680001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":50972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:08:33] local.INFO: GPS data processed {"connection_id":50972,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:08:33] local.INFO: Acknowledgment sent {"connection_id":50972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:08:35] local.INFO: TCP Data received {"connection_id":51056,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:08:35] local.INFO: Processing buffer {"connection_id":51056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:08:35] local.INFO: IMEI packet received {"connection_id":51056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":51056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:08:36] local.INFO: TCP Data received {"connection_id":51056,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:08:36] local.INFO: Processing buffer {"connection_id":51056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:08:36] local.INFO: Packet analysis {"connection_id":51056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:08:36] local.INFO: Extracted packet for processing {"connection_id":51056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:08:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 22:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:08: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-22 22:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:08:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:08:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":51056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:08:36] local.INFO: GPS data processed {"connection_id":51056,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:08:36] local.INFO: Acknowledgment sent {"connection_id":51056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:08:41] local.INFO: TCP Data received {"connection_id":51056,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:08:41] local.INFO: Processing buffer {"connection_id":51056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:08:41] local.INFO: Packet analysis {"connection_id":51056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:08:41] local.INFO: Extracted packet for processing {"connection_id":51056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 22:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:08:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:08:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":51056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:08:41] local.INFO: GPS data processed {"connection_id":51056,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:08:41] local.INFO: Acknowledgment sent {"connection_id":51056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:08:50] local.INFO: TCP Data received {"connection_id":51057,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:08:50] local.INFO: Processing buffer {"connection_id":51057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:08:50] local.INFO: IMEI packet received {"connection_id":51057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":51057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:09:03] local.INFO: TCP Data received {"connection_id":50972,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:09:03] local.INFO: Processing buffer {"connection_id":50972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:09:03] local.INFO: Packet analysis {"connection_id":50972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:09:03] local.INFO: Extracted packet for processing {"connection_id":50972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:09: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-22 22:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 22: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-22 22:09:03] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:09:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":50972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:09:03] local.INFO: GPS data processed {"connection_id":50972,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:09:03] local.INFO: Acknowledgment sent {"connection_id":50972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:09:26] local.INFO: TCP Data received {"connection_id":51058,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:09:26] local.INFO: Processing buffer {"connection_id":51058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:09:26] local.INFO: IMEI packet received {"connection_id":51058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":51058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:09:27] local.INFO: TCP Data received {"connection_id":50973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:09:27] local.INFO: Processing buffer {"connection_id":50973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:09:27] local.INFO: IMEI packet received {"connection_id":50973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":50973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:09:30] local.INFO: TCP Data received {"connection_id":51058,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:09:30] local.INFO: Processing buffer {"connection_id":51058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:09:30] local.INFO: IMEI packet received {"connection_id":51058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":51058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:09:31] local.INFO: TCP Data received {"connection_id":51058,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:09:31] local.INFO: Processing buffer {"connection_id":51058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:09:31] local.INFO: Packet analysis {"connection_id":51058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:09:31] local.INFO: Extracted packet for processing {"connection_id":51058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:09:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 22: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-22 22:09: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-22 22:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:09:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:09:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":51058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:09:31] local.INFO: GPS data processed {"connection_id":51058,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:09:31] local.INFO: Acknowledgment sent {"connection_id":51058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:09:32] local.INFO: TCP Data received {"connection_id":50973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:09:32] local.INFO: Processing buffer {"connection_id":50973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:09:32] local.INFO: IMEI packet received {"connection_id":50973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":50973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:09:32] local.INFO: TCP Data received {"connection_id":50973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:09:32] local.INFO: Processing buffer {"connection_id":50973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:09:32] local.INFO: Packet analysis {"connection_id":50973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:09:32] local.INFO: Extracted packet for processing {"connection_id":50973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:09: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-22 22:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 22: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-22 22:09:32] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:09:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":50973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:09:32] local.INFO: GPS data processed {"connection_id":50973,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:09:32] local.INFO: Acknowledgment sent {"connection_id":50973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:10:03] local.INFO: TCP Data received {"connection_id":51058,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:10:03] local.INFO: Processing buffer {"connection_id":51058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:10:03] local.INFO: Packet analysis {"connection_id":51058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:10:03] local.INFO: Extracted packet for processing {"connection_id":51058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:10:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 22: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-22 22:10: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-22 22:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:10: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-22 22: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-22 22: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-22 22:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:10:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:10:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":51058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:10:03] local.INFO: GPS data processed {"connection_id":51058,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:10:03] local.INFO: Acknowledgment sent {"connection_id":51058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:10:04] local.INFO: TCP Data received {"connection_id":50973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:10:04] local.INFO: Processing buffer {"connection_id":50973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:10:04] local.INFO: Packet analysis {"connection_id":50973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:10:04] local.INFO: Extracted packet for processing {"connection_id":50973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10: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-22 22:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 22: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-22 22:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:10:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":50973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:10:04] local.INFO: GPS data processed {"connection_id":50973,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:10:04] local.INFO: Acknowledgment sent {"connection_id":50973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:10:25] local.INFO: TCP Data received {"connection_id":50678,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:10:25] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:10:25] local.INFO: IMEI packet received {"connection_id":50678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":50678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:10:27] local.INFO: TCP Data received {"connection_id":50974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:10:27] local.INFO: Processing buffer {"connection_id":50974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:10:27] local.INFO: IMEI packet received {"connection_id":50974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":50974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:10:30] local.INFO: TCP Data received {"connection_id":50678,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:10:30] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:10:30] local.INFO: IMEI packet received {"connection_id":50678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":50678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:10:31] local.INFO: TCP Data received {"connection_id":50678,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:10:31] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60b8ad8012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:10:31] local.INFO: Packet analysis {"connection_id":50678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:10:31] local.INFO: Extracted packet for processing {"connection_id":50678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60b"} 
[2026-04-22 22:10:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880102912001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776875703000,"timestamp_ms":1776875703000,"timestamp_seconds":1776875703,"priority":1,"record_length":96,"hex_timestamp":"0000019db60b8ad8"} 
[2026-04-22 22:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:10: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-22 22:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-22 22:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880102912001,"66":25604,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880102912001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:10:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:10:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880102912001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":50678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:10:31] local.INFO: GPS data processed {"connection_id":50678,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:10:31] local.INFO: Acknowledgment sent {"connection_id":50678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:10:32] local.INFO: TCP Data received {"connection_id":50974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:10:32] local.INFO: Processing buffer {"connection_id":50974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:10:32] local.INFO: IMEI packet received {"connection_id":50974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":50974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:10:32] local.INFO: TCP Data received {"connection_id":50974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:10:32] local.INFO: Processing buffer {"connection_id":50974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:10:32] local.INFO: Packet analysis {"connection_id":50974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:10:32] local.INFO: Extracted packet for processing {"connection_id":50974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:10: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-22 22:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 22: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-22 22:10:32] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:10:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":50974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:10:32] local.INFO: GPS data processed {"connection_id":50974,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:10:32] local.INFO: Acknowledgment sent {"connection_id":50974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:11:02] local.INFO: TCP Data received {"connection_id":50678,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:11:02] local.INFO: Processing buffer {"connection_id":50678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:11:02] local.INFO: Packet analysis {"connection_id":50678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:11:02] local.INFO: Extracted packet for processing {"connection_id":50678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:11:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 22: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-22 22:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:11:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:11:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":50678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:11:02] local.INFO: GPS data processed {"connection_id":50678,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:11:02] local.INFO: Acknowledgment sent {"connection_id":50678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:11:03] local.INFO: TCP Data received {"connection_id":50974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:11:03] local.INFO: Processing buffer {"connection_id":50974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:11:03] local.INFO: Packet analysis {"connection_id":50974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:11:03] local.INFO: Extracted packet for processing {"connection_id":50974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11: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-22 22:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 22:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:11:03] 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-22 22:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":50974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:11:03] local.INFO: GPS data processed {"connection_id":50974,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:11:03] local.INFO: Acknowledgment sent {"connection_id":50974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:11:26] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:11:26] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:11:26] local.INFO: IMEI packet received {"connection_id":50975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":50975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:11:30] local.INFO: TCP Data received {"connection_id":51631,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:11:30] local.INFO: Processing buffer {"connection_id":51631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:11:30] local.INFO: IMEI packet received {"connection_id":51631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":51631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:11:32] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:11:32] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:11:32] local.INFO: IMEI packet received {"connection_id":50975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":50975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:11:32] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:11:32] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:11:32] local.INFO: Packet analysis {"connection_id":50975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:11:32] local.INFO: Extracted packet for processing {"connection_id":50975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11: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-22 22:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 22: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-22 22:11:32] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:11:32] 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-22 22:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:11:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":50975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:11:32] local.INFO: GPS data processed {"connection_id":50975,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:11:32] local.INFO: Acknowledgment sent {"connection_id":50975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:11:35] local.INFO: TCP Data received {"connection_id":51631,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:11:35] local.INFO: Processing buffer {"connection_id":51631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:11:35] local.INFO: IMEI packet received {"connection_id":51631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":51631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:11:36] local.INFO: TCP Data received {"connection_id":51631,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:11:36] local.INFO: Processing buffer {"connection_id":51631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:11:36] local.INFO: Packet analysis {"connection_id":51631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:11:36] local.INFO: Extracted packet for processing {"connection_id":51631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 22:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:11: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-22 22:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:11:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:11:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":51631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:11:36] local.INFO: GPS data processed {"connection_id":51631,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:11:36] local.INFO: Acknowledgment sent {"connection_id":51631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:11:41] local.INFO: TCP Data received {"connection_id":51631,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:11:41] local.INFO: Processing buffer {"connection_id":51631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:11:41] local.INFO: Packet analysis {"connection_id":51631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:11:41] local.INFO: Extracted packet for processing {"connection_id":51631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:11:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 22:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:11:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:11:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":51631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:11:41] local.INFO: GPS data processed {"connection_id":51631,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:11:41] local.INFO: Acknowledgment sent {"connection_id":51631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:12:03] local.INFO: TCP Data received {"connection_id":50975,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:12:03] local.INFO: Processing buffer {"connection_id":50975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:12:03] local.INFO: Packet analysis {"connection_id":50975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:12:03] local.INFO: Extracted packet for processing {"connection_id":50975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:12: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-22 22:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 22: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-22 22:12:03] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:12:03] 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-22 22:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:12:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":50975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:12:04] local.INFO: GPS data processed {"connection_id":50975,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:12:04] local.INFO: Acknowledgment sent {"connection_id":50975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:12:25] local.INFO: TCP Data received {"connection_id":50680,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:12:25] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:12:25] local.INFO: IMEI packet received {"connection_id":50680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":50680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:12:26] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:12:26] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:12:26] local.INFO: IMEI packet received {"connection_id":50976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":50976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:12:30] local.INFO: TCP Data received {"connection_id":50680,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:12:30] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:12:30] local.INFO: IMEI packet received {"connection_id":50680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":50680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:12:31] local.INFO: TCP Data received {"connection_id":50680,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:12:31] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:12:31] local.INFO: Packet analysis {"connection_id":50680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:12:31] local.INFO: Extracted packet for processing {"connection_id":50680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:12:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 22: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-22 22:12: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-22 22:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:12:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:12:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":50680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:12:31] local.INFO: GPS data processed {"connection_id":50680,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:12:31] local.INFO: Acknowledgment sent {"connection_id":50680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:12:32] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:12:32] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:12:32] local.INFO: IMEI packet received {"connection_id":50976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":50976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:12:32] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:12:32] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:12:32] local.INFO: Packet analysis {"connection_id":50976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:12:32] local.INFO: Extracted packet for processing {"connection_id":50976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:12: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-22 22:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 22:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:12:32] 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-22 22:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:12:32] 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-22 22:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:12:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":50976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:12:32] local.INFO: GPS data processed {"connection_id":50976,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:12:32] local.INFO: Acknowledgment sent {"connection_id":50976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:13:03] local.INFO: TCP Data received {"connection_id":50680,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:13:03] local.INFO: Processing buffer {"connection_id":50680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:13:03] local.INFO: Packet analysis {"connection_id":50680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:13:03] local.INFO: Extracted packet for processing {"connection_id":50680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:13:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 22:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 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-22 22:13: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-22 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":50680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:13:03] local.INFO: GPS data processed {"connection_id":50680,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:13:03] local.INFO: Acknowledgment sent {"connection_id":50680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:13:03] local.INFO: TCP Data received {"connection_id":50976,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:13:03] local.INFO: Processing buffer {"connection_id":50976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:13:03] local.INFO: Packet analysis {"connection_id":50976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:13:03] local.INFO: Extracted packet for processing {"connection_id":50976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 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-22 22:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13: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-22 22:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 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-22 22:13:03] 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-22 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:13:03] 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-22 22:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":50976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:13:04] local.INFO: GPS data processed {"connection_id":50976,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:13:04] local.INFO: Acknowledgment sent {"connection_id":50976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:13:25] local.INFO: TCP Data received {"connection_id":51632,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:13:25] local.INFO: Processing buffer {"connection_id":51632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:13:25] local.INFO: IMEI packet received {"connection_id":51632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":51632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:13:26] local.INFO: TCP Data received {"connection_id":51633,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:13:26] local.INFO: Processing buffer {"connection_id":51633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:13:26] local.INFO: IMEI packet received {"connection_id":51633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":51633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:13:30] local.INFO: TCP Data received {"connection_id":51632,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:13:30] local.INFO: Processing buffer {"connection_id":51632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:13:30] local.INFO: IMEI packet received {"connection_id":51632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":51632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:13:31] local.INFO: TCP Data received {"connection_id":51632,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:13:31] local.INFO: Processing buffer {"connection_id":51632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:13:31] local.INFO: Packet analysis {"connection_id":51632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:13:31] local.INFO: Extracted packet for processing {"connection_id":51632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:13:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 22: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-22 22:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:13:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:13:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":51632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:13:31] local.INFO: GPS data processed {"connection_id":51632,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:13:31] local.INFO: Acknowledgment sent {"connection_id":51632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:13:32] local.INFO: TCP Data received {"connection_id":51633,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:13:32] local.INFO: Processing buffer {"connection_id":51633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:13:32] local.INFO: IMEI packet received {"connection_id":51633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":51633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:13:32] local.INFO: TCP Data received {"connection_id":51633,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:13:32] local.INFO: Processing buffer {"connection_id":51633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db60e4610012d196500071ff038003800682c..."} 
[2026-04-22 22:13:32] local.INFO: Packet analysis {"connection_id":51633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:13:32] local.INFO: Extracted packet for processing {"connection_id":51633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db60e"} 
[2026-04-22 22:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880148736001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22: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-22 22:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776875882000,"timestamp_ms":1776875882000,"timestamp_seconds":1776875882,"priority":1,"record_length":96,"hex_timestamp":"0000019db60e4610"} 
[2026-04-22 22: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-22 22:13:32] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:13:32] 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-22 22:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880148736001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880148736001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880148736001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":51633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:13:32] local.INFO: GPS data processed {"connection_id":51633,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:13:32] local.INFO: Acknowledgment sent {"connection_id":51633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:14:03] local.INFO: TCP Data received {"connection_id":51632,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:14:03] local.INFO: Processing buffer {"connection_id":51632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:14:03] local.INFO: Packet analysis {"connection_id":51632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:14:03] local.INFO: Extracted packet for processing {"connection_id":51632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 22: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-22 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:14:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:14:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":51632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:14:03] local.INFO: GPS data processed {"connection_id":51632,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:14:03] local.INFO: Acknowledgment sent {"connection_id":51632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:14:03] local.INFO: TCP Data received {"connection_id":51633,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:14:03] local.INFO: Processing buffer {"connection_id":51633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:14:03] local.INFO: Packet analysis {"connection_id":51633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:14:03] local.INFO: Extracted packet for processing {"connection_id":51633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14: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-22 22:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22: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-22 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:14:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":51633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:14:03] local.INFO: GPS data processed {"connection_id":51633,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:14:03] local.INFO: Acknowledgment sent {"connection_id":51633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:14:15] local.INFO: TCP Data received {"connection_id":50977,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:14:15] local.INFO: Processing buffer {"connection_id":50977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:14:15] local.INFO: IMEI packet received {"connection_id":50977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":50977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:14:25] local.INFO: TCP Data received {"connection_id":50681,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:14:25] local.INFO: Processing buffer {"connection_id":50681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:14:25] local.INFO: IMEI packet received {"connection_id":50681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":50681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:14:27] local.INFO: TCP Data received {"connection_id":51061,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:14:27] local.INFO: Processing buffer {"connection_id":51061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:14:27] local.INFO: IMEI packet received {"connection_id":51061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":51061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:14:30] local.INFO: TCP Data received {"connection_id":50681,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:14:30] local.INFO: Processing buffer {"connection_id":50681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:14:30] local.INFO: IMEI packet received {"connection_id":50681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":50681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:14:31] local.INFO: TCP Data received {"connection_id":50681,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:14:31] local.INFO: Processing buffer {"connection_id":50681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:14:31] local.INFO: Packet analysis {"connection_id":50681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:14:31] local.INFO: Extracted packet for processing {"connection_id":50681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:14:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 22: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-22 22:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:14:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:14:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":50681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:14:31] local.INFO: GPS data processed {"connection_id":50681,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:14:31] local.INFO: Acknowledgment sent {"connection_id":50681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:14:31] local.INFO: TCP Data received {"connection_id":51061,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:14:31] local.INFO: Processing buffer {"connection_id":51061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:14:31] local.INFO: IMEI packet received {"connection_id":51061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":51061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:14:32] local.INFO: TCP Data received {"connection_id":51061,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:14:32] local.INFO: Processing buffer {"connection_id":51061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:14:32] local.INFO: Packet analysis {"connection_id":51061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:14:32] local.INFO: Extracted packet for processing {"connection_id":51061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14: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-22 22:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22: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-22 22:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:14:32] local.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-22 22:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:14:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":51061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:14:32] local.INFO: GPS data processed {"connection_id":51061,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:14:32] local.INFO: Acknowledgment sent {"connection_id":51061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:14:50] local.INFO: TCP Data received {"connection_id":51634,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:14:50] local.INFO: Processing buffer {"connection_id":51634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:14:50] local.INFO: IMEI packet received {"connection_id":51634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":51634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:14:55] local.INFO: TCP Data received {"connection_id":51634,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:14:55] local.INFO: Processing buffer {"connection_id":51634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:14:55] local.INFO: IMEI packet received {"connection_id":51634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 22:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":51634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:14:56] local.INFO: TCP Data received {"connection_id":51634,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019db5dd6e28012cb29ac007822f38004900302b..."} 
[2026-04-22 22:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db5dd6e28012cb29ac007822f38004900302b..."} 
[2026-04-22 22:14:56] local.INFO: Processing buffer {"connection_id":51634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db5dd6e28012cb29ac007822f38004900302b..."} 
[2026-04-22 22:14:56] local.INFO: Packet analysis {"connection_id":51634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db5dd"} 
[2026-04-22 22:14:56] local.INFO: Extracted packet for processing {"connection_id":51634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db5dd"} 
[2026-04-22 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972280,"longitude_deg":74.9902528,"latitude_deg":12.597228,"altitude":73,"angle":48,"satellites":43,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822f38","is_valid_coordinates":true} 
[2026-04-22 22:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454879329280001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063501312,"note":"Value kept but may cause issues"} 
[2026-04-22 22:14:56] local.INFO: IO Element Parsed {"io_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-22 22:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776872681000,"timestamp_ms":1776872681000,"timestamp_seconds":1776872681,"priority":1,"record_length":96,"hex_timestamp":"0000019db5dd6e28"} 
[2026-04-22 22:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-22 22:14:56] 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-22 22:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":51634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":51634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 22:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":51634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-22 22:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-22 22:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-22 22:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454879329280001,"66":25245,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063501312},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-22 22:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-22 22:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-22 22:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454879329280001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:14:56] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-22 22:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-22 22:14:56] 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-22 22:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063501312,"description":"Unknown IO ID 44"} 
[2026-04-22 22:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454879329280001,"power":25245,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063501312}} 
[2026-04-22 22:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":51634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:14:56] local.INFO: GPS data processed {"connection_id":51634,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:14:56] local.INFO: Acknowledgment sent {"connection_id":51634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:15:03] local.INFO: TCP Data received {"connection_id":50681,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:15:03] local.INFO: Processing buffer {"connection_id":50681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:15:03] local.INFO: Packet analysis {"connection_id":50681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:15:03] local.INFO: Extracted packet for processing {"connection_id":50681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 22:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:15:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":50681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:15:03] local.INFO: GPS data processed {"connection_id":50681,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:15:03] local.INFO: Acknowledgment sent {"connection_id":50681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:15:03] local.INFO: TCP Data received {"connection_id":51061,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:15:03] local.INFO: Processing buffer {"connection_id":51061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:15:03] local.INFO: Packet analysis {"connection_id":51061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:15:03] local.INFO: Extracted packet for processing {"connection_id":51061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15: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-22 22:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:15:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":51061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:15:03] local.INFO: GPS data processed {"connection_id":51061,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:15:03] local.INFO: Acknowledgment sent {"connection_id":51061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:15:25] local.INFO: TCP Data received {"connection_id":51063,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:15:25] local.INFO: Processing buffer {"connection_id":51063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:15:25] local.INFO: IMEI packet received {"connection_id":51063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":51063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:15:27] local.INFO: TCP Data received {"connection_id":51062,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:15:27] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:15:27] local.INFO: IMEI packet received {"connection_id":51062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":51062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:15:30] local.INFO: TCP Data received {"connection_id":51063,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:15:30] local.INFO: Processing buffer {"connection_id":51063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:15:30] local.INFO: IMEI packet received {"connection_id":51063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":51063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:15:31] local.INFO: TCP Data received {"connection_id":51063,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:15:31] local.INFO: Processing buffer {"connection_id":51063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61022a0012d77a04005f2a5a8000a01592c..."} 
[2026-04-22 22:15:31] local.INFO: Packet analysis {"connection_id":51063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:15:31] local.INFO: Extracted packet for processing {"connection_id":51063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db610"} 
[2026-04-22 22:15:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880179968001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876004000,"timestamp_ms":1776876004000,"timestamp_seconds":1776876004,"priority":1,"record_length":96,"hex_timestamp":"0000019db61022a0"} 
[2026-04-22 22: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-22 22:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-22 22:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880179968001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880179968001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:15:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:15:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880179968001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":51063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:15:31] local.INFO: GPS data processed {"connection_id":51063,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:15:31] local.INFO: Acknowledgment sent {"connection_id":51063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:15:31] local.INFO: TCP Data received {"connection_id":51062,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:15:31] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:15:31] local.INFO: IMEI packet received {"connection_id":51062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":51062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:15:32] local.INFO: TCP Data received {"connection_id":51062,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:15:32] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:15:32] local.INFO: Packet analysis {"connection_id":51062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:15:32] local.INFO: Extracted packet for processing {"connection_id":51062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:15: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-22 22:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22: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-22 22:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:15:32] 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-22 22:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:15:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":51062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:15:32] local.INFO: GPS data processed {"connection_id":51062,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:15:32] local.INFO: Acknowledgment sent {"connection_id":51062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:15:40] local.INFO: TCP Data received {"connection_id":51064,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:15:40] local.INFO: Processing buffer {"connection_id":51064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:15:40] local.INFO: IMEI packet received {"connection_id":51064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":51064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:16:02] local.INFO: TCP Data received {"connection_id":51063,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:16:02] local.INFO: Processing buffer {"connection_id":51063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:16:02] local.INFO: Packet analysis {"connection_id":51063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:16:02] local.INFO: Extracted packet for processing {"connection_id":51063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:16:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 22:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:16: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-22 22:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:16:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:16:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":51063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:16:02] local.INFO: GPS data processed {"connection_id":51063,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:16:02] local.INFO: Acknowledgment sent {"connection_id":51063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:16:04] local.INFO: TCP Data received {"connection_id":51062,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:16:04] local.INFO: Processing buffer {"connection_id":51062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:16:04] local.INFO: Packet analysis {"connection_id":51062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:16:04] local.INFO: Extracted packet for processing {"connection_id":51062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16: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-22 22:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22: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-22 22:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:16:04] 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-22 22:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:16:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":51062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:16:04] local.INFO: GPS data processed {"connection_id":51062,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:16:04] local.INFO: Acknowledgment sent {"connection_id":51062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:16:25] local.INFO: TCP Data received {"connection_id":51635,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:16:25] local.INFO: Processing buffer {"connection_id":51635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:16:25] local.INFO: IMEI packet received {"connection_id":51635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":51635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:16:26] local.INFO: TCP Data received {"connection_id":50682,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:16:26] local.INFO: Processing buffer {"connection_id":50682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:16:26] local.INFO: IMEI packet received {"connection_id":50682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":50682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:16:31] local.INFO: TCP Data received {"connection_id":50682,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:16:31] local.INFO: Processing buffer {"connection_id":50682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:16:31] local.INFO: IMEI packet received {"connection_id":50682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":50682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:16:32] local.INFO: TCP Data received {"connection_id":50682,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:16:32] local.INFO: Processing buffer {"connection_id":50682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:16:32] local.INFO: Packet analysis {"connection_id":50682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:16:32] local.INFO: Extracted packet for processing {"connection_id":50682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16: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-22 22:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22: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-22 22:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:16:32] 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-22 22:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:16:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":50682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:16:32] local.INFO: GPS data processed {"connection_id":50682,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:16:32] local.INFO: Acknowledgment sent {"connection_id":50682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:16:34] local.INFO: TCP Data received {"connection_id":51635,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:16:34] local.INFO: Processing buffer {"connection_id":51635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:16:34] local.INFO: IMEI packet received {"connection_id":51635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":51635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:16:35] local.INFO: TCP Data received {"connection_id":51635,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:16:35] local.INFO: Processing buffer {"connection_id":51635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:16:35] local.INFO: Packet analysis {"connection_id":51635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:16:35] local.INFO: Extracted packet for processing {"connection_id":51635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:16:35] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 22: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-22 22:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:16:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:16:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":51635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:16:35] local.INFO: GPS data processed {"connection_id":51635,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:16:35] local.INFO: Acknowledgment sent {"connection_id":51635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:17:03] local.INFO: TCP Data received {"connection_id":50682,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:17:03] local.INFO: Processing buffer {"connection_id":50682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:17:03] local.INFO: Packet analysis {"connection_id":50682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:17:03] local.INFO: Extracted packet for processing {"connection_id":50682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17: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-22 22:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:17:03] 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-22 22:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:17:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":50682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:17:03] local.INFO: GPS data processed {"connection_id":50682,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:17:03] local.INFO: Acknowledgment sent {"connection_id":50682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:17:06] local.INFO: TCP Data received {"connection_id":51635,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:17:06] local.INFO: Processing buffer {"connection_id":51635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:17:06] local.INFO: Packet analysis {"connection_id":51635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:17:06] local.INFO: Extracted packet for processing {"connection_id":51635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 22: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-22 22:17: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-22 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:17: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-22 22: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-22 22: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-22 22:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:17:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:17:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":51635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:17:06] local.INFO: GPS data processed {"connection_id":51635,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:17:06] local.INFO: Acknowledgment sent {"connection_id":51635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:17:25] local.INFO: TCP Data received {"connection_id":50979,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:17:25] local.INFO: Processing buffer {"connection_id":50979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:17:25] local.INFO: IMEI packet received {"connection_id":50979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":50979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:17:26] local.INFO: TCP Data received {"connection_id":51636,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:17:26] local.INFO: Processing buffer {"connection_id":51636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:17:26] local.INFO: IMEI packet received {"connection_id":51636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":51636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:17:30] local.INFO: TCP Data received {"connection_id":50979,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:17:30] local.INFO: Processing buffer {"connection_id":50979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:17:30] local.INFO: IMEI packet received {"connection_id":50979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":50979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:17:31] local.INFO: TCP Data received {"connection_id":51636,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:17:31] local.INFO: Processing buffer {"connection_id":51636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:17:31] local.INFO: IMEI packet received {"connection_id":51636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":51636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:17:31] local.INFO: TCP Data received {"connection_id":50979,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:17:31] local.INFO: Processing buffer {"connection_id":50979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:17:31] local.INFO: Packet analysis {"connection_id":50979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:17:31] local.INFO: Extracted packet for processing {"connection_id":50979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:17:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 22: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-22 22:17: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-22 22: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":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:17: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-22 22: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-22 22: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-22 22:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:17:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:17:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":50979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:17:31] local.INFO: GPS data processed {"connection_id":50979,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:17:31] local.INFO: Acknowledgment sent {"connection_id":50979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:17:32] local.INFO: TCP Data received {"connection_id":51636,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:17:32] local.INFO: Processing buffer {"connection_id":51636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:17:32] local.INFO: Packet analysis {"connection_id":51636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:17:32] local.INFO: Extracted packet for processing {"connection_id":51636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:17: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-22 22:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22: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-22 22:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:17:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":51636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:17:32] local.INFO: GPS data processed {"connection_id":51636,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:17:32] local.INFO: Acknowledgment sent {"connection_id":51636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:18:03] local.INFO: TCP Data received {"connection_id":51636,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:18:03] local.INFO: Processing buffer {"connection_id":51636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:18:03] local.INFO: Packet analysis {"connection_id":51636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:18:03] local.INFO: Extracted packet for processing {"connection_id":51636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18: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-22 22:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:18:03] local.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-22 22:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:18:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":51636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:18:03] local.INFO: GPS data processed {"connection_id":51636,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:18:03] local.INFO: Acknowledgment sent {"connection_id":51636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:18:03] local.INFO: TCP Data received {"connection_id":50979,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:18:03] local.INFO: Processing buffer {"connection_id":50979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:18:03] local.INFO: Packet analysis {"connection_id":50979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:18:03] local.INFO: Extracted packet for processing {"connection_id":50979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:18:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 22:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:18: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-22 22:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:18:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:18:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":50979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:18:03] local.INFO: GPS data processed {"connection_id":50979,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:18:03] local.INFO: Acknowledgment sent {"connection_id":50979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:18:25] local.INFO: TCP Data received {"connection_id":51066,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:18:25] local.INFO: Processing buffer {"connection_id":51066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:18:25] local.INFO: IMEI packet received {"connection_id":51066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":51066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:18:26] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:18:26] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:18:26] local.INFO: IMEI packet received {"connection_id":50683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":50683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:18:30] local.INFO: TCP Data received {"connection_id":51066,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:18:30] local.INFO: Processing buffer {"connection_id":51066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:18:30] local.INFO: IMEI packet received {"connection_id":51066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":51066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:18:31] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:18:31] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:18:31] local.INFO: IMEI packet received {"connection_id":50683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":50683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:18:31] local.INFO: TCP Data received {"connection_id":51066,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:18:31] local.INFO: Processing buffer {"connection_id":51066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:18:31] local.INFO: Packet analysis {"connection_id":51066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:18:31] local.INFO: Extracted packet for processing {"connection_id":51066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:18:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 22: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-22 22: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-22 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:18: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-22 22: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-22 22: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-22 22:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:18:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:18:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":51066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:18:31] local.INFO: GPS data processed {"connection_id":51066,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:18:31] local.INFO: Acknowledgment sent {"connection_id":51066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:18:32] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:18:32] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db612ddd8012d196500071ff038003800682c..."} 
[2026-04-22 22:18:32] local.INFO: Packet analysis {"connection_id":50683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:18:32] local.INFO: Extracted packet for processing {"connection_id":50683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db612"} 
[2026-04-22 22:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880225792001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:18: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-22 22:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876183000,"timestamp_ms":1776876183000,"timestamp_seconds":1776876183,"priority":1,"record_length":96,"hex_timestamp":"0000019db612ddd8"} 
[2026-04-22 22:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880225792001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880225792001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:18:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880225792001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":50683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:18:32] local.INFO: GPS data processed {"connection_id":50683,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:18:32] local.INFO: Acknowledgment sent {"connection_id":50683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:19:03] local.INFO: TCP Data received {"connection_id":51066,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:19:03] local.INFO: Processing buffer {"connection_id":51066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:19:03] local.INFO: Packet analysis {"connection_id":51066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:19:03] local.INFO: Extracted packet for processing {"connection_id":51066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:19:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 22:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 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-22 22:19: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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:19:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:19:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":51066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:19:03] local.INFO: GPS data processed {"connection_id":51066,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:19:03] local.INFO: Acknowledgment sent {"connection_id":51066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:19:03] local.INFO: TCP Data received {"connection_id":50683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:19:03] local.INFO: Processing buffer {"connection_id":50683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:19:03] local.INFO: Packet analysis {"connection_id":50683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:19:03] local.INFO: Extracted packet for processing {"connection_id":50683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 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-22 22:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19: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-22 22:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 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-22 22:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:19:03] local.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-22 22:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:19:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":50683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:19:03] local.INFO: GPS data processed {"connection_id":50683,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:19:03] local.INFO: Acknowledgment sent {"connection_id":50683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:19:26] local.INFO: TCP Data received {"connection_id":51637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:19:26] local.INFO: Processing buffer {"connection_id":51637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:19:26] local.INFO: IMEI packet received {"connection_id":51637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":51637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:19:30] local.INFO: TCP Data received {"connection_id":51638,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:19:30] local.INFO: Processing buffer {"connection_id":51638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:19:30] local.INFO: IMEI packet received {"connection_id":51638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":51638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:19:31] local.INFO: TCP Data received {"connection_id":51637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:19:31] local.INFO: Processing buffer {"connection_id":51637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:19:31] local.INFO: IMEI packet received {"connection_id":51637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":51637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:19:32] local.INFO: TCP Data received {"connection_id":51637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:19:32] local.INFO: Processing buffer {"connection_id":51637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:19:32] local.INFO: Packet analysis {"connection_id":51637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:19:32] local.INFO: Extracted packet for processing {"connection_id":51637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19: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-22 22:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 22:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:19:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":51637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:19:32] local.INFO: GPS data processed {"connection_id":51637,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:19:32] local.INFO: Acknowledgment sent {"connection_id":51637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:19:35] local.INFO: TCP Data received {"connection_id":51638,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:19:35] local.INFO: Processing buffer {"connection_id":51638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:19:35] local.INFO: IMEI packet received {"connection_id":51638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":51638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:19:37] local.INFO: TCP Data received {"connection_id":51638,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:19:37] local.INFO: Processing buffer {"connection_id":51638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:19:37] local.INFO: Packet analysis {"connection_id":51638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:19:37] local.INFO: Extracted packet for processing {"connection_id":51638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 22: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-22 22:19: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-22 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:19: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-22 22: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-22 22: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-22 22:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:19:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:19:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":51638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:19:37] local.INFO: GPS data processed {"connection_id":51638,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:19:37] local.INFO: Acknowledgment sent {"connection_id":51638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:19:41] local.INFO: TCP Data received {"connection_id":51638,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:19:41] local.INFO: Processing buffer {"connection_id":51638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:19:41] local.INFO: Packet analysis {"connection_id":51638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:19:41] local.INFO: Extracted packet for processing {"connection_id":51638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:19:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 22: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-22 22:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:19:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:19:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":51638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:19:41] local.INFO: GPS data processed {"connection_id":51638,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:19:41] local.INFO: Acknowledgment sent {"connection_id":51638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:20:03] local.INFO: TCP Data received {"connection_id":51637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:20:03] local.INFO: Processing buffer {"connection_id":51637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:20:03] local.INFO: Packet analysis {"connection_id":51637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:20:03] local.INFO: Extracted packet for processing {"connection_id":51637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:20: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-22 22:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 22: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-22 22:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:20:03] local.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-22 22:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:20:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":51637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:20:03] local.INFO: GPS data processed {"connection_id":51637,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:20:03] local.INFO: Acknowledgment sent {"connection_id":51637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:20:25] local.INFO: TCP Data received {"connection_id":50981,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:20:25] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:20:25] local.INFO: IMEI packet received {"connection_id":50981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":50981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:20:26] local.INFO: TCP Data received {"connection_id":51067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:20:26] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:20:26] local.INFO: IMEI packet received {"connection_id":51067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":51067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:20:30] local.INFO: TCP Data received {"connection_id":50981,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:20:30] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:20:30] local.INFO: IMEI packet received {"connection_id":50981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":50981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:20:31] local.INFO: TCP Data received {"connection_id":51067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:20:31] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:20:31] local.INFO: IMEI packet received {"connection_id":51067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":51067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:20:31] local.INFO: TCP Data received {"connection_id":50981,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:20:31] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db614ba68012d77a04005f2a5a8000a015932..."} 
[2026-04-22 22:20:31] local.INFO: Packet analysis {"connection_id":50981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:20:31] local.INFO: Extracted packet for processing {"connection_id":50981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db614"} 
[2026-04-22 22:20:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":10,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880257024001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876305000,"timestamp_ms":1776876305000,"timestamp_seconds":1776876305,"priority":1,"record_length":96,"hex_timestamp":"0000019db614ba68"} 
[2026-04-22 22: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-22 22:20: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-22 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:20: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-22 22: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-22 22: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-22 22:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880257024001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880257024001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:20:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:20:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880257024001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":50981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:20:31] local.INFO: GPS data processed {"connection_id":50981,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:20:31] local.INFO: Acknowledgment sent {"connection_id":50981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:20:32] local.INFO: TCP Data received {"connection_id":51067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:20:32] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:20:32] local.INFO: Packet analysis {"connection_id":51067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:20:32] local.INFO: Extracted packet for processing {"connection_id":51067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:20: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-22 22:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 22: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-22 22:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:20:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":51067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:20:32] local.INFO: GPS data processed {"connection_id":51067,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:20:32] local.INFO: Acknowledgment sent {"connection_id":51067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:21:00] local.INFO: TCP Data received {"connection_id":51068,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:21:00] local.INFO: Processing buffer {"connection_id":51068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:21:00] local.INFO: IMEI packet received {"connection_id":51068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":51068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:21:03] local.INFO: TCP Data received {"connection_id":51067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:21:03] local.INFO: Processing buffer {"connection_id":51067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:21:03] local.INFO: Packet analysis {"connection_id":51067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:21:03] local.INFO: Extracted packet for processing {"connection_id":51067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21: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-22 22:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 22: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-22 22:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:21:03] local.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-22 22:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:21:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:21:03] local.INFO: TCP Data received {"connection_id":50981,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:21:03] local.INFO: Processing buffer {"connection_id":50981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:21:03] local.INFO: Packet analysis {"connection_id":50981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:21:03] local.INFO: Extracted packet for processing {"connection_id":50981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:21:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 22: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-22 22:21: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-22 22: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":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:21:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:21:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":50981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:21:03] local.INFO: GPS data processed {"connection_id":50981,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:21:03] local.INFO: Acknowledgment sent {"connection_id":50981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":51067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:21:03] local.INFO: GPS data processed {"connection_id":51067,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:21:03] local.INFO: Acknowledgment sent {"connection_id":51067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:21:25] local.INFO: TCP Data received {"connection_id":51639,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:21:25] local.INFO: Processing buffer {"connection_id":51639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:21:25] local.INFO: IMEI packet received {"connection_id":51639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":51639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:21:26] local.INFO: TCP Data received {"connection_id":50685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:21:26] local.INFO: Processing buffer {"connection_id":50685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:21:26] local.INFO: IMEI packet received {"connection_id":50685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":50685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:21:30] local.INFO: TCP Data received {"connection_id":51639,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:21:30] local.INFO: Processing buffer {"connection_id":51639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:21:30] local.INFO: IMEI packet received {"connection_id":51639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":51639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:21:31] local.INFO: TCP Data received {"connection_id":50685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:21:31] local.INFO: Processing buffer {"connection_id":50685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:21:31] local.INFO: IMEI packet received {"connection_id":50685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":50685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:21:31] local.INFO: TCP Data received {"connection_id":51639,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:21:31] local.INFO: Processing buffer {"connection_id":51639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:21:31] local.INFO: Packet analysis {"connection_id":51639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:21:31] local.INFO: Extracted packet for processing {"connection_id":51639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:21:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 22: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-22 22:21: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-22 22:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:21:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:21:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":51639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:21:31] local.INFO: GPS data processed {"connection_id":51639,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:21:31] local.INFO: Acknowledgment sent {"connection_id":51639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:21:32] local.INFO: TCP Data received {"connection_id":50685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:21:32] local.INFO: Processing buffer {"connection_id":50685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:21:32] local.INFO: Packet analysis {"connection_id":50685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:21:32] local.INFO: Extracted packet for processing {"connection_id":50685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:21: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-22 22:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 22: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-22 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:21:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":50685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:21:32] local.INFO: GPS data processed {"connection_id":50685,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:21:32] local.INFO: Acknowledgment sent {"connection_id":50685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:22:03] local.INFO: TCP Data received {"connection_id":50685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:22:03] local.INFO: Processing buffer {"connection_id":50685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:22:03] local.INFO: Packet analysis {"connection_id":50685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:22:03] local.INFO: Extracted packet for processing {"connection_id":50685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22: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-22 22:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 22:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:22:03] local.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-22 22:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:22:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":50685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:22:03] local.INFO: GPS data processed {"connection_id":50685,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:22:03] local.INFO: Acknowledgment sent {"connection_id":50685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:22:03] local.INFO: TCP Data received {"connection_id":51639,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:22:03] local.INFO: Processing buffer {"connection_id":51639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:22:03] local.INFO: Packet analysis {"connection_id":51639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:22:03] local.INFO: Extracted packet for processing {"connection_id":51639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 22:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:22: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-22 22:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:22: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-22 22:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:22:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:22:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":51639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:22:04] local.INFO: GPS data processed {"connection_id":51639,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:22:04] local.INFO: Acknowledgment sent {"connection_id":51639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:22:25] local.INFO: TCP Data received {"connection_id":51070,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:22:25] local.INFO: Processing buffer {"connection_id":51070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:22:25] local.INFO: IMEI packet received {"connection_id":51070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":51070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:22:26] local.INFO: TCP Data received {"connection_id":51069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:22:26] local.INFO: Processing buffer {"connection_id":51069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:22:26] local.INFO: IMEI packet received {"connection_id":51069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":51069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:22:30] local.INFO: TCP Data received {"connection_id":51070,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:22:30] local.INFO: Processing buffer {"connection_id":51070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:22:30] local.INFO: IMEI packet received {"connection_id":51070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":51070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:22:31] local.INFO: TCP Data received {"connection_id":51070,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:22:31] local.INFO: Processing buffer {"connection_id":51070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:22:31] local.INFO: Packet analysis {"connection_id":51070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:22:31] local.INFO: Extracted packet for processing {"connection_id":51070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:22:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 22: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-22 22:22: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-22 22: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":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:22: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-22 22: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-22 22: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-22 22:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:22:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:22:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":51070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:22:31] local.INFO: GPS data processed {"connection_id":51070,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:22:31] local.INFO: Acknowledgment sent {"connection_id":51070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:22:31] local.INFO: TCP Data received {"connection_id":51069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:22:31] local.INFO: Processing buffer {"connection_id":51069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:22:31] local.INFO: IMEI packet received {"connection_id":51069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":51069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:22:32] local.INFO: TCP Data received {"connection_id":51069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:22:32] local.INFO: Processing buffer {"connection_id":51069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:22:32] local.INFO: Packet analysis {"connection_id":51069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:22:32] local.INFO: Extracted packet for processing {"connection_id":51069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:22: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-22 22:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 22: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-22 22:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:22:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":51069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:22:32] local.INFO: GPS data processed {"connection_id":51069,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:22:32] local.INFO: Acknowledgment sent {"connection_id":51069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:23:03] local.INFO: TCP Data received {"connection_id":51069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:23:03] local.INFO: Processing buffer {"connection_id":51069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:23:03] local.INFO: Packet analysis {"connection_id":51069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:23:03] local.INFO: Extracted packet for processing {"connection_id":51069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23: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-22 22:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 22:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:23:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":51069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:23:03] local.INFO: GPS data processed {"connection_id":51069,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:23:03] local.INFO: Acknowledgment sent {"connection_id":51069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:23:04] local.INFO: TCP Data received {"connection_id":51070,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:23:04] local.INFO: Processing buffer {"connection_id":51070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:23:04] local.INFO: Packet analysis {"connection_id":51070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:23:04] local.INFO: Extracted packet for processing {"connection_id":51070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:23:04] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 22:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:23: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-22 22:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:23: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-22 22:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:23:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:23:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":51070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:23:04] local.INFO: GPS data processed {"connection_id":51070,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:23:04] local.INFO: Acknowledgment sent {"connection_id":51070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:23:26] local.INFO: TCP Data received {"connection_id":51071,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:23:26] local.INFO: Processing buffer {"connection_id":51071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:23:26] local.INFO: IMEI packet received {"connection_id":51071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":51071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:23:30] local.INFO: TCP Data received {"connection_id":51072,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:23:30] local.INFO: Processing buffer {"connection_id":51072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:23:30] local.INFO: IMEI packet received {"connection_id":51072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":51072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:23:32] local.INFO: TCP Data received {"connection_id":51071,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:23:32] local.INFO: Processing buffer {"connection_id":51071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:23:32] local.INFO: IMEI packet received {"connection_id":51071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":51071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:23:32] local.INFO: TCP Data received {"connection_id":51071,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:23:32] local.INFO: Processing buffer {"connection_id":51071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61775a0012d196500071ff0380038006829..."} 
[2026-04-22 22:23:32] local.INFO: Packet analysis {"connection_id":51071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:23:32] local.INFO: Extracted packet for processing {"connection_id":51071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db617"} 
[2026-04-22 22:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880302848001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23: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-22 22:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876484000,"timestamp_ms":1776876484000,"timestamp_seconds":1776876484,"priority":1,"record_length":96,"hex_timestamp":"0000019db61775a0"} 
[2026-04-22 22: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-22 22:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:23:32] 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-22 22:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880302848001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880302848001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:23:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880302848001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":51071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:23:32] local.INFO: GPS data processed {"connection_id":51071,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:23:32] local.INFO: Acknowledgment sent {"connection_id":51071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:23:35] local.INFO: TCP Data received {"connection_id":51072,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:23:35] local.INFO: Processing buffer {"connection_id":51072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:23:35] local.INFO: IMEI packet received {"connection_id":51072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":51072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:23:36] local.INFO: TCP Data received {"connection_id":51072,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:23:36] local.INFO: Processing buffer {"connection_id":51072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:23:36] local.INFO: Packet analysis {"connection_id":51072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:23:36] local.INFO: Extracted packet for processing {"connection_id":51072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 22:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:23: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-22 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:23: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-22 22:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:23:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:23:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":51072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:23:36] local.INFO: GPS data processed {"connection_id":51072,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:23:36] local.INFO: Acknowledgment sent {"connection_id":51072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:23:41] local.INFO: TCP Data received {"connection_id":51072,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:23:41] local.INFO: Processing buffer {"connection_id":51072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:23:41] local.INFO: Packet analysis {"connection_id":51072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:23:41] local.INFO: Extracted packet for processing {"connection_id":51072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:23:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 22:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:23:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:23:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":51072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:23:41] local.INFO: GPS data processed {"connection_id":51072,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:23:41] local.INFO: Acknowledgment sent {"connection_id":51072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:24:03] local.INFO: TCP Data received {"connection_id":51071,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:24:03] local.INFO: Processing buffer {"connection_id":51071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:24:03] local.INFO: Packet analysis {"connection_id":51071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:24:03] local.INFO: Extracted packet for processing {"connection_id":51071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:24: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-22 22:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:24:03] 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-22 22:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":51071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:24:03] local.INFO: GPS data processed {"connection_id":51071,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:24:03] local.INFO: Acknowledgment sent {"connection_id":51071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:24:25] local.INFO: TCP Data received {"connection_id":50983,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:24:25] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:24:25] local.INFO: IMEI packet received {"connection_id":50983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":50983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:24:26] local.INFO: TCP Data received {"connection_id":51642,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:24:26] local.INFO: Processing buffer {"connection_id":51642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:24:26] local.INFO: IMEI packet received {"connection_id":51642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":51642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:24:30] local.INFO: TCP Data received {"connection_id":50983,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:24:30] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:24:30] local.INFO: IMEI packet received {"connection_id":50983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":50983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:24:31] local.INFO: TCP Data received {"connection_id":50983,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:24:31] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:24:31] local.INFO: Packet analysis {"connection_id":50983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:24:31] local.INFO: Extracted packet for processing {"connection_id":50983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:24:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 22: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-22 22: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-22 22: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":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:24: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-22 22: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-22 22: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-22 22:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:24:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:24:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":50983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:24:31] local.INFO: GPS data processed {"connection_id":50983,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:24:31] local.INFO: Acknowledgment sent {"connection_id":50983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:24:31] local.INFO: TCP Data received {"connection_id":51642,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:24:31] local.INFO: Processing buffer {"connection_id":51642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:24:31] local.INFO: IMEI packet received {"connection_id":51642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":51642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:24:32] local.INFO: TCP Data received {"connection_id":51642,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:24:32] local.INFO: Processing buffer {"connection_id":51642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:24:32] local.INFO: Packet analysis {"connection_id":51642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:24:32] local.INFO: Extracted packet for processing {"connection_id":51642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:24: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-22 22:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22: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-22 22:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:24:32] local.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-22 22:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:24:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":51642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:24:32] local.INFO: GPS data processed {"connection_id":51642,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:24:32] local.INFO: Acknowledgment sent {"connection_id":51642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:25:03] local.INFO: TCP Data received {"connection_id":50983,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:25:03] local.INFO: Processing buffer {"connection_id":50983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:25:03] local.INFO: Packet analysis {"connection_id":50983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:25:03] local.INFO: Extracted packet for processing {"connection_id":50983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 22:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 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-22 22:25: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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:25:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:25:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":50983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:25:03] local.INFO: GPS data processed {"connection_id":50983,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:25:03] local.INFO: Acknowledgment sent {"connection_id":50983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:25:03] local.INFO: TCP Data received {"connection_id":51642,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:25:03] local.INFO: Processing buffer {"connection_id":51642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:25:03] local.INFO: Packet analysis {"connection_id":51642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:25:03] local.INFO: Extracted packet for processing {"connection_id":51642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 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-22 22:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25: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-22 22:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 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-22 22:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:25:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":51642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:25:03] local.INFO: GPS data processed {"connection_id":51642,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:25:03] local.INFO: Acknowledgment sent {"connection_id":51642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:25:25] local.INFO: TCP Data received {"connection_id":51073,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:25:25] local.INFO: Processing buffer {"connection_id":51073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:25:25] local.INFO: IMEI packet received {"connection_id":51073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":51073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:25:26] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:25:26] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:25:26] local.INFO: IMEI packet received {"connection_id":50984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":50984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:25:30] local.INFO: TCP Data received {"connection_id":51073,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:25:30] local.INFO: Processing buffer {"connection_id":51073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:25:30] local.INFO: IMEI packet received {"connection_id":51073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":51073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:25:31] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:25:31] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:25:31] local.INFO: IMEI packet received {"connection_id":50984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":50984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:25:32] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:25:32] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:25:32] local.INFO: Packet analysis {"connection_id":50984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:25:32] local.INFO: Extracted packet for processing {"connection_id":50984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25: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-22 22:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22: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-22 22:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:25:32] 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-22 22:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:25:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":50984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:25:32] local.INFO: GPS data processed {"connection_id":50984,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:25:32] local.INFO: Acknowledgment sent {"connection_id":50984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:25:37] local.INFO: TCP Data received {"connection_id":51073,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:25:37] local.INFO: Processing buffer {"connection_id":51073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6195230012d77a04005f2a5a8001b01592d..."} 
[2026-04-22 22:25:37] local.INFO: Packet analysis {"connection_id":51073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:25:37] local.INFO: Extracted packet for processing {"connection_id":51073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db619"} 
[2026-04-22 22:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":45,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880334080001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776876606000,"timestamp_ms":1776876606000,"timestamp_seconds":1776876606,"priority":1,"record_length":96,"hex_timestamp":"0000019db6195230"} 
[2026-04-22 22: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-22 22:25: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-22 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:25: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-22 22: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-22 22: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-22 22:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880334080001,"66":25582,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880334080001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:25:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:25:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880334080001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":51073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:25:37] local.INFO: GPS data processed {"connection_id":51073,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:25:37] local.INFO: Acknowledgment sent {"connection_id":51073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:26:03] local.INFO: TCP Data received {"connection_id":50984,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:26:03] local.INFO: Processing buffer {"connection_id":50984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:26:03] local.INFO: Packet analysis {"connection_id":50984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:26:03] local.INFO: Extracted packet for processing {"connection_id":50984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26: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-22 22:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22: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-22 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:26:03] 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-22 22:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:26:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":50984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:26:03] local.INFO: GPS data processed {"connection_id":50984,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:26:03] local.INFO: Acknowledgment sent {"connection_id":50984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:26:08] local.INFO: TCP Data received {"connection_id":51073,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:26:08] local.INFO: Processing buffer {"connection_id":51073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:26:08] local.INFO: Packet analysis {"connection_id":51073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:26:08] local.INFO: Extracted packet for processing {"connection_id":51073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:26:08] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880411136001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776876907000,"timestamp_ms":1776876907000,"timestamp_seconds":1776876907,"priority":1,"record_length":96,"hex_timestamp":"0000019db61de9f8"} 
[2026-04-22 22:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:26: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-22 22:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880411136001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880411136001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:26:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:26:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880411136001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":51073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:26:08] local.INFO: GPS data processed {"connection_id":51073,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:26:08] local.INFO: Acknowledgment sent {"connection_id":51073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:26:26] local.INFO: TCP Data received {"connection_id":51074,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:26:26] local.INFO: Processing buffer {"connection_id":51074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:26:26] local.INFO: IMEI packet received {"connection_id":51074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":51074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:26:30] local.INFO: TCP Data received {"connection_id":50985,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:26:30] local.INFO: Processing buffer {"connection_id":50985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:26:30] local.INFO: IMEI packet received {"connection_id":50985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":50985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:26:31] local.INFO: TCP Data received {"connection_id":51074,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:26:31] local.INFO: Processing buffer {"connection_id":51074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:26:31] local.INFO: IMEI packet received {"connection_id":51074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":51074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:26:32] local.INFO: TCP Data received {"connection_id":51074,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:26:32] local.INFO: Processing buffer {"connection_id":51074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:26:32] local.INFO: Packet analysis {"connection_id":51074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:26:32] local.INFO: Extracted packet for processing {"connection_id":51074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26: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-22 22:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22: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-22 22:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:26:32] 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-22 22:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:26:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":51074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:26:32] local.INFO: GPS data processed {"connection_id":51074,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:26:32] local.INFO: Acknowledgment sent {"connection_id":51074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:26:35] local.INFO: TCP Data received {"connection_id":50985,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:26:35] local.INFO: Processing buffer {"connection_id":50985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:26:35] local.INFO: IMEI packet received {"connection_id":50985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":50985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:26:36] local.INFO: TCP Data received {"connection_id":50985,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:26:36] local.INFO: Processing buffer {"connection_id":50985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:26:36] local.INFO: Packet analysis {"connection_id":50985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:26:36] local.INFO: Extracted packet for processing {"connection_id":50985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880411136001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776876907000,"timestamp_ms":1776876907000,"timestamp_seconds":1776876907,"priority":1,"record_length":96,"hex_timestamp":"0000019db61de9f8"} 
[2026-04-22 22:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22: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-22 22:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:26: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-22 22:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880411136001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880411136001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:26:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:26:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880411136001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":50985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:26:36] local.INFO: GPS data processed {"connection_id":50985,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:26:36] local.INFO: Acknowledgment sent {"connection_id":50985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:26:41] local.INFO: TCP Data received {"connection_id":50985,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:26:41] local.INFO: Processing buffer {"connection_id":50985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:26:41] local.INFO: Packet analysis {"connection_id":50985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:26:41] local.INFO: Extracted packet for processing {"connection_id":50985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:26:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880411136001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776876907000,"timestamp_ms":1776876907000,"timestamp_seconds":1776876907,"priority":1,"record_length":96,"hex_timestamp":"0000019db61de9f8"} 
[2026-04-22 22:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880411136001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880411136001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:26:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:26:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880411136001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":50985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:26:41] local.INFO: GPS data processed {"connection_id":50985,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:26:41] local.INFO: Acknowledgment sent {"connection_id":50985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:26:52] local.INFO: TCP Data received {"connection_id":50986,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:26:52] local.INFO: Processing buffer {"connection_id":50986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:26:52] local.INFO: IMEI packet received {"connection_id":50986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":50986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:27:03] local.INFO: TCP Data received {"connection_id":51074,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:27:03] local.INFO: Processing buffer {"connection_id":51074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:27:03] local.INFO: Packet analysis {"connection_id":51074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:27:03] local.INFO: Extracted packet for processing {"connection_id":51074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:27: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-22 22:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22: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-22 22:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:27:03] 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-22 22:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:27:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":51074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:27:03] local.INFO: GPS data processed {"connection_id":51074,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:27:03] local.INFO: Acknowledgment sent {"connection_id":51074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:27:25] local.INFO: TCP Data received {"connection_id":50987,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:27:25] local.INFO: Processing buffer {"connection_id":50987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:27:25] local.INFO: IMEI packet received {"connection_id":50987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":50987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:27:26] local.INFO: TCP Data received {"connection_id":50988,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:27:26] local.INFO: Processing buffer {"connection_id":50988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:27:26] local.INFO: IMEI packet received {"connection_id":50988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":50988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:27:30] local.INFO: TCP Data received {"connection_id":50987,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:27:30] local.INFO: Processing buffer {"connection_id":50987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:27:30] local.INFO: IMEI packet received {"connection_id":50987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":50987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:27:31] local.INFO: TCP Data received {"connection_id":50988,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:27:31] local.INFO: Processing buffer {"connection_id":50988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:27:31] local.INFO: IMEI packet received {"connection_id":50988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":50988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:27:32] local.INFO: TCP Data received {"connection_id":50988,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:27:32] local.INFO: Processing buffer {"connection_id":50988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:27:32] local.INFO: Packet analysis {"connection_id":50988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:27:32] local.INFO: Extracted packet for processing {"connection_id":50988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:27: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-22 22:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22: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-22 22:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:27:32] 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-22 22:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:27:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":50988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:27:32] local.INFO: GPS data processed {"connection_id":50988,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:27:32] local.INFO: Acknowledgment sent {"connection_id":50988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:27:37] local.INFO: TCP Data received {"connection_id":50987,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:27:37] local.INFO: Processing buffer {"connection_id":50987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:27:37] local.INFO: Packet analysis {"connection_id":50987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:27:37] local.INFO: Extracted packet for processing {"connection_id":50987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:27:37] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880411136001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776876907000,"timestamp_ms":1776876907000,"timestamp_seconds":1776876907,"priority":1,"record_length":96,"hex_timestamp":"0000019db61de9f8"} 
[2026-04-22 22: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-22 22:27: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-22 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:27: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-22 22: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-22 22: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-22 22:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880411136001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880411136001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:27:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:27:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880411136001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":50987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:27:37] local.INFO: GPS data processed {"connection_id":50987,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:27:37] local.INFO: Acknowledgment sent {"connection_id":50987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:28:03] local.INFO: TCP Data received {"connection_id":50988,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:28:03] local.INFO: Processing buffer {"connection_id":50988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:28:03] local.INFO: Packet analysis {"connection_id":50988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:28:03] local.INFO: Extracted packet for processing {"connection_id":50988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28: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-22 22:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:28:03] 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-22 22:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:28:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":50988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:28:04] local.INFO: GPS data processed {"connection_id":50988,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:28:04] local.INFO: Acknowledgment sent {"connection_id":50988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:28:25] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:28:25] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:28:25] local.INFO: IMEI packet received {"connection_id":50989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":50989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:28:30] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:28:30] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:28:30] local.INFO: IMEI packet received {"connection_id":50989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":50989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:28:31] local.INFO: TCP Data received {"connection_id":51075,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:28:31] local.INFO: Processing buffer {"connection_id":51075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:28:31] local.INFO: IMEI packet received {"connection_id":51075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":51075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:28:32] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:28:32] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:28:32] local.INFO: Packet analysis {"connection_id":50989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:28:32] local.INFO: Extracted packet for processing {"connection_id":50989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:28:32] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880411136001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776876907000,"timestamp_ms":1776876907000,"timestamp_seconds":1776876907,"priority":1,"record_length":96,"hex_timestamp":"0000019db61de9f8"} 
[2026-04-22 22: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-22 22:28: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-22 22: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":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:28: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-22 22: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-22 22: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-22 22:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880411136001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880411136001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:28:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:28:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880411136001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":50989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:28:32] local.INFO: GPS data processed {"connection_id":50989,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:28:32] local.INFO: Acknowledgment sent {"connection_id":50989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:28:36] local.INFO: TCP Data received {"connection_id":51075,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:28:36] local.INFO: Processing buffer {"connection_id":51075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:28:36] local.INFO: IMEI packet received {"connection_id":51075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":51075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:28:37] local.INFO: TCP Data received {"connection_id":51075,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:28:37] local.INFO: Processing buffer {"connection_id":51075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:28:37] local.INFO: Packet analysis {"connection_id":51075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:28:37] local.INFO: Extracted packet for processing {"connection_id":51075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:28:37] 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-22 22:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:28:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":51075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:28:37] local.INFO: GPS data processed {"connection_id":51075,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:28:37] local.INFO: Acknowledgment sent {"connection_id":51075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:28:42] local.INFO: TCP Data received {"connection_id":51075,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:28:42] local.INFO: Processing buffer {"connection_id":51075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61c0d68012d196500071ff038003800682a..."} 
[2026-04-22 22:28:42] local.INFO: Packet analysis {"connection_id":51075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:28:42] local.INFO: Extracted packet for processing {"connection_id":51075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61c"} 
[2026-04-22 22:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880379904001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:28: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-22 22:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776876785000,"timestamp_ms":1776876785000,"timestamp_seconds":1776876785,"priority":1,"record_length":96,"hex_timestamp":"0000019db61c0d68"} 
[2026-04-22 22:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880379904001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880379904001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:28:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:28:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880379904001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":51075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:28:42] local.INFO: GPS data processed {"connection_id":51075,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:28:42] local.INFO: Acknowledgment sent {"connection_id":51075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:29:04] local.INFO: TCP Data received {"connection_id":50989,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:29:04] local.INFO: Processing buffer {"connection_id":50989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:29:04] local.INFO: Packet analysis {"connection_id":50989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:29:04] local.INFO: Extracted packet for processing {"connection_id":50989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880411136001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776876907000,"timestamp_ms":1776876907000,"timestamp_seconds":1776876907,"priority":1,"record_length":96,"hex_timestamp":"0000019db61de9f8"} 
[2026-04-22 22:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:29: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-22 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:29: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-22 22:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880411136001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880411136001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:29:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:29:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880411136001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":50989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:29:04] local.INFO: GPS data processed {"connection_id":50989,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:29:04] local.INFO: Acknowledgment sent {"connection_id":50989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:29:25] local.INFO: TCP Data received {"connection_id":51644,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:29:25] local.INFO: Processing buffer {"connection_id":51644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:29:25] local.INFO: IMEI packet received {"connection_id":51644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":51644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:29:26] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:29:26] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:29:26] local.INFO: IMEI packet received {"connection_id":50688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":50688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:29:30] local.INFO: TCP Data received {"connection_id":51644,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:29:30] local.INFO: Processing buffer {"connection_id":51644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:29:30] local.INFO: IMEI packet received {"connection_id":51644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":51644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:29:31] local.INFO: TCP Data received {"connection_id":51644,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:29:31] local.INFO: Processing buffer {"connection_id":51644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:29:31] local.INFO: Packet analysis {"connection_id":51644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:29:31] local.INFO: Extracted packet for processing {"connection_id":51644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:29:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880411136001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876907000,"timestamp_ms":1776876907000,"timestamp_seconds":1776876907,"priority":1,"record_length":96,"hex_timestamp":"0000019db61de9f8"} 
[2026-04-22 22: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-22 22:29: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-22 22: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":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:29: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-22 22: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-22 22: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-22 22:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880411136001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880411136001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:29:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:29:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880411136001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":51644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:29:31] local.INFO: GPS data processed {"connection_id":51644,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:29:31] local.INFO: Acknowledgment sent {"connection_id":51644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:29:31] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:29:31] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:29:31] local.INFO: IMEI packet received {"connection_id":50688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":50688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:29:32] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:29:32] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:29:32] local.INFO: Packet analysis {"connection_id":50688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:29:32] local.INFO: Extracted packet for processing {"connection_id":50688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880456960001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:29: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-22 22:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877086000,"timestamp_ms":1776877086000,"timestamp_seconds":1776877086,"priority":1,"record_length":96,"hex_timestamp":"0000019db620a530"} 
[2026-04-22 22: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-22 22:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:29:32] 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-22 22:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880456960001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880456960001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:29:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880456960001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":50688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:29:32] local.INFO: GPS data processed {"connection_id":50688,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:29:32] local.INFO: Acknowledgment sent {"connection_id":50688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:30:03] local.INFO: TCP Data received {"connection_id":51644,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:30:03] local.INFO: Processing buffer {"connection_id":51644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:30:03] local.INFO: Packet analysis {"connection_id":51644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:30:03] local.INFO: Extracted packet for processing {"connection_id":51644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:30:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 22:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880411136001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776876907000,"timestamp_ms":1776876907000,"timestamp_seconds":1776876907,"priority":1,"record_length":96,"hex_timestamp":"0000019db61de9f8"} 
[2026-04-22 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-22 22:30: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-22 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880411136001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880411136001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:30:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:30:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880411136001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":51644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:30:03] local.INFO: GPS data processed {"connection_id":51644,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:30:03] local.INFO: Acknowledgment sent {"connection_id":51644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:30:04] local.INFO: TCP Data received {"connection_id":50688,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:30:04] local.INFO: Processing buffer {"connection_id":50688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:30:04] local.INFO: Packet analysis {"connection_id":50688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:30:04] local.INFO: Extracted packet for processing {"connection_id":50688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880456960001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30: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-22 22:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776877086000,"timestamp_ms":1776877086000,"timestamp_seconds":1776877086,"priority":1,"record_length":96,"hex_timestamp":"0000019db620a530"} 
[2026-04-22 22: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-22 22:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:30:04] 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-22 22:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880456960001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880456960001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:30:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880456960001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":50688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:30:04] local.INFO: GPS data processed {"connection_id":50688,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:30:04] local.INFO: Acknowledgment sent {"connection_id":50688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:30:25] local.INFO: TCP Data received {"connection_id":51076,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:30:25] local.INFO: Processing buffer {"connection_id":51076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:30:25] local.INFO: IMEI packet received {"connection_id":51076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":51076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:30:26] local.INFO: TCP Data received {"connection_id":51646,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:30:26] local.INFO: Processing buffer {"connection_id":51646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:30:26] local.INFO: IMEI packet received {"connection_id":51646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":51646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:30:30] local.INFO: TCP Data received {"connection_id":51076,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:30:30] local.INFO: Processing buffer {"connection_id":51076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:30:30] local.INFO: IMEI packet received {"connection_id":51076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":51076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:30:31] local.INFO: TCP Data received {"connection_id":51076,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:30:31] local.INFO: Processing buffer {"connection_id":51076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db61de9f8012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:30:31] local.INFO: Packet analysis {"connection_id":51076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:30:31] local.INFO: Extracted packet for processing {"connection_id":51076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db61d"} 
[2026-04-22 22:30:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880411136001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776876907000,"timestamp_ms":1776876907000,"timestamp_seconds":1776876907,"priority":1,"record_length":96,"hex_timestamp":"0000019db61de9f8"} 
[2026-04-22 22: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-22 22:30: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-22 22:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-22 22:30: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-22 22: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-22 22: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-22 22:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880411136001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880411136001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:30:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:30:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880411136001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":51076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:30:31] local.INFO: GPS data processed {"connection_id":51076,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:30:31] local.INFO: Acknowledgment sent {"connection_id":51076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:30:31] local.INFO: TCP Data received {"connection_id":51646,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:30:31] local.INFO: Processing buffer {"connection_id":51646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:30:31] local.INFO: IMEI packet received {"connection_id":51646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":51646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:30:32] local.INFO: TCP Data received {"connection_id":51646,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:30:32] local.INFO: Processing buffer {"connection_id":51646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:30:32] local.INFO: Packet analysis {"connection_id":51646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:30:32] local.INFO: Extracted packet for processing {"connection_id":51646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880456960001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:30: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-22 22:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877086000,"timestamp_ms":1776877086000,"timestamp_seconds":1776877086,"priority":1,"record_length":96,"hex_timestamp":"0000019db620a530"} 
[2026-04-22 22: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-22 22:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:30:32] 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-22 22:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880456960001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880456960001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:30:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:30:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880456960001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":51646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:30:32] local.INFO: GPS data processed {"connection_id":51646,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:30:32] local.INFO: Acknowledgment sent {"connection_id":51646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:31:03] local.INFO: TCP Data received {"connection_id":51076,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:31:03] local.INFO: Processing buffer {"connection_id":51076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:31:03] local.INFO: Packet analysis {"connection_id":51076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:31:03] local.INFO: Extracted packet for processing {"connection_id":51076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:31:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:31: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-22 22:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:31: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-22 22:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:31:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:31:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":51076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:31:03] local.INFO: GPS data processed {"connection_id":51076,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:31:03] local.INFO: Acknowledgment sent {"connection_id":51076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:31:04] local.INFO: TCP Data received {"connection_id":51646,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:31:04] local.INFO: Processing buffer {"connection_id":51646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:31:04] local.INFO: Packet analysis {"connection_id":51646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:31:04] local.INFO: Extracted packet for processing {"connection_id":51646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880456960001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31: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-22 22:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776877086000,"timestamp_ms":1776877086000,"timestamp_seconds":1776877086,"priority":1,"record_length":96,"hex_timestamp":"0000019db620a530"} 
[2026-04-22 22: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-22 22:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:31:04] 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-22 22:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880456960001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880456960001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880456960001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":51646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:31:04] local.INFO: GPS data processed {"connection_id":51646,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:31:04] local.INFO: Acknowledgment sent {"connection_id":51646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:31:26] local.INFO: TCP Data received {"connection_id":50689,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:31:26] local.INFO: Processing buffer {"connection_id":50689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:31:26] local.INFO: IMEI packet received {"connection_id":50689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":50689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:31:26] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:31:26] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:31:26] local.INFO: IMEI packet received {"connection_id":50690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":50690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:31:30] local.INFO: TCP Data received {"connection_id":50689,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:31:30] local.INFO: Processing buffer {"connection_id":50689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:31:30] local.INFO: IMEI packet received {"connection_id":50689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":50689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:31:31] local.INFO: TCP Data received {"connection_id":50689,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:31:31] local.INFO: Processing buffer {"connection_id":50689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:31:31] local.INFO: Packet analysis {"connection_id":50689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:31:31] local.INFO: Extracted packet for processing {"connection_id":50689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:31:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22: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-22 22:31: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-22 22: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:31: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-22 22: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-22 22: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-22 22:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:31:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:31:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":50689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:31:31] local.INFO: GPS data processed {"connection_id":50689,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:31:31] local.INFO: Acknowledgment sent {"connection_id":50689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:31:31] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:31:31] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:31:31] local.INFO: IMEI packet received {"connection_id":50690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":50690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:31:32] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:31:32] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:31:32] local.INFO: Packet analysis {"connection_id":50690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:31:32] local.INFO: Extracted packet for processing {"connection_id":50690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880456960001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:31: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-22 22:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877086000,"timestamp_ms":1776877086000,"timestamp_seconds":1776877086,"priority":1,"record_length":96,"hex_timestamp":"0000019db620a530"} 
[2026-04-22 22: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-22 22:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:31:32] 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-22 22:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880456960001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880456960001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:31:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880456960001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":50690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:31:32] local.INFO: GPS data processed {"connection_id":50690,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:31:32] local.INFO: Acknowledgment sent {"connection_id":50690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:32:03] local.INFO: TCP Data received {"connection_id":50689,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:32:03] local.INFO: Processing buffer {"connection_id":50689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:32:03] local.INFO: Packet analysis {"connection_id":50689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:32:03] local.INFO: Extracted packet for processing {"connection_id":50689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:32:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22: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-22 22:32: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-22 22:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:32: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-22 22: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-22 22: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-22 22:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:32:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:32:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":50689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:32:03] local.INFO: GPS data processed {"connection_id":50689,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:32:03] local.INFO: Acknowledgment sent {"connection_id":50689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:32:04] local.INFO: TCP Data received {"connection_id":50690,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:32:04] local.INFO: Processing buffer {"connection_id":50690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:32:04] local.INFO: Packet analysis {"connection_id":50690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:32:04] local.INFO: Extracted packet for processing {"connection_id":50690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880456960001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32: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-22 22:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776877086000,"timestamp_ms":1776877086000,"timestamp_seconds":1776877086,"priority":1,"record_length":96,"hex_timestamp":"0000019db620a530"} 
[2026-04-22 22:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:32:04] 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-22 22:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880456960001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880456960001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880456960001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":50690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:32:04] local.INFO: GPS data processed {"connection_id":50690,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:32:04] local.INFO: Acknowledgment sent {"connection_id":50690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:32:15] local.INFO: TCP Data received {"connection_id":50992,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:32:15] local.INFO: Processing buffer {"connection_id":50992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:32:15] local.INFO: IMEI packet received {"connection_id":50992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":50992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:32:25] local.INFO: TCP Data received {"connection_id":50993,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:32:25] local.INFO: Processing buffer {"connection_id":50993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:32:25] local.INFO: IMEI packet received {"connection_id":50993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":50993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:32:30] local.INFO: TCP Data received {"connection_id":50993,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:32:30] local.INFO: Processing buffer {"connection_id":50993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:32:30] local.INFO: IMEI packet received {"connection_id":50993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":50993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:32:31] local.INFO: TCP Data received {"connection_id":50993,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:32:31] local.INFO: Processing buffer {"connection_id":50993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:32:31] local.INFO: Packet analysis {"connection_id":50993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:32:31] local.INFO: Extracted packet for processing {"connection_id":50993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:32:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22: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-22 22:32: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-22 22:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:32: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-22 22: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-22 22: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-22 22:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:32:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:32:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":50993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:32:31] local.INFO: GPS data processed {"connection_id":50993,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:32:31] local.INFO: Acknowledgment sent {"connection_id":50993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:32:31] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:32:31] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:32:31] local.INFO: IMEI packet received {"connection_id":50994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":50994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:32:36] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:32:36] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:32:36] local.INFO: IMEI packet received {"connection_id":50994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":50994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:32:37] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:32:37] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:32:37] local.INFO: Packet analysis {"connection_id":50994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:32:37] local.INFO: Extracted packet for processing {"connection_id":50994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880456960001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776877086000,"timestamp_ms":1776877086000,"timestamp_seconds":1776877086,"priority":1,"record_length":96,"hex_timestamp":"0000019db620a530"} 
[2026-04-22 22: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-22 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:32:37] 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-22 22:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880456960001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880456960001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:32:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880456960001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":50994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:32:37] local.INFO: GPS data processed {"connection_id":50994,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:32:37] local.INFO: Acknowledgment sent {"connection_id":50994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:32:42] local.INFO: TCP Data received {"connection_id":50994,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:32:42] local.INFO: Processing buffer {"connection_id":50994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:32:42] local.INFO: Packet analysis {"connection_id":50994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:32:42] local.INFO: Extracted packet for processing {"connection_id":50994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880456960001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:32: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-22 22:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776877086000,"timestamp_ms":1776877086000,"timestamp_seconds":1776877086,"priority":1,"record_length":96,"hex_timestamp":"0000019db620a530"} 
[2026-04-22 22:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":50994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":50994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":50994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880456960001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880456960001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:32:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880456960001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":50994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:32:42] local.INFO: GPS data processed {"connection_id":50994,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:32:42] local.INFO: Acknowledgment sent {"connection_id":50994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:32:52] local.INFO: TCP Data received {"connection_id":51647,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:32:52] local.INFO: Processing buffer {"connection_id":51647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:32:52] local.INFO: IMEI packet received {"connection_id":51647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":51647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:33:03] local.INFO: TCP Data received {"connection_id":50993,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:33:03] local.INFO: Processing buffer {"connection_id":50993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:33:03] local.INFO: Packet analysis {"connection_id":50993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:33:03] local.INFO: Extracted packet for processing {"connection_id":50993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:33: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-22 22:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:33: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-22 22:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:33:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:33:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":50993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:33:03] local.INFO: GPS data processed {"connection_id":50993,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:33:03] local.INFO: Acknowledgment sent {"connection_id":50993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:33:25] local.INFO: TCP Data received {"connection_id":50996,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:33:25] local.INFO: Processing buffer {"connection_id":50996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:33:25] local.INFO: IMEI packet received {"connection_id":50996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":50996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:33:26] local.INFO: TCP Data received {"connection_id":50995,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:33:26] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:33:26] local.INFO: IMEI packet received {"connection_id":50995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":50995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:33:30] local.INFO: TCP Data received {"connection_id":50996,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:33:30] local.INFO: Processing buffer {"connection_id":50996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:33:30] local.INFO: IMEI packet received {"connection_id":50996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":50996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:33:31] local.INFO: TCP Data received {"connection_id":50996,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:33:31] local.INFO: Processing buffer {"connection_id":50996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:33:31] local.INFO: Packet analysis {"connection_id":50996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:33:31] local.INFO: Extracted packet for processing {"connection_id":50996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:33:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22: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-22 22: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-22 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:33: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-22 22: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-22 22: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-22 22:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:33:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:33:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":50996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:33:31] local.INFO: GPS data processed {"connection_id":50996,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:33:31] local.INFO: Acknowledgment sent {"connection_id":50996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:33:31] local.INFO: TCP Data received {"connection_id":50995,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:33:31] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:33:31] local.INFO: IMEI packet received {"connection_id":50995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":50995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:33:32] local.INFO: TCP Data received {"connection_id":50995,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:33:32] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db620a530012d196500071ff038003800682b..."} 
[2026-04-22 22:33:32] local.INFO: Packet analysis {"connection_id":50995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:33:32] local.INFO: Extracted packet for processing {"connection_id":50995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db620"} 
[2026-04-22 22:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880456960001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:33: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-22 22:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877086000,"timestamp_ms":1776877086000,"timestamp_seconds":1776877086,"priority":1,"record_length":96,"hex_timestamp":"0000019db620a530"} 
[2026-04-22 22: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-22 22:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880456960001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880456960001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:33:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880456960001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":50995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:33:32] local.INFO: GPS data processed {"connection_id":50995,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:33:32] local.INFO: Acknowledgment sent {"connection_id":50995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:34:03] local.INFO: TCP Data received {"connection_id":50996,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:34:03] local.INFO: Processing buffer {"connection_id":50996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:34:03] local.INFO: Packet analysis {"connection_id":50996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:34:03] local.INFO: Extracted packet for processing {"connection_id":50996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:34:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22: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-22 22:34: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-22 22:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:34: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-22 22: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-22 22: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-22 22:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:34:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:34:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":50996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:34:03] local.INFO: GPS data processed {"connection_id":50996,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:34:03] local.INFO: Acknowledgment sent {"connection_id":50996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:34:03] local.INFO: TCP Data received {"connection_id":50995,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:34:03] local.INFO: Processing buffer {"connection_id":50995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:34:03] local.INFO: Packet analysis {"connection_id":50995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:34:03] local.INFO: Extracted packet for processing {"connection_id":50995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34: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-22 22:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22: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-22 22:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:34:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":50995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:34:03] local.INFO: GPS data processed {"connection_id":50995,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:34:03] local.INFO: Acknowledgment sent {"connection_id":50995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:34:25] local.INFO: TCP Data received {"connection_id":51648,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:34:25] local.INFO: Processing buffer {"connection_id":51648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:34:25] local.INFO: IMEI packet received {"connection_id":51648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":51648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:34:26] local.INFO: TCP Data received {"connection_id":50691,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:34:26] local.INFO: Processing buffer {"connection_id":50691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:34:26] local.INFO: IMEI packet received {"connection_id":50691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":50691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:34:30] local.INFO: TCP Data received {"connection_id":51648,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:34:30] local.INFO: Processing buffer {"connection_id":51648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:34:30] local.INFO: IMEI packet received {"connection_id":51648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":51648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:34:31] local.INFO: TCP Data received {"connection_id":51648,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:34:31] local.INFO: Processing buffer {"connection_id":51648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:34:31] local.INFO: Packet analysis {"connection_id":51648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:34:31] local.INFO: Extracted packet for processing {"connection_id":51648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:34:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22: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-22 22: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-22 22: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:34: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-22 22: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-22 22: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-22 22:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:34:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:34:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":51648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:34:31] local.INFO: GPS data processed {"connection_id":51648,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:34:31] local.INFO: Acknowledgment sent {"connection_id":51648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:34:31] local.INFO: TCP Data received {"connection_id":50691,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:34:31] local.INFO: Processing buffer {"connection_id":50691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:34:31] local.INFO: IMEI packet received {"connection_id":50691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":50691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:34:32] local.INFO: TCP Data received {"connection_id":50691,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:34:32] local.INFO: Processing buffer {"connection_id":50691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:34:32] local.INFO: Packet analysis {"connection_id":50691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:34:32] local.INFO: Extracted packet for processing {"connection_id":50691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:34: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-22 22:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22: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-22 22:34:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:34: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-22 22:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:34:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":50691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:34:32] local.INFO: GPS data processed {"connection_id":50691,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:34:32] local.INFO: Acknowledgment sent {"connection_id":50691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:35:03] local.INFO: TCP Data received {"connection_id":51648,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:35:03] local.INFO: Processing buffer {"connection_id":51648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:35:03] local.INFO: Packet analysis {"connection_id":51648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:35:03] local.INFO: Extracted packet for processing {"connection_id":51648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:35:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22: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-22 22:35: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-22 22:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:35: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-22 22: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-22 22: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-22 22:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:35:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:35:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":51648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:35:03] local.INFO: GPS data processed {"connection_id":51648,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:35:03] local.INFO: Acknowledgment sent {"connection_id":51648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:35:04] local.INFO: TCP Data received {"connection_id":50691,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:35:04] local.INFO: Processing buffer {"connection_id":50691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:35:04] local.INFO: Packet analysis {"connection_id":50691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:35:04] local.INFO: Extracted packet for processing {"connection_id":50691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22: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-22 22:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22: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-22 22:35:04] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":50691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":50691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":50691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:35:04] local.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-22 22:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:35:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":50691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:35:04] local.INFO: GPS data processed {"connection_id":50691,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:35:04] local.INFO: Acknowledgment sent {"connection_id":50691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:35:26] local.INFO: TCP Data received {"connection_id":51078,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:35:26] local.INFO: Processing buffer {"connection_id":51078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:35:26] local.INFO: IMEI packet received {"connection_id":51078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":51078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:35:30] local.INFO: TCP Data received {"connection_id":50998,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:35:30] local.INFO: Processing buffer {"connection_id":50998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:35:30] local.INFO: IMEI packet received {"connection_id":50998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":50998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:35:31] local.INFO: TCP Data received {"connection_id":51078,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:35:31] local.INFO: Processing buffer {"connection_id":51078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:35:31] local.INFO: IMEI packet received {"connection_id":51078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":51078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:35:32] local.INFO: TCP Data received {"connection_id":51078,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:35:32] local.INFO: Processing buffer {"connection_id":51078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:35:32] local.INFO: Packet analysis {"connection_id":51078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:35:32] local.INFO: Extracted packet for processing {"connection_id":51078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35: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-22 22:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22: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-22 22:35:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:35:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":51078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:35:32] local.INFO: GPS data processed {"connection_id":51078,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:35:32] local.INFO: Acknowledgment sent {"connection_id":51078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:35:35] local.INFO: TCP Data received {"connection_id":50998,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:35:35] local.INFO: Processing buffer {"connection_id":50998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:35:35] local.INFO: IMEI packet received {"connection_id":50998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":50998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:35:36] local.INFO: TCP Data received {"connection_id":50998,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:35:36] local.INFO: Processing buffer {"connection_id":50998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:35:36] local.INFO: Packet analysis {"connection_id":50998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:35:36] local.INFO: Extracted packet for processing {"connection_id":50998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:35:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:35: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-22 22:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:35:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:35:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":50998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:35:36] local.INFO: GPS data processed {"connection_id":50998,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:35:36] local.INFO: Acknowledgment sent {"connection_id":50998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:35:41] local.INFO: TCP Data received {"connection_id":50998,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:35:41] local.INFO: Processing buffer {"connection_id":50998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62281c0012d77a04005f2a5a8001b01592f..."} 
[2026-04-22 22:35:41] local.INFO: Packet analysis {"connection_id":50998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:35:41] local.INFO: Extracted packet for processing {"connection_id":50998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db622"} 
[2026-04-22 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":47,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880488192001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776877208000,"timestamp_ms":1776877208000,"timestamp_seconds":1776877208,"priority":1,"record_length":96,"hex_timestamp":"0000019db62281c0"} 
[2026-04-22 22:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880488192001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880488192001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:35:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:35:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880488192001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":50998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:35:41] local.INFO: GPS data processed {"connection_id":50998,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:35:41] local.INFO: Acknowledgment sent {"connection_id":50998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:36:03] local.INFO: TCP Data received {"connection_id":51078,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:36:03] local.INFO: Processing buffer {"connection_id":51078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:36:03] local.INFO: Packet analysis {"connection_id":51078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:36:03] local.INFO: Extracted packet for processing {"connection_id":51078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:36: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-22 22:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:36:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":51078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:36:03] local.INFO: GPS data processed {"connection_id":51078,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:36:03] local.INFO: Acknowledgment sent {"connection_id":51078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:36:25] local.INFO: TCP Data received {"connection_id":51650,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:36:25] local.INFO: Processing buffer {"connection_id":51650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:36:25] local.INFO: IMEI packet received {"connection_id":51650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":51650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:36:26] local.INFO: TCP Data received {"connection_id":51651,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:36:26] local.INFO: Processing buffer {"connection_id":51651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:36:26] local.INFO: IMEI packet received {"connection_id":51651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":51651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:36:30] local.INFO: TCP Data received {"connection_id":51650,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:36:30] local.INFO: Processing buffer {"connection_id":51650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:36:30] local.INFO: IMEI packet received {"connection_id":51650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":51650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:36:31] local.INFO: TCP Data received {"connection_id":51650,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:36:31] local.INFO: Processing buffer {"connection_id":51650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:36:31] local.INFO: Packet analysis {"connection_id":51650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:36:31] local.INFO: Extracted packet for processing {"connection_id":51650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:36:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":51,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880565248001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877509000,"timestamp_ms":1776877509000,"timestamp_seconds":1776877509,"priority":1,"record_length":96,"hex_timestamp":"0000019db6271988"} 
[2026-04-22 22: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-22 22:36: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-22 22: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:36: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-22 22: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-22 22: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-22 22:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880565248001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880565248001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:36:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:36:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880565248001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":51650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:36:31] local.INFO: GPS data processed {"connection_id":51650,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:36:31] local.INFO: Acknowledgment sent {"connection_id":51650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:36:31] local.INFO: TCP Data received {"connection_id":51651,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:36:31] local.INFO: Processing buffer {"connection_id":51651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:36:31] local.INFO: IMEI packet received {"connection_id":51651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":51651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:36:32] local.INFO: TCP Data received {"connection_id":51651,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:36:32] local.INFO: Processing buffer {"connection_id":51651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:36:32] local.INFO: Packet analysis {"connection_id":51651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:36:32] local.INFO: Extracted packet for processing {"connection_id":51651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:36: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-22 22:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22: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-22 22:36:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:36:32] 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-22 22:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:36:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":51651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:36:33] local.INFO: GPS data processed {"connection_id":51651,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:36:33] local.INFO: Acknowledgment sent {"connection_id":51651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:37:03] local.INFO: TCP Data received {"connection_id":51650,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:37:03] local.INFO: Processing buffer {"connection_id":51650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:37:03] local.INFO: Packet analysis {"connection_id":51650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:37:03] local.INFO: Extracted packet for processing {"connection_id":51650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:37:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":51,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880565248001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877509000,"timestamp_ms":1776877509000,"timestamp_seconds":1776877509,"priority":1,"record_length":96,"hex_timestamp":"0000019db6271988"} 
[2026-04-22 22: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-22 22:37: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880565248001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880565248001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:37:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:37:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880565248001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":51650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:37:03] local.INFO: GPS data processed {"connection_id":51650,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:37:03] local.INFO: Acknowledgment sent {"connection_id":51650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:37:04] local.INFO: TCP Data received {"connection_id":51651,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:37:04] local.INFO: Processing buffer {"connection_id":51651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:37:04] local.INFO: Packet analysis {"connection_id":51651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:37:04] local.INFO: Extracted packet for processing {"connection_id":51651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37: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-22 22:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22: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-22 22:37:04] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:37:04] 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-22 22:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:37:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":51651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:37:04] local.INFO: GPS data processed {"connection_id":51651,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:37:04] local.INFO: Acknowledgment sent {"connection_id":51651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:37:25] local.INFO: TCP Data received {"connection_id":51080,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:37:25] local.INFO: Processing buffer {"connection_id":51080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:37:25] local.INFO: IMEI packet received {"connection_id":51080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":51080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:37:30] local.INFO: TCP Data received {"connection_id":51080,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:37:30] local.INFO: Processing buffer {"connection_id":51080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:37:30] local.INFO: IMEI packet received {"connection_id":51080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":51080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:37:31] local.INFO: TCP Data received {"connection_id":51081,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:37:31] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:37:31] local.INFO: IMEI packet received {"connection_id":51081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":51081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:37:31] local.INFO: TCP Data received {"connection_id":51080,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:37:31] local.INFO: Processing buffer {"connection_id":51080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:37:31] local.INFO: Packet analysis {"connection_id":51080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:37:31] local.INFO: Extracted packet for processing {"connection_id":51080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:37:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":51,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880565248001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877509000,"timestamp_ms":1776877509000,"timestamp_seconds":1776877509,"priority":1,"record_length":96,"hex_timestamp":"0000019db6271988"} 
[2026-04-22 22: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-22 22:37: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-22 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:37: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-22 22: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-22 22: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-22 22:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880565248001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880565248001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:37:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:37:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880565248001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":51080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:37:31] local.INFO: GPS data processed {"connection_id":51080,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:37:31] local.INFO: Acknowledgment sent {"connection_id":51080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:37:36] local.INFO: TCP Data received {"connection_id":51081,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:37:36] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:37:36] local.INFO: IMEI packet received {"connection_id":51081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":51081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:37:37] local.INFO: TCP Data received {"connection_id":51081,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:37:37] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:37:37] local.INFO: Packet analysis {"connection_id":51081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:37:37] local.INFO: Extracted packet for processing {"connection_id":51081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:37:37] 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-22 22:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:37:37] local.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-22 22:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:37:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":51081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:37:37] local.INFO: GPS data processed {"connection_id":51081,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:37:37] local.INFO: Acknowledgment sent {"connection_id":51081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:37:42] local.INFO: TCP Data received {"connection_id":51081,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:37:42] local.INFO: Processing buffer {"connection_id":51081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:37:42] local.INFO: Packet analysis {"connection_id":51081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:37:42] local.INFO: Extracted packet for processing {"connection_id":51081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:37:42] 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-22 22:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:37:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":51081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:37:42] local.INFO: GPS data processed {"connection_id":51081,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:37:42] local.INFO: Acknowledgment sent {"connection_id":51081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:38:03] local.INFO: TCP Data received {"connection_id":51080,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:38:03] local.INFO: Processing buffer {"connection_id":51080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:38:03] local.INFO: Packet analysis {"connection_id":51080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:38:03] local.INFO: Extracted packet for processing {"connection_id":51080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":51,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880565248001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877509000,"timestamp_ms":1776877509000,"timestamp_seconds":1776877509,"priority":1,"record_length":96,"hex_timestamp":"0000019db6271988"} 
[2026-04-22 22:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:38: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-22 22:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:38: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-22 22:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880565248001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880565248001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:38:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:38:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880565248001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":51080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:38:03] local.INFO: GPS data processed {"connection_id":51080,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:38:03] local.INFO: Acknowledgment sent {"connection_id":51080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:38:10] local.INFO: TCP Data received {"connection_id":50999,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:38:10] local.INFO: Processing buffer {"connection_id":50999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:38:10] local.INFO: IMEI packet received {"connection_id":50999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":50999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:38:26] local.INFO: TCP Data received {"connection_id":51000,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:38:26] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:38:26] local.INFO: IMEI packet received {"connection_id":51000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":51000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:38:30] local.INFO: TCP Data received {"connection_id":51001,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:38:30] local.INFO: Processing buffer {"connection_id":51001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:38:30] local.INFO: IMEI packet received {"connection_id":51001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":51001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:38:31] local.INFO: TCP Data received {"connection_id":51000,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:38:31] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:38:31] local.INFO: IMEI packet received {"connection_id":51000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":51000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:38:32] local.INFO: TCP Data received {"connection_id":51000,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:38:32] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6253cf8012d196500071ff0380038006826..."} 
[2026-04-22 22:38:32] local.INFO: Packet analysis {"connection_id":51000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:38:32] local.INFO: Extracted packet for processing {"connection_id":51000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db625"} 
[2026-04-22 22:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880534016001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38: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-22 22:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877387000,"timestamp_ms":1776877387000,"timestamp_seconds":1776877387,"priority":1,"record_length":96,"hex_timestamp":"0000019db6253cf8"} 
[2026-04-22 22: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-22 22:38:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22: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-22 22:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880534016001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880534016001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:38:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880534016001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":51000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:38:32] local.INFO: GPS data processed {"connection_id":51000,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:38:32] local.INFO: Acknowledgment sent {"connection_id":51000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:38:35] local.INFO: TCP Data received {"connection_id":51001,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:38:35] local.INFO: Processing buffer {"connection_id":51001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:38:35] local.INFO: IMEI packet received {"connection_id":51001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":51001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:38:36] local.INFO: TCP Data received {"connection_id":51001,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:38:36] local.INFO: Processing buffer {"connection_id":51001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:38:36] local.INFO: Packet analysis {"connection_id":51001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:38:36] local.INFO: Extracted packet for processing {"connection_id":51001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":51,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880565248001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776877509000,"timestamp_ms":1776877509000,"timestamp_seconds":1776877509,"priority":1,"record_length":96,"hex_timestamp":"0000019db6271988"} 
[2026-04-22 22:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:38: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-22 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880565248001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880565248001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:38:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:38:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880565248001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":51001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:38:36] local.INFO: GPS data processed {"connection_id":51001,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:38:36] local.INFO: Acknowledgment sent {"connection_id":51001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:38:41] local.INFO: TCP Data received {"connection_id":51001,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:38:41] local.INFO: Processing buffer {"connection_id":51001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:38:41] local.INFO: Packet analysis {"connection_id":51001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:38:41] local.INFO: Extracted packet for processing {"connection_id":51001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:38:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":51,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880565248001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776877509000,"timestamp_ms":1776877509000,"timestamp_seconds":1776877509,"priority":1,"record_length":96,"hex_timestamp":"0000019db6271988"} 
[2026-04-22 22:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880565248001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880565248001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:38:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:38:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880565248001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":51001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:38:41] local.INFO: GPS data processed {"connection_id":51001,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:38:41] local.INFO: Acknowledgment sent {"connection_id":51001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:38:50] local.INFO: TCP Data received {"connection_id":51652,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:38:50] local.INFO: Processing buffer {"connection_id":51652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:38:50] local.INFO: IMEI packet received {"connection_id":51652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":51652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:39:03] local.INFO: TCP Data received {"connection_id":51000,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:39:03] local.INFO: Processing buffer {"connection_id":51000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:39:03] local.INFO: Packet analysis {"connection_id":51000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:39:03] local.INFO: Extracted packet for processing {"connection_id":51000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:39: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-22 22:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22: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-22 22:39:03] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:39:03] 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-22 22:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:39:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":51000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:39:03] local.INFO: GPS data processed {"connection_id":51000,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:39:03] local.INFO: Acknowledgment sent {"connection_id":51000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:39:25] local.INFO: TCP Data received {"connection_id":51002,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:39:25] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:39:25] local.INFO: IMEI packet received {"connection_id":51002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":51002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:39:26] local.INFO: TCP Data received {"connection_id":51082,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:39:26] local.INFO: Processing buffer {"connection_id":51082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:39:26] local.INFO: IMEI packet received {"connection_id":51082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":51082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:39:30] local.INFO: TCP Data received {"connection_id":51002,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:39:30] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:39:30] local.INFO: IMEI packet received {"connection_id":51002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":51002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:39:31] local.INFO: TCP Data received {"connection_id":51082,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:39:31] local.INFO: Processing buffer {"connection_id":51082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:39:31] local.INFO: IMEI packet received {"connection_id":51082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":51082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:39:32] local.INFO: TCP Data received {"connection_id":51002,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:39:32] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:39:32] local.INFO: Packet analysis {"connection_id":51002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:39:32] local.INFO: Extracted packet for processing {"connection_id":51002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:39:32] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":51,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880565248001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877509000,"timestamp_ms":1776877509000,"timestamp_seconds":1776877509,"priority":1,"record_length":96,"hex_timestamp":"0000019db6271988"} 
[2026-04-22 22: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-22 22:39: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-22 22: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:39: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-22 22: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-22 22: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-22 22:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880565248001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880565248001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:39:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:39:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880565248001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":51002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:39:32] local.INFO: GPS data processed {"connection_id":51002,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:39:32] local.INFO: Acknowledgment sent {"connection_id":51002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:39:32] local.INFO: TCP Data received {"connection_id":51082,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:39:32] local.INFO: Processing buffer {"connection_id":51082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:39:32] local.INFO: Packet analysis {"connection_id":51082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:39:32] local.INFO: Extracted packet for processing {"connection_id":51082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:39: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-22 22:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22: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-22 22:39:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:39: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-22 22:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:39:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":51082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:39:32] local.INFO: GPS data processed {"connection_id":51082,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:39:32] local.INFO: Acknowledgment sent {"connection_id":51082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:40:03] local.INFO: TCP Data received {"connection_id":51082,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:40:03] local.INFO: Processing buffer {"connection_id":51082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:40:03] local.INFO: Packet analysis {"connection_id":51082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:40:03] local.INFO: Extracted packet for processing {"connection_id":51082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40: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-22 22:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22: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-22 22:40:03] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:40:03] local.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-22 22:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:40:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":51082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:40:03] local.INFO: GPS data processed {"connection_id":51082,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:40:03] local.INFO: Acknowledgment sent {"connection_id":51082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:40:03] local.INFO: TCP Data received {"connection_id":51002,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:40:03] local.INFO: Processing buffer {"connection_id":51002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:40:03] local.INFO: Packet analysis {"connection_id":51002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:40:03] local.INFO: Extracted packet for processing {"connection_id":51002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":51,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880565248001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877509000,"timestamp_ms":1776877509000,"timestamp_seconds":1776877509,"priority":1,"record_length":96,"hex_timestamp":"0000019db6271988"} 
[2026-04-22 22: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-22 22:40: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-22 22:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:40: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-22 22: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-22 22: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-22 22:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880565248001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880565248001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:40:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880565248001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":51002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:40:03] local.INFO: GPS data processed {"connection_id":51002,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:40:03] local.INFO: Acknowledgment sent {"connection_id":51002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:40:25] local.INFO: TCP Data received {"connection_id":50692,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:40:25] local.INFO: Processing buffer {"connection_id":50692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:40:25] local.INFO: IMEI packet received {"connection_id":50692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":50692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:40:30] local.INFO: TCP Data received {"connection_id":50692,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:40:30] local.INFO: Processing buffer {"connection_id":50692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:40:30] local.INFO: IMEI packet received {"connection_id":50692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":50692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:40:31] local.INFO: TCP Data received {"connection_id":50692,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:40:31] local.INFO: Processing buffer {"connection_id":50692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6271988012d77a04005f2a5a8001b015933..."} 
[2026-04-22 22:40:31] local.INFO: Packet analysis {"connection_id":50692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:40:31] local.INFO: Extracted packet for processing {"connection_id":50692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db627"} 
[2026-04-22 22:40:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":51,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880565248001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877509000,"timestamp_ms":1776877509000,"timestamp_seconds":1776877509,"priority":1,"record_length":96,"hex_timestamp":"0000019db6271988"} 
[2026-04-22 22: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-22 22:40: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-22 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:40: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-22 22: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-22 22: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-22 22:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880565248001,"66":25538,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880565248001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:40:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:40:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880565248001,"power":25538,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":50692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:40:31] local.INFO: GPS data processed {"connection_id":50692,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:40:31] local.INFO: Acknowledgment sent {"connection_id":50692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:40:31] local.INFO: TCP Data received {"connection_id":51653,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:40:31] local.INFO: Processing buffer {"connection_id":51653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:40:31] local.INFO: IMEI packet received {"connection_id":51653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":51653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:40:36] local.INFO: TCP Data received {"connection_id":51653,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:40:36] local.INFO: Processing buffer {"connection_id":51653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:40:36] local.INFO: IMEI packet received {"connection_id":51653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":51653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:40:37] local.INFO: TCP Data received {"connection_id":51653,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:40:37] local.INFO: Processing buffer {"connection_id":51653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:40:37] local.INFO: Packet analysis {"connection_id":51653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:40:37] local.INFO: Extracted packet for processing {"connection_id":51653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22: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-22 22:40:37] 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-22 22:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:40:37] 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-22 22:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:40:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":51653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:40:37] local.INFO: GPS data processed {"connection_id":51653,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:40:37] local.INFO: Acknowledgment sent {"connection_id":51653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:40:42] local.INFO: TCP Data received {"connection_id":51653,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:40:42] local.INFO: Processing buffer {"connection_id":51653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:40:42] local.INFO: Packet analysis {"connection_id":51653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:40:42] local.INFO: Extracted packet for processing {"connection_id":51653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:40: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-22 22:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:40:42] 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-22 22:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:40:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":51653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:40:42] local.INFO: GPS data processed {"connection_id":51653,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:40:42] local.INFO: Acknowledgment sent {"connection_id":51653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:41:03] local.INFO: TCP Data received {"connection_id":50692,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:41:03] local.INFO: Processing buffer {"connection_id":50692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:41:03] local.INFO: Packet analysis {"connection_id":50692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:41:03] local.INFO: Extracted packet for processing {"connection_id":50692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:41:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 22:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:41: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-22 22:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:41: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-22 22:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:41:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:41:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":50692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:41:03] local.INFO: GPS data processed {"connection_id":50692,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:41:03] local.INFO: Acknowledgment sent {"connection_id":50692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:41:26] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:41:26] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:41:26] local.INFO: IMEI packet received {"connection_id":51004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":51004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:41:30] local.INFO: TCP Data received {"connection_id":51654,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:41:30] local.INFO: Processing buffer {"connection_id":51654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:41:30] local.INFO: IMEI packet received {"connection_id":51654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":51654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:41:31] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:41:31] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:41:31] local.INFO: IMEI packet received {"connection_id":51004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":51004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:41:32] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:41:32] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:41:32] local.INFO: Packet analysis {"connection_id":51004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:41:32] local.INFO: Extracted packet for processing {"connection_id":51004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41: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-22 22:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22: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-22 22:41:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:41:32] 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-22 22:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:41:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":51004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:41:32] local.INFO: GPS data processed {"connection_id":51004,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:41:32] local.INFO: Acknowledgment sent {"connection_id":51004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:41:35] local.INFO: TCP Data received {"connection_id":51654,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:41:35] local.INFO: Processing buffer {"connection_id":51654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:41:35] local.INFO: IMEI packet received {"connection_id":51654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":51654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:41:36] local.INFO: TCP Data received {"connection_id":51654,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:41:36] local.INFO: Processing buffer {"connection_id":51654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:41:36] local.INFO: Packet analysis {"connection_id":51654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:41:36] local.INFO: Extracted packet for processing {"connection_id":51654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:41:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 22: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-22 22:41: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-22 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:41:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:41:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":51654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:41:36] local.INFO: GPS data processed {"connection_id":51654,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:41:36] local.INFO: Acknowledgment sent {"connection_id":51654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:41:40] local.INFO: TCP Data received {"connection_id":51654,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:41:40] local.INFO: Processing buffer {"connection_id":51654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:41:40] local.INFO: Packet analysis {"connection_id":51654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:41:40] local.INFO: Extracted packet for processing {"connection_id":51654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:41:40] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 22:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":51654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":51654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":51654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:41:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:41:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":51654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:41:40] local.INFO: GPS data processed {"connection_id":51654,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:41:40] local.INFO: Acknowledgment sent {"connection_id":51654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:42:03] local.INFO: TCP Data received {"connection_id":51004,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:42:03] local.INFO: Processing buffer {"connection_id":51004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:42:03] local.INFO: Packet analysis {"connection_id":51004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:42:03] local.INFO: Extracted packet for processing {"connection_id":51004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:42: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-22 22:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22: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-22 22:42:03] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:42:03] 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-22 22:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:42:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":51004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:42:03] local.INFO: GPS data processed {"connection_id":51004,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:42:03] local.INFO: Acknowledgment sent {"connection_id":51004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:42:25] local.INFO: TCP Data received {"connection_id":51085,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:42:25] local.INFO: Processing buffer {"connection_id":51085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:42:25] local.INFO: IMEI packet received {"connection_id":51085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":51085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:42:26] local.INFO: TCP Data received {"connection_id":51086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:42:26] local.INFO: Processing buffer {"connection_id":51086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:42:26] local.INFO: IMEI packet received {"connection_id":51086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":51086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:42:30] local.INFO: TCP Data received {"connection_id":51085,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:42:30] local.INFO: Processing buffer {"connection_id":51085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:42:30] local.INFO: IMEI packet received {"connection_id":51085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":51085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:42:31] local.INFO: TCP Data received {"connection_id":51085,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:42:31] local.INFO: Processing buffer {"connection_id":51085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:42:31] local.INFO: Packet analysis {"connection_id":51085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:42:31] local.INFO: Extracted packet for processing {"connection_id":51085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:42:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 22: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-22 22:42: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-22 22:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:42:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:42:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":51085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:42:31] local.INFO: GPS data processed {"connection_id":51085,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:42:31] local.INFO: Acknowledgment sent {"connection_id":51085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:42:31] local.INFO: TCP Data received {"connection_id":51086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:42:31] local.INFO: Processing buffer {"connection_id":51086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:42:31] local.INFO: IMEI packet received {"connection_id":51086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":51086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:42:32] local.INFO: TCP Data received {"connection_id":51086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:42:32] local.INFO: Processing buffer {"connection_id":51086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:42:32] local.INFO: Packet analysis {"connection_id":51086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:42:32] local.INFO: Extracted packet for processing {"connection_id":51086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:42: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-22 22:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22: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-22 22:42:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:42: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-22 22:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:42:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":51086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:42:32] local.INFO: GPS data processed {"connection_id":51086,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:42:32] local.INFO: Acknowledgment sent {"connection_id":51086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:43:03] local.INFO: TCP Data received {"connection_id":51085,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:43:03] local.INFO: Processing buffer {"connection_id":51085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:43:03] local.INFO: Packet analysis {"connection_id":51085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:43:03] local.INFO: Extracted packet for processing {"connection_id":51085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:43:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 22: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-22 22:43: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-22 22:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:43:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":51085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:43:03] local.INFO: GPS data processed {"connection_id":51085,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:43:03] local.INFO: Acknowledgment sent {"connection_id":51085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:43:03] local.INFO: TCP Data received {"connection_id":51086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:43:03] local.INFO: Processing buffer {"connection_id":51086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:43:03] local.INFO: Packet analysis {"connection_id":51086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:43:03] local.INFO: Extracted packet for processing {"connection_id":51086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43: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-22 22:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22: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-22 22:43:03] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:43:03] 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-22 22:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":51086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:43:03] local.INFO: GPS data processed {"connection_id":51086,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:43:03] local.INFO: Acknowledgment sent {"connection_id":51086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:43:25] local.INFO: TCP Data received {"connection_id":50693,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:43:25] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:43:25] local.INFO: IMEI packet received {"connection_id":50693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":50693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:43:26] local.INFO: TCP Data received {"connection_id":50694,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:43:26] local.INFO: Processing buffer {"connection_id":50694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:43:26] local.INFO: IMEI packet received {"connection_id":50694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":50694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:43:30] local.INFO: TCP Data received {"connection_id":50693,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:43:30] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:43:30] local.INFO: IMEI packet received {"connection_id":50693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":50693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:43:31] local.INFO: TCP Data received {"connection_id":50693,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:43:31] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:43:31] local.INFO: Packet analysis {"connection_id":50693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:43:31] local.INFO: Extracted packet for processing {"connection_id":50693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:43:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 22: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-22 22:43: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-22 22:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:43:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:43:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":50693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:43:31] local.INFO: GPS data processed {"connection_id":50693,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:43:31] local.INFO: Acknowledgment sent {"connection_id":50693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:43:31] local.INFO: TCP Data received {"connection_id":50694,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:43:31] local.INFO: Processing buffer {"connection_id":50694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:43:31] local.INFO: IMEI packet received {"connection_id":50694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":50694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:43:32] local.INFO: TCP Data received {"connection_id":50694,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:43:32] local.INFO: Processing buffer {"connection_id":50694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db629d4c0012d196500071ff0380038006827..."} 
[2026-04-22 22:43:32] local.INFO: Packet analysis {"connection_id":50694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:43:32] local.INFO: Extracted packet for processing {"connection_id":50694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db629"} 
[2026-04-22 22:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880611072001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:43: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-22 22:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877688000,"timestamp_ms":1776877688000,"timestamp_seconds":1776877688,"priority":1,"record_length":96,"hex_timestamp":"0000019db629d4c0"} 
[2026-04-22 22: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-22 22:43:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:43:32] 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-22 22:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880611072001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880611072001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:43:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880611072001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":50694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:43:32] local.INFO: GPS data processed {"connection_id":50694,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:43:32] local.INFO: Acknowledgment sent {"connection_id":50694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:44:03] local.INFO: TCP Data received {"connection_id":50693,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:44:03] local.INFO: Processing buffer {"connection_id":50693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:44:03] local.INFO: Packet analysis {"connection_id":50693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:44:03] local.INFO: Extracted packet for processing {"connection_id":50693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:44:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 22: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-22 22:44: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-22 22:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:44:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:44:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":50693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:44:03] local.INFO: GPS data processed {"connection_id":50693,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:44:03] local.INFO: Acknowledgment sent {"connection_id":50693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:44:03] local.INFO: TCP Data received {"connection_id":50694,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:03] local.INFO: Processing buffer {"connection_id":50694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:03] local.INFO: Packet analysis {"connection_id":50694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:44:03] local.INFO: Extracted packet for processing {"connection_id":50694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44: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-22 22:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22: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-22 22:44:03] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:44:03] 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-22 22:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":50694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:44:03] local.INFO: GPS data processed {"connection_id":50694,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:44:03] local.INFO: Acknowledgment sent {"connection_id":50694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:44:20] local.INFO: TCP Data received {"connection_id":51005,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:44:20] local.INFO: Processing buffer {"connection_id":51005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:44:20] local.INFO: IMEI packet received {"connection_id":51005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":51005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:44:25] local.INFO: TCP Data received {"connection_id":51088,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:44:25] local.INFO: Processing buffer {"connection_id":51088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:44:25] local.INFO: IMEI packet received {"connection_id":51088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":51088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:44:30] local.INFO: TCP Data received {"connection_id":51088,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:44:30] local.INFO: Processing buffer {"connection_id":51088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:44:30] local.INFO: IMEI packet received {"connection_id":51088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":51088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:44:31] local.INFO: TCP Data received {"connection_id":51088,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:44:31] local.INFO: Processing buffer {"connection_id":51088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:44:31] local.INFO: Packet analysis {"connection_id":51088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:44:31] local.INFO: Extracted packet for processing {"connection_id":51088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:44:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 22: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-22 22:44: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-22 22: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":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:44: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-22 22: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-22 22: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-22 22:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:44:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:44:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":51088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:44:31] local.INFO: GPS data processed {"connection_id":51088,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:44:31] local.INFO: Acknowledgment sent {"connection_id":51088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:44:31] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:44:31] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:44:31] local.INFO: IMEI packet received {"connection_id":51006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":51006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:44:36] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:44:36] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:44:36] local.INFO: IMEI packet received {"connection_id":51006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":51006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:44:37] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:37] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:37] local.INFO: Packet analysis {"connection_id":51006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:44:37] local.INFO: Extracted packet for processing {"connection_id":51006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22: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-22 22:44:37] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:44:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":51006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:44:37] local.INFO: GPS data processed {"connection_id":51006,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:44:37] local.INFO: Acknowledgment sent {"connection_id":51006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:44:42] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:42] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:42] local.INFO: Packet analysis {"connection_id":51006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:44:42] local.INFO: Extracted packet for processing {"connection_id":51006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44: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-22 22:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:44:42] 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-22 22:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:44:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":51006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:44:42] local.INFO: GPS data processed {"connection_id":51006,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:44:42] local.INFO: Acknowledgment sent {"connection_id":51006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:44:47] local.INFO: TCP Data received {"connection_id":51006,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:47] local.INFO: Processing buffer {"connection_id":51006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:44:47] local.INFO: Packet analysis {"connection_id":51006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:44:47] local.INFO: Extracted packet for processing {"connection_id":51006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:44: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-22 22:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:44:47] 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-22 22:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:44: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-22 22:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:44:47] 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-22 22:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:44:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":51006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:44:47] local.INFO: GPS data processed {"connection_id":51006,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:44:47] local.INFO: Acknowledgment sent {"connection_id":51006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:44:55] local.INFO: TCP Data received {"connection_id":51655,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:44:55] local.INFO: Processing buffer {"connection_id":51655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:44:55] local.INFO: IMEI packet received {"connection_id":51655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":51655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:45:03] local.INFO: TCP Data received {"connection_id":51088,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:45:03] local.INFO: Processing buffer {"connection_id":51088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:45:03] local.INFO: Packet analysis {"connection_id":51088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:45:03] local.INFO: Extracted packet for processing {"connection_id":51088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:45:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 22:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 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-22 22:45: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-22 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:45: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-22 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-22 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-22 22:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:45:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:45:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":51088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:45:03] local.INFO: GPS data processed {"connection_id":51088,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:45:03] local.INFO: Acknowledgment sent {"connection_id":51088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:45:25] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:45:25] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:45:25] local.INFO: IMEI packet received {"connection_id":51089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":51089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:45:26] local.INFO: TCP Data received {"connection_id":51007,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:45:26] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:45:26] local.INFO: IMEI packet received {"connection_id":51007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":51007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:45:30] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:45:30] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:45:30] local.INFO: IMEI packet received {"connection_id":51089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":51089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:45:31] local.INFO: TCP Data received {"connection_id":51007,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:45:31] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:45:31] local.INFO: IMEI packet received {"connection_id":51007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":51007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:45:31] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:45:31] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62bb150012d77a04005f2a5a8001b015932..."} 
[2026-04-22 22:45:31] local.INFO: Packet analysis {"connection_id":51089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:45:31] local.INFO: Extracted packet for processing {"connection_id":51089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62b"} 
[2026-04-22 22:45:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":50,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880642304001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776877810000,"timestamp_ms":1776877810000,"timestamp_seconds":1776877810,"priority":1,"record_length":96,"hex_timestamp":"0000019db62bb150"} 
[2026-04-22 22:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:45: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-22 22:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-22 22:45: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-22 22:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880642304001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880642304001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:45:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:45:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880642304001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":51089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:45:31] local.INFO: GPS data processed {"connection_id":51089,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:45:31] local.INFO: Acknowledgment sent {"connection_id":51089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:45:32] local.INFO: TCP Data received {"connection_id":51007,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:45:32] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:45:32] local.INFO: Packet analysis {"connection_id":51007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:45:32] local.INFO: Extracted packet for processing {"connection_id":51007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22: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-22 22:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22: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-22 22:45:32] 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-22 22:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:45:32] local.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-22 22:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:45:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":51007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:45:32] local.INFO: GPS data processed {"connection_id":51007,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:45:32] local.INFO: Acknowledgment sent {"connection_id":51007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:46:03] local.INFO: TCP Data received {"connection_id":51089,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:46:03] local.INFO: Processing buffer {"connection_id":51089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:46:03] local.INFO: Packet analysis {"connection_id":51089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:46:03] local.INFO: Extracted packet for processing {"connection_id":51089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:46:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:46: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-22 22:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:46: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-22 22:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:46:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:46:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":51089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:46:03] local.INFO: GPS data processed {"connection_id":51089,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:46:03] local.INFO: Acknowledgment sent {"connection_id":51089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:46:03] local.INFO: TCP Data received {"connection_id":51007,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:46:03] local.INFO: Processing buffer {"connection_id":51007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:46:03] local.INFO: Packet analysis {"connection_id":51007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:46:03] local.INFO: Extracted packet for processing {"connection_id":51007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46: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-22 22:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:46:03] 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-22 22:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:46:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":51007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:46:03] local.INFO: GPS data processed {"connection_id":51007,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:46:03] local.INFO: Acknowledgment sent {"connection_id":51007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:46:25] local.INFO: TCP Data received {"connection_id":51090,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:46:25] local.INFO: Processing buffer {"connection_id":51090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:46:25] local.INFO: IMEI packet received {"connection_id":51090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":51090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:46:26] local.INFO: TCP Data received {"connection_id":51091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:46:26] local.INFO: Processing buffer {"connection_id":51091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:46:26] local.INFO: IMEI packet received {"connection_id":51091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":51091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:46:30] local.INFO: TCP Data received {"connection_id":51090,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:46:30] local.INFO: Processing buffer {"connection_id":51090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:46:30] local.INFO: IMEI packet received {"connection_id":51090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":51090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:46:31] local.INFO: TCP Data received {"connection_id":51090,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:46:31] local.INFO: Processing buffer {"connection_id":51090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:46:31] local.INFO: Packet analysis {"connection_id":51090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:46:31] local.INFO: Extracted packet for processing {"connection_id":51090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:46:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22: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-22 22:46: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-22 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:46: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-22 22: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-22 22: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-22 22:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:46:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:46:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":51090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:46:31] local.INFO: GPS data processed {"connection_id":51090,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:46:31] local.INFO: Acknowledgment sent {"connection_id":51090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:46:31] local.INFO: TCP Data received {"connection_id":51091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:46:31] local.INFO: Processing buffer {"connection_id":51091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:46:31] local.INFO: IMEI packet received {"connection_id":51091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":51091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:46:32] local.INFO: TCP Data received {"connection_id":51091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:46:32] local.INFO: Processing buffer {"connection_id":51091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:46:32] local.INFO: Packet analysis {"connection_id":51091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:46:32] local.INFO: Extracted packet for processing {"connection_id":51091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:46: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-22 22:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22: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-22 22:46:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:46:32] 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-22 22:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:46:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":51091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:46:32] local.INFO: GPS data processed {"connection_id":51091,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:46:32] local.INFO: Acknowledgment sent {"connection_id":51091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:47:03] local.INFO: TCP Data received {"connection_id":51090,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:47:03] local.INFO: Processing buffer {"connection_id":51090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:47:03] local.INFO: Packet analysis {"connection_id":51090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:47:03] local.INFO: Extracted packet for processing {"connection_id":51090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:47:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22: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-22 22:47: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-22 22:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:47: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-22 22: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-22 22: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-22 22:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:47:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:47:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":51090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:47:03] local.INFO: GPS data processed {"connection_id":51090,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:47:03] local.INFO: Acknowledgment sent {"connection_id":51090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:47:04] local.INFO: TCP Data received {"connection_id":51091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:47:04] local.INFO: Processing buffer {"connection_id":51091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:47:04] local.INFO: Packet analysis {"connection_id":51091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:47:04] local.INFO: Extracted packet for processing {"connection_id":51091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47: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-22 22:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22: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-22 22:47:04] 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-22 22:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:47:04] 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-22 22:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:47:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":51091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:47:04] local.INFO: GPS data processed {"connection_id":51091,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:47:04] local.INFO: Acknowledgment sent {"connection_id":51091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:47:25] local.INFO: TCP Data received {"connection_id":50696,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:47:25] local.INFO: Processing buffer {"connection_id":50696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:47:25] local.INFO: IMEI packet received {"connection_id":50696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":50696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:47:26] local.INFO: TCP Data received {"connection_id":51656,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:47:26] local.INFO: Processing buffer {"connection_id":51656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:47:26] local.INFO: IMEI packet received {"connection_id":51656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":51656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:47:30] local.INFO: TCP Data received {"connection_id":50696,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:47:30] local.INFO: Processing buffer {"connection_id":50696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:47:30] local.INFO: IMEI packet received {"connection_id":50696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":50696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:47:31] local.INFO: TCP Data received {"connection_id":50696,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:47:31] local.INFO: Processing buffer {"connection_id":50696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:47:31] local.INFO: Packet analysis {"connection_id":50696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:47:31] local.INFO: Extracted packet for processing {"connection_id":50696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:47:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:47: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-22 22:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:47: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-22 22:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:47:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:47:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":50696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:47:31] local.INFO: GPS data processed {"connection_id":50696,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:47:31] local.INFO: Acknowledgment sent {"connection_id":50696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:47:31] local.INFO: TCP Data received {"connection_id":51656,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:47:31] local.INFO: Processing buffer {"connection_id":51656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:47:31] local.INFO: IMEI packet received {"connection_id":51656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":51656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:47:32] local.INFO: TCP Data received {"connection_id":51656,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:47:32] local.INFO: Processing buffer {"connection_id":51656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:47:32] local.INFO: Packet analysis {"connection_id":51656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:47:32] local.INFO: Extracted packet for processing {"connection_id":51656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:47: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-22 22:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22: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-22 22:47:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:47:32] 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-22 22:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:47:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":51656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:47:32] local.INFO: GPS data processed {"connection_id":51656,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:47:32] local.INFO: Acknowledgment sent {"connection_id":51656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:48:03] local.INFO: TCP Data received {"connection_id":50696,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:48:03] local.INFO: Processing buffer {"connection_id":50696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:48:03] local.INFO: Packet analysis {"connection_id":50696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:48:03] local.INFO: Extracted packet for processing {"connection_id":50696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:48:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22: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-22 22: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-22 22: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:48: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-22 22: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-22 22: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-22 22:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:48:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:48:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":50696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:48:03] local.INFO: GPS data processed {"connection_id":50696,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:48:03] local.INFO: Acknowledgment sent {"connection_id":50696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:48:04] local.INFO: TCP Data received {"connection_id":51656,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:48:04] local.INFO: Processing buffer {"connection_id":51656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:48:04] local.INFO: Packet analysis {"connection_id":51656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:48:04] local.INFO: Extracted packet for processing {"connection_id":51656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48: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-22 22:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22: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-22 22:48:04] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:48:04] 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-22 22:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:48:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":51656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:48:04] local.INFO: GPS data processed {"connection_id":51656,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:48:04] local.INFO: Acknowledgment sent {"connection_id":51656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:48:25] local.INFO: TCP Data received {"connection_id":50697,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:48:25] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:48:25] local.INFO: IMEI packet received {"connection_id":50697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":50697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:48:26] local.INFO: TCP Data received {"connection_id":51093,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:48:26] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:48:26] local.INFO: IMEI packet received {"connection_id":51093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":51093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:48:30] local.INFO: TCP Data received {"connection_id":50697,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:48:30] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:48:30] local.INFO: IMEI packet received {"connection_id":50697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":50697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:48:31] local.INFO: TCP Data received {"connection_id":50697,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:48:31] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:48:31] local.INFO: Packet analysis {"connection_id":50697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:48:31] local.INFO: Extracted packet for processing {"connection_id":50697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:48:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22: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-22 22:48: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-22 22:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:48: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-22 22: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-22 22: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-22 22:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:48:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:48:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":50697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:48:31] local.INFO: GPS data processed {"connection_id":50697,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:48:31] local.INFO: Acknowledgment sent {"connection_id":50697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:48:31] local.INFO: TCP Data received {"connection_id":51093,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:48:31] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:48:31] local.INFO: IMEI packet received {"connection_id":51093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":51093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:48:32] local.INFO: TCP Data received {"connection_id":51093,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:48:32] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db62e6c88012d196500071ff0380038006829..."} 
[2026-04-22 22:48:32] local.INFO: Packet analysis {"connection_id":51093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:48:32] local.INFO: Extracted packet for processing {"connection_id":51093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db62e"} 
[2026-04-22 22:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880688128001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:48: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-22 22:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776877989000,"timestamp_ms":1776877989000,"timestamp_seconds":1776877989,"priority":1,"record_length":96,"hex_timestamp":"0000019db62e6c88"} 
[2026-04-22 22: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-22 22:48:32] 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-22 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-22 22:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:48:32] 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-22 22:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880688128001,"66":2144,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880688128001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:48:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880688128001,"power":2144,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":51093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:48:32] local.INFO: GPS data processed {"connection_id":51093,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:48:32] local.INFO: Acknowledgment sent {"connection_id":51093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:49:03] local.INFO: TCP Data received {"connection_id":50697,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:49:03] local.INFO: Processing buffer {"connection_id":50697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:49:03] local.INFO: Packet analysis {"connection_id":50697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:49:03] local.INFO: Extracted packet for processing {"connection_id":50697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:49:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:49: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-22 22:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:49: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-22 22:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:49:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:49:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":50697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:49:03] local.INFO: GPS data processed {"connection_id":50697,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:49:03] local.INFO: Acknowledgment sent {"connection_id":50697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:49:04] local.INFO: TCP Data received {"connection_id":51093,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:49:04] local.INFO: Processing buffer {"connection_id":51093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:49:04] local.INFO: Packet analysis {"connection_id":51093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:49:04] local.INFO: Extracted packet for processing {"connection_id":51093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 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-22 22:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49: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-22 22:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 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-22 22:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":51093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:49:04] local.INFO: GPS data processed {"connection_id":51093,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:49:04] local.INFO: Acknowledgment sent {"connection_id":51093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:49:25] local.INFO: TCP Data received {"connection_id":51094,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:49:25] local.INFO: Processing buffer {"connection_id":51094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:49:25] local.INFO: IMEI packet received {"connection_id":51094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":51094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:49:26] local.INFO: TCP Data received {"connection_id":51658,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:49:26] local.INFO: Processing buffer {"connection_id":51658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:49:26] local.INFO: IMEI packet received {"connection_id":51658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":51658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:49:30] local.INFO: TCP Data received {"connection_id":51094,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:49:30] local.INFO: Processing buffer {"connection_id":51094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:49:30] local.INFO: IMEI packet received {"connection_id":51094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":51094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:49:31] local.INFO: TCP Data received {"connection_id":51658,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:49:31] local.INFO: Processing buffer {"connection_id":51658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:49:31] local.INFO: IMEI packet received {"connection_id":51658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":51658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:49:31] local.INFO: TCP Data received {"connection_id":51094,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:49:31] local.INFO: Processing buffer {"connection_id":51094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:49:31] local.INFO: Packet analysis {"connection_id":51094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:49:31] local.INFO: Extracted packet for processing {"connection_id":51094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:49:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22: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-22 22:49: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-22 22: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:49: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-22 22: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-22 22: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-22 22:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:49:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:49:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":51094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:49:31] local.INFO: GPS data processed {"connection_id":51094,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:49:31] local.INFO: Acknowledgment sent {"connection_id":51094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:49:32] local.INFO: TCP Data received {"connection_id":51658,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:49:32] local.INFO: Processing buffer {"connection_id":51658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:49:32] local.INFO: Packet analysis {"connection_id":51658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:49:32] local.INFO: Extracted packet for processing {"connection_id":51658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:49: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-22 22:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 22: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-22 22:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:49:32] 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-22 22: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-22 22: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-22 22:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:49:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":51658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:49:32] local.INFO: GPS data processed {"connection_id":51658,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:49:32] local.INFO: Acknowledgment sent {"connection_id":51658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:50:03] local.INFO: TCP Data received {"connection_id":51658,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:50:03] local.INFO: Processing buffer {"connection_id":51658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:50:03] local.INFO: Packet analysis {"connection_id":51658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:50:03] local.INFO: Extracted packet for processing {"connection_id":51658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50: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-22 22:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 22: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-22 22:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:50:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":51658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:50:03] local.INFO: GPS data processed {"connection_id":51658,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:50:03] local.INFO: Acknowledgment sent {"connection_id":51658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:50:09] local.INFO: TCP Data received {"connection_id":51094,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:50:09] local.INFO: Processing buffer {"connection_id":51094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:50:09] local.INFO: Packet analysis {"connection_id":51094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:50:09] local.INFO: Extracted packet for processing {"connection_id":51094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:50:09] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22: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-22 22:50: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-22 22: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:50: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-22 22: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-22 22: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-22 22:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":51094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":51094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":51094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:50:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:50:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":51094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:50:09] local.INFO: GPS data processed {"connection_id":51094,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:50:09] local.INFO: Acknowledgment sent {"connection_id":51094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:50:10] local.INFO: TCP Data received {"connection_id":51095,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:50:10] local.INFO: Processing buffer {"connection_id":51095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:50:10] local.INFO: IMEI packet received {"connection_id":51095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":51095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:50:30] local.INFO: TCP Data received {"connection_id":50698,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:50:30] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:50:30] local.INFO: IMEI packet received {"connection_id":50698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":50698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:50:31] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:50:31] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:50:31] local.INFO: IMEI packet received {"connection_id":51009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":51009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:50:35] local.INFO: TCP Data received {"connection_id":50698,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:50:35] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:50:35] local.INFO: IMEI packet received {"connection_id":50698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":50698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:50:36] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:50:36] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:50:36] local.INFO: IMEI packet received {"connection_id":51009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":51009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:50:37] local.INFO: TCP Data received {"connection_id":50698,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:50:37] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:50:37] local.INFO: Packet analysis {"connection_id":50698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:50:37] local.INFO: Extracted packet for processing {"connection_id":50698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:50:37] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22: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-22 22:50: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-22 22: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:50: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-22 22: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-22 22: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-22 22:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:50:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:50:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":50698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:50:37] local.INFO: GPS data processed {"connection_id":50698,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:50:37] local.INFO: Acknowledgment sent {"connection_id":50698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:50:37] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:50:37] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:50:37] local.INFO: Packet analysis {"connection_id":51009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:50:37] local.INFO: Extracted packet for processing {"connection_id":51009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 22: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-22 22:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:50:37] 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-22 22:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:50:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":51009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:50:37] local.INFO: GPS data processed {"connection_id":51009,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:50:37] local.INFO: Acknowledgment sent {"connection_id":51009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:50:40] local.INFO: TCP Data received {"connection_id":50698,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:50:40] local.INFO: Processing buffer {"connection_id":50698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6304918012d77a04005f2a5a8001b01592b..."} 
[2026-04-22 22:50:40] local.INFO: Packet analysis {"connection_id":50698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:50:40] local.INFO: Extracted packet for processing {"connection_id":50698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db630"} 
[2026-04-22 22:50:40] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880719360001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776878111000,"timestamp_ms":1776878111000,"timestamp_seconds":1776878111,"priority":1,"record_length":96,"hex_timestamp":"0000019db6304918"} 
[2026-04-22 22:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880719360001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880719360001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:50:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:50:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880719360001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":50698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:50:40] local.INFO: GPS data processed {"connection_id":50698,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:50:40] local.INFO: Acknowledgment sent {"connection_id":50698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:50:42] local.INFO: TCP Data received {"connection_id":51009,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:50:42] local.INFO: Processing buffer {"connection_id":51009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:50:42] local.INFO: Packet analysis {"connection_id":51009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:50:42] local.INFO: Extracted packet for processing {"connection_id":51009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 22:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:50:42] 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-22 22:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:50:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":51009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:50:42] local.INFO: GPS data processed {"connection_id":51009,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:50:42] local.INFO: Acknowledgment sent {"connection_id":51009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:50:49] local.INFO: TCP Data received {"connection_id":50699,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:50:50] local.INFO: Processing buffer {"connection_id":50699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:50:50] local.INFO: IMEI packet received {"connection_id":50699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":50699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:51:25] local.INFO: TCP Data received {"connection_id":51097,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:51:25] local.INFO: Processing buffer {"connection_id":51097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:51:25] local.INFO: IMEI packet received {"connection_id":51097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":51097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:51:26] local.INFO: TCP Data received {"connection_id":51096,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:51:26] local.INFO: Processing buffer {"connection_id":51096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:51:26] local.INFO: IMEI packet received {"connection_id":51096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":51096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:51:30] local.INFO: TCP Data received {"connection_id":51097,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:51:30] local.INFO: Processing buffer {"connection_id":51097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:51:30] local.INFO: IMEI packet received {"connection_id":51097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":51097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:51:31] local.INFO: TCP Data received {"connection_id":51097,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:51:31] local.INFO: Processing buffer {"connection_id":51097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:51:31] local.INFO: Packet analysis {"connection_id":51097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:51:31] local.INFO: Extracted packet for processing {"connection_id":51097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:51:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880796416001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878412000,"timestamp_ms":1776878412000,"timestamp_seconds":1776878412,"priority":1,"record_length":96,"hex_timestamp":"0000019db634e0e0"} 
[2026-04-22 22: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-22 22:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880796416001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880796416001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:51:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:51:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880796416001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":51097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:51:31] local.INFO: GPS data processed {"connection_id":51097,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:51:31] local.INFO: Acknowledgment sent {"connection_id":51097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:51:31] local.INFO: TCP Data received {"connection_id":51096,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:51:31] local.INFO: Processing buffer {"connection_id":51096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:51:31] local.INFO: IMEI packet received {"connection_id":51096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":51096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:51:32] local.INFO: TCP Data received {"connection_id":51096,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:51:32] local.INFO: Processing buffer {"connection_id":51096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:51:32] local.INFO: Packet analysis {"connection_id":51096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:51:32] local.INFO: Extracted packet for processing {"connection_id":51096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:51: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-22 22:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 22: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-22 22:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:51:32] 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-22 22: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-22 22: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-22 22:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:51:32] 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-22 22:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:51:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":51096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:51:33] local.INFO: GPS data processed {"connection_id":51096,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:51:33] local.INFO: Acknowledgment sent {"connection_id":51096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:52:03] local.INFO: TCP Data received {"connection_id":51097,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:52:03] local.INFO: Processing buffer {"connection_id":51097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:52:03] local.INFO: Packet analysis {"connection_id":51097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:52:03] local.INFO: Extracted packet for processing {"connection_id":51097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:52:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880796416001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878412000,"timestamp_ms":1776878412000,"timestamp_seconds":1776878412,"priority":1,"record_length":96,"hex_timestamp":"0000019db634e0e0"} 
[2026-04-22 22: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-22 22:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22: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-22 22: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-22 22: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-22 22:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880796416001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880796416001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:52:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:52:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880796416001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":51097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:52:03] local.INFO: GPS data processed {"connection_id":51097,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:52:03] local.INFO: Acknowledgment sent {"connection_id":51097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:52:04] local.INFO: TCP Data received {"connection_id":51096,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:52:04] local.INFO: Processing buffer {"connection_id":51096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:52:04] local.INFO: Packet analysis {"connection_id":51096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:52:04] local.INFO: Extracted packet for processing {"connection_id":51096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52: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-22 22:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 22:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":51096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":51096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":51096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:52:04] 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-22 22:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:52:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":51096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:52:04] local.INFO: GPS data processed {"connection_id":51096,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:52:04] local.INFO: Acknowledgment sent {"connection_id":51096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:52:25] local.INFO: TCP Data received {"connection_id":51098,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:52:25] local.INFO: Processing buffer {"connection_id":51098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:52:25] local.INFO: IMEI packet received {"connection_id":51098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":51098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:52:28] local.INFO: TCP Data received {"connection_id":51659,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:52:28] local.INFO: Processing buffer {"connection_id":51659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:52:28] local.INFO: IMEI packet received {"connection_id":51659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":51659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:52:30] local.INFO: TCP Data received {"connection_id":51098,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:52:30] local.INFO: Processing buffer {"connection_id":51098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:52:30] local.INFO: IMEI packet received {"connection_id":51098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":51098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:52:31] local.INFO: TCP Data received {"connection_id":51098,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:52:31] local.INFO: Processing buffer {"connection_id":51098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:52:31] local.INFO: Packet analysis {"connection_id":51098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:52:31] local.INFO: Extracted packet for processing {"connection_id":51098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:52:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880796416001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878412000,"timestamp_ms":1776878412000,"timestamp_seconds":1776878412,"priority":1,"record_length":96,"hex_timestamp":"0000019db634e0e0"} 
[2026-04-22 22: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-22 22:52: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-22 22:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880796416001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880796416001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:52:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:52:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880796416001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:52:31] local.INFO: TCP Data received {"connection_id":51659,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:52:31] local.INFO: Processing buffer {"connection_id":51659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:52:31] local.INFO: IMEI packet received {"connection_id":51659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":51659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":51098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:52:31] local.INFO: GPS data processed {"connection_id":51098,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:52:31] local.INFO: Acknowledgment sent {"connection_id":51098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:52:32] local.INFO: TCP Data received {"connection_id":51659,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:52:32] local.INFO: Processing buffer {"connection_id":51659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:52:32] local.INFO: Packet analysis {"connection_id":51659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:52:32] local.INFO: Extracted packet for processing {"connection_id":51659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:52: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-22 22:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 22: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-22 22:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:52:32] 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-22 22: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-22 22: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-22 22:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:52:32] 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-22 22:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:52:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":51659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:52:32] local.INFO: GPS data processed {"connection_id":51659,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:52:32] local.INFO: Acknowledgment sent {"connection_id":51659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:53:03] local.INFO: TCP Data received {"connection_id":51098,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:53:03] local.INFO: Processing buffer {"connection_id":51098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:53:03] local.INFO: Packet analysis {"connection_id":51098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:53:03] local.INFO: Extracted packet for processing {"connection_id":51098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:53:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880796416001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878412000,"timestamp_ms":1776878412000,"timestamp_seconds":1776878412,"priority":1,"record_length":96,"hex_timestamp":"0000019db634e0e0"} 
[2026-04-22 22: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-22 22:53: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-22 22:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880796416001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880796416001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880796416001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":51098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:53:03] local.INFO: GPS data processed {"connection_id":51098,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:53:03] local.INFO: Acknowledgment sent {"connection_id":51098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:53:03] local.INFO: TCP Data received {"connection_id":51659,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:53:03] local.INFO: Processing buffer {"connection_id":51659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:53:03] local.INFO: Packet analysis {"connection_id":51659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:53:03] local.INFO: Extracted packet for processing {"connection_id":51659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53: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-22 22:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 22: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-22 22:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:53:03] 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-22 22:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 22:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":51659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:53:03] local.INFO: GPS data processed {"connection_id":51659,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:53:03] local.INFO: Acknowledgment sent {"connection_id":51659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:53:26] local.INFO: TCP Data received {"connection_id":51661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:53:26] local.INFO: Processing buffer {"connection_id":51661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:53:26] local.INFO: IMEI packet received {"connection_id":51661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":51661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:53:30] local.INFO: TCP Data received {"connection_id":51662,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:53:30] local.INFO: Processing buffer {"connection_id":51662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:53:30] local.INFO: IMEI packet received {"connection_id":51662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":51662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:53:31] local.INFO: TCP Data received {"connection_id":51661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:53:31] local.INFO: Processing buffer {"connection_id":51661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:53:31] local.INFO: IMEI packet received {"connection_id":51661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":51661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:53:32] local.INFO: TCP Data received {"connection_id":51661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:53:32] local.INFO: Processing buffer {"connection_id":51661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6330450012d196500071ff0380038006827..."} 
[2026-04-22 22:53:32] local.INFO: Packet analysis {"connection_id":51661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:53:32] local.INFO: Extracted packet for processing {"connection_id":51661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db633"} 
[2026-04-22 22:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880765184001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53: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-22 22:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878290000,"timestamp_ms":1776878290000,"timestamp_seconds":1776878290,"priority":1,"record_length":96,"hex_timestamp":"0000019db6330450"} 
[2026-04-22 22: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-22 22:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-22 22:53:32] 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-22 22: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-22 22: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-22 22:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880765184001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880765184001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:53:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880765184001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":51661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:53:32] local.INFO: GPS data processed {"connection_id":51661,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:53:32] local.INFO: Acknowledgment sent {"connection_id":51661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:53:35] local.INFO: TCP Data received {"connection_id":51662,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:53:35] local.INFO: Processing buffer {"connection_id":51662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:53:35] local.INFO: IMEI packet received {"connection_id":51662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":51662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:53:36] local.INFO: TCP Data received {"connection_id":51662,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:53:36] local.INFO: Processing buffer {"connection_id":51662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:53:36] local.INFO: Packet analysis {"connection_id":51662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:53:36] local.INFO: Extracted packet for processing {"connection_id":51662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:53:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880796416001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776878412000,"timestamp_ms":1776878412000,"timestamp_seconds":1776878412,"priority":1,"record_length":96,"hex_timestamp":"0000019db634e0e0"} 
[2026-04-22 22:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:53: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-22 22:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880796416001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880796416001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:53:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:53:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880796416001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":51662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:53:36] local.INFO: GPS data processed {"connection_id":51662,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:53:36] local.INFO: Acknowledgment sent {"connection_id":51662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:53:41] local.INFO: TCP Data received {"connection_id":51662,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:53:41] local.INFO: Processing buffer {"connection_id":51662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:53:41] local.INFO: Packet analysis {"connection_id":51662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:53:41] local.INFO: Extracted packet for processing {"connection_id":51662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880796416001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776878412000,"timestamp_ms":1776878412000,"timestamp_seconds":1776878412,"priority":1,"record_length":96,"hex_timestamp":"0000019db634e0e0"} 
[2026-04-22 22:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880796416001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880796416001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:53:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:53:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880796416001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":51662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:53:41] local.INFO: GPS data processed {"connection_id":51662,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:53:41] local.INFO: Acknowledgment sent {"connection_id":51662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:54:03] local.INFO: TCP Data received {"connection_id":51661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:54:03] local.INFO: Processing buffer {"connection_id":51661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:54:03] local.INFO: Packet analysis {"connection_id":51661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:54:03] local.INFO: Extracted packet for processing {"connection_id":51661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:54: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-22 22:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 22: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-22 22:54:03] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:54:03] local.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-22 22:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:54:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":51661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:54:03] local.INFO: GPS data processed {"connection_id":51661,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:54:03] local.INFO: Acknowledgment sent {"connection_id":51661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:54:25] local.INFO: TCP Data received {"connection_id":50701,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:54:25] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:54:25] local.INFO: IMEI packet received {"connection_id":50701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":50701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:54:26] local.INFO: TCP Data received {"connection_id":51099,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:54:26] local.INFO: Processing buffer {"connection_id":51099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:54:26] local.INFO: IMEI packet received {"connection_id":51099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":51099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:54:30] local.INFO: TCP Data received {"connection_id":50701,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:54:30] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:54:30] local.INFO: IMEI packet received {"connection_id":50701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":50701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:54:31] local.INFO: TCP Data received {"connection_id":51099,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:54:31] local.INFO: Processing buffer {"connection_id":51099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:54:31] local.INFO: IMEI packet received {"connection_id":51099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":51099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:54:31] local.INFO: TCP Data received {"connection_id":50701,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:54:31] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:54:31] local.INFO: Packet analysis {"connection_id":50701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:54:31] local.INFO: Extracted packet for processing {"connection_id":50701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:54:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880796416001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878412000,"timestamp_ms":1776878412000,"timestamp_seconds":1776878412,"priority":1,"record_length":96,"hex_timestamp":"0000019db634e0e0"} 
[2026-04-22 22: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-22 22:54: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-22 22: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:54: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-22 22: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-22 22: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-22 22:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880796416001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880796416001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:54:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:54:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880796416001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":50701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:54:31] local.INFO: GPS data processed {"connection_id":50701,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:54:31] local.INFO: Acknowledgment sent {"connection_id":50701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:54:32] local.INFO: TCP Data received {"connection_id":51099,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:54:32] local.INFO: Processing buffer {"connection_id":51099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:54:32] local.INFO: Packet analysis {"connection_id":51099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:54:32] local.INFO: Extracted packet for processing {"connection_id":51099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:54: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-22 22:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 22: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-22 22:54:32] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:54:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":51099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:54:32] local.INFO: GPS data processed {"connection_id":51099,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:54:32] local.INFO: Acknowledgment sent {"connection_id":51099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:55:03] local.INFO: TCP Data received {"connection_id":51099,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:55:03] local.INFO: Processing buffer {"connection_id":51099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:55:03] local.INFO: Packet analysis {"connection_id":51099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:55:03] local.INFO: Extracted packet for processing {"connection_id":51099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 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-22 22:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55: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-22 22:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 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-22 22:55:03] 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-22 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 22:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:55:03] local.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-22 22:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:55:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:55:03] local.INFO: TCP Data received {"connection_id":50701,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:55:03] local.INFO: Processing buffer {"connection_id":50701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:55:03] local.INFO: Packet analysis {"connection_id":50701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:55:03] local.INFO: Extracted packet for processing {"connection_id":50701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:55:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 22:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880796416001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878412000,"timestamp_ms":1776878412000,"timestamp_seconds":1776878412,"priority":1,"record_length":96,"hex_timestamp":"0000019db634e0e0"} 
[2026-04-22 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-22 22:55: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-22 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":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:55: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-22 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-22 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-22 22:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880796416001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880796416001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:55:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:55:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880796416001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":50701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:55:03] local.INFO: GPS data processed {"connection_id":50701,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:55:03] local.INFO: Acknowledgment sent {"connection_id":50701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":51099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:55:03] local.INFO: GPS data processed {"connection_id":51099,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:55:03] local.INFO: Acknowledgment sent {"connection_id":51099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:55:25] local.INFO: TCP Data received {"connection_id":50702,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:55:25] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:55:25] local.INFO: IMEI packet received {"connection_id":50702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":50702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:55:30] local.INFO: TCP Data received {"connection_id":50702,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:55:30] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:55:30] local.INFO: IMEI packet received {"connection_id":50702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":50702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:55:31] local.INFO: TCP Data received {"connection_id":51663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:55:31] local.INFO: Processing buffer {"connection_id":51663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:55:31] local.INFO: IMEI packet received {"connection_id":51663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":51663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:55:31] local.INFO: TCP Data received {"connection_id":50702,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:55:31] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db634e0e0012d77a04005f2a5a8001b015929..."} 
[2026-04-22 22:55:31] local.INFO: Packet analysis {"connection_id":50702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:55:31] local.INFO: Extracted packet for processing {"connection_id":50702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db634"} 
[2026-04-22 22:55:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880796416001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878412000,"timestamp_ms":1776878412000,"timestamp_seconds":1776878412,"priority":1,"record_length":96,"hex_timestamp":"0000019db634e0e0"} 
[2026-04-22 22: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880796416001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880796416001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:55:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:55:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880796416001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":50702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:55:31] local.INFO: GPS data processed {"connection_id":50702,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:55:31] local.INFO: Acknowledgment sent {"connection_id":50702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:55:36] local.INFO: TCP Data received {"connection_id":51663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:55:36] local.INFO: Processing buffer {"connection_id":51663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:55:36] local.INFO: IMEI packet received {"connection_id":51663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":51663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:55:37] local.INFO: TCP Data received {"connection_id":51663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:55:37] local.INFO: Processing buffer {"connection_id":51663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:55:37] local.INFO: Packet analysis {"connection_id":51663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:55:37] local.INFO: Extracted packet for processing {"connection_id":51663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 22:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:55:37] 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-22 22:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":51663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":51663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":51663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:55:37] local.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-22 22:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:55:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":51663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:55:37] local.INFO: GPS data processed {"connection_id":51663,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:55:37] local.INFO: Acknowledgment sent {"connection_id":51663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:55:42] local.INFO: TCP Data received {"connection_id":51663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:55:42] local.INFO: Processing buffer {"connection_id":51663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:55:42] local.INFO: Packet analysis {"connection_id":51663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:55:42] local.INFO: Extracted packet for processing {"connection_id":51663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:55: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-22 22:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 22: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-22 22:55:42] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":51663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":51663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":51663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:55:42] local.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-22 22:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:55:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":51663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:55:42] local.INFO: GPS data processed {"connection_id":51663,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:55:42] local.INFO: Acknowledgment sent {"connection_id":51663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:56:03] local.INFO: TCP Data received {"connection_id":50702,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:56:03] local.INFO: Processing buffer {"connection_id":50702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:56:03] local.INFO: Packet analysis {"connection_id":50702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:56:03] local.INFO: Extracted packet for processing {"connection_id":50702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 22: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-22 22:56: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-22 22: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:56: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-22 22: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-22 22: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-22 22:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:56:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:56:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":50702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:56:03] local.INFO: GPS data processed {"connection_id":50702,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:56:03] local.INFO: Acknowledgment sent {"connection_id":50702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:56:15] local.INFO: TCP Data received {"connection_id":50703,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:56:15] local.INFO: Processing buffer {"connection_id":50703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:56:15] local.INFO: IMEI packet received {"connection_id":50703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":50703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:56:26] local.INFO: TCP Data received {"connection_id":51012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:56:26] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:56:26] local.INFO: IMEI packet received {"connection_id":51012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":51012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:56:30] local.INFO: TCP Data received {"connection_id":51664,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:56:30] local.INFO: Processing buffer {"connection_id":51664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:56:30] local.INFO: IMEI packet received {"connection_id":51664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":51664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:56:31] local.INFO: TCP Data received {"connection_id":51012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:56:31] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:56:31] local.INFO: IMEI packet received {"connection_id":51012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":51012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:56:32] local.INFO: TCP Data received {"connection_id":51012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:56:32] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:56:32] local.INFO: Packet analysis {"connection_id":51012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:56:32] local.INFO: Extracted packet for processing {"connection_id":51012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56: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-22 22:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 22: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-22 22:56:32] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:56:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":51012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:56:32] local.INFO: GPS data processed {"connection_id":51012,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:56:32] local.INFO: Acknowledgment sent {"connection_id":51012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:56:35] local.INFO: TCP Data received {"connection_id":51664,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:56:35] local.INFO: Processing buffer {"connection_id":51664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:56:35] local.INFO: IMEI packet received {"connection_id":51664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":51664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:56:36] local.INFO: TCP Data received {"connection_id":51664,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:56:36] local.INFO: Processing buffer {"connection_id":51664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:56:36] local.INFO: Packet analysis {"connection_id":51664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:56:36] local.INFO: Extracted packet for processing {"connection_id":51664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 22:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:56: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-22 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:56: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-22 22:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:56:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:56:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":51664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:56:36] local.INFO: GPS data processed {"connection_id":51664,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:56:36] local.INFO: Acknowledgment sent {"connection_id":51664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:56:41] local.INFO: TCP Data received {"connection_id":51664,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:56:41] local.INFO: Processing buffer {"connection_id":51664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:56:41] local.INFO: Packet analysis {"connection_id":51664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:56:41] local.INFO: Extracted packet for processing {"connection_id":51664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:56:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 22:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:56:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:56:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":51664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:56:41] local.INFO: GPS data processed {"connection_id":51664,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:56:41] local.INFO: Acknowledgment sent {"connection_id":51664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:56:50] local.INFO: TCP Data received {"connection_id":50704,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:56:50] local.INFO: Processing buffer {"connection_id":50704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 22:56:50] local.INFO: IMEI packet received {"connection_id":50704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 22:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":50704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:57:03] local.INFO: TCP Data received {"connection_id":51012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:57:03] local.INFO: Processing buffer {"connection_id":51012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:57:03] local.INFO: Packet analysis {"connection_id":51012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:57:03] local.INFO: Extracted packet for processing {"connection_id":51012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:57: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-22 22:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 22: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-22 22:57:03] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:57:03] local.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-22 22:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:57:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":51012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:57:03] local.INFO: GPS data processed {"connection_id":51012,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:57:03] local.INFO: Acknowledgment sent {"connection_id":51012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:57:25] local.INFO: TCP Data received {"connection_id":51013,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:57:25] local.INFO: Processing buffer {"connection_id":51013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:57:25] local.INFO: IMEI packet received {"connection_id":51013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":51013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:57:26] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:57:26] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:57:26] local.INFO: IMEI packet received {"connection_id":51014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":51014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:57:30] local.INFO: TCP Data received {"connection_id":51013,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:57:30] local.INFO: Processing buffer {"connection_id":51013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:57:30] local.INFO: IMEI packet received {"connection_id":51013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":51013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:57:31] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:57:31] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:57:31] local.INFO: IMEI packet received {"connection_id":51014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":51014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:57:31] local.INFO: TCP Data received {"connection_id":51013,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:57:31] local.INFO: Processing buffer {"connection_id":51013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:57:31] local.INFO: Packet analysis {"connection_id":51013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:57:31] local.INFO: Extracted packet for processing {"connection_id":51013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:57:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 22: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-22 22:57: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-22 22: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:57: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-22 22: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-22 22: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-22 22:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:57:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:57:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":51013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:57:31] local.INFO: GPS data processed {"connection_id":51013,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:57:31] local.INFO: Acknowledgment sent {"connection_id":51013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:57:32] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:57:32] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:57:32] local.INFO: Packet analysis {"connection_id":51014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:57:32] local.INFO: Extracted packet for processing {"connection_id":51014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:57: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-22 22:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 22: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-22 22:57:32] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:57:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":51014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:57:32] local.INFO: GPS data processed {"connection_id":51014,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:57:32] local.INFO: Acknowledgment sent {"connection_id":51014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:58:03] local.INFO: TCP Data received {"connection_id":51014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:58:03] local.INFO: Processing buffer {"connection_id":51014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:58:03] local.INFO: Packet analysis {"connection_id":51014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:58:03] local.INFO: Extracted packet for processing {"connection_id":51014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22: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-22 22:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 22: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-22 22:58:03] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22: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-22 22: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-22 22:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:58:03] local.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-22 22:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":51014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:58:03] local.INFO: GPS data processed {"connection_id":51014,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:58:03] local.INFO: Acknowledgment sent {"connection_id":51014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:58:03] local.INFO: TCP Data received {"connection_id":51013,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:58:03] local.INFO: Processing buffer {"connection_id":51013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:58:03] local.INFO: Packet analysis {"connection_id":51013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:58:03] local.INFO: Extracted packet for processing {"connection_id":51013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:58:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 22: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-22 22:58: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-22 22:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:58: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-22 22: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-22 22: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-22 22:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":51013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:58:03] local.INFO: GPS data processed {"connection_id":51013,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:58:03] local.INFO: Acknowledgment sent {"connection_id":51013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:58:25] local.INFO: TCP Data received {"connection_id":51101,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:58:25] local.INFO: Processing buffer {"connection_id":51101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:58:25] local.INFO: IMEI packet received {"connection_id":51101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":51101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:58:26] local.INFO: TCP Data received {"connection_id":51665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:58:26] local.INFO: Processing buffer {"connection_id":51665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:58:26] local.INFO: IMEI packet received {"connection_id":51665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":51665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:58:30] local.INFO: TCP Data received {"connection_id":51101,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:58:30] local.INFO: Processing buffer {"connection_id":51101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:58:30] local.INFO: IMEI packet received {"connection_id":51101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":51101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:58:31] local.INFO: TCP Data received {"connection_id":51665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:58:31] local.INFO: Processing buffer {"connection_id":51665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:58:31] local.INFO: IMEI packet received {"connection_id":51665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":51665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:58:31] local.INFO: TCP Data received {"connection_id":51101,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:58:31] local.INFO: Processing buffer {"connection_id":51101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:58:31] local.INFO: Packet analysis {"connection_id":51101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:58:31] local.INFO: Extracted packet for processing {"connection_id":51101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:58:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 22:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:58: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-22 22:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:58: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-22 22:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:58:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:58:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":51101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:58:31] local.INFO: GPS data processed {"connection_id":51101,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:58:31] local.INFO: Acknowledgment sent {"connection_id":51101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:58:32] local.INFO: TCP Data received {"connection_id":51665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:58:32] local.INFO: Processing buffer {"connection_id":51665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6379c18012d196500071ff0380038006826..."} 
[2026-04-22 22:58:32] local.INFO: Packet analysis {"connection_id":51665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:58:32] local.INFO: Extracted packet for processing {"connection_id":51665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db637"} 
[2026-04-22 22:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880842240001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:58: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-22 22:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878591000,"timestamp_ms":1776878591000,"timestamp_seconds":1776878591,"priority":1,"record_length":96,"hex_timestamp":"0000019db6379c18"} 
[2026-04-22 22: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-22 22:58:32] 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-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880842240001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880842240001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:58:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880842240001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":51665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:58:32] local.INFO: GPS data processed {"connection_id":51665,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:58:32] local.INFO: Acknowledgment sent {"connection_id":51665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:59:03] local.INFO: TCP Data received {"connection_id":51101,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:59:03] local.INFO: Processing buffer {"connection_id":51101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:59:03] local.INFO: Packet analysis {"connection_id":51101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:59:03] local.INFO: Extracted packet for processing {"connection_id":51101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:59:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 22:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:59: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-22 22:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 22:59: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-22 22:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:59:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:59:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":51101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:59:03] local.INFO: GPS data processed {"connection_id":51101,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:59:03] local.INFO: Acknowledgment sent {"connection_id":51101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:59:06] local.INFO: TCP Data received {"connection_id":51665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 22:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 22:59:06] local.INFO: Processing buffer {"connection_id":51665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 22:59:06] local.INFO: Packet analysis {"connection_id":51665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 22:59:06] local.INFO: Extracted packet for processing {"connection_id":51665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 22:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 22:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59: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-22 22:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 22:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 22:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 22:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 22:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 22:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":51665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":51665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":51665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:59:06] local.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-22 22:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:59:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":51665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:59:06] local.INFO: GPS data processed {"connection_id":51665,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:59:06] local.INFO: Acknowledgment sent {"connection_id":51665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:59:25] local.INFO: TCP Data received {"connection_id":50705,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:59:25] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:59:25] local.INFO: IMEI packet received {"connection_id":50705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 22:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":50705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:59:26] local.INFO: TCP Data received {"connection_id":51103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:59:26] local.INFO: Processing buffer {"connection_id":51103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:59:26] local.INFO: IMEI packet received {"connection_id":51103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 22:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":51103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 22:59:30] local.INFO: TCP Data received {"connection_id":50705,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:59:30] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 22:59:30] local.INFO: IMEI packet received {"connection_id":50705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 22:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":50705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:59:31] local.INFO: TCP Data received {"connection_id":50705,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:59:31] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 22:59:31] local.INFO: Packet analysis {"connection_id":50705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:59:31] local.INFO: Extracted packet for processing {"connection_id":50705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 22:59:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 22:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 22: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-22 22:59: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-22 22: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-22 22: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-22 22: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-22 22: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-22 22:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 22:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 22:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 22:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 22:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 22:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 22:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:59:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 22:59:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 22:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 22:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 22:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":50705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:59:31] local.INFO: GPS data processed {"connection_id":50705,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:59:31] local.INFO: Acknowledgment sent {"connection_id":50705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 22:59:31] local.INFO: TCP Data received {"connection_id":51103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:59:31] local.INFO: Processing buffer {"connection_id":51103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 22:59:31] local.INFO: IMEI packet received {"connection_id":51103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 22:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":51103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 22:59:32] local.INFO: TCP Data received {"connection_id":51103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 22:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 22:59:32] local.INFO: Processing buffer {"connection_id":51103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 22:59:32] local.INFO: Packet analysis {"connection_id":51103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 22:59:32] local.INFO: Extracted packet for processing {"connection_id":51103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 22:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 22: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-22 22:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 22:59: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-22 22:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 22: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-22 22:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 22:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 22: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-22 22: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-22 22:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 22:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 22:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 22:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 22:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 22:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 22:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 22:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 22:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 22:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 22:59:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 22:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 22:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 22:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 22:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 22:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":51103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 22:59:32] local.INFO: GPS data processed {"connection_id":51103,"processed":1,"errors":0,"total":1} 
[2026-04-22 22:59:32] local.INFO: Acknowledgment sent {"connection_id":51103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:00:03] local.INFO: TCP Data received {"connection_id":51103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:00:03] local.INFO: Processing buffer {"connection_id":51103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:00:03] local.INFO: Packet analysis {"connection_id":51103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:00:03] local.INFO: Extracted packet for processing {"connection_id":51103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 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-22 23:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00: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-22 23:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 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-22 23:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 23:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:00:03] local.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-22 23:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:00:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:00:03] local.INFO: TCP Data received {"connection_id":50705,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 23:00:03] local.INFO: Processing buffer {"connection_id":50705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 23:00:03] local.INFO: Packet analysis {"connection_id":50705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 23:00:03] local.INFO: Extracted packet for processing {"connection_id":50705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 23:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 23:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 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-22 23: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-22 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":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:00: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-22 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-22 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-22 23:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:00:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:00:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":50705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:00:03] local.INFO: GPS data processed {"connection_id":50705,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:00:03] local.INFO: Acknowledgment sent {"connection_id":50705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":51103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:00:03] local.INFO: GPS data processed {"connection_id":51103,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:00:03] local.INFO: Acknowledgment sent {"connection_id":51103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:00:25] local.INFO: TCP Data received {"connection_id":51017,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:00:25] local.INFO: Processing buffer {"connection_id":51017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:00:25] local.INFO: IMEI packet received {"connection_id":51017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":51017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:00:26] local.INFO: TCP Data received {"connection_id":51016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:00:26] local.INFO: Processing buffer {"connection_id":51016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:00:26] local.INFO: IMEI packet received {"connection_id":51016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 23:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":51016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:00:30] local.INFO: TCP Data received {"connection_id":51017,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:00:30] local.INFO: Processing buffer {"connection_id":51017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:00:30] local.INFO: IMEI packet received {"connection_id":51017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":51017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:00:31] local.INFO: TCP Data received {"connection_id":51016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:00:31] local.INFO: Processing buffer {"connection_id":51016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:00:31] local.INFO: IMEI packet received {"connection_id":51016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 23:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":51016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:00:31] local.INFO: TCP Data received {"connection_id":51017,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 23:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 23:00:31] local.INFO: Processing buffer {"connection_id":51017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63978a8012d77a04005f2a5a8001b01592c..."} 
[2026-04-22 23:00:31] local.INFO: Packet analysis {"connection_id":51017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 23:00:31] local.INFO: Extracted packet for processing {"connection_id":51017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db639"} 
[2026-04-22 23:00:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":27,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880873472001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776878713000,"timestamp_ms":1776878713000,"timestamp_seconds":1776878713,"priority":1,"record_length":96,"hex_timestamp":"0000019db63978a8"} 
[2026-04-22 23: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-22 23:00: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-22 23: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:00: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-22 23: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-22 23: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-22 23:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880873472001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880873472001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:00:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:00:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880873472001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":51017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:00:31] local.INFO: GPS data processed {"connection_id":51017,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:00:31] local.INFO: Acknowledgment sent {"connection_id":51017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:00:32] local.INFO: TCP Data received {"connection_id":51016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:00:32] local.INFO: Processing buffer {"connection_id":51016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:00:32] local.INFO: Packet analysis {"connection_id":51016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:00:32] local.INFO: Extracted packet for processing {"connection_id":51016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:00: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-22 23:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 23: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-22 23:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:00:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":51016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:00:32] local.INFO: GPS data processed {"connection_id":51016,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:00:32] local.INFO: Acknowledgment sent {"connection_id":51016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:01:03] local.INFO: TCP Data received {"connection_id":51017,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:01:03] local.INFO: Processing buffer {"connection_id":51017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:01:03] local.INFO: Packet analysis {"connection_id":51017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:01:03] local.INFO: Extracted packet for processing {"connection_id":51017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:01:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:01: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-22 23:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:01: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-22 23:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:01:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:01:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":51017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:01:03] local.INFO: GPS data processed {"connection_id":51017,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:01:03] local.INFO: Acknowledgment sent {"connection_id":51017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:01:03] local.INFO: TCP Data received {"connection_id":51016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:01:03] local.INFO: Processing buffer {"connection_id":51016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:01:03] local.INFO: Packet analysis {"connection_id":51016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:01:03] local.INFO: Extracted packet for processing {"connection_id":51016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01: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-22 23:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 23:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:01:03] local.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-22 23:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:01:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":51016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:01:03] local.INFO: GPS data processed {"connection_id":51016,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:01:03] local.INFO: Acknowledgment sent {"connection_id":51016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:01:25] local.INFO: TCP Data received {"connection_id":51018,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:01:25] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:01:25] local.INFO: IMEI packet received {"connection_id":51018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":51018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:01:26] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:01:26] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:01:26] local.INFO: IMEI packet received {"connection_id":50706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 23:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":50706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:01:30] local.INFO: TCP Data received {"connection_id":51018,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:01:30] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:01:30] local.INFO: IMEI packet received {"connection_id":51018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":51018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:01:31] local.INFO: TCP Data received {"connection_id":51018,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:01:31] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:01:31] local.INFO: Packet analysis {"connection_id":51018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:01:31] local.INFO: Extracted packet for processing {"connection_id":51018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:01:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23: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-22 23:01: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:01:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:01:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":51018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:01:31] local.INFO: GPS data processed {"connection_id":51018,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:01:31] local.INFO: Acknowledgment sent {"connection_id":51018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:01:31] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:01:31] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:01:31] local.INFO: IMEI packet received {"connection_id":50706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 23:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":50706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:01:32] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:01:32] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:01:32] local.INFO: Packet analysis {"connection_id":50706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:01:32] local.INFO: Extracted packet for processing {"connection_id":50706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:01: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-22 23:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 23: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-22 23:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:01:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":50706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:01:32] local.INFO: GPS data processed {"connection_id":50706,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:01:32] local.INFO: Acknowledgment sent {"connection_id":50706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:02:03] local.INFO: TCP Data received {"connection_id":51018,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:02:03] local.INFO: Processing buffer {"connection_id":51018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:02:03] local.INFO: Packet analysis {"connection_id":51018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:02:03] local.INFO: Extracted packet for processing {"connection_id":51018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:02:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:02: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-22 23:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:02: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-22 23:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:02:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:02:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":51018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:02:03] local.INFO: GPS data processed {"connection_id":51018,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:02:03] local.INFO: Acknowledgment sent {"connection_id":51018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:02:03] local.INFO: TCP Data received {"connection_id":50706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:02:03] local.INFO: Processing buffer {"connection_id":50706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:02:03] local.INFO: Packet analysis {"connection_id":50706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:02:03] local.INFO: Extracted packet for processing {"connection_id":50706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02: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-22 23:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 23:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:02:03] local.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-22 23:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:02:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":50706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:02:03] local.INFO: GPS data processed {"connection_id":50706,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:02:03] local.INFO: Acknowledgment sent {"connection_id":50706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:02:10] local.INFO: TCP Data received {"connection_id":50707,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:02:10] local.INFO: Processing buffer {"connection_id":50707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:02:10] local.INFO: IMEI packet received {"connection_id":50707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":50707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:02:25] local.INFO: TCP Data received {"connection_id":51019,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:02:25] local.INFO: Processing buffer {"connection_id":51019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:02:25] local.INFO: IMEI packet received {"connection_id":51019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":51019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:02:26] local.INFO: TCP Data received {"connection_id":51666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:02:26] local.INFO: Processing buffer {"connection_id":51666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:02:26] local.INFO: IMEI packet received {"connection_id":51666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 23:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":51666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:02:30] local.INFO: TCP Data received {"connection_id":51019,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:02:30] local.INFO: Processing buffer {"connection_id":51019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:02:30] local.INFO: IMEI packet received {"connection_id":51019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":51019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:02:31] local.INFO: TCP Data received {"connection_id":51019,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:02:31] local.INFO: Processing buffer {"connection_id":51019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:02:31] local.INFO: Packet analysis {"connection_id":51019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:02:31] local.INFO: Extracted packet for processing {"connection_id":51019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:02:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23: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-22 23:02: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-22 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:02: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-22 23: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-22 23: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-22 23:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:02:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:02:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":51019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:02:31] local.INFO: GPS data processed {"connection_id":51019,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:02:31] local.INFO: Acknowledgment sent {"connection_id":51019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:02:31] local.INFO: TCP Data received {"connection_id":51666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:02:31] local.INFO: Processing buffer {"connection_id":51666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:02:31] local.INFO: IMEI packet received {"connection_id":51666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 23:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":51666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:02:32] local.INFO: TCP Data received {"connection_id":51666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:02:32] local.INFO: Processing buffer {"connection_id":51666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:02:32] local.INFO: Packet analysis {"connection_id":51666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:02:32] local.INFO: Extracted packet for processing {"connection_id":51666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:02: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-22 23:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 23: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-22 23:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:02:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":51666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:02:32] local.INFO: GPS data processed {"connection_id":51666,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:02:32] local.INFO: Acknowledgment sent {"connection_id":51666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:02:49] local.INFO: TCP Data received {"connection_id":51667,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:02:49] local.INFO: Processing buffer {"connection_id":51667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:02:49] local.INFO: IMEI packet received {"connection_id":51667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":51667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:03:03] local.INFO: TCP Data received {"connection_id":51666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:03:03] local.INFO: Processing buffer {"connection_id":51666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:03:03] local.INFO: Packet analysis {"connection_id":51666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:03:03] local.INFO: Extracted packet for processing {"connection_id":51666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03: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-22 23:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 23: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-22 23:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:03:03] local.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-22 23:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:03:03] local.INFO: TCP Data received {"connection_id":51019,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:03:03] local.INFO: Processing buffer {"connection_id":51019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:03:03] local.INFO: Packet analysis {"connection_id":51019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:03:03] local.INFO: Extracted packet for processing {"connection_id":51019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:03:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23: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-22 23:03: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-22 23:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:03: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-22 23: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-22 23: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-22 23:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":51019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:03:03] local.INFO: GPS data processed {"connection_id":51019,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:03:03] local.INFO: Acknowledgment sent {"connection_id":51019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":51666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:03:03] local.INFO: GPS data processed {"connection_id":51666,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:03:03] local.INFO: Acknowledgment sent {"connection_id":51666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:03:25] local.INFO: TCP Data received {"connection_id":51668,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:03:25] local.INFO: Processing buffer {"connection_id":51668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:03:25] local.INFO: IMEI packet received {"connection_id":51668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":51668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:03:26] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:03:26] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:03:26] local.INFO: IMEI packet received {"connection_id":50708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 23:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":50708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:03:30] local.INFO: TCP Data received {"connection_id":51668,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:03:30] local.INFO: Processing buffer {"connection_id":51668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:03:30] local.INFO: IMEI packet received {"connection_id":51668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":51668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:03:31] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:03:31] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:03:31] local.INFO: IMEI packet received {"connection_id":50708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 23:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":50708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:03:31] local.INFO: TCP Data received {"connection_id":51668,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:03:31] local.INFO: Processing buffer {"connection_id":51668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:03:31] local.INFO: Packet analysis {"connection_id":51668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:03:31] local.INFO: Extracted packet for processing {"connection_id":51668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:03:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23: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-22 23:03: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-22 23:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:03: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-22 23: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-22 23: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-22 23:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:03:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:03:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":51668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:03:31] local.INFO: GPS data processed {"connection_id":51668,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:03:31] local.INFO: Acknowledgment sent {"connection_id":51668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:03:32] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:03:32] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63c33e0012d196500071ff0380038006825..."} 
[2026-04-22 23:03:32] local.INFO: Packet analysis {"connection_id":50708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:03:32] local.INFO: Extracted packet for processing {"connection_id":50708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63c"} 
[2026-04-22 23:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880919296001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:03: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-22 23:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776878892000,"timestamp_ms":1776878892000,"timestamp_seconds":1776878892,"priority":1,"record_length":96,"hex_timestamp":"0000019db63c33e0"} 
[2026-04-22 23: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-22 23:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880919296001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880919296001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:03:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880919296001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":50708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:03:32] local.INFO: GPS data processed {"connection_id":50708,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:03:32] local.INFO: Acknowledgment sent {"connection_id":50708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:04:03] local.INFO: TCP Data received {"connection_id":51668,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:04:03] local.INFO: Processing buffer {"connection_id":51668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:04:03] local.INFO: Packet analysis {"connection_id":51668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:04:03] local.INFO: Extracted packet for processing {"connection_id":51668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:04:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23: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-22 23: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-22 23:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:04: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-22 23: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-22 23: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-22 23:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:04:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:04:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:04:03] local.INFO: TCP Data received {"connection_id":50708,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:04:03] local.INFO: Processing buffer {"connection_id":50708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:04:03] local.INFO: Packet analysis {"connection_id":50708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:04:03] local.INFO: Extracted packet for processing {"connection_id":50708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880996352001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04: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-22 23:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879193000,"timestamp_ms":1776879193000,"timestamp_seconds":1776879193,"priority":1,"record_length":96,"hex_timestamp":"0000019db640cba8"} 
[2026-04-22 23: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-22 23:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:04:03] local.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-22 23:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":51668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:04:03] local.INFO: GPS data processed {"connection_id":51668,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:04:03] local.INFO: Acknowledgment sent {"connection_id":51668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880996352001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880996352001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880996352001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":50708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:04:03] local.INFO: GPS data processed {"connection_id":50708,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:04:03] local.INFO: Acknowledgment sent {"connection_id":50708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:04:25] local.INFO: TCP Data received {"connection_id":51105,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:04:25] local.INFO: Processing buffer {"connection_id":51105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:04:25] local.INFO: IMEI packet received {"connection_id":51105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":51105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:04:30] local.INFO: TCP Data received {"connection_id":51105,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:04:30] local.INFO: Processing buffer {"connection_id":51105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:04:30] local.INFO: IMEI packet received {"connection_id":51105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":51105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:04:31] local.INFO: TCP Data received {"connection_id":51105,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:04:31] local.INFO: Processing buffer {"connection_id":51105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:04:31] local.INFO: Packet analysis {"connection_id":51105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:04:31] local.INFO: Extracted packet for processing {"connection_id":51105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:04:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23: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-22 23:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23: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-22 23: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-22 23: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-22 23:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:04:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:04:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":51105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:04:31] local.INFO: GPS data processed {"connection_id":51105,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:04:31] local.INFO: Acknowledgment sent {"connection_id":51105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:04:31] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:04:31] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:04:31] local.INFO: IMEI packet received {"connection_id":50709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 23:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":50709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:04:36] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:04:36] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:04:36] local.INFO: IMEI packet received {"connection_id":50709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 23:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":50709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:04:37] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:04:37] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:04:37] local.INFO: Packet analysis {"connection_id":50709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:04:37] local.INFO: Extracted packet for processing {"connection_id":50709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880996352001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776879193000,"timestamp_ms":1776879193000,"timestamp_seconds":1776879193,"priority":1,"record_length":96,"hex_timestamp":"0000019db640cba8"} 
[2026-04-22 23: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-22 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:04:37] 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-22 23:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880996352001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880996352001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:04:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880996352001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":50709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:04:38] local.INFO: GPS data processed {"connection_id":50709,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:04:38] local.INFO: Acknowledgment sent {"connection_id":50709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:04:41] local.INFO: TCP Data received {"connection_id":50709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:04:41] local.INFO: Processing buffer {"connection_id":50709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:04:41] local.INFO: Packet analysis {"connection_id":50709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:04:41] local.INFO: Extracted packet for processing {"connection_id":50709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880996352001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:04: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-22 23:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776879193000,"timestamp_ms":1776879193000,"timestamp_seconds":1776879193,"priority":1,"record_length":96,"hex_timestamp":"0000019db640cba8"} 
[2026-04-22 23:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880996352001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880996352001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:04:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880996352001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":50709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:04:41] local.INFO: GPS data processed {"connection_id":50709,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:04:41] local.INFO: Acknowledgment sent {"connection_id":50709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:05:03] local.INFO: TCP Data received {"connection_id":51105,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:05:03] local.INFO: Processing buffer {"connection_id":51105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:05:03] local.INFO: Packet analysis {"connection_id":51105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:05:03] local.INFO: Extracted packet for processing {"connection_id":51105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:05:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 23:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 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-22 23:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 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-22 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-22 23:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:05:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:05:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":51105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:05:03] local.INFO: GPS data processed {"connection_id":51105,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:05:03] local.INFO: Acknowledgment sent {"connection_id":51105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:05:26] local.INFO: TCP Data received {"connection_id":51669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:05:26] local.INFO: Processing buffer {"connection_id":51669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:05:26] local.INFO: IMEI packet received {"connection_id":51669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 23:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":51669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:05:30] local.INFO: TCP Data received {"connection_id":51670,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:05:30] local.INFO: Processing buffer {"connection_id":51670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:05:30] local.INFO: IMEI packet received {"connection_id":51670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":51670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:05:31] local.INFO: TCP Data received {"connection_id":51669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:05:31] local.INFO: Processing buffer {"connection_id":51669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:05:31] local.INFO: IMEI packet received {"connection_id":51669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 23:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":51669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:05:32] local.INFO: TCP Data received {"connection_id":51669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:05:32] local.INFO: Processing buffer {"connection_id":51669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:05:32] local.INFO: Packet analysis {"connection_id":51669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:05:32] local.INFO: Extracted packet for processing {"connection_id":51669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880996352001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05: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-22 23:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776879193000,"timestamp_ms":1776879193000,"timestamp_seconds":1776879193,"priority":1,"record_length":96,"hex_timestamp":"0000019db640cba8"} 
[2026-04-22 23: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-22 23:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23: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-22 23: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-22 23:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880996352001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880996352001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:05:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880996352001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":51669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:05:32] local.INFO: GPS data processed {"connection_id":51669,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:05:32] local.INFO: Acknowledgment sent {"connection_id":51669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:05:35] local.INFO: TCP Data received {"connection_id":51670,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:05:35] local.INFO: Processing buffer {"connection_id":51670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:05:35] local.INFO: IMEI packet received {"connection_id":51670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":51670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:05:36] local.INFO: TCP Data received {"connection_id":51670,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:05:36] local.INFO: Processing buffer {"connection_id":51670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:05:36] local.INFO: Packet analysis {"connection_id":51670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:05:36] local.INFO: Extracted packet for processing {"connection_id":51670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23: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-22 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:05: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-22 23: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-22 23: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-22 23:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:05:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:05:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":51670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:05:36] local.INFO: GPS data processed {"connection_id":51670,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:05:36] local.INFO: Acknowledgment sent {"connection_id":51670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:05:41] local.INFO: TCP Data received {"connection_id":51670,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:05:41] local.INFO: Processing buffer {"connection_id":51670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db63e1070012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:05:41] local.INFO: Packet analysis {"connection_id":51670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:05:41] local.INFO: Extracted packet for processing {"connection_id":51670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db63e"} 
[2026-04-22 23:05:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880950528001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776879014000,"timestamp_ms":1776879014000,"timestamp_seconds":1776879014,"priority":1,"record_length":96,"hex_timestamp":"0000019db63e1070"} 
[2026-04-22 23:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880950528001,"66":25441,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880950528001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:05:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:05:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880950528001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":51670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:05:41] local.INFO: GPS data processed {"connection_id":51670,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:05:41] local.INFO: Acknowledgment sent {"connection_id":51670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:06:03] local.INFO: TCP Data received {"connection_id":51669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:06:03] local.INFO: Processing buffer {"connection_id":51669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db640cba8012d196500071ff0380038006826..."} 
[2026-04-22 23:06:03] local.INFO: Packet analysis {"connection_id":51669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:06:03] local.INFO: Extracted packet for processing {"connection_id":51669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db640"} 
[2026-04-22 23:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454880996352001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:06: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-22 23:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879193000,"timestamp_ms":1776879193000,"timestamp_seconds":1776879193,"priority":1,"record_length":96,"hex_timestamp":"0000019db640cba8"} 
[2026-04-22 23:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454880996352001,"66":2155,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"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-22 23:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454880996352001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:06:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454880996352001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":51669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:06:04] local.INFO: GPS data processed {"connection_id":51669,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:06:04] local.INFO: Acknowledgment sent {"connection_id":51669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:06:25] local.INFO: TCP Data received {"connection_id":51106,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:06:25] local.INFO: Processing buffer {"connection_id":51106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:06:25] local.INFO: IMEI packet received {"connection_id":51106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":51106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:06:26] local.INFO: TCP Data received {"connection_id":51022,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:06:26] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:06:26] local.INFO: IMEI packet received {"connection_id":51022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 23:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":51022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:06:30] local.INFO: TCP Data received {"connection_id":51106,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:06:30] local.INFO: Processing buffer {"connection_id":51106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:06:30] local.INFO: IMEI packet received {"connection_id":51106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":51106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:06:31] local.INFO: TCP Data received {"connection_id":51022,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:06:31] local.INFO: Processing buffer {"connection_id":51022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:06:31] local.INFO: IMEI packet received {"connection_id":51022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 23:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":51022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:06:47] local.INFO: TCP Data received {"connection_id":51106,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:06:47] local.INFO: Processing buffer {"connection_id":51106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:06:47] local.INFO: Packet analysis {"connection_id":51106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:06:47] local.INFO: Extracted packet for processing {"connection_id":51106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:06:47] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881027584001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776879315000,"timestamp_ms":1776879315000,"timestamp_seconds":1776879315,"priority":1,"record_length":96,"hex_timestamp":"0000019db642a838"} 
[2026-04-22 23:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 23:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 23:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":51106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":51106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":51106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881027584001,"66":25451,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881027584001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:06:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:06:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881027584001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":51106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:06:47] local.INFO: GPS data processed {"connection_id":51106,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:06:47] local.INFO: Acknowledgment sent {"connection_id":51106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:07:25] local.INFO: TCP Data received {"connection_id":51023,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:07:25] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:07:25] local.INFO: IMEI packet received {"connection_id":51023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":51023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:07:30] local.INFO: TCP Data received {"connection_id":51023,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:07:30] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:07:30] local.INFO: IMEI packet received {"connection_id":51023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":51023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:07:32] local.INFO: TCP Data received {"connection_id":51023,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:07:32] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:07:32] local.INFO: Packet analysis {"connection_id":51023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:07:32] local.INFO: Extracted packet for processing {"connection_id":51023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:07:32] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881027584001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776879315000,"timestamp_ms":1776879315000,"timestamp_seconds":1776879315,"priority":1,"record_length":96,"hex_timestamp":"0000019db642a838"} 
[2026-04-22 23: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-22 23:07: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-22 23: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":97,"data_length":795,"current_offset":136} 
[2026-04-22 23:07: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-22 23: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-22 23: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-22 23:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":51023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":51023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":51023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881027584001,"66":25451,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881027584001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:07:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:07:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881027584001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":51023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:07:32] local.INFO: GPS data processed {"connection_id":51023,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:07:32] local.INFO: Acknowledgment sent {"connection_id":51023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:08:03] local.INFO: TCP Data received {"connection_id":51023,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:08:03] local.INFO: Processing buffer {"connection_id":51023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:08:03] local.INFO: Packet analysis {"connection_id":51023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:08:03] local.INFO: Extracted packet for processing {"connection_id":51023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881027584001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879315000,"timestamp_ms":1776879315000,"timestamp_seconds":1776879315,"priority":1,"record_length":96,"hex_timestamp":"0000019db642a838"} 
[2026-04-22 23: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-22 23:08: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-22 23:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 23:08: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-22 23: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-22 23: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-22 23:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881027584001,"66":25451,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881027584001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:08:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:08:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881027584001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":51023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:08:03] local.INFO: GPS data processed {"connection_id":51023,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:08:03] local.INFO: Acknowledgment sent {"connection_id":51023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:08:05] local.INFO: TCP Data received {"connection_id":51107,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:08:05] local.INFO: Processing buffer {"connection_id":51107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:08:05] local.INFO: IMEI packet received {"connection_id":51107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":51107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:08:25] local.INFO: TCP Data received {"connection_id":51024,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:08:25] local.INFO: Processing buffer {"connection_id":51024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:08:25] local.INFO: IMEI packet received {"connection_id":51024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":51024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:08:30] local.INFO: TCP Data received {"connection_id":51024,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:08:30] local.INFO: Processing buffer {"connection_id":51024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:08:30] local.INFO: IMEI packet received {"connection_id":51024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":51024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:08:36] local.INFO: TCP Data received {"connection_id":51024,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:08:36] local.INFO: Processing buffer {"connection_id":51024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:08:36] local.INFO: Packet analysis {"connection_id":51024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:08:36] local.INFO: Extracted packet for processing {"connection_id":51024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:08:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881027584001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776879315000,"timestamp_ms":1776879315000,"timestamp_seconds":1776879315,"priority":1,"record_length":96,"hex_timestamp":"0000019db642a838"} 
[2026-04-22 23:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:08: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-22 23:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 23:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881027584001,"66":25451,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881027584001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:08:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:08:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881027584001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":51024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:08:36] local.INFO: GPS data processed {"connection_id":51024,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:08:36] local.INFO: Acknowledgment sent {"connection_id":51024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:08:50] local.INFO: TCP Data received {"connection_id":51108,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:08:50] local.INFO: Processing buffer {"connection_id":51108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:08:50] local.INFO: IMEI packet received {"connection_id":51108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":51108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:09:08] local.INFO: TCP Data received {"connection_id":51024,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:09:08] local.INFO: Processing buffer {"connection_id":51024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:09:08] local.INFO: Packet analysis {"connection_id":51024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:09:08] local.INFO: Extracted packet for processing {"connection_id":51024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:09:08] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881027584001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776879315000,"timestamp_ms":1776879315000,"timestamp_seconds":1776879315,"priority":1,"record_length":96,"hex_timestamp":"0000019db642a838"} 
[2026-04-22 23: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-22 23:09: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":51024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":51024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":51024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881027584001,"66":25451,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881027584001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:09:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:09:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881027584001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":51024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:09:08] local.INFO: GPS data processed {"connection_id":51024,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:09:08] local.INFO: Acknowledgment sent {"connection_id":51024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:09:30] local.INFO: TCP Data received {"connection_id":50711,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:09:30] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:09:30] local.INFO: IMEI packet received {"connection_id":50711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":50711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:09:35] local.INFO: TCP Data received {"connection_id":50711,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:09:35] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:09:35] local.INFO: IMEI packet received {"connection_id":50711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":50711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:09:36] local.INFO: TCP Data received {"connection_id":50711,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:09:36] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:09:36] local.INFO: Packet analysis {"connection_id":50711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:09:36] local.INFO: Extracted packet for processing {"connection_id":50711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881027584001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776879315000,"timestamp_ms":1776879315000,"timestamp_seconds":1776879315,"priority":1,"record_length":96,"hex_timestamp":"0000019db642a838"} 
[2026-04-22 23: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-22 23:09: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-22 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 23:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881027584001,"66":25451,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881027584001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:09:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:09:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881027584001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":50711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:09:36] local.INFO: GPS data processed {"connection_id":50711,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:09:36] local.INFO: Acknowledgment sent {"connection_id":50711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:10:08] local.INFO: TCP Data received {"connection_id":50711,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:10:08] local.INFO: Processing buffer {"connection_id":50711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:10:08] local.INFO: Packet analysis {"connection_id":50711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:10:08] local.INFO: Extracted packet for processing {"connection_id":50711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 23:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881027584001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776879315000,"timestamp_ms":1776879315000,"timestamp_seconds":1776879315,"priority":1,"record_length":96,"hex_timestamp":"0000019db642a838"} 
[2026-04-22 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-22 23:10: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-22 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":97,"data_length":795,"current_offset":136} 
[2026-04-22 23:10: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-22 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-22 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-22 23:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881027584001,"66":25451,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881027584001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:10:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:10:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881027584001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":50711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:10:08] local.INFO: GPS data processed {"connection_id":50711,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:10:08] local.INFO: Acknowledgment sent {"connection_id":50711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:10:25] local.INFO: TCP Data received {"connection_id":51026,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:10:25] local.INFO: Processing buffer {"connection_id":51026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:10:25] local.INFO: IMEI packet received {"connection_id":51026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":51026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:10:30] local.INFO: TCP Data received {"connection_id":51026,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:10:30] local.INFO: Processing buffer {"connection_id":51026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:10:30] local.INFO: IMEI packet received {"connection_id":51026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":51026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:10:31] local.INFO: TCP Data received {"connection_id":51026,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:10:31] local.INFO: Processing buffer {"connection_id":51026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db642a838012d77a04005f2a5a8002501592a..."} 
[2026-04-22 23:10:31] local.INFO: Packet analysis {"connection_id":51026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:10:31] local.INFO: Extracted packet for processing {"connection_id":51026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db642"} 
[2026-04-22 23:10:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881027584001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879315000,"timestamp_ms":1776879315000,"timestamp_seconds":1776879315,"priority":1,"record_length":96,"hex_timestamp":"0000019db642a838"} 
[2026-04-22 23:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:10: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-22 23:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-22 23:10: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-22 23:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881027584001,"66":25451,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881027584001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:10:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:10:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881027584001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":51026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:10:31] local.INFO: GPS data processed {"connection_id":51026,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:10:31] local.INFO: Acknowledgment sent {"connection_id":51026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:11:02] local.INFO: TCP Data received {"connection_id":51026,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:11:02] local.INFO: Processing buffer {"connection_id":51026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:11:02] local.INFO: Packet analysis {"connection_id":51026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:11:02] local.INFO: Extracted packet for processing {"connection_id":51026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:11:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23: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-22 23:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:11: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-22 23: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-22 23: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-22 23:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:11:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:11:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":51026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:11:02] local.INFO: GPS data processed {"connection_id":51026,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:11:02] local.INFO: Acknowledgment sent {"connection_id":51026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:11:21] local.INFO: TCP Data received {"connection_id":51027,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:11:21] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:11:21] local.INFO: IMEI packet received {"connection_id":51027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-22 23:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":51027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:11:25] local.INFO: TCP Data received {"connection_id":51672,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:11:25] local.INFO: Processing buffer {"connection_id":51672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:11:25] local.INFO: IMEI packet received {"connection_id":51672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":51672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:11:26] local.INFO: TCP Data received {"connection_id":51027,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:11:26] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-22 23:11:26] local.INFO: IMEI packet received {"connection_id":51027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-22 23:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":51027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:11:27] local.INFO: TCP Data received {"connection_id":51027,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019db6456370012d196500071ff0380038006825..."} 
[2026-04-22 23:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6456370012d196500071ff0380038006825..."} 
[2026-04-22 23:11:27] local.INFO: Processing buffer {"connection_id":51027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6456370012d196500071ff0380038006825..."} 
[2026-04-22 23:11:27] local.INFO: Packet analysis {"connection_id":51027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db645"} 
[2026-04-22 23:11:27] local.INFO: Extracted packet for processing {"connection_id":51027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db645"} 
[2026-04-22 23:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533624,"longitude_deg":75.6638976,"latitude_deg":11.9533624,"altitude":56,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-04-22 23:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881073408001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114066493066444800,"note":"Value kept but may cause issues"} 
[2026-04-22 23:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196582400,"note":"Value kept but may cause issues"} 
[2026-04-22 23:11: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-22 23:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776879494000,"timestamp_ms":1776879494000,"timestamp_seconds":1776879494,"priority":1,"record_length":96,"hex_timestamp":"0000019db6456370"} 
[2026-04-22 23:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:11: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-22 23:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":51027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":51027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":51027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-22 23:11:27] 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-22 23:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-22 23:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-22 23:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881073408001,"66":2166,"106":206,"83":41984,"24":0,"16":114066493066444800,"45":1829868854196582400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-22 23:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-22 23:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-22 23:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881073408001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:11:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-22 23:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-22 23:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114066493066444800,"km_value":114066493066444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196582400,"description":"Unknown IO ID 45"} 
[2026-04-22 23:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881073408001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196582400}} 
[2026-04-22 23:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":51027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:11:27] local.INFO: GPS data processed {"connection_id":51027,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:11:27] local.INFO: Acknowledgment sent {"connection_id":51027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:11:30] local.INFO: TCP Data received {"connection_id":51672,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:11:30] local.INFO: Processing buffer {"connection_id":51672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:11:30] local.INFO: IMEI packet received {"connection_id":51672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":51672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:11:31] local.INFO: TCP Data received {"connection_id":51672,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:11:31] local.INFO: Processing buffer {"connection_id":51672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:11:31] local.INFO: Packet analysis {"connection_id":51672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:11:31] local.INFO: Extracted packet for processing {"connection_id":51672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:11:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23: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-22 23:11: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-22 23: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:11:31] 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-22 23: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-22 23: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-22 23:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:11:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:11:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":51672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:11:31] local.INFO: GPS data processed {"connection_id":51672,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:11:31] local.INFO: Acknowledgment sent {"connection_id":51672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:12:03] local.INFO: TCP Data received {"connection_id":51672,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:12:03] local.INFO: Processing buffer {"connection_id":51672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:12:03] local.INFO: Packet analysis {"connection_id":51672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:12:03] local.INFO: Extracted packet for processing {"connection_id":51672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:12:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23: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-22 23:12: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-22 23:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:12: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-22 23: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-22 23: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-22 23:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:12:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:12:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":51672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:12:03] local.INFO: GPS data processed {"connection_id":51672,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:12:03] local.INFO: Acknowledgment sent {"connection_id":51672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:12:30] local.INFO: TCP Data received {"connection_id":50713,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:12:30] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:12:30] local.INFO: IMEI packet received {"connection_id":50713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":50713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:12:35] local.INFO: TCP Data received {"connection_id":50713,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:12:35] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:12:35] local.INFO: IMEI packet received {"connection_id":50713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":50713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:12:36] local.INFO: TCP Data received {"connection_id":50713,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:12:36] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:12:36] local.INFO: Packet analysis {"connection_id":50713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:12:36] local.INFO: Extracted packet for processing {"connection_id":50713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23: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-22 23:12: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-22 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:12: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-22 23: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-22 23: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-22 23:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:12:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:12:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":50713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:12:36] local.INFO: GPS data processed {"connection_id":50713,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:12:36] local.INFO: Acknowledgment sent {"connection_id":50713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:12:41] local.INFO: TCP Data received {"connection_id":50713,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:12:41] local.INFO: Processing buffer {"connection_id":50713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:12:41] local.INFO: Packet analysis {"connection_id":50713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:12:41] local.INFO: Extracted packet for processing {"connection_id":50713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:12:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:12:41] 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-22 23:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:12:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:12:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":50713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:12:41] local.INFO: GPS data processed {"connection_id":50713,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:12:41] local.INFO: Acknowledgment sent {"connection_id":50713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:13:26] local.INFO: TCP Data received {"connection_id":51673,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:13:26] local.INFO: Processing buffer {"connection_id":51673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:13:26] local.INFO: IMEI packet received {"connection_id":51673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":51673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:13:30] local.INFO: TCP Data received {"connection_id":51673,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:13:30] local.INFO: Processing buffer {"connection_id":51673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:13:30] local.INFO: IMEI packet received {"connection_id":51673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":51673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:13:31] local.INFO: TCP Data received {"connection_id":51673,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:13:31] local.INFO: Processing buffer {"connection_id":51673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:13:31] local.INFO: Packet analysis {"connection_id":51673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:13:31] local.INFO: Extracted packet for processing {"connection_id":51673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:13:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23: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-22 23:13: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-22 23: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:13:31] 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-22 23: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-22 23: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-22 23:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:13:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:13:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":51673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:13:32] local.INFO: GPS data processed {"connection_id":51673,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:13:32] local.INFO: Acknowledgment sent {"connection_id":51673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:14:03] local.INFO: TCP Data received {"connection_id":51673,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:14:03] local.INFO: Processing buffer {"connection_id":51673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:14:03] local.INFO: Packet analysis {"connection_id":51673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:14:03] local.INFO: Extracted packet for processing {"connection_id":51673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:14:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23: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-22 23:14: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-22 23: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:14: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-22 23: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-22 23: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-22 23:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:14:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:14:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":51673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:14:03] local.INFO: GPS data processed {"connection_id":51673,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:14:03] local.INFO: Acknowledgment sent {"connection_id":51673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:14:20] local.INFO: TCP Data received {"connection_id":51111,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:14:20] local.INFO: Processing buffer {"connection_id":51111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:14:20] local.INFO: IMEI packet received {"connection_id":51111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":51111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:14:25] local.INFO: TCP Data received {"connection_id":51029,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:14:25] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:14:25] local.INFO: IMEI packet received {"connection_id":51029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":51029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:14:30] local.INFO: TCP Data received {"connection_id":51029,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:14:30] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:14:30] local.INFO: IMEI packet received {"connection_id":51029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":51029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:14:31] local.INFO: TCP Data received {"connection_id":51029,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:14:31] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:14:31] local.INFO: Packet analysis {"connection_id":51029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:14:31] local.INFO: Extracted packet for processing {"connection_id":51029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:14:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23: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-22 23:14: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-22 23: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":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:14:31] 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-22 23: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-22 23: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-22 23:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:14:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:14:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":51029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:14:31] local.INFO: GPS data processed {"connection_id":51029,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:14:31] local.INFO: Acknowledgment sent {"connection_id":51029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:14:49] local.INFO: TCP Data received {"connection_id":51112,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:14:50] local.INFO: Processing buffer {"connection_id":51112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:14:50] local.INFO: IMEI packet received {"connection_id":51112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":51112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:15:03] local.INFO: TCP Data received {"connection_id":51029,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:15:03] local.INFO: Processing buffer {"connection_id":51029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:15:03] local.INFO: Packet analysis {"connection_id":51029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:15:03] local.INFO: Extracted packet for processing {"connection_id":51029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:15: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-22 23:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:15: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-22 23:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:15:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":51029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:15:03] local.INFO: GPS data processed {"connection_id":51029,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:15:03] local.INFO: Acknowledgment sent {"connection_id":51029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:15:25] local.INFO: TCP Data received {"connection_id":51113,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:15:25] local.INFO: Processing buffer {"connection_id":51113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:15:25] local.INFO: IMEI packet received {"connection_id":51113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":51113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:15:30] local.INFO: TCP Data received {"connection_id":51113,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:15:30] local.INFO: Processing buffer {"connection_id":51113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:15:30] local.INFO: IMEI packet received {"connection_id":51113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":51113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:15:31] local.INFO: TCP Data received {"connection_id":51113,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:15:31] local.INFO: Processing buffer {"connection_id":51113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6474000012d77a04005f2a5a80025015928..."} 
[2026-04-22 23:15:31] local.INFO: Packet analysis {"connection_id":51113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:15:31] local.INFO: Extracted packet for processing {"connection_id":51113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db647"} 
[2026-04-22 23:15:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":37,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881104640001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879616000,"timestamp_ms":1776879616000,"timestamp_seconds":1776879616,"priority":1,"record_length":96,"hex_timestamp":"0000019db6474000"} 
[2026-04-22 23: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-22 23:15: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-22 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-22 23:15:31] 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-22 23: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-22 23: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-22 23:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881104640001,"66":25419,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881104640001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:15:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:15:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881104640001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":51113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:15:31] local.INFO: GPS data processed {"connection_id":51113,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:15:31] local.INFO: Acknowledgment sent {"connection_id":51113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:16:03] local.INFO: TCP Data received {"connection_id":51113,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:16:03] local.INFO: Processing buffer {"connection_id":51113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:16:03] local.INFO: Packet analysis {"connection_id":51113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:16:03] local.INFO: Extracted packet for processing {"connection_id":51113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:16:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 23:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 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-22 23:16: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-22 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":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:16: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-22 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-22 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-22 23:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:16:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:16:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":51113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:16:03] local.INFO: GPS data processed {"connection_id":51113,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:16:03] local.INFO: Acknowledgment sent {"connection_id":51113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:16:30] local.INFO: TCP Data received {"connection_id":51031,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:16:30] local.INFO: Processing buffer {"connection_id":51031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:16:30] local.INFO: IMEI packet received {"connection_id":51031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":51031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:16:35] local.INFO: TCP Data received {"connection_id":51031,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:16:35] local.INFO: Processing buffer {"connection_id":51031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:16:35] local.INFO: IMEI packet received {"connection_id":51031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":51031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:16:36] local.INFO: TCP Data received {"connection_id":51031,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:16:36] local.INFO: Processing buffer {"connection_id":51031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:16:36] local.INFO: Packet analysis {"connection_id":51031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:16:36] local.INFO: Extracted packet for processing {"connection_id":51031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 23:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 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-22 23:16: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-22 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":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:16: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-22 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-22 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-22 23:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:16:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:16:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":51031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:16:36] local.INFO: GPS data processed {"connection_id":51031,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:16:36] local.INFO: Acknowledgment sent {"connection_id":51031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:17:07] local.INFO: TCP Data received {"connection_id":51031,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:17:07] local.INFO: Processing buffer {"connection_id":51031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:17:07] local.INFO: Packet analysis {"connection_id":51031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:17:07] local.INFO: Extracted packet for processing {"connection_id":51031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:17:07] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 23: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-22 23:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:17:07] 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-22 23: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-22 23: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-22 23:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:17:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:17:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":51031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:17:07] local.INFO: GPS data processed {"connection_id":51031,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:17:07] local.INFO: Acknowledgment sent {"connection_id":51031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:17:25] local.INFO: TCP Data received {"connection_id":51114,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:17:25] local.INFO: Processing buffer {"connection_id":51114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:17:25] local.INFO: IMEI packet received {"connection_id":51114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":51114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:17:30] local.INFO: TCP Data received {"connection_id":51114,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:17:30] local.INFO: Processing buffer {"connection_id":51114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:17:30] local.INFO: IMEI packet received {"connection_id":51114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":51114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:17:31] local.INFO: TCP Data received {"connection_id":51114,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:17:31] local.INFO: Processing buffer {"connection_id":51114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:17:31] local.INFO: Packet analysis {"connection_id":51114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:17:31] local.INFO: Extracted packet for processing {"connection_id":51114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:17:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 23: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-22 23:17: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-22 23: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":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:17: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-22 23: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-22 23: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-22 23:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:17:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:17:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":51114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:17:31] local.INFO: GPS data processed {"connection_id":51114,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:17:31] local.INFO: Acknowledgment sent {"connection_id":51114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:18:03] local.INFO: TCP Data received {"connection_id":51114,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:18:03] local.INFO: Processing buffer {"connection_id":51114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:18:03] local.INFO: Packet analysis {"connection_id":51114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:18:03] local.INFO: Extracted packet for processing {"connection_id":51114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:18:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 23:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:18: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-22 23:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:18: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-22 23:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:18:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:18:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":51114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:18:03] local.INFO: GPS data processed {"connection_id":51114,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:18:03] local.INFO: Acknowledgment sent {"connection_id":51114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:18:25] local.INFO: TCP Data received {"connection_id":51674,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:18:25] local.INFO: Processing buffer {"connection_id":51674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:18:25] local.INFO: IMEI packet received {"connection_id":51674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":51674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:18:30] local.INFO: TCP Data received {"connection_id":51674,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:18:30] local.INFO: Processing buffer {"connection_id":51674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:18:30] local.INFO: IMEI packet received {"connection_id":51674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":51674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:18:31] local.INFO: TCP Data received {"connection_id":51674,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:18:31] local.INFO: Processing buffer {"connection_id":51674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:18:31] local.INFO: Packet analysis {"connection_id":51674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:18:31] local.INFO: Extracted packet for processing {"connection_id":51674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:18:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 23: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-22 23: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-22 23: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:18: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-22 23: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-22 23: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-22 23:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:18:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:18:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":51674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:18:31] local.INFO: GPS data processed {"connection_id":51674,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:18:31] local.INFO: Acknowledgment sent {"connection_id":51674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:19:02] local.INFO: TCP Data received {"connection_id":51674,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:19:02] local.INFO: Processing buffer {"connection_id":51674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:19:02] local.INFO: Packet analysis {"connection_id":51674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:19:02] local.INFO: Extracted packet for processing {"connection_id":51674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:19:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 23:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:19: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-22 23:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:19:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:19:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":51674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:19:02] local.INFO: GPS data processed {"connection_id":51674,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:19:02] local.INFO: Acknowledgment sent {"connection_id":51674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:19:30] local.INFO: TCP Data received {"connection_id":50715,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:19:30] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:19:30] local.INFO: IMEI packet received {"connection_id":50715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":50715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:19:35] local.INFO: TCP Data received {"connection_id":50715,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:19:35] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:19:35] local.INFO: IMEI packet received {"connection_id":50715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":50715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:19:37] local.INFO: TCP Data received {"connection_id":50715,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:19:37] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:19:37] local.INFO: Packet analysis {"connection_id":50715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:19:37] local.INFO: Extracted packet for processing {"connection_id":50715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 23: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-22 23:19: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-22 23: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:19: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-22 23: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-22 23: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-22 23:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":50715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:19:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:19:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":50715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:19:37] local.INFO: GPS data processed {"connection_id":50715,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:19:37] local.INFO: Acknowledgment sent {"connection_id":50715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:19:41] local.INFO: TCP Data received {"connection_id":50715,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:19:41] local.INFO: Processing buffer {"connection_id":50715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:19:41] local.INFO: Packet analysis {"connection_id":50715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:19:41] local.INFO: Extracted packet for processing {"connection_id":50715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:19:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 23: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-22 23:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:19:41] 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-22 23: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-22 23: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-22 23:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:19:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:19:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":50715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:19:41] local.INFO: GPS data processed {"connection_id":50715,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:19:41] local.INFO: Acknowledgment sent {"connection_id":50715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:20:05] local.INFO: TCP Data received {"connection_id":51032,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:20:05] local.INFO: Processing buffer {"connection_id":51032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:20:05] local.INFO: IMEI packet received {"connection_id":51032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":51032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:20:25] local.INFO: TCP Data received {"connection_id":51116,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:20:25] local.INFO: Processing buffer {"connection_id":51116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:20:25] local.INFO: IMEI packet received {"connection_id":51116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":51116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:20:30] local.INFO: TCP Data received {"connection_id":51116,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:20:30] local.INFO: Processing buffer {"connection_id":51116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:20:30] local.INFO: IMEI packet received {"connection_id":51116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":51116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:20:31] local.INFO: TCP Data received {"connection_id":51116,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:20:31] local.INFO: Processing buffer {"connection_id":51116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db64bd7c8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:20:31] local.INFO: Packet analysis {"connection_id":51116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:20:31] local.INFO: Extracted packet for processing {"connection_id":51116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db64b"} 
[2026-04-22 23:20:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881181696001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776879917000,"timestamp_ms":1776879917000,"timestamp_seconds":1776879917,"priority":1,"record_length":96,"hex_timestamp":"0000019db64bd7c8"} 
[2026-04-22 23: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-22 23: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-22 23: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-22 23:20: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-22 23: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-22 23: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-22 23:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881181696001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881181696001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:20:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:20:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881181696001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":51116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:20:31] local.INFO: GPS data processed {"connection_id":51116,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:20:31] local.INFO: Acknowledgment sent {"connection_id":51116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:20:51] local.INFO: TCP Data received {"connection_id":50716,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:20:51] local.INFO: Processing buffer {"connection_id":50716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:20:51] local.INFO: IMEI packet received {"connection_id":50716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":50716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:21:02] local.INFO: TCP Data received {"connection_id":51116,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:21:02] local.INFO: Processing buffer {"connection_id":51116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:21:02] local.INFO: Packet analysis {"connection_id":51116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:21:02] local.INFO: Extracted packet for processing {"connection_id":51116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:21:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23: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-22 23: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:21: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-22 23: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-22 23: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-22 23:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:21:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:21:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":51116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:21:03] local.INFO: GPS data processed {"connection_id":51116,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:21:03] local.INFO: Acknowledgment sent {"connection_id":51116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:21:25] local.INFO: TCP Data received {"connection_id":51118,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:21:25] local.INFO: Processing buffer {"connection_id":51118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:21:25] local.INFO: IMEI packet received {"connection_id":51118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":51118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:21:30] local.INFO: TCP Data received {"connection_id":51118,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:21:30] local.INFO: Processing buffer {"connection_id":51118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:21:30] local.INFO: IMEI packet received {"connection_id":51118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":51118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:21:31] local.INFO: TCP Data received {"connection_id":51118,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:21:31] local.INFO: Processing buffer {"connection_id":51118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:21:31] local.INFO: Packet analysis {"connection_id":51118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:21:31] local.INFO: Extracted packet for processing {"connection_id":51118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:21:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:21:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:21:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":51118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:21:31] local.INFO: GPS data processed {"connection_id":51118,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:21:31] local.INFO: Acknowledgment sent {"connection_id":51118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:22:03] local.INFO: TCP Data received {"connection_id":51118,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:22:03] local.INFO: Processing buffer {"connection_id":51118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:22:03] local.INFO: Packet analysis {"connection_id":51118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:22:03] local.INFO: Extracted packet for processing {"connection_id":51118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:22: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-22 23:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:22: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-22 23:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:22:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:22:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":51118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:22:03] local.INFO: GPS data processed {"connection_id":51118,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:22:03] local.INFO: Acknowledgment sent {"connection_id":51118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:22:25] local.INFO: TCP Data received {"connection_id":50717,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:22:25] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:22:25] local.INFO: IMEI packet received {"connection_id":50717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":50717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:22:30] local.INFO: TCP Data received {"connection_id":50717,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:22:30] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:22:30] local.INFO: IMEI packet received {"connection_id":50717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":50717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:22:31] local.INFO: TCP Data received {"connection_id":50717,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:22:31] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:22:31] local.INFO: Packet analysis {"connection_id":50717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:22:31] local.INFO: Extracted packet for processing {"connection_id":50717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:22:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23: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-22 23: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:22: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-22 23: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-22 23: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-22 23:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:22:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:22:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":50717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:22:31] local.INFO: GPS data processed {"connection_id":50717,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:22:31] local.INFO: Acknowledgment sent {"connection_id":50717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:23:03] local.INFO: TCP Data received {"connection_id":50717,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:23:03] local.INFO: Processing buffer {"connection_id":50717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:23:03] local.INFO: Packet analysis {"connection_id":50717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:23:03] local.INFO: Extracted packet for processing {"connection_id":50717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:23:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:23: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-22 23:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:23: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-22 23:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:23:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:23:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":50717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:23:03] local.INFO: GPS data processed {"connection_id":50717,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:23:03] local.INFO: Acknowledgment sent {"connection_id":50717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:23:30] local.INFO: TCP Data received {"connection_id":51676,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:23:30] local.INFO: Processing buffer {"connection_id":51676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:23:30] local.INFO: IMEI packet received {"connection_id":51676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":51676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:23:35] local.INFO: TCP Data received {"connection_id":51676,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:23:35] local.INFO: Processing buffer {"connection_id":51676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:23:35] local.INFO: IMEI packet received {"connection_id":51676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":51676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:23:36] local.INFO: TCP Data received {"connection_id":51676,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:23:36] local.INFO: Processing buffer {"connection_id":51676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:23:36] local.INFO: Packet analysis {"connection_id":51676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:23:36] local.INFO: Extracted packet for processing {"connection_id":51676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23: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-22 23:23: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:23: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-22 23: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-22 23: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-22 23:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:23:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:23:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":51676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:23:36] local.INFO: GPS data processed {"connection_id":51676,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:23:36] local.INFO: Acknowledgment sent {"connection_id":51676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:23:40] local.INFO: TCP Data received {"connection_id":51676,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:23:40] local.INFO: Processing buffer {"connection_id":51676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:23:40] local.INFO: Packet analysis {"connection_id":51676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:23:40] local.INFO: Extracted packet for processing {"connection_id":51676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:23:40] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":51676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":51676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":51676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:23:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:23:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":51676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:23:41] local.INFO: GPS data processed {"connection_id":51676,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:23:41] local.INFO: Acknowledgment sent {"connection_id":51676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:24:25] local.INFO: TCP Data received {"connection_id":51120,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:24:25] local.INFO: Processing buffer {"connection_id":51120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:24:25] local.INFO: IMEI packet received {"connection_id":51120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":51120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:24:30] local.INFO: TCP Data received {"connection_id":51120,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:24:30] local.INFO: Processing buffer {"connection_id":51120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:24:30] local.INFO: IMEI packet received {"connection_id":51120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":51120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:24:31] local.INFO: TCP Data received {"connection_id":51120,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:24:31] local.INFO: Processing buffer {"connection_id":51120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:24:31] local.INFO: Packet analysis {"connection_id":51120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:24:31] local.INFO: Extracted packet for processing {"connection_id":51120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:24:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23: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-22 23:24: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:24: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-22 23: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-22 23: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-22 23:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:24:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:24:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":51120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:24:31] local.INFO: GPS data processed {"connection_id":51120,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:24:31] local.INFO: Acknowledgment sent {"connection_id":51120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:25:03] local.INFO: TCP Data received {"connection_id":51120,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:25:03] local.INFO: Processing buffer {"connection_id":51120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:25:03] local.INFO: Packet analysis {"connection_id":51120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:25:03] local.INFO: Extracted packet for processing {"connection_id":51120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23: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-22 23:25: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-22 23:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:25:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:25:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":51120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:25:03] local.INFO: GPS data processed {"connection_id":51120,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:25:03] local.INFO: Acknowledgment sent {"connection_id":51120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:25:25] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:25:25] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:25:25] local.INFO: IMEI packet received {"connection_id":51036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":51036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:25:30] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:25:30] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:25:30] local.INFO: IMEI packet received {"connection_id":51036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":51036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:25:31] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:25:31] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6506f90012d77a04005f2a5a8001601592e..."} 
[2026-04-22 23:25:31] local.INFO: Packet analysis {"connection_id":51036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:25:31] local.INFO: Extracted packet for processing {"connection_id":51036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db650"} 
[2026-04-22 23:25:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":46,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881258752001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880218000,"timestamp_ms":1776880218000,"timestamp_seconds":1776880218,"priority":1,"record_length":96,"hex_timestamp":"0000019db6506f90"} 
[2026-04-22 23: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-22 23:25: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:25: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-22 23: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-22 23: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-22 23:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881258752001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881258752001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:25:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:25:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881258752001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":51036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:25:31] local.INFO: GPS data processed {"connection_id":51036,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:25:31] local.INFO: Acknowledgment sent {"connection_id":51036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:26:03] local.INFO: TCP Data received {"connection_id":51036,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:26:03] local.INFO: Processing buffer {"connection_id":51036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:26:03] local.INFO: Packet analysis {"connection_id":51036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:26:03] local.INFO: Extracted packet for processing {"connection_id":51036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:26:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23: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-22 23: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-22 23:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:26:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:26:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":51036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:26:03] local.INFO: GPS data processed {"connection_id":51036,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:26:03] local.INFO: Acknowledgment sent {"connection_id":51036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:26:09] local.INFO: TCP Data received {"connection_id":51677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:26:09] local.INFO: Processing buffer {"connection_id":51677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:26:09] local.INFO: IMEI packet received {"connection_id":51677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":51677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:26:30] local.INFO: TCP Data received {"connection_id":50718,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:26:30] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:26:30] local.INFO: IMEI packet received {"connection_id":50718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":50718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:26:35] local.INFO: TCP Data received {"connection_id":50718,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:26:35] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:26:35] local.INFO: IMEI packet received {"connection_id":50718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":50718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:26:36] local.INFO: TCP Data received {"connection_id":50718,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:26:36] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:26:36] local.INFO: Packet analysis {"connection_id":50718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:26:36] local.INFO: Extracted packet for processing {"connection_id":50718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23: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-22 23: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:26: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-22 23: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-22 23: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-22 23:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:26:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:26:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":50718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:26:36] local.INFO: GPS data processed {"connection_id":50718,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:26:36] local.INFO: Acknowledgment sent {"connection_id":50718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:26:41] local.INFO: TCP Data received {"connection_id":50718,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:26:41] local.INFO: Processing buffer {"connection_id":50718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:26:41] local.INFO: Packet analysis {"connection_id":50718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:26:41] local.INFO: Extracted packet for processing {"connection_id":50718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:26:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-22 23:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-22 23:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:26:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:26:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":50718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:26:41] local.INFO: GPS data processed {"connection_id":50718,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:26:41] local.INFO: Acknowledgment sent {"connection_id":50718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:26:49] local.INFO: TCP Data received {"connection_id":51121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:26:49] local.INFO: Processing buffer {"connection_id":51121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:26:49] local.INFO: IMEI packet received {"connection_id":51121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":51121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:27:25] local.INFO: TCP Data received {"connection_id":50719,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:27:25] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:27:25] local.INFO: IMEI packet received {"connection_id":50719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":50719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:27:30] local.INFO: TCP Data received {"connection_id":50719,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:27:30] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:27:30] local.INFO: IMEI packet received {"connection_id":50719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":50719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:27:32] local.INFO: TCP Data received {"connection_id":50719,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:27:32] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:27:32] local.INFO: Packet analysis {"connection_id":50719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:27:32] local.INFO: Extracted packet for processing {"connection_id":50719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:27:32] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23: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-22 23: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:27: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-22 23: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-22 23: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-22 23:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":50719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":50719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":50719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:27:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:27:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":50719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:27:32] local.INFO: GPS data processed {"connection_id":50719,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:27:32] local.INFO: Acknowledgment sent {"connection_id":50719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:28:03] local.INFO: TCP Data received {"connection_id":50719,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:28:03] local.INFO: Processing buffer {"connection_id":50719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:28:03] local.INFO: Packet analysis {"connection_id":50719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:28:03] local.INFO: Extracted packet for processing {"connection_id":50719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:28:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:28: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-22 23:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:28:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:28:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":50719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:28:03] local.INFO: GPS data processed {"connection_id":50719,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:28:03] local.INFO: Acknowledgment sent {"connection_id":50719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:28:25] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:28:25] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:28:25] local.INFO: IMEI packet received {"connection_id":51037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":51037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:28:30] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:28:30] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:28:30] local.INFO: IMEI packet received {"connection_id":51037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":51037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:28:31] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:28:31] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:28:31] local.INFO: Packet analysis {"connection_id":51037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:28:31] local.INFO: Extracted packet for processing {"connection_id":51037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:28:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23: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-22 23: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:28: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-22 23: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-22 23: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-22 23:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:28:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:28:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":51037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:28:31] local.INFO: GPS data processed {"connection_id":51037,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:28:31] local.INFO: Acknowledgment sent {"connection_id":51037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:29:03] local.INFO: TCP Data received {"connection_id":51037,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:29:03] local.INFO: Processing buffer {"connection_id":51037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:29:03] local.INFO: Packet analysis {"connection_id":51037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:29:03] local.INFO: Extracted packet for processing {"connection_id":51037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:29:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23: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-22 23:29: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-22 23:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:29:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:29:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":51037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:29:03] local.INFO: GPS data processed {"connection_id":51037,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:29:03] local.INFO: Acknowledgment sent {"connection_id":51037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:29:25] local.INFO: TCP Data received {"connection_id":51124,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:29:25] local.INFO: Processing buffer {"connection_id":51124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:29:25] local.INFO: IMEI packet received {"connection_id":51124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":51124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:29:30] local.INFO: TCP Data received {"connection_id":51124,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:29:30] local.INFO: Processing buffer {"connection_id":51124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:29:30] local.INFO: IMEI packet received {"connection_id":51124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":51124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:29:31] local.INFO: TCP Data received {"connection_id":51124,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:29:31] local.INFO: Processing buffer {"connection_id":51124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:29:31] local.INFO: Packet analysis {"connection_id":51124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:29:31] local.INFO: Extracted packet for processing {"connection_id":51124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:29:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23: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-22 23:29: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:29: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-22 23: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-22 23: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-22 23:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:29:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:29:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":51124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:29:31] local.INFO: GPS data processed {"connection_id":51124,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:29:31] local.INFO: Acknowledgment sent {"connection_id":51124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:30:03] local.INFO: TCP Data received {"connection_id":51124,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:30:03] local.INFO: Processing buffer {"connection_id":51124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:30:03] local.INFO: Packet analysis {"connection_id":51124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:30:03] local.INFO: Extracted packet for processing {"connection_id":51124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:30:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23: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-22 23:30: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-22 23:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:30:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:30:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":51124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:30:03] local.INFO: GPS data processed {"connection_id":51124,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:30:03] local.INFO: Acknowledgment sent {"connection_id":51124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:30:25] local.INFO: TCP Data received {"connection_id":50720,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:30:25] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:30:25] local.INFO: IMEI packet received {"connection_id":50720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":50720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:30:30] local.INFO: TCP Data received {"connection_id":50720,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:30:30] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:30:30] local.INFO: IMEI packet received {"connection_id":50720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":50720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:30:31] local.INFO: TCP Data received {"connection_id":50720,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:30:31] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6550758012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:30:31] local.INFO: Packet analysis {"connection_id":50720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:30:31] local.INFO: Extracted packet for processing {"connection_id":50720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db655"} 
[2026-04-22 23:30:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881335808001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880519000,"timestamp_ms":1776880519000,"timestamp_seconds":1776880519,"priority":1,"record_length":96,"hex_timestamp":"0000019db6550758"} 
[2026-04-22 23: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-22 23:30: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-22 23:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:30: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-22 23: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-22 23: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-22 23:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881335808001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881335808001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:30:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:30:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881335808001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":50720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:30:31] local.INFO: GPS data processed {"connection_id":50720,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:30:31] local.INFO: Acknowledgment sent {"connection_id":50720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:31:03] local.INFO: TCP Data received {"connection_id":50720,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:31:03] local.INFO: Processing buffer {"connection_id":50720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:31:03] local.INFO: Packet analysis {"connection_id":50720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:31:03] local.INFO: Extracted packet for processing {"connection_id":50720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:31:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:31: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-22 23:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:31: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-22 23:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:31:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:31:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":50720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:31:03] local.INFO: GPS data processed {"connection_id":50720,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:31:03] local.INFO: Acknowledgment sent {"connection_id":50720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:31:36] local.INFO: TCP Data received {"connection_id":51039,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:31:36] local.INFO: Processing buffer {"connection_id":51039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:31:36] local.INFO: IMEI packet received {"connection_id":51039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":51039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:31:40] local.INFO: TCP Data received {"connection_id":51039,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:31:40] local.INFO: Processing buffer {"connection_id":51039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:31:40] local.INFO: IMEI packet received {"connection_id":51039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":51039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:31:41] local.INFO: TCP Data received {"connection_id":51039,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:31:41] local.INFO: Processing buffer {"connection_id":51039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:31:41] local.INFO: Packet analysis {"connection_id":51039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:31:41] local.INFO: Extracted packet for processing {"connection_id":51039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:31:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":51039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":51039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":51039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:31:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:31:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":51039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:31:41] local.INFO: GPS data processed {"connection_id":51039,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:31:41] local.INFO: Acknowledgment sent {"connection_id":51039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:31:45] local.INFO: TCP Data received {"connection_id":51039,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:31:45] local.INFO: Processing buffer {"connection_id":51039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:31:45] local.INFO: Packet analysis {"connection_id":51039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:31:45] local.INFO: Extracted packet for processing {"connection_id":51039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:31:45] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":51039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":51039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":51039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:31:45] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:31:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":51039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:31:45] local.INFO: GPS data processed {"connection_id":51039,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:31:45] local.INFO: Acknowledgment sent {"connection_id":51039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:32:10] local.INFO: TCP Data received {"connection_id":51125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:32:10] local.INFO: Processing buffer {"connection_id":51125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:32:10] local.INFO: IMEI packet received {"connection_id":51125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":51125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:32:28] local.INFO: TCP Data received {"connection_id":51678,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:32:28] local.INFO: Processing buffer {"connection_id":51678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:32:28] local.INFO: IMEI packet received {"connection_id":51678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":51678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:32:30] local.INFO: TCP Data received {"connection_id":51678,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:32:30] local.INFO: Processing buffer {"connection_id":51678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:32:30] local.INFO: IMEI packet received {"connection_id":51678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":51678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:32:30] local.INFO: TCP Data received {"connection_id":51678,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:32:30] local.INFO: Processing buffer {"connection_id":51678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:32:30] local.INFO: Packet analysis {"connection_id":51678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:32:30] local.INFO: Extracted packet for processing {"connection_id":51678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23: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-22 23: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-22 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:32: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-22 23: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-22 23: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-22 23:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":51678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":51678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":51678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:32:30] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:32:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":51678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:32:30] local.INFO: GPS data processed {"connection_id":51678,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:32:30] local.INFO: Acknowledgment sent {"connection_id":51678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:32:35] local.INFO: TCP Data received {"connection_id":51678,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:32:35] local.INFO: Processing buffer {"connection_id":51678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:32:35] local.INFO: Packet analysis {"connection_id":51678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:32:35] local.INFO: Extracted packet for processing {"connection_id":51678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:32:35] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23: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-22 23:32: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-22 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:32: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-22 23: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-22 23: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-22 23:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":51678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":51678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":51678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:32:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:32:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":51678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:32:35] local.INFO: GPS data processed {"connection_id":51678,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:32:35] local.INFO: Acknowledgment sent {"connection_id":51678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:32:49] local.INFO: TCP Data received {"connection_id":51679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:32:49] local.INFO: Processing buffer {"connection_id":51679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:32:49] local.INFO: IMEI packet received {"connection_id":51679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":51679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:33:07] local.INFO: TCP Data received {"connection_id":51678,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:33:07] local.INFO: Processing buffer {"connection_id":51678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:33:07] local.INFO: Packet analysis {"connection_id":51678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:33:07] local.INFO: Extracted packet for processing {"connection_id":51678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23: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-22 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:33: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-22 23: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-22 23: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-22 23:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":51678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":51678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":51678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:33:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:33:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":51678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:33:07] local.INFO: GPS data processed {"connection_id":51678,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:33:07] local.INFO: Acknowledgment sent {"connection_id":51678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:33:25] local.INFO: TCP Data received {"connection_id":51040,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:33:25] local.INFO: Processing buffer {"connection_id":51040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:33:25] local.INFO: IMEI packet received {"connection_id":51040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":51040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:33:30] local.INFO: TCP Data received {"connection_id":51040,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:33:30] local.INFO: Processing buffer {"connection_id":51040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:33:30] local.INFO: IMEI packet received {"connection_id":51040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":51040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:33:31] local.INFO: TCP Data received {"connection_id":51040,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:33:31] local.INFO: Processing buffer {"connection_id":51040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:33:31] local.INFO: Packet analysis {"connection_id":51040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:33:31] local.INFO: Extracted packet for processing {"connection_id":51040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:33:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23: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-22 23:33: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-22 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:33: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-22 23: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-22 23: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-22 23:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:33:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:33:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":51040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:33:31] local.INFO: GPS data processed {"connection_id":51040,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:33:31] local.INFO: Acknowledgment sent {"connection_id":51040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:34:02] local.INFO: TCP Data received {"connection_id":51040,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:34:02] local.INFO: Processing buffer {"connection_id":51040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:34:02] local.INFO: Packet analysis {"connection_id":51040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:34:02] local.INFO: Extracted packet for processing {"connection_id":51040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:34:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23: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-22 23:34: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-22 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:34: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-22 23: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-22 23: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-22 23:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:34:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:34:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":51040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:34:02] local.INFO: GPS data processed {"connection_id":51040,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:34:02] local.INFO: Acknowledgment sent {"connection_id":51040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:34:25] local.INFO: TCP Data received {"connection_id":51127,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:34:25] local.INFO: Processing buffer {"connection_id":51127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:34:25] local.INFO: IMEI packet received {"connection_id":51127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":51127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:34:30] local.INFO: TCP Data received {"connection_id":51127,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:34:30] local.INFO: Processing buffer {"connection_id":51127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:34:30] local.INFO: IMEI packet received {"connection_id":51127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":51127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:34:31] local.INFO: TCP Data received {"connection_id":51127,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:34:31] local.INFO: Processing buffer {"connection_id":51127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:34:31] local.INFO: Packet analysis {"connection_id":51127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:34:31] local.INFO: Extracted packet for processing {"connection_id":51127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:34:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23: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-22 23:34: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-22 23: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:34: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-22 23: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-22 23: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-22 23:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:34:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:34:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":51127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:34:31] local.INFO: GPS data processed {"connection_id":51127,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:34:31] local.INFO: Acknowledgment sent {"connection_id":51127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:35:02] local.INFO: TCP Data received {"connection_id":51127,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:35:02] local.INFO: Processing buffer {"connection_id":51127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:35:02] local.INFO: Packet analysis {"connection_id":51127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:35:02] local.INFO: Extracted packet for processing {"connection_id":51127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:35:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23: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-22 23:35: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-22 23: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:35: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-22 23: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-22 23: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-22 23:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:35:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:35:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":51127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:35:02] local.INFO: GPS data processed {"connection_id":51127,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:35:02] local.INFO: Acknowledgment sent {"connection_id":51127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:35:25] local.INFO: TCP Data received {"connection_id":51680,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:35:25] local.INFO: Processing buffer {"connection_id":51680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:35:25] local.INFO: IMEI packet received {"connection_id":51680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":51680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:35:30] local.INFO: TCP Data received {"connection_id":51680,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:35:30] local.INFO: Processing buffer {"connection_id":51680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:35:30] local.INFO: IMEI packet received {"connection_id":51680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":51680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:35:31] local.INFO: TCP Data received {"connection_id":51680,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:35:31] local.INFO: Processing buffer {"connection_id":51680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6599f20012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:35:31] local.INFO: Packet analysis {"connection_id":51680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:35:31] local.INFO: Extracted packet for processing {"connection_id":51680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db659"} 
[2026-04-22 23:35:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881412864001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776880820000,"timestamp_ms":1776880820000,"timestamp_seconds":1776880820,"priority":1,"record_length":96,"hex_timestamp":"0000019db6599f20"} 
[2026-04-22 23: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-22 23:35: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881412864001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881412864001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:35:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:35:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881412864001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":51680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:35:31] local.INFO: GPS data processed {"connection_id":51680,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:35:31] local.INFO: Acknowledgment sent {"connection_id":51680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:36:01] local.INFO: TCP Data received {"connection_id":50723,"ip":"185.242.226.71","data_length":143,"data_hex":"160301008a010000860303f7910e41d466347b90ebd2d33de65c701d348d7be0..."} 
[2026-04-22 23:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50723,"packet_length":143,"packet_hex":"160301008a010000860303f7910e41d466347b90ebd2d33de65c701d348d7be0..."} 
[2026-04-22 23:36:01] local.INFO: Processing buffer {"connection_id":50723,"buffer_length":143,"buffer_hex":"160301008a010000860303f7910e41d466347b90ebd2d33de65c701d348d7be0..."} 
[2026-04-22 23:36:01] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":50723,"buffer_length":143,"first_bytes_hex":"160301008a010000860303f7910e41d4"} 
[2026-04-22 23:36:01] local.INFO: TCP Data received {"connection_id":50723,"ip":"185.242.226.71","data_length":7,"data_hex":"15030100020216..."} 
[2026-04-22 23:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50723,"packet_length":7,"packet_hex":"15030100020216..."} 
[2026-04-22 23:36:01] local.INFO: Processing buffer {"connection_id":50723,"buffer_length":7,"buffer_hex":"15030100020216..."} 
[2026-04-22 23:36:03] local.INFO: TCP Data received {"connection_id":51680,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:36:03] local.INFO: Processing buffer {"connection_id":51680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:36:03] local.INFO: Packet analysis {"connection_id":51680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:36:03] local.INFO: Extracted packet for processing {"connection_id":51680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:36:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:36: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-22 23:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:36: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-22 23:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:36:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:36:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":51680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:36:03] local.INFO: GPS data processed {"connection_id":51680,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:36:03] local.INFO: Acknowledgment sent {"connection_id":51680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:36:30] local.INFO: TCP Data received {"connection_id":50724,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:36:30] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:36:30] local.INFO: IMEI packet received {"connection_id":50724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":50724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:36:35] local.INFO: TCP Data received {"connection_id":50724,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:36:35] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:36:35] local.INFO: IMEI packet received {"connection_id":50724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":50724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:36:36] local.INFO: TCP Data received {"connection_id":50724,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:36:36] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:36:36] local.INFO: Packet analysis {"connection_id":50724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:36:36] local.INFO: Extracted packet for processing {"connection_id":50724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:36:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:36: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-22 23:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:36: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-22 23:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:36:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:36:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":50724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:36:36] local.INFO: GPS data processed {"connection_id":50724,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:36:36] local.INFO: Acknowledgment sent {"connection_id":50724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:37:08] local.INFO: TCP Data received {"connection_id":50724,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:37:08] local.INFO: Processing buffer {"connection_id":50724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:37:08] local.INFO: Packet analysis {"connection_id":50724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:37:08] local.INFO: Extracted packet for processing {"connection_id":50724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:37:08] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23: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-22 23:37: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":50724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":50724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:37:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:37:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":50724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:37:08] local.INFO: GPS data processed {"connection_id":50724,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:37:08] local.INFO: Acknowledgment sent {"connection_id":50724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:37:25] local.INFO: TCP Data received {"connection_id":51128,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:37:25] local.INFO: Processing buffer {"connection_id":51128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:37:25] local.INFO: IMEI packet received {"connection_id":51128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":51128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:37:30] local.INFO: TCP Data received {"connection_id":51128,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:37:30] local.INFO: Processing buffer {"connection_id":51128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:37:30] local.INFO: IMEI packet received {"connection_id":51128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":51128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:37:31] local.INFO: TCP Data received {"connection_id":51128,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:37:31] local.INFO: Processing buffer {"connection_id":51128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:37:31] local.INFO: Packet analysis {"connection_id":51128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:37:31] local.INFO: Extracted packet for processing {"connection_id":51128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:37:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23: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-22 23:37: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:37: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-22 23: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-22 23: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-22 23:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:37:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:37:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":51128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:37:31] local.INFO: GPS data processed {"connection_id":51128,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:37:31] local.INFO: Acknowledgment sent {"connection_id":51128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:38:03] local.INFO: TCP Data received {"connection_id":51128,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:38:03] local.INFO: Processing buffer {"connection_id":51128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:38:03] local.INFO: Packet analysis {"connection_id":51128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:38:03] local.INFO: Extracted packet for processing {"connection_id":51128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:38: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-22 23:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:38: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-22 23:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:38:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:38:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":51128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:38:03] local.INFO: GPS data processed {"connection_id":51128,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:38:03] local.INFO: Acknowledgment sent {"connection_id":51128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:38:15] local.INFO: TCP Data received {"connection_id":51042,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:38:15] local.INFO: Processing buffer {"connection_id":51042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:38:15] local.INFO: IMEI packet received {"connection_id":51042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":51042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:38:25] local.INFO: TCP Data received {"connection_id":51682,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:38:25] local.INFO: Processing buffer {"connection_id":51682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:38:25] local.INFO: IMEI packet received {"connection_id":51682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":51682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:38:30] local.INFO: TCP Data received {"connection_id":51682,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:38:30] local.INFO: Processing buffer {"connection_id":51682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:38:30] local.INFO: IMEI packet received {"connection_id":51682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":51682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:38:31] local.INFO: TCP Data received {"connection_id":51682,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:38:31] local.INFO: Processing buffer {"connection_id":51682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:38:31] local.INFO: Packet analysis {"connection_id":51682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:38:31] local.INFO: Extracted packet for processing {"connection_id":51682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:38:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23: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-22 23: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:38: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-22 23: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-22 23: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-22 23:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:38:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:38:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":51682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:38:31] local.INFO: GPS data processed {"connection_id":51682,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:38:31] local.INFO: Acknowledgment sent {"connection_id":51682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:38:55] local.INFO: TCP Data received {"connection_id":51043,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:38:55] local.INFO: Processing buffer {"connection_id":51043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:38:55] local.INFO: IMEI packet received {"connection_id":51043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":51043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:39:02] local.INFO: TCP Data received {"connection_id":51682,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:39:02] local.INFO: Processing buffer {"connection_id":51682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:39:02] local.INFO: Packet analysis {"connection_id":51682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:39:02] local.INFO: Extracted packet for processing {"connection_id":51682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:39:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23: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-22 23:39: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:39:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:39:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":51682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:39:02] local.INFO: GPS data processed {"connection_id":51682,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:39:02] local.INFO: Acknowledgment sent {"connection_id":51682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:39:25] local.INFO: TCP Data received {"connection_id":51044,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:39:25] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:39:25] local.INFO: IMEI packet received {"connection_id":51044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":51044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:39:30] local.INFO: TCP Data received {"connection_id":51044,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:39:30] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:39:30] local.INFO: IMEI packet received {"connection_id":51044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":51044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:39:31] local.INFO: TCP Data received {"connection_id":51044,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:39:31] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:39:31] local.INFO: Packet analysis {"connection_id":51044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:39:31] local.INFO: Extracted packet for processing {"connection_id":51044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:39:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23: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-22 23:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:39:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:39:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":51044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:39:31] local.INFO: GPS data processed {"connection_id":51044,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:39:31] local.INFO: Acknowledgment sent {"connection_id":51044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:40:03] local.INFO: TCP Data received {"connection_id":51044,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:40:03] local.INFO: Processing buffer {"connection_id":51044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:40:03] local.INFO: Packet analysis {"connection_id":51044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:40:03] local.INFO: Extracted packet for processing {"connection_id":51044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23: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-22 23:40: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-22 23:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:40:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":51044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:40:03] local.INFO: GPS data processed {"connection_id":51044,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:40:03] local.INFO: Acknowledgment sent {"connection_id":51044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:40:30] local.INFO: TCP Data received {"connection_id":51045,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:40:30] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:40:30] local.INFO: IMEI packet received {"connection_id":51045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":51045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:40:35] local.INFO: TCP Data received {"connection_id":51045,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:40:35] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:40:35] local.INFO: IMEI packet received {"connection_id":51045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":51045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:40:36] local.INFO: TCP Data received {"connection_id":51045,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:40:36] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:40:36] local.INFO: Packet analysis {"connection_id":51045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:40:36] local.INFO: Extracted packet for processing {"connection_id":51045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:40:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23: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-22 23:40: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:40: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-22 23: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-22 23: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-22 23:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":51045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":51045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":51045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:40:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:40:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":51045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:40:36] local.INFO: GPS data processed {"connection_id":51045,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:40:36] local.INFO: Acknowledgment sent {"connection_id":51045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:40:40] local.INFO: TCP Data received {"connection_id":51045,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:40:40] local.INFO: Processing buffer {"connection_id":51045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db65e36e8012d77a04005f2a5a8001601592c..."} 
[2026-04-22 23:40:40] local.INFO: Packet analysis {"connection_id":51045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:40:40] local.INFO: Extracted packet for processing {"connection_id":51045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db65e"} 
[2026-04-22 23:40:40] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":44,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881489920001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776881121000,"timestamp_ms":1776881121000,"timestamp_seconds":1776881121,"priority":1,"record_length":96,"hex_timestamp":"0000019db65e36e8"} 
[2026-04-22 23:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":51045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":51045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":51045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881489920001,"66":25495,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881489920001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:40:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:40:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881489920001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":51045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:40:40] local.INFO: GPS data processed {"connection_id":51045,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:40:40] local.INFO: Acknowledgment sent {"connection_id":51045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:41:25] local.INFO: TCP Data received {"connection_id":51683,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:41:25] local.INFO: Processing buffer {"connection_id":51683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:41:25] local.INFO: IMEI packet received {"connection_id":51683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":51683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:41:30] local.INFO: TCP Data received {"connection_id":51683,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:41:30] local.INFO: Processing buffer {"connection_id":51683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:41:30] local.INFO: IMEI packet received {"connection_id":51683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":51683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:41:31] local.INFO: TCP Data received {"connection_id":51683,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:41:31] local.INFO: Processing buffer {"connection_id":51683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:41:31] local.INFO: Packet analysis {"connection_id":51683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:41:31] local.INFO: Extracted packet for processing {"connection_id":51683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:41:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881566976001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881422000,"timestamp_ms":1776881422000,"timestamp_seconds":1776881422,"priority":1,"record_length":96,"hex_timestamp":"0000019db662ceb0"} 
[2026-04-22 23: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-22 23:41: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-22 23:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:41: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-22 23: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-22 23: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-22 23:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881566976001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881566976001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:41:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:41:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881566976001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":51683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:41:31] local.INFO: GPS data processed {"connection_id":51683,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:41:31] local.INFO: Acknowledgment sent {"connection_id":51683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:42:02] local.INFO: TCP Data received {"connection_id":51683,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:42:02] local.INFO: Processing buffer {"connection_id":51683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:42:02] local.INFO: Packet analysis {"connection_id":51683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:42:02] local.INFO: Extracted packet for processing {"connection_id":51683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:42:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881566976001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776881422000,"timestamp_ms":1776881422000,"timestamp_seconds":1776881422,"priority":1,"record_length":96,"hex_timestamp":"0000019db662ceb0"} 
[2026-04-22 23: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-22 23:42: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-22 23:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:42: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-22 23: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-22 23: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-22 23:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881566976001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881566976001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:42:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:42:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881566976001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":51683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:42:02] local.INFO: GPS data processed {"connection_id":51683,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:42:02] local.INFO: Acknowledgment sent {"connection_id":51683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:42:25] local.INFO: TCP Data received {"connection_id":50727,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:42:25] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:42:25] local.INFO: IMEI packet received {"connection_id":50727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":50727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:42:30] local.INFO: TCP Data received {"connection_id":50727,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:42:30] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:42:30] local.INFO: IMEI packet received {"connection_id":50727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":50727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:42:31] local.INFO: TCP Data received {"connection_id":50727,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:42:31] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:42:31] local.INFO: Packet analysis {"connection_id":50727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:42:31] local.INFO: Extracted packet for processing {"connection_id":50727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:42:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881566976001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881422000,"timestamp_ms":1776881422000,"timestamp_seconds":1776881422,"priority":1,"record_length":96,"hex_timestamp":"0000019db662ceb0"} 
[2026-04-22 23: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-22 23:42: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-22 23: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:42: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-22 23: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-22 23: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-22 23:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881566976001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881566976001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:42:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:42:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881566976001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":50727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:42:31] local.INFO: GPS data processed {"connection_id":50727,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:42:31] local.INFO: Acknowledgment sent {"connection_id":50727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:43:03] local.INFO: TCP Data received {"connection_id":50727,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:43:03] local.INFO: Processing buffer {"connection_id":50727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:43:03] local.INFO: Packet analysis {"connection_id":50727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:43:03] local.INFO: Extracted packet for processing {"connection_id":50727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:43:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 23:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881566976001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776881422000,"timestamp_ms":1776881422000,"timestamp_seconds":1776881422,"priority":1,"record_length":96,"hex_timestamp":"0000019db662ceb0"} 
[2026-04-22 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-22 23:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 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":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:43: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-22 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-22 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-22 23:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881566976001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881566976001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:43:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881566976001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":50727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:43:03] local.INFO: GPS data processed {"connection_id":50727,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:43:03] local.INFO: Acknowledgment sent {"connection_id":50727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:43:25] local.INFO: TCP Data received {"connection_id":51129,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:43:25] local.INFO: Processing buffer {"connection_id":51129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:43:25] local.INFO: IMEI packet received {"connection_id":51129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":51129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:43:30] local.INFO: TCP Data received {"connection_id":51129,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:43:30] local.INFO: Processing buffer {"connection_id":51129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:43:30] local.INFO: IMEI packet received {"connection_id":51129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":51129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:43:31] local.INFO: TCP Data received {"connection_id":51129,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:43:31] local.INFO: Processing buffer {"connection_id":51129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:43:31] local.INFO: Packet analysis {"connection_id":51129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:43:31] local.INFO: Extracted packet for processing {"connection_id":51129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:43:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881566976001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881422000,"timestamp_ms":1776881422000,"timestamp_seconds":1776881422,"priority":1,"record_length":96,"hex_timestamp":"0000019db662ceb0"} 
[2026-04-22 23: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-22 23:43: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-22 23: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":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:43: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-22 23: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-22 23: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-22 23:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881566976001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881566976001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:43:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:43:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881566976001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":51129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:43:31] local.INFO: GPS data processed {"connection_id":51129,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:43:31] local.INFO: Acknowledgment sent {"connection_id":51129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:44:03] local.INFO: TCP Data received {"connection_id":51129,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:44:03] local.INFO: Processing buffer {"connection_id":51129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:44:03] local.INFO: Packet analysis {"connection_id":51129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:44:03] local.INFO: Extracted packet for processing {"connection_id":51129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:44:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881566976001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776881422000,"timestamp_ms":1776881422000,"timestamp_seconds":1776881422,"priority":1,"record_length":96,"hex_timestamp":"0000019db662ceb0"} 
[2026-04-22 23: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-22 23:44: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-22 23:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:44: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-22 23: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-22 23: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-22 23:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881566976001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881566976001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:44:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:44:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881566976001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":51129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:44:03] local.INFO: GPS data processed {"connection_id":51129,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:44:03] local.INFO: Acknowledgment sent {"connection_id":51129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:44:25] local.INFO: TCP Data received {"connection_id":51684,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:44:25] local.INFO: Processing buffer {"connection_id":51684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:44:25] local.INFO: IMEI packet received {"connection_id":51684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":51684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:44:30] local.INFO: TCP Data received {"connection_id":50728,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:44:30] local.INFO: Processing buffer {"connection_id":50728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:44:30] local.INFO: IMEI packet received {"connection_id":50728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":50728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:44:35] local.INFO: TCP Data received {"connection_id":50728,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:44:35] local.INFO: Processing buffer {"connection_id":50728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:44:35] local.INFO: IMEI packet received {"connection_id":50728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":50728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:44:36] local.INFO: TCP Data received {"connection_id":50728,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:44:36] local.INFO: Processing buffer {"connection_id":50728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:44:36] local.INFO: Packet analysis {"connection_id":50728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:44:36] local.INFO: Extracted packet for processing {"connection_id":50728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:44:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881566976001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776881422000,"timestamp_ms":1776881422000,"timestamp_seconds":1776881422,"priority":1,"record_length":96,"hex_timestamp":"0000019db662ceb0"} 
[2026-04-22 23:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:44: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-22 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:44: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-22 23:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881566976001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881566976001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:44:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:44:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881566976001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":50728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:44:36] local.INFO: GPS data processed {"connection_id":50728,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:44:36] local.INFO: Acknowledgment sent {"connection_id":50728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:44:41] local.INFO: TCP Data received {"connection_id":50728,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:44:41] local.INFO: Processing buffer {"connection_id":50728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:44:41] local.INFO: Packet analysis {"connection_id":50728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:44:41] local.INFO: Extracted packet for processing {"connection_id":50728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:44:41] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881566976001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776881422000,"timestamp_ms":1776881422000,"timestamp_seconds":1776881422,"priority":1,"record_length":96,"hex_timestamp":"0000019db662ceb0"} 
[2026-04-22 23:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":50728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":50728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":50728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881566976001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881566976001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:44:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:44:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881566976001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":50728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:44:41] local.INFO: GPS data processed {"connection_id":50728,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:44:41] local.INFO: Acknowledgment sent {"connection_id":50728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:44:49] local.INFO: TCP Data received {"connection_id":51048,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:44:49] local.INFO: Processing buffer {"connection_id":51048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:44:49] local.INFO: IMEI packet received {"connection_id":51048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":51048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:45:25] local.INFO: TCP Data received {"connection_id":50729,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:45:25] local.INFO: Processing buffer {"connection_id":50729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:45:25] local.INFO: IMEI packet received {"connection_id":50729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":50729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:45:30] local.INFO: TCP Data received {"connection_id":50729,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:45:30] local.INFO: Processing buffer {"connection_id":50729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:45:30] local.INFO: IMEI packet received {"connection_id":50729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":50729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:45:31] local.INFO: TCP Data received {"connection_id":50729,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:45:31] local.INFO: Processing buffer {"connection_id":50729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db662ceb0012d77a04005f2a5a8001601592a..."} 
[2026-04-22 23:45:31] local.INFO: Packet analysis {"connection_id":50729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:45:31] local.INFO: Extracted packet for processing {"connection_id":50729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db662"} 
[2026-04-22 23:45:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881566976001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881422000,"timestamp_ms":1776881422000,"timestamp_seconds":1776881422,"priority":1,"record_length":96,"hex_timestamp":"0000019db662ceb0"} 
[2026-04-22 23:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:45: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-22 23:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-22 23:45: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-22 23:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881566976001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881566976001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:45:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:45:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881566976001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":50729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:45:31] local.INFO: GPS data processed {"connection_id":50729,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:45:31] local.INFO: Acknowledgment sent {"connection_id":50729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:46:03] local.INFO: TCP Data received {"connection_id":50729,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:46:03] local.INFO: Processing buffer {"connection_id":50729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:46:03] local.INFO: Packet analysis {"connection_id":50729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:46:03] local.INFO: Extracted packet for processing {"connection_id":50729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:46:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 23:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:46: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-22 23:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":50729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":50729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":50729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:46:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:46:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":50729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:46:03] local.INFO: GPS data processed {"connection_id":50729,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:46:03] local.INFO: Acknowledgment sent {"connection_id":50729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:46:25] local.INFO: TCP Data received {"connection_id":51130,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:46:25] local.INFO: Processing buffer {"connection_id":51130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:46:25] local.INFO: IMEI packet received {"connection_id":51130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":51130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:46:30] local.INFO: TCP Data received {"connection_id":51130,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:46:30] local.INFO: Processing buffer {"connection_id":51130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:46:30] local.INFO: IMEI packet received {"connection_id":51130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":51130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:46:31] local.INFO: TCP Data received {"connection_id":51130,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:46:31] local.INFO: Processing buffer {"connection_id":51130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:46:31] local.INFO: Packet analysis {"connection_id":51130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:46:31] local.INFO: Extracted packet for processing {"connection_id":51130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:46:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 23: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-22 23:46: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:46: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-22 23: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-22 23: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-22 23:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:46:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:46:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":51130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:46:31] local.INFO: GPS data processed {"connection_id":51130,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:46:31] local.INFO: Acknowledgment sent {"connection_id":51130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:47:02] local.INFO: TCP Data received {"connection_id":51130,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:47:02] local.INFO: Processing buffer {"connection_id":51130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:47:02] local.INFO: Packet analysis {"connection_id":51130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:47:02] local.INFO: Extracted packet for processing {"connection_id":51130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:47:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 23:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:47: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-22 23:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:47: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-22 23:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:47:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:47:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":51130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:47:02] local.INFO: GPS data processed {"connection_id":51130,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:47:02] local.INFO: Acknowledgment sent {"connection_id":51130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:47:25] local.INFO: TCP Data received {"connection_id":51685,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:47:25] local.INFO: Processing buffer {"connection_id":51685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:47:25] local.INFO: IMEI packet received {"connection_id":51685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":51685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:47:30] local.INFO: TCP Data received {"connection_id":51685,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:47:30] local.INFO: Processing buffer {"connection_id":51685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:47:30] local.INFO: IMEI packet received {"connection_id":51685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":51685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:47:31] local.INFO: TCP Data received {"connection_id":51685,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:47:31] local.INFO: Processing buffer {"connection_id":51685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:47:31] local.INFO: Packet analysis {"connection_id":51685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:47:31] local.INFO: Extracted packet for processing {"connection_id":51685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:47:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 23:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:47: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-22 23:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:47: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-22 23:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:47:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:47:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":51685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:47:31] local.INFO: GPS data processed {"connection_id":51685,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:47:31] local.INFO: Acknowledgment sent {"connection_id":51685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:48:02] local.INFO: TCP Data received {"connection_id":51685,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:48:02] local.INFO: Processing buffer {"connection_id":51685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:48:02] local.INFO: Packet analysis {"connection_id":51685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:48:02] local.INFO: Extracted packet for processing {"connection_id":51685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:48:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 23: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-22 23:48: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:48: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-22 23: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-22 23: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-22 23:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:48:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:48:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":51685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:48:02] local.INFO: GPS data processed {"connection_id":51685,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:48:02] local.INFO: Acknowledgment sent {"connection_id":51685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:48:30] local.INFO: TCP Data received {"connection_id":50730,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:48:30] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:48:30] local.INFO: IMEI packet received {"connection_id":50730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":50730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:48:35] local.INFO: TCP Data received {"connection_id":50730,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:48:35] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:48:35] local.INFO: IMEI packet received {"connection_id":50730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":50730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:48:40] local.INFO: TCP Data received {"connection_id":50730,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:48:40] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:48:40] local.INFO: Packet analysis {"connection_id":50730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:48:40] local.INFO: Extracted packet for processing {"connection_id":50730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:48:40] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 23:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:48:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:48:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":50730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:48:40] local.INFO: GPS data processed {"connection_id":50730,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:48:40] local.INFO: Acknowledgment sent {"connection_id":50730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:48:47] local.INFO: TCP Data received {"connection_id":50730,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:48:47] local.INFO: Processing buffer {"connection_id":50730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:48:47] local.INFO: Packet analysis {"connection_id":50730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:48:47] local.INFO: Extracted packet for processing {"connection_id":50730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:48:47] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 23:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":50730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":50730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:48:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:48:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":50730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:48:47] local.INFO: GPS data processed {"connection_id":50730,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:48:47] local.INFO: Acknowledgment sent {"connection_id":50730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:49:25] local.INFO: TCP Data received {"connection_id":51131,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:49:25] local.INFO: Processing buffer {"connection_id":51131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:49:25] local.INFO: IMEI packet received {"connection_id":51131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":51131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:49:30] local.INFO: TCP Data received {"connection_id":51131,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:49:30] local.INFO: Processing buffer {"connection_id":51131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:49:30] local.INFO: IMEI packet received {"connection_id":51131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":51131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:49:30] local.INFO: TCP Data received {"connection_id":51131,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:49:30] local.INFO: Processing buffer {"connection_id":51131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:49:30] local.INFO: Packet analysis {"connection_id":51131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:49:30] local.INFO: Extracted packet for processing {"connection_id":51131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:49:30] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 23:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 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-22 23: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-22 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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:49: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-22 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-22 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-22 23:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":51131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":51131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":51131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:49:30] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:49:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":51131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:49:30] local.INFO: GPS data processed {"connection_id":51131,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:49:30] local.INFO: Acknowledgment sent {"connection_id":51131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:50:02] local.INFO: TCP Data received {"connection_id":51131,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:50:02] local.INFO: Processing buffer {"connection_id":51131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:50:02] local.INFO: Packet analysis {"connection_id":51131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:50:02] local.INFO: Extracted packet for processing {"connection_id":51131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:50:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 23:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:50: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-22 23:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:50: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-22 23:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:50:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:50:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":51131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:50:02] local.INFO: GPS data processed {"connection_id":51131,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:50:02] local.INFO: Acknowledgment sent {"connection_id":51131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:50:05] local.INFO: TCP Data received {"connection_id":50731,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:50:05] local.INFO: Processing buffer {"connection_id":50731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:50:05] local.INFO: IMEI packet received {"connection_id":50731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":50731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:50:25] local.INFO: TCP Data received {"connection_id":51132,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:50:25] local.INFO: Processing buffer {"connection_id":51132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:50:25] local.INFO: IMEI packet received {"connection_id":51132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":51132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:50:30] local.INFO: TCP Data received {"connection_id":51132,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:50:30] local.INFO: Processing buffer {"connection_id":51132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:50:30] local.INFO: IMEI packet received {"connection_id":51132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":51132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:50:31] local.INFO: TCP Data received {"connection_id":51132,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:50:31] local.INFO: Processing buffer {"connection_id":51132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6676678012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:50:31] local.INFO: Packet analysis {"connection_id":51132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:50:31] local.INFO: Extracted packet for processing {"connection_id":51132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db667"} 
[2026-04-22 23:50:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881644032001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776881723000,"timestamp_ms":1776881723000,"timestamp_seconds":1776881723,"priority":1,"record_length":96,"hex_timestamp":"0000019db6676678"} 
[2026-04-22 23: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-22 23: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-22 23:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:50: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-22 23: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-22 23: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-22 23:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881644032001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881644032001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:50:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:50:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881644032001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":51132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:50:31] local.INFO: GPS data processed {"connection_id":51132,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:50:31] local.INFO: Acknowledgment sent {"connection_id":51132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:50:49] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:50:49] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:50:49] local.INFO: IMEI packet received {"connection_id":51053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":51053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:50:50] local.INFO: TCP Data received {"connection_id":51053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:50:50] local.INFO: Processing buffer {"connection_id":51053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:50:50] local.INFO: IMEI packet received {"connection_id":51053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-22 23:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":51053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:51:03] local.INFO: TCP Data received {"connection_id":51132,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:51:03] local.INFO: Processing buffer {"connection_id":51132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:51:03] local.INFO: Packet analysis {"connection_id":51132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:51:03] local.INFO: Extracted packet for processing {"connection_id":51132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 23:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:51: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-22 23:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:51:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:51:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":51132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:51:03] local.INFO: GPS data processed {"connection_id":51132,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:51:03] local.INFO: Acknowledgment sent {"connection_id":51132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:51:30] local.INFO: TCP Data received {"connection_id":50732,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:51:30] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:51:30] local.INFO: IMEI packet received {"connection_id":50732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":50732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:51:35] local.INFO: TCP Data received {"connection_id":50732,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:51:35] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:51:35] local.INFO: IMEI packet received {"connection_id":50732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":50732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:51:36] local.INFO: TCP Data received {"connection_id":50732,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:51:36] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:51:36] local.INFO: Packet analysis {"connection_id":50732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:51:36] local.INFO: Extracted packet for processing {"connection_id":50732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:51:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 23: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-22 23:51: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:51: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-22 23: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-22 23: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-22 23:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:51:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:51:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":50732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:51:36] local.INFO: GPS data processed {"connection_id":50732,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:51:36] local.INFO: Acknowledgment sent {"connection_id":50732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:51:40] local.INFO: TCP Data received {"connection_id":50732,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:51:40] local.INFO: Processing buffer {"connection_id":50732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:51:40] local.INFO: Packet analysis {"connection_id":50732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:51:40] local.INFO: Extracted packet for processing {"connection_id":50732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:51:40] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 23: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-22 23:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23: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-22 23: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-22 23:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:51:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:51:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":50732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:51:40] local.INFO: GPS data processed {"connection_id":50732,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:51:40] local.INFO: Acknowledgment sent {"connection_id":50732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:52:25] local.INFO: TCP Data received {"connection_id":50733,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:52:25] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:52:25] local.INFO: IMEI packet received {"connection_id":50733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":50733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:52:30] local.INFO: TCP Data received {"connection_id":50733,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:52:30] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:52:30] local.INFO: IMEI packet received {"connection_id":50733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":50733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:52:31] local.INFO: TCP Data received {"connection_id":50733,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:52:31] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:52:31] local.INFO: Packet analysis {"connection_id":50733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:52:31] local.INFO: Extracted packet for processing {"connection_id":50733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:52:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 23: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-22 23:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:52: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-22 23: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-22 23: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-22 23:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":50733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":50733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":50733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:52:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:52:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":50733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:52:31] local.INFO: GPS data processed {"connection_id":50733,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:52:31] local.INFO: Acknowledgment sent {"connection_id":50733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:53:02] local.INFO: TCP Data received {"connection_id":50733,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:53:02] local.INFO: Processing buffer {"connection_id":50733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:53:02] local.INFO: Packet analysis {"connection_id":50733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:53:02] local.INFO: Extracted packet for processing {"connection_id":50733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:53:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 23: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-22 23:53: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-22 23:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:53: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-22 23: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-22 23: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-22 23:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":50733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":50733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":50733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:53:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:53:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":50733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:53:02] local.INFO: GPS data processed {"connection_id":50733,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:53:02] local.INFO: Acknowledgment sent {"connection_id":50733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:53:25] local.INFO: TCP Data received {"connection_id":51134,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:53:25] local.INFO: Processing buffer {"connection_id":51134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:53:25] local.INFO: IMEI packet received {"connection_id":51134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":51134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:53:30] local.INFO: TCP Data received {"connection_id":51134,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:53:30] local.INFO: Processing buffer {"connection_id":51134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:53:30] local.INFO: IMEI packet received {"connection_id":51134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":51134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:53:31] local.INFO: TCP Data received {"connection_id":51134,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:53:31] local.INFO: Processing buffer {"connection_id":51134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:53:31] local.INFO: Packet analysis {"connection_id":51134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:53:31] local.INFO: Extracted packet for processing {"connection_id":51134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:53:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 23: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-22 23:53: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:53: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-22 23: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-22 23: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-22 23:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:53:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:53:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":51134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:53:31] local.INFO: GPS data processed {"connection_id":51134,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:53:31] local.INFO: Acknowledgment sent {"connection_id":51134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:54:02] local.INFO: TCP Data received {"connection_id":51134,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:54:02] local.INFO: Processing buffer {"connection_id":51134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:54:02] local.INFO: Packet analysis {"connection_id":51134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:54:02] local.INFO: Extracted packet for processing {"connection_id":51134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:54:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 23:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:54: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-22 23:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:54: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-22 23:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:54:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:54:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":51134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:54:02] local.INFO: GPS data processed {"connection_id":51134,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:54:02] local.INFO: Acknowledgment sent {"connection_id":51134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:54:25] local.INFO: TCP Data received {"connection_id":51054,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:54:25] local.INFO: Processing buffer {"connection_id":51054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:54:25] local.INFO: IMEI packet received {"connection_id":51054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":51054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:54:30] local.INFO: TCP Data received {"connection_id":51054,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:54:30] local.INFO: Processing buffer {"connection_id":51054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:54:30] local.INFO: IMEI packet received {"connection_id":51054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":51054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:54:31] local.INFO: TCP Data received {"connection_id":51054,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:54:31] local.INFO: Processing buffer {"connection_id":51054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:54:31] local.INFO: Packet analysis {"connection_id":51054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:54:31] local.INFO: Extracted packet for processing {"connection_id":51054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:54:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 23: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-22 23:54: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:54: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-22 23: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-22 23: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-22 23:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:54:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:54:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":51054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:54:31] local.INFO: GPS data processed {"connection_id":51054,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:54:31] local.INFO: Acknowledgment sent {"connection_id":51054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:55:03] local.INFO: TCP Data received {"connection_id":51054,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:55:03] local.INFO: Processing buffer {"connection_id":51054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:55:03] local.INFO: Packet analysis {"connection_id":51054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:55:03] local.INFO: Extracted packet for processing {"connection_id":51054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:55:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 23: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-22 23:55: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:55: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-22 23: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-22 23: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-22 23:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:55:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:55:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":51054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:55:03] local.INFO: GPS data processed {"connection_id":51054,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:55:03] local.INFO: Acknowledgment sent {"connection_id":51054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:55:25] local.INFO: TCP Data received {"connection_id":51688,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:55:25] local.INFO: Processing buffer {"connection_id":51688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:55:25] local.INFO: IMEI packet received {"connection_id":51688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":51688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:55:30] local.INFO: TCP Data received {"connection_id":51688,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:55:30] local.INFO: Processing buffer {"connection_id":51688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:55:30] local.INFO: IMEI packet received {"connection_id":51688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":51688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:55:31] local.INFO: TCP Data received {"connection_id":51688,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:55:31] local.INFO: Processing buffer {"connection_id":51688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:55:31] local.INFO: Packet analysis {"connection_id":51688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:55:31] local.INFO: Extracted packet for processing {"connection_id":51688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:55:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 23:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 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-22 23:55: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-22 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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:55: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-22 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-22 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-22 23:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:55:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:55:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":51688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:55:31] local.INFO: GPS data processed {"connection_id":51688,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:55:31] local.INFO: Acknowledgment sent {"connection_id":51688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:55:51] local.INFO: TCP Data received {"connection_id":51135,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:55:51] local.INFO: Processing buffer {"connection_id":51135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-22 23:55:51] local.INFO: IMEI packet received {"connection_id":51135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-22 23:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":51135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:56:03] local.INFO: TCP Data received {"connection_id":51688,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:56:03] local.INFO: Processing buffer {"connection_id":51688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db66bfe40012d77a04005f2a5a8001601592b..."} 
[2026-04-22 23:56:03] local.INFO: Packet analysis {"connection_id":51688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:56:03] local.INFO: Extracted packet for processing {"connection_id":51688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db66b"} 
[2026-04-22 23:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 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-22 23:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881721088001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776882024000,"timestamp_ms":1776882024000,"timestamp_seconds":1776882024,"priority":1,"record_length":96,"hex_timestamp":"0000019db66bfe40"} 
[2026-04-22 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-22 23:56: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-22 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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:56: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-22 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-22 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-22 23:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":51688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":51688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":51688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881721088001,"66":25473,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881721088001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:56:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:56:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881721088001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":51688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:56:03] local.INFO: GPS data processed {"connection_id":51688,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:56:03] local.INFO: Acknowledgment sent {"connection_id":51688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:56:31] local.INFO: TCP Data received {"connection_id":50734,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:56:31] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:56:31] local.INFO: IMEI packet received {"connection_id":50734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":50734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:56:35] local.INFO: TCP Data received {"connection_id":50734,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:56:35] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:56:35] local.INFO: IMEI packet received {"connection_id":50734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":50734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:56:36] local.INFO: TCP Data received {"connection_id":50734,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:56:36] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:56:36] local.INFO: Packet analysis {"connection_id":50734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:56:36] local.INFO: Extracted packet for processing {"connection_id":50734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:56:36] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881798144001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776882325000,"timestamp_ms":1776882325000,"timestamp_seconds":1776882325,"priority":1,"record_length":96,"hex_timestamp":"0000019db6709608"} 
[2026-04-22 23: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-22 23:56: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-22 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:56: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-22 23: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-22 23: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-22 23:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":50734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":50734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":50734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881798144001,"66":25462,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881798144001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:56:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:56:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881798144001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":50734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:56:36] local.INFO: GPS data processed {"connection_id":50734,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:56:36] local.INFO: Acknowledgment sent {"connection_id":50734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:56:40] local.INFO: TCP Data received {"connection_id":50734,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:56:40] local.INFO: Processing buffer {"connection_id":50734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:56:40] local.INFO: Packet analysis {"connection_id":50734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:56:40] local.INFO: Extracted packet for processing {"connection_id":50734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:56:40] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881798144001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776882325000,"timestamp_ms":1776882325000,"timestamp_seconds":1776882325,"priority":1,"record_length":96,"hex_timestamp":"0000019db6709608"} 
[2026-04-22 23:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-22 23:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":50734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":50734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":50734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881798144001,"66":25462,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881798144001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:56:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:56:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881798144001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":50734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:56:40] local.INFO: GPS data processed {"connection_id":50734,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:56:40] local.INFO: Acknowledgment sent {"connection_id":50734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:57:25] local.INFO: TCP Data received {"connection_id":50735,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:57:25] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:57:25] local.INFO: IMEI packet received {"connection_id":50735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":50735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:57:30] local.INFO: TCP Data received {"connection_id":50735,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:57:30] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:57:30] local.INFO: IMEI packet received {"connection_id":50735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":50735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:57:33] local.INFO: TCP Data received {"connection_id":50735,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:57:33] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:57:33] local.INFO: Packet analysis {"connection_id":50735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:57:33] local.INFO: Extracted packet for processing {"connection_id":50735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:57:33] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881798144001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776882325000,"timestamp_ms":1776882325000,"timestamp_seconds":1776882325,"priority":1,"record_length":96,"hex_timestamp":"0000019db6709608"} 
[2026-04-22 23:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:57: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-22 23:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:57: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-22 23:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":50735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881798144001,"66":25462,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881798144001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:57:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:57:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881798144001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":50735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:57:33] local.INFO: GPS data processed {"connection_id":50735,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:57:33] local.INFO: Acknowledgment sent {"connection_id":50735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:58:05] local.INFO: TCP Data received {"connection_id":50735,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":50735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:58:05] local.INFO: Processing buffer {"connection_id":50735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:58:05] local.INFO: Packet analysis {"connection_id":50735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:58:05] local.INFO: Extracted packet for processing {"connection_id":50735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:58:05] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881798144001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776882325000,"timestamp_ms":1776882325000,"timestamp_seconds":1776882325,"priority":1,"record_length":96,"hex_timestamp":"0000019db6709608"} 
[2026-04-22 23: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-22 23:58: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:58: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-22 23: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-22 23: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-22 23:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":50735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":50735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881798144001,"66":25462,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881798144001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:58:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:58:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881798144001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":50735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:58:05] local.INFO: GPS data processed {"connection_id":50735,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:58:05] local.INFO: Acknowledgment sent {"connection_id":50735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:58:25] local.INFO: TCP Data received {"connection_id":51057,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:58:25] local.INFO: Processing buffer {"connection_id":51057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:58:25] local.INFO: IMEI packet received {"connection_id":51057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":51057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:58:30] local.INFO: TCP Data received {"connection_id":51057,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:58:30] local.INFO: Processing buffer {"connection_id":51057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:58:30] local.INFO: IMEI packet received {"connection_id":51057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":51057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:58:31] local.INFO: TCP Data received {"connection_id":51057,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:58:31] local.INFO: Processing buffer {"connection_id":51057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:58:31] local.INFO: Packet analysis {"connection_id":51057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:58:31] local.INFO: Extracted packet for processing {"connection_id":51057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:58:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881798144001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776882325000,"timestamp_ms":1776882325000,"timestamp_seconds":1776882325,"priority":1,"record_length":96,"hex_timestamp":"0000019db6709608"} 
[2026-04-22 23:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:58: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-22 23:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:58: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-22 23:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881798144001,"66":25462,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881798144001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:58:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:58:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881798144001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":51057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:58:31] local.INFO: GPS data processed {"connection_id":51057,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:58:31] local.INFO: Acknowledgment sent {"connection_id":51057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:59:02] local.INFO: TCP Data received {"connection_id":51057,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:59:02] local.INFO: Processing buffer {"connection_id":51057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:59:02] local.INFO: Packet analysis {"connection_id":51057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:59:02] local.INFO: Extracted packet for processing {"connection_id":51057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:59:02] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-22 23:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881798144001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776882325000,"timestamp_ms":1776882325000,"timestamp_seconds":1776882325,"priority":1,"record_length":96,"hex_timestamp":"0000019db6709608"} 
[2026-04-22 23:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-22 23:59: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-22 23:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-22 23:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-22 23:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-22 23:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":51057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":51057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":51057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881798144001,"66":25462,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881798144001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:59:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:59:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881798144001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":51057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:59:02] local.INFO: GPS data processed {"connection_id":51057,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:59:02] local.INFO: Acknowledgment sent {"connection_id":51057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-22 23:59:25] local.INFO: TCP Data received {"connection_id":51137,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:59:25] local.INFO: Processing buffer {"connection_id":51137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:59:25] local.INFO: IMEI packet received {"connection_id":51137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-22 23:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":51137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-22 23:59:30] local.INFO: TCP Data received {"connection_id":51137,"ip":"117.225.238.222","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:59:30] local.INFO: Processing buffer {"connection_id":51137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-22 23:59:30] local.INFO: IMEI packet received {"connection_id":51137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-22 23:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":51137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-22 23:59:31] local.INFO: TCP Data received {"connection_id":51137,"ip":"117.225.238.222","data_length":795,"data_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":51137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:59:31] local.INFO: Processing buffer {"connection_id":51137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019db6709608012d77a04005f2a5a80016015929..."} 
[2026-04-22 23:59:31] local.INFO: Packet analysis {"connection_id":51137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:59:31] local.INFO: Extracted packet for processing {"connection_id":51137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019db670"} 
[2026-04-22 23:59:31] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788200,"longitude_deg":76.2814528,"latitude_deg":9.97882,"altitude":22,"angle":345,"satellites":41,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-22 23: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-22 23:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454881798144001,"note":"Value kept but may cause issues"} 
[2026-04-22 23:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":278729264247865344,"note":"Value kept but may cause issues"} 
[2026-04-22 23:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077086208,"note":"Value kept but may cause issues"} 
[2026-04-22 23:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-22 23:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776882325000,"timestamp_ms":1776882325000,"timestamp_seconds":1776882325,"priority":1,"record_length":96,"hex_timestamp":"0000019db6709608"} 
[2026-04-22 23: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-22 23: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-22 23: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":129,"data_length":795,"current_offset":136} 
[2026-04-22 23:59: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-22 23: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-22 23: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-22 23:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-22 23:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":51137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-22 23:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":51137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":51137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-22 23:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.238.222","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-22 23:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-22 23:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-22 23:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454881798144001,"66":25462,"163":206,"9":24832,"24":0,"16":278729264247865344,"45":8619960081077086208},"client_ip":"117.225.238.222","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-04-22 23:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-22 23:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-22 23:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454881798144001,"description":"Unknown IO ID 0"} 
[2026-04-22 23:59:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-04-22 23:59:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-22 23:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":278729264247865344,"km_value":278729264247865.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-22 23:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077086208,"description":"Unknown IO ID 45"} 
[2026-04-22 23:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454881798144001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077086208}} 
[2026-04-22 23:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":51137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":46692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-22 23:59:31] local.INFO: GPS data processed {"connection_id":51137,"processed":1,"errors":0,"total":1} 
[2026-04-22 23:59:31] local.INFO: Acknowledgment sent {"connection_id":51137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
